/* ============================================================
   PURSUIT PROTEIN - SHARED DESIGN SYSTEM
   Light-mode first. Dark mode is an opt-in toggle.
   Loaded by index.html, about.html, preorder.html.
   Palette + contrast tuned to WCAG 2.2 AA (see notes inline).
============================================================ */

/* ------------------------------------------------------------
   DESIGN TOKENS
------------------------------------------------------------ */
:root {
  /* Type scale (fluid) */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;  --space-2:  0.5rem;  --space-3:  0.75rem;
  --space-4:  1rem;     --space-5:  1.25rem; --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;    --space-24: 6rem;  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem;     --radius-2xl: 1.5rem; --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow:  680px;
  --content-default: 960px;
  --content-wide:    1200px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Inter', system-ui, sans-serif;
}

/* LIGHT palette (default) - warm off-white canvas, AA-tuned gold roles */
:root,
[data-theme="light"] {
  --color-bg:             #F5F3EE;  /* page */
  --color-surface:        #FAFAF8;  /* sections */
  --color-surface-2:      #FFFFFF;  /* cards / inputs / sticky nav */
  --color-surface-offset: #ECE6D9;  /* warm beige alt sections (stepped for ladder contrast) */
  --color-divider:        #E2DDD2;
  --color-border:         #D5CFC1;
  --color-text:           #1A1816;  /* 15.97:1 on bg */
  --color-text-muted:     #635F56;  /* ~5.4:1 on bg - secondary copy */
  --color-text-faint:     #8C887F;  /* ~3:1 - decorative / non-text only */
  --color-text-inverse:   #FAFAF8;

  /* Gold roles: decorative gold for LARGE display/icons only (>=3:1);
     gold-text for any inline/link/small gold word (>=4.5:1). */
  --color-gold:           #C8962E;  /* decorative / display / KPI numerals / icons */
  --color-gold-deep:      #A67820;
  --color-gold-hover:     #E5B954;  /* primary button hover (brighten) */
  --color-gold-text:      #7A5A18;  /* 5.73:1 on bg - links, small captions */
  --color-gold-soft:      #F3E9D2;  /* gold tint backgrounds */
  --color-gold-border:    #E2C98A;
  --color-gold-highlight: rgba(166,120,32,0.10);

  --color-success:        #2E7D52;  /* checkmarks - 4.6:1 on white */
  --color-warn:           #9E3F26;  /* negatives - ~6:1 on white, comfortable margin */
  --color-warn-soft:      rgba(177,78,46,0.08);
  --color-warn-border:    #E3C3B6;

  --color-ink:            #1A1816;  /* dark-on-gold button labels, dark panels */
  --color-choc:           #211712;  /* deep chocolate dark band bg */
  --color-on-choc:        #F4EFE7;  /* text on chocolate band */
  --color-on-choc-muted:  rgba(244,239,231,0.72);

  --shadow-sm: 0 1px 2px rgba(20,16,12,0.06);
  --shadow-md: 0 6px 20px rgba(20,16,12,0.09);
  --shadow-lg: 0 18px 48px rgba(20,16,12,0.14);

  color-scheme: light;
}

/* DARK palette (toggle) - original performance/nutrition look */
[data-theme="dark"] {
  --color-bg:             #0C0B0A;
  --color-surface:        #131210;
  --color-surface-2:      #1A1916;
  --color-surface-offset: #201E1B;
  --color-divider:        #2A2824;
  --color-border:         #333028;
  --color-text:           #F0EDE8;
  --color-text-muted:     #A8A49B;
  --color-text-faint:     #6A6760;
  --color-text-inverse:   #0C0B0A;

  --color-gold:           #E5B954;
  --color-gold-deep:      #C8962E;
  --color-gold-hover:     #F0D58A;  /* primary button hover (brighten) in dark */
  --color-gold-text:      #E5B954;  /* light gold reads fine on dark */
  --color-gold-soft:      #221C10;
  --color-gold-border:    #5C481F;
  --color-gold-highlight: rgba(229,185,84,0.12);

  --color-success:        #5FC68C;
  --color-warn:           #E0916F;
  --color-warn-soft:      rgba(224,145,111,0.10);
  --color-warn-border:    #6E3A29;

  --color-ink:            #0C0B0A;
  --color-choc:           #06100C;
  --color-on-choc:        #F0EDE8;
  --color-on-choc-muted:  rgba(240,237,232,0.70);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.6);

  color-scheme: dark;
}

