/* =========================================================
   For Good Nutrition — forgoodnutrition.co
   Reworked to the designer's HERO LANDING + SECTION INSPO.
   Display font: Perfectly Nineties (licensed web font, self-hosted).
   ========================================================= */

/* ---------- Perfectly Nineties (licensed, self-hosted web fonts) ---------- */
@font-face {
  font-family: "Perfectly Nineties";
  src: url("assets/fonts/PerfectlyNineties-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("assets/fonts/PerfectlyNineties-Italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("assets/fonts/PerfectlyNineties-Semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("assets/fonts/PerfectlyNineties-SemiboldItalic.woff") format("woff");
  font-weight: 600; font-style: italic; font-display: swap;
}

/* ---------- Roboto + Roboto Mono (Apache 2.0, self-hosted for GDPR) ---------- */
@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-latin-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-latin-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --forest: #171D12;
  --cream: #F9EAD5;
  --olive: #343C24;
  --lime: #D9E8A6;
  --lime-light: #ECF3D2;
  --lime-deep: #B9C97E;
  --cream-deep: #F0DCC0;
  --stone: #CFC6B4;
  --berry: #973674;
  --berry-light: #C95FA3;
  --berry-deep: #7c2a5f;
  --sky: #6F8EBF;
  --clay: #A77355;
  --amber: #D8A65D;
  --clay-soft: #8A5C40;

  --font-display: "Perfectly Nineties", Georgia, serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --s-xs: 8px; --s-s: 16px; --s-m: 24px; --s-l: 40px;
  --s-xl: 64px; --s-2xl: 96px; --s-3xl: 128px;
  --maxw: 1200px; --margin: 80px; --radius: 18px; --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.5;
  color: var(--cream); background: var(--forest);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.05; letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); }
h2 {
  font-family: var(--font-display); font-weight: 540;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.01em;
}
h3 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; }
.serif-intro { font-family: var(--font-display); font-style: italic; font-weight: 420; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.34; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 500; display: inline-block; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: clamp(var(--s-2xl), 11vw, var(--s-3xl)); position: relative; }
.g-forest { background: var(--forest); color: var(--cream); }
.g-cream  { background: var(--cream);  color: var(--forest); }
.g-olive  { background: var(--olive);  color: var(--cream); }
.g-lime   { background: var(--lime);   color: var(--forest); }
.g-cream .eyebrow, .g-lime .eyebrow { color: var(--olive); }
.g-forest .eyebrow, .g-olive .eyebrow { color: var(--lime-deep); }
.sec-head { max-width: 720px; margin-bottom: var(--s-xl); }
.sec-head h2 { max-width: 20ch; text-wrap: balance; }
#approach .sec-head h2 { max-width: 13ch; }   /* 2 lines */
#who .sec-head h2 { max-width: 16ch; }          /* 1 line */
#how .sec-head { max-width: 820px; }
#how .sec-head h2 { max-width: 21ch; }          /* 2 lines */
#isnot .sec-head h2 { max-width: 13ch; }        /* 2 lines */
.sec-head .eyebrow { margin-bottom: var(--s-s); }
.center { text-align: center; }
.center .sec-head { margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  padding: 22px var(--margin);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.scrolled { background: rgba(23,29,18,0.9); backdrop-filter: blur(10px); padding-block: 13px; box-shadow: 0 1px 0 rgba(217,232,166,0.12); }
.nav { display: flex; align-items: center; width: 100%; }
.nav__menu { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: var(--s-l); }
.nav__links { display: flex; gap: var(--s-l); align-items: center; }
.nav__links a:not(.btn) { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--cream); opacity: 0.85; transition: opacity 0.25s; }
.nav__links a:not(.btn):hover { opacity: 1; color: var(--lime); }
.nav .nav__toggle { display: none; }

