/* =========================================================
   Healthy & Awake — Cinematic Hub
   Design system: dark cinematic + warm gold. Intellectual, not tinfoil.
   Pattern mirrors shipped Dex/Wynter (vanilla HTML + GSAP + Lenis).
   ========================================================= */

:root {
  /* Dark base (asleep) */
  --bg-0: #08080d;          /* deepest */
  --bg-1: #0d0d1a;          /* primary */
  --bg-2: #14141f;          /* raised panels */
  --bg-3: #1a1a28;          /* cards */
  --warm-bg: #1a1410;       /* creed warm end-state (awake) */
  --warm-glow: rgba(212, 165, 116, 0.14);

  /* Gold accent */
  --gold: #d4a574;
  --gold-bright: #e0b585;
  --gold-deep: #b98a55;
  --gold-soft: rgba(212, 165, 116, 0.15);

  /* Text */
  --text: #f2f1ee;
  --text-2: #b9b9c4;
  --text-dim: #9a9aa6;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* hide native scrollbar (custom progress bar is the indicator) */
html { scrollbar-width: none; }
body::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font-sans);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----------------------------- type ----------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}

/* ----------------------------- layout ----------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(80px, 12vh, 160px); }

/* ----------------------------- buttons (CTA tiers) ----------------------------- */
/* PRIMARY (email) — the ONLY solid-gold buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #1a1206;
  font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: 999px;
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 0 rgba(212,165,116,0);
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(212,165,116,0.28); }

/* SECONDARY (podcast follow/rate) — ghost */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-weight: 500; font-size: 14px; padding: 10px 18px; border-radius: 999px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212,165,116,0.06); transform: translateY(-1px); }

/* TERTIARY (coaching/affiliate/course) — muted text link */
.link-muted {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-2); font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-muted:hover { color: var(--gold); border-color: var(--gold); }

/* ----------------------------- nav ----------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: linear-gradient(to bottom, rgba(8,8,13,0.85), rgba(8,8,13,0));
  backdrop-filter: blur(4px);
}
.nav-logo { display: flex; align-items: baseline; font-family: "Montserrat", var(--font-display); font-size: 16px; font-weight: 900; letter-spacing: 0.005em; text-transform: uppercase; color: var(--text); }
.nav-logo .amp { color: var(--gold); margin: 0 0.16em; }
.nav-logo .reg { font-size: 0.46em; align-self: flex-start; margin-left: 3px; color: var(--text-dim); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--text-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn-primary { padding: 9px 18px; font-size: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scroll progress */
#scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: rgba(255,255,255,0.05); }
#scroll-progress .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }

/* ----------------------------- hero ----------------------------- */
#hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-0); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }
#hero .wrap { position: relative; z-index: 2; }
.hero-grain { position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(0,0,0,0.55) 100%); }
/* slow gold light-sweep across the hero (subtle, on-brand) */
#hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(212,165,116,0.08) 50%, transparent 62%);
  background-size: 260% 100%; animation: heroSweep 13s ease-in-out infinite; }
@keyframes heroSweep { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { #hero::after { animation: none; opacity: 0; } }

.hero-inner { max-width: 920px; }
.hero-eyebrow { margin-bottom: 22px; opacity: 0; }
#hero h1 {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  max-width: 16ch;
}
#hero h1 .word { display: inline-block; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--text-2); max-width: 52ch; margin-bottom: 36px; opacity: 0; }
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; opacity: 0; }
.hero-follow { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.hero-stat { margin-top: 40px; font-size: 14px; color: var(--text-dim); letter-spacing: 0.02em; opacity: 0; display: flex; align-items: center; gap: 10px; }
.hero-stat .badge { color: var(--gold); font-weight: 600; }
.hero-stat a.badge { border-bottom: 1px solid var(--gold-soft); transition: border-color 0.2s; }
.hero-stat a.badge:hover { border-color: var(--gold); }

/* ambient wordmark behind sections */
#ambient-wordmark {
  position: fixed; bottom: 4vh; left: var(--gutter); z-index: 1; opacity: 0;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim);
  pointer-events: none;
}

