/* ==========================================================================
   Pyjamas Studio — AI-powered creative marketing studio
   Palette (exact):
     #050607 near-black  — page background
     #153019 dark green  — cards, panels, dividers, section separation
     #A6FF1A acid green  — single accent (primary buttons, active states, marks, hairlines)
     #5FD34A green       — hover / secondary accent states only
     #F0FFE3 bone        — all typography
   ========================================================================== */

/* Fonts, self-hosted (variable files from Google Fonts, latin + latin-ext). The browser
   only downloads a latin-ext file when a page uses one of its characters. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("../assets/fonts/instrument-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("../assets/fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #050607;
  --panel: #153019;
  --accent: #A6FF1A;
  --accent-hover: #5FD34A;
  --ink: #F0FFE3;

  --ink-80: rgba(240, 255, 227, .8);
  --ink-65: rgba(240, 255, 227, .65);
  --ink-45: rgba(240, 255, 227, .45);
  --ink-30: rgba(240, 255, 227, .3);
  --ink-14: rgba(240, 255, 227, .14);
  --panel-15: rgba(21, 48, 25, .15);
  --panel-40: rgba(21, 48, 25, .4);
  --panel-70: rgba(21, 48, 25, .7);
  --accent-08: rgba(166, 255, 26, .08);
  --accent-30: rgba(166, 255, 26, .3);
  --bg-60: rgba(5, 6, 7, .6);
  --bg-85: rgba(5, 6, 7, .85);

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden]:not([data-back]) { display: none !important; }
html.is-locked, html.is-locked body { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -10%; z-index: 9000; pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(3rem, 7vw, 7.2rem); letter-spacing: -.035em; }
.display--l  { font-size: clamp(2.4rem, 5.6vw, 5.4rem); letter-spacing: -.03em; }
.display--m  { font-size: clamp(1.9rem, 3.8vw, 3.5rem); }
.display--s  { font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -.015em; }
.display__line { display: block; }
.display .arrow { color: var(--accent); font-weight: 500; font-stretch: 100%; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.45;
  color: var(--ink-80);
  max-width: 34ch;
  text-wrap: pretty;
}
/* section labels: about 14px on phones to 16-17px on desktop; the dot and gap scale with the text */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: clamp(.85rem, .7rem + .35vw, 1.05rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-65);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); }

.section__note {
  font-size: .95rem; color: var(--ink-65); max-width: 46ch; text-wrap: pretty;
}
/* "Hover or tap … Click to switch.": an instruction, so it reads as one: larger and white, in a
   compact version of the accent-edged panel the cards use for their answer */
.section__note--hint {
  max-width: 50ch; padding: .45em .8em;
  background: var(--accent-08); border-left: 2px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem); line-height: 1.4; color: var(--ink);
}
.section__copy {
  font-size: clamp(1rem, 1.05vw, 1.08rem); color: var(--ink-80); max-width: 42ch; text-wrap: pretty;
}
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end;
}
/* the copy's longest line ends level with the right edge of the full-width block below
   (25.9em is just wider than that line, so the lines break where they did before) */
.section__head--split .section__copy { justify-self: end; max-width: 25.9em; }
/* heading level with the top of the copy beside it, not its last line; the eyebrow is
   block-level so its line box doesn't push it below that top */
.section__head--top { align-items: start; }
.section__head--top .eyebrow { display: flex; }
/* over a .rows list: the same two columns as the rows, so the copy lines up with theirs */
.section__head--rows { grid-template-columns: 1fr 1fr; gap: 2rem; }
.section__head--rows .section__copy { font-size: clamp(1rem, 1.1vw, 1.1rem); max-width: 40ch; }

/* placeholder chip: visibly a placeholder, never mistaken for content */
.ph {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-stretch: 100%;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-80);
  padding: .5em .8em;
  border: 1px dashed rgba(166, 255, 26, .55);
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
}
.ph--muted { color: var(--ink-45); border-color: var(--ink-30); }

/* real wordmark, once a studio name replaces the placeholder chip */
.wordmark__name {
  font-family: var(--font-display); font-weight: 700; font-stretch: 100%;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); line-height: 1; white-space: nowrap;
}
.footer .wordmark__name { font-size: .76rem; color: var(--ink-80); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body); font-weight: 600; font-size: .8125rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 1.1em 1.8em; border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap; line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary.is-hover { background: var(--accent-hover); }
/* "Start a project" buttons (every one opens the form): on hover the fill pulses
   between the accent and its hover green. Colour only; size and shape stay put. */
@keyframes cta-pulse {
  0%, 100% { background-color: var(--accent); }
  50%      { background-color: var(--accent-hover); }
}
@media (hover: hover) {
  .btn--primary[data-open-form].is-hover, .btn--primary[data-start].is-hover { animation: cta-pulse 1.4s ease-in-out infinite; }
}
.btn--ghost { color: var(--ink); border-color: var(--ink-30); }
.btn--ghost.is-hover { border-color: var(--accent-hover); }
.btn--sm { padding: .85em 1.35em; font-size: .72rem; }
.btn--lg { padding: 1.3em 2.3em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--bg-60);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--panel);
}
.nav.is-hidden { transform: translateY(-100%); }
.wordmark { text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; }
.wordmark__mark { flex: none; width: 32px; height: 32px; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__link {
  position: relative; text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-80); padding: 6px 0;
  white-space: nowrap;
}
/* small laptops / tablets: four links + the button only fit on one line if tightened */
@media (min-width: 821px) and (max-width: 1000px) {
  .nav__links { gap: 14px; }
  .nav__link { letter-spacing: .07em; }
  .nav .btn--sm { padding-left: 1.1em; padding-right: 1.1em; }
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent-hover); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link.is-hover { color: var(--ink); }
.nav__link.is-hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
/* One scroll timeline for the title, the three idea lines and the clip (updateHero in
   main.js), the same whether the clip scrubs or loops: 2.1 screens of travel on desktop. */
.hero { position: relative; height: 310vh; background: var(--bg); }
/* a size container, so the idea lines can be measured against the clip's cover crop */
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  container-type: size;
  background: var(--bg);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background: var(--bg);
}
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, .55) 0%, rgba(5, 6, 7, .05) 35%, rgba(5, 6, 7, .1) 60%, rgba(5, 6, 7, .8) 100%);
  opacity: var(--hero-veil, 1);
}
.hero__content {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: clamp(56px, 10vh, 112px);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.4rem, 3vh, 2.4rem);
  opacity: var(--hero-fade, 1);
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: opacity, transform;
  pointer-events: var(--hero-pe, auto);
}
.hero__title { max-width: none; }
.hero__lead { max-width: 36ch; }
/* centred across the screen, under the scroll hint's spot (the hint is gone by the time it shows) */
.hero__caption {
  position: absolute; left: 50%; bottom: clamp(28px, 5vh, 48px);
  display: inline-flex; align-items: center; gap: clamp(16px, 1.4vw, 22px);
  font-size: clamp(.82rem, 1.35vw, 1.2rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-80);
  padding: clamp(14px, 1.2vw, 18px) clamp(22px, 2.1vw, 32px); border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--bg-60); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: var(--hero-cap, 0);
  transform: translate3d(-50%, calc((1 - var(--hero-cap, 0)) * 10px), 0);
  white-space: nowrap;
  transition: opacity .3s linear;
}
.hero__caption .arrow { color: var(--accent); }
.hero__hint {
  position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px;
  background: var(--ink-14); transform: translateX(-50%);
  opacity: var(--hero-hint, 1); transition: opacity .3s;
}
.hero__hint span {
  position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); animation: hint-drop 2.2s var(--ease-io) infinite;
}
@keyframes hint-drop {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(52px); opacity: 0; }
}

/* The idea's three lines, over the clip. Each comes in on its own share of the scroll:
   "One product." rises from below, the other two slide in from the left (--in, 0 to 1,
   set per line from main.js). A line stays lit once in; the dot sits on the newest one.
   They sit left of the bottle: its left edge is about 9% of the clip's width left of the
   centre, and the clip covers the screen, so the block ends 1.5% short of that edge and
   the type is as large as fits "More creative." (dot included) on one line. */
.hero__lines {
  --bottle-left: calc(50cqw - .09 * max(100cqw, 177.78cqh));
  position: absolute; left: var(--gutter); top: 50%;
  width: calc(var(--bottle-left) - var(--gutter) - 1.5cqw);
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .12em;
  container-type: inline-size;
  pointer-events: none;
}
.hero__line {
  display: flex; align-items: center; gap: .25em;
  font-size: min(7.2rem, 9.9cqi);
  color: var(--ink);
  opacity: var(--in, 0);
  transform: translate3d(calc((1 - var(--in, 0)) * var(--from-x, 0px)), calc((1 - var(--in, 0)) * var(--from-y, 56px)), 0);
  will-change: opacity, transform;
}
.hero__line--side { --from-x: -120px; --from-y: 0px; }
.hero__line::before {
  content: ""; flex: none; width: .18em; height: .18em; border-radius: 50%;
  background: var(--accent); opacity: 0; transform: scale(.4);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.hero__line.is-on::before { opacity: 1; transform: scale(1); }
/* only on tall screens (below), where the lines sit over the top of the clip */
.hero__scrim { display: none; }
/* Tall screens (phones, portrait tablets) have no room beside the bottle, so the lines
   run the full width, centred top to bottom over the bottle, on a dark band across the
   middle that comes in with them. */
@media (max-aspect-ratio: 6/5) {
  .hero__lines { right: var(--gutter); width: auto; }
  .hero__scrim {
    display: block; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 7, 0) 22%, rgba(5, 6, 7, .72) 38%, rgba(5, 6, 7, .72) 62%, rgba(5, 6, 7, 0) 78%);
    opacity: var(--hero-scrim, 0);
    pointer-events: none;
  }
}

