/* ================================================================
   BMTP — Simplified Redesign (new/) · self-contained stylesheet
   Light edition: ivory/cream backgrounds · dark-green + gold text
   Bebas Neue / Archivo Narrow / Inter · full-photo hero
   ================================================================ */

:root {
  --ivory:      #fbfaf7;
  --cream:      #f4f1ea;
  --cream-deep: #ece5d6;
  --forest:     #1b2e24;
  --forest-2:   #24382b;
  --charcoal:   #121214;
  --sage-deep:  #4a6b53;
  --sage:       #657e6c;
  --sage-soft:  #839486;
  --gold:       #c5a059;
  --gold-deep:  #a9863f;
  --ivory-100:  #fbfaf7;

  --bg:      var(--ivory);
  --text:    var(--forest);
  --muted:   rgba(27, 46, 36, 0.60);
  --hairline: rgba(27, 46, 36, 0.14);

  --display: 'Bebas Neue', 'Archivo Narrow', sans-serif;
  --hero-mark: 'Lexend Tera', sans-serif;
  --body:    'Archivo Narrow', system-ui, sans-serif;
  --ui:      'Inter', system-ui, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Photography (free, Unsplash, unless noted) */
  --img-hero:   url("../lotus%20crop%202%20bmtp.png"); /* user-supplied */
  --hero-canvas: #0b0f0c; /* sampled from the lotus photo's darkest water tone, so canvas + photo read as one surface */
  --img-about:  url("assets/img/about-figure.png?v=2");
  --img-begin:  url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1100&q=80");
  --img-now:    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1100&q=80");
  --img-next:   url("https://images.unsplash.com/photo-1476231682828-37e571bc172f?auto=format&fit=crop&w=1100&q=80");
  --img-horizon:url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1100&q=80");
  --img-pod-hero: url("assets/img/podcast-hero-photo.jpg"); /* user-supplied */
  --img-pod-1: url("assets/img/pod-filmstrip-1.jpg"); /* user-supplied */
  --img-pod-2: url("assets/img/pod-filmstrip-2.png"); /* user-supplied */
  --img-pod-3: url("assets/img/pod-filmstrip-3.png"); /* user-supplied */
  --img-pod-4: url("assets/img/pod-filmstrip-4.png"); /* user-supplied */
  --img-social-bg: url("assets/img/social-bg.jpg"); /* user-supplied */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* subtle paper grain for richness */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.display-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0.012em;
  color: var(--forest);
}
.eyebrow {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}
.eyebrow-index {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.lead-copy {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: rgba(27, 46, 36, 0.84);
  max-width: 30ch;
}

/* ---------- layout ---------- */
.section { position: relative; z-index: 2; padding: clamp(5.5rem, 12vw, 10rem) 0; }
.section-inner { width: min(var(--maxw), 90vw); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1em 2em;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-solid { background: var(--ivory); color: var(--forest); box-shadow: 0 12px 34px rgba(10, 20, 12, 0.28); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(10, 20, 12, 0.36); }
.btn-ghost { color: var(--ivory); border-color: rgba(251, 250, 247, 0.55); }
.btn-ghost:hover { background: rgba(251, 250, 247, 0.14); border-color: var(--ivory); }
.btn-ghost-light { color: var(--gold-deep); border-color: rgba(169, 134, 63, 0.5); }
.btn-ghost-light:hover { background: rgba(197, 160, 89, 0.1); border-color: var(--gold-deep); }
.btn-dark { background: var(--forest); color: var(--ivory); box-shadow: 0 12px 34px rgba(10, 20, 12, 0.18); }
.btn-dark:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 18px 44px rgba(10, 20, 12, 0.26); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 5vw, 3rem);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.topbar.scrolled {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 var(--hairline);
}
.topbar-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.topbar-auth {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem;
  font-family: var(--ui); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.topbar-auth-link { color: rgba(251, 250, 247, 0.8); transition: color .3s var(--ease); }
.topbar-auth-link:hover { color: var(--ivory); }
.topbar-auth-link-accent { color: rgba(251, 250, 247, 0.8); }
.topbar-auth-link-accent:hover { color: var(--ivory); }
.topbar-auth-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.topbar-auth-div { color: rgba(251, 250, 247, 0.35); }
.topbar.scrolled .topbar-auth-link { color: rgba(27, 46, 36, 0.68); }
.topbar.scrolled .topbar-auth-link-accent { color: rgba(27, 46, 36, 0.68); }
.topbar.scrolled .topbar-auth-div { color: rgba(27, 46, 36, 0.3); }

/* Solid variant: for interior pages with no dark hero behind the bar,
   so text stays legible without relying on the scroll-triggered state. */
.topbar-solid {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 var(--hairline);
}
.topbar-solid .topbar-name, .topbar-solid .menu-btn { color: var(--forest); }
.topbar-solid .topbar-auth-link { color: rgba(27, 46, 36, 0.68); }
.topbar-solid .topbar-auth-link-accent { color: var(--gold-deep); }
.topbar-solid .topbar-auth-div { color: rgba(27, 46, 36, 0.3); }

/* Fade variant: for topbar-solid pages that open on a photo hero (e.g. the
   Podcast page) — softens the hard hairline into a wide cream-toned glow so
   the bar bleeds into the photo instead of reading as a bolted-on panel. */
.topbar-fade { box-shadow: 0 28px 40px -18px rgba(244, 241, 234, 0.85); }

.topbar-mark { display: flex; align-items: center; gap: 0.6rem; }
.topbar-logo { width: 30px; height: auto; }
.topbar-name {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  transition: color .4s var(--ease);
}
.topbar.scrolled .topbar-name { color: var(--forest); }
.menu-btn {
  display: flex; align-items: center; gap: 0.7rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--ui); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); transition: color .4s var(--ease);
}
.topbar.scrolled .menu-btn { color: var(--gold-deep); }
.menu-btn-lines { display: inline-flex; flex-direction: column; gap: 4px; width: 24px; }
.menu-btn-lines i { height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.menu-btn-lines i:nth-child(2) { width: 70%; margin-left: auto; }
.menu-btn:hover .menu-btn-lines i:nth-child(2) { width: 100%; }
.menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ================================================================
   SIDEBAR (grouped index) — warm cream drawer
   ================================================================ */
.sidebar-scrim {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(27, 46, 36, 0.34);
  opacity: 0; transition: opacity .4s var(--ease);
}
.sidebar-scrim.open { opacity: 1; }
.sidebar {
  position: fixed; top: 0; right: 0; z-index: 1400;
  height: 100dvh; width: min(430px, 88vw);
  background: var(--cream);
  color: var(--forest);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(27, 46, 36, 0.14);
}
.sidebar.open { transform: translateX(0); }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.6rem; }
.sidebar-eyebrow { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.1em; color: var(--gold-deep); }
.sidebar-close {
  background: none; border: none; color: var(--forest);
  font-size: 2rem; line-height: 1; cursor: pointer;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.sidebar-close:hover { transform: rotate(90deg); color: var(--gold-deep); }
.sidebar-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sidebar-group { margin-bottom: 2.2rem; }
.sidebar-group-title {
  font-family: var(--ui); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sage-deep);
  padding-bottom: 0.8rem; margin-bottom: 0.8rem; border-bottom: 1px solid var(--hairline);
}
.sidebar-nav li { margin: 0.1rem 0; }
.sidebar-nav a {
  font-family: var(--display); font-size: 1.85rem; letter-spacing: 0.02em;
  color: var(--forest); display: inline-block; padding: 0.14rem 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.sidebar-nav a:hover { color: var(--gold-deep); transform: translateX(8px); }
.sidebar-soon {
  font-family: var(--display); font-size: 1.85rem; letter-spacing: 0.02em;
  color: rgba(27, 46, 36, 0.32); display: flex; align-items: baseline; gap: 0.7rem; padding: 0.14rem 0;
}
.sidebar-soon em {
  font-family: var(--ui); font-style: normal; font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid rgba(169, 134, 63, 0.5); border-radius: 100px;
  padding: 0.15em 0.7em; transform: translateY(-0.35em);
}
.sidebar-foot {
  margin-top: auto; padding-top: 2rem;
  font-family: var(--ui); font-weight: 300; font-size: 0.82rem;
  color: var(--muted);
}

/* ================================================================
   RAIL NAV — persistent list of the 4 Home sections, docked to the
   left edge (museum-poster sidebar nav), gold active mark.
   ================================================================ */
.rail-nav {
  position: fixed; z-index: 800;
  left: clamp(1.5rem, 4vw, 3.2rem); top: calc(50% - 6rem);
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1rem;
  width: max-content;
  opacity: 0; transition: opacity .9s var(--ease) .2s;
}
.rail-nav.is-revealed { opacity: 1; }
.rail-nav::before {
  content: ""; position: absolute; left: 0.05rem; top: -1rem;
  width: 26px; height: 1px;
  background: var(--gold);
}
.rail-nav a {
  position: relative;
  font-family: var(--ui); font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(251, 250, 247, 0.55);
  padding-left: 1rem;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.rail-nav a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  transform: translateY(-50%) scale(0.6);
  background: var(--gold);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.rail-nav a:hover { color: rgba(251, 250, 247, 0.9); }
.rail-nav a.is-active {
  color: var(--gold);
}
.rail-nav a.is-active::before { opacity: 1; transform: translateY(-50%) scale(1); }
.rail-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* On-light: hero is dark-photo, but About/Mission/Timeline sit on
   ivory/cream — swap to the forest/gold-deep pairing used everywhere
   else on light backgrounds so the nav stays legible all the way down. */
.rail-nav.on-light a { color: var(--muted); }
.rail-nav.on-light a:hover { color: var(--forest); }
.rail-nav.on-light a.is-active { color: var(--gold-deep); }
.rail-nav.on-light a::before { background: var(--gold-deep); }
.rail-nav.on-light::before { background: var(--gold-deep); }

/* ================================================================
   LANGUAGE SWITCH — fixed bottom-left, globe button + dropdown.
   ================================================================ */
.lang-switch {
  position: fixed; z-index: 900;
  left: clamp(1.2rem, 3vw, 2.4rem); bottom: clamp(1.2rem, 3vw, 2.4rem);
}
.lang-btn {
  display: flex; align-items: center; gap: 0.55rem;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 250, 247, 0.16);
  border-radius: 100px;
  padding: 0.6em 1.05em;
  color: rgba(251, 250, 247, 0.85);
  font-family: var(--ui); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lang-btn:hover { border-color: rgba(197, 160, 89, 0.6); color: var(--ivory); }
.lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lang-globe { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; left: 0; bottom: calc(100% + 0.6rem);
  min-width: 160px;
  background: var(--forest);
  border: 1px solid rgba(251, 250, 247, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 20px 44px rgba(10, 18, 13, 0.32);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.lang-switch.open .lang-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.lang-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 0.55em 0.8em; border-radius: 8px;
  font-family: var(--ui); font-size: 0.85rem;
  color: rgba(251, 250, 247, 0.75);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-menu button:hover { background: rgba(251, 250, 247, 0.08); color: var(--ivory); }
.lang-menu button[aria-checked="true"] { color: var(--gold); }
.lang-menu button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ================================================================
   HERO — museum-poster composition: the lotus photo bleeds full-frame
   behind everything; a directional scrim darkens the left/bottom so
   the text and corner devices stay legible without masking the photo.
   ================================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden; isolation: isolate;
  background: var(--hero-canvas);
}
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  background-image: var(--img-hero);
  background-size: cover; background-position: 72% 78%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(115deg, rgba(8, 13, 10, 0.88) 0%, rgba(8, 13, 10, 0.62) 26%, rgba(8, 13, 10, 0.24) 48%, rgba(8, 13, 10, 0) 70%),
    linear-gradient(to top, rgba(6, 10, 8, 0.6) 0%, rgba(6, 10, 8, 0) 30%);
}

/* --- thin accent lines, mirrored diagonally (top-right / bottom-left) --- */
.hero-accent-line {
  position: absolute; z-index: 5;
  width: 1px; height: var(--accent-line-len, clamp(280px, 46vh, 560px));
  background: rgba(251, 250, 247, 0.22);
  opacity: 0; transition: opacity 1.1s var(--ease) .3s;
}
.hero-accent-line.is-revealed { opacity: 1; }
.hero-accent-line-tr {
  top: 0; right: clamp(9rem, 16vw, 13rem);
}
.hero-accent-line-bl {
  bottom: 0; left: clamp(9rem, 16vw, 13rem);
}

/* --- top-center institutional label --- */
.hero-top-label {
  position: absolute; z-index: 30; top: clamp(2rem, 6vw, 5rem);
  left: 50%; transform: translateX(-50%);
  font-family: var(--ui); font-weight: 400; font-size: 0.74rem;
  letter-spacing: 0.24em; text-transform: uppercase; text-align: center;
  color: rgba(251, 250, 247, 0.82);
  opacity: 0; transition: opacity .9s var(--ease) .1s;
  max-width: 70vw;
}
.hero-top-label.is-revealed { opacity: 1; }

/* --- curtain --- */
.hero-curtain { position: fixed; inset: 0; z-index: 1500; display: flex; pointer-events: none; }
.hero-curtain-panel { width: 50%; height: 100%; background: var(--ivory); transition: transform 1.3s cubic-bezier(0.76, 0, 0.24, 1); }
.hero-curtain.is-split .hero-curtain-panel-left  { transform: translateX(-100%); }
.hero-curtain.is-split .hero-curtain-panel-right { transform: translateX(100%); }

/* --- logo loader (faithful port) --- */
.hero-logo-wrap {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2000; opacity: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}
.hero-logo-wrap.is-bouncing { transform: translate(-50%, -50%) scale(1.15); }
.hero-logo-wrap.is-hidden { opacity: 0; }
.hero-logo-stage { position: relative; display: inline-block; }
.hero-logo-img { width: min(300px, 62vw); height: auto; }
.hero-logo-pulse { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible !important; pointer-events: none; }
.logo-pulse-base, .logo-pulse-sweep, .logo-pulse-sweepglow { fill: none; stroke-linecap: round; }
.logo-pulse-base {
  stroke: #c5a059; stroke-width: 3;
  filter:
    drop-shadow(0 0 1px rgba(197, 160, 89, 0.55))
    drop-shadow(0 0 6px rgba(197, 160, 89, 0.6))
    drop-shadow(0 0 14px rgba(197, 160, 89, 0.45))
    drop-shadow(0 0 26px rgba(197, 160, 89, 0.25));
}
.logo-pulse-sweep { stroke: #ffffff; stroke-width: 3px; opacity: 1; filter: url(#volumetric-bloom); }
.logo-pulse-sweepglow { opacity: 0; }
.sweep-headlight { filter: url(#volumetric-bloom); }

/* --- landing content — lives in the canvas column, left of the seam --- */
.hero-content {
  position: relative; z-index: 30; top: -2rem; left: -3.5rem;
  max-width: min(92%, 30rem);
  margin-right: clamp(7rem, 17vw, 16rem);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero-content.is-revealed { opacity: 1; transform: none; }
.hero-name {
  font-family: var(--hero-mark); font-weight: 500;
  font-size: clamp(4.4rem, 10.5vw, 8rem); line-height: 1;
  letter-spacing: 0.06em; color: var(--ivory);
}
.hero-tagline {
  font-family: var(--body); font-size: clamp(0.88rem, 1.4vw, 1.1rem);
  line-height: 1.45; color: rgba(251, 250, 247, 0.82);
  margin: 1.3rem 0 2.1rem;
  white-space: nowrap;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* --- corner elements (museum-poster device) --- */
.hero-corner {
  position: absolute; z-index: 30;
  opacity: 0; transition: opacity .9s var(--ease) .2s;
}
.hero-corner.is-revealed { opacity: 1; }
.hero-corner-index {
  top: clamp(2rem, 6vw, 5rem); right: clamp(2rem, 6vw, 5rem);
  margin-top: 3.4rem;
  display: flex; align-items: baseline; gap: 0.4rem;
  font-family: var(--ui); font-size: 0.72rem; letter-spacing: 0.1em;
  color: rgba(251, 250, 247, 0.75);
}
.hero-corner-num { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold); }
.hero-corner-num-muted { color: rgba(251, 250, 247, 0.45); }
.hero-corner-div { color: rgba(251, 250, 247, 0.4); }
.hero-corner-tag {
  bottom: clamp(2rem, 6vw, 5rem); left: clamp(2rem, 6vw, 5rem);
  font-family: var(--ui); font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(251, 250, 247, 0.55);
}

.hero-scroll {
  position: absolute; right: clamp(2rem, 6vw, 5rem); bottom: clamp(3.5rem, 8vw, 6rem);
  z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-family: var(--ui); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(251, 250, 247, 0.8); writing-mode: vertical-rl;
  opacity: 0; transition: opacity .9s var(--ease) .2s, color .3s var(--ease);
}
.hero-scroll.is-revealed { opacity: 1; }
.hero-scroll:hover { color: var(--gold); }
.hero-scroll i {
  writing-mode: horizontal-tb; width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

.hero-bottom-nav {
  position: absolute; z-index: 30;
  left: 50%; bottom: clamp(4.5rem, 11vw, 7.5rem);
  transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.3rem, 2.8vw, 2.4rem);
  max-width: min(88vw, 640px);
  opacity: 0; transition: opacity .9s var(--ease) .2s;
}
.hero-bottom-nav.is-revealed { opacity: 1; }
.hero-bottom-nav a {
  font-family: var(--ui); font-weight: 400; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: rgba(251, 250, 247, 0.7); transition: color .3s var(--ease);
}
.hero-bottom-nav a:hover { color: var(--gold); }
.hero-bottom-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ================================================================
   ABOUT — ivory, simple + powerful
   ================================================================ */
.about { background: var(--ivory); }
.about-grid {
  display: grid; grid-template-columns: 1fr 0.82fr;
  gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center;
}
.about-copy .display-h2 { margin-bottom: 1.6rem; }
.about-heading-line { display: block; }
.about-heading-line em { font-style: normal; color: var(--gold-deep); }
.about-lead-row {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.9rem 1.3rem; margin-bottom: 1.5rem;
}
.about-copy .lead-copy { margin-bottom: 0; }
.about-copy .lead-copy em { font-style: normal; color: var(--gold-deep); }
.learn-more-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--ui); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
  white-space: nowrap; transition: color .3s var(--ease);
}
.learn-more-btn:hover { color: var(--forest); }
.learn-more-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.learn-more-icon {
  position: relative; width: 14px; height: 14px; flex-shrink: 0;
  transform: rotate(0deg); transition: transform .6s var(--ease);
}
.learn-more-icon::before, .learn-more-icon::after { content: ""; position: absolute; background: currentColor; }
.learn-more-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.learn-more-icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.learn-more-btn.is-open .learn-more-icon { transform: rotate(765deg); }
.about-full-desc {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.about-full-desc.is-open { max-height: 3000px; opacity: 1; margin-bottom: 2rem; }
.about-full-desc p {
  font-size: 1rem; line-height: 1.75; color: rgba(27, 46, 36, 0.82);
  max-width: 52ch; margin-bottom: 1.1rem;
}
.about-full-desc-divider { border: none; border-top: 1px solid var(--hairline); max-width: 52ch; margin: 1.6rem 0; }
.about-full-desc-disclaimer { font-size: 0.82rem; font-style: italic; color: var(--muted); margin-bottom: 0; }
.pillars { display: flex; flex-direction: column; gap: 0.9rem; }
.pillar-toggle {
  display: flex; align-items: center; gap: 0.8rem; width: 100%;
  font-family: var(--ui); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest);
  padding-top: 0.9rem; border-top: 1px solid var(--hairline);
  background: none; border-left: none; border-right: none; border-bottom: none;
  cursor: pointer; text-align: left; transition: color .3s var(--ease);
}
.pillar-toggle:hover { color: var(--gold-deep); }
.pillar-toggle em { font-style: normal; color: var(--gold-deep); }
.pillar-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pillar-mark { color: var(--gold-deep); font-size: 0.8rem; }
.pillar-toggle-icon {
  position: relative; width: 14px; height: 14px; flex-shrink: 0; margin-left: auto;
  transform: rotate(0deg); transition: transform .6s var(--ease);
}
.pillar-toggle-icon::before, .pillar-toggle-icon::after { content: ""; position: absolute; background: currentColor; }
.pillar-toggle-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.pillar-toggle-icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.pillar-toggle.is-open .pillar-toggle-icon { transform: rotate(765deg); }
.pillar-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.pillar-panel.is-open { max-height: 400px; opacity: 1; margin-top: 0.7rem; }
.pillar-panel p {
  font-family: var(--ui); font-weight: 400; text-transform: none; letter-spacing: normal;
  font-size: 0.88rem; line-height: 1.6; color: var(--muted); max-width: 48ch; margin: 0;
}
.about-figure {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(27, 46, 36, 0.2);
}
.about-figure-img {
  aspect-ratio: 4 / 5;
  background-image: var(--img-about);
  background-size: cover; background-position: center;
  transition: transform 1.1s var(--ease);
}
.about-figure:hover .about-figure-img { transform: scale(1.05); }
.about-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.3rem;
  font-family: var(--ui); font-weight: 300; font-size: 0.86rem;
  color: var(--ivory);
  background: linear-gradient(transparent, rgba(15, 26, 19, 0.8));
}

/* ================================================================
   MISSION — cream, gold-accented statement
   ================================================================ */
.mission { background: var(--cream); }
.mission-inner { width: min(1100px, 90vw); margin: 0 auto; }
.mission-statement {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 7.2vw, 6rem); line-height: 1.0;
  letter-spacing: 0.01em; color: var(--forest); max-width: 15ch;
}
.mission-statement em { font-style: normal; color: var(--gold-deep); }

/* ================================================================
   TIMELINE — photo-driven trail
   ================================================================ */
.timeline { background: var(--ivory); }
.timeline-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.timeline-head .display-h2 { margin-top: 0.3rem; }

.trail { position: relative; }
.trail::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-1px);
  background: linear-gradient(var(--gold), var(--sage-deep) 50%, var(--sage-soft));
}
.trail-stop {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.trail-stop::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 15px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--ivory); border: 2px solid var(--gold);
}
.trail-stop-end::after { background: var(--gold); box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.18); }
/* alternate sides */
.trail-stop:nth-child(even) .trail-photo { order: 2; }
.trail-stop:nth-child(even) .trail-text { order: 1; text-align: right; }
.trail-stop:nth-child(even) .trail-text .trail-phase { justify-content: flex-end; }