/* ----------------------------- creed (dark -> warm) ----------------------------- */
#creed { background: var(--bg-1); }
.creed-stage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.creed-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 50% at 50% 55%, var(--warm-glow), transparent 70%); }
.creed-line {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 76px); font-weight: 400; line-height: 1.1;
  color: var(--text); opacity: 0.28; transition: opacity 0.4s;
  margin-block: 0.1em;
}
.creed-line .ink { color: var(--gold-bright); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .creed-line .ink { background: linear-gradient(90deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
@media (forced-colors: active) {
  .creed-line .ink { -webkit-text-fill-color: currentColor; color: currentColor; }
}
.creed-cue {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transition: opacity 0.4s; cursor: pointer;
}
.creed-cue svg { width: 22px; height: 22px; animation: cue-bounce 1.8s var(--ease-out) infinite; }
@keyframes cue-bounce { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }

/* ----------------------------- credibility wall ----------------------------- */
#wall { background: var(--bg-1); }
.wall-head { max-width: 60ch; margin-bottom: 14px; }
.wall-head h2 { font-size: clamp(28px, 4.5vw, 52px); margin-bottom: 18px; }
.wall-intro { color: var(--text-2); font-size: clamp(17px, 2vw, 20px); }

.counters { display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 80px); margin: 48px 0 60px; }
.counter .num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); font-weight: 500; color: var(--gold); line-height: 1; }
.counter .label { margin-top: 8px; font-size: 14px; color: var(--text-2); letter-spacing: 0.02em; }
.counter.spotify .num { font-size: clamp(28px, 4vw, 44px); }

.guest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
/* phones: 2 across instead of 1 full-width card per row (halves the scroll) */
@media (max-width: 600px) { .guest-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.guest-card {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  cursor: pointer;
}
html.js .guest-card { opacity: 0; transform: translateY(28px); }
.guest-card .thumb-wrap { position: absolute; inset: 0; overflow: hidden; transition: transform 0.7s var(--ease-out); }
/* blurred backdrop fills any area the framed face doesn't cover, so any zoom/position works without gaps */
.guest-card .thumb-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--thumb) center / cover no-repeat;
  filter: grayscale(1) contrast(1.05) brightness(0.5) sepia(0.45) hue-rotate(-12deg) saturate(1.4) blur(22px);
  transform: scale(1.25);
}
.guest-card img {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  height: calc(var(--z, 1.2) * 100%); width: auto; max-width: none;
  /* data-driven framing: translate the measured nose point (--nx,--ny) to the card center */
  transform: translate(calc(var(--nx, 0.5) * -100%), calc(var(--ny, 0.5) * -100%));
  /* duotone: desaturate + warm. Bloom to full color on hover (asleep -> awake) */
  filter: grayscale(1) contrast(1.05) brightness(0.82) sepia(0.45) hue-rotate(-12deg) saturate(1.4);
  transition: filter 0.55s var(--ease-out);
}
.guest-card:hover img, .guest-card:focus-visible img { filter: none; }
/* hover zoom on the wrapper so it never disturbs the centering translate on the img */
.guest-card:hover .thumb-wrap, .guest-card:focus-visible .thumb-wrap { transform: scale(1.06); }
.guest-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,13,0.92) 8%, rgba(8,8,13,0.25) 45%, rgba(8,8,13,0.1) 100%); }
.guest-card .hairline { position: absolute; inset: 0; border: 1px solid rgba(212,165,116,0); border-radius: inherit; transition: border-color 0.4s; pointer-events: none; }
.guest-card:hover .hairline, .guest-card:focus-visible .hairline { border-color: rgba(212,165,116,0.55); }
.guest-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 18px; z-index: 2; }
.guest-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.1; }
.guest-ped { margin-top: 5px; font-size: 12px; color: var(--gold); letter-spacing: 0.01em; }
.guest-ep { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-2); background: rgba(8,8,13,0.6); border: 1px solid var(--line); padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
/* fallback initials placeholder */
.guest-card.broken img { display: none; }
.guest-card .initials { position: absolute; inset: 0; display: none; place-items: center;
  font-family: var(--font-display); font-size: 40px; color: var(--gold-deep);
  background: radial-gradient(circle at 50% 35%, var(--bg-3), var(--bg-0)); }
.guest-card.broken .initials { display: grid; }

