:root {
  color-scheme: dark;
  --bg: #050505;
  --fg: #f7f4ef;
  --muted: #a8a19a;
  --line: rgba(255, 255, 255, 0.14);
  --red: #e50914;
  --red-deep: #79020a;
  --yellow: #f3c74f;
  --magenta: #ff4ff3;
  --panel: #121212;
}

* {
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -15%, rgba(243, 199, 79, 0.2), transparent 34rem),
    linear-gradient(180deg, #0a0a0a 0%, var(--bg) 34rem);
  color: var(--fg);
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 3rem 1.1rem 2.25rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.54) 52%, rgba(5, 5, 5, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 8rem);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  right: -8rem;
  top: 10%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(243, 199, 79, 0.2), transparent 68%);
  filter: blur(4px);
}

.hero__inner {
  position: relative;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.85rem;
  color: #ffd9ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-shadow:
    0 0 0.12rem var(--magenta),
    0 0 0.55rem rgba(255, 79, 243, 0.92),
    0 0 1.15rem rgba(185, 74, 255, 0.72),
    0 0 2.1rem rgba(255, 79, 243, 0.36);
  text-transform: uppercase;
  -webkit-text-stroke: 0.025rem rgba(255, 79, 243, 0.92);
}

.brand-title {
  display: grid;
  gap: 0.1em;
  margin: 0;
  max-width: 62rem;
  font-size: clamp(3rem, 16vw, 6rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-title span {
  display: block;
  text-shadow: 0 0 2.2rem rgba(243, 199, 79, 0.22);
}

.brand-title span:nth-child(2) {
  color: var(--yellow);
}

.tagline {
  max-width: 32rem;
  margin: 1.15rem 0 0;
  color: var(--yellow);
  font-size: clamp(1rem, 4.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
}

/*
  Reserved for the future email capture UI. The form markup is intentionally
  absent until a real signup destination exists.
.signup {
  width: min(100%, 31rem);
  margin-top: 1.8rem;
}

.signup__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.signup input,
.signup button {
  min-height: 3.25rem;
  border-radius: 4px;
  font: inherit;
}

.signup input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  padding: 0 1rem;
}

.signup input:disabled {
  opacity: 0.7;
}

.signup button {
  border: 0;
  background: linear-gradient(180deg, var(--red), #b50610);
  color: white;
  padding: 0 1.3rem;
  font-weight: 800;
  cursor: not-allowed;
  opacity: 0.62;
}

.signup__status {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
*/

.catalog {
  padding: 2rem 0 3.5rem;
}

.exclusive-modal__eyebrow,
.listen-hero__eyebrow,
.listen-card__eyebrow,
.access-panel__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13rem;
  text-transform: uppercase;
}

.exclusive-modal h2,
.listen-hero h1,
.listen-card h2,
.access-panel h1 {
  margin: 0;
  line-height: 1.02;
}

.exclusive-modal p,
.listen-hero p,
.listen-card p,
.access-panel p {
  color: var(--muted);
}

.exclusive-modal button[type="submit"],
.listen-card__button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  color: #090909;
  padding: 0 1rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.exclusive-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: end center;
  background: rgba(0, 0, 0, 0.74);
  padding: 1rem;
}

.exclusive-modal__panel {
  position: relative;
  width: min(100%, 34rem);
  border: 1px solid rgba(255, 79, 243, 0.52);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 79, 243, 0.14), rgba(243, 199, 79, 0.08)),
    #090909;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.62);
  padding: 1.15rem;
}

.exclusive-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  padding: 0;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.exclusive-modal h2 {
  padding-right: 2rem;
  font-size: clamp(1.6rem, 7vw, 2.5rem);
}

.exclusive-modal p {
  margin: 0.65rem 0 0;
  line-height: 1.5;
}

.exclusive-modal__form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.exclusive-modal input {
  min-height: 3rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  padding: 0 0.9rem;
  font: inherit;
}

.exclusive-modal__trap {
  position: absolute;
  left: -100vw;
  opacity: 0;
}

.exclusive-modal__status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
}

.listen-page,
.access-page {
  min-height: 100vh;
  padding: 3rem 1.1rem;
}

.listen-page {
  padding-bottom: 12rem;
}

.listen-hero,
.listen-release,
.listen-card,
.access-panel {
  width: min(100%, 52rem);
  margin: 0 auto;
}

