/* =============================================================
   THE PLANT PT — "Roots & Ringcraft"
   Editorial · earthy · athletic. Plant calm meets boxing grit.
   -------------------------------------------------------------
   Sections: 1 Tokens · 2 Base · 3 Buttons · 4 Nav · 5 Hero
   6 Marquee · 7 Statement · 8 Sections/Cards · 9 About
   10 Results · 11 Plant Games · 12 Shop · 13 Gear · 14 Contact
   15 Footer · 16 Sticky CTA · 17 Reveal · 18 Responsive
============================================================= */

/* ====================== 1 · DESIGN TOKENS ===================== */
:root {
  /* --- palette: warm paper, deep olive, fresh leaf, clay flame --- */
  --paper:      #f1efe6;   /* greige cream page bg (soft, sage-friendly) */
  --paper-2:    #e8ece0;   /* light sage-tinted band */
  --cream:      #faf9f3;   /* card cream */
  --ink:        #232a1c;   /* charcoal-green text */
  --ink-soft:   #525b48;   /* muted text */
  --line:       #d9dac9;   /* greige hairline */

  --olive:      #2d3a24;   /* deep sage-forest — the two dark anchor sections */
  --olive-2:    #38472b;
  --moss:       #4c6a38;   /* mid forest green — links & accents on light */
  --leaf:       #7aa35e;   /* sage */
  --leaf-bright:#aacd92;   /* light sage — accents on the dark sections */

  --clay:       #b85c34;   /* warm terracotta — AA-safe (4.55:1) with white text on buttons */
  --clay-ink:   #a44b2c;   /* darker terracotta — AA-safe (5.2:1) as TEXT on light/cream bg */
  --clay-deep:  #a8472332; /* tint */
  --clay-press: #ad5631;

  /* --- type --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'Spline Sans Mono', ui-monospace, monospace;

  /* --- spacing / shape --- */
  --shell: 1240px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 11px;

  --shadow-sm: 0 2px 8px rgba(26,31,18,.06);
  --shadow:    0 18px 50px -20px rgba(26,31,18,.30);
  --shadow-lg: 0 40px 90px -40px rgba(26,31,18,.45);

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* =========================================================
     PHOTO SLOTS  ▸  swap a real photo in by replacing the
     gradient with:  url('../images/your-photo.jpg')
     (paths are relative to THIS css file, hence ../images/)
     Recommended: landscape JPG/WebP, ~1600px wide, optimised.
     ========================================================= */
  /* Each photo is served AVIF → WebP → JPG via image-set(). After dropping a new
     file in /images, run `npm run optimize:images`, then point the 3 lines at it. */
  --img-hero: image-set(
    url('../images/ring-hero-800.avif') type('image/avif'),
    url('../images/ring-hero-800.webp') type('image/webp'),
    url('../images/ring-hero.jpg') type('image/jpeg'));
  --img-about: image-set(
    url('../images/coach-portrait-1200.avif') type('image/avif'),
    url('../images/coach-portrait-1200.webp') type('image/webp'),
    url('../images/coach-portrait.jpg') type('image/jpeg'));
  --img-merch-1: image-set(
    url('../images/merch-polo-800.avif') type('image/avif'),
    url('../images/merch-polo-800.webp') type('image/webp'),
    url('../images/merch-polo.jpg') type('image/jpeg'));
  --img-merch-2: image-set(
    url('../images/merch-socks-800.avif') type('image/avif'),
    url('../images/merch-socks-800.webp') type('image/webp'),
    url('../images/merch-socks.jpg') type('image/jpeg'));
  --img-merch-3: linear-gradient(150deg, #6f9e5b, #2c3719); /* (CTA tile, no photo) */
  --img-spartan: image-set(
    url('../images/spartan-protein-800.avif') type('image/avif'),
    url('../images/spartan-protein-800.webp') type('image/webp'),
    url('../images/spartan-protein.jpg') type('image/jpeg'));
}

/* ====================== 2 · BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; /* anchor/focus scrolls clear the fixed nav */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--clay); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.015em; }