/* ------------------------------------------------------------
   BASE RESET
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* sticky nav (68px) + small gap */
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance; line-height: 1.02;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em;
}
p, li, figcaption { text-wrap: pretty; }
a, button, [role="button"] {
  transition: color var(--transition-interactive), background var(--transition-interactive),
              border-color var(--transition-interactive), opacity var(--transition-interactive),
              transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

/* Accessible focus ring (WCAG 2.2 SC 2.4.11): >=2px, >=3:1, keyboard-only */
:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  border-radius: 3px;
}
[data-theme="dark"] :focus-visible { outline-color: var(--color-gold); }
/* Dark chocolate bands need a light/gold ring for 3:1 contrast */
.section--ink :focus-visible, .metaband :focus-visible, .texture-section :focus-visible { outline-color: var(--color-gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   UTILITIES
------------------------------------------------------------ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}
.container--narrow { max-width: var(--content-default); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.section { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.section--surface { background: var(--color-surface); }
.section--offset  { background: var(--color-surface-offset); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.section--ink {
  background: var(--color-choc);
  color: var(--color-on-choc);
}
.divider { height: 1px; background: var(--color-divider); }

/* Theme-fitting background photos (subtle on light sections, rich behind the dark band).
   .section-bg is a real element (not ::before) so the parallax engine can move it. */
.section--photo, .section--photo-dark { position: relative; isolation: isolate; overflow: hidden; }
.section-bg {
  position: absolute; inset: -14% 0; z-index: -1; pointer-events: none;
  background-image: var(--bg-photo);
  background-size: cover; background-position: center;
}
.section--photo .section-bg { opacity: 0.20; }
[data-theme="dark"] .section--photo .section-bg { opacity: 0.12; }
.section--photo-dark .section-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,0.68) 0%, rgba(20,12,8,0.80) 100%);
}
@media (prefers-reduced-motion: reduce) { .section-bg { transform: none !important; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-text);
}
.section--ink .eyebrow { color: var(--color-gold); }

.text-gold  { color: var(--color-gold-text); }
.text-muted { color: var(--color-text-muted); }
.accent     { color: var(--color-gold-deep); }
[data-theme="dark"] .accent { color: var(--color-gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--color-gold); color: var(--color-ink); border-color: var(--color-gold); }
.btn-primary:hover { background: var(--color-gold-hover); border-color: var(--color-gold-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-gold-deep); color: var(--color-gold-text); }
.section--ink .btn-outline { color: var(--color-on-choc); border-color: rgba(244,239,231,0.35); }
.section--ink .btn-outline:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-lg { min-height: 52px; padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-block { width: 100%; }

/* Skip link */
.skip-link {
  position: fixed; left: var(--space-4); top: -120px; z-index: 1000;
  background: var(--color-gold); color: var(--color-ink);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm);
  font-weight: 700; font-size: var(--text-sm); text-decoration: none;
  transition: top var(--transition-interactive);
}
.skip-link:focus { top: var(--space-4); }
main:focus { outline: none; }

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-gold-border); border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-gold-text); background: var(--color-gold-soft);
}
[data-theme="dark"] .pill { color: var(--color-gold); }

/* Star rating (decorative; always paired with sr-only text) */
.stars { color: var(--color-gold); letter-spacing: 1px; }

/* ------------------------------------------------------------
   NAVIGATION
------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-surface-2) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: var(--space-6);
}
.nav__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav__logo-img { height: 38px; width: auto; }
/* logo-white.png is a white wordmark; invert to near-black in light mode */
:root .nav__logo-img,
[data-theme="light"] .nav__logo-img,
:root .footer__logo-img,
[data-theme="light"] .footer__logo-img { filter: invert(1) brightness(0.12); }
[data-theme="dark"] .nav__logo-img,
[data-theme="dark"] .footer__logo-img { filter: none; }

.nav__links { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.nav__links a {
  text-decoration: none; color: var(--color-text-muted);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; font-family: var(--font-body);
}
.nav__links a:hover { color: var(--color-text); }
.nav__links a[aria-current="page"] { color: var(--color-gold-text); }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  color: var(--color-text-muted); border: 1px solid var(--color-border);
  background: var(--color-surface-2); cursor: pointer;
}
.nav__icon-btn:hover { color: var(--color-text); border-color: var(--color-text-muted); }

