/* ==========================================================================
   FOR ARTS SAKE · v2
   Direction: FAS 2.0 portfolio. Paper grey + doodle tile, cream display type
   with black outline and hard shadow, red / yellow / navy halftone collage.
   ========================================================================== */

/* Self-hosted fonts (Luckiest Guy: Apache 2.0, Archivo: OFL). No third-party requests. */
@font-face { font-family: "Luckiest Guy"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/luckiest-guy-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/archivo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/archivo-latin-800-normal.woff2) format("woff2"); }

:root {
  --paper: #f1efea;
  --paper-2: #e6e2d8;
  --card: #fbf9f4;
  --cream: #efe6d2;
  --ink: #0e0e0e;
  --ink-2: #1a1a1a;
  --muted: #55524c;
  --red: #e53222;          /* decorative: shapes, shadows */
  --red-button: #d62b1c;   /* white text passes AA (4.97:1) */
  --red-text: #c8281a;     /* small text on paper passes AA (4.84:1) */
  --yellow: #f2c230;
  --navy: #1f2a4a;
  --line: rgba(14, 14, 14, .14);
  --cream-72: rgba(239, 230, 210, .72);

  --font-display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --font-body: Archivo, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

/* Doodle tile (portfolio background), kept faint so body text stays readable */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--doodle, none) 0 0 / 520px auto repeat;
  opacity: .38;
}

/* Paper overlay behind text blocks: the doodles fade out around copy so paragraphs stay readable */
.hero__copy,
.section-head,
.audit__copy,
.contact__copy,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero__copy::before,
.section-head::before,
.audit__copy::before,
.contact__copy::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -1.5rem -2rem;
  z-index: -1;
  pointer-events: none;
  background: rgba(241, 239, 234, .9);
  border-radius: 32px;
  box-shadow: 0 0 36px 28px rgba(241, 239, 234, .9);
}

/* The dark process band has no doodles behind it */
.process-band .section-head::before {
  display: none;
}

.logo-wall > .eyebrow {
  display: inline-block;
  padding: .25rem .6rem;
  margin-left: -.6rem;
  background: rgba(241, 239, 234, .92);
  border-radius: 8px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

/* Display type: cream fill, black outline, hard shadow (portfolio headings) */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .98;
  color: var(--cream);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}

h1.display {
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  text-shadow: 6px 6px 0 var(--ink);
}

h2.display {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red-text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: var(--muted);
}

/* ---------- Layout primitives ---------- */

.section,
.hero,
.page-hero {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

/* Full-bleed bands share the same inner edges as every other section */
.marquee,
.manifesto,
.process-band,
.site-footer,
.section-light {
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
}

.section-head {
  display: grid;
  gap: 1.25rem clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head .eyebrow {
  margin: 0;
}

.section-head > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    grid-template-areas:
      "eye eye"
      "title text";
    align-items: end;
  }

  .section-head .eyebrow {
    grid-area: eye;
  }

  .section-head h2 {
    grid-area: title;
  }

  .section-head > p:not(.eyebrow) {
    grid-area: text;
  }
}

/* Framed image (portfolio collage card) */
.framed,
.hero__main,
.polaroid {
  overflow: hidden;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.framed img,
.hero__main img,
.polaroid img,
.case-tile img,
.service-card figure img,
.process-step img,
.manifesto__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown until the generated Canva image is added */
.img-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 1rem;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(14, 14, 14, .05) 14px 28px),
    var(--paper-2);
  font: 600 .75rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.img-placeholder span::before {
  content: "Image pending: ";
}

/* ---------- Buttons ---------- */

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .9rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 800 1rem/1.1 var(--font-body);
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.button-primary,
.wp-block-button__link {
  color: #fff;
  background: var(--red-button);
  box-shadow: var(--shadow-sm);
}

.button-secondary {
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.button:hover,
.wp-block-button__link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.text-link {
  font-weight: 800;
  border-bottom: 3px solid var(--red);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--red-text);
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: .75rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: .75rem auto 0;
  padding: .55rem .6rem .55rem 1.25rem;
  background: rgba(251, 249, 244, .94);
  border: 2px solid var(--ink);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 4px 4px 0 var(--ink);
}

