/* ==========================================================================
   CE Scales — homepage
   Award-site direction: bracket labels, all-caps statement type with outline
   strokes, image-led ad-frame mockups, index rows, editorial asymmetry.
   Every brand decision lives in :root so real brand assets swap in one edit.
   Type: system grotesque stack — zero font payload.
   ========================================================================== */

:root {
  /* Colour roles */
  --bone: #F1EFEA;        /* page base */
  --sand: #E7E3DA;        /* secondary surface */
  --white: #FFFFFF;       /* cards */
  --ink: #141412;         /* primary text / dark surfaces */
  --dark: #161513;        /* dark section background */
  --dark-2: #1E1D1A;      /* dark section card */
  --dark-line: #2C2A26;   /* hairlines on dark */
  --line: #DEDBD3;        /* hairlines on light */
  --grey: #7D7A73;        /* muted display text on bone (≥3:1 large) */
  --grey-dark: #8B8880;   /* muted display text on dark (≥3:1 large) */
  --muted: #55524B;       /* body text, secondary (≥4.5:1 on bone/white) */
  --faint: #6E6B64;       /* small labels (≥4.5:1) */
  --accent: #FF4400;      /* action + emphasis only */
  --accent-down: #E63D00; /* accent hover */
  --accent-text: #D93A00; /* accent as large display text on light */
  --error: #B3271E;

  /* Type */
  --font-stack: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.3rem, 9.4vw, 7.4rem);
  --fs-statement: clamp(2.1rem, 5.4vw, 4.4rem);
  --fs-h3: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-tiny: .8125rem;

  /* Space & shape */
  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --r-card: 18px;
  --r-big: 24px;
  --r-pill: 999px;
  --shadow-soft: 0 18px 50px rgba(20, 20, 18, .08);
  --shadow-deep: 0 30px 80px rgba(20, 20, 18, .18);
}

/* ---------- Reset & base ---------- */

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

html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-stack);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: .6em 1.2em;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  max-inline-size: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared display treatments ---------- */

/* Bracket label — the technical eyebrow used everywhere */
.blabel {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.blabel--light { color: var(--grey-dark); }
.blabel--onaccent { color: rgba(20, 20, 18, .72); }

/* Outline display text */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.statement--light .outline,
.section--dark .outline {
  -webkit-text-stroke: 2px #EDEAE3;
}
.outline-ink {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
@supports not (-webkit-text-stroke: 2px black) {
  .outline { color: var(--grey); }
  .outline-ink { color: rgba(20, 20, 18, .55); }
}

/* Statement headings — all-caps stacked lines */
.statement {
  font-size: var(--fs-statement);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-block-start: 1rem;
}
.statement > span { display: block; }
.is-grey { color: var(--grey); }
.section--dark .is-grey { color: var(--grey-dark); }

/* Arrow link */
.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-block-end: 1px solid currentColor;
  padding-block-end: .25em;
}
.arrowlink svg { inline-size: .95em; transition: transform .25s ease; }
.arrowlink:hover svg { transform: translate(3px, -3px); }
.arrowlink--light { color: #EDEAE3; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; transform: translateY(-1px); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-down); transform: translateY(-1px); }

.btn--sm { padding: .65em 1.2em; }
.btn--full { inline-size: 100%; }

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

.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(241, 239, 234, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.nav__inner {
  max-inline-size: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  block-size: 76px;
  transition: block-size .25s ease;
}
.nav.is-scrolled .nav__inner { block-size: 62px; }

.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}
.nav__dot { color: var(--accent); }

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); }
.nav__links a {
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: .75rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  inline-size: 44px;
  block-size: 44px;
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  inline-size: 22px;
  block-size: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bone);
  padding: 110px var(--gutter) 40px;
}
.mmenu nav { display: flex; flex-direction: column; gap: .5rem; }
.mmenu a {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  padding-block: .5rem;
}
.mmenu .btn { font-size: 1.1rem; margin-block-start: 1.5rem; }

@media (max-width: 819px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn { display: none; }
}

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

.hero {
  position: relative;
  padding-block-start: clamp(8.5rem, 15vw, 11.5rem);
  padding-block-end: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

/* Row 1: label + full-width headline. Row 2: copy left, ad card right —
   the card pulls up into the whitespace beside the short third line. */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 400px);
  column-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero__left { grid-column: 1 / -1; }
.hero__foot { grid-column: 1; }
.hero__right { grid-column: 2; margin-block-start: -1rem; }

.hero__h {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-block-start: 1.25rem;
}

.hline { display: block; overflow: hidden; padding-block-end: .07em; margin-block-end: -.07em; }
.hline__in { display: block; }
@media (prefers-reduced-motion: no-preference) {
  html.js .hline__in { transform: translateY(112%); animation: line-up .85s cubic-bezier(.16, 1, .3, 1) forwards; }
  html.js .l1 { animation-delay: .1s; }
  html.js .l2 { animation-delay: .22s; }
  html.js .l3 { animation-delay: .34s; }
}
@keyframes line-up { to { transform: translateY(0); } }

.chip {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: .58em;
  line-height: 1;
  padding: .16em .34em .2em;
  border-radius: .16em;
  letter-spacing: -.02em;
  text-transform: none;
  vertical-align: .14em;
}

.uparrow {
  display: inline-block;
  inline-size: .62em;
  block-size: .62em;
  color: var(--accent);
  margin-inline-start: .08em;
  vertical-align: .02em;
}

.hero__foot { margin-block-start: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-inline-size: 46ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-block-start: 1.5rem;
}
.qualifier {
  margin-block-start: 1rem;
  font-size: var(--fs-tiny);
  color: var(--faint);
}