.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Sections get focused programmatically after in-page scrolls (see main.js) —
   they're not interactive, so no ring. Real controls keep their focus styles. */
[tabindex="-1"]:focus { outline: none; }

/* film-grain overlay across whole page */
.grain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* shared eyebrow / kicker labels (mono = "athletic data" feel) */
.eyebrow, .kicker, .statement__kicker, .merch__tag, .media__tag,
.affiliate__type, .channel__label, .codeblock__label, .pg-meta__label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
}

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--moss); margin-bottom: 1.1rem; }
.eyebrow--light { color: var(--leaf-bright); }
/* numbers on dark sections stay light sage, not dark terracotta */
.eyebrow--light .eyebrow__no, .booking__inner .eyebrow__no { color: var(--leaf-bright); }
.eyebrow__no { color: var(--clay-ink); }

/* ====================== 3 · BUTTONS ===================== */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: .92rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.btn--accent { --btn-bg: var(--clay); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--clay-press); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--block { width: 100%; justify-content: center; }

.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: rgba(35,42,28,.05); border-color: var(--ink); }
/* light variant for the dark anchor sections (Plant Games) */
.btn--ghost-light { color: var(--paper); border-color: rgba(243,239,229,.35); }
.btn--ghost-light:hover { background: rgba(243,239,229,.08); border-color: rgba(243,239,229,.6); }

/* ====================== 4 · NAV ===================== */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding: 1.1rem 0; transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); transition: color .35s; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: url('../assets/brand/favicon-512.png') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(20,24,12,.08); }
.brand__text { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .98rem; position: relative; transition: color .25s; opacity: .92; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--clay); transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  background: var(--clay); color: #fff !important; padding: .55rem 1.15rem; border-radius: 100px;
  transition: transform .3s var(--ease), background .25s;
}
.nav__cta:hover { transform: translateY(-2px); background: var(--clay-press); }
/* Returning-client login — outlined pill, secondary to the clay CTA */
.nav__login { border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1rem; transition: border-color .25s; }
.nav__login:hover { border-color: var(--ink); opacity: 1; }
.nav__login::after { display: none !important; }

