/* ══════════════════════════════════════════════════════════════════════
   virel — design system
   Built to spread.

   Static site. No build step. Edit these files directly.

   Structure
   01  Tokens
   02  Reset + base
   03  Typography primitives
   04  Buttons
   05  Navigation
   06  Layout blocks
   07  Hero
   08  Attention map (canvas)
   09  Plates (placeholder media) + figures
   10  Work: proof strip, feature cases, index
   11  Case study components
   12  Metrics (graceful hiding)
   13  The system (Signal / Spread / Scale / Sustain)
   14  Operators / credibility
   15  Poster moments
   16  Beliefs
   17  Service page systems (specimen / rail / matrix / cycle)
   18  Pricing
   19  Form
   20  Footer
   21  Reveal + motion
   22  Responsive + reduced motion
   ══════════════════════════════════════════════════════════════════════ */

/* ── 01  Tokens ─────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg:           #0A0A0B;
  --bg-elevated:  #111114;
  --bg-soft:      #16161B;
  --bg-raised:    #1C1C22;

  /* Ink */
  --ink:          #FAFAFA;
  --ink-mute:     #A1A1AA;
  --ink-faint:    #71717A;
  --ink-dim:      #52525B;

  /* Accent. Pink is the only brand colour. Green is state feedback only. */
  --pink:         #FF2BD6;
  --pink-soft:    #FF6BE0;
  --ok:           #3DDC97;

  /* Lines */
  --line:         rgba(255, 255, 255, 0.08);
  --line-strong:  rgba(255, 255, 255, 0.16);
  --line-pink:    rgba(255, 43, 214, 0.45);

  /* Type. One family. --font-display stays a separate token so a
     display face can be reintroduced in one edit if ever wanted. */
  --font:         "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);

  /* Scale */
  --fs-mega:    clamp(72px, 14vw, 216px);
  --fs-h1:      clamp(38px, 5.6vw, 80px);
  --fs-h2:      clamp(30px, 4.2vw, 56px);
  --fs-h3:      clamp(21px, 2.1vw, 28px);
  --fs-lede:    clamp(17px, 1.5vw, 21px);
  --fs-body:    16px;

  /* Geometry */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Motion */
  --dur-fast:  160ms;
  --dur-base:  280ms;
  --dur-slow:  480ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ── 02  Reset + base ───────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--pink); color: #0A0A0B; }

/* Film grain. Fixed, above content, below nav. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Focus. Outline carries width and offset so it never depends on hue. */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 14px 20px;
  background: var(--pink);
  color: #0A0A0B;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: top var(--dur-base) var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 940px; }

.section { padding-block: clamp(80px, 10vw, 148px); position: relative; }
.section--tight { padding-block: clamp(52px, 6.5vw, 88px); }
.section--soft  { background: var(--bg-soft); }
.section--rule  { border-top: 1px solid var(--line); }

/* ── 03  Typography primitives ──────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -0.02em; }
h4 { font-size: 17px; letter-spacing: -0.015em; }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-mega);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.pink  { color: var(--pink); }
.muted { color: var(--ink-mute); }
.faint { color: var(--ink-faint); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 58ch;
  text-wrap: pretty;
}
.lede + .lede { margin-top: 16px; }
.lede strong { color: var(--ink); font-weight: 600; }

.section-title { font-size: var(--fs-h1); margin-bottom: clamp(20px, 2.6vw, 32px); }
.block-title   { font-size: var(--fs-h2); letter-spacing: -0.032em; line-height: 1.0; }




.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-mute);
  white-space: nowrap;
}
.tag--pink { border-color: var(--line-pink); color: var(--pink-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ── 04  Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  white-space: nowrap;
}
.btn .arrow { width: 15px; height: 15px; transition: transform var(--dur-base) var(--ease); flex-shrink: 0; }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn-primary {
  background: var(--pink);
  color: #0A0A0B;
  box-shadow: 0 4px 22px -8px rgba(255, 43, 214, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(255, 43, 214, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn-lg { min-height: 54px; padding: 17px 28px; font-size: 15px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.link svg { width: 15px; height: 15px; transition: transform var(--dur-base) var(--ease); }
.link:hover { color: var(--pink); border-color: var(--pink); }
.link:hover svg { transform: translate(3px, -3px); }

/* ── 05  Navigation ─────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.nav.scrolled { background: rgba(10, 10, 11, 0.88); border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.wordmark::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
  margin-left: 4px;
  box-shadow: 0 0 12px var(--pink);
}

.nav-links { display: flex; justify-content: center; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  border-radius: var(--r-pill);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--pink);
  border-radius: 2px;
}
.nav-link .chev { width: 11px; height: 11px; opacity: 0.7; transition: transform var(--dur-base) var(--ease); }

/* Services flyout. CSS only: opens on hover and on keyboard focus via
   :focus-within, so there is no JS to break. On touch the trigger is a
   real link to services.html, so a tap always lands somewhere useful. */
