/* ============================================================
   HEALTHYLETE — Shared Design System
   Train Smart. Eat Better. Perform Stronger.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&family=Archivo:wdth,wght@125,700;125,800;125,900&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg: #F4F5F1;
  --bg-2: #ECEEE6;
  --surface: #FFFFFF;
  --ink: #0C1116;
  --ink-2: #2A323C;
  --muted: #69727E;
  --line: #E4E6DF;
  --line-strong: #D4D7CC;

  --lime: #A6E635;
  --lime-deep: #6FB80E;
  --lime-ink: #1B2600;
  --blue: #1B4DF5;
  --blue-deep: #1338C4;
  --orange: #F12938;       /* "orange" token now carries RED — strength */
  --orange-deep: #CE1525;
  --teal: #0FB5A4;
  --gold: #F5A81C;
  --gold-deep: #C16C00;
  --indigo: #5A4BE0;

  /* default section accent (overridden per page via body.theme-*) */
  --accent: var(--lime);
  --accent-deep: var(--lime-deep);
  --accent-ink: var(--lime-ink);
  --on-accent: var(--lime-ink);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12,17,22,.05), 0 2px 6px rgba(12,17,22,.05);
  --shadow-md: 0 6px 14px rgba(12,17,22,.07), 0 14px 34px rgba(12,17,22,.08);
  --shadow-lg: 0 18px 50px rgba(12,17,22,.14);

  --maxw: 1200px;
  --nav-h: 72px;

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

/* Per-section theming */
body.theme-nutrition { --accent: var(--lime); --accent-deep: var(--lime-deep); --on-accent: var(--lime-ink); }
body.theme-recipes  { --accent: var(--orange); --accent-deep: var(--orange-deep); --on-accent: #fff; }
body.theme-training { --accent: var(--blue); --accent-deep: var(--blue-deep); --on-accent: #fff; }
body.theme-recovery { --accent: var(--gold); --accent-deep: var(--gold-deep); --on-accent: var(--ink); }
body.theme-sleep    { --accent: var(--indigo); --accent-deep: #4133B8; --on-accent: #fff; }
body.theme-about    { --accent: var(--blue); --accent-deep: var(--blue-deep); --on-accent: #fff; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem); line-height: 1; }
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--accent);
}
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-3, .cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Archivo', sans-serif; font-stretch: 110%;
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  font-size: .92rem;
  padding: .85rem 1.4rem; border-radius: var(--radius-pill);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
  color: var(--accent-deep); transition: gap .18s var(--ease);
}
.textlink svg { width: 17px; height: 17px; transition: transform .18s var(--ease); }
.textlink:hover { gap: .65rem; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: .05em; font-size: .72rem;
  padding: .4rem .75rem; border-radius: var(--radius-pill);
  background: var(--bg-2); color: var(--ink-2);
}
.pill-accent { background: var(--accent); color: var(--on-accent); }
.pill-lime { background: var(--lime); color: var(--lime-ink); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-orange { background: var(--orange); color: #fff; }
.pill-teal { background: var(--teal); color: #fff; }
.pill-gold { background: var(--gold); color: var(--ink); }
.pill-indigo { background: var(--indigo); color: #fff; }
.pill-ink { background: var(--ink); color: #fff; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem;
  max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.brand {
  font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; font-size: 1.32rem; letter-spacing: -.01em;
  display: inline-flex; align-items: center; line-height: 1;
}
.brand .hi { color: var(--ink); }
.brand .lete {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--lime) 58% 92%, transparent 92%);
  padding-inline: 1px;
}
.brand .bolt { color: var(--lime-deep); margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-stretch: 105%;
  text-transform: uppercase; letter-spacing: .02em; font-size: .82rem;
  padding: .55rem .7rem; border-radius: 10px; color: var(--ink-2);
  position: relative; transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .28rem;
  height: 3px; border-radius: 2px; background: var(--accent);
}
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto;
  border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--bg-2); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px){
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.1rem,4vw,2.5rem) 1.4rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.05rem; padding: .85rem .6rem; border-radius: 12px; }
  .nav-links a.active::after { left: .6rem; right: auto; width: 26px; bottom: .55rem; }
}

/* ============================================================
   HERO (page headers)
   ============================================================ */
.pagehead { position: relative; overflow: hidden; }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead-inner { padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.pagehead h1 {
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.2rem);
  max-width: 16ch;
}
.pagehead .lead { max-width: 56ch; margin-top: 1.1rem; }
.crumb { color: var(--muted); font-weight: 700; font-size: .85rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .4rem; }
.crumb a:hover { color: var(--ink); }

