:root {
  --ink: #05070a;
  --ink-2: #0b1117;
  --panel: #10171e;
  --steel: #8d9baa;
  --paper: #f3f0e9;
  --muted: #a9adb2;
  --gold: #d9ad58;
  --gold-bright: #f1d18a;
  --line: rgba(217, 173, 88, 0.34);
  --white-line: rgba(255, 255, 255, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 750;
  text-transform: uppercase;
}

.wordmark-x {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

nav a:hover {
  color: var(--gold-bright);
}

.nav-book {
  padding: 9px 14px;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  max-height: 980px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  object-position: 68% 50%;
}

.hero-shade {
  background: rgba(3, 5, 8, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 88vw);
  margin-left: max(6vw, calc((100vw - var(--max)) / 2));
  padding-top: 66px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 5rem;
  line-height: 0.96;
}

.hero-line {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 750;
}

.button-primary {
  color: #11100d;
  background: var(--gold-bright);
}

.button-primary:hover {
  background: #ffe2a3;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(4, 6, 9, 0.54);
}

.button-secondary:hover {
  border-color: var(--gold-bright);
}

.hero-next {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.down-mark {
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
}

.section-inner {
  width: min(var(--max), 90vw);
  margin: 0 auto;
}

.session-band {
  padding: 100px 0;
  background: var(--ink-2);
}

.session-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 7vw;
  align-items: center;
}

.cover-wrap {
  margin: 0;
}

.cover-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.cover-wrap figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.76rem;
}

.session-copy h2,
.section-heading h2,
.story-content h2,
.booking-layout h2 {
  margin-bottom: 22px;
  font-size: 3.5rem;
  line-height: 1.02;
}

.session-intro {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.05rem;
}

.player {
  margin-top: 32px;
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.player-heading,
.player-controls,
.time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.player-heading strong,
.player-heading span {
  display: block;
}

.player-heading strong {
  font-size: 1.05rem;
}

.player-heading span,
.player-state {
  color: var(--muted);
  font-size: 0.78rem;
}

.player-state {
  color: var(--gold-bright) !important;
  text-transform: uppercase;
}

.player-controls {
  margin-top: 22px;
}

.play-control {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.play-symbol {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--gold-bright);
  transform: translate(-50%, -50%);
}

.play-control.is-playing .play-symbol {
  left: 50%;
  width: 12px;
  height: 16px;
  border: 0;
  border-left: 4px solid var(--gold-bright);
  border-right: 4px solid var(--gold-bright);
}

.timeline {
  flex: 1;
  min-width: 0;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.time-row {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.volume-control {
  display: grid;
  grid-template-columns: auto 78px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

#sessionAudio {
  display: none;
}

.session-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 0;
}

.session-facts div {
  padding-left: 14px;
  border-left: 1px solid var(--white-line);
}

.session-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.session-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.text-action {
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.sessions-band {
  padding: 110px 0;
}

.section-heading {
  max-width: 730px;
}

.session-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 26px;
  margin-top: 58px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.session-number {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 2.2rem;
}

.session-row h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.session-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.row-play {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.release-state {
  color: var(--steel);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.archive-line {
  width: 1px;
  height: 68px;
  margin-left: 39px;
  background: var(--line);
}

.archive-note {
  margin: 0 0 0 19px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.story-band {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #091018;
}

.story-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0.26;
}

.story-wave span {
  width: 2px;
  height: 12%;
  background: var(--gold);
}

.story-wave span:nth-child(3n) { height: 50%; }
.story-wave span:nth-child(4n) { height: 74%; }
.story-wave span:nth-child(5n) { height: 30%; }
.story-wave span:nth-child(7n) { height: 88%; }

.story-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
}

.story-content p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.booking-band {
  padding: 110px 0;
  background: #0b0d0f;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
}

.booking-layout > div > p:last-child {
  color: var(--muted);
}

form {
  display: grid;
  gap: 18px;
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  color: var(--muted);
  font-size: 0.78rem;
}

input:not([type="range"]),
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid var(--white-line);
  border-radius: 4px;
  color: var(--paper);
  background: #11161b;
}

textarea {
  resize: vertical;
}

form .button {
  justify-self: start;
}

.form-status {
  min-height: 1.4em;
  margin-bottom: 0;
  color: var(--gold-bright);
  font-size: 0.82rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  color: var(--gold-bright);
}

.mini-player {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  display: grid;
  grid-template-columns: 44px minmax(170px, 1fr) minmax(120px, 260px) 56px auto;
  align-items: center;
  gap: 14px;
  width: min(760px, calc(100vw - 28px));
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(7, 10, 13, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}

.mini-play,
.room-play {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.mini-play .play-symbol,
.room-play .play-symbol {
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px;
}

.mini-play.is-playing .play-symbol,
.room-play.is-playing .play-symbol {
  left: 50%;
  width: 10px;
  height: 14px;
  border: 0;
  border-left: 3px solid var(--gold-bright);
  border-right: 3px solid var(--gold-bright);
}

.mini-track {
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.mini-track strong,
.mini-track span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-track strong {
  font-size: 0.82rem;
}

.mini-track span {
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.mini-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.mini-player time {
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-room {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.listening-room {
  --room-accent: #d9ad58;
  --room-surface: #071019;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--paper);
  background: var(--room-surface);
}

.listening-room::backdrop {
  background: #020304;
}

.listening-room[data-mood="gold-hour"] {
  --room-accent: #f1d18a;
  --room-surface: #171108;
}

.listening-room[data-mood="deep-room"] {
  --room-accent: #8daec2;
  --room-surface: #06121a;
}

.room-art,
.room-shade {
  position: absolute;
  inset: 0;
}

.room-art {
  background-image: url("assets/session-001-cover.png");
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.room-shade {
  background: rgba(2, 4, 7, 0.72);
}

.room-close {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.room-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(140px, 1fr) auto auto;
  gap: 22px;
  width: min(1180px, 90vw);
  height: 100%;
  margin: 0 auto;
  padding: 7vh 0 4vh;
}

.room-heading h2 {
  margin-bottom: 6px;
  font-size: 4.2rem;
  line-height: 1;
}

.room-heading > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

#roomVisualizer {
  width: 100%;
  height: 100%;
  min-height: 140px;
  max-height: 330px;
  align-self: center;
}

.room-transport {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.room-play {
  width: 72px;
  height: 72px;
  border-color: var(--room-accent);
}

.room-play .play-symbol {
  border-left-color: var(--room-accent);
}

.room-timeline input[type="range"] {
  accent-color: var(--room-accent);
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mood-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-button,
.room-share {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 0.75rem;
}

.mood-button.active {
  border-color: var(--room-accent);
  color: var(--paper);
}

.room-share {
  color: var(--room-accent);
}

@media (max-width: 900px) {
  nav a:not(.nav-book) {
    display: none;
  }

  h1 {
    font-size: 4rem;
  }

  .session-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .cover-wrap {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .booking-layout {
    gap: 42px;
  }

  .session-row {
    grid-template-columns: 62px minmax(0, 1fr) auto;
  }

  .release-state {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-art {
    object-position: 58% 50%;
  }

  .hero-shade {
    background: rgba(3, 5, 8, 0.64);
  }

  .hero-content {
    margin-left: 6vw;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero-line {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-next {
    display: none;
  }

  .session-band,
  .sessions-band,
  .booking-band {
    padding: 72px 0;
  }

  .session-copy h2,
  .section-heading h2,
  .story-content h2,
  .booking-layout h2 {
    font-size: 2.55rem;
  }

  .player-controls {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .volume-control {
    display: none;
  }

  .session-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .session-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .row-play {
    grid-column: 2;
    justify-self: start;
  }

  .form-pair {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    text-align: left;
  }

  footer > a:last-child {
    justify-self: start;
  }

  .mini-player {
    grid-template-columns: 42px minmax(0, 1fr) 52px;
    bottom: 8px;
  }

  .mini-progress,
  .mini-room {
    display: none;
  }

  .room-shell {
    grid-template-rows: auto minmax(100px, 1fr) auto auto;
    padding-top: 11vh;
  }

  .room-heading h2 {
    font-size: 2.7rem;
  }

  .room-close {
    top: 14px;
    right: 16px;
  }

  .room-transport {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .room-play {
    width: 56px;
    height: 56px;
  }

  .room-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