.trail-photo {
  aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: 0 24px 56px rgba(27, 46, 36, 0.22);
  transition: transform 1.1s var(--ease);
}
.trail-stop:hover .trail-photo { transform: translateY(-4px) scale(1.01); }
.trail-photo[data-photo="next"]    { background-image: var(--img-next); }
.trail-photo[data-photo="horizon"] { background-image: var(--img-horizon); }
.trail-photo-video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #000; }

/* Placeholder — swap .trail-photo-placeholder back out for a real
   <video>/background-image once the final timeline asset is ready. */
.trail-photo-placeholder {
  background-color: #1B4332; background-image: none;
  display: flex; align-items: center; justify-content: center;
}
.trail-photo-placeholder-text {
  font-family: var(--ui); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); text-align: center; padding: 0 1.5rem;
}

.trail-phase {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ui); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.trail-text h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1;
  color: var(--forest); margin-bottom: 0.6rem;
}
.trail-text h3.trail-title-sm {
  font-size: clamp(1.15rem, 2.1vw, 1.7rem); line-height: 1.2; max-width: 30ch;
}
.trail-text h3.trail-title-sm em { font-style: normal; color: var(--gold-deep); }
.trail-stop:nth-child(even) .trail-text h3.trail-title-sm { margin-left: auto; }
.trail-text p { font-size: 1.05rem; color: rgba(27, 46, 36, 0.76); max-width: 34ch; }
.trail-stop:nth-child(even) .trail-text p { margin-left: auto; }