/* Travelling logo: large in hero at rest, shrinks into nav centre on scroll (JS-driven) */
.flylogo { position: fixed; top: 0; left: 0; right: 0; z-index: 101; display: flex; justify-content: center; pointer-events: none; }
.flylogo img { width: 520px; max-width: 72vw; transform-origin: center top; pointer-events: auto; }
.flylogo { transition: opacity 0.25s var(--ease); }
.nav__toggle { position: relative; z-index: 120; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0.01em;
  padding: 15px 30px; border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--primary { background: var(--berry); color: var(--cream); box-shadow: 0 8px 24px rgba(151,54,116,0.32); }
.btn--primary:hover { background: var(--berry-deep); transform: translateY(-2px); }
.btn--primary:active { background: transparent; color: var(--berry-light); box-shadow: inset 0 0 0 2px var(--berry-light); }
.btn--ghost-lime { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.btn--ghost-lime:hover { background: var(--lime); color: var(--forest); }
.btn--ghost-forest { box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest); }
.btn--ghost-forest:hover { background: var(--forest); color: var(--cream); }
.btn--sm { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Greens texture (placeholder for brand greens photo) ---------- */
.greens {
  background-color: #1b2414;
  background-image:
    radial-gradient(38% 50% at 18% 28%, rgba(86,107,46,0.55), transparent 60%),
    radial-gradient(42% 55% at 78% 22%, rgba(58,78,34,0.6), transparent 62%),
    radial-gradient(50% 60% at 60% 82%, rgba(43,60,28,0.7), transparent 60%),
    radial-gradient(40% 50% at 28% 78%, rgba(73,96,44,0.5), transparent 60%),
    linear-gradient(160deg, #28341b, #11160d);
}

/* ---------- Hero ---------- */
.hero { min-height: 88svh; position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(23,29,18,0.65); /* Forest #171D12 at 65% */
}
.hero__inner { text-align: center; padding: 40px var(--margin) 0; max-width: 940px; margin-inline: auto; transform: translateY(-9vh); }
.hero h1 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); max-width: 26ch; margin-inline: auto; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 420; color: var(--lime); }
.hero__tagline { font-family: var(--font-body); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--cream); margin: var(--s-m) auto 0; max-width: 60ch; text-wrap: balance; }
.hero__cta { margin-top: var(--s-l); display: flex; gap: var(--s-s); justify-content: center; flex-wrap: wrap; }
.hero__cta-note { margin-top: var(--s-s); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(249,234,213,0.6); }

/* Hero load-in animation */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .h-anim { opacity: 0; animation: heroIn 0.9s var(--ease) forwards; }
.hero h1.h-anim { animation-delay: 0.12s; }
.hero .hero__tagline.h-anim { animation-delay: 0.26s; }
.hero .hero__cta.h-anim { animation-delay: 0.40s; }
.hero .hero__cta-note.h-anim { animation-delay: 0.52s; }

/* Coach photo — landscape, layered across the hero / about seam */
.coach {
  width: clamp(300px, 42vw, 500px); aspect-ratio: 3/2; margin: -40px auto 0;
  border-radius: var(--radius); overflow: hidden; position: relative; z-index: 3;
  background: linear-gradient(160deg, #3f4a2c, #222c19);
  box-shadow: 0 30px 60px rgba(0,0,0,0.34);
}
.coach img { width: 100%; height: 100%; object-fit: cover; }
.coach__tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); background: rgba(23,29,18,0.55); padding: 5px 9px; border-radius: 6px; }

/* ---------- About ---------- */
.about { padding-bottom: clamp(var(--s-2xl), 11vw, var(--s-3xl)); }
.about__eyebrow { display: block; text-align: center; margin-top: var(--s-l); margin-bottom: var(--s-xl); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); max-width: 1080px; margin: 0 auto; align-items: start; }
.about__lead h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: var(--s-s); }
.about__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--olive); }
.about__col p { color: rgba(23,29,18,0.78); }
.about__col p + p { margin-top: var(--s-m); }
.about .mark { color: var(--berry); font-style: italic; font-family: var(--font-display); }
.inline-link { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover { color: var(--berry-deep); }
.about__stat { margin-top: var(--s-l); display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); }
.about__stat b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--berry); letter-spacing: -0.02em; }