.nav-flyout {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 310px;
  padding: 10px;
  background: rgba(17, 17, 20, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility var(--dur-base);
}
.nav-item-services:hover .nav-flyout,
.nav-item-services:focus-within .nav-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-item-services:hover .chev,
.nav-item-services:focus-within .chev { transform: rotate(180deg); }

.nav-flyout a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast) var(--ease);
}
.nav-flyout a:hover { background: rgba(255, 255, 255, 0.05); }
.nav-flyout .fly-num {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--pink);
}
.nav-flyout .fly-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.nav-flyout .fly-desc { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; font-weight: 400; }
.nav-flyout .fly-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; grid-template-columns: 1fr; }
.nav-flyout .fly-all .fly-name { color: var(--pink); }

.nav-cta { justify-self: end; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle-bars span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── 06  Layout blocks ──────────────────────────────────────────────── */

.block { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .block-two  { grid-template-columns: 1fr 1fr; align-items: start; }
  .block-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(44px, 6vw, 88px); }
}

.head {
  display: grid;
  gap: clamp(22px, 3vw, 48px);
  margin-bottom: clamp(40px, 5vw, 68px);
  align-items: end;
}
@media (min-width: 900px) { .head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* ── 07  Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(132px, 17vw, 208px);
  padding-bottom: clamp(72px, 9vw, 124px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-mega);
  line-height: 0.86;
  letter-spacing: -0.05em;
  display: inline-flex;
  align-items: baseline;
}
.hero-wordmark::after {
  content: "";
  width: clamp(13px, 2.2vw, 26px);
  height: clamp(13px, 2.2vw, 26px);
  background: var(--pink);
  border-radius: 50%;
  margin-left: clamp(6px, 1vw, 14px);
  box-shadow: 0 0 32px var(--pink), 0 0 64px rgba(255, 43, 214, 0.45);
  flex-shrink: 0;
}

.hero-tag {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-top: clamp(10px, 1.4vw, 20px);
  color: var(--ink);
}