/* ---------- the idea ---------- */
/* after the hero: the line and button, centred on black, revealed on scroll ([data-reveal]) */
.idea {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(96px, 16vh, 180px) var(--gutter);
  text-align: center;
}
.idea__copy {
  max-width: 28ch;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.idea__cta { margin-top: clamp(1.8rem, 4vh, 2.8rem); }

/* ---------- the work ---------- */
.work { position: relative; background: var(--bg); }
.work__film {
  position: relative; height: 82vh; min-height: 460px; overflow: hidden;
  background: var(--bg);
}
/* The footage carries a hard bright rail across 78% of its height in every
   frame. Over-sizing the video and anchoring it to the top keeps that band
   below the clip at any viewport width; 132% is the least that clears it. */
.work__video {
  position: absolute; top: 0; left: 0; right: 0; height: 132%;
  width: 100%; object-fit: cover; object-position: center top;
}
.work__film-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}
/* A lit panel sweeps behind this text once per loop; the halo keeps the words
   legible without darkening the clip the way a heavier veil would. */
.work__film-head {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 80px);
  text-shadow: 0 2px 28px rgba(5, 6, 7, .8);
}
.work__intro {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
  padding: 8px var(--gutter) 40px;
}
.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  --grid-gap: clamp(12px, 1.6vw, 24px);
  gap: var(--grid-gap);
  padding: 0 var(--gutter) clamp(24px, 3vw, 40px);
}
.card { grid-column: span 4; min-width: 0; }
.card--wide { grid-column: span 8; }
.card--note { grid-column: span 4; }
.card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--radius); background: var(--panel);
  padding: 0; isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.card--wide .card__media { aspect-ratio: 16 / 10; }
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: opacity .55s var(--ease), transform 1.4s var(--ease);
  will-change: transform;
}
.card__img--raw { opacity: 0; }
.card.is-raw .card__img--raw { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .card__media.is-hover .card__img { transform: scale(1.035); }
  /* Hover previews the raw asset only until the card is clicked (.is-set, see main.js). */
  .card:not(.is-set) .card__media.is-hover .card__img--raw { opacity: 1; }
  .card:not(.is-set) .card__media.is-hover .card__state b { display: none; }
  .card:not(.is-set) .card__media.is-hover .card__state i { display: inline; }
}
.card__state {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding: 8px 12px; border-radius: 999px;
  background: var(--bg-60); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card__state i { display: none; font-style: normal; }
.card.is-raw .card__state b { display: none; }
.card.is-raw .card__state i { display: inline; }
.card__meta {
  display: flex; align-items: baseline; gap: 1.1rem; padding: 14px 2px 0;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45);
}
.card__num { color: var(--accent); }
.card__title { color: var(--ink-80); }
.card__style { margin-left: auto; text-align: right; }
/* third-party product credit under a card's meta row */
.card__credit { margin: 8px 2px 0; font-size: .78rem; line-height: 1.4; color: var(--ink-45); }
.card--note .card__panel {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; padding: clamp(20px, 2vw, 32px); border-radius: var(--radius);
  background: var(--panel); color: var(--ink);
}
.card--note .card__panel p { font-size: clamp(1rem, 1.1vw, 1.1rem); line-height: 1.4; max-width: 24ch; text-wrap: pretty; color: var(--ink-80); }
.card--note .card__panel .mark { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
/* Intro to the examples: one large statement, a quieter line under it, then the assets
   promise under a hairline, its second half in the accent. No card: nothing here is elevated. */
.work__lede { padding: 8px var(--gutter) clamp(40px, 5vw, 64px); }
.work__lede-main {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 500; line-height: 1.12; letter-spacing: -.015em;
  color: var(--ink); max-width: 30ch; text-wrap: balance;
}
.work__lede-sub { margin-top: .9rem; font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--ink-65); }
.work__promise {
  margin-top: clamp(28px, 3.5vw, 44px); padding-top: clamp(16px, 1.6vw, 22px);
  border-top: 1px solid var(--ink-14);
  font-size: clamp(1rem, 1.1vw, 1.1rem); line-height: 1.45; color: var(--ink-80); text-wrap: pretty;
}
.work__promise-accent { color: var(--accent); }

/* Video ads: same cards, but the final ad is a 9:16 clip and the raw state stacks
   the product photos. The clip plays muted while on screen (main.js). */
/* Segment heads (Video ads, Image ads): a head that follows a grid gets extra room above. */
.work__intro--sub .eyebrow { margin-bottom: 0; }
/* the hint panel starts level with the group heading beside it */
.work__intro--sub { align-items: flex-start; }
.work__video-head .eyebrow { display: flex; } /* block-level, so no line box pushes it below the panel's top */
.grid + .work__intro--sub { padding-top: clamp(48px, 7vw, 104px); }
/* quality disclaimer at the top of the Video ads text card, under its mark */
.card--note-video .card__panel .work__disclaimer { margin-top: 1rem; font-size: .85rem; line-height: 1.45; color: var(--ink-65); max-width: 34ch; }
.card__frame { position: relative; }
.card--video .card__media { aspect-ratio: 9 / 16; }
/* On video cards the label sits top-left, level with the speaker button: the bottom edge
   is the scrub bar's, and the label never covers the small raw-photo tiles. */
.card--video .card__state { top: 17px; bottom: auto; }
.card__raw-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--bg); }
.card__raw-stack img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
/* Many raw photos: the first as a 9:10 hero across the top, the rest as a 3 × 2 grid of
   (near-)square tiles below. 10 + 3 + 3 rows of a 9-wide card make up its 16 height. */
.card__raw-stack--mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: 10fr 3fr 3fr; }
.card__raw-stack--mosaic img:first-child { grid-column: 1 / -1; }
.card__sound {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink); background: var(--bg-60); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .3s var(--ease), background-color .2s;
}
.card__sound.is-hover { background: var(--bg-85); }
.card__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__sound-on, .card__sound[aria-pressed="true"] .card__sound-off { display: none; }
.card__sound[aria-pressed="true"] .card__sound-on { display: block; }
/* Scrub bar: a native range (keyboard and screen readers work), drawn as a thin track
   whose played part is filled up to --p (set by main.js). */
.card__scrub {
  --p: 0%;
  position: absolute; left: 14px; right: 14px; bottom: 10px; z-index: 3;
  width: auto; height: 22px; margin: 0; padding: 0; background: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  filter: drop-shadow(0 1px 2px rgba(5, 6, 7, .55));
  transition: opacity .3s var(--ease);
}
.card__scrub::-webkit-slider-runnable-track {
  height: 3px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--p), var(--ink-45) var(--p));
}
.card__scrub::-moz-range-track {
  height: 3px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--p), var(--ink-45) var(--p));
}
.card__scrub::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 13px; height: 13px; margin-top: -5px;
  border: 0; border-radius: 50%; background: var(--accent);
  transform: scale(0); transition: transform .2s var(--ease);
}
.card__scrub::-moz-range-thumb {
  width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--accent);
  transform: scale(0); transition: transform .2s var(--ease);
}
.card__scrub.is-hover::-webkit-slider-thumb, .card__scrub:active::-webkit-slider-thumb, .card__scrub:focus-visible::-webkit-slider-thumb { transform: scale(1); }
.card__scrub.is-hover::-moz-range-thumb, .card__scrub:active::-moz-range-thumb, .card__scrub:focus-visible::-moz-range-thumb { transform: scale(1); }
.card__scrub:focus-visible { outline-offset: 2px; }
.card--video.is-raw .card__sound,
.card--video.is-raw .card__scrub { opacity: 0; pointer-events: none; }
/* The note closes the video row. Without container-query support it simply takes the
   third 4-column slot beside the two video cards, at their 9:16 shape. */
.card--note-video { grid-column: span 4; }
.card--note-video .card__panel { aspect-ratio: 9 / 16; }
.card--note-video .card__panel p { font-size: clamp(1.15rem, 1.7vw, 1.6rem); max-width: 26ch; }
/* Whole video on screen: a video card is as wide as its 4-column share of the row, or
   narrower when that would make the 9:16 frame taller than the space under the nav
   (less 48px of breathing room). The row becomes a flex row so the note panel takes
   up whatever width is left and matches the video's height exactly. */
@supports (width: 1cqw) {
  .grid--video {
    display: flex; flex-wrap: wrap; align-items: flex-start; container-type: inline-size;
    --video-col: calc((100cqw - 2 * var(--grid-gap)) / 3);
    --video-fit: calc((100vh - var(--nav-h) - 48px) * 9 / 16);
  }
  .grid--video > .card--video { flex: none; width: min(var(--video-col), var(--video-fit)); }
  .grid--video > .card--note-video { flex: 1 1 0; min-width: min(100%, 200px); }
  .grid--video .card--note-video .card__panel { aspect-ratio: auto; height: calc(min(var(--video-col), var(--video-fit)) * 16 / 9); }
}
@supports (width: 1cqw) and (height: 1svh) {
  .grid--video { --video-fit: calc((100svh - var(--nav-h) - 48px) * 9 / 16); }
}
/* ---------- the cost of advertising ----------
   Problem → answer. The claim carries the argument, the cards carry the detail:
   loud pain, quiet explanation, bright fix, four times over. */
.cost {
  --cost-gap: 1.1rem; /* space between the texts inside a card */
  padding: clamp(40px, 5vw, 56px) var(--gutter) clamp(56px, 7vw, 88px);
  background: var(--bg);
}
/* Desktop: the headline pins in the middle of the screen while its lines land, one
   stop each (js adds .is-pinned and sets --cost-pin-top and the pin's height). The
   cards follow below it and scroll freely, rising under the headline during the pin. */
