/* Tandemcut marketing site — one stylesheet, no build step.
   Brand system: colors, type, spacing, motif.
   Colors: Ink #141619 · Paper #F4F1EA · Bone #E8E3D8 · Cut Orange #E4572E
           Ember #B8401C · Pine #173F3A · Slate #596068 · White #FFFFFF
   Rules kept here: no gradients, no shadows, no glows. Cut Orange never carries
   small text on light backgrounds (Ember does). White on Orange = large text only. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1 — see /assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #141619;
  --paper: #F4F1EA;
  --bone: #E8E3D8;
  --white: #FFFFFF;
  --orange: #E4572E;
  --ember: #B8401C;
  --pine: #173F3A;
  --slate: #596068;

  --text: var(--ink);
  --muted: var(--slate);
  --link: var(--ember);
  --focus: var(--ember);
  --rule: var(--bone);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: 24px;
  --section: 96px;
  --radius: 12px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --header-h: 68px;
}
@media (max-width: 599px) {
  :root { --gutter: 16px; --section: 64px; }
}

/* Section color contexts */
.on-ink {
  --text: var(--paper);
  --muted: var(--bone);
  --link: var(--orange);
  --focus: var(--orange);
  --rule: rgba(232, 227, 216, 0.22);
  background: var(--ink);
  color: var(--paper);
}
.on-pine {
  --text: var(--white);
  --muted: var(--bone);
  --link: var(--paper);
  --focus: var(--paper);
  --rule: rgba(232, 227, 216, 0.28);
  background: var(--pine);
  color: var(--white);
}
.on-bone { --link: var(--ink); background: var(--bone); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute always wins (booking link, error slots, status notes). */
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  /* Smooth only for in-page jumps (a link has focus). On a fresh load of /how-it-works/#holidays
     the browser jumps straight to the section instead of animating a long scroll, and a paused or
     background tab can't leave the visitor stuck at the top. */
  html:focus-within { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 599px) { body { font-size: 16px; } }

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

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }
.on-bone a:not(.btn), .card-bone a:not(.btn) { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
main:focus { outline: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: inherit;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: 48px; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-weight: 700; font-size: 36px; line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 24px; line-height: 1.25; }
h4 { font-weight: 700; font-size: 19px; line-height: 1.3; }
.display {
  font-weight: 800;
  font-size: clamp(40px, 5.4vw + 6px, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
@media (max-width: 599px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

p { margin: 0 0 16px; max-width: 68ch; }
ul, ol { margin: 0 0 16px; padding-left: 1.25em; }
li { margin-bottom: 8px; max-width: 68ch; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }
.lead { font-size: 20px; line-height: 1.5; }
@media (max-width: 599px) { .lead { font-size: 18px; } }
.small, .fineprint { font-size: 14px; line-height: 1.45; font-weight: 500; }
.muted, .fineprint { color: var(--muted); }

.label, .eyebrow, .tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
@media (max-width: 599px) { .label, .eyebrow, .tag { font-size: 12px; } }
.eyebrow { color: var(--muted); margin-bottom: 16px; }
.mono { font-family: var(--font-mono); font-weight: 500; font-size: 0.86em; letter-spacing: 0.01em; }

/* Tag: 4px radius, never a pill */
.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid currentColor;
  background: var(--white);
  color: var(--ink);
}
.tag-orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag-concept { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.66); }
.section + .section:not(.on-ink):not(.on-pine):not(.on-bone) { border-top: 1px solid var(--bone); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; gap: 24px 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 64px;
  align-items: start;
}
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 899px) { .sticky-col { position: static; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.actions-center { justify-content: center; }
.more-link { margin: 24px 0 0; font-weight: 600; }
.more-link a::after { content: " \2192"; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font: 600 16px/1.1 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--ember); border-color: var(--ember); color: var(--white); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] {
  background: var(--bone); border-color: var(--bone); color: var(--slate); cursor: progress;
}
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.on-ink .btn-secondary, .on-pine .btn-secondary { border-color: var(--paper); color: var(--paper); }
.on-ink .btn-secondary:hover, .on-pine .btn-secondary:hover { background: var(--paper); color: var(--ink); }
/* Header CTA: Ink fill so only one orange button shows per viewport */
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ember); border-color: var(--ember); color: var(--white); }
.btn-compact { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-text {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font: 600 15px/1.2 var(--font-body); color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--bone);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  min-height: var(--header-h);
  position: relative;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { height: 22px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 8px 20px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a, .nav-booking {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-booking { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  justify-content: center;
}
.js .menu-toggle { min-width: 8.2em; } /* room for "Close menu" so the header doesn't shift */
.menu-icon { display: inline-block; width: 16px; height: 10px; position: relative; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { bottom: 4px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .js .menu-toggle { display: inline-flex; }
  .js .header-cta { margin-left: auto; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--bone);
  }
  .js .site-nav.is-open { display: flex; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a, .js .nav-booking {
    width: 100%;
    min-height: 52px;
    padding: 0 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--bone);
    border-radius: 0;
  }
  /* Without JavaScript the links stay visible in a wrapped row */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
}
@media (max-width: 479px) {
  .brand img { height: 32px; }
  .header-cta { padding: 0 12px; font-size: 14px; }
  .menu-toggle { padding: 0 10px; }
  .header-inner { column-gap: 16px; }
}
/* At 320px the logo + CTA + "Menu" button need ~344px and would push the page sideways
   (WCAG 1.4.10 reflow). Below 375px the button shows only its icon; "Menu"/"Close menu" stays
   as its accessible name. */
@media (max-width: 374px) {
  .header-inner { column-gap: 12px; }
  .js .menu-toggle { min-width: 44px; padding: 0 12px; }
  .js .menu-toggle .menu-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 32px; font-size: 15px; border-top: 1px solid rgba(232, 227, 216, 0.22); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 24px; width: auto; }
.footer-h {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--paper); }
.site-footer p { color: var(--bone); }
.footer-email { color: var(--paper); font-weight: 600; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
}
/* The rule lines up with the content, not the gutters */
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule);
}
.footer-bottom p { margin: 0; }
.footer-bottom .disclosure { color: var(--paper); font-weight: 600; }
.footer-legal { display: flex; gap: 16px; }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 64px; }
@media (max-width: 599px) { .hero { padding-block: 40px 48px; } }
.hero h1 { max-width: 15.5ch; margin-bottom: 24px; }
.hero .lead { max-width: 60ch; }
.hero .fineprint { max-width: 60ch; }
.hero-visual { margin-top: 48px; }

