:root {
  --black: #0a0a0a;
  --ink: #111111;
  --charcoal: #1a1a1a;
  --line: rgba(242, 239, 233, 0.14);
  --line-strong: rgba(242, 239, 233, 0.32);
  --ivory: #f2efe9;
  --muted: rgba(242, 239, 233, 0.58);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.07;
  pointer-events: none;
  z-index: 100;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 1px solid var(--ivory); outline-offset: 4px; }

/* ---------- shared ---------- */
.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.center { display: flex; justify-content: center; margin-top: clamp(2.5rem, 6vw, 4rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  min-height: 48px;
  padding: 0.95rem 2rem;
  border: 1px solid var(--ivory);
  border-radius: 0;
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn--lg { padding: 1.15rem 2.4rem; }
.btn--solid { background: var(--ivory); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(242, 239, 233, 0.06); }
.btn__sub {
  padding-left: 0.9em;
  border-left: 1px solid currentColor;
  opacity: 0.6;
  letter-spacing: 0.2em;
}
.link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.35em;
  transition: border-color 0.3s var(--ease);
}
.link:hover { border-color: var(--ivory); }

/* ---------- age gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: var(--gutter);
  background: radial-gradient(ellipse at center, #161616 0%, var(--black) 70%);
}
.is-gated .gate { display: grid; }
.is-gated #site { visibility: hidden; }
.gate__inner { max-width: 30rem; text-align: center; }
.gate__mark { margin: 0 auto 2rem; }
.gate__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.gate__copy { color: var(--muted); font-size: 0.9rem; margin: 0 0 2.25rem; }
.gate__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.gate__actions .btn { min-width: 9rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem var(--gutter) 8rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--black);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 62%;
}
.hero__media::after {
  /* darken so the wordmark stays legible over the photo */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.35) 35%, rgba(10, 10, 10, 0.85) 75%, var(--black) 100%);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__mark { width: clamp(88px, 14vw, 132px); height: auto; margin-bottom: 2rem; }
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variation-settings: 'opsz' 96;
}
.tagline {
  margin: 1.4rem 0 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tagline::before, .tagline::after {
  content: '';
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin: 0 1rem;
  vertical-align: middle;
  background: var(--line-strong);
}
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--ivory);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- vault ---------- */
.vault { padding: clamp(5rem, 12vw, 9rem) var(--gutter); border-top: 1px solid var(--line); }
.vault__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 72rem;
  margin: 0 auto;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 40% at 50% 38%, rgba(242, 239, 233, 0.13), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(242, 239, 233, 0.07), transparent 70%),
    var(--ink);
  transition: border-color 0.5s var(--ease);
}
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: brightness(0.62);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.9) 100%);
}
.tile__index, .tile__lock, .tile__label { z-index: 1; }
.tile:hover { border-color: var(--line-strong); }
.tile:hover .tile__img { transform: scale(1.05); filter: brightness(0.85); }
.tile__index {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}
.tile__lock {
  position: absolute;
  top: 1.35rem;
  right: 1.25rem;
  width: 16px;
  height: 13px;
  border: 1px solid var(--ivory);
}
.tile__lock::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 9px;
  height: 8px;
  transform: translateX(-50%);
  border: 1px solid var(--ivory);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.tile__label {
  position: absolute;
  bottom: 1.3rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- podcast ---------- */
.podcast {
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  border-top: 1px solid var(--line);
  max-width: 72rem;
  margin: 0 auto;
  box-sizing: content-box;
}
.podcast__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.podcast__head:has(.podcast__cover[hidden]) { grid-template-columns: 1fr; }
.podcast__cover {
  width: clamp(140px, 24vw, 260px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  border: 1px solid var(--line);
}
.podcast__desc { color: var(--muted); margin: 1.25rem 0 1.75rem; max-width: 32rem; }
.podcast__links { display: flex; gap: 1.75rem; flex-wrap: wrap; }

.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.episodes__status { padding: 1.5rem 0; color: var(--muted); font-size: 0.9rem; }
.episode { border-bottom: 1px solid var(--line); }
.episode__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
}
.episode__play {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.episode__play:hover, .episode.is-playing .episode__play { background: var(--ivory); color: var(--black); }
.episode__play svg { width: 14px; height: 14px; }
.episode__title { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.25; }
.episode__meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.episode__progress {
  height: 1px;
  margin: -0.5rem 0 1.2rem calc(48px + 1.25rem);
  background: var(--line);
  cursor: pointer;
  position: relative;
  display: none;
}
.episode__progress::after {
  content: '';
  position: absolute;
  inset: -10px 0;
}
.episode.is-active .episode__progress { display: block; }
.episode__bar { height: 100%; width: 0; background: var(--ivory); }

/* ---------- photo band ---------- */
.band {
  position: relative;
  margin: 0;
  height: clamp(320px, 62vh, 760px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, transparent 22%, transparent 70%, var(--black) 100%);
}

/* ---------- socials ---------- */
.elsewhere { padding: clamp(5rem, 12vw, 9rem) var(--gutter); border-top: 1px solid var(--line); }
.socials { list-style: none; margin: 0 auto; padding: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.socials a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  transition: padding 0.45s var(--ease), color 0.3s var(--ease);
}
.socials a:hover { padding-left: 1rem; padding-right: 1rem; }
.socials__handle {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.socials__handle::after { content: ' \2197'; letter-spacing: 0; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 4rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.footer img { opacity: 0.7; margin-bottom: 1rem; }
.footer p { margin: 0; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- desktop: split hero ---------- */
@media (min-width: 901px) {
  .hero { grid-template-columns: 1fr 1fr; padding: 0; }
  .hero__content { grid-column: 1; padding: 6rem var(--gutter) 8rem; }
  .hero__media { left: 50%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.2) 30%, transparent 60%),
      linear-gradient(180deg, transparent 75%, var(--black) 100%);
  }
  .wordmark { font-size: clamp(2.6rem, 5.4vw, 6.2rem); }
  .hero__scroll { left: 25%; }
}

/* ---------- tablet/phone: stacked hero, photo above the wordmark ---------- */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0 0 4.5rem; }
  .hero__media { position: relative; inset: auto; align-self: stretch; height: 62svh; min-height: 360px; z-index: 0; }
  .hero__media img { object-position: 40% 68%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, transparent 30%, transparent 55%, var(--black) 100%); }
  .hero__content { position: relative; z-index: 1; margin-top: -4.5rem; padding: 0 var(--gutter); }
  .hero__mark { width: 76px; margin-bottom: 1.5rem; }
  .hero__scroll { display: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .vault__grid { grid-template-columns: 1fr; max-width: 22rem; }
  .tile { aspect-ratio: 4 / 5; }
  .podcast__head { grid-template-columns: 1fr; }
  .tagline::before, .tagline::after { width: 1.25rem; margin: 0 0.6rem; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 22rem; }
  .hero__actions .btn { width: 100%; }
  .episode__row { grid-template-columns: 44px 1fr; }
  .episode__play { width: 44px; height: 44px; }
  .episode__meta { grid-column: 2; margin-top: -0.75rem; }
  .episode__progress { margin-left: calc(44px + 1.25rem); }
  .socials__handle { letter-spacing: 0.16em; }
}