.cost.is-pinned .cost__head { position: sticky; top: var(--cost-pin-top, 0px); }
.cost__head { margin-bottom: clamp(72px, 9vw, 128px); }
.cost__claim {
  /* sized so each of the three lines holds on one row from tablet up */
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  letter-spacing: -.02em; line-height: 1.08;
}
.cost__line {
  display: block; color: var(--ink);
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.cost__line + .cost__line { margin-top: .22em; }
.cost__line.is-on { opacity: 1; transform: none; }
.cost__hl {
  /* time and money, marked in the accent the way the rest of the page marks a state */
  font-style: normal;
  background: var(--accent); color: var(--bg);
  padding: .04em .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.cost-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  row-gap: clamp(17px, 2.27vw, 34px);
}
/* Cards come in as rows on scroll ([data-reveal="rows"]). Closed, a card shows only its
   number, topic and headline, centred in the card. Opened (hover or click: .is-expanded,
   from js), the headline shrinks up to the top and greys a little, and the explanation
   and the fix fade in below, larger and in white. A card is always sized for its opened
   content, so opening it never moves the page.
   The header is laid out at its opened size and scaled up by 1 / --head-s when closed,
   so it glides between the two without its lines rewrapping; --head-y (js) drops it to
   the middle of the card. */
.cost-card {
  --head-s: .75;
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  gap: clamp(16px, 1.6vw, 22px);
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--panel); border-radius: var(--radius);
  background: var(--panel-40);
}
/* checkered: every other card sits a shade darker so neighbours read apart. The full-width
   Focus card comes first and is always dark; of the four after it (children 2-5), two
   across that is 02 and 03 (children 3 and 4); stacked, 01 and 03 (children 3 and 5)
   so they alternate with the dark Focus card above. */
.cost-card--wide { background: var(--panel-15); }
@media (min-width: 821px) {
  .cost-card:nth-child(3), .cost-card:nth-child(4) { background: var(--panel-15); }
}
@media (max-width: 820px) {
  .cost-card:nth-child(3), .cost-card:nth-child(5) { background: var(--panel-15); }
}
.cost-card::before {
  content: ""; position: absolute; top: -1px;
  left: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) .18s;
}
/* the bar runs halfway along the top as the card comes in, and the rest of the way when
   it opens (hover or click), quicker, in step with the header */
.cost-card.is-in::before { transform: scaleX(.5); }
.cost-card.is-in.is-expanded::before { transform: none; transition-duration: .6s; transition-delay: 0s; }

.cost-card__head {
  display: flex; flex-direction: column; align-items: center;
  gap: calc(var(--cost-gap) * var(--head-s));
  width: calc(100% * var(--head-s)); margin-inline: auto;
  text-align: center;
  transform-origin: 50% 0;
  transform: translate3d(0, var(--head-y, 0px), 0) scale(calc(1 / var(--head-s)));
}
.cost-card.is-expanded .cost-card__head { transform: none; }
/* number and topic: about 15-17px on a closed card, shrinking with the header to
   about 11-13px when it opens, so the headline still leads */
.cost-card__num {
  display: inline-flex; align-items: center; gap: calc(.75rem * var(--head-s));
  font-family: var(--font-display); font-weight: 700;
  font-size: calc(clamp(.95rem, 1vw, 1.05rem) * var(--head-s)); letter-spacing: .14em; color: var(--accent);
}
/* one-word topic beside the number, so the cards echo the time and money of the claim */
.cost-card__tag {
  display: inline-flex; align-items: center; gap: calc(.75rem * var(--head-s));
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; color: var(--ink-65);
}
.cost-card__tag::before { content: ""; width: calc(20px * var(--head-s)); height: 1px; background: var(--ink-30); }
.cost-card__pain {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02;
  font-size: calc(clamp(1.2rem, 1.5vw, 1.35rem) * var(--head-s)); color: var(--ink);
  max-width: 18ch; text-wrap: balance;
}
.cost-card.is-expanded .cost-card__tag { color: var(--ink-45); }
.cost-card.is-expanded .cost-card__pain { color: var(--ink-65); }

.cost-card__body {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--cost-gap);
  opacity: 0; transform: translate3d(0, 12px, 0);
}
.cost-card.is-expanded .cost-card__body { opacity: 1; transform: none; }
.cost-card__copy {
  font-size: clamp(1.02rem, 1.1vw, 1.15rem); line-height: 1.55; font-weight: 440;
  color: var(--ink); max-width: 46ch; text-wrap: pretty;
}
/* the answer sits in its own accent-tinted panel, so a skim of headline then panel
   carries the whole argument */
.cost-card__fix {
  display: block; margin-top: auto; width: 100%;
  padding: clamp(.75rem, 1.1vw, .95rem) clamp(.9rem, 1.3vw, 1.15rem);
  background: var(--accent-08); border-left: 2px solid var(--accent);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem); font-weight: 600; line-height: 1.4;
  color: var(--ink); text-wrap: pretty;
}
.cost-card__fix::before {
  content: "How we benefit you"; display: block; margin-bottom: calc(var(--cost-gap) * .4);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}

/* The whole card is one button (opens and closes it), laid over the text; its label is
   the prompt along the bottom of the closed card. */
.cost-card__toggle {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 1rem clamp(16px, 1.8vw, 24px);
  border-radius: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cost-card__toggle:focus-visible { outline-offset: 3px; }
.cost-card__prompt {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-45);
}
.cost-card__prompt::before {
  content: "+"; display: grid; place-items: center; width: 1.9em; height: 1.9em;
  border: 1px solid var(--ink-30); border-radius: 50%;
  font-size: 1.05em; letter-spacing: 0; line-height: 1; color: var(--accent);
}
.cost-card__prompt--touch { display: none; }
/* the Focus card's prompt, in the hover green */
.cost-card__hover-or { color: var(--accent-hover); }
@media (hover: none), (pointer: coarse) {
  .cost-card__prompt--hover { display: none; }
  .cost-card__prompt--touch { display: inline-flex; }
}
.cost-card.is-expanded .cost-card__prompt { opacity: 0; }

/* Opening: the header glides up and the detail fades in just behind it. Closing: the
   detail fades out first, then the header glides back down. Off until js has placed
   the headers (.is-set), so nothing animates into place on load. */
.cost.is-set .cost-card__head { transition: transform .55s var(--ease) .1s; }
.cost.is-set .cost-card__tag, .cost.is-set .cost-card__pain { transition: color .4s var(--ease); }
.cost.is-set .cost-card__body { transition: opacity .2s var(--ease), transform .3s var(--ease); }
.cost.is-set .cost-card__prompt { transition: opacity .3s var(--ease) .25s; }
.cost.is-set .cost-card.is-expanded .cost-card__head { transition-delay: 0s; }
.cost.is-set .cost-card.is-expanded .cost-card__body { transition: opacity .45s var(--ease) .15s, transform .55s var(--ease) .15s; }
.cost.is-set .cost-card.is-expanded .cost-card__prompt { transition: opacity .15s var(--ease); }

/* the pre-launch card runs the full width, outlined in the accent, so it reads as the closing punch */
.cost-card--wide { grid-column: 1 / -1; }
/* Its outline is drawn like the bars: from the top-left corner, clockwise, halfway round
   as it comes in (along the top and down the right side), and closed when it opens.
   2px wide over the 1px border, the same weight the solid outline had. */
.cost-card--wide::before { display: none; }
.cost-card__trace {
  position: absolute; top: -1px; left: -1px; z-index: 1;
  width: calc(100% + 2px); height: calc(100% + 2px);
  overflow: visible; pointer-events: none;
}
.cost-card__trace rect {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease) .18s;
}
.cost-card.is-in .cost-card__trace rect { stroke-dashoffset: 50; }
.cost-card.is-in.is-expanded .cost-card__trace rect { stroke-dashoffset: 0; transition-duration: .8s; transition-delay: 0s; }
.cost-card--wide .cost-card__pain { max-width: 28ch; font-size: calc(clamp(1.5rem, 2.4vw, 2.1rem) * var(--head-s)); }
/* its copy is the card's only text: set larger, it runs the card's full width */
.cost-card--wide .cost-card__copy {
  max-width: none; text-align: center;
  font-size: clamp(1.04rem, 1.3vw, 1.25rem); line-height: 1.5; font-weight: 450;
}

/* Evolving with AI: a short statement between the Why us headline and the cards. The doubt
   sits quieter; the answer is in full white behind the accent rule (the same mark as the
   cards' "How we benefit you"), so the eye lands on what AI makes possible. */
.evolve { margin-bottom: clamp(56px, 7vw, 96px); max-width: 46rem; }
.evolve__title { margin-bottom: clamp(18px, 2.2vw, 28px); }
.evolve__doubt, .evolve__answer { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; text-wrap: pretty; }
.evolve__doubt { color: var(--ink-80); }
.evolve__answer {
  margin-top: .7em; padding-left: clamp(.9rem, 1.3vw, 1.15rem); border-left: 2px solid var(--accent);
  color: var(--ink); font-weight: 500;
}

/* Others vs us: a three-column comparison, read left to right. The section title fills the
   top-left corner, above the topics. Each row's topic, their side and ours share one baseline,
   so the first lines sit level. Ours runs down a tinted column with the accent rule on its edge
   (the same treatment as the cost cards' "How we benefit you" box): each row paints its share
   of that column with ::after, so the panel is continuous while the cells align to the text.
   Rows come in on scroll ([data-reveal="rows"]). On phones each point becomes its own block:
   topic, then theirs, then ours, each side labelled. */
.versus { margin-top: clamp(72px, 9vw, 128px); }
.versus__table { --vs-pad-y: clamp(22px, 2.4vw, 34px); --vs-pad-x: clamp(18px, 2vw, 32px); }
.versus__row {
  position: relative; isolation: isolate;
  display: grid; align-items: baseline;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr);
}
.versus__row::after {
  content: ""; grid-column: 2; grid-row: 1; align-self: stretch; z-index: -1;
  background: var(--accent-08); border-inline: 2px solid var(--accent);
}
.versus__row + .versus__row::before {
  content: ""; grid-column: 1 / -1; grid-row: 1; align-self: start; height: 1px;
  background: var(--ink-14);
}
.versus__row--head + .versus__row::before { background: var(--ink-30); }
.versus__row > * { grid-row: 1; }
.versus__row--head { align-items: end; }
.versus__title, .versus__topic { grid-column: 1; }
.versus__cell { grid-column: 3; }
.versus__cell--us { grid-column: 2; }
.versus__title { padding: 0 var(--vs-pad-x) clamp(18px, 2vw, 26px) 0; line-height: .95; }
.versus__side {
  padding: clamp(18px, 2vw, 26px) var(--vs-pad-x);
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); color: var(--ink-45);
}
.versus__side:not(.versus__side--us) { grid-column: 3; }
.versus__side--us { grid-column: 2; color: var(--accent); }
.versus__topic {
  padding: var(--vs-pad-y) var(--vs-pad-x) var(--vs-pad-y) 0;
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.15;
  font-size: clamp(1rem, 1.35vw, 1.25rem); color: var(--ink);
}
.versus__cell {
  padding: var(--vs-pad-y) var(--vs-pad-x);
  font-size: clamp(.95rem, 1.05vw, 1.05rem); line-height: 1.55; color: var(--ink-65);
  text-wrap: pretty;
}
.versus__cell--us { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.5; color: var(--ink); }
/* underlined words keep the weight the column had before it went regular; bold words stay bold */
.versus__cell--us > u { font-weight: 500; }
/* In this table, underlined words are shown as a highlight instead: a green band between the
   headline's solid TIME/MONEY marks and a faint marker, with the text staying light. */
