/* Hallmark · component: primary CTA · genre: playful · theme: MLA forest + leaf
   states: default · hover · focus · active · disabled · loading · error · success
   contrast: pass (40–41) · action/ink 8.73:1 · responsive: pass (34, 49, 51)
   tone: warm, optimistic, human
   pre-emit critique: P5 H5 E5 S5 R5 V5
   ============================================================ */

/* ============================================================
   MLA landing page — v2
   Alignment contract:
   - EVERY content block is a .shell. No exceptions, no ad-hoc padding.
   - .shell sets width + margin-inline:auto + padding-inline.
   - List resets use margin-block/padding-inline-start, NEVER `margin:0`,
     because `margin:0` destroys .shell's margin-inline:auto centring.
   - Sections own ALL vertical rhythm via --pad. Inner blocks use
     margin-bottom only, so paddings can never stack into dead space.
   ============================================================ */

/* Self-hosted DM Sans. v17 ships as a variable font, so one 37KB latin file
   covers 400/500/700 and removes the render-blocking round trip to
   fonts.googleapis.com that sat in the previous build's critical path. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  /* Palette carried from build 12. Contrast-verified:
     leaf action on deep forest = 8.73:1 · white on forest = 12.38:1
     ink on paper = 15.19:1 · muted on paper = 5.48:1 · ink on mint = 14.54:1 */
  --ground: #f7f8f4;        /* page ground (build 12 "paper") */
  --surface: #fafaf6;       /* raised light surface (build 12 "white") */
  --mint: #e4f7ee;           /* soft lift section */
  --forest: #0a3922;         /* forest — dark sections */
  --forest-deep: #062b1a;    /* deepest field */
  --action: oklch(80.39% 0.1969 127.5);       /* MLA leaf — primary action */
  --action-hover: oklch(84.59% 0.1786 125.4);
  --action-ink: oklch(25.78% 0.0526 159.1);
  --focus-outer: oklch(98.4% 0.0053 106.5);
  --state-error: oklch(45% 0.16 25);
  --state-success: oklch(42% 0.1 155);
  --ink: #13241b;
  --muted: #5b685f;          /* 5.48:1 on paper */
  --muted-dark: rgba(250, 250, 246, 0.78);   /* 7.76:1 on forest */
  --muted-dim: rgba(250, 250, 246, 0.62);
  --line: rgba(19, 36, 27, 0.16);
  --line-dark: rgba(250, 250, 246, 0.18);

  --shell: 1180px;
  --gutter: clamp(22px, 5vw, 48px);
  --pad: clamp(64px, 9vw, 104px);
  --head-gap: clamp(28px, 5vw, 40px);

  --display: "DM Sans", "Avenir Next", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;

  --sticky-space: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 120ms;
  --dur-short: 180ms;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--action); color: var(--action-ink); }
:focus-visible { outline: 3px solid var(--action-ink); outline-offset: 3px; }
.masthead :focus-visible,
.hero :focus-visible,
.dark :focus-visible,
.final :focus-visible,
.footer :focus-visible { outline-color: var(--focus-outer); }

h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0; }
h1, h2 { letter-spacing: -0.04em; color: var(--forest-deep); }
h2 { text-wrap: balance; }
h1 {
  font-size: clamp(3rem, 14.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.062em;
  min-width: 0;
  overflow-wrap: anywhere;
}
h1 strong { font-weight: 700; }
h2 { font-size: clamp(2.4rem, 9vw, 4.25rem); font-weight: 500; line-height: 1.0; letter-spacing: -0.055em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }

/* Hand-drawn marker underline. A real text-decoration reads flat and
   typographic; an absolutely-positioned bar with border-radius:50% becomes a
   flattened lens — thick in the middle, tapered at both ends — and the small
   rotation stops it looking like a rule. */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -0.06em;
  height: 0.075em;
  background: var(--action);
  border-radius: 50%;
  transform: rotate(-1.5deg);
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 40;
  padding: 12px 16px;
  background: var(--forest-deep); color: var(--surface);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ── The one layout primitive ───────────────────────────── */
.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--pad); }
.dark { background: var(--forest); color: var(--surface); }
.dark h2, .dark h3 { color: var(--surface); }