.trail-toggle {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--ui); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
  margin-top: 0.9rem; padding: 0; background: none; border: none;
  cursor: pointer; text-align: left; transition: color .3s var(--ease);
}
.trail-toggle:hover { color: var(--gold); }
.trail-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.trail-toggle-icon {
  position: relative; width: 12px; height: 12px; flex-shrink: 0;
  transform: rotate(0deg); transition: transform .6s var(--ease);
}
.trail-toggle-icon::before, .trail-toggle-icon::after { content: ""; position: absolute; background: currentColor; }
.trail-toggle-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.trail-toggle-icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.trail-toggle.is-open .trail-toggle-icon { transform: rotate(765deg); }
.trail-stop:nth-child(even) .trail-toggle { margin-left: auto; }
.trail-panel {
  max-height: 0; overflow: hidden; opacity: 0; max-width: 34ch;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.trail-panel.is-open { max-height: 400px; opacity: 1; margin-top: 0.7rem; }
.trail-panel p {
  font-family: var(--ui); font-weight: 400;
  font-size: 0.88rem; line-height: 1.6; color: var(--muted); margin: 0;
}
.trail-stop:nth-child(even) .trail-panel { margin-left: auto; }
.trail-stop:nth-child(even) .trail-panel p { margin-left: auto; }

.timeline-cta {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.timeline-cta-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15;
  color: var(--forest); max-width: 30ch;
}
@media (max-width: 900px) {
  .timeline-cta { flex-direction: column; align-items: flex-start; }
}

.next-section {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
}
.next-section-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ui); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest);
  transition: color .3s var(--ease);
}
.next-section-link:hover { color: var(--gold-deep); }
.next-section-arrow { display: inline-block; transition: transform .3s var(--ease); }
.next-section-link:hover .next-section-arrow { transform: translateY(3px); }
.next-section-link:hover .next-section-arrow-right { transform: translateX(3px); }