.versus__cell u {
  text-decoration: none;
  background: var(--accent-30); color: var(--ink);
  padding: .02em .16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* hover: the row under the pointer lifts out a little, so the pair being read stands forward.
   It uses scale (not transform), so it never fights the row's scroll reveal. It grows from the
   Us column's left edge (0.8 of the 2.9 column shares), so the left accent rule stays in line;
   the Us band is narrowed back by the same factor, so its right rule stays in line too. Both
   rules just lengthen into the rows above and below. */
@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
  .versus__row[data-reveal] {
    --vs-lift: 1.025;
    transform-origin: calc(100% * .8 / 2.9) 50%;
    transition: opacity .9s var(--ease), transform .9s var(--ease), scale .35s var(--ease);
  }
  .versus__row[data-reveal]::after { transform-origin: left center; transition: scale .35s var(--ease); }
  .versus__row[data-reveal].is-hover { z-index: 1; scale: var(--vs-lift); }
  .versus__row[data-reveal].is-hover::after { scale: calc(1 / var(--vs-lift)) 1; }
}
@media (max-width: 820px) {
  .versus__row { display: block; padding: clamp(24px, 6vw, 32px) 0; }
  .versus__row::after, .versus__row + .versus__row::before { content: none; }
  .versus__row + .versus__row { border-top: 1px solid var(--ink-14); }
  .versus__row--head { padding: 0 0 clamp(20px, 5vw, 28px); }
  .versus__row--head + .versus__row { border-top-color: var(--ink-30); }
  .versus__title { padding: 0; }
  .versus__side {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .versus__topic { display: block; padding: 0 0 .9rem; }
  .versus__cell { padding: 0; }
  .versus__cell--us {
    margin-bottom: 1rem; padding: .9rem 1rem 1rem;
    background: var(--accent-08); border-inline: 2px solid var(--accent);
  }
  .versus__cell::before {
    content: "Others"; content: "Others" / "";
    display: block; margin-bottom: .35rem;
    font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
    text-transform: uppercase; letter-spacing: .02em; line-height: 1;
    font-size: .8rem; color: var(--ink-45);
  }
  .versus__cell--us::before { content: "Us"; content: "Us" / ""; color: var(--accent); }
}
@media (min-width: 821px) {
  .cost-card--wide .cost-card__pain { font-size: calc(clamp(1.4rem, 2vw, 1.8rem) * var(--head-s)); }
}

/* ---------- what we create ---------- */
/* the head carries no bottom margin here, so the eyebrow sits 1.4rem above the
   first rule — the same eyebrow-to-content distance as every other section. */
.create {
  padding: clamp(40px, 5vw, 56px) var(--gutter) clamp(32px, 4vw, 53px);
  background: var(--bg);
}
.create .section__head { margin-bottom: 0; }
.rows { border-top: 1px solid var(--panel); }
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--panel);
}
.row__copy { font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--ink-80); max-width: 40ch; text-wrap: pretty; }
/* title with its description beneath on the left; the formats it covers, as chips, on the right */
.row__head .row__copy { margin-top: clamp(.9rem, 1.5vw, 1.35rem); }
.row__types-label {
  display: block; margin-bottom: .7rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 52ch; }
.chips li {
  padding: .45em .95em; border: 1px solid var(--ink-14); border-radius: 999px;
  font-size: clamp(.82rem, .85vw, .88rem); font-weight: 500; line-height: 1.2;
  color: var(--ink-80); white-space: nowrap;
}

/* ---------- how it works ---------- */
/* sized to its content (not a centred full screen) so it follows closely after "What we create" */
.how { position: relative; display: flex; align-items: flex-start; overflow: hidden; background: var(--bg); }
.how__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.how__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, .94) 0%, rgba(5, 6, 7, .82) 45%, rgba(5, 6, 7, .45) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.how__inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start;
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(96px, 12vw, 160px);
}
/* the head's top sits level with the steps' first rule; the eyebrow is block-level so
   its line box doesn't push it below the rule */
.how .section__head { margin-bottom: 0; }
.how .eyebrow { display: flex; }
.steps-list { border-top: 1px solid var(--ink-14); max-width: 720px; }
.step-item {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 1.5rem; row-gap: .5rem;
  padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--ink-14);
}
.step-item__num { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; color: var(--accent); padding-top: .45em; }
.step-item__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1; }
.step-item__copy { grid-column: 2; color: var(--ink-80); font-size: clamp(1rem, 1.05vw, 1.05rem); max-width: 40ch; text-wrap: pretty; }
/* under the steps: what the service covers, and what stays with the client */
.how__note, .siteads__note {
  max-width: 720px; margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(.95rem, 1.05vw, 1.05rem); line-height: 1.5; color: var(--ink-65); text-wrap: pretty;
}
.how__note b { color: var(--ink); font-weight: 600; }

/* ---------- product fidelity ---------- */
.fidelity {
  --fidelity-pad: clamp(96px, 12vw, 160px);
  position: relative;
  padding: var(--fidelity-pad) var(--gutter); background: var(--bg);
  /* Top is trimmed so the gap after the work grid (grid bottom padding + this) is 20% tighter. */
  padding-top: clamp(72px, 9vw, 120px);
}
/* Scroll cue into "Why us": the hero's hint (line + falling dot), centred in the
   space under the comparison. */
.scroll-cue {
  position: absolute; left: 50%; bottom: calc((var(--fidelity-pad) - 56px) / 2);
  width: 1px; height: 56px; background: var(--ink-14); transform: translateX(-50%);
}
.scroll-cue span {
  position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); animation: hint-drop 2.2s var(--ease-io) infinite;
}
.compare {
  position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 84vh;
  overflow: hidden; border-radius: var(--radius); background: var(--panel);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
  --pos: 50;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0);
  will-change: clip-path;
}
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%);
  width: 2px; background: var(--accent); transform: translateX(-50%); pointer-events: none;
}
.compare__grip {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 10px 30px rgba(5, 6, 7, .45);
  transition: transform .3s var(--ease), background-color .25s;
}
.compare__grip::before, .compare__grip::after {
  content: ""; width: 7px; height: 7px; border-top: 2px solid var(--bg); border-left: 2px solid var(--bg);
}
.compare__grip::before { transform: rotate(-45deg); }
.compare__grip::after { transform: rotate(135deg); }
.compare.is-dragging .compare__grip { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.compare:has(.compare__range:focus-visible) .compare__grip { outline: 2px solid var(--ink); outline-offset: 4px; }
.compare__label {
  position: absolute; top: 16px; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  padding: 8px 12px; border-radius: 999px;
  background: var(--bg-60); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; }
.compare__range-label { position: absolute; inset: 0; margin: 0; }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; left: 50%; top: 50%; margin: 0; pointer-events: none; }
.fidelity__hint {
  margin-top: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45);
  transition: opacity .4s;
}
.fidelity__hint.is-hidden { opacity: 0; }

/* ---------- website ads ----------
   The example film (the site captured and cut into ad formats) beside the three
   steps; the steps reuse the How it works list. One column on phones. */
.siteads { padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(96px, 12vw, 160px); background: var(--bg); }
.siteads__title { margin-bottom: clamp(32px, 4vw, 56px); }
.siteads__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.siteads__film {
  margin: 0; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--ink-14); border-radius: var(--radius); background: var(--panel);
}
.siteads__film video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .siteads__grid { grid-template-columns: 1fr; }
}

/* ---------- pricing ----------
   One attribute on the section (data-res) swaps every 1080p price for its 4K
   twin, so the toggle never has to touch individual numbers. */
.pricing {
  /* a shorter top: the gap after "What we create" is two-thirds of what it was */
  padding: clamp(58px, 6.95vw, 99px) var(--gutter) clamp(80px, 10vw, 140px);
  background: var(--bg);
}
.pricing__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(26px, 3vw, 38px);
}
.pricing .eyebrow { margin-bottom: 1rem; }

/* Wider than a phone, the resolution selector floats: it stays under the nav while
   the bar and carousel scroll past, and stops just above "A la carte". The head
   dissolves into the body's grid so the selector's cell can run from the heading
   row down to the end of the carousel; position: sticky keeps it inside that cell,
   so it returns to its place on the way back up. --res-drop / --title-drop (set in
   js) lower both by the same amount, so the selector's top lines up with the
   "Pricing" label and the heading keeps its place. Only
   the selector itself takes clicks; the rest of its cell is empty grid space. */