.block-head { margin-bottom: var(--head-gap); }

.eyebrow {
  margin-bottom: 22px;
  color: var(--muted-dim);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ── Buttons ────────────────────────────────────────────── */
.button {
  min-height: 56px;
  width: 100%;
  max-width: 460px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 15px 24px;
  border: 1px solid var(--action-ink); border-radius: 999px;
  background: var(--action); color: var(--action-ink);
  font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.button::after { content: "→"; font-weight: 700; font-family: "DM Sans", system-ui, "Segoe UI Symbol", sans-serif; }
.button:focus-visible,
.sticky-cta:focus-visible,
.video-play:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--action-ink), 0 0 0 6px var(--focus-outer);
}
.button:active { transform: translateY(1px); }
.button[aria-disabled="true"],
.sticky-cta[aria-disabled="true"],
.video-play:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.button[data-state="loading"] { cursor: wait; }
.button[data-state="loading"]::after {
  content: "";
  width: 0.9em; height: 0.9em;
  border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%;
  animation: button-spin 900ms linear infinite;
}
.button[data-state="error"] { background: var(--state-error); color: var(--surface); }
.button[data-state="error"]::after { content: "!"; }
.button[data-state="success"] { background: var(--state-success); color: var(--surface); }
.button[data-state="success"]::after { content: "✓"; }
@keyframes button-spin { to { transform: rotate(1turn); } }
.button-note {
  max-width: 460px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.dark .button-note, .hero .button-note { color: var(--muted-dim); }

/* ── Masthead ───────────────────────────────────────────── */
.masthead {
  min-height: 68px;
  display: grid; place-items: center;
  padding: 12px var(--gutter);
  background: var(--forest);
  border-bottom: 1px solid var(--line-dark);
}
.brand { display: block; width: min(74vw, 300px); }
.brand img {
  width: 100%;
  filter: brightness(0) invert(1);   /* logo reversed out on forest */
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-block: 0; background: var(--forest); color: var(--surface); }
.hero h1 { color: var(--surface); }
.hero-copy { padding-block: clamp(38px, 8vw, 68px) clamp(30px, 6vw, 48px); }
.lede {
  max-width: 40ch;
  margin: 26px 0 28px;
  font-size: clamp(1.125rem, 4vw, 1.375rem);
  line-height: 1.45;
  color: var(--muted-dark);
}
.hero-media { position: relative; margin: 0; background: var(--forest-deep); }
.hero-media img { width: 100%; aspect-ratio: 1.24; object-fit: cover; object-position: 62% 30%; }
.hero-media figcaption {
  position: absolute; right: 14px; bottom: 14px;
  padding: 7px 11px; border-radius: 11px;
  background: rgba(6, 43, 26, 0.9); color: var(--surface);
  font-size: 0.75rem;
}

/* ── Trust band ─────────────────────────────────────────── */
.trust { padding-block: clamp(20px, 3vw, 28px); background: var(--mint); color: var(--ink); }
.trust-inner { display: flex; justify-content: center; }
.trust-stat { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.trust-stat strong {
  font-family: var(--display); font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.04em; color: var(--forest);
}
.trust-stat span { color: var(--muted); font-size: 0.95rem; }
.trust-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ── Transformations ────────────────────────────────────── */
.results { background: var(--ground); overflow: hidden; }
.result-shell { padding-right: 0; }         /* mobile bleed — restored at 720 */
.result-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc(100% - 38px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.result-track::-webkit-scrollbar { display: none; }
.result-card {
  min-width: 0; overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface); border-radius: 16px;
}
.result-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.result-story { padding: 20px 20px 24px; }
.result-story h3 { color: var(--forest); font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.result-meta {
  margin: 8px 0 12px;
  color: var(--forest); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.result-card blockquote { margin: 0; color: var(--muted); font-style: italic; }
.result-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px var(--gutter) 0 0;
}
.result-hint { color: var(--muted); font-size: 0.79rem; }
.result-controls { display: flex; align-items: center; gap: 10px; }
.result-count { min-width: 48px; font-size: 0.79rem; font-variant-numeric: tabular-nums; }
.round {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--forest);
  cursor: pointer;
  transition: background-color 140ms ease-out;
}
.round:hover { background: rgba(19, 36, 27, 0.07); }
.round svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Numbered lists (programme + process) ───────────────── */
.numbered {
  list-style: none;
  margin-block: 0;              /* never `margin:0` — see contract */
  padding-inline-start: 0;
}
/* when the list IS the shell, the shell's gutter must win over the reset */
.numbered.shell { padding-inline: var(--gutter); }
/* A hairline above every row of a short list is the laziest separator there
   is, and it made this block read as the same component as the process flow
   further down. Spacing and a leaf numeral carry the grouping instead. */
.numbered li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding-block: 0 26px;
}
.numbered li:last-child { padding-bottom: 0; }
.numbered p { margin-top: 6px; color: var(--muted-dark); }
.num {
  color: var(--action); font-size: 1.15rem; font-weight: 700;
  line-height: 1.1; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.circled .num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%;
  color: var(--surface); font-size: 0.92rem;
}

/* ── Programme ──────────────────────────────────────────── */
.programme-grid { display: grid; gap: 36px; }
.programme-copy h2 { margin-bottom: 22px; }
.plan-media {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}
.plan-media img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 2 / 3; object-fit: cover; object-position: center;
  border-radius: 16px;
}
.plan-media figcaption, .food-strip figcaption {
  position: absolute; left: 12px; bottom: 12px;
  margin: 0; padding: 7px 11px; border-radius: 11px;
  background: var(--surface); color: var(--forest-deep);
  font-size: 0.78rem; font-weight: 700;
}
.food-wrap { margin-top: 44px; }
.food-strip {
  list-style: none;
  margin-block: 0;
  padding-inline-start: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.food-strip::-webkit-scrollbar { display: none; }
.food-strip li { scroll-snap-align: start; }
.food-strip figure { position: relative; margin: 0; }
.food-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.cta-row { margin-top: 40px; }

/* ── Reframe ────────────────────────────────────────────── */
.reframe { background: var(--surface); }
.reframe-grid { display: grid; gap: 34px; }
.reframe figure { margin: 0; }
.reframe img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.reframe-copy { align-self: center; }
.reframe-copy p { margin-top: 18px; max-width: 46ch; color: var(--muted); font-size: 1.06rem; }
.reframe-copy .button { margin-top: 28px; }

/* ── Process ────────────────────────────────────────────── */
/* Measure belongs on the heading, not on the .shell. `max-width` plus the
   shell's `margin-inline: auto` centres the whole box, which is what pushed
   this heading off the left edge its own steps sit on. */
.process .block-head h2 { max-width: 850px; }
.process-flow { position: relative; }
.process-flow li {
  position: relative;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding-block: 0 34px;
  border: 0;
}
.process-flow li:last-child { padding-bottom: 0; border: 0; }
.process-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--action);
  opacity: 0.48;
}
.process-flow .num {
  position: relative;
  z-index: 1;
  background: var(--forest);
  border-color: var(--action);
}
.process-flow h3 { padding-top: 7px; }
.process-flow p {
  margin-top: 12px;
  max-width: 42ch;
  text-wrap: pretty;
}
.process .cta-row { margin-top: clamp(36px, 5vw, 52px); }