.nav__mobile-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface-2);
}
.nav__mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  border-radius: 2px; transition: all 0.3s ease;
}
.nav__mobile-menu {
  display: none; flex-direction: column; gap: var(--space-2);
  padding: var(--space-5) var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-divider); background: var(--color-surface-2);
}
.nav__mobile-menu a {
  text-decoration: none; color: var(--color-text); font-size: var(--text-lg);
  font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display);
}
.nav__mobile-menu a:last-of-type { border-bottom: none; }
.nav__mobile-menu .btn { width: 100%; margin-top: var(--space-3); }
@media (max-width: 860px) {
  .nav__links, .nav__actions .nav__cta { display: none; }
  .nav__mobile-toggle { display: flex; }
  .nav__mobile-menu.open { display: flex; }
}

/* ------------------------------------------------------------
   BREADCRUMB (semantic; visually hidden but in DOM for SEO)
------------------------------------------------------------ */
.breadcrumb { display: none; }

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.hero__content { max-width: 600px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.hero__headline {
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 900;
  line-height: 0.95; letter-spacing: 0.005em; color: var(--color-text);
  margin-bottom: var(--space-5); text-transform: uppercase;
}
.hero__headline .accent { display: block; }
.hero__sub {
  font-size: var(--text-lg); color: var(--color-text-muted);
  max-width: 46ch; margin-bottom: var(--space-8); line-height: 1.55;
}
.hero__sub strong { color: var(--color-text); font-weight: 700; }
.hero__ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-8); }
.hero__trust { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.hero__trust .stars { font-size: 1.05rem; }
.hero__trust-text { font-size: var(--text-sm); color: var(--color-text-muted); letter-spacing: 0.02em; }
.hero__trust-text strong { color: var(--color-text); }

.hero__product { display: flex; justify-content: center; align-items: center; }
.hero__product-media { position: relative; width: min(460px, 100%); }
.hero__product-media img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__seal {
  position: absolute; right: -10px; top: -10px;
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--color-gold); background: var(--color-surface-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-md);
}
.hero__seal .stars { font-size: 0.6rem; }
.hero__seal .seal-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--color-text); line-height: 1; }
.hero__seal .seal-label { font-size: 0.5rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; margin-top: 2px; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 600px; margin-inline: auto; }
  .hero__product { order: -1; }
  .hero__product-media { width: min(340px, 78%); }
  .hero__seal { width: 74px; height: 74px; right: -6px; top: -6px; }
  .hero__pills, .hero__ctas, .hero__trust { justify-content: center; }
  .hero__sub { margin-inline: auto; }
}

/* ------------------------------------------------------------
   PROOF / FEATURE STRIP
------------------------------------------------------------ */
.proof-strip {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}
.proof-grid {
  display: flex; justify-content: center; align-items: stretch;
  gap: clamp(var(--space-4), 4vw, var(--space-16)); flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.proof-item__num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; color: var(--color-gold-deep); line-height: 1; }
[data-theme="dark"] .proof-item__num { color: var(--color-gold); }
.proof-item__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }

/* ------------------------------------------------------------
   PRESS BAR
------------------------------------------------------------ */
.press { padding-block: var(--space-8); background: var(--color-surface); }
.press__label {
  text-align: center; font-size: var(--text-xs); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-text-muted);
  margin-bottom: var(--space-5); font-weight: 600;
}
.press__logos {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12)); flex-wrap: wrap;
}
.press__logo {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base);
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted);
  white-space: nowrap; transition: color var(--transition-interactive);
}
.press__logo:hover { color: var(--color-text-muted); }
.press__logo--serif { font-style: italic; font-weight: 400; letter-spacing: 0.02em; }