@media (min-width: 821px) {
  .pricing__body {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
  }
  .pricing__head { display: contents; }
  .pricing__title {
    grid-column: 1; grid-row: 1;
    margin-top: var(--title-drop, 0px); margin-bottom: clamp(26px, 3vw, 38px);
  }
  .pricing__head > .res {
    grid-column: 2; grid-row: 1 / 5; align-self: start;
    position: sticky; top: calc(var(--nav-h) + 20px); z-index: 30;
    margin-top: var(--res-drop, 0px);
  }
  .pricing__body > .res__pitch { grid-column: 1 / -1; grid-row: 2; }
  .pricing__body > .bar        { grid-column: 1 / -1; grid-row: 3; }
  /* the bar is interactive, so it stays out of the selector's column (both sides, to stay centred) */
  .pricing__body > .bar { max-width: min(760px, calc(100% - 2 * (var(--res-w, 0px) + 24px))); }
  .pricing__body > .deck       { grid-column: 1 / -1; grid-row: 4; }
  /* keeps the box legible when a card slides beneath it; unchanged over plain background */
  .pricing__head > .res { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Pricing's selector: label and pill together in one rounded box, so it reads as a control.
   It grows with the screen: compact on small laptops, where it floats beside the price
   bar and the line above it, and full size from about 1300px wide. */
.res {
  --res-type: clamp(.75rem, .45rem + .55vw, .9rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 1vw, 12px);
  padding: clamp(12px, 1.2vw, 16px) clamp(14px, 1.3vw, 18px);
  border: 1px solid var(--ink-14); border-radius: 20px;
  background: var(--panel-70);
}
.res__label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.res .res__label { align-self: stretch; text-align: center; font-size: var(--res-type); color: var(--ink-80); }
/* small helper under the label: plain case and dimmer, so it reads as a hint, not a second label */
.res__hint { display: block; margin-top: .35em; font-size: 1.1em; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink-45); }
.res .res__switch { align-self: center; background: var(--bg-60); border-color: var(--ink-14); }
.res .res__btn { font-size: var(--res-type); padding: .85em 1.6em; }
.res__switch {
  display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--panel); border-radius: 999px; background: var(--panel-40);
}
.res__btn {
  font-family: var(--font-body); font-weight: 600; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--ink-65); padding: .8em 1.5em; border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.res__btn.is-hover { color: var(--ink); }
.res__btn.is-on { background: var(--accent); color: var(--bg); }
.res__pitch {
  margin: 0 0 clamp(13px, 1.75vw, 23px);
  text-align: center;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  color: var(--ink-80);
  text-wrap: pretty;
}
.res__pitch b { color: var(--accent); font-weight: 600; }

/* Price bar — one per resolution. The native range sits invisibly over the drawn
   rail, and its thumb is the same width as the drawn one, so every position below
   (thumb, fill, ticks) uses the same formula as the browser's own thumb travel. */
.bar {
  --thumb: 26px;
  width: 100%; max-width: 760px; /* explicit: as a grid item, auto margins would shrink it */
  margin: 0 auto clamp(12px, 2vw, 24px);
  padding: 46px clamp(20px, 3vw, 32px) 0;
}
.bar__track { position: relative; height: var(--thumb); margin-bottom: 52px; }
.bar__rail {
  position: absolute; top: 50%; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2);
  height: 4px; margin-top: -2px; border-radius: 999px; background: var(--panel);
}
.bar__fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%);
  border-radius: inherit; background: var(--accent);
}
.bar__ticks { position: absolute; inset: 0; pointer-events: none; }
.bar__tick { position: absolute; top: 0; bottom: 0; left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--t)); }
.bar__tick::before {
  content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--ink-30); transition: background-color .25s var(--ease);
}
.bar__tick-label {
  position: absolute; top: calc(100% + 14px); left: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  white-space: nowrap; line-height: 1;
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-45); transition: color .25s var(--ease);
}
.bar__tick-label b { font-weight: 600; letter-spacing: .04em; color: var(--ink-65); transition: color .25s var(--ease); }
.bar__tick.is-lit::before { background: var(--accent); }
.bar__tick.is-lit .bar__tick-label,
.bar__tick.is-lit .bar__tick-label b { color: var(--accent); }
.bar__thumb {
  position: absolute; top: 0; left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p, 0));
  width: var(--thumb); height: var(--thumb); margin-left: calc(var(--thumb) / -2);
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(166, 255, 26, .16);
  pointer-events: none;
}
/* The bubble shifts from left-aligned (first card) to right-aligned (last card) over the
   thumb, so it never reaches past the ends of the bar and widens the page on phones. */
.bar__bubble {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(calc(var(--p, 0) * -100%));
  padding: .5em .8em; border-radius: 999px; background: var(--panel);
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: 1rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
.bar__range {
  position: absolute; inset: -12px 0; width: 100%; height: calc(100% + 24px); margin: 0;
  opacity: 0; cursor: pointer; background: transparent;
  -webkit-appearance: none; appearance: none;
}
.bar__range::-webkit-slider-runnable-track { height: 100%; background: transparent; border: 0; }
.bar__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: 100%; border: 0; background: transparent; cursor: grab; }
.bar__range::-moz-range-track { height: 100%; background: transparent; border: 0; }
.bar__range::-moz-range-thumb { width: var(--thumb); height: 100%; border: 0; border-radius: 0; background: transparent; cursor: grab; }
.bar__range:active::-webkit-slider-thumb { cursor: grabbing; }
.bar__range:active::-moz-range-thumb { cursor: grabbing; }
.bar__range:focus-visible + .bar__thumb { outline: 2px solid var(--accent); outline-offset: 5px; }

/* Bundles carousel. Each plan is a playing card, Jack → Ace, placed on a ring that
   turns on its vertical axis (js sets each card's transform, opacity and stacking).
   The deck runs edge to edge so side cards clip at the screen, not the gutter. The
   card art sits behind the text at low opacity; the radius matches the art's corners. */
.deck {
  --card-w: clamp(220px, 24vw, 330px);
  margin: 0 calc(-1 * var(--gutter));
  padding: 14px 0;
  overflow: hidden;
}
.plans {
  position: relative;
  height: calc(var(--card-w) * 761 / 471);
  perspective: calc(var(--card-w) * 4.5); /* js PERSPECTIVE mirrors the 4.5 */
  perspective-origin: 50% 50%;
  /* grab and drag sideways; vertical swipes still scroll the page on touch */
  cursor: grab; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.plans .plan {
  position: absolute; top: 0; left: 50%;
  width: var(--card-w); margin-left: calc(var(--card-w) / -2);
  will-change: transform, opacity;
  cursor: inherit;
}
.plans.is-dragging { cursor: grabbing; }
.plan {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 1.2rem;
  aspect-ratio: 471 / 761;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--panel); border-radius: 4.25% / 2.63%;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.plan.is-hover { border-color: var(--ink-30); }
.plan:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* the chosen card: green outline, green name and price (King to start) */
.plan.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan__name, .plan .price__val { transition: color .25s var(--ease); }
.plan.is-selected .plan__name,
.plan.is-selected .price__val { color: var(--accent); }
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: center / cover no-repeat;
  opacity: .1;
}
.plan--jack::before  { background-image: url("../assets/img/card-jack.jpg"); }
.plan--queen::before { background-image: url("../assets/img/card-queen.jpg"); }
.plan--king::before  { background-image: url("../assets/img/card-king.jpg"); }
.plan--ace::before   { background-image: url("../assets/img/card-ace.jpg"); background-size: 100% 100%; } /* exact fit: none of its border is trimmed */
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan__name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); color: var(--ink);
}
.plan__flag {
  font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1; color: var(--bg); background: var(--accent);
  padding: .55em .85em; border-radius: 999px; white-space: nowrap;
}
.price { display: flex; align-items: baseline; }
.price__val {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.03em; color: var(--ink);
}
.price--sm .price__val { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
/* currency mark: set small and raised so long 4K prices still fit their cards */
.price__cur { font-size: .5em; letter-spacing: 0; vertical-align: .72em; margin-right: .08em; }

.plan__list {
  display: flex; flex-direction: column; gap: .55rem;
  margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--ink-14);
}
.plan__list li { display: flex; align-items: baseline; gap: .45rem; font-size: clamp(.95rem, 1vw, 1.02rem); color: var(--ink-80); }
.plan__list b { color: var(--ink); font-weight: 600; }
.plan__list span { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
/* "+ Campaign Plan": hover or focus (tap on touch) shows what it means in a small panel above
   the line. The dotted accent underline marks it as explainable. */
.plan__list .plan__tip {
  position: relative;
  font: inherit; letter-spacing: normal; text-transform: none; color: inherit;
  cursor: help; outline: none;
}
.plan__list .plan__tip > b {
  text-decoration: underline dotted var(--accent); text-underline-offset: .28em; text-decoration-thickness: 1px;
}
.plan__list .plan__tip:focus-visible > b { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.plan__list .plan__tip-text {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 2;
  width: max-content; max-width: 16rem;
  padding: .75rem .9rem;
  background: var(--panel); border: 1px solid var(--ink-14); border-radius: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .7);
  font-size: .82rem; font-weight: 400; line-height: 1.45; letter-spacing: normal; text-transform: none;
  color: var(--ink-80);
  opacity: 0; translate: 0 4px; pointer-events: none;
  transition: opacity .2s var(--ease), translate .2s var(--ease);
}
.plan__list .plan__tip:hover > .plan__tip-text,
.plan__list .plan__tip:focus > .plan__tip-text { opacity: 1; translate: 0 0; }

.pricing[data-res="hd"] [data-res-4k],
.pricing[data-res="4k"] [data-res-hd] { display: none; }

.tier {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 1.2rem clamp(2rem, 4vw, 4rem); align-items: start;
  margin-top: clamp(12px, 1.6vw, 24px);
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--panel); border-radius: var(--radius); background: var(--panel-40);
}
.tier__title {
  grid-column: 1;
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); color: var(--ink);
}
.tier__list { grid-column: 2; grid-row: 1 / span 2; width: 100%; }
.tier__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: .9rem 0; border-bottom: 1px solid var(--ink-14);
}
.tier__item:first-child { padding-top: 0; }
.tier__item:last-child { padding-bottom: 0; border-bottom: 0; }
.tier__what { display: flex; align-items: baseline; gap: .5rem; font-size: clamp(1rem, 1.05vw, 1.08rem); color: var(--ink-80); }
.tier__what i { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.tier__note { grid-column: 1; font-size: .85rem; color: var(--ink-45); max-width: 32ch; text-wrap: pretty; }

/* Image ad plans: three small plan cards in the tier's right column, the best-value
   one outlined in the accent the way the bundles mark theirs. */
.img-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.img-plan {
  position: relative;
  display: flex; flex-direction: column; gap: .6rem;
  padding: clamp(16px, 1.6vw, 22px);
  border: 1px solid var(--panel); border-radius: var(--radius); background: var(--bg);
}
.img-plan--best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.img-plan__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
/* the flag sits on the card's top edge, so it never crowds the name */
.img-plan .plan__flag { position: absolute; top: 0; right: 14px; transform: translateY(-50%); }
.img-plan__name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--ink);
}
.img-plan .plan__flag { font-size: .56rem; }
.img-plan .price { gap: .1rem .35rem; flex-wrap: wrap; }
.img-plan .price__val { font-size: clamp(1.5rem, 2vw, 1.9rem); white-space: nowrap; }
.img-plan--best .price__val { color: var(--accent); }
.img-plan__per { font-size: .8rem; color: var(--ink-45); }
.img-plan__what {
  margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--ink-14);
  font-size: .92rem; color: var(--ink-80);
}
.img-plan__what b { color: var(--ink); font-weight: 600; }
/* Copywriting: its text column (title + two paragraphs) is the taller side, so the
   cards span the whole tile height and sit in its vertical centre. */
