:root {
  --ink: #0d0d0d;
  --ink-2: #151515;
  --panel: rgba(27, 27, 27, .78);
  --panel-solid: #1a1a1a;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.22);
  --muted: #b9b9b9;
  --soft: #d6d6d6;
  --paper: #ededed;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.06), transparent 27%),
    radial-gradient(circle at 14% 60%, rgba(255,255,255,.04), transparent 26%),
    linear-gradient(180deg, #121212 0%, #0b0b0b 58%, #101010 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .022' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 .65 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  background-size: 440px 440px;
  mix-blend-mode: screen;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='.85'/%3E%3C/svg%3E");
}

.brand-pattern { position: fixed; inset: 0; z-index: -4; pointer-events: none; overflow: hidden; }
.pattern-mark {
  position: absolute;
  width: 540px;
  height: 540px;
  border-left: 74px solid rgba(255,255,255,.035);
  border-bottom: 74px solid rgba(255,255,255,.035);
  transform: rotate(-45deg);
}
.pattern-mark--one { top: -290px; left: 8%; }
.pattern-mark--two { top: 34%; right: -310px; width: 680px; height: 680px; }
.pattern-mark--three { bottom: -430px; left: 24%; width: 760px; height: 760px; opacity: .6; }

.shell { max-width: 1320px; }
.section-pad { padding: 104px 0; }
.eyebrow {
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,.72);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar { min-height: 78px; }
.brand-mini img { width: 112px; height: 48px; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.08); border-radius: 6px; }
.navbar-nav .nav-link { color: #bfbfbf; font-weight: 500; position: relative; padding-inline: 0 !important; }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: #fff; transition: right .25s ease; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { right: 0; }
.navbar-toggler { color: #fff; font-size: 1.65rem; }
.spotify-link { border-color: rgba(255,255,255,.28); border-radius: 10px; }

.hero-section { padding-top: 88px; }
.hero-logo { width: min(100%, 430px); display: block; margin-bottom: 32px; filter: grayscale(1) contrast(1.05); mix-blend-mode: screen; border-radius: 8px; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: .98; letter-spacing: -.055em; max-width: 690px; margin-bottom: 24px; }
.hero-text { color: var(--muted); max-width: 600px; font-size: 1.05rem; line-height: 1.75; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: #a9a9a9; font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.btn { border-radius: 10px; font-weight: 700; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #f3f3f3; color: #111; border-color: #f3f3f3; }
.btn-outline-light { border-color: rgba(255,255,255,.28); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.02); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.38); }
.primary-cta { min-width: 176px; }

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow), 0 0 42px rgba(255,255,255,.06);
  transform-style: preserve-3d;
}
.featured-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.featured-content { display: flex; flex-direction: column; padding: 40px; background: linear-gradient(145deg, rgba(22,22,22,.95), rgba(9,9,9,.96)); }
.featured-content h2 { font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; margin: 25px 0 5px; }
.featured-subtitle { font-size: 1.12rem; color: #dedede; }
.featured-description { color: #aaa; line-height: 1.7; }
.pill { align-self: flex-start; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 11px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #d9d9d9; }
.episode-stats { display: flex; flex-wrap: wrap; gap: 18px; color: #bbb; font-size: .86rem; margin: 18px 0 30px; }
.episode-stats span { display: inline-flex; align-items: center; gap: 7px; }

.cover-art { position: relative; overflow: hidden; isolation: isolate; background: #1b1b1b; }
.cover-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 55% 32%, rgba(255,255,255,.22), transparent 22%), linear-gradient(155deg, #3c3c3c 0%, #171717 49%, #080808 100%); }
.cover-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(120deg, transparent 0 32%, rgba(255,255,255,.055) 33% 35%, transparent 36% 100%), radial-gradient(circle at 50% 100%, rgba(255,255,255,.12), transparent 44%); mix-blend-mode: screen; }
.cover-art--mountain { min-height: 100%; background: linear-gradient(180deg, #323232, #0a0a0a); }
.cover-art--mountain::before { clip-path: polygon(0 100%, 0 71%, 15% 62%, 29% 71%, 43% 43%, 55% 59%, 66% 32%, 78% 57%, 89% 46%, 100% 63%, 100% 100%); background: linear-gradient(145deg, #9a9a9a, #1b1b1b 62%, #080808); opacity: .66; }
.cover-symbol { position: absolute; top: 12%; left: 50%; width: 150px; height: 150px; transform: translateX(-50%) rotate(45deg); filter: drop-shadow(0 0 14px rgba(255,255,255,.35)); opacity: .9; }
.cover-symbol span { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.62); }
.cover-symbol span:nth-child(2) { inset: 25px; }
.cover-symbol span:nth-child(3) { inset: 50px; }
.cover-copy { position: absolute; left: 32px; right: 25px; bottom: 32px; display: grid; gap: 9px; }
.cover-copy small { font-size: .75rem; color: #d6d6d6; }
.cover-copy strong { font-size: clamp(2rem, 3vw, 3.6rem); line-height: .88; letter-spacing: -.045em; }
.cover-copy span { font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; color: #ccc; }
.cover-copy.compact { left: 22px; bottom: 23px; right: 20px; }
.cover-copy.compact strong { font-size: 1.48rem; line-height: .92; }
.cover-copy.compact span { max-width: 80%; font-size: .62rem; line-height: 1.45; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.045em; max-width: 800px; }
.carousel-controls { gap: 10px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.025); transition: .25s ease; }
.icon-btn:hover { background: #fff; color: #111; transform: translateY(-2px); }

.episode-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 26px; scrollbar-width: none; }
.episode-scroller::-webkit-scrollbar { display: none; }
.episode-card { scroll-snap-align: start; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.episode-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.31); background: rgba(255,255,255,.052); }
.episode-cover { aspect-ratio: 1/1; border-bottom: 1px solid var(--line); }
.episode-body { padding: 18px; }
.episode-body h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 7px; }
.episode-body p { color: #aaa; font-size: .82rem; min-height: 42px; margin-bottom: 14px; }
.episode-body span { color: #bdbdbd; font-size: .76rem; }
.play-fab { position: absolute; right: 15px; bottom: 15px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.68); color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(7px); z-index: 5; transition: .25s ease; }
.play-fab:hover { transform: scale(1.08); background: #fff; color: #111; }

.cover-art--leaders::before { background: radial-gradient(circle at 50% 28%, rgba(255,255,255,.33), transparent 25%), linear-gradient(180deg, #555 0%, #171717 57%, #080808 100%); clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
.silhouette-group { position: absolute; left: 18%; right: 18%; bottom: 13%; display: flex; align-items: end; justify-content: space-around; opacity: .9; }
.silhouette-group span { display: block; width: 12px; height: 68px; border-radius: 50% 50% 18% 18%; background: #080808; box-shadow: 0 -13px 0 -2px #080808; }
.silhouette-group span:nth-child(2) { height: 94px; }
.silhouette-group span:nth-child(3) { height: 78px; }
.cover-art--leaders::after { background: linear-gradient(160deg, transparent 53%, rgba(255,255,255,.11) 54%, transparent 65%); }

.cover-art--stairs::before { background: radial-gradient(circle at 65% 19%, rgba(255,255,255,.27), transparent 20%), linear-gradient(160deg,#3f3f3f,#0a0a0a 73%); }
.stairs { position: absolute; left: 22%; right: 14%; bottom: 20%; height: 48%; transform: skewY(-12deg); opacity: .72; }
.stairs span { display: block; height: 17%; margin-left: auto; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.01)); border-top: 1px solid rgba(255,255,255,.38); }
.stairs span:nth-child(1){width:100%}.stairs span:nth-child(2){width:82%}.stairs span:nth-child(3){width:65%}.stairs span:nth-child(4){width:48%}.stairs span:nth-child(5){width:31%}

.cover-art--culture::before { background: radial-gradient(circle at 72% 35%, rgba(255,255,255,.15), transparent 18%), linear-gradient(132deg, #111 8%, #4d4d4d 49%, #080808 72%); }
.abstract-fold { position: absolute; width: 54%; height: 54%; right: -4%; top: 18%; border: 2px solid rgba(255,255,255,.35); transform: rotate(45deg); box-shadow: inset 0 0 0 22px rgba(255,255,255,.035), inset 0 0 0 44px rgba(255,255,255,.025); }

.cover-art--chess::before { background: radial-gradient(circle at 72% 30%, rgba(255,255,255,.27), transparent 18%), linear-gradient(160deg,#454545,#0b0b0b 67%); }
.chess-piece { position: absolute; right: 8%; bottom: 10%; font-size: 9rem; opacity: .55; transform: rotate(7deg); filter: drop-shadow(-20px 20px 20px rgba(0,0,0,.6)); }

.cover-art--compass::before { background: radial-gradient(circle at 72% 46%, rgba(255,255,255,.24), transparent 22%), linear-gradient(145deg,#4b4b4b,#080808 66%); }
.compass { position: absolute; width: 72%; aspect-ratio: 1; right: -17%; top: 4%; border: 12px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(255,255,255,.24), inset 0 0 0 24px rgba(0,0,0,.38); }
.compass::before,.compass::after,.compass span::before,.compass span::after { content:""; position:absolute; left:50%; top:50%; width:2px; height:82%; background:rgba(255,255,255,.18); transform-origin:center; }
.compass::before { transform:translate(-50%,-50%) rotate(45deg); }
.compass::after { transform:translate(-50%,-50%) rotate(-45deg); }
.compass span::before { transform:translate(-50%,-50%) rotate(90deg); }
.compass span::after { transform:translate(-50%,-50%); }
.scroll-progress { width: 100%; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.scroll-progress span { display: block; width: 20%; height: 100%; background: #fff; transition: width .2s ease; }

.about-panel { padding: 48px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(125deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.about-panel h2 { font-size: clamp(2.1rem, 4vw, 4rem); letter-spacing: -.05em; line-height: 1.05; max-width: 900px; }
.about-panel p { color: #b7b7b7; max-width: 820px; line-height: 1.75; }
.about-numbers { display: grid; gap: 10px; }
.about-numbers div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.about-numbers strong { font-size: 1.15rem; }
.about-numbers span { color: #a7a7a7; font-size: .82rem; }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.topic-cloud span { padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #d6d6d6; transition: .25s ease; }
.topic-cloud span:hover { background: #fff; color: #111; transform: translateY(-3px); }

.spotify-banner { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(115deg, rgba(255,255,255,.085), rgba(255,255,255,.02)); }
.spotify-banner p { color: #aaa; margin: 4px 0 0; font-size: .9rem; }
.spotify-icon { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #f1f1f1; color: #111; font-size: 1.55rem; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 34px 0 22px; background: rgba(8,8,8,.62); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 800; }
.mini-mark { position: relative; width: 22px; height: 29px; display: inline-flex; flex-direction: column; gap: 2px; transform: rotate(0deg); }
.mini-mark i { display: block; width: 14px; height: 8px; border-left: 2px solid #ddd; border-bottom: 2px solid #ddd; transform: rotate(-45deg); }
.footer-inner p { margin: 0; color: #8f8f8f; font-size: .88rem; text-align: center; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #a9a9a9; text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); color: #777; font-size: .75rem; text-align: center; }

.player-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.player-modal.is-open { visibility: visible; opacity: 1; }
.player-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(12px); }
.player-sheet { position: relative; width: min(880px, 100%); display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; background: #151515; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 120px rgba(0,0,0,.6); transform: translateY(26px) scale(.98); transition: transform .3s ease; }
.player-modal.is-open .player-sheet { transform: translateY(0) scale(1); }
.player-cover { min-height: 500px; }
.player-content { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.player-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; }
.player-content p { color: #b2b2b2; }
.player-content small { margin-top: 12px; color: #777; text-align: center; }
.player-close { position: absolute; z-index: 4; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); color: #fff; background: rgba(0,0,0,.45); }
.player-grab { display: none; }
.mock-wave { height: 64px; display: flex; align-items: center; gap: 5px; margin: 22px 0; }
.mock-wave span { flex: 1; height: 22%; background: #ddd; border-radius: 999px; animation: wave 1.15s ease-in-out infinite alternate; opacity: .78; }
.mock-wave span:nth-child(2n) { animation-delay: .15s; height: 60%; }
.mock-wave span:nth-child(3n) { animation-delay: .3s; height: 88%; }
.mock-wave span:nth-child(4n) { animation-delay: .45s; height: 42%; }
@keyframes wave { to { height: 92%; opacity: 1; } }
body.modal-open-custom { overflow: hidden; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 18px 0 8px; }
  .navbar-nav { gap: 6px !important; margin-bottom: 18px; }
  .navbar-nav .nav-link::after { display: none; }
  .hero-section { padding-top: 56px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-cover { min-height: 430px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  .player-sheet { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
  .player-cover { min-height: 330px; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 76px 0; }
  .site-header .navbar { min-height: 66px; }
  .brand-mini img { width: 94px; height: 40px; }
  .hero-logo { width: 330px; margin-bottom: 24px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4.3rem); }
  .hero-text { font-size: .98rem; }
  .featured-card { min-height: auto; }
  .featured-cover { min-height: 390px; }
  .featured-content { padding: 28px; }
  .cover-copy strong { font-size: 2.55rem; }
  .episode-scroller { grid-auto-columns: 82vw; }
  .about-panel { padding: 28px; }
  .spotify-banner { align-items: flex-start; flex-wrap: wrap; }
  .spotify-banner .btn { width: 100%; }
  .footer-links { flex-wrap: wrap; }
  .player-modal { align-items: end; padding: 0; }
  .player-sheet { width: 100%; border-radius: 22px 22px 0 0; grid-template-columns: 1fr; max-height: 92vh; }
  .player-cover { min-height: 250px; }
  .player-content { padding: 28px 24px 34px; }
  .player-grab { display: block; position: absolute; z-index: 5; top: 8px; left: 50%; transform: translateX(-50%); width: 46px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.35); }
  .player-close { top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