/* ================================================================
   FOOTER — cream
   ================================================================ */
/* ================================================================
   AUTH PAGES — Log in / Sign up (no backend yet, placeholder forms)
   ================================================================ */
.auth-section {
  min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--cream);
  padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}
.auth-card {
  width: min(440px, 100%);
  margin: 0 auto;
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(2.2rem, 5vw, 3rem);
  box-shadow: 0 30px 70px rgba(27, 46, 36, 0.08);
}
.auth-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ui); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 2rem;
  transition: color .3s var(--ease);
}
.auth-back:hover { color: var(--gold-deep); }
.auth-heading {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 2.8rem); line-height: 0.98;
  letter-spacing: 0.012em; color: var(--forest);
}
.auth-lead { font-size: 1rem; line-height: 1.55; color: var(--muted); margin-top: 0.7rem; max-width: 34ch; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.5rem; }
.auth-field label {
  font-family: var(--ui); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-deep);
}
.auth-field input, .auth-field select, .auth-field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--forest);
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 10px;
  padding: 0.85em 1em; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.auth-field textarea { resize: vertical; min-height: 130px; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.auth-submit { justify-content: center; margin-top: 0.6rem; width: 100%; }
.auth-note {
  margin-top: 1.1rem; font-family: var(--ui); font-size: 0.82rem;
  line-height: 1.5; color: var(--gold-deep);
}
.auth-switch {
  margin-top: 1.8rem; text-align: center;
  font-family: var(--ui); font-size: 0.85rem; color: var(--muted);
}
.auth-switch a { color: var(--gold-deep); font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

.form-faq-note {
  margin-top: 1.2rem; font-family: var(--ui); font-size: 0.85rem; color: var(--muted);
}
.form-faq-note a { color: var(--gold-deep); font-weight: 500; }
.form-faq-note a:hover { text-decoration: underline; }

.checkbox-label {
  display: flex; align-items: flex-start; gap: 0.7rem;
  cursor: pointer; font-family: var(--ui); font-size: 0.86rem;
  line-height: 1.5; color: var(--forest);
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0; width: 17px; height: 17px; margin-top: 0.15rem;
  accent-color: var(--gold-deep); cursor: pointer;
}
.checkbox-label a { color: var(--gold-deep); font-weight: 500; }
.checkbox-label a:hover { text-decoration: underline; }

/* ================================================================
   TEAM & COMMUNITY PAGES — Team / Join / Contact
   ================================================================ */
.page-hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero .lead-copy { max-width: 58ch; }

.team-spotlight {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem); background: var(--ivory);
  border: 1px solid var(--hairline); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(27, 46, 36, 0.08);
}
.team-avatar {
  flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--gold) 0%, var(--sage-deep) 100%);
  color: var(--ivory); font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em;
}
.team-spotlight-text h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--forest);
}
.team-role {
  display: block; font-family: var(--ui); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin: 0.4rem 0 0.9rem;
}
.team-spotlight-text p { font-size: 0.98rem; line-height: 1.65; color: rgba(27, 46, 36, 0.78); max-width: 56ch; }