.access-status {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.listen-hero h1,
.access-panel h1 {
  color: var(--yellow);
  font-size: clamp(2.6rem, 12vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
}

.listen-hero p,
.access-panel p {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

.listen-card,
.access-panel {
  border: 1px solid rgba(255, 79, 243, 0.36);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 79, 243, 0.12), rgba(243, 199, 79, 0.08)),
    rgba(18, 18, 18, 0.86);
  padding: 1.1rem;
}

.listen-card {
  margin-top: 1.5rem;
}

.listen-release {
  margin-top: 1.5rem;
}

.listen-release .listen-card {
  width: 100%;
  margin-top: 0;
}

.listen-card__cover-slot {
  position: relative;
  z-index: 0;
  display: grid;
  justify-items: center;
}

.listen-card__cover-slot[hidden] {
  display: none;
}

.listen-card__cover {
  aspect-ratio: 2 / 3;
  width: min(100%, 24rem);
  overflow: hidden;
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.48);
}

.listen-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listen-card.is-unlocked {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-height: min(58vh, 24rem);
  overflow: auto;
  z-index: 1;
}

.listen-card__cover-slot:not([hidden]) + .listen-card.is-unlocked {
  margin-top: -3.75rem;
  background:
    linear-gradient(135deg, rgba(255, 79, 243, 0.18), rgba(243, 199, 79, 0.1)),
    rgba(9, 9, 9, 0.94);
}

.listen-card h2 {
  font-size: clamp(1.45rem, 7vw, 2.5rem);
}

.listen-card__audio {
  width: 100%;
}

.listen-card__chapter {
  margin-top: 1.25rem;
}

.listen-card__chapter h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.2;
}

.catalog__header {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.catalog h2 {
  margin: 0;
  font-size: clamp(1.35rem, 6vw, 2rem);
  line-height: 1.05;
}

.catalog-title-neon {
  color: #ffd9ff;
  text-shadow:
    0 0 0.12rem var(--magenta),
    0 0 0.55rem rgba(255, 79, 243, 0.92),
    0 0 1.15rem rgba(185, 74, 255, 0.72),
    0 0 2.1rem rgba(255, 79, 243, 0.36);
  -webkit-text-stroke: 0.025rem rgba(255, 79, 243, 0.92);
}

.catalog__header--series {
  margin-top: 3rem;
}

.catalog-title-link {
  color: inherit;
  text-decoration: none;
}

.catalog-title-link:hover,
.catalog-title-link:focus-visible {
  color: var(--yellow);
  text-decoration: none;
}

.book-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13.75rem, 74vw);
  gap: 1rem;
  margin-top: 1.2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 1.1rem 1rem;
  scroll-padding-inline: 1.1rem;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.book-rail::-webkit-scrollbar {
  display: none;
}

.book-rail--series {
  margin-top: 1.4rem;
}

.book-rail:empty::before,
.book-rail[data-empty="true"]::before {
  content: "Catalog links coming soon.";
  color: var(--muted);
  padding: 1.35rem 0;
}

.book-card {
  display: grid;
  grid-template-rows: auto minmax(2.4rem, auto) minmax(3.7rem, auto) auto;
  scroll-snap-align: start;
}

.book-card__cover-link {
  display: block;
  grid-row: 1;
  text-decoration: none;
}

.book-card__cover-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.book-card__cover {
  grid-row: 1;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(229, 9, 20, 0.24), rgba(255, 255, 255, 0.06)),
    var(--panel);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.48);
}

.book-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.book-card h3 {
  grid-row: 2;
  margin: 0.95rem 0 0;
  font-size: 1.05rem;
  line-height: 1.08;
}

.book-card h3 a,
.book-card__title-button {
  color: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.book-card h3 a:hover,
.book-card h3 a:focus-visible,
.book-card__title-button:hover,
.book-card__title-button:focus-visible {
  color: var(--yellow);
  text-decoration: none;
}

.book-card p {
  grid-row: 3;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.book-card__actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  grid-row: 4;
  margin-top: 0.85rem;
}

.book-card__actions a,
.book-card__actions button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #f5f1ea;
  color: #090909;
  padding: 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.book-card__actions button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.book-card__actions .book-card__spotify-link {
  background: #1db954;
  color: #050505;
}

.book-card__actions a + a,
.book-card__actions a + button,
.book-card__actions button + a,
.book-card__actions button + button {
  background: transparent;
  color: var(--fg);
  outline: 1px solid var(--line);
}

.legal-hero {
  position: relative;
  padding: 3rem 1.1rem 1.5rem;
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.62) 52%, rgba(5, 5, 5, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 8rem);
  pointer-events: none;
}