/* ---------- Who this is for ---------- */
.for-list { display: grid; gap: var(--s-s); max-width: 800px; }
.for-list li { list-style: none; display: flex; gap: var(--s-s); align-items: baseline; font-size: clamp(1.15rem,2vw,1.5rem); font-family: var(--font-display); font-weight: 460; letter-spacing: -0.01em; padding-block: var(--s-s); border-top: 1px solid rgba(249,234,213,0.16); }
.for-list li:last-child { border-bottom: 1px solid rgba(249,234,213,0.16); }
.for-list .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--lime-deep); flex: none; transform: translateY(-2px); }
/* "Who this is for" now sits on cream: flip the light borders/number to dark tints */
#who .for-list li { border-top-color: rgba(23,29,18,0.14); }
#who .for-list li:last-child { border-bottom-color: rgba(23,29,18,0.14); }
#who .for-list .num { color: var(--olive); }

/* ---------- Value pillars (My Approach) ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-m); margin-top: var(--s-xl); }
.pillars--3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, auto); column-gap: clamp(var(--s-m), 4vw, var(--s-xl)); row-gap: 14px; }
.pillar { display: flex; flex-direction: column; gap: 14px; }
/* 3-up approach pillars use subgrid so every row — icon, title, body, the Clay divider, quote and attribution — lines up across all three columns regardless of text length */
.pillars--3 .pillar { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
.pillar .ico { width: 52px; height: 52px; object-fit: contain; object-position: left center; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { font-size: 0.95rem; color: rgba(23,29,18,0.72); }
/* "My approach" now sits on olive: light body text on the dark bg */
#approach .pillar p { color: rgba(249,234,213,0.78); }
/* Proof snippet under each pillar — Clay accent signals testimonial (brand §4) */
.pillar__quote { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 12px; padding-top: var(--s-s); border-top: 1px solid rgba(167,115,85,0.5); }
.pillar__quote blockquote { font-family: var(--font-display); font-size: clamp(1.02rem, 1.2vw, 1.12rem); line-height: 1.45; color: rgba(249,234,213,0.92); }
.pillar__quote figcaption { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }

/* ---------- How it works (phases) ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-m); margin-top: var(--s-xl); }
.phase { background: rgba(249,234,213,0.06); border: 1px solid rgba(217,232,166,0.18); border-radius: var(--radius); padding: var(--s-l) var(--s-m) var(--s-m); display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.phase__n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--lime-deep); letter-spacing: 0.1em; }
.phase h3 { font-size: 1.35rem; color: var(--cream); }
.phase p { font-size: 0.97rem; color: rgba(249,234,213,0.78); }
.includes { margin-top: var(--s-xl); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2xl); align-items: start; }
.includes ul { list-style: none; display: grid; gap: 14px; }
.includes li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(249,234,213,0.16); }
.includes li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime-deep); flex: none; transform: translateY(-2px); }
.includes .note { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-deep); }
.offer-cta { margin-top: var(--s-xl); }
.offer-cta-wrap { display: inline-block; text-align: center; }
.offer-cta-note { margin-top: var(--s-s); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(249,234,213,0.6); }

/* ---------- Is / Is not ---------- */
.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,80px); margin-top: var(--s-l); }
.isnot__col h3 { margin-bottom: var(--s-m); }
.isnot__col ul { list-style: none; display: grid; gap: 14px; }
.isnot__col li { display: flex; gap: 12px; align-items: baseline; font-size: 1.06rem; padding-bottom: 12px; border-bottom: 1px solid rgba(52,60,36,0.16); }
.isnot .mk { flex: none; font-family: var(--font-mono); transform: translateY(-1px); }
.isnot .is .mk { color: var(--berry); }
.isnot .isnt .mk { color: var(--stone); }
.isnot .isnt li { color: rgba(23,29,18,0.62); }