.team-growing {
  margin-top: clamp(2rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.team-growing p { font-size: 1rem; color: var(--muted); max-width: 46ch; }

.roles-list-intro { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--gold-deep); font-size: 1.1rem;
}
.contact-info-text h3 {
  font-family: var(--ui); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; color: var(--forest); margin-bottom: 0.3rem;
}
.contact-info-text p, .contact-info-text a { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.contact-info-text a:hover { color: var(--gold-deep); }

.form-card {
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.6rem); box-shadow: 0 30px 70px rgba(27, 46, 36, 0.08);
}
.form-card h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--forest); margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.6rem; }

@media (max-width: 900px) {
  .team-spotlight { flex-direction: column; text-align: center; }
  .team-growing { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SERVICE & CONTENT PAGES — Podcast / Social / Mindflow
   ================================================================ */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section-subheading {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--forest); margin-top: 2.4rem; margin-bottom: 0;
}
.tag-soon {
  font-family: var(--ui); font-style: normal; font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid rgba(169, 134, 63, 0.5); border-radius: 100px;
  padding: 0.15em 0.7em; display: inline-block;
}
.auth-note-error { color: #b3413a; }

/* Podcast */
.platform-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0; }
.platform-card {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 100px;
  padding: 0.7em 1.4em; font-family: var(--ui); font-weight: 500; font-size: 0.85rem;
  color: var(--forest); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.platform-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27, 46, 36, 0.12); border-color: var(--gold); }