body.admin-bar .site-header {
  top: calc(32px + .75rem);
}

.site-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}

.custom-logo-link img {
  max-height: 42px;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a:hover {
  background: rgba(242, 194, 48, .35);
}

.primary-nav .nav-cta {
  margin-left: .35rem;
  color: #fff;
  background: var(--red-button);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.primary-nav .nav-cta:hover {
  background: var(--red-button);
  transform: translate(-1px, -1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease;
}

body.nav-open .nav-toggle__bars span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

body.nav-open .nav-toggle__bars span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: min(880px, calc(100svh - 5rem));
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero__copy .lead {
  max-width: 560px;
  margin-top: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.2rem;
}

.hero-proof {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero__art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.05;
  margin-left: auto;
}

.hero__main {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  aspect-ratio: 4 / 5;
  transform: rotate(1.2deg);
}

.polaroid {
  position: absolute;
  width: 36%;
  aspect-ratio: 4 / 5;
  padding: 7px 7px 26px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.polaroid img,
.polaroid .img-placeholder {
  border-radius: 4px;
}

.polaroid--one {
  left: 0;
  bottom: 2%;
  transform: rotate(-7deg);
}

.polaroid--two {
  left: 22%;
  bottom: -4%;
  width: 30%;
  transform: rotate(5deg);
}

.burst {
  position: absolute;
  width: 92px;
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(50% 0, 61% 26%, 90% 10%, 75% 38%, 100% 50%, 75% 62%, 90% 90%, 61% 74%, 50% 100%, 39% 74%, 10% 90%, 25% 62%, 0 50%, 25% 38%, 10% 10%, 39% 26%);
}

.burst--hero {
  top: -18px;
  left: 16%;
  animation: fas-spin 18s linear infinite;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-inline: 0;
  color: var(--cream);
  background: var(--ink);
  border-block: 3px solid var(--ink);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: fas-marquee 36s linear infinite;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  padding: .95rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

.marquee span::after {
  content: "✱";
  margin: 0 1.6rem;
  color: var(--yellow);
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ---------- Logo wall ---------- */

.logo-wall {
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: .75rem 1rem;
  text-align: center;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.logo-grid li:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.logo-grid img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: .85;
  transition: filter .2s ease, opacity .2s ease;
}

.logo-grid li:hover img {
  filter: none;
  opacity: 1;
}

.logo-word {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* ---------- Selected work ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.case-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: #fff;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.case-tile figure {
  position: absolute;
  inset: 0;
}

.case-tile img {
  transition: transform .6s ease;
}

.case-tile:hover img {
  transform: scale(1.05);
}

.case-tile__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: start;
  gap: .45rem;
  padding: 3.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .55) 55%, transparent);
}

.case-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: .02em;
}

.case-tile p {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  line-height: 1.45;
}

/* ---------- Manifesto band ---------- */

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: #f2e8d3; /* matches the manifesto collage paper so the image blends in */
  border-block: 3px solid var(--ink);
}

.manifesto__copy p {
  max-width: 520px;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.manifesto__art {
  overflow: hidden;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius);
}

/* ---------- Services ---------- */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-cards .service-card {
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: .9rem .9rem 1.4rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.service-cards .service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.service-cards .service-card figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: .6rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
}

.service-cards .service-card > :not(figure) {
  margin-inline: .35rem;
}

.num {
  color: var(--red-text);
  font: 800 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.service-cards .service-card p {
  color: var(--muted);
  font-size: .98rem;
}

/* ---------- Process band ---------- */

.process-band {
  padding-block: var(--section-y);
  color: var(--cream);
  background: var(--ink);
}

.band-inner {
  max-width: var(--container);
  margin-inline: auto;
}

.process-band .eyebrow {
  color: var(--yellow);
}

.process-band .display {
  -webkit-text-stroke: 0;
  text-shadow: 4px 4px 0 var(--red);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: .8rem .8rem 1.3rem;
  background: var(--ink-2);
  border: 2px solid rgba(239, 230, 210, .22);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--red);
}

.process-step figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: .5rem;
  border-radius: 10px;
}