.hero-lead {
  margin-top: clamp(36px, 4.4vw, 56px);
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.hero-lead span { color: var(--ink-mute); }

.hero-sub {
  margin-top: clamp(18px, 2.2vw, 28px);
  max-width: 52ch;
  font-size: var(--fs-lede);
  color: var(--ink-mute);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

/* Audience line. Sits under the CTAs as a ruled footnote. */
.hero-audience {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
  max-width: 56ch;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-mute);
}
.hero-audience::before {
  content: "";
  width: 5px; height: 5px;
  flex-shrink: 0;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
}

/* Compact hero used by inner pages. */
.hero--page { padding-bottom: clamp(56px, 7vw, 88px); }

.hero-glow {
  position: absolute;
  top: -10%; right: -20%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(255, 43, 214, 0.14), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ── 08  Attention map (canvas) ─────────────────────────────────────────
   One instance only, on the home hero. Removed from every other page and
   from the footer: the work should carry those pages, not decoration.
   Disabled under 880px and under prefers-reduced-motion by JS. */
.attention-map {
  position: absolute;
  top: 0; right: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
}
@media (max-width: 880px) { .attention-map { display: none; } }

/* ── 09  Plates: placeholder media ──────────────────────────────────────
   Every image slot on the site is a .plate. Until a real asset is
   supplied it renders a typographic virel block, clearly stamped
   "Asset pending" so it can never be mistaken for finished client work.

   To replace: delete the .plate-body children and drop an <img> or
   <picture> inside the same <figure>. The aspect ratio is held by the
   data-ratio attribute, so nothing shifts when the image lands. */

.plate {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.plate[data-ratio="9x16"] { aspect-ratio: 9 / 16; }
.plate[data-ratio="4x5"]  { aspect-ratio: 4 / 5; }
.plate[data-ratio="1x1"]  { aspect-ratio: 1 / 1; }
.plate[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.plate[data-ratio="21x9"] { aspect-ratio: 21 / 9; }

.plate img, .plate video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Diagonal hatch + hairline grid so a pending slot reads as scaffolding. */
.plate-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(16px, 2vw, 26px);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.022) 0px,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 9px),
    linear-gradient(180deg, rgba(255, 43, 214, 0.05), transparent 60%);
}
.plate-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
}
.plate-slot {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-dim);
}
.plate-tag {
  position: absolute;
  top: clamp(14px, 1.6vw, 20px);
  left: clamp(14px, 1.6vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px dashed var(--line-pink);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--pink-soft);
  background: rgba(10, 10, 11, 0.6);
}

figure { margin: 0; }
.figure-caption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* ── 10  Work ───────────────────────────────────────────────────────────
   The work is the centre of the site, so it gets the largest type, the
   widest media and the most space. */

/* Proof strip: who virel currently works with, directly under the hero. */
.proof {
  border-block: 1px solid var(--line);
  padding-block: clamp(20px, 2.4vw, 28px);
  background: var(--bg-elevated);
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.proof-label {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-faint);
  white-space: nowrap;
}
.proof-list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 32px); flex: 1; }
.proof-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color var(--dur-base) var(--ease);
}
.proof-item span {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.proof-item:hover { color: var(--pink); }
.proof-link {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.proof-link:hover { color: var(--pink); border-color: var(--pink); }

/* Feature case. Alternating asymmetric layout, oversized index numeral. */
.work-feature {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
.work-feature:first-of-type { border-top: 0; padding-top: 0; }

@media (min-width: 960px) {
  .work-feature { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
  .work-feature--flip .work-media { order: 2; }
  .work-feature--flip .work-body  { order: 1; }
}

.work-media { position: relative; }
.work-media .plate { border-radius: var(--r-lg); }

/* Oversized outlined numeral, bleeding past the media edge. */
.work-numeral {
  position: absolute;
  top: -0.36em;
  left: -0.08em;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 10vw, 148px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
  pointer-events: none;
  user-select: none;
}
.work-feature--flip .work-numeral { left: auto; right: -0.08em; }

.work-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--pink-soft);
  margin-bottom: 22px;
}
.work-label::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
}

.work-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.work-headline {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 24ch;
}
.work-headline span { color: var(--pink); }
.work-summary { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-mute); line-height: 1.55; max-width: 46ch; }