/* Two-track timeline (the brand motif). Grid: col 1 = track labels, cols 2–61 = 60 seconds. */
.tl-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 20px 24px 24px;
}
.tl-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone);
}
.tl {
  --label-w: 128px;
  position: relative;
  display: grid;
  grid-template-columns: var(--label-w) repeat(60, minmax(0, 1fr));
  grid-template-rows: auto 56px 56px;
  row-gap: 10px;
}
.tl-tc {
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--bone);
  white-space: nowrap;
  padding-left: 6px;
  border-left: 1px solid rgba(232, 227, 216, 0.4);
  align-self: end;
  line-height: 1;
  padding-bottom: 2px;
}
.tl-tc.tc0 { grid-column: 2; }
.tl-tc.tc1 { grid-column: 17; }
.tl-tc.tc2 { grid-column: 32; }
.tl-tc.tc3 { grid-column: 47; }
.tl-tc.tc4 { grid-column: 61; justify-self: end; border-left: 0; border-right: 1px solid rgba(232, 227, 216, 0.4); padding: 0 6px 2px 0; }
.tl-label {
  grid-column: 1;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.tl-label.la { grid-row: 2; }
.tl-label.lb { grid-row: 3; }
.tl-lane { grid-column: 2 / 62; border-radius: 4px; background: rgba(232, 227, 216, 0.07); }
.tl-lane.lane-a { grid-row: 2; }
.tl-lane.lane-b { grid-row: 3; }
.clip {
  grid-column: var(--a) / var(--b);
  display: flex;
  align-items: center;
  margin: 4px 2px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  overflow: hidden;
  z-index: 1;
}
.clip-a { grid-row: 2; background: var(--pine); color: var(--paper); border: 1px solid rgba(232, 227, 216, 0.35); }
.clip-b { grid-row: 3; background: var(--orange); color: var(--ink); }
.k-brief   { --a: 2;  --b: 9; }
.k-intake  { --a: 9;  --b: 14; }
.k-edit    { --a: 14; --b: 26; }
.k-qa      { --a: 26; --b: 31; }
.k-review  { --a: 31; --b: 38; }
.k-revise  { --a: 38; --b: 43; }
.k-approve { --a: 43; --b: 49; }
.k-export  { --a: 49; --b: 54; }
.k-deliver { --a: 54; --b: 62; }
.cut {
  grid-column: var(--a);
  grid-row: 2 / 4;
  justify-self: start;
  width: 2px;
  margin: -6px 0 -6px -1px;
  background: var(--paper);
  z-index: 2;
}
.x1 { --a: 9; } .x2 { --a: 14; } .x3 { --a: 26; } .x4 { --a: 31; }
.x5 { --a: 38; } .x6 { --a: 43; } .x7 { --a: 49; } .x8 { --a: 54; }
.tl-playlane { grid-column: 2 / 62; grid-row: 1 / 4; position: relative; pointer-events: none; z-index: 3; }
.playhead {
  position: absolute;
  top: 0; bottom: -6px;
  left: 37%;
  width: 2px;
  background: var(--orange);
}
.playhead::before {
  content: "";
  position: absolute;
  top: 0; left: -5px;
  width: 12px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
}
.tl-foot { margin: 16px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--bone); }