/* ------------------------------------------------------------
   METABOLIC BAND (Andrew Koutnik - "Metabolically Optimized Protein")
------------------------------------------------------------ */
.metaband {
  background: var(--color-choc); color: var(--color-on-choc);
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
}
.metaband__eyebrow { color: var(--color-gold); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: var(--text-sm); }
.metaband__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--text-2xl); line-height: 0.98; margin: var(--space-3) 0 var(--space-4);
  color: #fff;
}
.metaband__title .accent { color: var(--color-gold); }
.metaband__sub { color: var(--color-on-choc-muted); max-width: 60ch; margin-inline: auto; font-size: var(--text-base); }
.metaband__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.metaband__chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  border: 1px solid rgba(229,185,84,0.4); color: var(--color-on-choc);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.metaband__chip svg { color: var(--color-gold); }

/* ------------------------------------------------------------
   SECTION HEADER (shared)
------------------------------------------------------------ */
.section-head { max-width: 640px; margin-bottom: clamp(var(--space-8), 5vw, var(--space-12)); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title {
  font-size: var(--text-2xl); font-weight: 900; text-transform: uppercase;
  line-height: 0.96; margin-top: var(--space-2); color: var(--color-text);
}
.section-head__sub { color: var(--color-text-muted); margin-top: var(--space-3); font-size: var(--text-base); }

/* ------------------------------------------------------------
   INGREDIENT COMPARTMENTS (Andrew - compartment approach)
------------------------------------------------------------ */
.compartments__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.compartment {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.compartment:hover { border-color: var(--color-gold-border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.compartment__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-gold-soft); color: var(--color-gold-text);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .compartment__icon { color: var(--color-gold); }
.compartment__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text); }
.compartment__items { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.compartment__chip {
  font-size: var(--text-xs); font-weight: 600; padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full); background: var(--color-bg);
  border: 1px solid var(--color-divider); color: var(--color-text);
}
.compartment__why { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.compartments__note {
  margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted);
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; justify-content: center; text-align: center;
}
.compartments__note strong { color: var(--color-text); }
@media (max-width: 900px) { .compartments__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .compartments__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   COMPARISON TABLE (Andrew - competitor comparison)
------------------------------------------------------------ */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--color-surface-2); }
.compare-hint { display: none; text-align: center; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
@media (max-width: 680px) {
  .compare-hint { display: block; }
  .compare-table th, .compare-table td { padding: var(--space-3) var(--space-2); }
}
.compare-table caption { text-align: left; padding: var(--space-3) var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); }
.compare-table th, .compare-table td {
  padding: var(--space-4) var(--space-4); text-align: center; font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
}
.compare-table thead th {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: var(--text-sm); color: var(--color-text); font-weight: 700; background: var(--color-surface-offset);
}
.compare-table tbody th[scope="row"] { text-align: left; font-weight: 700; color: var(--color-text); font-family: var(--font-body); }
.compare-table .brand-sub { display: block; font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; text-transform: none; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
/* Pursuit is the hero ROW - own the gold treatment fully */
.compare-table .row-pursuit th[scope="row"], .compare-table .row-pursuit td {
  background: var(--color-gold-soft);
  border-top: 2px solid var(--color-gold); border-bottom: 2px solid var(--color-gold);
  font-weight: 700; color: var(--color-text);
}
.compare-table .row-pursuit th[scope="row"] { color: var(--color-gold-text); border-left: 2px solid var(--color-gold); }
[data-theme="dark"] .compare-table .row-pursuit th[scope="row"] { color: var(--color-gold); }
.compare-table .row-pursuit td:last-child { border-right: 2px solid var(--color-gold); }
.mark-yes { color: var(--color-success); font-weight: 700; }
.mark-no  { color: var(--color-warn); font-weight: 700; }
.compare-foot { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; }
.compare-foot li { margin-left: var(--space-4); }

/* ------------------------------------------------------------
   CANDY FIGURE (Andrew - candy bar comparison)
------------------------------------------------------------ */
.candy {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-4); align-items: stretch;
}
.candy__card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-10));
  display: flex; flex-direction: column; gap: var(--space-4);
}
.candy__card--win { border-color: var(--color-gold); background: linear-gradient(160deg, var(--color-surface-2), var(--color-gold-soft)); }
.candy__label { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text); }
.candy__card--win .candy__label { color: var(--color-gold-text); }
[data-theme="dark"] .candy__card--win .candy__label { color: var(--color-gold); }
.candy__stats { display: flex; flex-direction: column; gap: var(--space-3); }
.candy__stat { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); border-bottom: 1px dashed var(--color-divider); padding-bottom: var(--space-2); }
.candy__stat:last-child { border-bottom: none; }
.candy__stat-val { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; line-height: 1; }
.candy__card--win .candy__stat-val { color: var(--color-gold-deep); }
[data-theme="dark"] .candy__card--win .candy__stat-val { color: var(--color-gold); }
.candy__stat-key { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.candy__vs { display: flex; align-items: center; justify-content: center; }
.candy__vs span {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 800; font-size: 0.85rem;
}
.candy__line { margin-top: var(--space-6); text-align: center; font-size: var(--text-base); color: var(--color-text-muted); max-width: 64ch; margin-inline: auto; }
.candy__line strong { color: var(--color-text); }
@media (max-width: 760px) {
  .candy { grid-template-columns: 1fr; }
  .candy__vs span { margin: 0 auto; }
}

/* ------------------------------------------------------------
   MACROS STATS
------------------------------------------------------------ */
.macros__inner {
  display: grid; grid-template-columns: minmax(0,340px) 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center;
}
.macros__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.macro-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); text-align: center;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.macro-card:hover { border-color: var(--color-gold-border); box-shadow: var(--shadow-md); }
.macro-card__number { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 900; color: var(--color-gold-deep); line-height: 1; }
[data-theme="dark"] .macro-card__number { color: var(--color-gold); }
.macro-card__unit { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-top: var(--space-1); }
.macro-card__desc { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); line-height: 1.4; }
.macros__footnote { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
@media (max-width: 900px) { .macros__inner { grid-template-columns: 1fr; } .macros__grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------
   TEXTURE FULL-BLEED
------------------------------------------------------------ */
.texture-section { position: relative; min-height: min(440px, 56vw); overflow: hidden; display: flex; align-items: center; }
.texture-section img { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.texture-section__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,12,8,0.9) 0%, rgba(20,12,8,0.68) 48%, rgba(20,12,8,0.42) 100%); }
.texture-section__text { position: relative; z-index: 2; color: #fff; max-width: 560px; }
.texture-section__text h2 { font-size: var(--text-2xl); font-weight: 900; text-transform: uppercase; line-height: 0.96; }
.texture-section__text h2 span { color: var(--color-gold); }
.texture-section__text p { font-size: var(--text-base); color: rgba(255,255,255,0.82); max-width: 48ch; margin-top: var(--space-4); }

/* ------------------------------------------------------------
   REVIEWS (typographic testimonial cards - no reliance on portraits)
------------------------------------------------------------ */
.reviews__header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }
.reviews__rating { text-align: right; }
.reviews__rating .stars { font-size: 1.2rem; }
.reviews__rating-text { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.testimonial {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial__stars { color: var(--color-gold); font-size: 0.95rem; letter-spacing: 1px; }
.testimonial__quote { font-size: var(--text-base); color: var(--color-text); line-height: 1.55; flex: 1; }
.testimonial__who { display: flex; align-items: center; gap: var(--space-3); }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-gold-soft); color: var(--color-gold-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
}
[data-theme="dark"] .testimonial__avatar { color: var(--color-gold); }
.testimonial__name { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.testimonial__meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.testimonial__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--color-success); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   USE CASES
------------------------------------------------------------ */
.usecases__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; margin-bottom: var(--space-12); }
.usecases__cta-box { text-align: right; }
.usecases__tagline { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; text-transform: uppercase; color: var(--color-gold-deep); line-height: 0.95; margin-bottom: var(--space-5); }
[data-theme="dark"] .usecases__tagline { color: var(--color-gold); }
.usecases__cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.usecase-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}
.usecase-card:hover { border-color: var(--color-gold-border); transform: translateY(-3px); }
.usecase-card__icon { width: 44px; height: 44px; color: var(--color-gold-deep); }
[data-theme="dark"] .usecase-card__icon { color: var(--color-gold); }
.usecase-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.usecase-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 900px) { .usecases__top { grid-template-columns: 1fr; } .usecases__cta-box { text-align: left; } .usecases__cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecases__cases { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   FLAVORS / COMING SOON (Josh - one bar + flavors coming soon)
------------------------------------------------------------ */
.flavors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.flavor-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-6); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
}
.flavor-card--available { border-color: var(--color-gold); box-shadow: var(--shadow-md); }
.flavor-card__img { width: min(220px, 80%); border-radius: var(--radius-lg); }
.flavor-card--soon { position: relative; }
.flavor-card__placeholder {
  width: 100%; aspect-ratio: 16/11; border-radius: var(--radius-lg);
  background: var(--color-surface-offset); border: 1px dashed var(--color-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-2); color: var(--color-text-faint);
}
.flavor-card__placeholder svg { width: 52px; height: 52px; }
.flavor-card__placeholder span { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase; }
.flavor-card__badge {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
}
.flavor-card__badge--available { background: var(--color-gold); color: var(--color-ink); }
.flavor-card__badge--soon { background: var(--color-surface-offset); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.flavor-card__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-transform: uppercase; }
.flavor-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 760px) { .flavors__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   BACKED BY / FOUNDER (Andrew Koutnik spotlight)
------------------------------------------------------------ */
.backedby__inner { display: grid; grid-template-columns: minmax(0,320px) 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: center; }
.backedby__portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl);
  background: var(--color-surface-offset); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.backedby__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.backedby__name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; text-transform: uppercase; color: var(--color-text); }