/* ── Coaches ────────────────────────────────────────────── */
.coach-grid { display: grid; gap: 16px; }
.coach { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.coach img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.coach-name { padding: 18px 20px 20px; }
.coach-name p { margin-top: 3px; color: var(--muted); font-size: 0.9rem; }
.coach-roster { margin-top: 22px; max-width: 46ch; color: var(--muted); }
.coaches > .shell:last-child { margin-top: 0; }
.coach-roster strong { color: var(--forest); font-weight: 600; }

/* ── Video stories ──────────────────────────────────────── */
.video-grid {
  list-style: none;
  margin-block: 0;
  padding-inline-start: 0;
  display: grid; gap: 16px;
}
.video-card { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--forest-deep); border-radius: 16px;
}
.video-frame > img, .video-frame > iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border: 1px solid var(--action-ink); border-radius: 50%;
  background: var(--action); color: var(--action-ink);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.video-play:active { transform: translate(-50%, -50%) scale(0.97); }
.video-play svg { width: 26px; fill: currentColor; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 16px;
  color: var(--forest);
  font-family: var(--display); font-size: 1.06rem; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background:
    linear-gradient(var(--forest), var(--forest)) 50% 50% / 14px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) 50% 50% / 2px 14px no-repeat;
}
.faq details[open] summary::after { background-size: 14px 2px, 0 0; }
.faq details > div { padding-bottom: 20px; }
.faq details p { max-width: 62ch; padding-right: 34px; color: var(--muted); }