@media (min-width: 1101px) {
  .tier--centred .tier__list { grid-row: 1 / span 3; align-self: center; }
}
/* narrower screens: stack title, description, then the cards at full width */
@media (max-width: 1100px) {
  .tier--plans { grid-template-columns: 1fr; }
  .tier--plans > * { grid-column: 1; grid-row: auto; }
  .tier--plans .tier__note { order: 1; max-width: 60ch; }
  .tier--plans .img-plans { order: 2; margin-top: .6rem; }
}
@media (max-width: 560px) { .img-plans { grid-template-columns: 1fr; gap: 16px; } }

.pricing__cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }

/* ---------- footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 36px var(--gutter); border-top: 1px solid var(--panel);
  font-size: .78rem; color: var(--ink-45);
}
.footer__note { margin: 0; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   CONTACT — MULTI-STEP FORM
   Accent (#A6FF1A) here only on: active step indicator, primary advance button.
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__bar {
  flex: none; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter); border-bottom: 1px solid var(--panel);
}
.modal__title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-80); }
.modal__close {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); margin-right: -12px; transition: background-color .2s;
}
.modal__close.is-hover { background: var(--panel); }
.modal :focus-visible { outline-color: var(--ink); }
.modal .btn--primary:focus-visible { outline-color: var(--ink); }

.progress { display: flex; align-items: center; gap: 18px; }
.progress__count { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--ink-45); }
.progress__count b { color: var(--ink); font-weight: 700; }
.progress__track { display: flex; gap: 6px; }
.progress__track i { display: block; width: 30px; height: 2px; background: var(--ink-14); transition: background-color .3s; }
.progress__track i.is-done { background: var(--ink-45); }
.progress__track i.is-active { background: var(--accent); }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.steps { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.steps__viewport { flex: 1; position: relative; min-height: 0; }
.step {
  /* the legend is the fieldset's rendered legend: it sits flush on the bar rule
     and ignores padding/margin-top here, so the question is nudged down by its
     own padding-top and that amount is taken back off the step's padding-top,
     leaving the options below at exactly the same place. */
  --q-shift: clamp(10px, 1.5vh, 18px);
  position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(clamp(32px, 7vh, 80px) - var(--q-shift)) var(--gutter) 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate3d(0, 28px, 0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.step.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.step.is-leaving-up { transform: translate3d(0, -28px, 0); }
.step.is-entering-down { transform: translate3d(0, -28px, 0); }
.step__inner { max-width: 1040px; margin: 0 auto; }
.step__q { display: block; max-width: 18ch; color: var(--ink); padding-top: var(--q-shift); margin-bottom: clamp(1.6rem, 4vh, 2.8rem); }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 900px; }
.options--row { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt > span {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 16px 20px;
  border: 1px solid var(--panel); border-radius: var(--radius);
  background: var(--panel-40); color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.25;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.opt > span::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--ink-30); transition: background-color .2s, border-color .2s, transform .3s var(--ease);
}
.opt.is-hover > span { border-color: var(--accent-hover); }
.opt input:checked + span { border-color: var(--ink); background: var(--panel); }
.opt input:checked + span::before { background: var(--ink); border-color: var(--ink); transform: scale(1.15); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.opt--pill > span { min-height: 52px; padding: 12px 20px; border-radius: 999px; }

/* Package step: the bundle options are the pricing cards (copied in by js), four
   across (two on phones), with "Nil" as a pill beneath. The option's own span is
   just a wrapper here; the .plan card inside carries the look, and the checked
   state lights it the way the carousel lights its front card. */
.options--plans { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: none; }
.plan-picks { --pick-w: clamp(150px, 13vw, 184px); display: grid; grid-template-columns: repeat(4, var(--pick-w)); gap: 12px; }
.opt.opt--plan > span {
  display: block; min-height: 0; padding: 0; border: 0; background: none;
  font-size: 1rem; line-height: normal; transition: none;
}
.opt.opt--plan > span::before { content: none; }
.opt--plan input:checked + span { border: 0; background: none; }
.opt--plan input:focus-visible + span { outline: none; }
.opt--plan .plan { padding: 16px; gap: .7rem; }
.opt--plan.is-hover .plan { border-color: var(--ink-30); }
.opt--plan input:focus-visible + span .plan { outline: 2px solid var(--ink); outline-offset: 3px; }
.opt--plan input:checked + span .plan { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.opt--plan input:checked + span .plan__name,
.opt--plan input:checked + span .price__val { color: var(--accent); }
.opt--plan .plan__top { gap: .5rem; }
.opt--plan .plan__name { font-size: 1rem; }
.opt--plan .plan__flag { font-size: .5rem; padding: .5em .7em; }
.opt--plan .price__val { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.opt--plan .plan__list { gap: .35rem; padding-top: .7rem; }
.opt--plan .plan__list li { font-size: .78rem; gap: .35rem; }
.opt--plan .plan__list span { font-size: .56rem; }
/* the form sits outside the pricing section, so it follows the chosen resolution itself */
.plan-picks[data-res="hd"] [data-res-4k],
.plan-picks[data-res="4k"] [data-res-hd] { display: none; }
@media (max-width: 820px) {
  .options--plans { align-items: stretch; }
  .options--plans > .opt--pill { align-self: flex-start; }
  .plan-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Image ad / copywriting options: the same treatment as the bundle picks above,
   but showing the smaller .img-plan cards from the Pricing tiers, three across. */
.options--img-plans { width: 100%; }
.img-plan-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; }
.opt--img-plan .img-plan { border-color: var(--panel); box-shadow: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.opt--img-plan .price__val { color: var(--ink); transition: color .2s var(--ease); }
.opt--img-plan.is-hover .img-plan { border-color: var(--ink-30); }
.opt--img-plan input:focus-visible + span .img-plan { outline: 2px solid var(--ink); outline-offset: 3px; }
.opt--img-plan input:checked + span .img-plan { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.opt--img-plan input:checked + span .img-plan__name,
.opt--img-plan input:checked + span .price__val { color: var(--accent); }
@media (max-width: 560px) { .img-plan-picks { grid-template-columns: 1fr; gap: 10px; } }

.volumes { display: grid; gap: clamp(1.6rem, 4vh, 2.6rem); }
/* "What package are you interested in?": a tighter gap under the question (the step's
   top padding sits below its rendered legend, so both make up the gap) */
.step[data-step="2"] { padding-top: clamp(14px, 3vh, 30px); }
.step[data-step="2"] > .step__q { margin-bottom: clamp(8px, 1.5vh, 16px); }
.volume__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-65); margin-bottom: 12px; }
/* "Bundle plans" with its 1080p/4K switch beside it */
.volume__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.volume__head .volume__label { margin-bottom: 0; }
.res__switch--sm { padding: 3px; }
.res__switch--sm .res__btn { font-size: .64rem; padding: .7em 1.2em; }

/* A La Carte (optional): one row per item with its price and a 0–10 stepper, and a
   running total. A row with a quantity lights up the way a chosen option does. */
.volume__titles { display: flex; flex-direction: column; gap: 4px; }
.volume__sub { font-size: .8rem; color: var(--ink-45); }
.extras { display: grid; gap: 10px; max-width: 640px; }
.extra {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
  padding: 10px 12px 10px 20px;
  border: 1px solid var(--panel); border-radius: var(--radius); background: var(--panel-40);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.extra.is-on { border-color: var(--ink); background: var(--panel); }
.extra__what { display: flex; align-items: baseline; gap: .5rem; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--ink); }
.extra__what i { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.extra__price { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.extra__price small { margin-left: .35em; font-family: var(--font-body); font-weight: 500; font-stretch: 100%; font-size: .75rem; color: var(--ink-45); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink-14); border-radius: 999px; }
.stepper__btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1; color: var(--ink);
  transition: background-color .2s var(--ease), opacity .2s;
}
.stepper__btn.is-hover:not(:disabled) { background: var(--panel); }
.stepper__btn:disabled { opacity: .3; cursor: default; }
.stepper__input {
  width: 2.4em; padding: 0; border: 0; background: transparent; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper__input::-webkit-inner-spin-button,
.stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* estimated total for the whole package step, under all three groups */
.package-total {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.6rem;
  max-width: 640px; margin-top: clamp(1.4rem, 3vh, 2rem); padding-top: 14px;
  border-top: 1px solid var(--ink-14);
  font-size: 1rem; color: var(--ink-65);
}
.package-total__label {
  flex-basis: 100%;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-65);
}
.package-total__row { white-space: nowrap; }
/* monthly + one-off, pushed to the right end of the row */
.package-total__row--sum { margin-left: auto; color: var(--ink); }
.package-total__row--sum b { font-size: 1.45rem; }
.package-total b { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1.2rem; color: var(--accent); }
.package-total small { margin-left: .15em; font-size: .8rem; color: var(--ink-45); }
@media (max-width: 480px) {
  .extra { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 10px 10px 10px 16px; }
  .extra__what { grid-column: 1; }
  .extra__price { grid-column: 1; grid-row: 2; }
  .extra .stepper { grid-column: 2; grid-row: 1 / span 2; }
}

.field { max-width: 900px; }
.field--reveal { margin-top: 16px; }
.field__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-65); margin-bottom: 8px; }
.field__opt { color: var(--ink-30); letter-spacing: .08em; text-transform: none; margin-left: 6px; font-weight: 500; }
.field__input {
  display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink-30);
  border-radius: 0; padding: 12px 0 14px; outline: none;
  font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.3; color: var(--ink);
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: var(--ink-30); }
.field__input:focus { border-bottom-color: var(--ink); }
.field__input:focus-visible { outline: none; }
.field__input--area { resize: none; min-height: 4.2em; line-height: 1.4; }
.field.has-error .field__input { border-bottom-color: var(--ink); }
.field__hint { margin-top: 10px; font-size: .78rem; color: var(--ink-45); }
.field__error {
  margin-top: 10px; font-size: .9rem; color: var(--ink); min-height: 0;
  display: none; align-items: center; gap: 8px;
}
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.field__error.is-visible { display: flex; }
/* "What do you sell?", "What package…" and "What product assets do you have?": their
   prompts sit at the foot of the step, right-aligned just above the nav rule and the
   Continue button. Position only; when they show is unchanged. Sticky keeps them
   above the rule if the options scroll on short screens. */
