@font-face {
  font-family: "29LT Idris Flat";
  src:
    url("/assets/fonts/29LTIdrisFlat-Regular.woff2") format("woff2"),
    url("/assets/fonts/29LTIdrisFlat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "29LT Idris Flat";
  src:
    url("/assets/fonts/29LTIdrisFlat-Bold.woff2") format("woff2"),
    url("/assets/fonts/29LTIdrisFlat-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

:root {
  --cream: #f5d9b0;
  --cream-light: #fff5e3;
  --cream-deep: #e8bf83;
  --ink: #3e2e11;
  --ink-strong: #131313;
  --red: #ed3541;
  --red-dark: #93000a;
  --blue: #006f86;
  --teal: #88d2c4;
  --teal-deep: #004542;
  --line: rgba(62, 46, 17, 0.2);
  --shadow: 0 30px 70px rgba(62, 46, 17, 0.12);
  --max: 1180px;
  --display: Georgia, "Times New Roman", serif;
  --nav-h-mobile: 116px;
  --nav-h-desktop: 88px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream-light);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "29LT Idris Flat", Georgia, serif;
  background: var(--cream-light);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.type-word {
  display: inline-block;
  opacity: var(--type-opacity, 1);
  transform: translateY(var(--type-y, 0));
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--word-index, 0) * 46ms);
}

.is-typing .type-word { --type-opacity: 0; --type-y: .22em; }
.has-typed .type-word { --type-opacity: 1; --type-y: 0; }

.counting { font-variant-numeric: tabular-nums; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--cream-light);
  padding: 10px 14px;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Nav ---------- */

.story-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(18px, 4vw, 64px);
  pointer-events: none;
  transition: background-color 180ms ease, box-shadow 180ms ease;
  background: linear-gradient(180deg, rgba(255,245,227,.96), rgba(255,245,227,.78));
  box-shadow: 0 14px 44px rgba(62,46,17,.06);
  backdrop-filter: blur(18px);
}
.story-nav > * { pointer-events: auto; }
.story-brand img {
  width: clamp(120px, 12vw, 180px);
  height: auto;
}
.story-brand { justify-self: center; }
.story-cta  { justify-self: end; }

.story-nav__links {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  padding: 12px 18px;
  border: 1px solid rgba(62, 46, 17, 0.14);
  background: rgba(255, 245, 227, 0.74);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(62, 46, 17, 0.06);
}

.story-nav__links a,
.story-cta,
.kicker,
.chapter__number,
.stage__topline,
.scroll-cue,
.story-card__index {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

.story-nav__links a {
  position: relative;
  opacity: .72;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 6px;
  font-size: 13px;
}
.story-nav__links a:hover { color: var(--red); opacity: 1; }
.story-nav__links a[aria-current="page"] {
  opacity: 1;
  color: var(--red);
}
.story-nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.story-cta {
  padding: 12px 16px;
  background: var(--red-dark);
  color: white;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(147, 0, 10, .22);
}

/* ---------- Opening ---------- */

.opening {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(150px, 18vh, 210px) 0 clamp(80px, 10vh, 120px);
}

.opening__copy { padding-top: 0; }

.kicker {
  margin: 0 0 24px;
  color: var(--blue);
}

.opening h1,
.finale h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.045em;
  color: var(--red);
  max-width: 680px;
}

.opening p:not(.kicker),
.finale p {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.42;
  margin: 26px 0 0;
}

.opening__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(62, 46, 17, .72);
}
.opening__quick li {
  list-style: none;
  padding: 8px 12px;
  border: 1px solid rgba(62, 46, 17, .18);
  background: rgba(255, 245, 227, .7);
  border-radius: 999px;
}

.opening__scene {
  position: sticky;
  top: 130px;
  min-height: 460px;
  display: grid;
  place-items: center;
}

/* Storefront vignette (replaces mini-city, no SVG people) */
.storefront-svg {
  width: min(100%, 480px);
  height: auto;
  filter: drop-shadow(18px 18px 0 rgba(237, 53, 65, .9)) drop-shadow(0 28px 50px rgba(62, 46, 17, .12));
}