.backedby__role { color: var(--color-gold-text); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: var(--text-sm); margin-top: var(--space-1); }
[data-theme="dark"] .backedby__role { color: var(--color-gold); }
.backedby__bio { color: var(--color-text-muted); margin-top: var(--space-4); font-size: var(--text-base); line-height: 1.65; }
.backedby__creds { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-5); }
.backedby__cred { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text); }
.backedby__cred svg { color: var(--color-gold-deep); flex-shrink: 0; margin-top: 3px; }
[data-theme="dark"] .backedby__cred svg { color: var(--color-gold); }
@media (max-width: 820px) { .backedby__inner { grid-template-columns: 1fr; } .backedby__portrait { max-width: 320px; } }

/* ------------------------------------------------------------
   UGC / INSTAGRAM ("Tag Your Pursuit")
------------------------------------------------------------ */
.ugc__head { text-align: center; margin-bottom: var(--space-8); }
.ugc__handle { color: var(--color-gold-text); font-weight: 700; }
[data-theme="dark"] .ugc__handle { color: var(--color-gold); }
.ugc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.ugc__tile {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); display: block; background: var(--color-surface-offset);
}
.ugc__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-interactive); }
.ugc__tile:hover img { transform: scale(1.05); }
.ugc__tile-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: var(--space-3);
  background: linear-gradient(to top, rgba(20,12,8,0.55), transparent 55%);
  opacity: 0.55; transition: opacity var(--transition-interactive);
}
.ugc__tile:hover .ugc__tile-overlay, .ugc__tile:focus-visible .ugc__tile-overlay { opacity: 1; }
.ugc__tile-overlay svg { color: #fff; }
.ugc__cta { text-align: center; margin-top: var(--space-8); }
@media (max-width: 760px) { .ugc__grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------
   FAQ
------------------------------------------------------------ */
.faq__list { max-width: var(--content-narrow); margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq__item { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--transition-interactive); }
.faq__item.open { border-color: var(--color-gold-border); }
.faq__q { margin: 0; font: inherit; }
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) var(--space-6); text-align: left; color: var(--color-text);
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; line-height: 1.4;
}
.faq__question:hover { color: var(--color-gold-text); }
.faq__chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-text-muted); transition: transform 0.3s ease, color 0.2s ease; }
.faq__item.open .faq__chevron { transform: rotate(180deg); color: var(--color-gold-deep); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1); }
.faq__answer-inner { padding: 0 var(--space-6) var(--space-5); font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }
.faq__answer-inner ul { list-style: none; margin-top: var(--space-2); display: flex; flex-direction: column; gap: var(--space-1); }
.faq__answer-inner ul li::before { content: '• '; color: var(--color-gold-deep); }