/* accent wash backgrounds for page heads */
.head-wash { background:
  radial-gradient(1200px 500px at 90% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* dark page head (sleep) */
.pagehead.dark { background:
  radial-gradient(900px 500px at 85% -20%, #4133b8, transparent 60%),
  radial-gradient(700px 500px at 10% 120%, #2a2170, transparent 60%),
  linear-gradient(180deg, #0d0a26, #161043); color: #fff; }
.pagehead.dark h1 { color: #fff; }
.pagehead.dark .lead { color: rgba(255,255,255,.82); }
.pagehead.dark .crumb, .pagehead.dark .crumb a { color: rgba(255,255,255,.6); }
.pagehead.dark .crumb a:hover { color: #fff; }
.pagehead.dark .eyebrow { color: #fff; }
.pagehead.dark .eyebrow::before { background: var(--lime); }
.pagehead.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.pagehead.dark .btn-ghost:hover { border-color: #fff; }
.pagehead .stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .8; }

/* big hours stat (sleep) */
.hours-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem,4vw,2.6rem); text-align: center; }
.hours-block .h-num { font-family:'Archivo'; font-stretch:125%; font-weight:900; line-height:.9;
  font-size: clamp(3.5rem, 2rem + 8vw, 6.5rem); color: var(--indigo);
  display: flex; align-items: baseline; justify-content: center; gap: .5rem; }
.hours-block .h-num span { font-size: clamp(1rem,.8rem+1vw,1.6rem); color: var(--ink-2); font-stretch: 110%; }
.hours-block .h-lbl { font-weight: 600; color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hero-copy, .hero-visual { min-width: 0; }
.hero-visual { padding-top: 0; margin-top: -.5rem; }
@media (max-width: 1140px){ .hero-grid { grid-template-columns: 1fr; max-width: 640px; align-items: stretch; } .hero-visual { margin-top: 0; } }
.hero-copy .pill-ink { margin-bottom: 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .8rem; margin-bottom: 1.4rem; }
.hero-badges .pill-ink { margin-bottom: 0; }
.hero-byline { display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; color: var(--orange-deep); }
.hero-byline::before, .hero-byline::after { content: "★"; color: var(--orange); font-size: 1em; line-height: 1; }
.hero-title { font-size: clamp(2.6rem, 1rem + 5.6vw, 4.9rem); margin-block: .2rem .4rem; }
.hero-title .t-blue { color: var(--blue); }
.hero-title .t-lime { color: var(--lime-deep); }
.hero-title .t-orange { color: var(--orange); }
.hero-copy .lead { max-width: 50ch; margin-top: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-proof { display: flex; align-items: center; gap: 1.3rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-proof > div { display: flex; flex-direction: column; }
.hp-num { font-family:'Archivo'; font-stretch:125%; font-weight:900; font-size: 1.9rem; line-height: 1; }
.hp-lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hp-div { width: 1px; height: 32px; background: var(--line-strong); }

.hero-visual { position: relative; }
.hero-panel { box-shadow: var(--shadow-lg); }

/* Cycle diagram */
.cycle { position: relative; width: 100%; max-width: 430px; margin-inline: auto; aspect-ratio: 1/1;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 120% at 50% 0%, #16263a, #0a0f16 70%);
  border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; padding-top: 26px; }
.cycle-tag { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-family:'Archivo'; font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: .1em;
  font-size: .68rem; color: rgba(255,255,255,.7); white-space: nowrap; }
.cycle-inner { position: relative; width: 80%; aspect-ratio: 1/1; }
.cycle .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycle .node { position: absolute; transform: translate(-50%,-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.cycle .nb { width: clamp(48px, 12vw, 62px); height: clamp(48px,12vw,62px); border-radius: 18px;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.cycle .nb svg { width: 56%; height: 56%; }
.cycle .nl { font-family:'Archivo'; font-weight: 800; font-stretch: 115%; text-transform: uppercase;
  letter-spacing: .04em; font-size: .82rem; color: #fff; }
.node-eat { top: 8%; left: 50%; }
.node-train { top: 66%; left: 85%; }
.node-sleep { top: 66%; left: 15%; }
.cycle-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 44%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; gap: .12rem; text-align: center;
  background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.22); }
.cycle-core svg { width: 24px; height: 24px; color: var(--lime); }
.cycle-core strong { font-family:'Archivo'; font-weight: 800; font-stretch: 115%; text-transform: uppercase;
  font-size: .95rem; line-height: 1; color: #fff; letter-spacing: .03em; }
.cycle-core .cc-sub { font-family:'Hanken Grotesk'; font-weight: 600; font-size: .62rem;
  color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }
.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: .7rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: .7rem .9rem; box-shadow: var(--shadow-md);
}
.float-chip .fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-chip .fc-ic svg { width: 22px; height: 22px; }
.float-chip strong { display: block; font-size: .92rem; line-height: 1.1; }
.float-chip span { display: block; font-size: .8rem; color: var(--muted); }
.float-chip.chip-a { top: 8%; left: -6%; }
.float-chip.chip-b { bottom: 9%; right: -7%; }
@media (max-width: 1080px){ .float-chip.chip-a { left: 2%; } .float-chip.chip-b { right: 2%; } }
@media (max-width: 520px){ .float-chip { display: none; } }

/* mission */
.mission { max-width: 60ch; }
.mission-eyebrow { font-size: clamp(3rem, 2rem + 4.8vw, 4.8rem); letter-spacing: .03em; margin-bottom: .5rem; line-height: 1; }
.mission-eyebrow::before { width: 64px; height: 8px; }
.mission-eyebrow::after { content: ""; width: 64px; height: 8px; border-radius: 2px; background: var(--accent); }
.mission-text { font-size: clamp(1.2rem, 1rem + 1.2vw, 1.7rem); line-height: 1.4; margin-top: .9rem; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.mission-text strong { color: var(--ink); }

/* ============================================================
   EDITORIAL IMAGE PANELS (placeholder photo system)
   ============================================================ */
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--ink); aspect-ratio: 16/10; isolation: isolate;
}
.panel.tall { aspect-ratio: 4/5; }
.panel.wide { aspect-ratio: 16/9; }
.panel.square { aspect-ratio: 1/1; }
.panel-tint { position: absolute; inset: 0; z-index: 1; }
.panel-grain { position: absolute; inset: 0; z-index: 2; opacity: .5; mix-blend-mode: soft-light;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.5) 1px, transparent 0);
  background-size: 5px 5px; }
.panel-motif { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.panel-motif svg { width: 56%; height: 56%; opacity: .9; }
.panel-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 4;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-stretch: 110%; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.92);
  background: rgba(12,17,22,.42); backdrop-filter: blur(4px);
  padding: .3rem .6rem; border-radius: 999px;
}
.panel .pill { position: absolute; left: 12px; top: 12px; z-index: 4; }

/* tint palettes */
.tint-lime   { background: linear-gradient(135deg, #1B2600, #4d6b00 38%, var(--lime) 130%); }
.tint-blue   { background: linear-gradient(135deg, #061238, #11349e 42%, #4f80ff 130%); }
.tint-orange { background: linear-gradient(135deg, #3a0007, #b00a1a 42%, #ff5a66 130%); }
.tint-teal   { background: linear-gradient(135deg, #042b27, #0a7a6f 45%, #4fded0 130%); }
.tint-gold   { background: linear-gradient(135deg, #3a2400, #b3760a 45%, #ffd166 130%); }
.tint-indigo { background: linear-gradient(135deg, #110a36, #3a2db0 45%, #8a7bff 130%); }
.tint-ink    { background: linear-gradient(135deg, #05080c, #1c2630 60%, #36465a 130%); }
.tint-warm   { background: linear-gradient(135deg, #2a1605, #8a4d12 45%, #f0b15a 130%); }

/* flat bright panel — solid accent fill, no dark gradient */
.panel.flat-bright.tint-lime { background: var(--lime); }
.panel.flat-bright.tint-orange { background: var(--orange); }
.panel.flat-bright.tint-blue { background: var(--blue); }
.panel.flat-bright .panel-label.dark { background: rgba(12,17,22,.14); color: rgba(12,17,22,.78); backdrop-filter: none; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
a.card, .card.linky { cursor: pointer; }
a.card:hover, .card.linky:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .panel { border-radius: 0; aspect-ratio: 16/10; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { line-height: 1.02; }
.card-meta { display: flex; align-items: center; gap: .9rem; color: var(--muted);
  font-size: .82rem; font-weight: 600; margin-top: auto; }
.card-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.card-kicker { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }

/* Feature/section nav card (home) */
.navcard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; color: #fff; isolation: isolate;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.navcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Pick-your-lane: bright solid tiles, no dark shading */
.lane .nc-bg::after { display: none; }
.lane .nc-bg.tint-lime   { background: var(--lime); }
.lane .nc-bg.tint-orange { background: var(--orange); }
.lane .nc-bg.tint-blue   { background: var(--blue); }
.lane .nc-bg.tint-teal   { background: var(--teal); }
.lane .nc-bg.tint-gold   { background: var(--gold); }
.lane .nc-bg.tint-indigo { background: var(--indigo); }
.lane .nc-bg.tint-sky    { background: #17A6DF; }
.lane:hover { box-shadow: 0 18px 40px rgba(12,17,22,.18); }
/* dark text on the brightest tiles (lime, teal, gold) */
.lane:has(.tint-lime), .lane:has(.tint-teal), .lane:has(.tint-gold) { color: var(--ink); }
.lane:has(.tint-lime) h3, .lane:has(.tint-teal) h3, .lane:has(.tint-gold) h3 { color: var(--ink); }
.lane:has(.tint-lime) p, .lane:has(.tint-teal) p, .lane:has(.tint-gold) p { color: rgba(12,17,22,.72); }
.lane:has(.tint-lime) .nc-icon, .lane:has(.tint-teal) .nc-icon, .lane:has(.tint-gold) .nc-icon { background: rgba(12,17,22,.1); }
.lane:has(.tint-lime) .nc-icon svg, .lane:has(.tint-teal) .nc-icon svg, .lane:has(.tint-gold) .nc-icon svg { color: var(--ink); }
.navcard .nc-bg { position: absolute; inset: 0; z-index: -2; }
.navcard .nc-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(6,9,12,.7) 92%); }
.navcard .nc-icon { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 1;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px); }
.navcard .nc-icon svg { width: 26px; height: 26px; color: #fff; }
.navcard .nc-num { position: absolute; top: 1.1rem; left: 1.3rem; z-index: 1;
  font-family: 'Archivo'; font-stretch: 125%; font-weight: 900; font-size: 1.1rem; opacity: .85; }
.navcard h3 { color: #fff; }
.navcard p { color: rgba(255,255,255,.85); font-size: .95rem; }
.navcard .nc-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem;
  font-family: 'Archivo'; font-weight: 800; font-stretch: 105%; text-transform: uppercase;
  letter-spacing: .04em; font-size: .82rem; }
.navcard .nc-go svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.navcard:hover .nc-go svg { transform: translateX(4px); }

/* ---------- Stat / info chips ---------- */
.statrow { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; }
.stat .num { font-family: 'Archivo'; font-stretch: 125%; font-weight: 900; font-size: 2.4rem;
  line-height: 1; color: var(--accent-deep); }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: .35rem; }

/* ---------- Info / content blocks ---------- */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2rem); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface)); margin-bottom: 1rem; }
.feature .ic svg { width: 28px; height: 28px; color: var(--accent-deep); }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--ink-2); }

.macro-card { border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2rem); color: #fff; position: relative; overflow: hidden; }
.macro-card h3 { color: #fff; font-size: clamp(1.5rem,1rem+2vw,2.2rem); }
.macro-card .big { font-family:'Archivo'; font-stretch:125%; font-weight:900; font-size: clamp(2.4rem,2rem+3vw,4rem); line-height:.9; }
.macro-card ul { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: 1rem; }
.macro-card li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.9); }
.macro-card li::before { content:""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: currentColor; margin-top: .55rem; opacity:.8; }

/* numbered steps */
.steps { display: grid; gap: 1rem; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.step .n { counter-increment: s; font-family:'Archivo'; font-stretch:125%; font-weight:900; font-size:1.4rem;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); }
.step .n::before { content: counter(s,decimal-leading-zero); }
.step h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.step p { color: var(--ink-2); font-size: .96rem; }

/* checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.checklist .ck { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 20%, var(--surface)); color: var(--accent-deep); margin-top: 1px; }
.checklist .ck svg { width: 16px; height: 16px; }
.checklist.warn .ck { background: color-mix(in srgb, var(--orange) 18%, var(--surface)); color: var(--orange-deep); }

/* prose */
.prose p { color: var(--ink-2); margin-top: .9rem; max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; text-transform: none; font-stretch: 110%; font-size: 1.4rem; }

/* callout */
.callout { border-radius: var(--radius-lg); padding: clamp(1.3rem,3vw,2rem);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.callout .eyebrow { margin-bottom: .5rem; }

/* ============================================================
   FILTER BAR (recipes)
   ============================================================ */
.filterbar { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: 'Archivo'; font-weight: 700; font-stretch: 105%; text-transform: uppercase;
  letter-spacing: .03em; font-size: .78rem; padding: .55rem .95rem; border-radius: var(--radius-pill);
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink-2);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search {
  display: flex; align-items: center; gap: .6rem; background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: .55rem 1rem; min-width: 230px;
}
.search:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: none; outline: none; background: none; width: 100%; color: var(--ink); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); display: none; }
.empty-state.show { display: block; }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--line-strong); }

/* recipe card extras */
.recipe-card { display: flex; }
.recipe-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.recipe-stat { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700;
  color: var(--ink-2); background: var(--bg-2); padding: .35rem .6rem; border-radius: 999px; }
.recipe-stat svg { width: 15px; height: 15px; color: var(--muted); }
.recipe-stat.protein { background: color-mix(in srgb, var(--lime) 26%, var(--surface)); color: var(--lime-ink); }
.recipe-stat.protein svg { color: var(--lime-ink); }
.results-count { color: var(--muted); font-weight: 600; font-size: .95rem; }
.results-count strong { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footcta { background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem,5vw,3.4rem); position: relative; overflow: hidden; }
.footcta h2 { color: #fff; font-size: clamp(2rem,1.4rem+3vw,3.4rem); max-width: 18ch; }
.footcta p { color: rgba(255,255,255,.8); max-width: 50ch; margin-top: .8rem; }
.footcta .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.footcta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.footcta .btn-ghost:hover { border-color: #fff; }
.footcta .blob { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb,var(--accent) 60%, transparent), transparent 70%);
  opacity: .5; pointer-events: none; }

.foot { background: var(--ink); color: rgba(255,255,255,.72); }
.foot a { color: rgba(255,255,255,.72); }
.foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
@media (max-width: 760px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 460px){ .foot-grid { grid-template-columns: 1fr; } }
.foot .brand { color: #fff; font-size: 1.5rem; }
.foot .brand .lete { background: linear-gradient(transparent 58%, var(--lime) 58% 92%, transparent 92%); color: #fff; }
.foot-col h4 { font-family:'Archivo'; font-stretch:110%; font-weight:800; text-transform: uppercase;
  letter-spacing: .06em; font-size: .78rem; color: #fff; margin-bottom: .9rem; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.foot-col li { font-size: .92rem; }
.foot-tag { color: rgba(255,255,255,.62); margin-top: .9rem; max-width: 34ch; font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); max-width: 70ch; line-height: 1.55; }
.disclaimer strong { color: rgba(255,255,255,.8); }
.foot-social { display: flex; gap: .6rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .15s var(--ease); }
.foot-social a:hover { background: var(--accent); color: var(--on-accent); }
.foot-social svg { width: 19px; height: 19px; }

/* ============================================================
   REVEAL ANIMATION (pure CSS — ends visible, no JS dependency)
   ============================================================ */
.reveal { opacity: 1; }
@keyframes revUp { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: revUp .6s var(--ease) both; }
  .reveal.d1 { animation-delay: .07s; }
  .reveal.d2 { animation-delay: .14s; }
  .reveal.d3 { animation-delay: .21s; }
  .reveal.d4 { animation-delay: .28s; }
}

/* utilities */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-prose { max-width: 64ch; }
.flex { display: flex; }
.gap-sm { gap: .5rem; } .gap { gap: 1rem; } .gap-lg { gap: 1.6rem; }
.wrap-flex { flex-wrap: wrap; }
.items-center { align-items: center; }
.between { justify-content: space-between; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.6rem}.mt-4{margin-top:2.2rem}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head .lead { max-width: 50ch; }

/* ============================================================
   EXERCISE CARDS + WEEKLY PLANNER (training)
   ============================================================ */
.exercise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.exercise-top { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.exercise-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent-deep); }
.exercise-ic svg { width: 26px; height: 26px; }
.exercise-top h3 { font-size: 1.2rem; line-height: 1; }
.exercise-top .pill { margin-top: .35rem; }
.exercise-body { padding: 1.1rem 1.2rem 1.3rem; }
.exercise-body .cue-label { font-family:'Archivo'; font-weight:800; font-stretch:110%; text-transform:uppercase; letter-spacing:.06em; font-size:.72rem; color:var(--muted); margin-bottom:.6rem; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .7rem; }
@media (max-width: 820px){ .week { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px){ .week { grid-template-columns: repeat(2,1fr); } }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem .9rem; }
.day .dow { font-family:'Archivo'; font-weight:800; font-stretch:110%; text-transform:uppercase; letter-spacing:.05em; font-size:.72rem; color:var(--muted); }
.day .what { font-weight: 700; margin-top: .5rem; line-height: 1.2; }
.day .tag { display: inline-block; margin-top: .6rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .5rem; border-radius: 999px; }
.day.train { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.day.train .tag { background: color-mix(in srgb,var(--blue) 16%, #fff); color: var(--blue-deep); }
.day.sport .tag { background: color-mix(in srgb,var(--orange) 16%, #fff); color: var(--orange-deep); }
.day.rest { background: var(--bg-2); }
.day.rest .tag { background: color-mix(in srgb,var(--gold) 22%, #fff); color: var(--gold-deep); }