/* stuck state — solid paper bar with ink text */
.nav.is-stuck {
  background: rgba(243,239,229,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: .7rem 0; box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav.is-stuck .brand,
.nav.is-stuck .nav__links a { color: var(--ink); }
.nav.is-stuck .brand__mark { color: var(--moss); }
.nav.is-stuck .nav__cta { color: #fff !important; }

.nav__toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; padding: .5rem; min-width: 44px; min-height: 44px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav.is-stuck .nav__toggle span { background: var(--ink); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--olive);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2rem 2rem; transform: translateY(-100%); transition: transform .45s var(--ease);
}
/* Closed state stays rendered so the transform can transition, but it must also
   leave the tab order / a11y tree — visibility flips after the slide-out ends. */
.mobile-menu[hidden] { display: flex; visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu nav a { color: var(--paper); font-family: var(--font-display); font-size: 2rem; padding: .35rem 0; }
.mobile-menu__cta { color: var(--leaf-bright) !important; }
.mobile-menu__foot { margin-top: auto; display: flex; justify-content: space-between; color: rgba(243,239,229,.6); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
body.menu-open { overflow: hidden; }
/* When the mobile menu is open over the olive overlay (and the bar isn't in its
   solid "stuck" state yet), flip the logo + toggle to light so they stay legible. */
.nav.is-open:not(.is-stuck) .brand { color: var(--paper); }
.nav.is-open:not(.is-stuck) .nav__toggle span { background: var(--paper); }

/* ====================== 5 · HERO ===================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; color: var(--ink); }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(80% 62% at 82% 0%, rgba(170,205,146,.55), transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(198,106,66,.14), transparent 60%),
    linear-gradient(165deg, #eef1e4 0%, #e7edda 55%, #f1efe6 100%);
}
.hero__bg::after {  /* faint dot texture */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(35,42,28,.06) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .5; mask-image: linear-gradient(transparent, #000 40%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }

.kicker { display: inline-flex; align-items: center; gap: .65rem; color: var(--moss); margin-bottom: 1.6rem; }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(201,90,48,.25); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(201,90,48,0); } }

.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.3rem); font-weight: 600; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--moss); }
.hero__lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 36ch; color: var(--ink-soft); }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__lead em { font-style: italic; color: var(--moss); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__stats { list-style: none; display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 2.8rem; padding: 0; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; line-height: 1; color: var(--ink); }
.hero__stats small { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; color: var(--ink-soft); margin-top: .5rem; }

/* hero media */
.hero__media { position: relative; }
.media { position: relative; border-radius: var(--radius-lg); background-size: cover; background-position: center; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.media::before { /* subtle bottom scrim keeps the caption legible on photos */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20,24,12,.55), transparent 42%);
}
.media::after { /* grain inside photos for cohesion */
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.media__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; color: var(--paper); background: rgba(26,31,18,.5); backdrop-filter: blur(6px); padding: .4rem .8rem; border-radius: 100px; border: 1px solid rgba(243,239,229,.18); }
.media--hero { background-image: url('../images/ring-hero.jpg'); background-image: var(--img-hero); background-position: 50% 35%; aspect-ratio: 4 / 5; }
.media--about { background-color: #222a15; background-image: url('../images/coach-portrait.jpg'); background-image: var(--img-about); background-position: 50% 35%; aspect-ratio: 4 / 5; }
.media__mark { position: absolute; inset: 0; margin: auto; width: 54%; aspect-ratio: 1; opacity: .92; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.7rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .3rem; color: var(--ink-soft); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .2em; font-size: .66rem; }
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ====================== 6 · MARQUEE ===================== */
.marquee { background: var(--paper-2); color: var(--ink); padding: 1.15rem 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; white-space: nowrap; }
.marquee__track .sep { font-style: normal; color: var(--clay-ink); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ====================== 7 · STATEMENT ===================== */
.statement { padding: var(--section-y) 0; background: var(--paper); text-align: center; }
.statement__kicker { color: var(--clay-ink); display: block; margin-bottom: 1.4rem; }
.statement__big { font-size: clamp(1.9rem, 4.6vw, 3.6rem); max-width: 18ch; margin-inline: auto; font-weight: 500; }
.statement__big .hl { color: var(--moss); font-style: italic; position: relative; white-space: nowrap; }
.statement__sub { max-width: 56ch; margin: 1.8rem auto 0; color: var(--ink-soft); font-size: 1.12rem; }

/* ====================== 8 · SECTIONS / CARDS ===================== */
.section { padding: var(--section-y) 0; }
.section__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section__intro { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; }
.section__intro em { color: var(--moss); font-style: italic; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--leaf), var(--clay)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__no { font-family: var(--font-mono); font-size: .8rem; color: var(--clay-ink); letter-spacing: .15em; margin-bottom: 1.4rem; }
.card__title { font-size: 1.45rem; margin-bottom: .65rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.3rem; font-weight: 600; color: var(--moss); transition: gap .25s var(--ease), color .25s; }
.card__link:hover { gap: .8rem; color: var(--clay-ink); }
.card--feature { background: var(--olive); color: var(--paper); border-color: transparent; }
.card--feature .card__title { color: var(--paper); }
.card--feature p { color: rgba(243,239,229,.8); }
.card--feature .card__no { color: var(--leaf-bright); }
.card--feature .card__link { color: var(--leaf-bright); }
.card--feature .card__link:hover { color: #fff; }

/* ====================== 9 · ABOUT ===================== */
.about { background: var(--paper-2); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__badge { position: absolute; right: -1.1rem; bottom: -1.1rem; background: var(--clay); color: #fff; border-radius: 50%; width: 118px; height: 118px; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); rotate: -8deg; }
.about__badge-no { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.about__badge-text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.05; margin-top: .2rem; }
.about__copy p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }
.about__copy p em { color: var(--moss); font-style: italic; }
.about__list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .7rem; }
.about__list li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.about__list li::before { content: "✦"; position: absolute; left: 0; color: var(--clay-ink); }
.about__list strong { color: var(--ink); }

/* ====================== 10 · RESULTS ===================== */
.results { background: var(--paper); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.5rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.35; font-weight: 500; }
.quote blockquote::before { content: "“"; color: var(--clay); font-size: 2.4rem; line-height: 0; vertical-align: -.35em; margin-right: .1em; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .25rem; }
.quote__name { font-weight: 700; }
.quote__meta { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--moss); }

/* ====================== 11 · PLANT GAMES ===================== */
.plantgames { position: relative; color: var(--paper); background-color: #232f1b; padding: var(--section-y) 0; overflow: hidden; }
.plantgames__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 90% at 85% 10%, rgba(198,106,66,.34), transparent 60%),
  radial-gradient(60% 80% at 10% 100%, rgba(170,205,146,.22), transparent 60%),
  linear-gradient(150deg, #232f1b, #34432a); }
.plantgames__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.plantgames__title { font-size: clamp(2.6rem, 6vw, 5rem); display: flex; align-items: baseline; gap: .3em; flex-wrap: wrap; }
.plantgames__ver { color: var(--clay); font-style: italic; }
.plantgames__lead { margin-top: 1.3rem; max-width: 48ch; color: rgba(243,239,229,.85); font-size: 1.15rem; }
.plantgames__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.plantgames__meta { display: grid; gap: 1rem; }
.pg-meta { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.3rem; border: 1px solid rgba(243,239,229,.16); border-radius: var(--radius-sm); background: rgba(243,239,229,.04); }
.pg-meta__label { color: var(--leaf-bright); }
.pg-meta__val { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }

/* ====================== 12 · SHOP ===================== */
.shop { background: var(--paper-2); }
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.merch { display: block; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.merch:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.merch__media { aspect-ratio: 4 / 3; position: relative; background-size: cover; background-position: center; }
.merch__media::after { content: ""; position: absolute; inset: 0; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.merch__media--1 { background-image: url('../images/merch-polo.jpg'); background-image: var(--img-merch-1); }
.merch__media--2 { background-image: url('../images/merch-socks.jpg'); background-image: var(--img-merch-2); }
.merch__media--3 { background-image: var(--img-merch-3); }
.merch__tag { position: absolute; top: 1rem; left: 1rem; color: var(--paper); background: rgba(26,31,18,.45); backdrop-filter: blur(6px); padding: .35rem .75rem; border-radius: 100px; }
.merch__row { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; font-weight: 600; }
.merch__cta { color: var(--clay-ink); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.shop__foot { margin-top: 2.2rem; text-align: center; }

/* ====================== 13 · GEAR / AFFILIATES ===================== */
.gear__grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; max-width: 780px; margin-inline: auto; }
.affiliate { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.affiliate__media { position: relative; background-size: cover; min-height: 260px; display: flex; align-items: flex-end; padding: 1.2rem; }
.affiliate__media--spartan { background-image: url('../images/spartan-protein.jpg'); background-image: var(--img-spartan); }
.affiliate__type { color: var(--paper); background: rgba(26,31,18,.4); backdrop-filter: blur(6px); padding: .4rem .8rem; border-radius: 100px; }
.affiliate__body { padding: 1.8rem; display: flex; flex-direction: column; }
.affiliate__name { font-size: 1.6rem; margin-bottom: .5rem; }
.affiliate__body p { color: var(--ink-soft); }
.codeblock { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.3rem 0; padding: .8rem .8rem .8rem 1.1rem; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.codeblock__label { display: block; color: var(--moss); margin-bottom: .2rem; }
.codeblock__code { font-family: var(--font-mono); font-weight: 600; font-size: 1.25rem; letter-spacing: .05em; color: var(--ink); }
.codeblock__btn { background: var(--ink); color: var(--paper); border: 0; padding: .6rem 1.1rem; border-radius: 100px; font-weight: 600; font-size: .85rem; transition: background .25s, transform .2s var(--ease); }
.codeblock__btn:hover { transform: translateY(-2px); background: var(--moss); }
.codeblock__btn.is-copied { background: var(--leaf); color: var(--ink); }
.affiliate__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--clay-ink); transition: gap .25s var(--ease); }
.affiliate__link:hover { gap: .8rem; }

/* ====================== 14 · CONTACT ===================== */
.contact { background: var(--paper-2); color: var(--ink); }
.contact__grid, .mealprep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact .eyebrow { color: var(--moss); }
.contact .eyebrow__no { color: var(--clay-ink); }
.contact .section__title { color: var(--ink); }
.contact__intro { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 42ch; }

/* "Train with Joe at Glasgow Fitness" — venue + map link under the contact intro */
.contact__where { margin-top: 1.5rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; max-width: 44ch; }
.contact__where strong { color: var(--ink); }
.contact__where-label { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--moss); margin-bottom: .3rem; }
.contact__map { color: var(--moss); font-weight: 600; white-space: nowrap; }
.contact__map:hover, .contact__map:focus-visible { color: var(--clay-ink); }

.channels { display: grid; gap: .7rem; margin-top: 2.2rem; }
.channel { display: flex; align-items: center; gap: .9rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); text-decoration: none; color: inherit; transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.channel:hover { background: #fff; border-color: rgba(76,106,56,.45); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.channel:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

/* brand-coloured icon tile */
.channel__icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 5px 12px -5px rgba(26,31,18,.55); transition: transform .3s var(--ease); }
.channel__icon svg { width: 23px; height: 23px; display: block; }
.channel:hover .channel__icon { transform: scale(1.05); }
.channel[data-channel="whatsapp"]  .channel__icon { background: linear-gradient(145deg, #25d366, #128c5e); }
.channel[data-channel="instagram"] .channel__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.channel[data-channel="email"]     .channel__icon { background: linear-gradient(145deg, var(--clay), var(--clay-press)); }
.channel[data-channel="phone"]     .channel__icon { background: linear-gradient(145deg, var(--moss), #36512a); }

.channel__body { display: grid; gap: .08rem; min-width: 0; }
.channel__label { display: block; color: var(--moss); }
.channel__val { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* arrow slides in on hover (matches the site's CTA arrow motif) */
.channel__go { flex: 0 0 auto; margin-left: auto; color: var(--moss); opacity: 0; transform: translateX(-5px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.channel:hover .channel__go, .channel:focus-visible .channel__go { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .channel, .channel__icon, .channel__go { transition: none; } .channel__go { opacity: 1; transform: none; } }

/* form */
.contact__form-wrap, .mealprep__form-wrap { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field--split { grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--split > div { display: grid; gap: .45rem; }
.form label { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--moss); font-weight: 500; }
.form .opt { color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%; transition: border-color .25s, box-shadow .25s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(63,91,39,.12); }
.form input.is-invalid, .form select.is-invalid { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(201,90,48,.12); }
.form__note { font-size: .85rem; color: var(--ink-soft); text-align: center; }
.form__note.is-success { color: var(--moss); font-weight: 600; }
.form__note.is-error { color: var(--clay-ink); font-weight: 600; }

/* ====================== MEAL PREP ===================== */
.mealprep { background: var(--paper-2); color: var(--ink); }
.mealprep .eyebrow { color: var(--moss); }
.mealprep .eyebrow__no { color: var(--clay-ink); }
.mealprep__intro { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 44ch; }
.mealprep__points { margin-top: 1.4rem; display: grid; gap: .6rem; list-style: none; padding: 0; }
.mealprep__points li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.mealprep__points li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 700; }
.mealprep__copy .btn { margin-top: 2rem; }
.mealprep__diy { margin-top: .9rem; font-size: .92rem; color: var(--ink-soft); }
.mealprep__diy a { color: var(--moss); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(76,106,56,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.mealprep__diy a:hover { text-decoration-color: var(--moss); }
.mealprep__signup-eyebrow { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--clay-ink); font-weight: 600; }
.mealprep__signup-title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--ink); margin-top: .3rem; }
.mealprep__signup-sub { color: var(--ink-soft); margin-top: .5rem; }

/* GDPR consent + bot honeypot for the lead/contact forms */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: .5rem; margin-top: .75rem; font-size: .85rem; line-height: 1.4; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: .1rem; flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--clay); }
/* The contact form's labels are uppercase mono; keep the GDPR consent line in
   normal body text so it reads as a sentence, not a shouty heading. */
.consent span { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 400; }
.lead-form__note a, .form__note a { color: var(--clay-ink); }

/* ====================== 15 · FOOTER ===================== */
.footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(243,239,229,.12); }
.brand--footer .brand__text { color: var(--paper); font-size: 1.5rem; }
.footer__brand p { color: rgba(243,239,229,.65); margin-top: 1rem; max-width: 40ch; }
.footer__codes { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; font-family: var(--font-mono); font-size: .8rem; color: rgba(243,239,229,.55); }
.footer__codes strong { color: var(--leaf-bright); }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav h3 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .15em; color: var(--leaf-bright); font-weight: 500; margin-bottom: .4rem; }
.footer__nav a { color: rgba(243,239,229,.75); transition: color .2s, padding-left .25s var(--ease); }
.footer__nav a:hover { color: var(--paper); padding-left: 5px; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-family: var(--font-mono); font-size: .78rem; color: rgba(243,239,229,.5); }

/* ====================== 16 · STICKY CTA (mobile) ===================== */
.sticky-cta {
  position: fixed; left: 50%; bottom: 1.1rem; transform: translateX(-50%) translateY(140%);
  z-index: 90; background: var(--clay); color: #fff; font-weight: 600;
  padding: .9rem 1.6rem; border-radius: 100px; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease); display: none;
}
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }

/* ====================== 17 · REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .09s; }
.reveal[data-reveal-delay="2"] { transition-delay: .18s; }
.reveal[data-reveal-delay="3"] { transition-delay: .27s; }
.reveal[data-reveal-delay="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .kicker__dot, .hero__scroll svg { animation: none; }
}

/* ====================== 17b · MERCH CTA TILE ===================== */
.merch--cta { background: var(--leaf-bright); border-color: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .8rem; padding: 2rem 1.4rem; }
.merch--cta img { width: 88px; height: 88px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.merch--cta .merch__row { padding: 0; display: block; }
.merch--cta strong { font-family: var(--font-display); font-size: 1.35rem; display: block; color: var(--ink); }
.merch--cta .merch__cta { display: inline-block; margin-top: .35rem; color: var(--ink); }
.merch--cta:hover { transform: translateY(-6px); }

/* ====================== 17c · GALLERY ===================== */
.gallery { background: var(--paper); }
.gallery__grid { columns: 2; column-gap: 1.1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.gallery__item { break-inside: avoid; margin-bottom: 1.1rem; position: relative;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__cap { position: absolute; left: .8rem; bottom: .8rem; color: var(--paper);
  background: rgba(20,24,12,.55); backdrop-filter: blur(6px); padding: .35rem .7rem;
  border-radius: 100px; font-family: var(--font-mono); font-size: .66rem;
  text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 980px) { .gallery__grid { columns: 2; } }
@media (max-width: 560px) { .gallery__grid { columns: 1; } }

/* footer logo */
.footer__logo { height: 56px; width: auto; margin-bottom: 1rem; display: block; }
.footer__credit { margin-top: 1rem; font-size: .82rem; color: rgba(243,239,229,.5); }
.footer__credit a { color: var(--leaf-bright); }

/* centered section header variant */
.section__head--center { max-width: 60ch; margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .section__intro { margin-inline: auto; }

/* ====================== PRICING ====================== */
.pricing { background: var(--paper); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 1.8rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card__name { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--moss); margin-bottom: 1rem; }
.price-card__price { font-family: var(--font-display); font-size: 2.9rem; font-weight: 600; line-height: 1; color: var(--ink); }
.price-card__price span { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.price-card__list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
.price-card__list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: .98rem; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card--featured { background: var(--olive); color: var(--paper); border-color: transparent; position: relative; box-shadow: var(--shadow); }
.price-card--featured .price-card__name { color: var(--leaf-bright); }
.price-card--featured .price-card__price { color: #fff; }
.price-card--featured .price-card__price span { color: rgba(243,239,229,.7); }
.price-card--featured .price-card__list li { color: rgba(243,239,229,.85); }
.price-card--featured .price-card__list li::before { color: var(--leaf-bright); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; padding: .35rem .9rem; border-radius: 100px; white-space: nowrap; }
.pricing__note { text-align: center; margin-top: 1.9rem; color: var(--ink-soft); font-size: .95rem; }
.pricing__note a { color: var(--moss); font-weight: 600; }

/* ====================== TRANSFORMATIONS ====================== */
.transformations { background: var(--paper-2); }
.transform__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.transform-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.transform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.transform-pair { display: grid; grid-template-columns: 1fr 1fr; }
.transform-img { position: relative; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: .7rem; background: linear-gradient(160deg, #cdd9bf, #9fb288); }
.transform-img--after { background: linear-gradient(160deg, #b7cda0, #6f9457); border-left: 2px solid var(--cream); }
.transform-img span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; color: #fff; background: rgba(35,42,28,.5); padding: .25rem .6rem; border-radius: 100px; }
.transform-card__cap { padding: 1.1rem 1.3rem; }
.transform-card__cap strong { display: block; }
.transform-card__cap span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--moss); }

/* ====================== BOOKING ====================== */
.booking { background: var(--paper); }
.booking__inner { position: relative; overflow: hidden; background: var(--olive); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 4.6rem); text-align: center; box-shadow: var(--shadow); }
.booking__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgba(170,205,146,.22), transparent 60%); }
.booking__inner > * { position: relative; }
.booking__inner .eyebrow { color: var(--leaf-bright); justify-content: center; }
.booking h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); max-width: 18ch; margin: 1rem auto; }
.booking__inner > p { color: rgba(243,239,229,.82); max-width: 46ch; margin: 0 auto 2rem; }
/* The risk line is a direct child <p>, so the rule above ((0,1,1) specificity)
   would otherwise zero its top margin and leave the button flush against it.
   Out-specify it here so the button sits centred: 2rem of air above and below. */
.booking__inner > p.booking__risk { margin: 2rem auto 0; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--leaf-bright); }

/* ====================== LEAD MAGNET ====================== */
.leadmagnet { background: #d3e0c4; }
.leadmagnet .eyebrow__no { color: #954022; } /* deeper terracotta — AA on the sage panel */
.leadmagnet__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.leadmagnet h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.leadmagnet__inner > div:first-child > p { color: var(--ink-soft); margin-top: .9rem; max-width: 44ch; }
.lead-form { display: flex; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.lead-form input { flex: 1; min-width: 220px; font: inherit; padding: .9rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 100px; background: var(--cream); color: var(--ink); }
.lead-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(76,106,56,.2); }
.lead-form__note { margin-top: .85rem; font-size: .85rem; color: var(--ink-soft); }
.lead-form__note.is-success { color: var(--moss); font-weight: 600; }
.leadmagnet__visual { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
/* Class-work photo behind "First class free": a near-black base fades up into
   the picture (the old flat green is gone). Text sits in the dark, photo up top. */
.lm-cover {
  aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(8,10,6,.15) 0%, rgba(8,10,6,.48) 48%, rgba(7,9,5,.92) 100%),
    url('../images/class-work-2.jpg');                       /* fallback if no image-set() */
  background-image:
    linear-gradient(180deg, rgba(8,10,6,.15) 0%, rgba(8,10,6,.48) 48%, rgba(7,9,5,.92) 100%),
    image-set(
      url('../images/class-work-2-800.avif') type('image/avif'),
      url('../images/class-work-2-800.webp') type('image/webp'),
      url('../images/class-work-2.jpg') type('image/jpeg'));
  background-size: cover; background-position: 58% center;
  display: grid; place-items: end center; text-align: center;
  color: var(--paper); font-family: var(--font-display);
  font-size: 1.6rem; line-height: 1.12; padding: 1.5rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}

@media (max-width: 980px) {
  .pricing__grid, .transform__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .leadmagnet__inner { grid-template-columns: 1fr; }
}

/* ====================== 18 · RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { max-width: 460px; }
  .about__grid, .plantgames__inner, .contact__grid, .mealprep__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .cards, .quotes, .shop__grid { grid-template-columns: repeat(2, 1fr); }
  .gear__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sticky-cta { display: block; }
  .cards, .quotes, .shop__grid { grid-template-columns: 1fr; }
  .field--split { grid-template-columns: 1fr; }
  .affiliate { grid-template-columns: 1fr; }
  .affiliate__media { min-height: 160px; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__base { flex-direction: column; gap: .4rem; }
  .hero__stats { flex-wrap: wrap; gap: 1.4rem 2rem; }
}

@media (max-width: 420px) {
  .about__badge { width: 96px; height: 96px; right: 0; } /* keep the badge inside narrow viewports */
}

/* ====================== 17 · FAQ ===================== */
.faq__list { max-width: 760px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 4px; }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-content: center; font-family: var(--font-mono); font-size: 1rem; color: var(--moss);
  transition: rotate .3s var(--ease), background .25s, color .25s;
}
.faq__item[open] .faq__icon { rotate: 45deg; background: var(--clay); color: #fff; border-color: transparent; }
.faq__a { padding: 0 2.6rem 1.4rem 0; color: var(--ink-soft); max-width: 62ch; }
.faq__a em { color: var(--moss); font-style: italic; }
.faq__a a { color: var(--clay-ink); font-weight: 600; }

/* ====================== 18 · FORM SUCCESS CARD ===================== */
/* Replaces the contact form after a successful send — see showSuccess() in main.js. */
.form-success { display: grid; gap: 1rem; justify-items: start; outline: none; }
.form-success__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--leaf); color: var(--ink);
  display: grid; place-content: center; font-size: 1.5rem; font-weight: 700;
}
.form-success__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.form-success p { color: var(--ink-soft); max-width: 46ch; }
.form-success .btn { margin-top: .4rem; }

/* ====================== 19 · POLISH ===================== */
/* Value-led pricing: short terms instead of £ figures until real rates land. */
.price-card__price--term { font-size: 2.1rem; }
.form__legal { font-size: .78rem; text-align: center; margin-top: .35rem; }
.form__legal--left { text-align: left; }
.form__legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.form__legal a:hover { color: var(--clay-ink); }
.btn:disabled { opacity: .55; pointer-events: none; }
.footer__base > a { color: rgba(243,239,229,.75); text-decoration: underline; text-underline-offset: 2px; }
.footer__base > a:hover { color: var(--paper); }