.legal-hero__inner,
.legal-content,
.site-footer {
  position: relative;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.legal-hero h1 {
  margin: 0;
  max-width: 48rem;
  color: var(--yellow);
  font-size: clamp(2.6rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 2.2rem rgba(243, 199, 79, 0.2);
}

.legal-updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 1rem 1.1rem 3rem;
  color: #ded7d0;
}

.legal-content p {
  max-width: 50rem;
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content h2 {
  max-width: 50rem;
  margin: 2rem 0 0;
  color: var(--fg);
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  line-height: 1.15;
}

.legal-content a,
.site-footer a {
  color: var(--yellow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.25rem 1.1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.subscribe-banner {
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 79, 243, 0.58);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 79, 243, 0.16), rgba(243, 199, 79, 0.08)),
    rgba(7, 7, 7, 0.96);
  box-shadow:
    0 0 1rem rgba(255, 79, 243, 0.24),
    0 1.25rem 3rem rgba(0, 0, 0, 0.58);
  padding: 1rem 2.85rem 1rem 1rem;
}

.subscribe-banner__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  padding: 0;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.subscribe-banner__close:hover,
.subscribe-banner__close:focus-visible {
  color: var(--yellow);
}

.subscribe-banner__copy {
  padding-right: 2.1rem;
}

.subscribe-banner__kicker {
  margin: 0 0 0.35rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.subscribe-banner h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.subscribe-banner p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.subscribe-banner__form {
  display: grid;
  gap: 0.65rem;
}

.subscribe-banner input,
.subscribe-banner button[type="submit"] {
  min-height: 2.9rem;
  border-radius: 4px;
  font: inherit;
}

.subscribe-banner input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  padding: 0 0.9rem;
}

.subscribe-banner input:focus {
  border-color: rgba(243, 199, 79, 0.78);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(243, 199, 79, 0.14);
}

.subscribe-banner button[type="submit"] {
  border: 0;
  background: var(--yellow);
  color: #090909;
  padding: 0 1rem;
  font-weight: 900;
  cursor: pointer;
}

.subscribe-banner button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.68;
}

.subscribe-banner__trap {
  position: absolute;
  left: -100vw;
  opacity: 0;
}

.subscribe-banner__status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.82rem;
}

@media (min-width: 620px) {
  /*
  .signup__row {
    grid-template-columns: 1fr auto;
  }
  */

  .book-rail {
    grid-auto-columns: 17rem;
  }

  .subscribe-banner__form {
    grid-template-columns: minmax(12rem, 1fr) auto;
    align-items: start;
  }

  .subscribe-banner__status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: 78vh;
    padding: 4rem 2rem 3rem;
  }

  .brand-title {
    font-size: clamp(5.5rem, 11vw, 10rem);
  }

  .catalog {
    padding-top: 2.75rem;
  }

  .exclusive-modal {
    place-items: center;
  }

  .exclusive-modal__panel {
    padding: 1.4rem;
  }

  .listen-page,
  .access-page {
    padding: 4rem 2rem;
  }

  .listen-page {
    padding-bottom: 4rem;
  }

  .listen-release {
    display: grid;
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .listen-release .listen-card {
    margin-top: 0;
  }

  .listen-card.is-unlocked {
    position: sticky;
    top: 2rem;
    right: auto;
    bottom: auto;
    left: auto;
    max-height: calc(100vh - 4rem);
  }

  .listen-card__cover {
    width: 100%;
  }

  .listen-card__cover-slot:not([hidden]) + .listen-card.is-unlocked {
    margin-top: 0;
  }

  .catalog__header {
    padding: 0 2rem;
  }

  .book-rail {
    grid-auto-columns: 20rem;
    gap: 1.25rem;
    padding-inline: max(2rem, calc((100vw - 72rem) / 2 + 2rem));
    scroll-padding-inline: max(2rem, calc((100vw - 72rem) / 2 + 2rem));
  }

  .legal-hero {
    padding: 4rem 2rem 2rem;
  }

  .legal-content {
    padding: 1rem 2rem 4rem;
  }

  .site-footer {
    padding: 1.5rem 2rem 2.5rem;
  }

  .subscribe-banner {
    right: 2rem;
    bottom: 2rem;
    left: auto;
    width: min(43rem, calc(100vw - 4rem));
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 1.05fr);
    align-items: center;
    padding: 1.1rem 3rem 1.1rem 1.1rem;
  }

  .subscribe-banner__close {
    top: 0.55rem;
    right: 0.55rem;
  }
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .book-rail {
    cursor: grab;
    user-select: none;
  }

  .book-rail.is-dragging {
    cursor: grabbing;
  }

  .book-card__cover-link:hover .book-card__cover img,
  .book-card__cover-link:focus-visible .book-card__cover img {
    transform: scale(1.025);
  }
}