.step[data-step="1"],
.step[data-step="2"],
.step[data-step="3"] { display: flex; flex-direction: column; }
.step[data-step="1"] > [data-error-for="category"],
.step[data-step="2"] > [data-error-for="package"],
.step[data-step="3"] > [data-error-for="assets"] {
  margin-top: auto; padding-top: 16px; align-self: flex-end;
  position: sticky; bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--bg) 16px);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vh, 2.6rem) 3rem; max-width: 900px; }

.steps__banner {
  margin: 0 var(--gutter); padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--ink-30); background: var(--panel-40); color: var(--ink); font-size: .95rem;
}
.steps__banner[hidden] { display: none; }
.steps__nav {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter); border-top: 1px solid var(--panel); background: var(--bg);
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.steps__nav [data-back][hidden] { visibility: hidden; display: inline-flex; }
.steps__advance { display: flex; align-items: center; gap: 16px; }
.steps__hint { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-30); }

.done {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(1.6rem, 4vh, 2.6rem);
  padding: 0 var(--gutter) 10vh;
}
.done[hidden] { display: none; }
.done__mark { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.done__title { max-width: 14ch; }

/* ==========================================================================
   MOBILE — its own scale, grid and touch behaviour
   ========================================================================== */
@media (max-width: 820px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  /* 12.5vw keeps the longest hero word (MARKETING) inside the side margins on every phone */
  .display--xl { font-size: clamp(2.4rem, 12.5vw, 5.2rem); }
  .display--l  { font-size: clamp(2.3rem, 11.5vw, 4.2rem); }
  .display--m  { font-size: clamp(2rem, 9.8vw, 3.4rem); }
  .display--s  { font-size: clamp(1.45rem, 7vw, 2.2rem); }
  .lead { font-size: 1.05rem; }

  .nav__link { display: none; }
  /* The wordmark and the button share one row: a smaller button (and, on the narrowest
     phones, a tighter wordmark) keeps both on screen with a gap. The ::before widens
     the tap area back to a comfortable size without changing how the button looks. */
  .nav { gap: 12px; }
  .nav .btn--sm { position: relative; font-size: .66rem; letter-spacing: .09em; padding: .8em 1.15em; }
  .nav .btn--sm::before { content: ""; position: absolute; inset: -8px -4px; }
  /* 1.7 screens of travel */
  .hero { height: 270vh; }
  .hero__content { bottom: clamp(88px, 14vh, 120px); gap: 1.3rem; }
  .hero__title { max-width: none; }
  .hero__caption { bottom: 28px; }
  .hero__hint { display: none; }

  .work__film { height: 70vh; min-height: 420px; }
  .work__intro { flex-direction: column; gap: .6rem; padding-bottom: 28px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .card, .card--wide, .card--note { grid-column: span 1; }
  .card--wide .card__media { aspect-ratio: 3 / 2; }
  .card--note .card__panel { aspect-ratio: auto; min-height: 200px; gap: 2rem; }
  .grid--video { --video-col: 100cqw; }
  .grid--video > .card--video { margin-inline: auto; }
  .grid--video > .card--note-video { flex-basis: 100%; }
  .grid--video .card--note-video .card__panel { height: auto; }

  .cost__claim { font-size: clamp(1.5rem, 3.3vw, 2.9rem); }
  .cost-list { grid-template-columns: 1fr; row-gap: 11px; }
  .row { grid-template-columns: 1fr; gap: .8rem; }

  /* the pitch sits tight under the switch here, as though still inside it */
  .pricing__head { align-items: flex-start; gap: 1.6rem; margin-bottom: 4px; }
  .res__pitch { text-align: left; font-size: 1rem; margin-bottom: 15px; }
  .tier { grid-template-columns: 1fr; gap: 1rem; }
  .tier__title, .tier__list, .tier__note { grid-column: 1; grid-row: auto; }
  .pricing__cta .btn { width: 100%; }
  .how { min-height: 0; }
  .how__inner { grid-template-columns: 1fr; gap: 2.4rem; padding: 48px var(--gutter) 96px; }
  .how__veil {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, .96) 0%, rgba(5, 6, 7, .82) 55%, rgba(5, 6, 7, .9) 100%);
  }
  .step-item { grid-template-columns: 44px 1fr; column-gap: 1rem; }

  .section__head--split { grid-template-columns: 1fr; gap: 1.2rem; }
  .section__head--split .section__copy { justify-self: start; max-width: 42ch; }
  .compare { aspect-ratio: 4 / 5; max-height: none; }
  .compare__grip { width: 56px; height: 56px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }

  /* form: full-screen, one question per screen, 16px+ inputs (no iOS zoom) */
  .modal__bar { padding-top: env(safe-area-inset-top); height: calc(var(--nav-h) + env(safe-area-inset-top)); }
  .modal__title { display: none; }
  .progress__track i { width: 22px; }
  .step { padding: calc(28px - var(--q-shift)) var(--gutter) 24px; }
  .options { grid-template-columns: 1fr; gap: 8px; }
  .opt > span { min-height: 58px; padding: 14px 18px; font-size: 1.02rem; }
  .opt--pill > span { min-height: 48px; padding: 11px 18px; font-size: 1rem; }
  .field__input { font-size: 1.25rem; }
  .fields { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps__hint { display: none; }
  .steps__nav { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 389px) {
  .nav .btn--sm { font-size: .6rem; letter-spacing: .06em; padding: .8em .95em; }
  .nav .wordmark__name { letter-spacing: .1em; }
}
@media (max-width: 355px) {
  .nav .btn--sm { font-size: .56rem; padding: .75em .85em; }
  .nav .wordmark__name { font-size: .72rem; letter-spacing: .08em; }
}

/* ==========================================================================
   SHARED ACROSS PAGES — current-page link, phone menu, footer links
   ========================================================================== */
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }
.nav.is-menu-open { background: var(--bg); border-bottom-color: var(--panel); }

/* phone menu: a button at the left of the nav, before the name, opening a full-height
   panel under the nav. It takes over from the nav links below 960px, where the five
   links no longer fit beside the name. */
.nav__menu-btn { display: none; }
.menu { display: none; }
@media (max-width: 960px) {
  .nav__link { display: none; }
  .nav { gap: 12px; }
  .nav .wordmark { margin-right: auto; } /* name beside the menu button, "Start a Project" at the right */
  .nav__menu-btn {
    position: relative; display: grid; place-items: center; flex: none;
    width: 40px; height: 40px; margin-left: -8px; border-radius: 50%;
  }
  .nav__menu-btn::before { content: ""; position: absolute; inset: -4px; }
  .nav__menu-icon, .nav__menu-icon::before {
    display: block; width: 20px; height: 1.5px; background: var(--ink);
    transition: transform .35s var(--ease), background-color .2s;
  }
  .nav__menu-icon { position: relative; transform: translateY(-3.5px); }
  .nav__menu-icon::before { content: ""; position: absolute; left: 0; top: 7px; }
  .nav__menu-btn[aria-expanded="true"] .nav__menu-icon { transform: translateY(0) rotate(45deg); }
  .nav__menu-btn[aria-expanded="true"] .nav__menu-icon::before { transform: translateY(-7px) rotate(-90deg); }
  .nav__links { gap: 10px; }


  .menu {
    display: block; position: fixed; inset: 0; z-index: 99;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 28px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .45s var(--ease);
  }
  .menu[hidden] { display: none; }
  .menu.is-open { opacity: 1; transform: none; }
  .menu__inner { display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
  .menu__list { display: flex; flex-direction: column; }
  .menu__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--panel); text-decoration: none;
    font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
    text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
    font-size: clamp(1.6rem, 8vw, 2.2rem); color: var(--ink);
  }
  .menu__link::after { content: "→"; font-weight: 500; font-stretch: 100%; font-size: .7em; color: var(--ink-30); }
  .menu__link[aria-current="page"] { color: var(--accent); }
  .menu__label {
    font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-45); margin-bottom: 4px;
  }
  .menu__legal { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
  .menu__legal a {
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-65); text-decoration: none;
  }
  .menu__legal a[aria-current="page"] { color: var(--accent); }
}
@media (max-width: 560px) {
  /* the name stacks onto two lines so the button and the menu both fit beside it */
  .nav .wordmark__name { white-space: normal; max-width: 9.6em; line-height: 1.15; }
}
@media (max-width: 355px) {
  .nav__links { gap: 6px; }
}

/* footer: page links and direct contact */
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--ink-65); text-decoration: none; }
.footer__links a.is-hover { color: var(--ink); }
.footer__links a[aria-current="page"] { color: var(--ink); }
.footer__legal {
  flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  padding-top: 20px; border-top: 1px solid var(--panel); color: var(--ink-45);
}
.footer__legal .ph { font-size: .66rem; padding: .35em .6em; }

/* a block of text still to be written: visibly unfinished, never mistaken for content */
.ph-block {
  display: block; padding: .9em 1.1em; border: 1px dashed rgba(166, 255, 26, .55); border-radius: 4px;
  color: var(--ink-65); font-size: .95rem; line-height: 1.5;
}
.ph-block::before {
  content: "TODO:"; display: block; margin-bottom: .35em;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.ph-block p + p, .ph-block p + ul { margin-top: .6em; }
.ph-block ul { list-style: disc; padding-left: 1.2em; }

/* pricing: the pointer to the FAQ under the call to action */
.pricing__faq { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-45); }
.pricing__faq a { color: var(--ink-80); text-underline-offset: 3px; }
.pricing__faq a.is-hover { color: var(--ink); }