/* "Guests featured on:" pedigree strip */
.featured-on { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.featured-on .fo-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.fo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .fo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fo-grid { grid-template-columns: 1fr; } }
.fo-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); transition: border-color 0.3s; }
.fo-item:hover { border-color: var(--gold-soft); }
.fo-where { font-family: var(--font-display); font-size: 17px; color: var(--text); }
.fo-who { font-size: 13px; color: var(--gold); }
.fo-who a { color: inherit; border-bottom: 1px solid rgba(212,165,116,0.32); transition: color 0.2s, border-color 0.2s; }
.fo-who a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ----------------------------- reveal util (gated behind JS so no-JS shows content) ----------------------------- */
html.js .reveal { opacity: 0; transform: translateY(28px); }

/* ----------------------------- custom cursor ----------------------------- */
#cursor-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 1px solid rgba(212,165,116,0.5); z-index: 9999; pointer-events: none;
  transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(212,165,116,0.18), transparent 70%);
}
@media (hover: none) { #cursor-ring { display: none; } }

/* =========================================================
   Reduced motion — stamp end states, kill animation
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-sub, .hero-cta-row, .hero-stat,
  .reveal, .guest-card, .creed-manifesto { opacity: 1 !important; transform: none !important; }
  .creed-line { opacity: 1 !important; }
  .creed-glow { opacity: 1 !important; }
  .creed-cue { opacity: 1 !important; }
  #ambient-wordmark { opacity: 0 !important; }
  #cursor-ring { display: none; }
  .guest-card img { filter: grayscale(0.2) brightness(0.95); }
}

/* ----------------------------- a11y util ----------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* no-JS/crawler fallback lists: present for crawlers + JS-off, hidden once JS injects the live cards (avoids double screen-reader announcement) */
html.js .sr-fallback { display: none; }

/* cursor-glow card base (data-glow) */
[data-glow] { position: relative; --glow-a: 0; }
[data-glow]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(360px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(212,165,116,0.13), transparent 60%);
  opacity: var(--glow-a); transition: opacity 0.3s;
}

/* ----------------------------- episodes / ozempic ----------------------------- */
.ozempic-tile { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin: 24px 0 72px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.ozempic-media { position: relative; min-height: 340px; overflow: hidden; }
.ozempic-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 84% center; filter: brightness(0.9) saturate(1.05); }
.ozempic-scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,8,13,0.1), rgba(8,8,13,0.55) 70%, var(--bg-2)); }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 66px; height: 66px; border-radius: 50%; background: rgba(212,165,116,0.92); display: grid; place-items: center; color: #1a1206; transition: transform 0.3s var(--ease-out); }
.ozempic-tile:hover .play-badge { transform: translate(-50%,-50%) scale(1.08); }
.ozempic-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.play-badge svg { width: 26px; height: 26px; margin-left: 3px; }
.ozempic-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.ozempic-kicker { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ozempic-body h3 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.ozempic-body p { color: var(--text-2); margin-bottom: 26px; max-width: 42ch; }
.ozempic-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.recent-head h2 { font-size: clamp(24px, 3.5vw, 38px); }
.host-byline { font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }
.recent-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.recent-foot { margin-top: 30px; }

/* ----------------------------- newsletter ----------------------------- */
.news-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); border: 1px solid var(--gold-soft); background: linear-gradient(135deg, var(--bg-2), var(--bg-1)); }
.news-copy h2 { font-size: clamp(28px, 4vw, 46px); margin: 16px 0 16px; }
.news-copy p { color: var(--text-2); max-width: 46ch; }
.news-note { font-size: 13px; color: var(--text-dim); text-align: center; }
.news-embed { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; padding: 18px; background: var(--bg-2); border: 1px solid var(--gold-soft); border-radius: var(--radius); }
.news-embed .embed-label { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.news-embed iframe { width: 100%; min-height: 160px; border: 0; border-radius: 10px; background: #fff; display: block; }

/* ----------------------------- claim cards ----------------------------- */
.claims-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.claim-card { position: relative; padding: 34px 30px 56px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg-1)); transition: transform 0.4s var(--ease-out), border-color 0.3s; }
.claim-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); }
.claim-card blockquote { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.25; color: var(--text); margin-bottom: 22px; }
.claim-card figcaption { display: flex; flex-direction: column; gap: 7px; margin-bottom: 6px; }
.claim-who { color: var(--text); font-size: 14px; font-weight: 600; }
.claim-ep { color: var(--gold); font-size: 12.5px; letter-spacing: 0.03em; font-weight: 500; transition: color 0.2s; }
.claim-ep:hover { color: var(--gold-bright); }
.claims-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.claims-head .rail-hint { margin: 0; }
.claim-share { position: absolute; right: 22px; bottom: 18px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; transition: color 0.2s, border-color 0.2s; }
.claim-share:hover { color: var(--gold); border-color: var(--gold); }