.work-roles {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.work-roles-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.work-cta { margin-top: 30px; }

/* Work index rows, used on work.html for anything beyond the two features. */
.work-rows { border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--dur-base) var(--ease);
}
.work-row:hover { padding-left: 10px; }
.work-row-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  transition: color var(--dur-base) var(--ease);
}
.work-row:hover .work-row-name { color: var(--pink); }
.work-row-meta {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* ── 11  Case study ─────────────────────────────────────────────────── */

.case-hero { padding-top: clamp(124px, 15vw, 176px); padding-bottom: clamp(36px, 4vw, 56px); }
.case-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.case-standfirst {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 30ch;
}
.case-standfirst span { color: var(--pink); }

/* Fact bar. Only carries things that are true by definition of the
   engagement (sector, remit, status), never performance claims. */
.case-facts {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 4.5vw, 60px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 720px) { .case-facts { grid-template-columns: repeat(4, 1fr); } }
.case-fact { background: var(--bg-elevated); padding: clamp(18px, 2vw, 26px); }
.case-fact dt {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.case-fact dd { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* Numbered narrative sections. */
.case-chapter { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px); }
.case-chapter-head {
  display: grid;
  gap: clamp(20px, 3vw, 48px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .case-chapter-head { grid-template-columns: 180px minmax(0, 1fr); } }
.case-chapter-num {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--pink-soft);
  padding-top: 10px;
}
.case-chapter h2 { font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 22px; }
.case-body p { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-mute); line-height: 1.6; max-width: 60ch; }
.case-body p + p { margin-top: 16px; }
.case-body strong { color: var(--ink); font-weight: 600; }

/* Approach list. */
.approach { margin-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.approach li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink);
  line-height: 1.4;
  transition: padding var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.approach li::before {
  content: counter(approach, decimal-leading-zero);
  counter-increment: approach;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.approach { counter-reset: approach; }
.approach li:hover { padding-left: 8px; color: var(--pink); }

/* Selected creative grid. */
.creative-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(28px, 3.4vw, 44px);
}
@media (min-width: 720px) { .creative-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── 12  Metrics ────────────────────────────────────────────────────────
   Every metric ships hidden. Nick removes the hidden attribute and fills
   in the value once the figure is verified. If a block ends up with no
   visible metrics, script.js hides the whole block, so an empty results
   section can never render. Each metric declares its own attribution so
   context is never confused with a virel result. */

.metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 3.4vw, 44px);
}
@media (min-width: 640px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(3, 1fr); } }

.metric {
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.metric-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.metric-value small { font-size: 0.4em; font-weight: 600; color: var(--ink-mute); margin-left: 4px; letter-spacing: -0.02em; }
.metric-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.metric-note { font-size: 13.5px; color: var(--ink-mute); line-height: 1.45; }

/* Attribution chip. Mandatory on every metric. */
.metric-attr {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.metric-attr::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--ink-dim);
}
.metric-attr[data-attr="virel"] { color: var(--pink-soft); }
.metric-attr[data-attr="virel"]::before { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.metric-attr[data-attr="context"]::before { background: transparent; border: 1px solid var(--ink-dim); }

/* Explains the attribution system wherever metrics appear. */
.attr-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* Shown while no metric is verified yet. Descriptive, never numeric. */
.pending-note {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.015);
}
.pending-note p { font-size: 15px; color: var(--ink-mute); line-height: 1.55; max-width: 62ch; }
.pending-note .tag { margin-bottom: 14px; }

/* ── 13  The system ─────────────────────────────────────────────────────
   Signal, Spread, Scale, Sustain read as one chain, not four departments.
   A connecting rail runs through every stage; hovering one stage lights
   the rail up to that point, so the sequence is legible at a glance. */

.system { position: relative; }
.system-rail {
  position: absolute;
  left: 0; right: 0;
  top: 26px;
  height: 1px;
  background: var(--line);
  display: none;
}
@media (min-width: 960px) { .system-rail { display: block; } }

.system-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 640px) { .system-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .system-grid { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); } }

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  transition: transform var(--dur-base) var(--ease);
}
@media (min-width: 960px) { .stage { padding-top: 54px; } }

/* The node on the rail. */
.stage-node {
  position: absolute;
  top: 20px;
  left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: none;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
@media (min-width: 960px) { .stage-node { display: block; } }
.stage:hover .stage-node,
.stage:focus-within .stage-node {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 16px var(--pink);
}

.stage-num {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--pink-soft);
  margin-bottom: 14px;
}
.stage h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  transition: color var(--dur-base) var(--ease);
}
.stage:hover h3 { color: var(--pink); }
.stage-role {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 10px;
}
.stage p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.5; }
.stage-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-mute);
  transition: color var(--dur-base) var(--ease);
}
.stage-link svg { width: 12px; height: 12px; transition: transform var(--dur-base) var(--ease); }
.stage:hover .stage-link { color: var(--pink); }
.stage:hover .stage-link svg { transform: translate(3px, -3px); }