/* pricing terms: the renewal terms for every monthly plan, between the copywriting and
   a la carte boxes, and the lines that apply to every package under the last group */
.price-terms { max-width: 120ch; margin: clamp(20px, 2.4vw, 32px) auto 0; text-align: center; font-size: .75rem; line-height: 1.55; color: var(--ink-45); text-wrap: pretty; }
.price-terms p + p { margin-top: .3em; }
.pricing__terms {
  display: flex; flex-direction: column; gap: .4em; max-width: 72ch;
  margin: clamp(28px, 3vw, 40px) auto 0; text-align: center; font-size: .8rem; color: var(--ink-65);
}
/* the form's package step repeats the currency, GST and renewal terms under the total */
.package-terms { max-width: 640px; margin-top: 10px; font-size: .8rem; line-height: 1.5; color: var(--ink-45); text-wrap: pretty; }

/* forms: consent checkboxes, and the contact notice directly above Send */
.consent { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin-top: clamp(1.6rem, 3vh, 2.2rem); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; line-height: 1.45; color: var(--ink-80); cursor: pointer; }
.check input {
  flex: none; width: 18px; height: 18px; margin: .12em 0 0; accent-color: var(--accent); cursor: pointer;
}
.check a { color: var(--ink); text-underline-offset: 3px; }
.consent .field__error { margin: -4px 0 4px 30px; }
.form__legal { margin-top: 1.6rem; font-size: .82rem; color: var(--ink-45); max-width: 60ch; }
.form__legal a { color: var(--ink-65); text-underline-offset: 3px; }
.steps__notice {
  flex: none; padding: 10px var(--gutter); border-top: 1px solid var(--panel);
  font-size: .8rem; line-height: 1.45; color: var(--ink-65); background: var(--bg);
}
.steps__notice[hidden] { display: none; }

/* ==========================================================================
   INNER PAGES — About / FAQ / Contact, and Terms & Privacy
   ========================================================================== */
.page-head {
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 128px)) var(--gutter) clamp(40px, 5vw, 64px);
}
.page-head .display { max-width: 16ch; }
.page-head__lead { margin-top: clamp(1.2rem, 2vw, 1.8rem); font-size: clamp(1rem, 1.15vw, 1.15rem); color: var(--ink-65); max-width: 52ch; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.subnav a {
  padding: .75em 1.2em; border: 1px solid var(--ink-14); border-radius: 999px; text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-80);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.subnav a.is-hover { border-color: var(--accent-hover); color: var(--ink); }
.subnav .subnav__contact { color: var(--accent); }

.page-section {
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  border-top: 1px solid var(--panel);
  scroll-margin-top: var(--nav-h);
}
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.page-section .rows { margin-top: clamp(40px, 5vw, 64px); }

/* About, "A team": the heading block stays pinned on the left while the three points
   scroll past on the right; one column on phones */
.team {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 104px); align-items: start;
}
.team__head {
  position: sticky; top: calc(var(--nav-h) + 32px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
}
.team__head .section__copy { max-width: 40ch; }
.team__points { display: flex; flex-direction: column; gap: clamp(44px, 5.5vw, 79px); }
.team__point {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding-top: clamp(24px, 2.86vw, 35px); border-top: 1px solid var(--panel);
}
.team__copy { font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--ink-80); max-width: 56ch; text-wrap: pretty; }
@media (max-width: 820px) {
  .team { grid-template-columns: 1fr; row-gap: clamp(40px, 8vw, 56px); }
  .team__head { position: static; }
}

/* FAQ: native disclosure rows */
.faq { border-top: 1px solid var(--panel); max-width: 980px; }
/* FAQ groups: the topic heading sits beside its questions (and stays in view while
   they scroll past) on wide screens, and above them on phones. */
.faq-groups { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); max-width: 1180px; }
.faq-group { display: grid; grid-template-columns: minmax(180px, 1fr) 2.8fr; gap: 1rem clamp(32px, 5vw, 80px); align-items: start; }
.faq-group__title {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding-top: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--ink);
}
.faq-group .faq { max-width: none; }
@media (max-width: 820px) {
  .faq-group { grid-template-columns: 1fr; }
  .faq-group__title { position: static; padding-top: 0; }
}
.faq__item { border-bottom: 1px solid var(--panel); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 600; line-height: 1.3; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q.is-hover { color: var(--ink-80); }
.faq__a { padding: 0 0 clamp(22px, 2.6vw, 30px); max-width: 64ch; color: var(--ink-80); font-size: 1rem; line-height: 1.6; }
.faq__a p + p { margin-top: .8em; }
/* footnote at the foot of an answer, for a * in its text */
.faq__a .faq__note { margin-top: 1.2em; font-size: .85rem; line-height: 1.5; color: var(--ink-45); }
.faq__a a { color: var(--ink); text-underline-offset: 3px; }

/* Contact: heading, then the form, then direct details, all at the form's width */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 80px); max-width: 900px; }
.contact__intro { margin-top: 1.4rem; }
.contact__direct { border-top: 1px solid var(--panel); }
.contact__direct li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 16px 0; border-bottom: 1px solid var(--panel);
}
.contact__direct span:first-child { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.contact__start { margin-top: clamp(28px, 3vw, 40px); font-size: .95rem; color: var(--ink-65); }
.contact__start a { color: var(--ink); text-underline-offset: 3px; }
.contact-form .fields { grid-template-columns: 1fr 1fr; }
.contact-form .field--full { grid-column: 1 / -1; }
.contact-form .field__input { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.contact-form__foot .form__legal { margin-top: 0; flex: 1 1 260px; }
.contact-form .steps__banner { margin: 1.4rem 0 0; }
.contact-done { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: clamp(24px, 4vw, 48px) 0; }
.contact-done[hidden] { display: none; }

/* policy pages: title, last-updated and issuer lines, then the text */
.legal__meta { display: flex; flex-direction: column; gap: .5rem; margin-top: clamp(1.2rem, 2vw, 1.8rem); font-size: .9rem; color: var(--ink-65); max-width: 72ch; }
.legal__meta .ph { font-size: .66rem; padding: .35em .6em; white-space: normal; line-height: 1.4; }
.legal__doc { max-width: 72ch; color: var(--ink-80); line-height: 1.65; }
/* contents beside the text on wide screens, above it on phones */
.legal { display: grid; grid-template-columns: minmax(200px, 1fr) 2.6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal > .legal__doc:only-child { grid-column: 1 / -1; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; }
.legal__toc-title { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 14px; }
.legal__toc ol { display: flex; flex-direction: column; gap: 8px; }
.legal__toc a { font-size: .86rem; line-height: 1.35; color: var(--ink-65); text-decoration: none; }
.legal__toc a.is-hover { color: var(--ink); }
.legal__intro { margin-bottom: 1.6rem; }
.legal__intro + .legal__list { margin: -.6rem 0 1.6rem; }
.legal__clause { scroll-margin-top: calc(var(--nav-h) + 16px); padding: 28px 0; border-top: 1px solid var(--panel); }
.legal__clause h2 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: .9rem; }
.legal__clause p + p, .legal__clause p + ul, .legal__clause ul + p { margin-top: .8em; }
.legal__num { font-weight: 600; color: var(--ink); margin-right: .3em; }
.legal__list { display: flex; flex-direction: column; gap: .5em; margin-top: .6em; }
.legal__list li { position: relative; padding-left: 1.3em; }
.legal__list li::before { content: ""; position: absolute; left: .2em; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal__list--lettered li { padding-left: 1.3em; }
.legal__list--lettered li::before { display: none; }
.legal__list b { color: var(--ink); font-weight: 600; }
.legal__doc a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 820px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; padding-bottom: 8px; }
  .legal__toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
}
@media (max-width: 420px) {
  .legal__toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .contact-form .fields { grid-template-columns: 1fr; }
  .contact-form__foot .btn { width: 100%; }
}

/* ---------- large screens (20-inch monitors and up) ----------
   Past 1600px the page sits in a centred column with dark margins either side, so
   lines and media stop running to the screen edges. The "How it works" film becomes
   a rounded panel inside that column. The fixed nav keeps its full-width bar but
   lines its contents up with the column. */
@media (min-width: 1600px) {
  :root {
    --page-max: 1440px; --panel-radius: 16px;
    /* the page's width without the scrollbar (--sbw, set in main.js) */
    --bleed-w: calc(100vw - var(--sbw, 0px));
  }
  main, .footer { max-width: var(--page-max); margin-inline: auto; }
  .nav { padding-inline: calc((100% - var(--page-max)) / 2 + var(--gutter)); }
  .how { border-radius: var(--panel-radius); }
  /* The hero and work films still run edge to edge, out of the column; their text
     stays lined up with the column. */
  .hero__sticky, .work__film { width: var(--bleed-w); margin-left: calc((100% - var(--bleed-w)) / 2); }
  .hero__content, .work__film-head {
    left: calc((100% - var(--page-max)) / 2 + var(--gutter));
    right: calc((100% - var(--page-max)) / 2 + var(--gutter));
  }
  /* The Start a Project form lines up with the same column: its top and bottom bars
     keep their full-width rules, while their contents, the questions and the
     thank-you screen sit inside the column. */
  .modal { --col-inset: calc((100% - var(--page-max)) / 2 + var(--gutter)); }
  .modal__bar, .step, .steps__nav, .steps__notice, .done { padding-inline: var(--col-inset); }
  .steps__banner { margin-inline: var(--col-inset); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .cost__line, [data-reveal] { opacity: 1 !important; transform: none !important; }
  .versus__row { scale: none !important; }
  /* the hero keeps its fades but nothing travels */
  .hero__content { transform: none !important; }
  .hero__line { --from-x: 0px; --from-y: 0px; }
  .cost-card::before { transform: none !important; }
  .cost-card__trace rect { stroke-dashoffset: 0 !important; }
}