/* ----------------------------- what I use ----------------------------- */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 36px 0 26px; }
.stack-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(165deg, var(--bg-3), var(--bg-1)); display: flex; flex-direction: column; transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s; }
.stack-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: 0 18px 50px rgba(0,0,0,0.42); }
/* image banner — gold-tinted to harmonize with the dark theme */
.stack-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.stack-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02) brightness(0.95); transition: transform 0.6s var(--ease-out); }
.stack-card:hover .stack-media img { transform: scale(1.06); }
.stack-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(212,165,116,0.20), rgba(212,165,116,0) 55%),
              linear-gradient(180deg, rgba(10,8,6,0) 45%, rgba(10,8,6,0.85) 100%); }
.stack-badge { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--gold); color: #1a1206; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.stack-body { position: relative; z-index: 2; padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.stack-name { font-family: var(--font-display); font-size: 24px; margin-bottom: 4px; }
.stack-cat { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.stack-hook { color: var(--text-2); font-size: 15px; line-height: 1.5; margin-bottom: 18px; flex: 1 1 auto; }
.stack-code { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.stack-code b { color: var(--gold-bright); }
.stack-go { font-size: 14px; font-weight: 600; color: var(--gold); transition: color 0.2s; }
.stack-card:hover .stack-go { color: var(--gold-bright); }
.ftc { font-size: 13px; color: var(--text-dim); font-style: italic; }

/* ----------------------------- coaching ----------------------------- */
.coaching-card { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, var(--bg-2), var(--bg-1)); }
.coaching-card h2 { font-size: clamp(26px, 3.6vw, 42px); margin: 14px 0 16px; }
.coaching-card p { color: var(--text-2); max-width: 52ch; margin: 0 auto 24px; }
.coaching-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 48px; }

/* ----------------------------- footer ----------------------------- */
#footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vh, 90px) 0 40px; background: var(--bg-0); }
.footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-tag { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 44px 0; }
.footer-h { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 15px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-dim); }

/* ----------------------------- sticky bar ----------------------------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(13,13,26,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--gold-soft); transform: translateY(110%); visibility: hidden; transition: transform 0.4s var(--ease-out), visibility 0.4s; }
/* visibility:hidden when hidden removes the CTA + close button from the keyboard tab order (a11y) */
.sticky-bar.show { transform: translateY(0); visibility: visible; }
.sticky-hook { font-size: 14px; color: var(--text); flex: 1 1 auto; }
.sticky-bar .btn-primary { padding: 10px 20px; font-size: 14px; }
.sticky-close { color: var(--text-dim); font-size: 22px; line-height: 1; padding: 4px 8px; }
.sticky-close:hover { color: var(--text); }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 860px) {
  .ozempic-tile { grid-template-columns: 1fr; }
  .ozempic-media { min-height: 240px; }
  .news-card { grid-template-columns: 1fr; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-hook { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .counters { gap: 28px; }
  .hero-cta-row { gap: 14px; }
}

/* =========================================================
   Rev2 additions — a11y, mobile nav, carousels, about, polish
   ========================================================= */

/* skip link */
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--gold); color: #1a1206; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* global focus-visible */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.btn-primary:focus-visible { outline-offset: 4px; }

/* cursor ring active state */
#cursor-ring.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(212,165,116,0.9); }

/* ---- carousels / rails ---- */
.rail { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; scroll-padding-left: var(--gutter); }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.rail::-webkit-scrollbar-track { background: transparent; }

/* guest wall = 2-row horizontal scroll carousel */
.guest-grid.rail {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-template-rows: repeat(2, auto); grid-auto-columns: clamp(168px, 22vw, 206px);
  gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding-bottom: 16px;
}
.guest-grid.rail .guest-card { scroll-snap-align: start; }
.rail-hint { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }

/* recent + claims = single-row snap rails (override the 2-row guest rule) */
.recent-grid.rail, .claims-grid.rail {
  display: flex; grid-template-rows: none; grid-auto-flow: row;
  overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 16px;
}
.recent-grid.rail .guest-card { flex: 0 0 clamp(220px, 72vw, 280px); scroll-snap-align: start; }
.claims-grid.rail .claim-card { flex: 0 0 clamp(280px, 86vw, 360px); scroll-snap-align: start; }

/* topic chips */
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 64px; }
.topics-label { font-size: 13px; color: var(--text-dim); margin-right: 4px; }
.chip { font-size: 13px; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 15px; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,165,116,0.05); }