/* One-line summary of the chain, set as a sentence under the grid. */
.system-summary {
  margin-top: clamp(36px, 4.4vw, 56px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink-mute);
  max-width: 46ch;
}
.system-summary strong { color: var(--ink); font-weight: 700; }

/* ── 14  Operators / credibility ────────────────────────────────────── */

.operators { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .operators { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); } }

.operator-points { border-top: 1px solid var(--line); }
.operator-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--dur-base) var(--ease);
}
.operator-points li:hover { padding-left: 8px; }
.operator-points .op-num {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.operator-points strong { font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; color: var(--ink); }
.operator-points span { display: block; margin-top: 5px; font-size: 15px; color: var(--ink-mute); line-height: 1.5; }

/* ── 15  Poster moments ─────────────────────────────────────────────────
   Full-height typographic sections. One per page at most. */

.poster {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 140px);
}
.poster--centre { text-align: center; justify-content: center; }
.poster--centre .poster-headline { margin-inline: auto; max-width: none; }
.poster--centre .poster-sub { margin-inline: auto; }

.poster-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 12vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  max-width: 12ch;
}
.poster-headline span { color: var(--pink); }
.poster-sub {
  margin-top: clamp(28px, 3.6vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 46ch;
  color: var(--ink-mute);
}
.poster-sub strong { color: var(--ink); font-weight: 700; }
.poster-lines {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--ink-faint);
  line-height: 1.9;
}
.poster-glow {
  position: absolute;
  bottom: -30%; right: -20%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(255, 43, 214, 0.15), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.poster > .container { position: relative; z-index: 2; }

/* ── 16  Beliefs ────────────────────────────────────────────────────── */

.beliefs { border-top: 1px solid var(--line); counter-reset: belief; }
.belief {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: clamp(22px, 3.2vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--dur-base) var(--ease);
}
.belief::before {
  content: counter(belief, decimal-leading-zero);
  counter-increment: belief;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.belief-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
  transition: color var(--dur-base) var(--ease);
}
.belief:hover { padding-left: 10px; }
.belief:hover .belief-text { color: var(--pink); }

/* Compact preview used on the homepage. */
.beliefs--preview .belief { padding-block: clamp(16px, 2vw, 22px); }
.beliefs--preview .belief-text { font-size: clamp(20px, 2.4vw, 32px); }

/* ── 17  Service page systems ───────────────────────────────────────────
   Each service page carries its own structural language so the four never
   read as the same template with different words.
     Signal   : specimen sheet, ruled grid, glyph plates
     Spread   : vertical rails, 9:16 frames, hook lines
     Scale    : test matrix with kill and scale states
     Sustain  : week cycle, repeating loop
   ─────────────────────────────────────────────────────────────────────── */

/* — Signal: type specimen sheet — */
.specimen {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 900px) { .specimen { grid-template-columns: repeat(4, 1fr); } }
.specimen-cell {
  background: var(--bg-elevated);
  padding: clamp(20px, 2.4vw, 30px);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: background var(--dur-base) var(--ease);
}
.specimen-cell:hover { background: var(--bg-raised); }
.specimen-glyph {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.specimen-cell:hover .specimen-glyph { color: var(--pink); }
.specimen-meta {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* Colour system chips. */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 92px;
}
.swatch-chip { height: 56px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.swatch-name {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* Naming routes, set as a ruled list of alternatives. */
.routes { border-top: 1px solid var(--line); }
.routes li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: clamp(15px, 1.8vw, 20px) 0;
  border-bottom: 1px solid var(--line);
}
.routes .route-kind {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--pink-soft);
}
.routes .route-desc { font-size: 15.5px; color: var(--ink-mute); line-height: 1.5; }
.routes .route-desc strong { color: var(--ink); font-weight: 600; }

/* — Spread: vertical rail of 9:16 frames — */
.reel-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.reel-rail > * { scroll-snap-align: start; }
.reel-rail::-webkit-scrollbar { height: 6px; }
.reel-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
@media (min-width: 900px) {
  .reel-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  /* Editorial offset: alternate frames drop, so the row reads as a feed. */
  .reel-rail > *:nth-child(even) { margin-top: 32px; }
}

.reel-frame { position: relative; }
.reel-frame .plate { border-radius: var(--r-md); }
.reel-hook {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.reel-kind {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* Hook list: the line, then what it is doing. */
.hooks { border-top: 1px solid var(--line); }
.hooks li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: clamp(16px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .hooks li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: baseline; } }
.hook-line {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}
.hook-why { font-size: 14.5px; color: var(--ink-mute); line-height: 1.5; }
.hooks li:hover .hook-line { color: var(--pink); }

/* — Scale: creative test matrix — */
.matrix {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 780px) { .matrix { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .matrix { grid-template-columns: repeat(4, 1fr); } }

.variant {
  background: var(--bg-elevated);
  padding: clamp(18px, 2vw, 24px);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--dur-base) var(--ease);
}
.variant:hover { background: var(--bg-raised); }
.variant-id {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.variant-hook { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; flex: 1; }

/* State is carried by a word plus a shape, never colour alone. */
.variant-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.variant-state::before {
  content: "";
  width: 8px; height: 8px;
  flex-shrink: 0;
  border: 1px solid var(--ink-dim);
}
.variant-state[data-state="scaled"] { color: var(--pink-soft); }
.variant-state[data-state="scaled"]::before {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  border-radius: 50%;
}
.variant-state[data-state="killed"] { color: var(--ink-dim); }
.variant-state[data-state="killed"]::before {
  background: transparent;
  border-color: var(--ink-dim);
  transform: rotate(45deg);
}
.variant[data-state="killed"] .variant-hook { color: var(--ink-dim); text-decoration: line-through; text-decoration-color: var(--ink-dim); }

.matrix-key {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* Iteration ladder. */
.ladder { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.ladder li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: clamp(15px, 1.8vw, 21px) 0;
  border-bottom: 1px solid var(--line);
}
.ladder-week {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--pink-soft);
}
.ladder-what { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--ink-mute); line-height: 1.5; }
.ladder-what strong { color: var(--ink); font-weight: 600; }

/* — Sustain: the week cycle — */
.cycle {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 720px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cycle { grid-template-columns: repeat(5, 1fr); gap: 12px; } }

.cycle-step {
  position: relative;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 172px;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.cycle-step:hover { border-color: var(--line-pink); transform: translateY(-3px); }
.cycle-day {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--pink-soft);
}
.cycle-step h3 { font-size: 19px; letter-spacing: -0.025em; }
.cycle-step p { font-size: 14px; color: var(--ink-mute); line-height: 1.5; }

/* Arrow between steps on wide screens, closing back into a loop. */
@media (min-width: 1024px) {
  .cycle-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    width: 12px;
    height: 1px;
    background: var(--line-strong);
  }
}
.cycle-loop {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-mute);
}
.cycle-loop::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--pink);
}