/* ── Final CTA ──────────────────────────────────────────── */
.final { background: var(--forest-deep); }
.final-grid { display: grid; gap: 38px; }
.final-copy > p { margin-top: 18px; max-width: 50ch; color: var(--muted-dark); }
.ticks { list-style: none; margin-block: 24px; padding-inline-start: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--action); border-bottom: 2px solid var(--action);
  transform: rotate(-45deg);
}
.capacity {
  max-width: 46ch;
  margin-bottom: 26px; padding-left: 16px;
  border-left: 2px solid var(--action);
  color: var(--muted-dark); font-size: 0.95rem;
}
.final-media { margin: 0; }
.final-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.final-media figcaption { margin-top: 10px; color: var(--muted-dark); font-size: 0.78rem; }

/* ── Press and industry proof ───────────────────────────── */
.press-proof-section {
  padding-block: clamp(34px, 5vw, 52px);
  background: var(--mint);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.press-proof-inner {
  display: grid;
  grid-template-columns: minmax(155px, 0.62fr) minmax(520px, 2.2fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
}
.press-proof-heading .trust-label { margin: 0 0 5px; }
.press-proof-title {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
}
.press-logo-row {
  display: grid;
  grid-template-columns: 0.58fr 1.25fr 1.38fr 0.67fr;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  min-width: 0;
}
.press-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 54px;
}
.press-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  filter: grayscale(1) brightness(0.35);
  opacity: 0.78;
}
.press-logo-cell--today .press-logo { width: 59px; }
.press-logo-cell--oprah .press-logo { width: 143px; }
.press-logo-cell--news .press-logo { width: 172px; }
.press-logo-cell--upworthy .press-logo { width: 64px; }
.industry-proof {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding-left: clamp(22px, 3vw, 36px);
  border-left: 1px solid color-mix(in srgb, var(--forest) 16%, transparent);
}
.industry-proof__label {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.industry-proof__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 5px 11px 4px;
  border-radius: 999px;
  background: var(--forest);
}
.industry-proof__mark img { width: 66px; height: 26px; object-fit: contain; }

@media (max-width: 1039px) {
  .press-proof-inner { grid-template-columns: 1fr auto; }
  .press-proof-heading { grid-column: 1 / -1; }
  .press-logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .trust-stat { gap: 6px 9px; }
  .trust-stat strong { font-size: 2.15rem; }
  .trust-stat span { font-size: 0.86rem; }

  .press-proof-section { padding-block: 30px 32px; }
  .press-proof-inner { display: block; }
  .press-proof-heading { text-align: center; }
  .press-proof-heading .trust-label { margin-bottom: 4px; }
  .press-proof-title { font-size: 1rem; }
  .press-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 16px;
  }
  .press-logo-cell { height: 56px; }
  .press-logo-cell--today .press-logo { width: 57px; }
  .press-logo-cell--oprah .press-logo { width: 124px; }
  .press-logo-cell--news .press-logo { width: 140px; }
  .press-logo-cell--upworthy .press-logo { width: 59px; }
  .industry-proof {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 12px;
    padding: 14px 0 0;
    border-top: 1px solid color-mix(in srgb, var(--forest) 16%, transparent);
    border-left: 0;
  }
  .industry-proof__label { font-size: 0.61rem; letter-spacing: 0.12em; }
  .industry-proof__mark { min-width: 81px; padding-inline: 10px; }
  .industry-proof__mark img { width: 63px; height: 25px; }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding-block: 32px; background: #041f13; color: var(--surface); }