.platform-card.is-soon { color: var(--muted); cursor: default; }
.platform-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--hairline); }
.platform-more-note { font-size: 0.88rem; color: var(--muted); }

.episode-list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 1.6rem; }
.episode-card {
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: 0 24px 56px rgba(27, 46, 36, 0.08);
}
.episode-card-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.15; color: var(--forest); margin-bottom: 0.7rem;
}
.episode-card-desc { font-size: 0.96rem; line-height: 1.65; color: var(--muted); max-width: 62ch; }
.episode-card-embed { border-radius: 12px; overflow: hidden; margin-top: 1.2rem; }
.episode-card-links { margin-top: 1rem; }

/* Podcast section bleeds to the very top (no top padding) so pod-hero
   submerges under the fixed topbar exactly like the Home hero does,
   instead of leaving a visible cream gap below the bar. */
.pod-section { padding-top: 0; }

/* Podcast — slide 1: cream/photo split hero + bottom-right info card */
.pod-hero {
  position: relative; overflow: hidden;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
}
.pod-hero-eyebrow {
  position: absolute; z-index: 1;
  top: clamp(5.5rem, 12vw, 7.5rem);
  left: clamp(1.2rem, 5vw, 3rem);
  text-align: left;
  text-shadow: 0 4px 30px rgba(251, 250, 247, 0.6);
}
.pod-hero-split { position: absolute; inset: 0; z-index: 0; }
.pod-hero-cream { position: absolute; inset: 0; background: var(--cream); }
.pod-hero-photo {
  position: absolute; inset: 0; left: 32%;
  background-image: var(--img-pod-hero);
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 28%);
  mask-image: linear-gradient(to right, transparent 0, black 28%);
}
.pod-hero-topscrim {
  position: absolute; inset: 0 0 auto 0;
  height: clamp(5rem, 10vw, 6.5rem);
  background: linear-gradient(to bottom, rgba(8, 13, 10, 0.5) 0%, rgba(8, 13, 10, 0.15) 65%, rgba(8, 13, 10, 0) 100%);
}
.pod-hero-heading {
  position: relative; z-index: 1; text-align: center;
  font-family: 'Montserrat', var(--display); font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 0.94;
  color: #333; text-shadow: 0 4px 40px rgba(251, 250, 247, 0.55);
  padding: 0 1.5rem;
}
.pod-hero-heading-pod { color: #fff; transition: color .3s var(--ease); }
.pod-hero-heading-pod:hover { color: var(--gold); }
.pod-hero-card {
  position: absolute; z-index: 1;
  right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 3rem);
  width: min(320px, calc(100% - 3rem));
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 24px 56px rgba(27, 46, 36, 0.2);
}
.pod-hero-card-img {
  width: 84px; height: 84px; border-radius: 12px; object-fit: cover; margin-bottom: 1rem;
}
.pod-hero-card h2 {
  font-family: 'Montserrat', var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--forest); margin-bottom: 0.5rem;
}
.pod-hero-card p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); margin-bottom: 1.2rem; }