/* Callout used across service pages. */
.callout {
  padding: clamp(32px, 5vw, 60px) clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line-pink);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 43, 214, 0.07), transparent 65%), var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.callout-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.032em;
  max-width: 22ch;
}
.callout-quote span { color: var(--pink); }

/* ── 18  Pricing ────────────────────────────────────────────────────────
   Comparable, not competitive. The recommended tier is marked once and
   every other tier keeps full contrast, so nothing reads as deliberately
   weakened. Commitment terms sit in a shared row so they line up. */

.price-group { margin-top: clamp(40px, 5vw, 64px); }
.price-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-group-head h2 { font-size: clamp(22px, 2.4vw, 30px); }
.price-group-note {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.pricing-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 720px)  { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative;
  padding: 30px 28px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.price-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.price-card.featured { border-color: var(--line-pink); }

.price-flag {
  position: absolute;
  top: -1px; right: 22px;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: var(--pink);
  color: #0A0A0B;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-stage {
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--pink-soft);
  margin-bottom: 18px;
}
.price-name { font-family: var(--font-display); font-size: 25px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.price-price {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.price-price small { font-size: 13.5px; font-weight: 500; color: var(--ink-mute); margin-left: 6px; letter-spacing: 0; font-family: var(--font); }
.price-for {
  font-size: 14.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-bottom: 22px;
  min-height: 44px;
}
.price-for strong { color: var(--ink); font-weight: 600; }

.price-includes {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}
.price-includes li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.price-includes li::before {
  content: "";
  width: 13px; height: 13px;
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23FF2BD6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 11 8 15 16 5'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Commitment terms. Same row in every card so they compare cleanly. */
.price-terms {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.price-term {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--ink-mute);
}
.price-term dt { color: var(--ink-faint); }
.price-cta { width: 100%; }

/* Costs that sit outside the fee. */
.cost-notes { border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.cost-notes li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .cost-notes li { grid-template-columns: 220px 1fr; gap: 28px; align-items: baseline; } }
.cost-notes dt, .cost-notes .cost-name {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--pink-soft);
}
.cost-notes .cost-desc { font-size: 15.5px; color: var(--ink-mute); line-height: 1.5; }

/* ── 19  Form ───────────────────────────────────────────────────────── */

.form-wrap { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .form-wrap { grid-template-columns: 1fr 1fr; }
  .form-wrap .full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.field label .opt { color: var(--ink-dim); text-transform: none; letter-spacing: 0; font-size: 10px; }
.field input, .field textarea, .field select {
  font: inherit;
  width: 100%;
  min-height: 52px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(255, 43, 214, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }

/* Invalid state carries an icon and a message, never colour alone. */
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: var(--pink); }
.field-error {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--pink-soft);
}
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.field[data-invalid="true"] .field-error { display: flex; }

.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-faint); }
.form-status { font-size: 14.5px; margin-top: 10px; min-height: 22px; line-height: 1.5; }
.form-status[data-state="ok"]  { color: var(--ok); }
.form-status[data-state="err"] { color: var(--pink-soft); }

