/* The TreeHouse Show
   Colors come from the logo green (#214d29) and white, with a warm lantern glow for light. */
:root {
  --night: #050e08;
  --night-2: #0b1a0f;
  --forest: #0d2214;
  --green-dark: #10291a;
  --green: #214d29;
  --green-hover: #2b5f34;
  --sage: #9dbf9e;
  --sage-light: #d9ecc6;
  --cream: #f6f3ea;
  --cream-2: #ebe7da;
  --cream-line: #d8d1bd;
  --paper: #fffdf7;
  --ink: #10291a;
  --ink-soft: #4c5b4f;
  --ink-mute: #6d7a6f;
  --glow: #f6e7a8;
  --radius: 16px;
  --nav-h: 72px;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
section { scroll-margin-top: calc(var(--nav-h) + 8px); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { display: flex; justify-content: center; margin-top: 48px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.sub { font-size: 18px; margin-top: 16px; }
em { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(246, 243, 234, .45); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 243, 234, .08); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-green svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 14, 8, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 243, 234, .07);
  color: var(--cream);
}
.nav-inner {
  height: var(--nav-h);
  width: min(1320px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > a, .dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: none; border: 0; color: var(--cream);
  transition: background .2s;
}
.nav-links > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { background: rgba(246, 243, 234, .08); }
.dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { position: relative; }
.dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-menu a {
  padding: 11px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.dd-menu a:hover, .dd-menu a:focus-visible { background: var(--cream-2); }
.dd-btn[aria-expanded="true"] + .dd-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: none; border: 0; color: var(--cream);
}
.icon-btn:hover { background: rgba(246, 243, 234, .08); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.burger { display: none; }
.mobile-menu {
  display: grid;
  padding: 8px 20px 20px;
  border-top: 1px solid rgba(246, 243, 234, .08);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 4px; font-size: 18px; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(246, 243, 234, .08);
}

/* Hero */
.hero {
  position: relative;
  height: clamp(640px, calc(100vh - var(--nav-h)), 920px);
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}
.scene-wrap { position: absolute; inset: 0; }
#scene { width: 100%; height: 100%; display: block; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 7, .82) 0%, rgba(4, 12, 7, .45) 30%, rgba(4, 12, 7, 0) 52%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100vw - 1240px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 44vw);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -0.035em;
}
.hero h1 em {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.04em;
  color: var(--sage-light);
  text-shadow: 0 0 40px rgba(217, 236, 198, .35);
}
.lede { margin-top: 22px; font-size: 19px; line-height: 1.55; color: rgba(246, 243, 234, .82); max-width: 470px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hint {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px; font-size: 14px; color: rgba(246, 243, 234, .65);
}
.hint-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 0 rgba(246, 231, 168, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 231, 168, .6); }
  100% { box-shadow: 0 0 0 14px rgba(246, 231, 168, 0); }
}

/* Scene pieces built in treehouse.js */
.twinkle { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.firefly {
  transform-box: fill-box;
  transform-origin: center;
  animation: drift var(--dur, 9s) ease-in-out infinite alternate, blink var(--blink, 4s) ease-in-out infinite;
}
@keyframes drift { to { transform: translate(var(--dx, 20px), var(--dy, -30px)); } }
@keyframes blink { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
.blink-light { animation: blink 2.4s ease-in-out infinite; }
.eye-glow { transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.lantern { transform-box: fill-box; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.window-light { animation: flicker 7s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 50% { opacity: .95; } 70% { opacity: .86; } }

.hs { cursor: pointer; outline: none; }
.hs-hit { fill: transparent; }
.hs-ring {
  fill: none; stroke: #fbf3cf; stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(1.9); opacity: 0; } }
.hs-dot { fill: #fbf3cf; stroke: rgba(16, 41, 26, .5); stroke-width: 2; transition: r .2s; filter: drop-shadow(0 0 6px rgba(246, 231, 168, .9)); }
.hs:hover .hs-dot, .hs:focus-visible .hs-dot { r: 8; }
.hs:focus-visible .hs-dot { stroke: var(--glow); stroke-width: 6; }
.hs-label { opacity: 0; transition: opacity .2s; pointer-events: none; }
.hs-label rect { fill: var(--cream); }
.hs-label text { fill: var(--ink); font: 700 13px var(--sans); letter-spacing: .01em; }
.hs:hover .hs-label, .hs:focus-visible .hs-label { opacity: 1; }
@media (hover: none) { .hs-label { opacity: 1; } }

/* Ask the Tree */
.ask {
  position: relative;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(33, 77, 41, .55), transparent 70%),
    var(--night);
  color: #fff;
  padding: 120px 0 130px;
  text-align: center;
  overflow: hidden;
}
.ask h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; }
.ask .sub { color: rgba(246, 243, 234, .8); font-size: clamp(17px, 1.6vw, 21px); }
.ask-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 44px auto 0;
  max-width: 680px;
  padding: 8px 8px 8px 28px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(246, 231, 168, .08), 0 20px 60px rgba(0, 0, 0, .4);
}
.ask-form input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: none;
  font: 500 18px var(--sans); color: var(--ink);
  padding: 12px 0;
}
.ask-form input::placeholder { color: #7d877f; }
.ask-form .btn { padding: 14px 30px; font-size: 17px; }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.ask-chip {
  padding: 9px 16px; border-radius: 999px;
  background: rgba(246, 243, 234, .04);
  border: 1px solid rgba(246, 243, 234, .18);
  color: rgba(246, 243, 234, .85);
  font-size: 14px; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.ask-chip:hover { background: rgba(246, 243, 234, .1); border-color: rgba(246, 243, 234, .4); }
.ask-answer:empty { display: none; }
.answer-card {
  margin-top: 48px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(33, 77, 41, .35), rgba(13, 34, 20, .6));
  border: 1px solid rgba(157, 191, 158, .2);
  text-align: left;
}
.answer-head { display: flex; align-items: center; gap: 14px; }
.answer-head img { width: 44px; height: 44px; }
.answer-q { font-size: 15px; color: rgba(246, 243, 234, .7); font-weight: 600; }
.answer-line {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25;
  color: var(--sage-light);
  min-height: 1.25em;
}
.answer-eps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s;
}
.answer-eps.show { opacity: 1; transform: none; }
.answer-more { margin-top: 24px; font-size: 15px; color: rgba(246, 243, 234, .75); }
.answer-more a { color: var(--glow); font-weight: 700; text-decoration: none; }
.answer-more a:hover { text-decoration: underline; }

/* Topics + search */
.topics { background: var(--cream); padding: 120px 0; text-align: center; }
.topics h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 800; color: var(--ink); }
.topics .sub { color: var(--ink-soft); }
.search {
  display: flex; align-items: center;
  max-width: 780px; margin: 40px auto 0;
  padding: 6px 6px 6px 30px;
  background: #fff;
  border: 1.5px solid var(--cream-line);
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(33, 77, 41, .12); }
.search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none;
  font: 500 19px var(--sans); color: var(--ink); padding: 14px 0;
}
.search input::placeholder { color: #8b938c; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button {
  display: grid; place-items: center; gap: 2px;
  width: 84px; height: 64px; border-radius: 999px;
  border: 0; background: var(--cream-2); color: var(--ink);
  font-size: 12px; font-weight: 600;
}
.search button:hover { background: var(--green); color: #fff; }
.search button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 72px;
}
.topic-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 236px; padding: 32px 22px;
  border: 0; border-radius: var(--radius);
  background: var(--cream-2);
  color: var(--ink);
  text-align: center;
  transition: background .25s, color .25s, transform .25s;
}
.topic-tile svg {
  width: 60px; height: 60px; fill: none;
  stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s, transform .35s;
}
.topic-name { font-size: 19px; font-weight: 700; line-height: 1.25; }
.topic-count { font-size: 13px; font-weight: 600; color: var(--ink-mute); transition: color .25s; }
.topic-tile:hover { background: var(--green); color: #fff; transform: translateY(-4px); }
.topic-tile:hover svg { stroke: var(--glow); transform: scale(1.08); }
.topic-tile:hover .topic-count { color: var(--sage-light); }

/* Latest episode */
.latest { background: var(--forest); color: var(--cream); padding: 110px 0; }
.latest-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.latest-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(157, 191, 158, .15);
}
.latest-player iframe, .player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lite { position: absolute; inset: 0; border: 0; padding: 0; background: #000; }
.lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .9; }
.lite:hover img { transform: scale(1.03); opacity: 1; }
.lite-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--green);
  box-shadow: 0 0 0 10px rgba(246, 243, 234, .18);
  transition: transform .25s;
}
.lite:hover .lite-play { transform: translate(-50%, -50%) scale(1.06); }
.lite-play svg { width: 36px; height: 36px; fill: currentColor; margin-left: 5px; }
.latest-info h2 { margin-top: 16px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; color: #fff; }
.latest-guests { margin-top: 14px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; color: var(--sage-light); }
.latest-meta { margin-top: 10px; font-size: 15px; color: rgba(246, 243, 234, .65); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(157, 191, 158, .12); border: 1px solid rgba(157, 191, 158, .3);
  color: var(--sage-light); font-size: 13px; font-weight: 600;
}
.tag:hover { background: rgba(157, 191, 158, .25); }
.latest-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Episode grid */
.episodes { background: var(--cream); padding: 110px 0 120px; }
.ep-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ep-head h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; }
.ep-count { font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-scroll {
  flex-wrap: nowrap; overflow-x: auto; margin-top: 30px; padding-bottom: 6px;
  scrollbar-width: none;
}
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--cream-line); background: transparent;
  color: var(--green); font-size: 14px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ep-active {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.ep-active[hidden] { display: none; }
.ep-active button, .ep-empty button {
  border: 0; background: none; padding: 0;
  color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px 28px;
  margin-top: 36px;
}
.ep-empty { grid-column: 1 / -1; padding: 40px 0; font-size: 17px; color: var(--ink-soft); }
.ep-card { display: flex; flex-direction: column; gap: 14px; }
.ep-thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; background: var(--green-dark);
}
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ep-card:hover .ep-thumb img { transform: scale(1.05); }
.ep-dur {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(5, 14, 8, .82); color: #fff; font-size: 12px; font-weight: 700;
}
.ep-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(5, 14, 8, .35); opacity: 0; transition: opacity .25s;
}
.ep-play svg { width: 56px; height: 56px; padding: 16px 14px 16px 18px; border-radius: 50%; background: var(--cream); fill: var(--green); }
.ep-card:hover .ep-play { opacity: 1; }
.ep-title { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ep-title button {
  border: 0; background: none; padding: 0; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-title button:hover { color: var(--green); }
.ep-guests { margin-top: -6px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.ep-meta { margin-top: -8px; font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.ep-card.dark .ep-title, .ep-card.dark .ep-title button { color: #fff; font-size: 16px; }
.ep-card.dark .ep-title button:hover { color: var(--sage-light); }
.ep-card.dark .ep-guests { color: var(--sage); }
.ep-card.dark .ep-meta { color: rgba(246, 243, 234, .55); }
.guests { margin-top: 90px; padding-top: 48px; border-top: 1px solid var(--cream-line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.guests h3 { font-size: 26px; font-weight: 800; margin-bottom: 22px; }

/* Premium */
.premium {
  position: relative;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(246, 231, 168, .12), transparent 70%),
    radial-gradient(60% 90% at 0% 100%, rgba(5, 14, 8, .45), transparent 70%),
    var(--green);
  color: #fff;
  padding: 120px 0;
  overflow: hidden;
}
.premium-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.premium .eyebrow { color: var(--sage-light); }
.premium h2 { margin-top: 16px; font-size: clamp(48px, 7vw, 104px); font-weight: 900; letter-spacing: -0.04em; }
.premium .lede { color: rgba(255, 255, 255, .85); max-width: 520px; }
.perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.perks li::before {
  content: ""; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23214d29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.price-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  padding: 44px 40px 32px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .3);
}
.price-card img { width: 88px; height: 88px; margin: 0 auto; }
.price { margin-top: 22px; font-size: 20px; font-weight: 600; color: var(--ink-soft); }
.price span { font-size: 80px; font-weight: 900; color: var(--ink); letter-spacing: -0.05em; line-height: 1; }
.price-note { margin: 8px 0 28px; font-size: 16px; font-weight: 600; color: var(--green); }
.price-fine { margin-top: 14px; font-size: 13px; color: var(--ink-mute); }

/* About */
.about { background: var(--cream); padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 80px; align-items: center; }
.about-badge { position: relative; }
.about-badge::before {
  content: ""; position: absolute; inset: -8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(33, 77, 41, .3);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-badge img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(16, 41, 26, .25)); }
.about .eyebrow { color: var(--green); }
.about h2 { margin: 16px 0 24px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; }
.about-copy > p:not(.eyebrow):not(.host) { font-size: 18px; color: var(--ink-soft); margin-top: 14px; max-width: 620px; }
.host { margin-top: 30px; display: grid; gap: 2px; }
.host strong { font-size: 17px; }
.host em { font-size: 22px; color: var(--green); }
.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px;
  margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--cream-line);
}
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.stats dd { margin: 0; font-size: 40px; font-weight: 900; color: var(--green); letter-spacing: -0.03em; line-height: 1.1; }

/* Footer */
.footer { background: var(--night); color: var(--cream); padding: 90px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 72px; height: 72px; }
.footer-tag { margin-top: 22px; font-size: 32px; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.footer-tag em { color: var(--sage-light); font-size: 1.06em; }
.footer-ctas { display: flex; gap: 10px; margin-top: 26px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.footer-col a { text-decoration: none; color: rgba(246, 243, 234, .8); font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(246, 243, 234, .1);
  font-size: 14px; color: rgba(246, 243, 234, .55);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Player */
.player {
  width: min(1100px, 100vw - 32px);
  max-width: none;
  padding: 0; border: 0; background: transparent; color: #fff;
}
.player::backdrop { background: rgba(3, 8, 5, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player-inner { position: relative; }
.player-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.player-close {
  position: absolute; right: 0; top: -54px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: var(--cream); color: var(--ink);
}
.player-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.player-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.player-meta h3 { font-size: 20px; font-weight: 800; }
.player-meta p { margin-top: 4px; color: var(--sage); font-size: 14px; }
.player-meta .btn svg { fill: currentColor; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid, .premium-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { width: min(300px, 70%); margin-inline: auto; }
  .answer-eps { grid-template-columns: 1fr 1fr; }
  .answer-eps .ep-card:nth-child(3) { display: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .brand span { font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
  .nav-inner { gap: 12px; width: calc(100% - 32px); }
  .nav-cta { display: none; }
  .wrap, .narrow { width: calc(100% - 32px); }

  .hero { height: auto; display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero-copy {
    position: relative; left: auto; top: auto; transform: none;
    width: auto; padding: 32px 16px 4px;
  }
  .hero h1 { margin-top: 14px; font-size: clamp(42px, 12.5vw, 60px); }
  .lede { margin-top: 18px; font-size: 17px; }
  .hero-ctas { margin-top: 26px; }
  .hero-ctas .btn { flex: 1; padding-inline: 16px; }
  .hint { margin-top: 20px; font-size: 13px; }
  .scene-wrap { position: relative; inset: auto; height: min(118vw, 600px); }

  .ask, .topics, .latest, .episodes, .premium, .about { padding: 80px 0; }
  .ask-form { padding: 6px 6px 6px 20px; margin-top: 32px; }
  .ask-form input { font-size: 16px; }
  .ask-form .btn { padding: 12px 20px; font-size: 15px; }
  .ask-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .ask-chip { flex-shrink: 0; }
  .answer-card { padding: 22px 18px; margin-top: 36px; }
  .answer-eps { grid-template-columns: 1fr; }
  .answer-eps .ep-card:nth-child(3) { display: flex; }

  .search { padding-left: 20px; margin-top: 30px; }
  .search input { font-size: 16px; }
  .search button { width: 64px; height: 52px; }
  .search button span { display: none; }
  .topic-grid { gap: 12px; margin-top: 40px; }
  .topic-tile { min-height: 168px; padding: 22px 12px; gap: 10px; }
  .topic-tile svg { width: 44px; height: 44px; }
  .topic-name { font-size: 15px; }
  .topic-count { font-size: 12px; }

  .latest-guests { font-size: 21px; }
  .chips-scroll { margin-inline: -16px; padding: 0 16px 6px; }
  .ep-grid { grid-template-columns: 1fr; gap: 32px; }
  .premium-grid { gap: 36px; }
  .price-card { padding: 36px 24px 26px; }
  .price span { font-size: 68px; }
  .stats { gap: 24px; grid-template-columns: repeat(3, 1fr); }
  .stats dd { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .player-meta { flex-direction: column; align-items: flex-start; }
}

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

/* Skool banner above the nav */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 16px;
  background: var(--green); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; text-align: center;
}
.announce:hover { background: var(--green-hover); }
.announce-tag {
  padding: 2px 9px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.nav-links > a[aria-current="page"] { background: rgba(246, 243, 234, .12); }
.btn svg { flex-shrink: 0; }

/* Inner pages */
.page-hero {
  position: relative;
  background: radial-gradient(70% 90% at 70% 0%, rgba(33, 77, 41, .6), transparent 70%), var(--night);
  color: var(--cream);
  padding: 110px 0 100px;
  overflow: hidden;
}
.page-hero h1 { margin-top: 18px; font-size: clamp(44px, 6.4vw, 92px); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.page-hero h1 em { display: block; margin-top: 6px; color: var(--sage-light); font-size: 1.02em; }
.page-hero .lede { max-width: 560px; }
.page-hero .hero-ctas { margin-top: 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(246, 231, 168, .12); border: 1px solid rgba(246, 231, 168, .35);
  color: var(--glow); font-size: 13px; font-weight: 700;
}
.section { padding: 110px 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--forest); color: var(--cream); }
.section h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
.section .sub { color: var(--ink-soft); max-width: 640px; }
.section.dark .sub { color: rgba(246, 243, 234, .75); }

/* Adventure page */
.adv-hero { padding: 0; }
.adv-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; min-height: min(760px, calc(100vh - 110px)); }
.adv-hero-copy { padding: 80px 0; }
.adv-art { align-self: end; }
.adv-art svg { width: 100%; height: auto; display: block; }
.stop {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 48px;
}
.stop-art { border-radius: 24px; overflow: hidden; background: var(--night); }
.stop-art svg { display: block; width: 100%; height: auto; }
.stop h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-top: 12px; }
.stop p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.stop .eyebrow { color: var(--green); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.pillar { padding: 32px 28px; border-radius: var(--radius); background: rgba(246, 243, 234, .05); border: 1px solid rgba(157, 191, 158, .2); }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 18px; font-size: 21px; font-weight: 800; }
.pillar p { margin-top: 10px; color: rgba(246, 243, 234, .75); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--cream-line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--paper); padding: 28px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.facts dd { margin: 8px 0 0; font-size: 24px; font-weight: 800; color: var(--green); }
.faq { margin-top: 40px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--paper); border-radius: 14px; padding: 4px 24px; border: 1px solid var(--cream-line); }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); font-size: 16px; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.form-card { background: var(--paper); border-radius: 28px; padding: 40px; box-shadow: 0 30px 70px rgba(16, 41, 26, .12); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--cream-line); background: #fff;
  font: 500 16px var(--sans); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(33, 77, 41, .12); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--cream-line); font-size: 14px; font-weight: 600; color: var(--green);
}
.checks input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.checks input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.form-card .btn { margin-top: 26px; }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status[data-ok="yes"] { color: var(--green); }
.form-status[data-ok="no"] { color: #9a3b1c; }

/* Contact page */
.socials { display: grid; gap: 14px; margin-top: 32px; }
.social {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--cream-line);
  text-decoration: none; color: var(--ink);
  transition: transform .2s, border-color .2s;
}
.social:hover { transform: translateY(-2px); border-color: var(--green); }
.social.primary { background: var(--green); color: #fff; border-color: var(--green); }
.social-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cream-2); color: var(--green); flex-shrink: 0; }
.social.primary .social-icon { background: var(--cream); }
.social-icon svg { width: 24px; height: 24px; fill: currentColor; }
.social strong { display: block; font-size: 17px; }
.social span.small { font-size: 14px; opacity: .75; }
.social .arrow { margin-left: auto; font-size: 20px; }

@media (max-width: 1080px) {
  .adv-hero-grid, .stop, .form-wrap { grid-template-columns: 1fr; }
  .adv-hero-copy { padding: 64px 0 0; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .announce { font-size: 13px; gap: 8px; }
  .page-hero { padding: 72px 0 64px; }
  .section { padding: 80px 0; }
  .facts { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Living details in the hero (treehouse.js) */
.cloud { animation: cloud var(--cd, 120s) linear infinite; }
@keyframes cloud { from { transform: translateX(-320px); } to { transform: translateX(1950px); } }
.puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: puff 4.4s ease-out infinite; }
@keyframes puff {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  15% { opacity: .35; }
  100% { transform: translate(-22px, -70px) scale(2.2); opacity: 0; }
}
.swing { transform-box: fill-box; transform-origin: 50% 0; animation: swing 3.4s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(9deg); } to { transform: rotate(-9deg); } }
.owl-head { transform-box: fill-box; transform-origin: 50% 100%; animation: owl-look 9s ease-in-out infinite; }
@keyframes owl-look { 0%, 40%, 100% { transform: rotate(0); } 50%, 62% { transform: rotate(-14deg); } 72%, 84% { transform: rotate(10deg); } }
.owl-eyes { transform-box: fill-box; transform-origin: center; animation: owl-blink 5s infinite; }
@keyframes owl-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.ufo-light { animation: blink 0.9s ease-in-out infinite; }
.shoot {
  stroke: #fdf9e6; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 60 200; stroke-dashoffset: 60;
  animation: shoot 1.2s ease-out forwards;
}
@keyframes shoot {
  0% { stroke-dashoffset: 60; opacity: 0; }
  15% { opacity: 1; }
  100% { stroke-dashoffset: -200; opacity: 0; }
}

.credit .heart { font-size: 1.05em; }
.credit a { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246, 243, 234, .4); }
.credit a:hover { text-decoration-color: currentColor; }

/* "Fly through the episodes" tunnel (tunnel.js) */
.tunnel { position: relative; height: 300vh; background: var(--night); color: var(--cream); }
.tunnel-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px; transform-style: preserve-3d;
}
.tunnel-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(157, 191, 158, .28) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 60%, transparent 100%);
}
.tunnel-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(33, 77, 41, .55) 0%, transparent 72%); }
.tunnel-ring { position: absolute; width: 48vmin; height: 48vmin; border-radius: 50%; border: 1px solid rgba(246, 231, 168, .14); pointer-events: none; }
.tunnel-ring.dashed { width: 76vmin; height: 76vmin; border: 1px dashed rgba(246, 243, 234, .12); }
.tunnel-title { position: relative; z-index: 0; max-width: 620px; padding: 0 24px; text-align: center; pointer-events: none; will-change: transform, opacity; }
.tunnel-title .eyebrow { color: var(--glow); letter-spacing: .4em; }
.tunnel-title h2 {
  margin-top: 16px; font-size: clamp(48px, 8vw, 104px); font-weight: 900; letter-spacing: -0.045em; line-height: .9; text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, rgba(217, 236, 198, .45) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tunnel-sub { margin: 18px auto 0; max-width: 36ch; font-size: 16px; color: rgba(246, 243, 234, .7); }
.tunnel-prompt {
  position: absolute; bottom: 32px; z-index: 2; display: grid; justify-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 243, 234, .6);
}
.tunnel-prompt i { width: 1px; height: 26px; background: linear-gradient(var(--glow), transparent); }
.tunnel-space { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.tunnel-card {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  border-radius: 18px; overflow: hidden; background: var(--green-dark);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(246, 243, 234, .14);
  will-change: transform, opacity; opacity: 0; cursor: pointer;
  transition: box-shadow .4s;
}
.tunnel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.tunnel-card:hover { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 2px var(--glow), 0 0 40px rgba(246, 231, 168, .3); }
.tunnel-card:hover img { transform: scale(1.1); }
.tunnel-card-label {
  position: absolute; inset: auto 0 0; padding: 40px 14px 14px; text-align: left;
  background: linear-gradient(to top, rgba(5, 14, 8, .92), rgba(5, 14, 8, 0));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 760px) {
  .tunnel { height: 260vh; }
  .tunnel-sub { font-size: 14px; }
  .tunnel-card-label { font-size: 10px; padding: 30px 10px 10px; }
}

/* The big headline and the footer tagline are all white, bold, one style */
.hero h1, .footer-tag { color: #fff; }

/* Ask the Tree: "listening" state while the AI answers */
.answer-line.thinking { color: rgba(217, 236, 198, .7); }
.answer-line .dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.answer-line.from-ai { font-size: clamp(20px, 2vw, 25px); line-height: 1.45; }

/* Bats (treehouse.js) */
.flap { transform-box: fill-box; transform-origin: 50% 70%; animation: flap .28s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(-.35); } }

/* "Hosted by" line under the big headline */
.hero-host { margin-top: 16px; font-size: 18px; font-weight: 500; letter-spacing: .02em; color: rgba(246, 243, 234, .7); }
.hero-host strong { color: var(--sage-light); font-weight: 700; }
.hero-copy .hero-host + .lede { margin-top: 18px; }
@media (max-width: 760px) { .hero-host { font-size: 16px; margin-top: 12px; } }
/* headline first, then "Hosted by", then the tagline */
.hero-copy h1:first-child { margin-top: 0; }
.hero-tagline { margin-top: 14px; }
.hero-copy .hero-tagline + .lede { margin-top: 18px; }

/* "A podcast for truth seekers": shiny gradient sweeping through the letters.
   Plain-CSS version of the AnimatedText (animated-shiny-text) component: a 200%-wide gradient
   clipped to the text, sliding back and forth. */
.hero-tagline {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .24em;
  background: linear-gradient(90deg, #9dbf9e, #f6e7a8, #ffffff, #f6e7a8, #9dbf9e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shiny-text 2.4s linear infinite alternate;
  transition: text-shadow .3s;
}
.hero-tagline:hover { text-shadow: 0 0 8px rgba(255, 255, 255, .3); }
@keyframes shiny-text { from { background-position: 0 0; } to { background-position: 100% 0; } }
@media (max-width: 760px) { .hero-tagline { font-size: 13px; letter-spacing: .2em; } }

/* Tubelight navbar (nav.js): tabs sit in a pill; a soft highlight and a glowing light slide to the current tab */
.nav-links {
  position: relative;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(246, 243, 234, .12);
  border-radius: 999px;
  background: rgba(246, 243, 234, .035);
}
.nav-links > a, .nav-links .dd-btn {
  position: relative; z-index: 1;
  padding: 9px 16px;
  color: rgba(246, 243, 234, .7);
  transition: color .25s;
}
.nav-links > a:hover, .nav-links .dd-btn:hover, .nav-links .dd-btn[aria-expanded="true"],
.nav-links > a[aria-current="page"] { background: none; }
.nav-links .is-lit, .nav-links .is-lit > .dd-btn { color: #fff; }
.nav-lamp {
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 0;
  border-radius: 999px;
  background: rgba(246, 243, 234, .09);
  pointer-events: none;
  opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.35, .5, 1), width .5s cubic-bezier(.3, 1.35, .5, 1), opacity .3s;
}
.nav-lamp.on { opacity: 1; }
/* the tube light on top, with its glow spilling down */
.nav-lamp::before {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px; border-radius: 4px 4px 0 0;
  background: #fffbea;
  box-shadow: 0 0 10px 2px rgba(255, 246, 214, .7), 0 0 22px 6px rgba(246, 231, 168, .35);
}
.nav-lamp::after {
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 26px; border-radius: 50%;
  background: rgba(246, 231, 168, .22);
  filter: blur(9px);
}
@media (prefers-reduced-motion: reduce) { .nav-lamp { transition: none; } }
.nav-links > a, .nav-links .dd-btn { white-space: nowrap; }
/* the tubelight bar needs room; below this width the ☰ menu takes over */
@media (max-width: 1279px) {
  .nav-links { display: none; }
  .burger { display: grid; }
}
/* the component's own look: a single white shine sweeping across, back and forth every second.
   Its default edges are black (#000), which would vanish on the night sky, so they're a dim grey here. */
.hero-tagline {
  background: linear-gradient(90deg, #6f736f, #ffffff, #6f736f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shiny-text 1s linear infinite alternate;
}
/* like the component's demo: big, bold, normal letters (not small caps), with the shine running through */
.hero-tagline {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  padding-bottom: 4px;
}
@media (max-width: 760px) { .hero-tagline { font-size: clamp(26px, 8vw, 34px); letter-spacing: -0.01em; } }

/* "Discover the truth." in the tunnel: the same shiny sweep as the tagline (AnimatedText look) */
.tunnel-title h2 {
  background: linear-gradient(90deg, #6f736f, #ffffff, #6f736f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text 1s linear infinite alternate;
}
.tunnel-title { max-width: 820px; }