@media (max-width: 699px) {
  /* The same timeline, turned vertical: time runs down the page. */
  .tl-panel { padding: 16px; }
  .tl {
    --label-w: 0px;
    grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 28px repeat(60, 7px);
    column-gap: 6px;
    row-gap: 0;
  }
  .tl-tc { grid-row: var(--r); grid-column: 1; align-self: start; font-size: 10.5px; border-left: 0; border-top: 1px solid rgba(232, 227, 216, 0.4); padding: 3px 0 0; }
  .tl-tc.tc0 { --r: 2; grid-column: 1; }
  .tl-tc.tc1 { --r: 17; grid-column: 1; }
  .tl-tc.tc2 { --r: 32; grid-column: 1; }
  .tl-tc.tc3 { --r: 47; grid-column: 1; }
  .tl-tc.tc4 { --r: 61; grid-column: 1; justify-self: start; border-right: 0; padding: 3px 0 0; }
  .tl-label { grid-row: 1; align-self: center; font-size: 11px; }
  .tl-label.la { grid-column: 2; grid-row: 1; }
  .tl-label.lb { grid-column: 3; grid-row: 1; }
  .tl-lane { grid-row: 2 / 62; }
  .tl-lane.lane-a { grid-column: 2; grid-row: 2 / 62; }
  .tl-lane.lane-b { grid-column: 3; grid-row: 2 / 62; }
  .clip { grid-column: auto; grid-row: var(--a) / var(--b); margin: 2px 3px; padding: 2px 8px; font-size: 11px; }
  .clip-a { grid-column: 2; }
  .clip-b { grid-column: 3; }
  .cut { grid-column: 2 / 4; grid-row: var(--a); width: auto; height: 2px; margin: -1px -4px 0; align-self: start; justify-self: stretch; }
  .tl-playlane { grid-column: 2 / 4; grid-row: 2 / 62; }
  .playhead { left: -4px; right: -4px; top: 37%; bottom: auto; width: auto; height: 2px; }
  .playhead::before { top: -5px; left: -6px; width: 8px; height: 12px; }
}

/* ---------- Cards and lists ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 32px;
}
.card-bone { background: var(--bone); border-color: var(--bone); }
@media (max-width: 599px) { .card { padding: 24px; } }
.card > :last-child { margin-bottom: 0; }

.fit-list { list-style: none; padding: 0; }
.fit-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.fit-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.fit-list.is-no li::before {
  width: 14px; height: 0; top: 0.8em;
  border-left: 0; border-bottom: 2px solid var(--ink);
  transform: none;
}
.list-plain { list-style: none; padding: 0; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: b; }
.benefits li { margin: 0; max-width: none; }
@media (max-width: 999px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.benefit { border-top: 2px solid var(--ink); padding-top: 20px; }
.benefit-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--orange); /* large text: 3.27:1 on Paper is allowed for 24px+ */
  margin-bottom: 12px;
}
.benefit h3 { font-size: 22px; }
.benefit p { margin: 0; }

/* Workflow steps: four clips on one track */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps li { margin: 0; max-width: none; padding-right: 24px; }
@media (max-width: 899px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-right: 0; }
}
.step-clip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  margin: 0 0 16px;
  border-radius: 4px;
  background: var(--bone);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.step-clip::after {
  /* the cut mark between clips */
  content: "";
  position: absolute;
  right: -14px;
  top: -8px; bottom: -8px;
  width: 2px;
  background: var(--ink);
}
.steps li:last-child .step-clip::after { display: none; }
@media (max-width: 899px) { .step-clip::after { display: none; } }
.step-clip.is-ours { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.step-target {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.steps h3 { font-size: 22px; margin-bottom: 8px; }

/* Package preview + plan cards */
.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 48px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
@media (max-width: 799px) { .pilot-card { grid-template-columns: minmax(0, 1fr); padding: 24px; } }
.pilot-card ul { margin-bottom: 0; }
.plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.plan-price .per { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.plans > li { margin: 0; max-width: none; }
@media (max-width: 899px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plans + .small { margin-top: 24px; } /* space between the plan cards and the note under them */
.plan {
  position: relative;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 32px;
}
@media (max-width: 599px) { .plan { padding: 24px; } }
.plan.is-recommended { border: 2px solid var(--ink); }
.plan h3 { margin-bottom: 4px; }
.plan-badges { min-height: 44px; margin-bottom: 4px; display: flex; align-items: flex-start; }
/* Stacked cards don't need the badge row for alignment; drop the empty gap under "Starter" */
@media (max-width: 899px) { .plan-badges:empty { display: none; } }
.plan-badges .tag { font-size: 11.5px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; font-variant-numeric: tabular-nums; }
.plan li { padding: 10px 0; border-top: 1px solid var(--bone); margin: 0; }
.plan .plan-lede { font-weight: 600; }

/* Pine trust section */
.trust-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 64px; }
@media (max-width: 899px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }
.policy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.policy-list li { margin: 0; max-width: none; }
.policy-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
}
.policy-card p { margin: 0; }
.policy-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--orange); /* large text on Pine: 3.15:1, allowed for 24px+ */
  margin-bottom: 12px;
}
.policy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .policy-grid { grid-template-columns: minmax(0, 1fr); } }

/* Proof columns */
.proof-col h3 { display: flex; align-items: center; gap: 12px; }
.proof-col .tag { font-size: 12px; }

/* ---------- Tables ---------- */
.table-wrap { margin: 0 0 24px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--bone); border-radius: var(--radius); background: var(--white); }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
caption { text-align: left; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--bone); }
thead th { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); background: var(--paper); }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tfoot th, tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.data-table { background: var(--white); border: 1px solid var(--bone); border-radius: var(--radius); overflow: hidden; }
.on-pine .data-table, .on-pine table { background: transparent; border-color: var(--rule); }
.on-pine th, .on-pine td { border-color: var(--rule); }
.on-pine thead th { background: transparent; color: var(--bone); }
.num { white-space: nowrap; }

/* Plan comparison table (desktop) */
.compare { min-width: 820px; }
.compare thead th { vertical-align: top; }
.compare thead th.plan-col { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.compare th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
  width: 26%;
  font-weight: 600;
  box-shadow: inset -1px 0 0 var(--bone);
}
.compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
/* Growth column: a Paper tint outlined in Ink, like the recommended plan card (Bone would match the
   section behind the table and read as a hole). */