/* ── 20  Footer ─────────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 9vw, 128px) var(--gutter) 36px;
  position: relative;
}
.foot-cta {
  max-width: var(--container);
  margin: 0 auto clamp(56px, 8vw, 104px);
  text-align: center;
  position: relative;
  z-index: 2;
}
.foot-cta-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 10vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.foot-cta-line span { color: var(--pink); }
.foot-cta-sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ink-mute);
  max-width: 34ch;
  margin: 0 auto clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.foot-cta-sub span { color: var(--ink); }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.foot-divider { max-width: var(--container); margin: 0 auto; height: 1px; background: var(--line); }

.foot-inner {
  max-width: var(--container);
  margin: clamp(48px, 6vw, 72px) auto 0;
  display: grid;
  gap: clamp(36px, 4.4vw, 64px);
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) { .foot-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }

.foot-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 176px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  display: inline-flex;
  align-items: baseline;
}
.foot-wordmark::after {
  content: "";
  width: clamp(9px, 1.4vw, 18px);
  height: clamp(9px, 1.4vw, 18px);
  background: var(--pink);
  border-radius: 50%;
  margin-left: clamp(5px, 0.7vw, 11px);
  box-shadow: 0 0 22px var(--pink);
  flex-shrink: 0;
}
.foot-tag {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  color: var(--ink-mute);
  margin-top: 14px;
  letter-spacing: -0.025em;
}
.foot-blurb {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.32;
  margin-top: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  max-width: 28ch;
  color: var(--ink);
}
.foot-blurb span { color: var(--pink); }
.foot-quote {
  margin-top: clamp(18px, 2.2vw, 26px);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-faint);
}
.foot-quote span { color: var(--pink); }
.foot-email {
  display: inline-block;
  margin-top: clamp(22px, 2.6vw, 30px);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.foot-email:hover { color: var(--pink); border-color: var(--pink); }

.foot-nav { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-nav h2 {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.foot-nav ul { display: grid; gap: 11px; }
.foot-nav a { font-size: 15px; color: var(--ink-mute); transition: color var(--dur-fast) var(--ease); }
.foot-nav a:hover { color: var(--pink); }

.foot-meta {
  max-width: var(--container);
  margin: clamp(52px, 6vw, 80px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-faint);
  position: relative;
  z-index: 2;
}

/* ── 21  Reveal + motion ────────────────────────────────────────────────
   Reveals are additive only. Content is fully visible with no JS: the
   .reveal class is applied by script.js, never in the HTML. */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 490ms; }