/* ------------------------------------------------------------
   CTA BANNER
------------------------------------------------------------ */
.cta-banner { text-align: center; padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.cta-banner__headline { font-size: var(--text-2xl); font-weight: 900; text-transform: uppercase; line-height: 0.96; margin: var(--space-3) 0 var(--space-4); color: #fff; }
.cta-banner__headline .accent { color: var(--color-gold); }
.cta-banner__sub { font-size: var(--text-base); color: var(--color-on-choc-muted); max-width: 48ch; margin-inline: auto; margin-bottom: var(--space-8); }
.cta-banner__actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }
.cta-banner__perks { display: flex; justify-content: center; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-8); }
.cta-banner__perk { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-on-choc-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.cta-banner__perk svg { color: var(--color-gold); }

/* ------------------------------------------------------------
   PRE-ORDER FORM
------------------------------------------------------------ */
.preorder-hero { padding-block: clamp(var(--space-12), 8vw, var(--space-20)); }
.preorder__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: center; }
.preorder__visual { display: flex; justify-content: center; }
.preorder__visual img { width: min(420px, 100%); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.form-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: var(--shadow-md); }
.form-row { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.form-row label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.form-row .req { color: var(--color-warn); }
.form-control {
  width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border); background: var(--color-bg); color: var(--color-text);
  font-size: var(--text-base);
}
.form-control:focus-visible { outline: 2px solid var(--color-gold-deep); outline-offset: 1px; border-color: var(--color-gold-deep); }
.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); }
.form-choice { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.form-choice label {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-full); cursor: pointer; font-weight: 600; font-size: var(--text-sm);
}
.form-choice input { accent-color: var(--color-gold-deep); }
.form-choice label:has(input:checked) { border-color: var(--color-gold); background: var(--color-gold-soft); color: var(--color-gold-text); }
[data-theme="dark"] .form-choice label:has(input:checked) { color: var(--color-gold); }
.form-success {
  display: none; text-align: center; padding: var(--space-6);
}
.form-success.show { display: block; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto var(--space-4); border-radius: 50%; background: var(--color-success); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-success__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; text-transform: uppercase; }
.form-success__msg { color: var(--color-text-muted); margin-top: var(--space-2); }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); text-align: center; }
@media (max-width: 820px) { .preorder__inner { grid-template-columns: 1fr; } .preorder__visual { order: -1; } .preorder__visual img { width: min(280px, 70%); } }