/* ---------- Client stories (modular testimonial cards) ---------- */
.stories { position: relative; overflow: hidden; isolation: isolate; }
.stories::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23,29,18,0.72); }
.stories__head { text-align: center; max-width: 40ch; margin: 0 auto var(--s-xl); }
.stories__head h2 { margin-top: 16px; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); grid-auto-rows: 1fr; }
.tcard { position: relative; display: flex; flex-direction: column; background: rgba(249,234,213,0.07); border: 1px solid rgba(167,115,85,0.4); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 34px); backdrop-filter: blur(6px); }
.tcard::before { content: "\201C"; position: absolute; top: 4px; left: 16px; font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--clay); }
.tcard blockquote { position: relative; font-family: var(--font-display); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.42; color: rgba(249,234,213,0.94); margin-top: var(--s-s); }
.tcard figcaption { margin-top: auto; padding-top: var(--s-m); display: flex; flex-direction: column; gap: 3px; }
.tcard figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--clay); }
.tcard figcaption span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.tcard figcaption .tcard__loc { color: var(--clay-soft); }

/* ---------- FAQ (accordion) ---------- */
.faq__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__intro { position: sticky; top: 116px; }
.faq__intro h2 { margin: var(--s-s) 0 var(--s-m); max-width: 12ch; }
.faq__intro p { color: rgba(23,29,18,0.66); max-width: 32ch; }
.faq__list { border-top: 1px solid rgba(23,29,18,0.14); }
.faq__item { border-bottom: 1px solid rgba(23,29,18,0.14); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-l); padding: var(--s-m) 0; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q-text { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--forest); }
/* +/- toggle: light circle + dark plus at rest, filled circle + cream minus when open */
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-deep); transition: background 0.25s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; border-radius: 2px; background: var(--olive); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--olive); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--cream); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__q:hover .faq__icon { background: var(--lime-deep); }
.faq__item[open] .faq__q:hover .faq__icon { background: var(--olive); }
.faq__a { padding: 0 clamp(52px, 8vw, 90px) var(--s-l) 0; max-width: 62ch; font-size: 1.02rem; line-height: 1.55; color: rgba(23,29,18,0.74); }
/* content fades in on open everywhere; height animates smoothly where supported */
.faq__item[open] .faq__a { animation: faqReveal 0.4s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.38s var(--ease), content-visibility 0.38s var(--ease) allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Group ---------- */
.group { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px,6vw,90px); align-items: center; }
.group__badge { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; background: var(--forest); color: var(--lime); padding: 7px 14px; border-radius: var(--radius-pill); display: inline-block; margin-bottom: var(--s-s); }
.waitlist { background: var(--cream); border-radius: var(--radius); padding: var(--s-l); box-shadow: 0 20px 40px rgba(23,29,18,0.14); }
.waitlist label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); }
.waitlist__name { width: 100%; margin-top: 12px; }
.waitlist__row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.waitlist input { flex: 1 1 200px; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--stone); background: var(--cream-deep); color: var(--forest); }
.waitlist input:focus { outline: none; border-color: var(--berry); }
.waitlist .fine { margin-top: 12px; font-size: 0.82rem; color: rgba(23,29,18,0.72); }