/* Podcast — decorative auto-scrolling filmstrip */
.pod-filmstrip-zone { background: #c9c9c9; padding: clamp(4rem, 8vw, 6rem) 0; }
.pod-filmstrip {
  overflow: hidden; margin: 0; user-select: none;
  background: var(--charcoal); padding: 1.5rem 0;
}
.pod-filmstrip-track {
  display: flex; gap: 1.2rem; width: max-content;
  animation: pod-filmstrip-scroll 32s linear infinite;
}
.pod-filmstrip.is-paused .pod-filmstrip-track { animation-play-state: paused; }
.pod-filmstrip-tile {
  flex-shrink: 0; width: clamp(220px, 26vw, 340px); aspect-ratio: 3 / 2;
  border-radius: 14px; background-size: cover; background-position: center;
}
.pod-filmstrip-tile-a { background-image: var(--img-pod-1); }
.pod-filmstrip-tile-b { background-image: var(--img-pod-2); }
.pod-filmstrip-tile-c { background-image: var(--img-pod-3); }
.pod-filmstrip-tile-d { background-image: var(--img-pod-4); }
@keyframes pod-filmstrip-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Podcast — browse episode cards */
.pod-browse-bg { background: var(--charcoal); }
.pod-browse { margin-top: 0; padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.pod-browse-bg .eyebrow { color: var(--gold); }
.pod-browse-bg .section-subheading { color: var(--ivory); }
.pod-browse-bg .episode-card { background: #1c1d1f; border-color: rgba(255, 255, 255, 0.12); }
.pod-browse-bg .episode-card-title { color: var(--ivory); }
.pod-browse-bg .episode-card-desc { color: rgba(251, 250, 247, 0.65); }

/* Podcast — outro: full-bleed background + streaming-info card */
.pod-outro {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(420px, 60vw, 640px);
  margin-top: clamp(4rem, 8vw, 6rem);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 6vw, 4rem);
}
.pod-outro-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.pod-outro-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(8, 13, 10, 0.82) 0%, rgba(8, 13, 10, 0.5) 40%, rgba(8, 13, 10, 0.18) 70%);
}
.pod-outro-card {
  width: min(460px, 100%);
  background: var(--ivory); border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.8rem); box-shadow: 0 30px 70px rgba(6, 10, 8, 0.35);
}
.pod-outro-card h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest); margin-bottom: 0.4rem;
}
.pod-outro-card .platform-row { margin: 1.2rem 0 0.8rem; }
.pod-outro-card .btn { margin-top: 1.4rem; }

/* Social — lotus-pond photo background (dark scrim so loose text stays
   legible; .social-card keeps its own opaque ivory background, so the
   cards themselves need no color overrides). */
#social {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest) var(--img-social-bg) center/cover no-repeat;
}
#social::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 13, 10, 0.72) 0%, rgba(8, 13, 10, 0.5) 45%, rgba(8, 13, 10, 0.72) 100%);
}
#social .eyebrow, #social .eyebrow-index { color: var(--gold); }
#social .display-h2 { color: var(--ivory); }
#social .lead-copy { color: rgba(251, 250, 247, 0.82); max-width: 60ch; }
#social .next-section { border-top-color: rgba(251, 250, 247, 0.25); }
#social .next-section-link { color: var(--ivory); }
#social .next-section-link:hover { color: var(--gold); }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.social-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(2rem, 4vw, 2.6rem) 1.5rem; box-shadow: 0 24px 56px rgba(27, 46, 36, 0.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.social-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(27, 46, 36, 0.14); border-color: var(--gold); }
.social-card-mark { font-family: var(--display); font-size: 2.4rem; letter-spacing: 0.04em; color: var(--gold-deep); }
.social-card-label {
  font-family: var(--ui); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest);
}
.social-card-handle { font-family: var(--ui); font-size: 0.85rem; color: var(--muted); }

/* Mindflow */
.mindflow-essay-body p {
  font-family: var(--ui); font-weight: 400; text-transform: none; letter-spacing: normal;
  font-size: 0.98rem; line-height: 1.75; color: rgba(27, 46, 36, 0.82); max-width: 68ch; margin-bottom: 1.1rem;
}
.mindflow-essay-body p:last-child { margin-bottom: 0; }

.explore-search-wrap { margin-bottom: 1.2rem; }
.explore-search {
  width: 100%; max-width: 420px;
  font-family: var(--body); font-size: 0.95rem; color: var(--forest);
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 10px;
  padding: 0.75em 1.1em; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.explore-search:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.explore-empty { font-size: 0.95rem; color: var(--muted); margin-top: 1.6rem; }

.explore-rail {
  display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: 0.4rem;
  scrollbar-width: thin;
}
.explore-pill {
  flex-shrink: 0; font-family: var(--ui); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--muted); background: var(--ivory);
  border: 1px solid var(--hairline); border-radius: 100px; padding: 0.55em 1.1em;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.explore-pill:hover { border-color: var(--gold); color: var(--gold-deep); }
.explore-pill.is-active { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.explore-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.essay-list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 1.6rem; }
.essay-card {
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: 0 24px 56px rgba(27, 46, 36, 0.08);
}
.essay-card-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.15; color: var(--forest); margin-bottom: 0.4rem;
}
.essay-byline {
  font-family: var(--ui); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.04em; color: var(--gold-deep); margin-bottom: 0.9rem;
}
.essay-card-excerpt { font-size: 0.96rem; line-height: 1.65; color: var(--muted); max-width: 62ch; margin-bottom: 1.2rem; }

.essay-full-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05; color: var(--forest); margin: 1rem 0 0.5rem;
}
.essay-full-title + .essay-byline { margin-bottom: 1.6rem; }
.essay-divider { border: none; border-top: 1px solid var(--hairline); margin: clamp(3rem, 6vw, 4.5rem) 0; max-width: 68ch; }