.process-step > :not(figure) {
  margin-inline: .3rem;
}

.process-step .num {
  color: var(--yellow);
}

.process-step p {
  color: var(--cream-72);
  font-size: .94rem;
  line-height: 1.5;
}

/* ---------- Free audit ---------- */

.audit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.audit__art {
  aspect-ratio: 4 / 3;
  transform: rotate(-1deg);
}

.audit__copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 1.9rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
}

.checklist li::before {
  content: "✓";
  display: grid;
  flex: 0 0 1.7rem;
  place-items: center;
  height: 1.7rem;
  color: #fff;
  background: var(--red-button);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: .8rem;
}

.audit__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--muted);
}

.contact-notes {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
}

.contact-notes li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .2rem .8rem;
  padding: 1rem 0;
  border-top: 2px solid var(--line);
  counter-increment: note;
}

.contact-notes li::before {
  content: "0" counter(note);
  grid-row: span 2;
  color: var(--red-text);
  font: 800 .8rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.contact-notes h3 {
  font-size: 1.1rem;
}

.contact-notes p {
  color: var(--muted);
  font-size: .98rem;
}

.contact__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1.75rem;
  align-items: start;
  margin-top: 2rem;
}

.contact__details .contact-notes {
  margin-top: 0;
}

.contact__art {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-top: .5rem;
  overflow: hidden;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.contact__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--cream);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--red);
}

.contact-card__intro {
  color: var(--cream-72);
}

.form-notice {
  padding: .85rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 700;
}

.form-notice--ok {
  color: var(--ink);
  background: var(--yellow);
}

.form-notice--error {
  color: #fff;
  background: var(--red-button);
}

.book-call-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.book-call-form label {
  display: grid;
  gap: .4rem;
  color: var(--cream);
  font-size: .9rem;
  font-weight: 700;
}

.book-call-form input,
.book-call-form select,
.book-call-form textarea,
.book-call-form button {
  font: inherit;
}

.book-call-form input,
.book-call-form select,
.book-call-form textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .8rem .95rem;
  color: var(--ink);
  background: var(--card);
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 500;
}

.book-call-form input:focus,
.book-call-form select:focus,
.book-call-form textarea:focus {
  border-color: var(--yellow);
  outline: none;
}

.book-call-form textarea {
  resize: vertical;
}

.book-call-form .button {
  width: 100%;
  margin-top: .35rem;
  border-color: var(--cream);
  box-shadow: 5px 5px 0 var(--yellow);
  font-size: 1.05rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  color: var(--cream);
  background: var(--ink);
}

.footer-wordmark {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12.6vw, 11.8rem);
  line-height: .9;
  letter-spacing: .01em;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: .8rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.footer-grid p {
  max-width: 380px;
  color: var(--cream-72);
}

.site-footer h2 {
  margin: 0 0 .9rem;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin-top: .45rem;
  color: var(--cream-72);
}

.footer-grid a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  margin: 0 !important;
  padding: .45rem .85rem;
  border: 2px solid rgba(239, 230, 210, .35);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}

.social-links a:hover {
  color: var(--ink) !important;
  background: var(--yellow);
  border-color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  color: var(--cream-72);
  border-top: 1px solid rgba(239, 230, 210, .18);
  font-size: .88rem;
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  display: none;
}

/* ---------- Inner pages (page.php, templates/, case studies) ---------- */

.page-hero {
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  max-width: 960px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
}

.page-hero h1 + p,
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-light {
  width: 100%;
  max-width: none;
  background: var(--card);
  border-block: 3px solid var(--ink);
}

.content-section > * {
  max-width: 820px;
}

.content-section h2,
.content-section h3 {
  margin-top: 2rem;
}

.content-section p,
.content-section ul,
.content-section ol {
  margin-top: 1rem;
}

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
}