.recent-listen { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* recent = 16:9 episode cards (full thumbnail, not face-cropped) */
.recent-grid { display: grid; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.episode-card { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: transform 0.3s var(--ease-out), border-color 0.3s; }
.episode-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.ep-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92) saturate(1.02); transition: transform 0.5s var(--ease-out); }
.episode-card:hover .ep-thumb img { transform: scale(1.05); }
.ep-num { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 600; color: var(--text-2); background: rgba(8,8,13,0.7); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.ep-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(212,165,116,0.92); display: grid; place-items: center; color: #1a1206; opacity: 0; transition: opacity 0.3s; }
.episode-card:hover .ep-play { opacity: 1; }
.ep-play svg { width: 20px; height: 20px; margin-left: 2px; }
.ep-meta { padding: 14px 16px 16px; }
.ep-title { font-family: var(--font-display); font-size: 17px; line-height: 1.22; color: var(--text); }
.ep-guest { margin-top: 5px; font-size: 13px; color: var(--gold); }

/* about / host */
.about-card { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 920px; margin: 0 auto; }
.about-photo { width: 200px; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); filter: grayscale(0.3) contrast(1.05); }
.about-copy h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 16px; }
.about-copy p { color: var(--text-2); max-width: 52ch; margin-bottom: 22px; }
.about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-soft { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; font-weight: 500; opacity: 0.8; transition: color 0.2s, opacity 0.2s; }
.link-soft svg { width: 16px; height: 16px; }
.link-soft:hover { color: var(--gold); opacity: 1; }
@media (max-width: 640px) { .about-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .about-links { justify-content: center; } .recent-listen { align-items: flex-start; } }

/* fine print / notes */
.fine-note { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; max-width: 60ch; margin-top: 22px; }

/* mobile nav drawer */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  /* The nav's backdrop-filter makes it the containing block for the fixed drawer below,
     collapsing the drawer to a ~72px strip at the top (it overlapped the page). Drop the
     filter on mobile + lift nav above the sticky bar so the drawer is a true full-height panel. */
  .nav { backdrop-filter: none; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); z-index: 60;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--bg-1); border-left: 1px solid var(--line); padding: 48px 40px;
    transform: translateX(100%); visibility: hidden; transition: transform 0.35s var(--ease-out), visibility 0.35s;
  }
  /* visibility gate keeps the closed drawer's links out of the keyboard tab order (a11y) */
  .nav-links.open { transform: translateX(0); visibility: visible; }
  .nav-links a:not(.btn-primary) { font-size: 20px; color: var(--text); padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
  /* tap targets >= 44px on phones (audit criterion 11) */
  .chip { padding: 13px 16px; }
  .footer-col a { padding: 12px 0; }
  .fo-who a { display: inline-block; padding: 15px 2px; line-height: 1.2; }
}

/* touch: give guests some color without hover; reduced-motion duotone match */
@media (hover: none) {
  .guest-card img { filter: grayscale(0.3) brightness(0.92) sepia(0.2); }
  .guest-card:active img { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .guest-card img { filter: grayscale(1) contrast(1.05) brightness(0.82) sepia(0.45) hue-rotate(-12deg) saturate(1.4) !important; }
  .rail { scroll-snap-type: none; }
}