.footer-grid { display: grid; gap: 20px; }
.footer-name { font-family: var(--display); font-weight: 600; }
.footer-place { margin-top: 2px; color: var(--muted-dark); font-size: 0.84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.86rem; }
.footer-links a { text-decoration: underline; }
.footer-note {
  max-width: 62ch;
  padding-top: 18px; border-top: 1px solid var(--line-dark);
  color: var(--muted-dim); font-size: 0.75rem; line-height: 1.5;
}

/* ── Sticky CTA ─────────────────────────────────────────── */
.sticky-cta { gap: 10px;
  position: fixed; left: 50%; z-index: 20;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: calc(100% - 32px); max-width: 360px; min-height: 52px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 12px;
  background: var(--action); color: var(--action-ink);
  border: 1px solid var(--action-ink);
  font-weight: 700; text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(4, 31, 19, 0.32);
  transform: translateX(-50%);
  transition: background-color var(--dur-short) var(--ease-out), transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
}
.sticky-cta:active { transform: translate(-50%, 1px); }
.sticky-cta.is-hidden {
  opacity: 0; pointer-events: none;
  transform: translate(-50%, calc(100% + 26px));
}

/* ── Mobile-only: room for the sticky bar ───────────────── */
@media (max-width: 719px) {
  /* padding lives on the dark footer, never on body — a cream
     body padding paints a stray strip under the dark footer. */
  .footer { padding-bottom: calc(32px + var(--sticky-space)); }
  .hero-media img { min-height: 320px; }
}

/* ── Tablet / small desktop ─────────────────────────────── */
@media (min-width: 720px) {
  .sticky-cta { display: none; }
  .result-shell { padding-right: var(--gutter); }
  .result-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  .result-nav { display: none; }

  .programme-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(46px, 6vw, 88px); }
  .plan-media { justify-self: end; margin-inline: 0; }
  /* equal columns => identical aspect-ratio heights => captions on one baseline */
  .food-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .cta-row { display: flex; justify-content: center; }

  .reframe-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(46px, 6vw, 88px); }

  .coach-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .faq-grid { grid-template-columns: 0.72fr 1.28fr; gap: clamp(40px, 5vw, 70px); }
  .final-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(46px, 5vw, 70px); }

  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links { justify-content: flex-end; }
  .footer-note { grid-column: 1 / -1; }

}

/* The process becomes one connected horizontal journey only when each
   step has enough reading width; tablet keeps the clearer vertical flow. */
@media (min-width: 900px) {
  .process-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .process-flow li {
    display: block;
    padding: 0;
  }
  .process-flow li:not(:last-child)::after {
    left: 40px;
    top: 19px;
    bottom: auto;
    width: calc(100% + 24px - 40px);
    height: 1px;
  }
  .process-flow h3 { margin-top: 24px; padding-top: 0; }
  .process-flow p { font-size: 0.97rem; }
}

/* ── Desktop ────────────────────────────────────────────── */
@media (min-width: 1040px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.9fr); align-items: stretch; }
  .hero-copy {
    width: 100%; max-width: none;
    margin-inline: 0;
    /* left edge lands exactly on the .shell content edge: (100vw - shell)/2 + gutter */
    padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))) var(--gutter);
    align-self: center;
  }
  .hero-media img { height: 100%; min-height: 620px; aspect-ratio: auto; }
  .faq details p { padding-right: 60px; }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .sticky-cta:hover,
  .video-play:hover {
    background: var(--action-hover);
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .button[data-state="loading"]::after { animation-duration: 1.5s !important; }
  .sticky-cta.is-hidden { transform: translateX(-50%); }
  .sticky-cta:hover,
  .sticky-cta:active { transform: translateX(-50%); }
  .video-play:hover,
  .video-play:active { transform: translate(-50%, -50%); }
}