.service-grid,
.pricing-grid,
.work-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-grid .service-card,
.work-card,
.pricing-grid article,
.process-grid article {
  padding: 1.5rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-grid .service-card.is-featured {
  color: var(--cream);
  background: var(--ink);
}

.service-grid .service-card span,
.work-card span,
.process-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--red-text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-grid .service-card h2,
.work-card h2,
.pricing-grid h2,
.process-grid h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.service-grid .service-card p,
.work-card p,
.pricing-grid p,
.process-grid p {
  margin-top: .8rem;
  color: var(--muted);
}

.service-grid .service-card.is-featured p {
  color: var(--cream-72);
}

.service-grid .service-card a,
.work-card > a {
  display: inline-flex;
  margin-top: 1.2rem;
  font-weight: 800;
  border-bottom: 3px solid var(--red);
}

.split-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.proof-metrics {
  display: grid;
  gap: .7rem;
  margin-top: 1.5rem;
}

.proof-metrics span {
  display: flex;
  justify-content: space-between;
  padding: .8rem 1rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
}

/* ---------- Motion ---------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fas-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes fas-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track,
  .burst--hero {
    animation: none;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: calc(46px + .75rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .75rem;
    background: var(--card);
    border: 2px solid var(--ink);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    justify-content: center;
    margin-left: 0;
    font-size: 1.05rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__art {
    width: min(100%, 520px);
    margin: 1rem auto 2rem;
  }

  .case-grid,
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto,
  .audit,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .hero__copy::before,
  .section-head::before,
  .audit__copy::before,
  .contact__copy::before,
  .page-hero::before {
    inset: -1rem calc(-1 * var(--gutter) + 4px);
    box-shadow: 0 0 24px 16px rgba(241, 239, 234, .9);
  }

  .site-header {
    padding-left: 1rem;
  }

  .display {
    -webkit-text-stroke-width: 1.75px;
    text-shadow: 3px 3px 0 var(--ink);
  }

  h1.display {
    font-size: clamp(2.6rem, 12.5vw, 3.6rem);
    text-shadow: 4px 4px 0 var(--ink);
  }

  h2.display {
    font-size: clamp(1.9rem, 8.6vw, 2.5rem);
  }

  .process-band .display {
    text-shadow: 3px 3px 0 var(--red);
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    margin-inline: auto;
  }

  .hero-proof {
    text-align: center;
  }

  .burst {
    width: 64px;
  }

  /* Case tiles become a swipeable row */
  .case-grid {
    display: flex;
    gap: 1rem;
    margin-inline: calc(-1 * var(--gutter));
    padding: .25rem var(--gutter) 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .case-grid::-webkit-scrollbar {
    display: none;
  }

  .case-tile {
    flex: 0 0 78%;
    scroll-snap-align: center;
    box-shadow: var(--shadow-sm);
  }

  /* Services + process become compact rows: illustration left, text right */
  .service-cards,
  .process-steps {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .service-cards .service-card,
  .process-step {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: .2rem .9rem;
    padding: .75rem;
  }

  .service-cards .service-card figure,
  .process-step figure {
    grid-row: 1 / span 3;
    aspect-ratio: 1;
    margin: 0;
  }

  .service-cards .service-card > :not(figure),
  .process-step > :not(figure) {
    margin-inline: 0;
  }

  .service-cards .service-card p,
  .process-step p {
    font-size: .92rem;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  .logo-grid li {
    min-height: 60px;
    padding: .5rem;
    border-radius: 10px;
  }

  .logo-word {
    font-size: .64rem;
    letter-spacing: .03em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    box-shadow: 6px 6px 0 var(--red);
  }

  .contact__details {
    grid-template-columns: 1fr;
  }

  .contact__art {
    display: none;
  }

  .footer-wordmark {
    -webkit-text-stroke-width: 1.25px;
  }

  .mobile-cta {
    position: fixed;
    right: var(--gutter);
    bottom: max(.9rem, env(safe-area-inset-bottom));
    left: var(--gutter);
    z-index: 40;
    display: flex;
    justify-content: center;
    padding: .95rem 1rem;
    color: #fff;
    background: var(--red-button);
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 800;
    transform: translateY(160%);
    transition: transform .25s ease;
  }

  .mobile-cta.is-visible {
    transform: none;
  }

  body.nav-open .mobile-cta {
    transform: translateY(160%);
  }
}