.compare thead th { background: var(--white); }
.compare .is-growth { background: var(--paper); border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.compare thead th.is-growth { border-top: 2px solid var(--ink); }
.compare tbody tr:last-child .is-growth { border-bottom: 2px solid var(--ink); }
.compare .price-cell { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.compare td .fineprint { display: block; margin-top: 8px; }
.compare-cards { display: none; }
@media (max-width: 899px) {
  .compare-desktop { display: none; }
  .compare-cards { display: grid; }
}
.plan dl { margin: 16px 0 0; }
.plan dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 12px;
  border-top: 1px solid var(--bone);
}
.plan dd { margin: 4px 0 12px; font-variant-numeric: tabular-nums; }

/* Tables that stack into cards on small screens */
@media (max-width: 719px) {
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack, .stack tbody, .stack tfoot, .stack tr, .stack th, .stack td { display: block; width: 100%; }
  .stack tr { padding: 16px; border-bottom: 1px solid var(--bone); }
  .stack tbody tr:last-child { border-bottom: 0; }
  .stack th, .stack td { padding: 4px 0; border: 0; }
  .stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate);
    margin-top: 6px;
  }
  .stack td:empty { display: none; } /* hide empty cells so no label shows without a value */
  .on-pine .stack td[data-label]::before { color: var(--bone); }
  .on-pine .stack tr { border-color: var(--rule); }
  .stack tfoot tr { border-top: 2px solid var(--ink); }
}