/* Ghost word behind the hero */
.hero__bigword {
  position: absolute;
  inset-block-end: -.22em;
  inset-inline-end: -.05em;
  z-index: 0;
  font-size: clamp(8rem, 24vw, 21rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  user-select: none;
  pointer-events: none;
}

.hero__right {
  position: relative;
  display: grid;
  justify-items: end;
}

.hero__spark {
  position: absolute;
  inset-block-start: 5.5rem;
  inset-inline-start: -3rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 14px 16px 10px;
  rotate: -2deg;
}
.hero__spark svg { inline-size: 120px; }
.hero__spark span {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-block-start: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .float-c { animation: float 7s .4s ease-in-out infinite alternate; }
}
@keyframes float {
  from { translate: 0 0; }
  to { translate: 0 -10px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__foot, .hero__right { grid-column: 1; }
  .hero__right { justify-items: start; margin-block-start: 2.5rem; }
  .hero__spark { inset-inline-start: auto; inset-inline-end: -.5rem; }
  .hero__bigword { display: none; }
}

/* ---------- Ad frame — the Instagram-style mock ---------- */

.adframe {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-deep);
  padding: 12px 12px 0;
  inline-size: min(100%, 400px);
  overflow: hidden;
}
.adframe--hero { rotate: 2.5deg; }

.adframe__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-end: 10px;
}
.adframe__avatar {
  inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--accent), #FFB380, var(--ink), var(--accent));
  flex-shrink: 0;
}
.adframe__id { display: flex; flex-direction: column; line-height: 1.25; }
.adframe__id strong { font-size: .875rem; letter-spacing: -.01em; }
.adframe__id i { font-style: normal; font-size: .75rem; color: var(--faint); }
.adframe__dots { margin-inline-start: auto; color: var(--faint); letter-spacing: 2px; font-weight: 700; }

.adframe__media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.adframe__media img { inline-size: 100%; block-size: auto; }

.tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .38em .75em;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.adframe__media .tag {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-start: 10px;
}
.tag--winner { background: var(--accent); color: var(--ink); }
.tag--cut { background: rgba(241, 239, 234, .92); color: var(--faint); text-decoration: line-through; }
.tag--testing { background: rgba(20, 20, 18, .82); color: #EDEAE3; }

.adframe__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 10px 2px;
}
.adframe__actions svg { inline-size: 22px; color: var(--ink); }
.adframe__actions .last { margin-inline-start: auto; }

.adframe__cap {
  font-size: .8125rem;
  color: var(--muted);
  padding-block: 4px 12px;
}
.adframe__cap strong { color: var(--ink); }

.adframe__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .8em 1em;
  border-radius: 10px 10px 0 0;
  margin-inline: -12px;
  margin-block-start: 2px;
  padding-inline: 22px;
}

/* ---------- Ticker (angled, bleeding past both edges) ---------- */

.ticker-wrap {
  overflow: hidden;
  padding-block: 1.4rem;
  margin-block: -.4rem;
  position: relative;
  z-index: 2;
}
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1rem;
  background: var(--white);
  rotate: -1.4deg;
  scale: 1.03;
  box-shadow: 0 10px 30px rgba(20, 20, 18, .05);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
}
.ticker__track span {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ticker__track i {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee 38s linear infinite; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

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

/* ---------- Problem: editorial head + index rows ---------- */

.problem__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.problem__aside {
  color: var(--muted);
  font-size: 1.0625rem;
  max-inline-size: 38ch;
  padding-block-end: .5rem;
}

.index {
  list-style: none;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.index__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem 2rem;
  align-items: baseline;
  border-block-start: 1px solid var(--ink);
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  transition: background-color .25s ease;
}
.index__row:last-child { border-block-end: 1px solid var(--ink); }
.index__row:hover { background: rgba(255, 255, 255, .55); }
.index__no {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.index__t {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.015em;
}
.index__d {
  font-size: var(--fs-small);
  color: var(--muted);
  max-inline-size: 46ch;
}

@media (max-width: 820px) {
  .problem__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .index__row { grid-template-columns: 3rem minmax(0, 1fr); }
  .index__d { grid-column: 2; }
}

/* ---------- Rounded panels: dark + orange sections float on the bone base ---------- */

.panel {
  position: relative;
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(.5rem, 1.5vw, 1.25rem);
  overflow: hidden;
  isolation: isolate;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.glow--engine {
  inset-block-start: -10%;
  inset-inline-end: -8%;
  inline-size: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 68, 0, .17), transparent 65%);
}

.section--dark {
  background: radial-gradient(120% 90% at 8% 0%, #201F1B 0%, var(--dark) 55%);
  color: #EDEAE3;
}

/* ---------- Ad lab band ---------- */

.adlab__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.adlab__aside {
  color: #A5A29A;
  font-size: 1.0625rem;
  max-inline-size: 38ch;
  padding-block-end: .5rem;
}

.adlab__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.adlab__row .adframe { inline-size: 100%; }
.adframe--cut { rotate: -2deg; opacity: .82; }
.adframe--cut .adframe__media img { filter: grayscale(1) contrast(.9); }
.adframe--testing { rotate: 1.2deg; }
.adframe--win { scale: 1.05; z-index: 2; }

.adlab__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  padding-block-start: 1.75rem;
  border-block-start: 1px solid var(--dark-line);
}
.adlab__foot p {
  font-size: 1.0625rem;
  font-weight: 600;
  max-inline-size: 44ch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 820px) {
  .adlab__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  /* horizontal snap-scroll of the three ads — contained, no page overflow */
  .adlab__row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block: .5rem;
    padding-inline: .25rem;
    -webkit-overflow-scrolling: touch;
  }
  .adlab__row .adframe {
    flex: 0 0 min(78%, 340px);
    scroll-snap-align: center;
  }
  .adframe--win { scale: 1; }
}

/* ---------- Method: steps + testing board (services.html) ---------- */

.engine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.steps { list-style: none; }
.step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.5rem;
  border-block-start: 1px solid var(--dark-line);
}
.step__no {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-block-start: .3rem;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-block-end: .35rem;
}
.step p { font-size: var(--fs-small); color: #A5A29A; max-inline-size: 46ch; }

.board {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-big);
  padding: 1.5rem;
  position: sticky;
  inset-block-start: 100px;
}
.board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-block-end: 1.25rem;
}
.board__live { display: inline-flex; align-items: center; gap: .5em; color: #EDEAE3; }
.board__live i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .board__live i { animation: blink 1.6s ease-in-out infinite; }
}
@keyframes blink { 50% { opacity: .3; } }