/* ---------- Closing (CTA + footer) ---------- */
.closing { padding-top: clamp(var(--s-2xl), 11vw, var(--s-3xl)); }
.closing__cta { text-align: center; max-width: 720px; margin: 0 auto; }
.closing__cta h2 { margin-bottom: var(--s-m); }
.closing__cta p { color: rgba(249,234,213,0.82); max-width: 48ch; margin: 0 auto var(--s-l); }
.closing__foot { margin-top: clamp(var(--s-2xl), 10vw, 120px); border-top: 1px solid rgba(217,232,166,0.14); padding-top: var(--s-l); display: flex; justify-content: space-between; align-items: center; gap: var(--s-m); flex-wrap: wrap; }
.closing__links { display: flex; gap: var(--s-m); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.closing__links a { opacity: 0.82; } .closing__links a:hover { opacity: 1; color: var(--lime); }
.closing__wordmark { margin-top: var(--s-xl); }
.closing__wordmark img { width: 100%; max-width: 960px; margin-inline: auto; opacity: 0.96; }
.closing__fine { margin-top: var(--s-m); font-family: var(--font-mono); font-size: 0.72rem; color: rgba(249,234,213,0.45); letter-spacing: 0.06em; text-align: center; }

/* ---------- Motion ---------- */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; } .reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; } .reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } .js .reveal:not(.in), .reveal, .hero .h-anim { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(3, 1fr); row-gap: var(--s-l); }
  .phases { grid-template-columns: 1fr 1fr; }
  .stories__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --margin: 24px; }
  .nav__menu { display: none; }
  .nav .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav.open .nav__menu { display: flex; flex-direction: column; gap: var(--s-l); position: fixed; inset: 0; background: var(--forest); align-items: center; justify-content: center; z-index: 110; }
  /* backdrop-filter makes .header a containing block for fixed children, which
     traps the open menu inside the header bar once the page is scrolled. Drop
     the blur while the menu is open; the full-screen overlay hides it anyway. */
  .header:has(.nav.open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open .nav__links { flex-direction: column; align-items: center; gap: var(--s-m); font-size: 1.1rem; }
  .about__grid, .group { grid-template-columns: 1fr; gap: var(--s-l); }
  .faq__grid { grid-template-columns: 1fr; gap: var(--s-l); }
  .faq__intro { position: static; }
  .faq__a { padding-right: 48px; }
  .about__eyebrow { margin-bottom: var(--s-l); }
  .includes { grid-template-columns: 1fr; gap: var(--s-l); }
  .isnot { grid-template-columns: 1fr; gap: var(--s-l); }
  .coach { margin-top: -28px; }
  /* stack pillars and drop the subgrid once they're single-column */
  .pillars--3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .pillars--3 .pillar { display: flex; grid-row: auto; }
  .pillar__quote { display: block; }
  .pillar__quote figcaption { margin-top: 10px; }
}
/* Phones: the logo is docked in the nav (see script.js), so the hero no longer
   needs the -9vh lift that was pulling the headline under the Menu button.
   Clear the fixed header explicitly instead. */
@media (max-width: 900px) {
  .hero__inner { transform: none; padding-top: 96px; }
  .hero { min-height: 100svh; }
  /* Docked logo sits left, Menu button right, so they can't crowd each other
     on narrow phones. Centred would clip the button below ~380px.
     transform-origin must move to the left edge too, otherwise the scaled-down
     logo stays centred inside its full-width layout box. */
  .flylogo { justify-content: flex-start; padding-left: var(--margin); }
  .flylogo img { transform-origin: left top; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars--3 { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav .nav__toggle { width: auto; }
  .hero__cta { width: 100%; }
  .coach { margin-top: -20px; }
  .stories__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal { max-width: 70ch; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: var(--s-xl); }
.legal h3 { margin-top: var(--s-l); }
.legal p, .legal li { line-height: 1.55; margin-top: var(--s-m); }
.legal ul { margin-top: var(--s-m); padding-left: 1.2em; }
.legal li { margin-top: var(--s-xs); }
.legal a { color: var(--clay-soft); text-underline-offset: 3px; }
.legal a:hover { color: var(--berry); }
.legal__intro { border-left: 3px solid var(--lime-deep); padding-left: var(--s-m); }
.legal__meta { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); opacity: 0.8; }
.legal__todo { background: var(--amber); color: var(--forest); padding: 1px 6px; border-radius: 3px; font-weight: 500; }

/* ---------- Accessibility ---------- */
/* Visible focus everywhere. The UA default ring was untested against Forest,
   Olive, Cream and Lime grounds, and .waitlist input:focus removed it outright. */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 2px; }
.g-cream :focus-visible, .g-lime :focus-visible, .legal :focus-visible { outline-color: var(--berry); }
.waitlist input:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }

/* Visually hidden, still announced */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: var(--margin); z-index: 200;
  background: var(--lime); color: var(--forest); padding: 12px 20px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* The fixed header would otherwise cover an anchor-focused element */
html { scroll-padding-top: 90px; }

/* Was a <label>, now a heading-ish title, so the real inputs can carry their
   own labels. Matches the previous label styling exactly. */
.waitlist__title { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); }
.waitlist__error:empty { display: none; }
.waitlist__error { color: #8c2d22; font-weight: 500; }

/* Colour alone shouldn't distinguish links (WCAG 1.4.1) */
.legal a { text-decoration: underline; }

/* Near-miss contrast, fixed by raising alpha rather than changing the palette */
.fine { color: rgba(23,29,18,0.72); }
.closing__fine { color: rgba(249,234,213,0.58); }