.reveal-stagger.in > *:nth-child(n+9) { transition-delay: 560ms; }

/* Marquee. Used once, on the Spread page, where a loop is the point. */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; }
.marquee-track {
  display: flex;
  gap: clamp(48px, 7vw, 110px);
  width: max-content;
  animation: marquee 46s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-item span { color: var(--pink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── 22  Responsive + reduced motion ────────────────────────────────── */

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 10px; }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease), visibility var(--dur-base);
  }
  .nav-links[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 16px var(--gutter);
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    min-height: 56px;
    align-items: center;
  }
  .nav-link[aria-current]::after { left: var(--gutter); right: auto; width: 22px; bottom: 12px; }
  .nav-link .chev { display: none; }

  /* Flyout becomes a static indented list. Nothing to open or close. */
  .nav-flyout {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .nav-flyout a { padding: 14px var(--gutter) 14px calc(var(--gutter) + 14px); border-radius: 0; min-height: 52px; align-items: center; }
  .nav-flyout .fly-desc { display: none; }
  .nav-flyout .fly-all { border-top: 1px solid var(--line); margin-top: 0; padding-top: 14px; }

  /* Mobile CTA lives inside the panel so it is always reachable. */
  .nav-cta-mobile { display: block; padding: 22px var(--gutter) 0; }
  .nav-cta-mobile .btn { width: 100%; }

  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

@media (min-width: 881px) { .nav-cta-mobile { display: none; } }

/* Body scroll lock while the mobile panel is open. Uses a class rather
   than inline styles so nothing is left behind on resize. */
body.nav-open { overflow: hidden; }

@media (max-width: 600px) {
  .hero-lead { max-width: none; }
  .work-numeral { font-size: clamp(56px, 16vw, 84px); top: -0.3em; }
  .case-facts { border-radius: var(--r-sm); }
  .btn { width: 100%; }
  .hero-actions .btn, .foot-cta-actions .btn, .form-actions .btn { width: 100%; }
  .form-actions { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 160ms !important;
    transition-property: opacity, background-color, border-color, color, outline-color !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   23  Additions
   Rules for markup introduced after the core system above.
   ══════════════════════════════════════════════════════════════════════ */

/* Hero heading. The h1 carries both the wordmark and the tagline so the
   page has one meaningful heading rather than a one-word one. */
.hero-heading { margin: 0; font-size: inherit; letter-spacing: normal; line-height: 1; }

/* Footer nav: three columns, dropping to two then one. */
.foot-nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.nav-flyout ul { display: grid; gap: 1px; }

/* Four-up pricing row. Two across on tablet, four only when there is
   genuinely room to compare them side by side. */
@media (min-width: 1180px) { .pricing-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Attribution chips beyond the two defined in section 12. */
.metric-attr[data-attr="before"]::before { background: var(--ink-mute); }
.metric-attr[data-attr="campaign"] { color: var(--pink-soft); }
.metric-attr[data-attr="campaign"]::before { background: transparent; border: 1px solid var(--pink); box-shadow: none; }

/* Third variant state. Shape differs from scaled and killed, so the state
   is readable without relying on colour. */
.variant-state[data-state="testing"] { color: var(--ink-mute); }
.variant-state[data-state="testing"]::before {
  background: transparent;
  border-color: var(--ink-mute);
  border-radius: 50%;
}

/* Case chapters set their body to full width when they contain a grid. */
.case-body .creative-grid, .case-body .metrics { max-width: none; }