/* ------------------------------------------------------------
   ABOUT PAGE
------------------------------------------------------------ */
.page-hero { padding-block: clamp(var(--space-12), 8vw, var(--space-20)); text-align: center; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); }
.page-hero__title { font-size: var(--text-3xl); font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.page-hero__title .accent { display: block; }
.page-hero__sub { color: var(--color-text-muted); font-size: var(--text-lg); max-width: 60ch; margin: var(--space-4) auto 0; }
.prose { max-width: var(--content-narrow); margin-inline: auto; }
.prose p { margin-bottom: var(--space-5); font-size: var(--text-lg); line-height: 1.7; color: var(--color-text); }
.prose p.lead { font-size: var(--text-xl); color: var(--color-text); font-weight: 500; }
.prose h2 { font-size: var(--text-xl); text-transform: uppercase; margin: var(--space-10) 0 var(--space-4); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.value-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.value-card__icon { width: 44px; height: 44px; color: var(--color-gold-deep); margin-bottom: var(--space-3); }
[data-theme="dark"] .value-card__icon { color: var(--color-gold); }
.value-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-transform: uppercase; margin-bottom: var(--space-2); }
.value-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 820px) { .values__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   SOCIAL LINKS
------------------------------------------------------------ */
.social { display: flex; gap: var(--space-3); align-items: center; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); color: var(--color-text-muted); background: var(--color-surface-2);
}
.social a:hover { color: var(--color-gold-text); border-color: var(--color-gold-border); transform: translateY(-2px); }
[data-theme="dark"] .social a:hover { color: var(--color-gold); }
.section--ink .social a, .footer .social a { background: transparent; }

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-divider); padding-block: var(--space-12); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); align-items: start; }
.footer__brand { max-width: 320px; }
.footer__logo-img { height: 44px; width: auto; margin-bottom: var(--space-4); }
.footer__tagline { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-5); }
.footer__col-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text); margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col ul a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; }
.footer__col ul a:hover { color: var(--color-text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-8); margin-top: var(--space-10); border-top: 1px solid var(--color-divider); gap: var(--space-4); flex-wrap: wrap; }
.footer__copy { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer__legal { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer__legal a { font-size: var(--text-xs); color: var(--color-text-faint); text-decoration: none; }
.footer__legal a:hover { color: var(--color-text-muted); }
.footer__disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-6); line-height: 1.6; max-width: 80ch; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   SCROLL REVEAL
------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