.board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
}
.bcell {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  text-align: center;
  padding: .4rem;
}
.bcell span { font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.bcell i {
  font-style: normal;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.bcell.is-cut { opacity: .38; }
.bcell.is-cut span { text-decoration: line-through; }
.bcell.is-testing { border-style: dashed; border-color: #4A4740; }
.bcell.is-next { border-style: dashed; }
.bcell.is-next i { color: var(--accent); }
.bcell.is-winner {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.bcell.is-winner i { color: var(--ink); }

/* scanning sweep, cell by cell */
.bcell::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  border: 1px solid transparent;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .bcell::after { animation: scan 9.6s linear infinite; }
  .board__grid .bcell:nth-child(2)::after { animation-delay: 1.2s; }
  .board__grid .bcell:nth-child(3)::after { animation-delay: 2.4s; }
  .board__grid .bcell:nth-child(4)::after { animation-delay: 3.6s; }
  .board__grid .bcell:nth-child(5)::after { animation-delay: 4.8s; }
  .board__grid .bcell:nth-child(6)::after { animation-delay: 6s; }
  .board__grid .bcell:nth-child(7)::after { animation-delay: 7.2s; }
  .board__grid .bcell:nth-child(8)::after { animation-delay: 8.4s; }
}
@keyframes scan {
  0%, 10% { border-color: rgba(255, 68, 0, .75); box-shadow: 0 0 18px rgba(255, 68, 0, .12); }
  14%, 100% { border-color: transparent; box-shadow: none; }
}

.board__foot {
  margin-block-start: 1.25rem;
  font-size: var(--fs-tiny);
  color: var(--grey-dark);
}

@media (max-width: 900px) {
  .engine { grid-template-columns: minmax(0, 1fr); }
  .board { position: static; }
}
@media (max-width: 520px) {
  .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcell { aspect-ratio: auto; padding-block: 1rem; }
}

/* ---------- FAQ page ---------- */

.container--narrow { max-inline-size: 860px; }

.section--faqgroup { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.section--faqgroup:last-of-type { padding-block-end: clamp(3rem, 6vw, 5rem); }

.faq { margin-block-start: 1rem; }
.faq__item { border-block-start: 1px solid var(--line); }
.faq__item:last-child { border-block-end: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.25rem;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  inline-size: 34px;
  block-size: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.faq__body { padding-block-end: 1.5rem; }
.faq__body p { color: var(--muted); max-inline-size: 62ch; font-size: var(--fs-small); }
.faq__body a { color: var(--ink); text-underline-offset: 3px; }
.faq__body strong { color: var(--ink); }

.hero__sub a { color: var(--ink); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after { transition: none; }
}

/* ---------- About page ---------- */

.prose {
  max-inline-size: 54ch;
  color: var(--muted);
  font-size: 1.0625rem;
}
.prose p + p { margin-block-start: 1em; }

/* Index rows on a dark panel */
.index--dark .index__row { border-color: var(--dark-line); }
.index--dark .index__row:last-child { border-block-end-color: var(--dark-line); }
.index--dark .index__row:hover { background: rgba(255, 255, 255, .04); }
.index--dark .index__no { color: var(--accent); }
.index--dark .index__d { color: #A5A29A; }

.fitgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.fitcol__t {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-block-end: .5rem;
}
.fitlist { list-style: none; }
.fitlist li {
  position: relative;
  padding-block: .8rem;
  padding-inline-start: 1.9rem;
  border-block-start: 1px solid var(--line);
  font-size: 1.0625rem;
}
.fitlist li:last-child { border-block-end: 1px solid var(--line); }
.fitlist li::before {
  position: absolute;
  inset-inline-start: 0;
  font-weight: 700;
}
.fitlist--yes li::before { content: "✓"; color: var(--accent-text); }
.fitlist--no li { color: var(--muted); }
.fitlist--no li::before { content: "×"; color: var(--grey); font-size: 1.2em; line-height: 1.3; }

/* Most agencies vs us */
.versus { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.versus__head,
.versus__row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: 1.1rem;
}
.versus__head {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  padding-block-end: .6rem;
}
.versus__head span:last-child { color: var(--ink); }
.versus__row { border-block-start: 1px solid var(--line); }
.versus__row:last-child { border-block-end: 1px solid var(--line); }
.versus__k {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.versus__them { color: var(--faint); font-size: 1rem; }
.versus__them::before { content: "× "; color: var(--grey); font-weight: 700; }
.versus__us { font-size: 1.0625rem; font-weight: 500; }
.versus__us::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }

@media (max-width: 820px) {
  .fitgrid { grid-template-columns: minmax(0, 1fr); }
  .versus__head { display: none; }
  .versus__row { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}

/* ---------- Not offered (services.html) ---------- */

.section--nope { padding-block-start: clamp(2rem, 4vw, 3rem); }
.nope {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.5rem;
  margin-block-start: clamp(1.75rem, 3.5vw, 2.5rem);
}
.nope li {
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}
.nope__note {
  margin-block-start: clamp(1.5rem, 3vw, 2rem);
  font-size: 1.0625rem;
  color: var(--muted);
  max-inline-size: 54ch;
  border-block-start: 1px solid var(--line);
  padding-block-start: 1.25rem;
}
.nope__note strong { color: var(--ink); }

.problem__aside a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Placements ---------- */

.place-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr .82fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: end;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.place__frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.place__frame img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.place__frame--sq { aspect-ratio: 1 / 1; }
.place__frame--p45 { aspect-ratio: 4 / 5; }
.place__frame--story { aspect-ratio: 9 / 16; }
.place__tag {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-start: 10px;
}
.place__label {
  margin-block-start: .75rem;
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Stories chrome on the 9:16 frame */
.story__bars {
  position: absolute;
  inset-block-start: 10px;
  inset-inline: 10px;
  display: flex;
  gap: 4px;
}
.story__bars i {
  flex: 1;
  block-size: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
}
.story__bars i.is-on { background: rgba(255, 255, 255, .95); }
.story__top {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.story__avatar {
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--accent), #FFB380, var(--ink), var(--accent));
  border: 1.5px solid rgba(255, 255, 255, .85);
}
.story__top strong { font-size: .75rem; letter-spacing: -.01em; }
.story__top em { font-style: normal; font-size: .7rem; opacity: .65; }
.story__cta {
  position: absolute;
  inset-block-end: 12px;
  inset-inline: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .65em 1em;
  border-radius: var(--r-pill);
}

@media (max-width: 640px) {
  .place-row { grid-template-columns: 1fr 1fr; }
  .place:last-child { grid-column: 1 / -1; max-inline-size: 60%; }
}

/* ---------- Verticals ---------- */

.vert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.vert { text-decoration: none; display: block; }
.vert__frame {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}
.vert__frame img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.vert:hover .vert__frame img { transform: scale(1.05); }
.vert__t {
  margin-block-start: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.vert__d {
  margin-block-start: .35rem;
  font-size: var(--fs-small);
  color: var(--muted);
  max-inline-size: 40ch;
}
.vert-note {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  font-size: var(--fs-small);
  color: var(--faint);
  border-block-start: 1px solid var(--line);
  padding-block-start: 1.25rem;
}
.vert-note a { color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 820px) {
  .vert-grid { grid-template-columns: minmax(0, 1fr); max-inline-size: 420px; }
}

/* ---------- Big marquee band ---------- */

.bigmarquee {
  overflow: hidden;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-block: 1px solid var(--line);
}
.bigmarquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  white-space: nowrap;
  will-change: transform;
}
.bigmarquee__track span {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.bigmarquee__track svg {
  inline-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .bigmarquee__track { animation: marquee 26s linear infinite; }
}
@supports not (-webkit-text-stroke: 2px black) {
  .bigmarquee__track span { color: var(--grey); }
}

/* ---------- What happens next ---------- */

.nextsteps { padding-block-start: clamp(3.5rem, 7vw, 6rem); }
.next-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.next {
  border-block-start: 1px solid var(--ink);
  padding-block-start: 1.25rem;
}
.next__no {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.next__t {
  margin-block-start: .75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.next__d {
  margin-block-start: .5rem;
  font-size: var(--fs-small);
  color: var(--muted);
  max-inline-size: 40ch;
}

@media (max-width: 820px) {
  .next-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Growth ---------- */

.growth__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.growth__chart svg { inline-size: 100%; block-size: auto; }
.growth__gtext {
  font-family: var(--font-stack);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  fill: var(--faint);
}
.growth__gtext--hot { fill: var(--accent-text); }
.growth__gtext--ink { fill: var(--ink); }
.gchip rect { filter: drop-shadow(0 4px 10px rgba(20, 20, 18, .08)); }

.growth__links {
  margin-block-start: clamp(1.75rem, 3.5vw, 2.5rem);
}
.growl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  border-block-start: 1px solid var(--ink);
  padding-block: 1.1rem;
  text-decoration: none;
  transition: background-color .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.growl:last-child { border-block-end: 1px solid var(--ink); }
.growl:hover { background: rgba(255, 255, 255, .6); transform: translateX(.6rem); }
.growl__t {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.015em;
}
.growl__d {
  grid-column: 1;
  font-size: var(--fs-small);
  color: var(--muted);
}
.growl__a {
  grid-row: 1 / 3;
  grid-column: 2;
  inline-size: 26px;
  color: var(--ink);
  transition: transform .25s ease, color .25s ease;
}
.growl:hover .growl__a { transform: translate(4px, -4px); color: var(--accent-text); }

@media (max-width: 900px) {
  .growth__grid { grid-template-columns: minmax(0, 1fr); }
  .growth__chart { max-inline-size: 420px; }
}

/* ---------- Statement / why ---------- */

.why { padding-block-start: clamp(3rem, 6vw, 5rem); }
.bigstate {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.bigstate > span { display: block; }
.bigstate__l1, .bigstate__l2 {
  font-size: var(--fs-statement);
  text-transform: uppercase;
}
.bigstate__l3 {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  letter-spacing: -.01em;
  margin-block-start: 1rem;
  font-weight: 600;
}
.bigstate__l3 em { font-style: normal; color: var(--accent-text); }

.why__rows {
  list-style: none;
  margin-block-start: clamp(2rem, 4vw, 3rem);
}
.why__row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem 2rem;
  border-block-start: 1px solid var(--line);
  padding-block: 1.1rem;
  align-items: baseline;
}
.why__row:last-child { border-block-end: 1px solid var(--line); }
.why__k {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.why__v { font-size: 1.0625rem; font-weight: 500; }

@media (max-width: 640px) {
  .why__row { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}

/* ---------- Close / booking ---------- */

.close {
  background: radial-gradient(110% 120% at 88% 8%, #FF6B33 0%, var(--accent) 48%, #E63D00 100%);
  color: var(--ink);
  padding-block: var(--space-section);
}
.close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.close__h {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin-block-start: 1rem;
}
.close__sub {
  margin-block-start: 1.25rem;
  font-size: 1.125rem;
  max-inline-size: 44ch;
  color: rgba(20, 20, 18, .82);
}
.close__points {
  list-style: none;
  margin-block-start: 1.75rem;
}
.close__points li {
  font-size: var(--fs-small);
  font-weight: 600;
  padding-block: .5rem;
  padding-inline-start: 1.6rem;
  position: relative;
  border-block-start: 1px solid rgba(20, 20, 18, .18);
}
.close__points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  font-weight: 700;
}

.bookform {
  background: var(--white);
  border-radius: var(--r-big);
  box-shadow: var(--shadow-deep);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.bookform__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-block-end: 1.5rem;
}
.bookform__field { margin-block-end: 1rem; }
.bookform__field label {
  display: block;
  font-size: var(--fs-tiny);
  font-weight: 600;
  margin-block-end: .35rem;
}
.optional { font-weight: 400; color: var(--faint); }
.bookform__field input,
.bookform__field select,
.bookform__field textarea {
  inline-size: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #FAF9F6;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7em .9em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bookform__field input:focus,
.bookform__field select:focus,
.bookform__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 18, .12);
}
.bookform__field .is-invalid { border-color: var(--error); }
.bookform__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .75rem;
}
.bookform__notice {
  font-size: var(--fs-tiny);
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8em 1em;
  margin-block-end: 1rem;
}
.bookform__hp { position: absolute; inset-inline-start: -9999px; }
.bookform__errors {
  font-size: var(--fs-tiny);
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: 12px;
  padding: .8em 1em;
  margin-block-end: 1rem;
}
.bookform__errors a { color: inherit; }
.bookform__reassure {
  margin-block-start: .75rem;
  font-size: var(--fs-tiny);
  color: var(--faint);
  text-align: center;
}
.bookform__alt {
  margin-block-start: .35rem;
  font-size: var(--fs-tiny);
  color: var(--faint);
  text-align: center;
}
.bookform__success {
  margin-block-start: 1rem;
  background: var(--ink);
  color: #EDEAE3;
  border-radius: 12px;
  padding: 1em 1.2em;
  font-size: var(--fs-small);
}

@media (max-width: 900px) {
  .close__grid { grid-template-columns: minmax(0, 1fr); }
  .bookform__row { grid-template-columns: minmax(0, 1fr); }
}

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

.footer {
  padding-block-start: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.footer__wordmark {
  font-size: clamp(4rem, 17.5vw, 16rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .85;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  user-select: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  border-block-start: 1px solid var(--line);
  margin-block-start: clamp(2rem, 5vw, 4rem);
  padding-block: 2.5rem;
}
.footer__tag { font-weight: 600; letter-spacing: -.01em; }
.footer__col h4 {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-block-end: .75rem;
}
.footer__col a {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
  text-decoration: none;
  padding-block: .25rem;
}
.footer__col a:hover { color: var(--ink); }
.footer__col p { font-size: var(--fs-small); color: var(--muted); }
.footer__col .tbc { margin-block-end: .5rem; }
.footer__mark {
  flex-basis: 100%;
  font-size: var(--fs-tiny);
  color: var(--faint);
  max-inline-size: 72ch;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  border-block-start: 1px solid var(--line);
  padding-block: 1.5rem 2rem;
  font-size: var(--fs-tiny);
  color: var(--faint);
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Draft placeholders — visible, unmistakably unfinished */
.tbc {
  display: inline-block;
  border: 1px dashed var(--grey);
  border-radius: 8px;
  padding: .2em .6em;
  font-size: var(--fs-tiny);
  color: var(--faint);
}
.tbc-link { text-decoration-style: dashed; color: var(--faint); }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 80;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(241, 239, 234, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block-start: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
@media (min-width: 820px) {
  .sticky-cta { display: none; }
}

/* ==========================================================================
   Motion system.
   Grammar, not one entrance: statements rise out of line masks, imagery
   settles from a crop, rows rise plainly with a beat of stagger, and two
   authored sequences carry the product story — the hero ad "going live"
   and the growth chart drawing itself. JS-gated so no-JS never hides content.
   ========================================================================== */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .d1 { transition-delay: .07s; }
html.js .d2 { transition-delay: .14s; }
html.js .d3 { transition-delay: .21s; }
html.js .d4 { transition-delay: .3s; }

/* stagger inside grids and rows — lists appear as lists */
html.js .index .reveal:nth-child(2),
html.js .why__rows .reveal:nth-child(2),
html.js .growth__links .reveal:nth-child(2) { transition-delay: .09s; }
html.js .index .reveal:nth-child(3),
html.js .why__rows .reveal:nth-child(3),
html.js .growth__links .reveal:nth-child(3) { transition-delay: .18s; }
html.js .index .reveal:nth-child(4),
html.js .why__rows .reveal:nth-child(4),
html.js .growth__links .reveal:nth-child(4) { transition-delay: .27s; }
html.js .why__rows .reveal:nth-child(5) { transition-delay: .36s; }

/* --- Statements rise out of their own line masks --- */

html.js .statement.reveal,
html.js .bigstate.reveal {
  opacity: 1;
  transform: none;
  overflow: hidden;
  transition: none;
}
html.js .statement.reveal > span,
html.js .bigstate.reveal > span {
  transform: translateY(112%);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.js .statement.reveal > span:nth-child(2),
html.js .bigstate.reveal > span:nth-child(2) { transition-delay: .1s; }
html.js .bigstate.reveal > span:nth-child(3) { transition-delay: .2s; }
html.js .statement.reveal.in > span,
html.js .bigstate.reveal.in > span { transform: translateY(0); }

/* --- Imagery settles from a crop --- */

html.js .reveal .adframe__media img,
html.js .reveal .place__frame img,
html.js .reveal .vert__frame img {
  clip-path: inset(9% 6% 9% 6% round 10px);
  transform: scale(1.1);
  transition: clip-path .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}
html.js .reveal.in .adframe__media img,
html.js .reveal.in .place__frame img,
html.js .reveal.in .vert__frame img {
  clip-path: inset(0 0 0 0 round 0);
  transform: none;
}

/* --- Focal sequence: the hero ad goes live ---
   Fires once via the observer the moment the page settles: media crop
   opens, the winner tag stamps on, the Shop-now bar slides up, and the
   budget sparkline draws toward its arrow. --- */

html.js .hero__right .adframe__media img { transition-delay: .25s; }

html.js .hero__right .tag--winner {
  opacity: 0;
  transform: scale(1.7) rotate(-8deg);
  transition: opacity .3s ease .95s, transform .38s cubic-bezier(.3, 1.4, .5, 1) .95s;
}
html.js .hero__right.in .tag--winner { opacity: 1; transform: none; }

html.js .hero__right .adframe__cta {
  transform: translateY(108%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1) 1.15s;
}
html.js .hero__right.in .adframe__cta { transform: none; }

html.js .hero__spark .spark__line { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset .8s ease-out 1.4s; }
html.js .hero__spark .spark__tip { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .3s ease-out 2.1s; }
html.js .hero__right.in .spark__line,
html.js .hero__right.in .spark__tip { stroke-dashoffset: 0; }

/* --- Authored moment: the growth chart draws itself upward --- */

html.js .growth__chart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .growth__chart .growth__line { transition: stroke-dashoffset 1.2s cubic-bezier(.45, 0, .25, 1) .15s; }
html.js .growth__chart .growth__hot { transition: stroke-dashoffset .55s ease-out 1.2s; }
html.js .growth__chart .growth__arrowtip { transition: stroke-dashoffset .3s ease-out 1.75s; }
html.js .growth__chart.in path { stroke-dashoffset: 0; }

html.js .growth__chart .gchip { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
html.js .growth__chart .gchip:nth-of-type(1) { transition-delay: .55s; }
html.js .growth__chart .gchip:nth-of-type(2) { transition-delay: 1s; }
html.js .growth__chart .gchip:nth-of-type(3) { transition-delay: 1.8s; }
html.js .growth__chart.in .gchip { opacity: 1; transform: none; }

/* --- Staged reveal: the ad lab row tells cut → testing → winner --- */

html.js .reveal--stage { transform: none; transition: opacity .4s ease; }
html.js .reveal--stage .adframe {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}
html.js .reveal--stage .adframe--testing { transition-delay: .15s; }
html.js .reveal--stage .adframe--win { transition-delay: .3s; }
html.js .reveal--stage.in .adframe { opacity: 1; transform: none; }
html.js .reveal--stage.in .adframe--cut { opacity: .82; }

html.js .reveal--stage .adframe--win .tag--winner {
  opacity: 0;
  transform: scale(1.6) rotate(-8deg);
  transition: opacity .3s ease .85s, transform .35s cubic-bezier(.3, 1.4, .5, 1) .85s;
}
html.js .reveal--stage.in .adframe--win .tag--winner { opacity: 1; transform: none; }

/* --- Feedback --- */

.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
}
.bookform__errors:not([hidden]),
.bookform__success:not([hidden]),
.bookform__notice:not([hidden]) { animation: msg-in .3s cubic-bezier(.16, 1, .3, 1); }

/* FAQ accordions glide open where supported; open instantly elsewhere */
:root { interpolate-size: allow-keywords; }
.faq__item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .35s cubic-bezier(.16, 1, .3, 1), content-visibility .35s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Tilt + cursor spotlight (JS drives the vars) ---------- */

.tilt { transform-style: preserve-3d; }
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 68, 0, .09), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

/* ---------- Reduced motion: everything decorative stands still ---------- */

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal--stage .adframe,
  html.js .statement.reveal > span,
  html.js .bigstate.reveal > span,
  html.js .hero__right .tag--winner,
  html.js .reveal--stage .adframe--win .tag--winner,
  html.js .hero__right .adframe__cta { opacity: 1; transform: none; transition: none; }
  html.js .reveal--stage .adframe--cut { opacity: .82; }
  html.js .reveal .adframe__media img,
  html.js .reveal .place__frame img,
  html.js .reveal .vert__frame img { clip-path: none; transform: none; transition: none; }
  html.js .growth__chart path,
  html.js .hero__spark .spark__line,
  html.js .hero__spark .spark__tip { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  html.js .growth__chart .gchip { opacity: 1; transform: none; transition: none; }
  html.js .hline__in { transform: none; animation: none; }
  .btn, .spot::after, .growl, .index__row { transition: none; }
  .faq__item::details-content { transition: none; }
  .bookform__errors:not([hidden]),
  .bookform__success:not([hidden]),
  .bookform__notice:not([hidden]) { animation: none; }
  .ticker { rotate: 0deg; scale: 1; }
}

/* ==========================================================================
   Sub-pages (pricing.html) — page head + pricing cards.
   Content source: .claude/context/04-pricing.md (website version).
   ========================================================================== */

/* Page head variant: same hero type, tighter bottom */
.hero--sub { padding-block-end: clamp(1.5rem, 3vw, 2.5rem); }
.accent-dot { color: var(--accent); -webkit-text-stroke: 2px var(--accent); }

.section--tiers { padding-block-start: clamp(2.5rem, 5vw, 4rem); }

.price-notes {
  margin-block-start: 2.5rem;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--muted);
  max-inline-size: 680px;
  margin-inline: auto;
}
.price-notes p + p { margin-block-start: .75rem; }

.section--included { padding-block-start: clamp(2rem, 4vw, 3rem); }

/* Guarantee body — used once the commented block in pricing.html is approved */
.guarantee__body {
  margin-block-start: 1.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  max-inline-size: 36ch;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  padding: 2rem 1.75rem;
}
.price--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #EDEAE3;
  box-shadow: var(--shadow-deep);
}
.price__badge {
  position: absolute;
  inset-block-start: -0.85rem;
  inset-inline-start: 1.75rem;
  background: var(--accent);
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4em .9em;
  border-radius: var(--r-pill);
}
.price__name {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-block-end: 1rem;
}
.price--featured .price__name { color: var(--grey-dark); }
.price__fig { font-size: var(--fs-small); color: var(--muted); }
.price--featured .price__fig { color: #A5A29A; }
.price__amount {
  display: inline-block;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-inline-end: .1em;
}
.price--featured .price__amount { color: #fff; }
.price__pct { display: block; margin-block-start: .2rem; }
.price__setup { font-size: var(--fs-tiny); color: var(--faint); margin-block-start: .75rem; }
.price--featured .price__setup { color: var(--grey-dark); }
.price__setup s { margin-inline-end: .5em; }
.price__setup strong { color: var(--accent-text); }
.price--featured .price__setup strong { color: var(--accent); }
.price__prev { font-size: var(--fs-tiny); font-weight: 600; margin-block-start: 1.25rem; color: var(--faint); }
.price--featured .price__prev { color: var(--grey-dark); }
.price__list { list-style: none; margin-block: .75rem 1.5rem; flex-grow: 1; }
.price__list li {
  font-size: var(--fs-small);
  padding-block: .55rem;
  padding-inline-start: 1.5rem;
  border-block-start: 1px solid var(--line);
  position: relative;
}
.price--featured .price__list li { border-color: var(--dark-line); }
.price__list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent-text);
  font-weight: 700;
}
.price--featured .price__list li::before { color: var(--accent); }
@media (max-width: 980px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); max-inline-size: 520px; margin-inline: auto; }
  .price--featured { order: -1; }
}

/* ==========================================================================
   Legal document pages (privacy / cookies / terms)
   ========================================================================== */

.footer--doc { padding-block-start: clamp(2rem, 4vw, 3rem); }
.footer--doc .footer__grid { margin-block-start: 0; }

.legaldoc { max-inline-size: 70ch; }
.legaldoc h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.015em;
  border-block-start: 1px solid var(--line);
  padding-block-start: 1.5rem;
  margin-block: 2.25rem 0.75rem;
}
.legaldoc h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-block: 1.5rem .4rem;
}
.legaldoc p { color: var(--muted); margin-block: .75rem; }
.legaldoc strong { color: var(--ink); }
.legaldoc a { color: var(--ink); text-underline-offset: 3px; }
.legaldoc ul, .legaldoc ol { margin-block: .75rem; padding-inline-start: 1.4rem; color: var(--muted); }
.legaldoc li { margin-block: .35rem; }
.legaldoc li strong { color: var(--ink); }
.legaldoc .tablewrap { overflow-x: auto; margin-block: 1rem; }
.legaldoc table { border-collapse: collapse; inline-size: 100%; font-size: var(--fs-small); }
.legaldoc th {
  text-align: left;
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  border-block-end: 1px solid var(--ink);
  padding: .6rem .9rem .6rem 0;
}
.legaldoc td {
  border-block-end: 1px solid var(--line);
  padding: .6rem .9rem .6rem 0;
  color: var(--muted);
  vertical-align: top;
}

/* ---------- Accent word — one orange touch per headline, no more ---------- */

.aw { color: var(--accent-text); }
.aw.outline, .outline .aw { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.section--dark .aw { color: var(--accent); }

/* ---------- Problem intro sits under the title ---------- */

.problem__aside--below {
  margin-block-start: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-inline-size: 52ch;
  padding-block-end: 0;
}

/* ---------- Service areas as rounded cards (services.html) ---------- */

.svcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.svcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.svcard__no {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .3em .8em;
}
.svcard h3 {
  margin-block-start: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.svcard p {
  margin-block-start: .5rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- About: prose in two columns under its statement ---------- */

.prose--cols {
  max-inline-size: none;
  columns: 2;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  margin-block-start: clamp(1.75rem, 3.5vw, 2.5rem);
}
.prose--cols p { break-inside: avoid; margin-block: 0 1em; }
@media (max-width: 820px) {
  .prose--cols { columns: 1; }
}

/* ==========================================================================
   About v2 — shapes and structure
   ========================================================================== */

/* Why-exist: prose beside the attention-split diagram */
.exist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-block-start: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .exist-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The attention-split diagram */
.split {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}
.split__t {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.split__label {
  font-size: var(--fs-tiny);
  font-weight: 700;
  color: var(--faint);
  margin-block: 1.25rem .5rem;
}
.split__group:last-child .split__label { color: var(--accent-text); }
.split__row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) 3.2rem;
  align-items: center;
  gap: .75rem;
  margin-block-end: .5rem;
}
.split__name {
  font-size: var(--fs-tiny);
  font-weight: 700;
  color: var(--muted);
}
.split__row i {
  font-style: normal;
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--faint);
  text-align: right;
}
.split__track {
  display: block;
  block-size: 18px;
  border-radius: 9px;
  background: var(--bone);
  overflow: hidden;
}
.split__fill {
  display: block;
  block-size: 100%;
  inline-size: var(--w, 100%);
  border-radius: 9px;
  background: var(--sand);
  transform-origin: left center;
}
.split__fill--full { background: var(--accent); }
.split__group:last-child .split__row i { color: var(--accent-text); }
html.js .reveal .split__fill { transform: scaleX(0); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
html.js .reveal.in .split__fill { transform: scaleX(1); }
html.js .reveal.in .split__row:nth-child(3) .split__fill { transition-delay: .06s; }
html.js .reveal.in .split__row:nth-child(4) .split__fill { transition-delay: .12s; }
html.js .reveal.in .split__row:nth-child(5) .split__fill { transition-delay: .18s; }
html.js .reveal.in .split__row:nth-child(6) .split__fill { transition-delay: .24s; }
html.js .reveal.in .split__group:last-child .split__fill { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal .split__fill { transform: none; transition: none; }
}

/* Fit: paired cards instead of bare lists */
.fitcol--yes-card,
.fitcol--no-card {
  border-radius: var(--r-big);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.fitcol--yes-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.fitcol--no-card {
  background: var(--dark);
  color: #EDEAE3;
}
.fitcol--no-card .fitcol__t { color: var(--grey-dark); }
.fitcol--no-card .fitlist li { border-color: var(--dark-line); color: #A5A29A; }
.fitcol--no-card .fitlist li:last-child { border-block-end-color: var(--dark-line); }

/* Rhythm: timeline rail with orange stops */
.timeline {
  position: relative;
  padding-inline-start: 2.25rem;
  margin-block-start: clamp(2rem, 4vw, 3rem);
}
.timeline::before {
  content: "";
  position: absolute;
  inset-block: .9rem;
  inset-inline-start: 5px;
  inline-size: 2px;
  background: var(--line);
}
.timeline .why__row { position: relative; border-block-start-color: transparent; }
.timeline .why__row + .why__row { border-block-start-color: var(--line); }
.timeline .why__row:last-child { border-block-end: 0; }
.timeline .why__row::before {
  content: "";
  position: absolute;
  inset-inline-start: -2.25rem;
  inset-block-start: 1.55rem;
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bone);
}

/* ---------- About: image band + rule cards ---------- */

.imgband {
  position: relative;
  margin-block: clamp(1rem, 2vw, 1.5rem);
}
.imgband img {
  inline-size: 100%;
  block-size: clamp(220px, 32vw, 420px);
  object-fit: cover;
  display: block;
}
.imgband__cap {
  position: absolute;
  inset-block-end: clamp(1rem, 2.5vw, 1.75rem);
  inset-inline-start: clamp(1.25rem, 3vw, 2.5rem);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 235, 225, .95);
}

.rulegrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.rulecard {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-card);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform .25s ease, border-color .25s ease;
}
.rulecard:hover { transform: translateY(-3px); border-color: #4A4740; }
.rulecard__no {
  font-size: var(--fs-tiny);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.rulecard h3 {
  margin-block-start: .6rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #EDEAE3;
}
.rulecard p {
  margin-block-start: .3rem;
  font-size: var(--fs-small);
  color: #A5A29A;
}

/* ==========================================================================
   Form success — the card turns over into a thank-you
   ========================================================================== */

.bookform { position: relative; }
.bookform__body { transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
.bookform.is-done .bookform__body {
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  pointer-events: none;
  position: absolute;
  inset-inline: clamp(1.5rem, 3vw, 2.5rem);
  inset-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

.bookform__done { text-align: center; padding-block: clamp(.5rem, 2vw, 1.5rem); }

.done__check {
  inline-size: clamp(64px, 12vw, 84px);
  margin-inline: auto;
  overflow: visible;
}
.done__ring,
.done__tick { stroke-dasharray: 1; stroke-dashoffset: 1; }

.done__h {
  margin-block-start: 1.25rem;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.done__sub {
  margin-block-start: .9rem;
  font-size: var(--fs-small);
  color: var(--muted);
  max-inline-size: 42ch;
  margin-inline: auto;
}
.done__sub strong { color: var(--ink); }

.done__next {
  list-style: none;
  margin-block-start: 1.5rem;
  text-align: left;
  max-inline-size: 34ch;
  margin-inline: auto;
}
.done__next li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: baseline;
  gap: .5rem;
  padding-block: .6rem;
  border-block-start: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
}
.done__next li span {
  font-size: var(--fs-tiny);
  font-weight: 700;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.done__tip {
  margin-block-start: 1.25rem;
  font-size: var(--fs-tiny);
  color: var(--faint);
  max-inline-size: 40ch;
  margin-inline: auto;
}

/* --- the sequence: ring draws, tick snaps, content rises --- */
@media (prefers-reduced-motion: no-preference) {
  .bookform.is-done .done__ring { animation: draw .55s cubic-bezier(.4, 0, .2, 1) .12s forwards; }
  .bookform.is-done .done__tick { animation: draw .3s cubic-bezier(.2, .8, .3, 1) .6s forwards; }
  .bookform.is-done .done__check { animation: pop .45s cubic-bezier(.3, 1.3, .5, 1) .6s both; }
  .bookform.is-done .done__h,
  .bookform.is-done .done__sub,
  .bookform.is-done .done__next,
  .bookform.is-done .done__tip {
    opacity: 0;
    animation: rise .55s cubic-bezier(.16, 1, .3, 1) forwards;
  }
  .bookform.is-done .done__h { animation-delay: .78s; }
  .bookform.is-done .done__sub { animation-delay: .88s; }
  .bookform.is-done .done__next { animation-delay: .98s; }
  .bookform.is-done .done__tip { animation-delay: 1.1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.09); }
  100% { transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bookform__body, .bookform.is-done .bookform__body { transition: none; }
  .done__ring, .done__tick { stroke-dashoffset: 0; }
  .bookform.is-done .done__h,
  .bookform.is-done .done__sub,
  .bookform.is-done .done__next,
  .bookform.is-done .done__tip { opacity: 1; }
}

/* ==========================================================================
   Cookie consent bar
   ========================================================================== */

.cookiebar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 150;
  padding: clamp(.75rem, 2vw, 1.25rem);
  transform: translateY(110%);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.cookiebar.is-in { transform: none; }

.cookiebar__inner {
  max-inline-size: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: #EDEAE3;
  border-radius: var(--r-big);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-deep);
}
.cookiebar__h {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cookiebar__d {
  margin-block-start: .35rem;
  font-size: var(--fs-small);
  color: #A5A29A;
  max-inline-size: 68ch;
}
.cookiebar__d a { color: #EDEAE3; text-underline-offset: 3px; }
.cookiebar__actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookiebar__actions .btn--ghost { border-color: #4A4740; color: #EDEAE3; }
.cookiebar__actions .btn--ghost:hover { background: #EDEAE3; color: var(--ink); }

@media (max-width: 720px) {
  .cookiebar__inner { flex-direction: column; align-items: stretch; }
  .cookiebar__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookiebar { transition: none; }
}

/* keep the mobile sticky CTA clear of the bar while it's up */
body.cookiebar-open .sticky-cta { transform: translateY(110%); }

/* ---------- Direct booking (shown only when BOOKING_URL is configured) ---------- */

.bookdirect { margin-block-end: 1.5rem; }
.bookdirect__or {
  position: relative;
  text-align: center;
  margin-block-start: 1.25rem;
}
.bookdirect__or::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 0;
  block-size: 1px;
  background: var(--line);
}
.bookdirect__or span {
  position: relative;
  background: var(--white);
  padding-inline: .8em;
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}

.bookdirect__meta {
  margin-block-start: .6rem;
  text-align: center;
  font-size: var(--fs-tiny);
  color: var(--faint);
}

.bookform__lead {
  margin-block: -.9rem 1.4rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