.storefront-svg .sf-frame { fill: #c8eee8; stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-floor { fill: var(--teal); }
.storefront-svg .sf-store-a { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-store-b { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-store-c { fill: var(--blue); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-awning-a { fill: var(--cream-deep); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-awning-b { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-sun { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-trend {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: sf-draw 2.4s ease forwards 200ms;
}
.storefront-svg .sf-trend-tip { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.storefront-svg .sf-tag {
  fill: var(--cream-light);
  stroke: var(--ink);
  stroke-width: 3;
}
.storefront-svg .sf-tag--blue { fill: var(--blue); }
.storefront-svg .sf-tag-text {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  fill: var(--ink);
}
.storefront-svg .sf-tag-text--white { fill: white; }
.storefront-svg .pi-text,
.storefront-svg .pi-text--mono {
  font-family: Arial, sans-serif;
}

@keyframes sf-draw { to { stroke-dashoffset: 0; } }

.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 28px;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
}

/* ---------- Scrolly journey ---------- */

.scrolly {
  position: relative;
  min-height: 600vh;
  background: linear-gradient(180deg, var(--cream-light), #ffffff 18%, #ffffff 74%, var(--cream-light));
}

.stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 24px 60px;
  z-index: 1;
}

.stage__topline {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: rgba(62, 46, 17, .56);
  pointer-events: none;
  z-index: 5;
  transition: opacity 280ms ease;
}
.stage__topline.is-hidden { opacity: 0; }

.illustration {
  width: min(45vw, 600px);
  transform: translateX(-22vw);
  filter: drop-shadow(0 28px 50px rgba(62, 46, 17, .12));
}

.journey-svg { overflow: visible; }
.scene-bg { fill: #fff5e3; stroke: rgba(62,46,17,.42); stroke-width: 3; }
.scene-grid { opacity: .8; }

.layer {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(28px) scale(.96);
  transition: opacity 560ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.layer.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.road,
.chaos-line,
.falaq-path,
.signal-wave,
.launch-beam,
.dash-lines,
.chart {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road { stroke: var(--teal-deep); stroke-width: 18; opacity: .75; }
.shop { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.shop--b { fill: var(--red); }
.shop--c { fill: var(--blue); }
.awning { fill: var(--cream-deep); stroke: var(--ink); stroke-width: 4; }
.awning--blue { fill: #c8eee8; }
.sun-disc { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.floating-label { font-size: 34px; font-weight: 700; fill: var(--red); letter-spacing: -.03em; }
.floating-label--blue { fill: var(--blue); }

.chaos-line { stroke: var(--red); stroke-width: 7; stroke-dasharray: 14 16; }
.card rect { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.card text { font-size: 28px; font-weight: 700; fill: var(--ink); }
.card path { stroke: var(--blue); stroke-width: 5; stroke-linecap: round; }
.warning path { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.warning text { fill: white; font-size: 54px; font-weight: 700; }

.orbit { fill: none; stroke: rgba(0,156,189,.38); stroke-width: 4; stroke-dasharray: 9 14; }
.falaq-path { stroke: var(--red); stroke-width: 14; }
.core circle { fill: var(--red); stroke: var(--ink); stroke-width: 5; }
.core text { font-size: 34px; font-weight: 700; fill: white; }
.node circle { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.node text { font-size: 22px; font-weight: 700; fill: var(--ink); }

.machine { fill: var(--cream-light); stroke: var(--ink); stroke-width: 5; }
.gear { fill: none; stroke: var(--blue); stroke-width: 18; stroke-dasharray: 18 10; }
.launch-beam { stroke: var(--red); stroke-width: 14; }
.spark--one { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.big-word { font-size: 62px; font-weight: 700; fill: var(--red); letter-spacing: -.05em; }

.dashboard { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.dash-side { fill: var(--ink); }
.dash-lines { stroke: rgba(62,46,17,.42); stroke-width: 7; }
.dash-tile { fill: var(--cream); stroke: var(--ink); stroke-width: 3; }
.dash-tile-text { font-size: 18px; font-weight: 700; fill: var(--ink); }
.chart { stroke: var(--red); stroke-width: 12; }
.chart-dot { fill: var(--blue); stroke: var(--ink); stroke-width: 4; }
.dash-logo { font-size: 80px; font-weight: 700; fill: var(--cream-light); }

/* ---------- Chapters ---------- */

.chapters {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max));
  margin: -100vh auto 0;
  padding-bottom: 40vh;
  pointer-events: none;
}

.chapter {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 460px;
  margin-left: auto;
  margin-right: 0;
  padding: clamp(150px, 22vh, 210px) 0 clamp(80px, 12vh, 120px);
  pointer-events: auto;
}

.chapter__number {
  color: var(--blue);
  margin: 0 0 18px;
}

.chapter h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--red);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.chapter p:not(.chapter__number) {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.4;
  max-width: 440px;
}

/* ---------- Proof strip + How-it-works ---------- */

.proof-strip,
.finale {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(110px, 16vw, 200px) 0;
}

.proof-strip h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--ink);
  max-width: 720px;
}

.proof-strip__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.proof-strip__steps li {
  padding: 10px 14px;
  border: 1px solid rgba(62, 46, 17, .22);
  background: var(--cream-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.proof-strip__steps li::before {
  content: attr(data-step);
  margin-right: 8px;
  color: var(--blue);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.proof-grid article {
  background: var(--cream);
  border: 2px solid rgba(62,46,17,.22);
  min-height: 240px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 0 rgba(237,53,65,.12);
  overflow: hidden;
}

.proof-grid strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: .88;
  letter-spacing: -.04em;
}

.proof-grid span {
  display: block;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.34;
}

/* ---------- Inner-page shell ---------- */

.story-nav--page {
  background: linear-gradient(180deg, rgba(255,245,227,.94), rgba(255,245,227,.62));
  box-shadow: 0 20px 60px rgba(62,46,17,.05);
}

.story-main-page {
  background:
    radial-gradient(circle at 84% 16%, rgba(0,156,189,.12), transparent 28%),
    linear-gradient(180deg, var(--cream-light), #fff 46%, var(--cream-light));
}

.page-hero,
.page-section,
.page-cta {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.page-hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .82fr);
  gap: clamp(46px, 6vw, 96px);
  align-items: center;
  padding: clamp(160px, 19vh, 220px) 0 clamp(72px, 9vh, 112px);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--red);
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.page-section h2,
.page-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--red);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.page-hero p,
.page-section__intro,
.page-cta p {
  max-width: 600px;
  font-size: clamp(1.02rem, 1.5vw, 1.32rem);
  line-height: 1.42;
}

/* Page illustrations are SVG-based (no .paper-object rectangles) */
.page-illustration {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  align-self: center;
  padding: clamp(20px, 3vw, 40px);
  background: rgba(255, 245, 227, .82);
  border: 2px solid rgba(62, 46, 17, .2);
  box-shadow: 16px 16px 0 rgba(0, 156, 189, .12);
  min-height: clamp(320px, 32vw, 460px);
  overflow: hidden;
}
.page-illustration::before {
  content: "";
  position: absolute;
  inset: 14px;
  background-image:
    linear-gradient(rgba(62,46,17,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,46,17,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-illustration > svg { position: relative; width: 100%; height: auto; max-width: 460px; }

/* SVG primitives shared across page illustrations */
.pi-bg { fill: transparent; }
.pi-stroke { stroke: var(--ink); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pi-thin { stroke: var(--ink); stroke-width: 2; fill: none; }
.pi-fill-cream { fill: var(--cream-light); stroke: var(--ink); stroke-width: 4; }
.pi-fill-red { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.pi-fill-blue { fill: var(--blue); stroke: var(--ink); stroke-width: 4; }
.pi-fill-deep { fill: var(--cream-deep); stroke: var(--ink); stroke-width: 4; }
.pi-text {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  fill: var(--ink);
}
.pi-text--small { font-size: 14px; letter-spacing: .08em; }
.pi-text--white { fill: white; }
.pi-text--blue { fill: var(--blue); }
.pi-text--red { fill: var(--red); }
.pi-chart {
  fill: none;
  stroke: var(--red);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pi-chart-dot { fill: var(--blue); stroke: var(--ink); stroke-width: 3; }
.pi-fill-ink { fill: var(--ink); stroke: var(--ink); stroke-width: 4; }
.pi-fill-deep { fill: var(--cream-deep); stroke: var(--ink); stroke-width: 4; }
.pi-text--big {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
  fill: var(--red);
}
.pi-text--giant {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -.04em;
  fill: var(--blue);
}
.pi-text--mono {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: rgba(62, 46, 17, .68);
}
.pi-text--mono.is-white { fill: #fff; }
.pi-text--mono.is-white-soft { fill: rgba(255, 255, 255, .65); }
.pi-text--mono.is-white-faint { fill: rgba(255, 255, 255, .5); }
.pi-text--mono.is-blue { fill: var(--blue); }
.pi-text--mono.is-red { fill: var(--red); }
.pi-rule { stroke: rgba(62, 46, 17, .28); stroke-width: 2; fill: none; }
.pi-chip {
  fill: var(--cream-light);
  stroke: var(--ink);
  stroke-width: 2;
}
.pi-chip--red { fill: var(--red); stroke: var(--ink); stroke-width: 2; }
.pi-leader { stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-dasharray: 4 4; }
.pi-bar-red { fill: var(--red); stroke: var(--ink); stroke-width: 2; }
.pi-bar-blue { fill: var(--blue); stroke: var(--ink); stroke-width: 2; }
.pi-bar-cream { fill: var(--cream-deep); stroke: var(--ink); stroke-width: 2; }

/* ---------- Page sections ---------- */

.page-section { padding: clamp(80px, 10vw, 130px) 0; }
.page-section--tight { padding-top: clamp(20px, 4vw, 60px); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}
.story-grid--two { grid-template-columns: repeat(2, 1fr); }
.story-grid--services { grid-template-columns: repeat(3, 1fr); }
.story-grid--engagement { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

.story-card {
  background: rgba(255, 245, 227, .82);
  border: 2px solid rgba(62, 46, 17, .2);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
}

.story-card__index {
  color: var(--blue);
  margin-bottom: 18px;
}

.story-card h3 {
  margin: 0;
  color: var(--red);
  font-family: "29LT Idris Flat", Georgia, serif;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.story-card p {
  margin: 14px 0 0;
  line-height: 1.45;
  font-size: 1rem;
  color: rgba(62, 46, 17, .86);
}

.engagement-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.engagement-strip article {
  padding: 18px 20px;
  border: 1.5px solid rgba(62, 46, 17, .18);
  background: rgba(255, 245, 227, .78);
}
.engagement-strip h3 {
  margin: 8px 0 4px;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}
.engagement-strip p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.35;
  color: rgba(62, 46, 17, .82);
}

.brief-panel {
  background: rgba(255, 245, 227, .82);
  border: 2px solid rgba(62, 46, 17, .2);
  box-shadow: 16px 16px 0 rgba(0, 156, 189, .12);
  padding: clamp(24px, 4vw, 40px);
  align-self: stretch;
  scroll-margin-top: 130px;
}

.brief-form { display: grid; gap: 16px; }
.brief-form label {
  display: grid;
  gap: 8px;
  color: rgba(62, 46, 17, .72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brief-form input,
.brief-form textarea,
.brief-form select {
  width: 100%;
  border: 2px solid rgba(62, 46, 17, .2);
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
}
.brief-form textarea { min-height: 120px; resize: vertical; }
.brief-form button { justify-self: start; }

.page-cta {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

/* ---------- Finale ---------- */

.finale {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.finale__mark {
  position: absolute;
  right: -8vw;
  bottom: -14vw;
  color: var(--red);
  opacity: .055;
  font-size: clamp(20rem, 48vw, 44rem);
  font-weight: 700;
  line-height: .7;
  pointer-events: none;
  user-select: none;
}

.finale h2 { color: var(--red); max-width: 1000px; }
.finale p { position: relative; z-index: 1; }

.finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 22px;
  background: var(--red-dark);
  color: white;
  border: 2px solid var(--red-dark);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  cursor: pointer;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

@media (prefers-reduced-motion: no-preference) {
  .gear, .spark--one { animation: drift 5.5s ease-in-out infinite alternate; }
  .gear--b { animation-delay: -1.3s; }
  .gear--c { animation-delay: -2.2s; }
  .falaq-path, .chart { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.3s ease forwards; }

  .reveal-item {
    opacity: 1;
    transform: translateY(34px) rotate(.35deg);
    transition:
      opacity 620ms ease,
      transform 760ms cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-word { opacity: 1; transform: none; transition: none; }
  .storefront-svg .sf-trend { animation: none; stroke-dashoffset: 0; }
}

@keyframes drift {
  from { transform: translateY(-5px); }
  to { transform: translateY(7px); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- v6: outcome line on service cards ---------- */
.story-card__outcome {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.4;
}

/* ---------- v6: founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: 36px;
}
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "avatar meta" "bio bio" "focus focus";
  gap: 16px 22px;
  padding: 28px;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 14px 14px 0 rgba(0, 156, 189, .12);
}
.founder-avatar {
  grid-area: avatar;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: .04em;
}
.founder-meta { grid-area: meta; align-self: center; }
.founder-meta h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--red);
  letter-spacing: -.02em;
}
.founder-card__title {
  margin: 0;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}
.founder-bio {
  grid-area: bio;
  margin: 0;
  line-height: 1.55;
  color: rgba(62,46,17,.86);
}
.founder-focus {
  grid-area: focus;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.founder-focus__chip {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 700;
}

/* ---------- v6: baseline data grid ---------- */
.baseline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.baseline-tile {
  padding: 22px;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 10px 10px 0 rgba(237,53,65,.1);
}
.baseline-tile__label {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  opacity: .7;
}
.baseline-tile__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--red);
  letter-spacing: -.02em;
  line-height: 1;
}
.baseline-tile__caption {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(62,46,17,.7);
  margin: 0;
}
.baseline-tile__spark { width: 100%; height: 30px; }
.baseline-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: rgba(255,245,227,.5);
  font-style: italic;
  line-height: 1.5;
  color: rgba(62,46,17,.78);
}

/* ---------- v6: product blocks ---------- */
.product-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.product-block:first-of-type { border-top: 0; }
.product-block--reverse { grid-template-columns: 1.05fr minmax(280px, 0.95fr); }
.product-block--reverse .product-block__illus { order: 2; }
.product-block__illus {
  background: var(--cream-light);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 16px 16px 0 rgba(0, 156, 189, .12);
  position: relative;
  overflow: hidden;
}
.product-block__illus::before {
  content: "";
  position: absolute;
  inset: 12px;
  background-image:
    linear-gradient(rgba(62,46,17,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,46,17,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  border-radius: 8px;
}
.product-block__illus svg { position: relative; width: 100%; height: auto; }
.product-block__copy h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--red);
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0 0 14px;
}
.product-block__kicker {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}
.product-block__short {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  margin: 0 0 14px;
  color: rgba(62,46,17,.86);
}
.product-block__body { line-height: 1.55; margin: 0 0 16px; }
.product-block__bestfor {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  opacity: .7;
  margin: 22px 0 6px;
}
.product-block__bestfor + p { margin: 0; line-height: 1.5; }
.product-benefits {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.product-benefits li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.product-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 10px; height: 10px;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 2px;
}
.product-block__cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
}
.product-block__cta:hover { background: var(--ink); color: #fff; }
.product-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

/* ---------- v6: home teasers ---------- */
.teaser-strip {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.teaser-strip__accent-wrap {
  display: grid;
  place-items: center;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 14px 14px 0 rgba(0,156,189,.12);
}
.teaser-strip__accent {
  width: 100%; max-width: 320px;
  height: auto;
}
.teaser-strip__copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--red);
  letter-spacing: -.035em;
  line-height: 1;
  margin: 8px 0 16px;
}
.teaser-strip__copy p {
  margin: 0 0 22px;
  line-height: 1.5;
  max-width: 460px;
}
.teaser-strip--reverse .teaser-strip__accent-wrap { order: 2; }

/* ---------- v8: apply page hero brief-preview + form animation ---------- */
.brief-preview {
  display: block;
  width: min(100%, 460px);
  margin: 28px 0 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--cream-light);
  padding: 18px;
  position: relative;
  box-shadow: 14px 14px 0 rgba(237, 53, 65, .12);
}
.brief-preview svg { width: 100%; height: auto; display: block; }
.brief-preview__caption {
  margin: 14px 0 0;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(62, 46, 17, .68);
}

/* Checkbox tick: each .tick-row contains an outline rect + a fill rect (.is-checked target) + a check path */
.tick-fill, .tick-check {
  opacity: 0;
  transition: opacity 320ms ease;
  transition-delay: var(--tick-delay, 0ms);
}
.is-animated .tick-fill,
.is-animated .tick-check { opacity: 1; }

/* form panel slide-in (one-time on page load) */
@media (prefers-reduced-motion: no-preference) {
  /* Send button gentle red glow pulse */
  .brief-form button.button {
    animation: apply-button-pulse 2.6s ease-in-out infinite;
  }
  @keyframes apply-button-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(237, 53, 65, .18); }
    50% { box-shadow: 0 12px 38px rgba(237, 53, 65, .42), 0 0 0 6px rgba(237, 53, 65, .08); }
  }

  /* faster headline typing on apply page */
  .apply-hero .type-word { transition-delay: calc(var(--word-index, 0) * 24ms); }
}

/* small step-dots stripe above the form heading: 6 dots, first one filled */
.brief-panel__steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.brief-panel__steps .dot {
  width: 12px; height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}
.brief-panel__steps .dot.is-filled { background: var(--red); }
.brief-panel__steps .label {
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(62, 46, 17, .68);
  margin-left: 6px;
}

/* small glyph used in "what happens next" 3 cards */
.step-glyph {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  background: var(--cream-light);
  border-radius: 8px;
  margin-bottom: 14px;
}
.step-glyph svg { width: 24px; height: 24px; }

/* ---------- v6: apply page fit grid ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.fit-col {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream-light);
}
.fit-col--yes { border-color: var(--red); box-shadow: 10px 10px 0 rgba(237,53,65,.12); }
.fit-col--no  { border-color: var(--ink); }
.fit-col h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--red);
}
.fit-col--no h3 { color: var(--ink); }
.fit-col p { margin: 0; line-height: 1.55; }

/* ---------- v6: services who-list ---------- */
.who-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.who-list li { line-height: 1.5; }
.who-list li::before { content: "→"; color: var(--red); margin-right: 10px; font-weight: 700; }

/* ---------- v6: pixel flow animation ---------- */
.pixel-flow { animation: pixel-dash 1.6s linear infinite; }
@keyframes pixel-dash { to { stroke-dashoffset: -20; } }

/* ---------- v7: shared animation primitives ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* always-on dashed-line flow (reuses pixel-dash speed for brand consistency) */
  .flow-dash { animation: pixel-dash 1.6s linear infinite; }
  .flow-dash--slow { animation: pixel-dash 2.6s linear infinite; }

  /* one-time stroke-dashoffset draw, triggered when parent gains .is-animated or .is-active */
  .svg-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1600ms cubic-bezier(.2, .8, .2, 1);
  }
  .is-animated .svg-draw,
  .is-active .svg-draw,
  .layer.is-active .svg-draw { stroke-dashoffset: 0; }

  /* bar-rise: scaleY 0 → 1 with origin at bottom of each rect */
  .svg-bar-rise {
    transform: scaleY(0);
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--rise-delay, 0ms);
  }
  .is-animated .svg-bar-rise,
  .is-active .svg-bar-rise,
  .layer.is-active .svg-bar-rise { transform: scaleY(1); }

  /* gentle pulse on a chip/tag — used for TOP MOVE / THIS WEEK / ? circle */
  /* opt-in: only animates when an ancestor has .is-active or .is-animated */
  .svg-pulse { transform-box: fill-box; transform-origin: center; }
  .is-animated .svg-pulse,
  .is-active .svg-pulse,
  .layer.is-active .svg-pulse {
    animation: svg-pulse 2.2s ease-in-out infinite;
  }
  @keyframes svg-pulse {
    0%, 100% { transform: scale(1); filter: none; }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 6px rgba(237,53,65,.45)); }
  }

  /* progress-bar fill: scaleX 0 → 1 from left */
  .svg-bar-fill {
    transform: scaleX(0);
    transform-box: fill-box;
    transform-origin: 0 50%;
    transition: transform 1400ms cubic-bezier(.2, .8, .2, 1);
    transition-delay: 200ms;
  }
  .is-animated .svg-bar-fill,
  .layer.is-active .svg-bar-fill { transform: scaleX(1); }

  /* count-up suffix; the values are interpolated by JS in story.js */
  .baseline-tile__value { font-variant-numeric: tabular-nums; }

  /* baseline horizontal mini-bar fill (HTML span fed by --fill custom prop) */
  .baseline-bar {
    display: block;
    width: 100%;
    height: 6px;
    background: var(--cream-deep);
    border: 1px solid var(--ink);
    position: relative;
    overflow: hidden;
  }
  .baseline-bar::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill, 0%);
    background: var(--red);
    transition: width 1400ms cubic-bezier(.2, .8, .2, 1);
    transition-delay: 200ms;
  }
  .baseline-tile:not(.is-animated) .baseline-bar::after { width: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pixel-flow, .flow-dash, .flow-dash--slow,
  .svg-draw, .svg-bar-rise, .svg-pulse, .svg-bar-fill {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ---------- v6: 4-up grid + apply microcopy ---------- */
.story-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apply-microcopy {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(0, 156, 189, .08);
  border-left: 3px solid var(--blue);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(62,46,17,.78);
}

/* ---------- v6: mobile breakpoints for new components ---------- */
@media (max-width: 880px) {
  .founders-grid,
  .product-fit,
  .fit-grid { grid-template-columns: 1fr; }
  .baseline-grid { grid-template-columns: repeat(2, 1fr); }
  .product-block,
  .product-block--reverse { grid-template-columns: 1fr; }
  .product-block--reverse .product-block__illus { order: 0; }
  .story-grid--four { grid-template-columns: repeat(2, 1fr); }
  .teaser-strip { grid-template-columns: 1fr; padding-top: clamp(48px, 8vw, 80px); }
  .teaser-strip--reverse .teaser-strip__accent-wrap { order: 0; }
}
@media (max-width: 520px) {
  .baseline-grid { grid-template-columns: 1fr; }
  .story-grid--four { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; grid-template-areas: "avatar" "meta" "bio" "focus"; }
  .founder-avatar { width: 64px; height: 64px; font-size: 28px; }
}

/* ---------- Tablet / mobile ---------- */

@media (max-width: 900px) {
  .story-nav {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 12px 16px;
    background: rgba(255, 245, 227, .94);
    box-shadow: 0 14px 40px rgba(62, 46, 17, .08);
  }

  .story-brand { grid-column: 1; grid-row: 1; }
  .story-cta { grid-column: 2; grid-row: 1; }

  .story-nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 12px;
    scrollbar-width: none;
  }
  .story-nav__links::-webkit-scrollbar { display: none; }
  .story-nav__links a { flex: 0 0 auto; font-size: 12px; letter-spacing: .14em; }
  .story-cta { padding: 10px 14px; font-size: 10px; }

  .opening {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 60px;
  }
  .opening__scene { position: relative; top: auto; min-height: auto; }
  .storefront-svg { width: min(94vw, 480px); }

  .scrolly { min-height: auto; background: #fff; }
  .stage {
    position: relative;
    top: auto;
    min-height: auto;
    align-items: center;
    padding: 100px 18px 32px;
    background: #fff;
    border-bottom: 1px solid rgba(62, 46, 17, .12);
  }
  .stage__topline { display: none; }
  .illustration {
    width: min(96vw, 720px);
    transform: none;
  }

  .chapters {
    margin: 0 auto;
    padding: 24px 0 72px;
  }

  .chapter {
    min-height: auto;
    margin: 0;
    max-width: none;
    padding: 56px 0;
    border-bottom: 1px solid rgba(62, 46, 17, .08);
  }
  .chapter h2 {
    font-size: clamp(2.2rem, 9.5vw, 3.6rem);
    line-height: .98;
  }

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

  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 56px;
  }
  .page-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
    line-height: .98;
  }
  .page-section h2,
  .page-cta h2 {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem);
    line-height: .98;
  }
  .story-grid,
  .story-grid--two,
  .story-grid--services,
  .story-grid--engagement,
  .engagement-strip {
    grid-template-columns: 1fr;
  }
  .engagement-strip[style] {
    grid-template-columns: 1fr !important;
  }
  .scroll-cue { display: none; }
  .page-illustration { min-height: 280px; }
}

@media (max-width: 560px) {
  .opening,
  .proof-strip,
  .finale,
  .chapters { width: min(calc(100% - 28px), var(--max)); }
  .opening h1, .finale h2 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .opening p:not(.kicker), .finale p { font-size: 1.05rem; }
  .storefront-svg { width: min(94vw, 380px); }
  .storefront-svg .pi-text,
  .storefront-svg .pi-text--mono,
  .storefront-svg .sf-tag-text { display: none; }
  .story-brand img { width: 96px; }
  .story-cta { max-width: 132px; text-align: center; line-height: 1.2; }
  .story-nav__links { font-size: 10px; gap: 4px; }
  .stage { min-height: 50vh; }
  .chapter { min-height: auto; }
}

/* ---------- Form status ---------- */
.form-status {
  margin: 14px 0 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid var(--blue);
  background: rgba(0, 156, 189, .08);
}
.form-status:empty { display: none; }
.form-status.is-success {
  border-left-color: var(--red);
  background: rgba(237, 53, 65, .06);
  color: var(--ink);
}
.form-status.is-error {
  border-left-color: var(--red-dark);
  background: rgba(147, 0, 10, .06);
  color: var(--red-dark);
}

/* ---------- Mobile illustration legibility ---------- */
@media (max-width: 640px) {
  .mobile-hide { display: none !important; }

  .storefront-svg .pi-text--small,
  .page-illustration .pi-text--small,
  .product-block__illus .pi-text--small {
    font-size: 16px;
    letter-spacing: .04em;
  }
  .storefront-svg .pi-text,
  .page-illustration .pi-text,
  .product-block__illus .pi-text {
    font-size: 20px;
  }
  .page-illustration .pi-text--mono,
  .product-block__illus .pi-text--mono {
    font-size: 13px;
  }
  .storefront-svg {
    filter: drop-shadow(8px 8px 0 rgba(237, 53, 65, .9)) drop-shadow(0 18px 30px rgba(62, 46, 17, .12));
  }
}

@media (max-width: 480px) {
  .stage__topline { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(60px, 10vw, 120px);
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 64px) 32px;
  background: var(--ink);
  color: rgba(255, 245, 227, .9);
  font-size: 14px;
  line-height: 1.5;
}
.site-footer__inner {
  width: min(calc(100% - 0px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 245, 227, .14);
}
.site-footer h3 {
  margin: 0 0 14px;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--cream-light);
}
.site-footer a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 245, 227, .9);
  transition: color 160ms ease;
}
.site-footer a:hover { color: var(--red); }
.site-footer__brand img {
  width: 110px;
  height: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(.9);
}
.site-footer__brand p { margin: 0; max-width: 360px; }
.site-footer__location { margin: 8px 0 0; color: rgba(255, 245, 227, .86); }
.site-footer__base {
  width: min(calc(100% - 0px), var(--max));
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 245, 227, .82);
}
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Lang soon pill ---------- */
.lang-soon {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px dashed rgba(62, 46, 17, .3);
  border-radius: 999px;
  opacity: .5;
  cursor: not-allowed;
  white-space: nowrap;
}

/* ---------- Case card ---------- */
.case-card {
  margin-top: 36px;
  background: var(--cream-light);
  border: 2px solid var(--ink);
  box-shadow: 16px 16px 0 rgba(237, 53, 65, .12);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.case-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-card__metrics strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.case-card__metrics span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(62, 46, 17, .76);
}
.case-card__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-card__brand {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(62, 46, 17, .6);
}
@media (max-width: 760px) {
  .case-card { grid-template-columns: 1fr; }
  .case-card__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .case-card__metrics { grid-template-columns: 1fr; }
}

/* ---------- Polish / utilities ---------- */
.kicker--muted { color: rgba(62, 46, 17, .55); }
.kicker--spaced { margin-bottom: 24px; }
.actions--top { margin-top: 24px; }
.actions--loose { margin-top: 36px; }
.brief-panel__eyebrow { margin-bottom: 8px; }
.brief-panel__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--red);
  margin: 0 0 18px;
  line-height: 1.05;
}
.page-copy-note {
  max-width: 600px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.5;
  margin-top: 18px;
}
.metric-attribution {
  margin-top: 8px;
  color: rgba(62, 46, 17, .55);
}
.metric-attribution--grid {
  margin-bottom: 24px;
  color: rgba(62, 46, 17, .55);
}
.legal-content,
.policy-content,
.case-study-content {
  max-width: 820px;
}
.legal-content h2,
.policy-content h2,
.case-study-content h2 {
  margin-top: clamp(36px, 6vw, 64px);
}
.legal-content h3,
.policy-content h3,
.case-study-content h3 {
  margin: 28px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  color: var(--red);
  letter-spacing: -.02em;
}
.legal-content p,
.policy-content p,
.case-study-content p {
  line-height: 1.62;
  color: rgba(62, 46, 17, .82);
}
.legal-content ul,
.legal-content ol,
.policy-content ul,
.policy-content ol,
.case-study-content ul,
.case-study-content ol {
  padding-left: 1.2rem;
  line-height: 1.6;
  color: rgba(62, 46, 17, .82);
}
.legal-content li + li,
.policy-content li + li,
.case-study-content li + li {
  margin-top: 8px;
}
.legal-content a,
.policy-content a,
.case-study-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-content code,
.policy-content code,
.case-study-content code,
.who-list code {
  padding: .12em .36em;
  border: 1px solid rgba(62, 46, 17, .18);
  background: rgba(255, 245, 227, .72);
  border-radius: 4px;
  font-family: "29LT Idris Flat", Arial, sans-serif;
  font-size: .92em;
}
.content-date {
  margin: 0 0 28px;
  color: rgba(62, 46, 17, .6);
  font-size: 14px;
}