/* ---------- Concept frames (home) ---------- */
.concept-label { margin-bottom: 20px; }
.frames-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.frames-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 999px) { .frames-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .frames-grid { grid-template-columns: minmax(0, 1fr); } }
.frame-card { display: flex; flex-direction: column; }
.frame-card h3 { font-size: 20px; margin-top: 20px; }
.phone {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: 8px;
  background: var(--ink);
  border-radius: 26px;
}
.screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 19px;
  overflow: hidden;
  isolation: isolate;
  background: #1E1B18;
}
.frame-tag {
  position: absolute;
  z-index: 5;
  top: 4%;
  left: 7%;
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(20, 22, 25, 0.82);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.safe {
  /* Meta Reels safe area: top 14%, bottom 35%, 6% each side */
  position: absolute;
  z-index: 4;
  top: 14%; bottom: 35%; left: 6%; right: 6%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
.shot { position: absolute; inset: 0; opacity: 0; }
.shot.s1 { opacity: 1; }
.shot-bg { position: absolute; inset: 0; }
.shot .tc {
  position: absolute;
  z-index: 5;
  bottom: 4%;
  left: 7%;
  padding: 3px 5px;
  border-radius: 3px;
  background: rgba(20, 22, 25, 0.82);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
}
.cap { position: absolute; z-index: 3; left: 8%; right: 8%; margin: 0; max-width: none; }
.cap .w { display: inline-block; }

/* Brand A — taqueria: Masa yellow #F2C14E · Chile red #B23A2B · Char #1E1B18 */
.brand-a .screen { background: #1E1B18; }
.brand-a .s1 .shot-bg { background: #1E1B18; }
.brand-a .s2 .shot-bg { background: #B23A2B; }
.brand-a .s3 .shot-bg { background: #F2C14E; }
.a-plate { position: absolute; left: 14%; right: 14%; aspect-ratio: 1; bottom: 40%; border-radius: 50%; background: #B23A2B; }
.a-plate::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: #F2C14E; clip-path: inset(0 0 45% 0); }
.a-sizzle { position: absolute; left: 30%; right: 30%; top: 24%; height: 8%; display: flex; justify-content: space-between; }
.a-sizzle i { width: 6%; background: #F2C14E; border-radius: 3px; }
.a-bowl { position: absolute; left: 10%; right: 10%; aspect-ratio: 1; bottom: 38%; border-radius: 50%; background: #1E1B18; }
.a-bowl::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: #7E2418; }
.a-bowl::after { content: ""; position: absolute; left: 28%; right: 8%; top: 8%; height: 34%; border-radius: 50% 50% 0 0; background: #F2C14E; transform: rotate(-24deg); }
.brand-a .cap { top: 50%; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.01em; }
.brand-a .cap .w { background: #F2C14E; color: #141619; padding: 2px 6px 3px; margin: 0 0 4px; transform-origin: left center; }
.a-end { position: absolute; left: 8%; right: 8%; top: 22%; color: #1E1B18; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
.a-end .big { display: block; font-size: clamp(30px, 3.6vw, 40px); }
.a-end .box { display: inline-block; margin-top: 12px; padding: 4px 8px; background: #B23A2B; color: #F2C14E; font-size: clamp(18px, 2vw, 22px); }
.a-end .logo-bug { display: inline-block; margin-top: 16px; padding: 2px 8px; border: 2px solid #1E1B18; font-size: 13px; letter-spacing: 0.06em; line-height: 1.2; }

/* Brand B — hotel bar: Bottle green #1F3B2D · Brass #B08D57 · Cream #F3EBDD */
.brand-b .screen { background: #1F3B2D; }
.brand-b .s1 .shot-bg, .brand-b .s2 .shot-bg { background: #1F3B2D; }
.brand-b .s3 .shot-bg { background: #F3EBDD; }
.b-shelves { position: absolute; left: 0; right: 0; top: 10%; height: 38%; display: flex; justify-content: space-around; }
.b-shelves i { width: 2px; background: #B08D57; opacity: 0.8; }
.b-counter { position: absolute; left: 0; right: 0; top: 71%; height: 5%; background: #B08D57; }
.b-lamp { position: absolute; width: 34%; aspect-ratio: 1; left: 33%; top: 20%; border-radius: 50%; background: #F3EBDD; opacity: 0.16; }
.b-glass { position: absolute; left: 32%; right: 32%; top: 18%; height: 32%; }
.b-glass::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%; border: 2px solid #F3EBDD; border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: #B08D57; }
.b-glass::after { content: ""; position: absolute; left: calc(50% - 1px); width: 2px; top: 36%; bottom: 8%; background: #F3EBDD; }
.b-base { position: absolute; left: 38%; right: 38%; top: 47%; height: 2px; background: #F3EBDD; }
.brand-b .cap { top: 56%; font-family: ui-serif, "New York", Georgia, "Times New Roman", serif; font-weight: 300; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.25; color: #F3EBDD; }
.b-end { position: absolute; left: 10%; right: 10%; top: 28%; color: #1F3B2D; font-family: ui-serif, "New York", Georgia, "Times New Roman", serif; text-align: center; }
.b-end .rule { display: block; width: 40%; height: 1px; margin: 0 auto 16px; background: #B08D57; }
.b-end .big { display: block; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.15; font-weight: 400; }
.b-end .sub { display: block; margin-top: 10px; font-size: clamp(14px, 1.5vw, 16px); }
.b-end .logo-bug { display: block; margin-top: 22px; font-size: 15px; font-style: italic; letter-spacing: 0.04em; color: #1F3B2D; }

/* Brand C — smoothie chain: Mango #FF9F1C · Leaf #2EC4B6 · White */
.brand-c .screen { background: #2EC4B6; }
.brand-c .s1 .shot-bg { background: #2EC4B6; }
.brand-c .s2 .shot-bg { background: #FF9F1C; }
.brand-c .s3 .shot-bg { background: #FFFFFF; }
.c-cup { position: absolute; left: 28%; right: 28%; top: 20%; height: 38%; background: #FFFFFF; border-radius: 6px 6px 22px 22px; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.c-cup::before { content: ""; position: absolute; left: 0; right: 0; top: 22%; bottom: 0; background: #FF9F1C; }
.c-straw { position: absolute; left: 54%; width: 4%; top: 12%; height: 14%; background: #141619; border-radius: 2px; transform: rotate(12deg); }
.c-sticker {
  position: absolute; z-index: 4; right: 9%; top: 26%;
  padding: 6px 10px; border-radius: 16px 16px 16px 4px;
  background: #FF9F1C; color: #FFFFFF;
  border: 3px solid #FFFFFF;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", var(--font-body);
  font-weight: 800; font-size: 13px; letter-spacing: 0.02em;
  transform: rotate(8deg);
}
.c-cup.is-big { left: 20%; right: 20%; top: 16%; height: 44%; }
.c-cup.is-big::before { background: #2EC4B6; top: 30%; }
.brand-c .cap {
  top: 60%;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", var(--font-body);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 27px);
  line-height: 1.05;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow:
    3px 0 0 #FF9F1C, -3px 0 0 #FF9F1C, 0 3px 0 #FF9F1C, 0 -3px 0 #FF9F1C,
    2px 2px 0 #FF9F1C, -2px 2px 0 #FF9F1C, 2px -2px 0 #FF9F1C, -2px -2px 0 #FF9F1C;
}
.brand-c .s2 .cap { text-shadow:
    3px 0 0 #141619, -3px 0 0 #141619, 0 3px 0 #141619, 0 -3px 0 #141619,
    2px 2px 0 #141619, -2px 2px 0 #141619, 2px -2px 0 #141619, -2px -2px 0 #141619; }
.c-end { position: absolute; left: 8%; right: 8%; top: 22%; text-align: center; font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", var(--font-body); font-weight: 800; color: #141619; }
.c-end .big { display: block; font-size: clamp(26px, 3vw, 32px); line-height: 1; text-transform: uppercase; }
.c-end .big b { color: #FF9F1C; -webkit-text-stroke: 0; }
.c-versions { display: flex; justify-content: center; gap: 4px; margin-top: 16px; flex-wrap: wrap; }
.c-versions i { font-style: normal; font-family: var(--font-mono); font-weight: 500; font-size: 9px; letter-spacing: 0.04em; padding: 3px 5px; border: 1px solid #141619; border-radius: 3px; }
.c-versions i:first-child { background: #141619; color: #FFFFFF; }

/* Pacing strip under each phone (an editing timeline, not a video progress bar) */
.pace { max-width: 300px; width: 100%; margin: 16px auto 0; }
.pace-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.pace-track { position: relative; display: flex; justify-content: space-between; height: 22px; padding: 0 1px; background: var(--bone); border: 1px solid var(--ink); border-radius: 3px; }
.pace-track i { width: 1.5px; background: var(--ink); }
.pace-head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: var(--ember); }

.frames-grid + .fineprint { margin-top: 32px; } /* space between the last card and the note */
.spec-list { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.spec-list dt { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-top: 12px; }
.spec-list dd { margin: 2px 0 0; }
.frame-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 15px; }
.frame-list li { margin: 0; padding: 6px 0; border-top: 1px solid var(--bone); }
.frame-list .mono { display: block; color: var(--slate); font-size: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; margin: 4px 0 0; }
.swatches li { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--ink); }
.sw-masa { background: #F2C14E; } .sw-chile { background: #B23A2B; } .sw-char { background: #1E1B18; }
.sw-bottle { background: #1F3B2D; } .sw-brass { background: #B08D57; } .sw-cream { background: #F3EBDD; }
.sw-mango { background: #FF9F1C; } .sw-leaf { background: #2EC4B6; } .sw-white { background: #FFFFFF; }

/* Motion (3 elements only): timeline track sync + playhead, concept-frame captions.
   Everything below runs only when the visitor has not asked for reduced motion,
   and the looping frames run only with JavaScript (which provides the pause control). */
@media (prefers-reduced-motion: no-preference) {
  .tl .clip { animation: clip-in 200ms var(--ease) both; }
  .tl .clip-b { animation-delay: 40ms; }
  .tl .playhead { animation: playhead-x 4.8s linear 400ms 1 both; }
  @keyframes clip-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
  @keyframes playhead-x { from { left: 0; } to { left: 100%; } }

  /* Longhand properties only, so the per-word delay classes below are never reset. */
  .js .frames-live .shot,
  .js .frames-live .cap .w,
  .js .frames-live .brand-b .cap,
  .js .frames-live .brand-b .shot-bg,
  .js .frames-live .pace-head {
    animation-duration: var(--T);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: backwards;
  }
  .js .frames-live .shot { animation-name: cut3; animation-timing-function: steps(1, end); } /* hard cuts: never a blended frame, even when paused */
  .js .frames-live .shot.s2 { animation-delay: calc(var(--T) * -2 / 3); }
  .js .frames-live .shot.s3 { animation-delay: calc(var(--T) * -1 / 3); }
  .js .frames-live .brand-a .cap .w,
  .js .frames-live .brand-c .cap .w { animation-name: word-pop; animation-timing-function: var(--ease); }
  .js .frames-live .brand-b .cap { animation-name: phrase-fade; animation-timing-function: ease-out; }
  .js .frames-live .brand-b .shot-bg { animation-name: push-in; animation-duration: calc(var(--T) / 3); animation-fill-mode: none; }
  .js .frames-live .pace-head { animation-name: pace-x; }
  .js .frames-live .d1 { animation-delay: calc(var(--T) * 0.05); }
  .js .frames-live .d2 { animation-delay: calc(var(--T) * 0.10); }
  .js .frames-live .d3 { animation-delay: calc(var(--T) * 0.15); }
  .js .frames-live .d4 { animation-delay: calc(var(--T) * 0.20); }
  .js .frames-live .s2 .d0 { animation-delay: calc(var(--T) * 0.3334); }
  .js .frames-live .s2 .d1 { animation-delay: calc(var(--T) * 0.3834); }
  .js .frames-live .s2 .d2 { animation-delay: calc(var(--T) * 0.4334); }
  .js .frames-live .s2 .d3 { animation-delay: calc(var(--T) * 0.4834); }
  .js .frames-live .s2 .d4 { animation-delay: calc(var(--T) * 0.5334); }
  .js .frames-live.is-paused *, .js .frames-live.is-offscreen * { animation-play-state: paused !important; }
  @keyframes cut3 { 0%, 33.3% { opacity: 1; } 33.31%, 100% { opacity: 0; } }
  @keyframes word-pop {
    0% { opacity: 0; transform: scale(0.7); }
    4% { opacity: 1; transform: scale(1); }
    32% { opacity: 1; transform: scale(1); }
    32.5%, 100% { opacity: 0; }
  }
  @keyframes phrase-fade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    32.8% { opacity: 1; }
    33%, 100% { opacity: 0; }
  }
  @keyframes push-in { from { transform: scale(1); } to { transform: scale(1.07); } }
  @keyframes pace-x { from { left: 0; } to { left: calc(100% - 2px); } }
}
/* Vertical (mobile) timeline: the playhead runs down, not across. */
@media (prefers-reduced-motion: no-preference) and (max-width: 699px) {
  .tl .playhead { animation-name: playhead-y; }
  @keyframes playhead-y { from { top: 0; } to { top: 100%; } }
}
.brand-a { --T: 3.6s; }
.brand-b { --T: 9s; }
.brand-c { --T: 3.6s; }

/* ---------- Batch strip (multi-brand month) ---------- */
.batches { display: grid; gap: 8px; margin: 24px 0 8px; max-width: 640px; }
.batch { display: grid; grid-template-columns: 72px repeat(6, minmax(0, 1fr)); gap: 6px; align-items: center; }
.batch-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.bb {
  height: 36px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
}
.bb-a { background: var(--ink); color: var(--paper); }
.bb-b { background: var(--pine); color: var(--white); }
.bb-c { background: var(--orange); color: var(--ink); }
.bb-d { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.batch-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 12px 0 0; font-size: 14px; }
.batch-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.batch-legend .bb { width: 28px; height: 22px; font-size: 11px; }

/* ---------- FAQ (details/summary) ---------- */
.faq-list { border-top: 1px solid var(--ink); }
.faq { border-bottom: 1px solid var(--bone); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}
@media (max-width: 599px) { .faq summary { font-size: 18px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover .faq-q { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: var(--ink); }
.faq-icon::after { transform: rotate(90deg); transition: transform 150ms var(--ease); }
.faq[open] .faq-icon { background: var(--ink); }
.faq[open] .faq-icon::before { background: var(--paper); }
.faq[open] .faq-icon::after { transform: rotate(0deg); background: var(--paper); }
.faq-a { padding: 0 52px 24px 0; }
@media (max-width: 599px) { .faq-a { padding-right: 0; } }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); }
.cta-band p { margin-inline: auto; }

/* ---------- Page intro ---------- */
.page-intro { padding-block: 64px 48px; border-bottom: 1px solid var(--bone); }
@media (max-width: 599px) { .page-intro { padding-block: 40px 32px; } }
.page-intro h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.02em; }
.page-intro .kicker { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.jump-nav { margin-top: 32px; }
.jump-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.jump-nav li { margin: 0; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--ink); border-radius: 4px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
}
.jump-nav a:hover { background: var(--ink); color: var(--paper); }

.callout { border-left: 4px solid var(--orange); background: var(--white); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; max-width: 820px; }
.callout > :last-child { margin-bottom: 0; }
.note-important { border-left-color: var(--ink); }
.on-pine .callout { background: transparent; border: 1px solid var(--rule); border-left: 4px solid var(--orange); color: var(--white); }

.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 820px; }
.steps-list > li { position: relative; counter-increment: s; padding: 0 0 20px 56px; margin: 0; max-width: none; }
.steps-list > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink); border-radius: 4px;
  font-family: var(--font-mono); font-weight: 500; font-size: 14px;
}
.steps-list > li::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 2px; width: 1.5px; background: var(--bone); }
.steps-list > li:last-child::after { display: none; }

.cols-2 { columns: 2; column-gap: 48px; }
@media (max-width: 699px) { .cols-2 { columns: 1; } }
.cols-2 li { break-inside: avoid; }
.holiday-list { list-style: none; padding: 0; }
/* One fixed date column so labels line up (long dates wrap instead of squeezing the label). */
.holiday-list li { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bone); margin: 0; max-width: 560px; }
.holiday-list .mono { color: var(--ink); }

/* ---------- Work page style cards ---------- */
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.style-grid > li { margin: 0; max-width: none; }
@media (max-width: 899px) { .style-grid { grid-template-columns: minmax(0, 1fr); } }
.style-card {
  display: grid;
  grid-template-columns: minmax(150px, 38%) minmax(0, 1fr);
  gap: 24px;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 24px;
}
@media (max-width: 559px) { .style-card { grid-template-columns: minmax(0, 1fr); } }
.style-card h3 { font-size: 22px; margin-top: 12px; }
.style-card dl { margin: 0; font-size: 15px; }
.style-card dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-top: 12px; font-weight: 500; }
.style-card dd { margin: 2px 0 0; }
.board {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--bone);
  border: 1.5px solid var(--ink);
  overflow: hidden;
  font-family: var(--font-mono);
  color: var(--ink);
}
.board .tag { position: absolute; top: 10px; left: 10px; right: 10px; font-size: 9.5px; padding: 3px 6px; text-align: left; line-height: 1.3; }
.board-safe { position: absolute; top: 14%; bottom: 35%; left: 6%; right: 6%; border: 1px dashed var(--slate); border-radius: 2px; }
.board-beats { position: absolute; left: 10%; right: 10%; top: 22%; list-style: none; padding: 0; margin: 0; font-size: 10.5px; line-height: 1.3; font-weight: 500; }
.board-beats li { margin: 0 0 8px; padding-left: 8px; border-left: 2px solid var(--ink); max-width: none; }
.board-beats li:first-child { border-left-color: var(--orange); }
.board-track { position: absolute; left: 8%; right: 8%; bottom: 10%; display: flex; gap: 3px; height: 14px; }
.board-track i { flex: 1; background: var(--ink); border-radius: 2px; }
.board-track i:nth-child(3n) { flex: 2; }
.board-track i:first-child { background: var(--orange); }
.board-ratio { position: absolute; left: 8%; bottom: 4%; font-size: 9.5px; letter-spacing: 0.06em; color: var(--slate); }

/* ---------- Work page: the real edit (a native HTML5 player, no autoplay) ---------- */
.real-edit {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 24px;
}
@media (max-width: 759px) { .real-edit { grid-template-columns: minmax(0, 1fr); } }
.real-edit-media { margin: 0; }
.sample-video {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  background: var(--ink);
  border-radius: var(--radius);
  object-fit: contain;
}
.real-edit-media figcaption { max-width: 360px; margin: 12px auto 0; font-size: 14px; line-height: 1.45; color: var(--slate); }
.real-edit-copy h2 { margin-top: 12px; font-size: 30px; }
.real-edit-copy dl { margin: 0; font-size: 15px; }
.real-edit-copy dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-top: 12px; font-weight: 500; }
.real-edit-copy dd { margin: 2px 0 0; }
.tag-real { background: var(--pine); border-color: var(--pine); color: var(--white); }

/* ---------- Form ---------- */
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "form terms" "form next";
  grid-template-rows: auto 1fr; /* keep "What happens next" right under the terms card */
  gap: 32px 56px;
  align-items: start;
}
.start-terms { grid-area: terms; }
.start-form { grid-area: form; }
.start-next { grid-area: next; }
@media (max-width: 899px) {
  .start-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "terms" "form" "next"; grid-template-rows: auto; }
}
.form-card { background: var(--white); border: 1px solid var(--bone); border-radius: var(--radius); padding: 32px; }
@media (max-width: 599px) { .form-card { padding: 20px; } }
.form-card h2 { font-size: 28px; }
.field { margin: 0 0 24px; }
.field label, .field legend { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--slate); }
.hint { display: block; font-size: 14px; line-height: 1.45; color: var(--slate); margin: 0 0 8px; max-width: 60ch; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 1.5px solid var(--slate);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: 400 16px/1.4 var(--font-body);
}
textarea { min-height: 140px; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141619' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ember); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--ember); border-width: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
@media (max-width: 479px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 400 !important; cursor: pointer; margin: 0 !important; }
.field label.check { display: flex; } /* overrides ".field label { display: block }" so boxes sit beside their text */
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.field-error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0 0;
  color: var(--ember);
  font-size: 14px;
  font-weight: 600;
}
.field-error::before {
  content: "!";
  flex: 0 0 18px;
  height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ember);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.field-warn { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--slate); background: var(--paper); font-size: 14px; color: var(--ink); max-width: 60ch; }
.hp { display: none !important; }
.error-summary {
  border: 2px solid var(--ember);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 0 0 24px;
  background: var(--white);
}
.error-summary:focus { outline: 3px solid var(--ember); outline-offset: 2px; }
.error-summary h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.error-summary ul { margin: 0; padding-left: 1.1em; }
.error-summary li { margin: 4px 0; }
.error-summary a { color: var(--ember); font-weight: 600; }
.consent { font-size: 15px; margin: 8px 0 16px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions + .fineprint { margin-top: 12px; }
.form-status { margin-top: 20px; }
.status {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.status:focus { outline: 3px solid var(--ember); outline-offset: 2px; }
.status p { margin: 0 0 8px; }
.status p:last-child { margin: 0; }
.status-title { font-weight: 700; }
.status-preview { border-color: var(--ink); background: var(--bone); }
.status-error { border-color: var(--ember); background: var(--white); }
.status-success { border-color: var(--pine); background: var(--white); }
.status-busy { border-style: dashed; }
.side-panel h2 { font-size: 24px; }
.side-panel ul { padding-left: 1.1em; }

/* ---------- Legal pages ---------- */
.draft-banner {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 40px;
  border-left: 8px solid var(--orange);
}
.draft-banner p { margin: 0; max-width: 80ch; }
.draft-banner strong { color: var(--white); }
.legal { max-width: 820px; }
.legal h2 { margin-top: 48px; font-size: 30px; }
.legal h3 { margin-top: 32px; font-size: 21px; }
.legal table { margin: 16px 0 24px; background: var(--white); border: 1px solid var(--bone); }
.legal hr { border: 0; border-top: 1px solid var(--bone); margin: 48px 0; }
mark.placeholder { background: var(--bone); color: var(--ink); padding: 0 4px; border-radius: 3px; border: 1px dashed var(--slate); font-family: var(--font-mono); font-size: 0.86em; }

/* ---------- Thanks / 404 ---------- */
.notice { border: 2px solid var(--ink); background: var(--bone); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 32px; max-width: 760px; }
.notice p:last-child { margin: 0; }

@media print {
  .site-header, .skip-link, .menu-toggle, .frames-bar button { display: none !important; }
  .on-ink, .on-pine { background: none !important; color: #000 !important; }
}

/* Heading size helpers (keep the document outline, change only the size) */
.h3-size { font-size: 24px; }
.h4-like { font-size: 19px; margin-bottom: 8px; }
.draft-banner .label { color: var(--orange); margin-bottom: 6px; }

/* Layout helpers added after the visual review */
.split-wide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
@media (max-width: 999px) { .split-wide { grid-template-columns: minmax(0, 1fr); } }
.after-cards { margin-top: 32px; }
#files ul + h3 { margin-top: 32px; } /* space above sub-headings in "Files, rights and security" */
@media (prefers-reduced-motion: reduce) {
  .faq-icon::after, .btn { transition: none; }
}
.notice a { color: var(--ink); } /* Ember is only 4.33:1 on Bone */

/* ---------- Real edits (2026-09-24): three real client videos ---------- */
/* Work page: stacked real-edit cards; the 16:9 edit gets a wider media column. */
.real-list { display: grid; gap: 32px; }
.real-edit-copy h3 { margin-top: 12px; font-size: 26px; }
@media (max-width: 599px) { .real-edit-copy h3 { font-size: 22px; } }
.real-edit.is-wide { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
@media (max-width: 959px) { .real-edit.is-wide { grid-template-columns: minmax(0, 1fr); } }
.sample-video-wide { max-width: 560px; aspect-ratio: 16 / 9; }
.real-edit.is-wide .real-edit-media figcaption { max-width: 560px; }
.tag-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
/* Home page: one row, equal heights (column widths follow the 9:16, 9:16, 16:9 aspect ratios). */
.reel-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 9fr) minmax(0, 9fr) minmax(0, 28.4444fr); align-items: start; list-style: none; padding: 0; margin: 0; }
.reel-grid > li { margin: 0; max-width: none; }
.reel-item { margin: 0; }
.reel-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); border-radius: var(--radius); object-fit: contain; }
.reel-video.is-wide { aspect-ratio: 16 / 9; }
.reel-item figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--slate); }
@media (max-width: 899px) {
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .reel-grid { gap: 20px 12px; } }
