:root {
  color-scheme: dark;
  --ink: #f3eee4;
  --muted: #bdb2a2;
  --soft: #8f8374;
  --deep: #080806;
  --line: rgba(243, 238, 228, 0.18);
  --gold: #c7a66c;
  --ember: #8f3f2b;
  --moss: #59604b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, 0.72), transparent 34%, rgba(8, 8, 6, 0.56)),
    linear-gradient(180deg, rgba(8, 8, 6, 0.12), rgba(8, 8, 6, 0.82));
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #090806;
}

.scene-plate {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.9;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.95) 0 2px, transparent 2px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 100%);
  background-size: 19rem 100%, 100% 13rem;
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px);
  background-size: 5rem 5rem, 7rem 7rem, 11rem 11rem;
  animation: grainShift 12s steps(8) infinite;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  color: rgba(243, 238, 228, 0.86);
  background: linear-gradient(180deg, rgba(8, 8, 6, 0.76), rgba(8, 8, 6, 0));
  backdrop-filter: blur(10px);
}

.brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.72rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 6.6rem 1.4rem 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(199, 166, 108, 0.22), transparent 33%),
    linear-gradient(292deg, rgba(143, 63, 43, 0.2), transparent 26%),
    linear-gradient(180deg, transparent 0 58%, rgba(8, 8, 6, 0.9) 100%);
  opacity: 0.72;
}

.hero-inner {
  display: grid;
  width: min(100%, 72rem);
  min-height: calc(100svh - 8.6rem);
  margin: 0 auto;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
}

.runtime {
  align-self: start;
  width: max-content;
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  opacity: 0;
  animation: detailIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 950ms forwards;
}

.title-stage {
  align-self: center;
  width: 100%;
  padding: 2rem 0 2.8rem;
}

h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.2rem;
  line-height: 0.86;
  font-weight: 700;
}

.title-word {
  display: block;
  width: 100%;
  text-transform: uppercase;
  text-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.72);
  will-change: transform, opacity;
}

.title-word:first-child {
  text-align: left;
  opacity: 0;
  transform: translateX(-6rem);
  animation: titleFromLeft 950ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

.title-word:last-child {
  text-align: right;
  color: #fff7ea;
  opacity: 0;
  transform: translateX(6rem);
  animation: titleFromRight 950ms cubic-bezier(0.16, 1, 0.3, 1) 340ms forwards;
}

.hero-copy {
  max-width: 32rem;
  margin: 1.6rem 0 0 auto;
  color: rgba(243, 238, 228, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0;
  animation: detailIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 1150ms forwards;
}

.social-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  padding-bottom: 0.2rem;
  color: rgba(243, 238, 228, 0.82);
  font-size: 0.82rem;
  opacity: 0;
  animation: detailIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 1320ms forwards;
}

.social-line span {
  color: rgba(243, 238, 228, 0.32);
}

main {
  background: #0b0a08;
}

.section {
  padding: 5rem 1.4rem;
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  text-transform: uppercase;
}

h2 {
  max-width: 50rem;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  line-height: 1.02;
  font-weight: 700;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.episode-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.episode-title {
  margin: 1rem 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  line-height: 1.12;
}

.episode-copy {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.still-frame {
  min-height: 16rem;
  border: 1px solid rgba(243, 238, 228, 0.16);
  background:
    linear-gradient(135deg, rgba(199, 166, 108, 0.18), transparent 38%),
    linear-gradient(315deg, rgba(89, 96, 75, 0.2), transparent 36%),
    #15120f;
  position: relative;
  overflow: hidden;
}

.still-frame::before,
.still-frame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(243, 238, 228, 0.12);
}

.still-frame::before {
  top: 24%;
}

.still-frame::after {
  bottom: 28%;
}

.still-frame span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: rgba(243, 238, 228, 0.46);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
}

.principles {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.principles strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 600;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
  margin-top: 2rem;
  color: var(--ink);
  font-size: 1rem;
}

footer {
  padding: 2rem 1.4rem;
  border-top: 1px solid var(--line);
  color: rgba(243, 238, 228, 0.56);
  background: #080806;
  font-size: 0.82rem;
}

footer div {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@keyframes titleFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes titleFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-6rem, 4rem, 0);
  }
}

@media (min-width: 48rem) {
  .nav {
    padding: 1.45rem 2rem;
  }

  .hero {
    padding: 7rem 2rem 2.4rem;
  }

  .runtime {
    transform-origin: left top;
    writing-mode: vertical-rl;
  }

  h1 {
    font-size: 9rem;
  }

  .section {
    padding: 6.5rem 2rem;
  }

  .episode-panel {
    grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1fr);
    align-items: end;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  }
}

@media (min-width: 78rem) {
  h1 {
    font-size: 13rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  h2 {
    font-size: 3.8rem;
  }
}

@media (max-width: 42rem) {
  .nav {
    align-items: flex-start;
    padding: 1rem 1rem;
  }

  .nav-links {
    max-width: 12rem;
    gap: 0.58rem 0.72rem;
    font-size: 0.68rem;
  }

  .hero {
    padding: 6.4rem 1rem 1.2rem;
  }

  .hero-inner {
    min-height: calc(100svh - 7.6rem);
  }

  h1 {
    font-size: 4.9rem;
  }

  .hero-copy {
    margin-left: 0;
    font-size: 0.94rem;
  }

  .social-line {
    font-size: 0.76rem;
  }

  .section {
    padding: 4.2rem 1rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

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