.consent-field label { text-transform: none; letter-spacing: normal; font-size: 0.92rem; color: var(--forest); font-weight: 500; }
.consent-options { display: flex; gap: 1.6rem; margin-top: 0.3rem; }
.consent-option {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ui); font-size: 0.92rem; color: var(--forest); cursor: pointer;
}
.consent-option input { accent-color: var(--gold-deep); width: 16px; height: 16px; cursor: pointer; }
.consent-declined-note { font-size: 0.88rem; color: var(--muted); font-style: italic; margin-top: -0.4rem; }
.auth-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.auth-submit:disabled:hover { transform: none; }

/* ================================================================
   MINDFLOW NAV — persistent left icon rail (Substack-inspired app
   shell), shown only on Mindflow pages via body.has-mindflow-nav.
   ================================================================ */
.mindflow-nav {
  position: fixed; z-index: 700; left: 0; top: 0; bottom: 0; width: 220px;
  display: flex; flex-direction: column; gap: 0.3rem;
  background: var(--ivory); border-right: 1px solid var(--hairline);
  padding: 6.5rem 1.1rem 2rem;
}
.mindflow-nav-link {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--ui); font-weight: 500; font-size: 0.88rem;
  color: var(--muted); padding: 0.6rem 0.7rem; border-radius: 10px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.mindflow-nav-link:hover { background: var(--cream); color: var(--forest); }
.mindflow-nav-link.is-active { color: var(--gold-deep); background: var(--cream); }
.mindflow-nav-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mindflow-nav-icon { width: 20px; height: 20px; flex-shrink: 0; }
.mindflow-nav-link.is-soon { color: rgba(27, 46, 36, 0.32); cursor: default; justify-content: space-between; }
.mindflow-nav-link.is-soon:hover { background: none; }
.mindflow-nav-link.is-soon .mindflow-nav-label { display: flex; align-items: center; gap: 0.9rem; }
.mindflow-nav-soon-tag {
  font-family: var(--ui); font-style: normal; font-size: 0.52rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid rgba(169, 134, 63, 0.5); border-radius: 100px; padding: 0.2em 0.6em;
}
.mindflow-nav-submit { margin-top: auto; justify-content: center; width: 100%; }

@media (min-width: 901px) {
  body.has-mindflow-nav main, body.has-mindflow-nav .footer { padding-left: calc(220px + 3.5rem); }
  body.has-mindflow-nav .lang-switch { left: calc(220px + clamp(1.2rem, 3vw, 2.4rem)); }
}
@media (max-width: 900px) {
  .mindflow-nav { display: none; }
}

@media (max-width: 900px) {
  .social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .pod-hero {
    min-height: auto; flex-direction: column;
    padding: clamp(3rem, 10vw, 4rem) 1.2rem;
  }
  .pod-hero-photo {
    left: 0; top: 30%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 28%);
    mask-image: linear-gradient(to bottom, transparent 0, black 28%);
  }
  .pod-hero-heading { margin-bottom: 1.6rem; }
  .pod-hero-card { position: static; width: 100%; margin-top: 1.6rem; }
}

.footer { position: relative; z-index: 2; background: var(--cream-deep); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; align-items: baseline; justify-content: space-between; }
.footer-name { font-family: var(--display); font-size: 2.2rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.footer-brand p { font-family: var(--ui); font-weight: 300; font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }
.footer-note { font-family: var(--ui); font-weight: 300; font-size: 0.82rem; color: var(--muted); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Reserve a gutter on the sections below the hero so the persistent
   detached rail-nav (fixed bottom-left once scrolled past the hero) never
   overlaps their content — confirmed by measurement, not guesswork. */
@media (min-width: 901px) {
  .about, .mission, .timeline, .footer,
  #social, #mindflow-teaser,
  #team, #join, #contact { padding-left: 230px; }

  /* #podcast itself carries no gutter — .pod-hero/.pod-filmstrip/.pod-outro
     are full-bleed by design and the rail-nav is meant to float directly
     over them. .pod-browse and .pod-outro-next are the pieces with real
     text, so they opt into the same 230px gutter directly instead of
     inheriting it from the section. */
  .pod-browse, .pod-outro-next { padding-left: 230px; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 480px) {
  .topbar-right { gap: 0.9rem; }
  .topbar-auth { font-size: 0.62rem; gap: 0.4rem; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-figure { max-width: 440px; }
  .hero-scroll { display: none; }
  .hero-content { max-width: 92vw; }

  .rail-nav { display: none; }
  .hero-accent-line { display: none; }
  .hero-corner-tag { display: none; }
  .hero-bottom-nav { display: none; }

  .trail::before { left: 8px; }
  .trail-stop { grid-template-columns: 1fr; gap: 1.1rem; padding-left: 2.4rem; }
  .trail-stop::after { left: 8px; top: 26px; }
  .trail-stop:nth-child(even) .trail-photo { order: 0; }
  .trail-stop:nth-child(even) .trail-text { order: 0; text-align: left; }
  .trail-stop:nth-child(even) .trail-text .trail-phase { justify-content: flex-start; }
  .trail-stop:nth-child(even) .trail-text p { margin-left: 0; }
  .trail-stop:nth-child(even) .trail-text h3.trail-title-sm { margin-left: 0; }
  .trail-stop:nth-child(even) .trail-toggle { margin-left: 0; }
  .trail-stop:nth-child(even) .trail-panel,
  .trail-stop:nth-child(even) .trail-panel p { margin-left: 0; }
}
@media (max-width: 700px) {
  /* Portrait phones: put the text block at the bottom and switch the
     scrim to a top-to-bottom gradient so it still anchors legibility. */
  .hero { justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(3rem, 10vw, 4.5rem); }
  .hero-photo { background-position: 62% 40%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 13, 10, 0.5) 0%, rgba(8, 13, 10, 0.08) 30%, rgba(8, 13, 10, 0.85) 100%);
  }
  .hero-corner-index { margin-top: 0; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-curtain, .hero-logo-wrap { display: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
