:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-soft: #0c0d0f;
  --ink: #f1eee8;
  --muted: #b8afa6;
  --dim: #77706b;
  --line: rgba(241, 238, 232, 0.14);
  --line-strong: rgba(241, 238, 232, 0.26);
  --red: #b92a21;
  --red-deep: #6f1514;
  --gold: #d9a441;
  --blue: #407588;
  --green: #6d7d4d;
  --panel: rgba(11, 12, 14, 0.78);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --max: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

main,
section,
div,
article,
figure {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(185, 42, 33, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 16%, rgba(64, 117, 136, 0.14), transparent 32rem),
    linear-gradient(180deg, #050506 0%, #08090b 38%, #040405 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow-x: clip;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  background: rgba(5, 5, 6, 0.66);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.9);
  border-color: var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark img {
  width: 3.9rem;
  height: 2.6rem;
  object-fit: contain;
}

.brand-mark span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0.55rem;
}

.nav-toggle span:not(.sr-only) {
  width: 1.3rem;
  height: 2px;
  background: currentColor;
  display: block;
}

.primary-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  background: rgba(5, 5, 6, 0.96);
  border-bottom: 1px solid var(--line);
  transform: translateY(-115%);
  transition: transform 200ms ease;
}

.primary-nav.is-open {
  transform: translateY(0);
}

.primary-nav a {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  border-left: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--ink);
  border-left-color: var(--red);
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: calc(var(--header-h) + 1.8rem) clamp(1rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
  opacity: 0.54;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 66% 36%, transparent 0 6rem, rgba(0, 0, 0, 0.42) 6.5rem 9rem, rgba(0, 0, 0, 0.72) 14rem),
    linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.7) 48%, rgba(5, 5, 6, 0.24)),
    linear-gradient(180deg, rgba(5, 5, 6, 0.18), #050506 100%);
}

.hero-content {
  width: min(58rem, 100%);
}

.hero-logo {
  width: min(18rem, 54vw);
  margin: 0 0 1rem;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.72));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.95rem;
  font-size: clamp(2.25rem, 8vw, 6.2rem);
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 4.6rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.65rem, 4.2vw, 2.9rem);
  text-transform: uppercase;
}

.tagline {
  max-width: 37rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.hero-actions,
.album-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(241, 238, 232, 0.52);
}

.button-primary {
  border-color: rgba(185, 42, 33, 0.84);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 12px 40px rgba(185, 42, 33, 0.24);
}

.button-secondary {
  background: rgba(217, 164, 65, 0.11);
  border-color: rgba(217, 164, 65, 0.42);
}

.button-ghost {
  background: transparent;
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus-visible {
  color: var(--dim);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-decoration-color: var(--red);
  text-underline-offset: 0.32em;
}

.release-strip {
  border-block: 1px solid var(--line);
  background: rgba(10, 11, 12, 0.88);
}

.release-strip-inner {
  width: min(var(--max), calc(100% - 2rem));
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.release-strip-inner > div {
  min-width: 0;
}

.release-strip-inner * {
  min-width: 0;
}

.release-strip img {
  width: 5.5rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.release-strip h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 4vw, 2rem);
  overflow-wrap: break-word;
}

.release-strip p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.release-strip .text-link {
  grid-column: 1 / -1;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(1.8rem, 5vw, 3.4rem);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-lede {
  max-width: 50rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.trilogy-covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.trilogy-covers figure {
  min-width: 0;
  margin: 0;
  background: #000;
  border: 1px solid var(--line);
}

.trilogy-covers img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.trilogy-covers figcaption {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.album-stack {
  display: grid;
  gap: 1rem;
}

.album-feature {
  display: grid;
  gap: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.album-feature-primary {
  border-color: rgba(217, 164, 65, 0.34);
}

.album-cover {
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  background: #000;
}

.album-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.album-body {
  padding: 0.6rem 0.25rem 0.25rem;
}

.album-body p:not(.eyebrow) {
  color: var(--muted);
  max-width: 48rem;
}

.track-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 1.2rem;
  margin: 1.5rem 0 0;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.track-list li::marker {
  color: var(--gold);
  font-weight: 800;
}

.playlist-stage {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.86);
}

.playlist-stage[hidden] {
  display: none;
}

.playlist-stage .video-frame {
  width: min(72rem, 100%);
  box-shadow: var(--shadow);
}

.close-player {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.close-player::before,
.close-player::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
}

.close-player::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-player::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-layout {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy,
.about-panel,
.commerce-panel,
.support-link {
  background: var(--panel);
  border: 1px solid var(--line);
}

.video-copy {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.video-copy p:not(.eyebrow) {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
}

.photo-grid figure {
  position: relative;
  aspect-ratio: 1;
  min-height: 10rem;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 250ms ease, opacity 250ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
  opacity: 0.9;
}

.photo-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.8rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.commerce-grid,
.support-layout {
  display: grid;
  gap: 1rem;
}

.commerce-panel {
  min-height: 15rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.commerce-panel h3 {
  font-size: clamp(1.5rem, 5vw, 2.6rem);
}

.commerce-panel p {
  color: var(--muted);
}

.commerce-panel .button {
  margin-top: auto;
}

.support-link {
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.support-link svg {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-link .icon-youtube path:first-child {
  fill: currentColor;
  stroke: none;
}

.support-link .icon-youtube path:last-child {
  fill: var(--bg);
  stroke: none;
}

.support-link span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.support-link strong {
  font-size: 1.25rem;
  line-height: 1.08;
}

.support-link:hover,
.support-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 164, 65, 0.42);
  background: rgba(217, 164, 65, 0.08);
}

.support-link-pending {
  color: var(--dim);
  cursor: not-allowed;
}

.support-link-pending span {
  color: var(--dim);
}

.support-link-pending:hover,
.support-link-pending:focus-visible {
  transform: none;
  border-color: var(--line);
  background: var(--panel);
}

.section-about {
  width: 100%;
  margin: 0;
  padding-inline: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(111, 21, 20, 0.28), transparent 44%),
    linear-gradient(90deg, rgba(109, 125, 77, 0.14), rgba(64, 117, 136, 0.12));
}

.about-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.about-panel p:not(.eyebrow) {
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.site-footer img {
  width: 5rem;
  height: auto;
  opacity: 0.8;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 700px) {
  .release-strip-inner {
    grid-template-columns: 6rem 1fr auto;
    gap: 1.2rem;
  }

  .release-strip img {
    width: 6rem;
  }

  .release-strip .text-link {
    grid-column: auto;
  }

  .track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .commerce-grid,
  .support-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    transition: none;
  }

  .primary-nav a {
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    border-left-color: transparent;
    border-bottom-color: var(--red);
  }

  .album-feature {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: stretch;
    padding: clamp(1rem, 2vw, 1.3rem);
  }

  .album-feature:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
  }

  .album-feature:nth-child(even) .album-cover {
    order: 2;
  }

  .album-body {
    padding: clamp(1rem, 3vw, 2rem) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .video-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  }

  .commerce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .brand-mark span {
    display: none;
  }

  .button {
    width: 100%;
  }

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

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0.5rem 1rem;
  }

  .brand-mark span {
    display: none;
  }

  .brand-mark img {
    width: 3.25rem;
    height: auto;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding: calc(var(--header-h) + 1rem) 1rem 1rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.68) 62%, rgba(5, 5, 6, 0.2)),
      linear-gradient(180deg, rgba(5, 5, 6, 0.08), #050506 96%);
  }

  .hero-logo {
    width: min(8.5rem, 40vw);
    margin-bottom: 0.75rem;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.1rem, 8vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
    overflow-wrap: break-word;
  }

  h3 {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .tagline {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

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

  .release-strip-inner {
    grid-template-columns: 1fr;
  }

  .release-strip img {
    width: 5rem;
  }

  .release-strip .text-link {
    grid-column: auto;
  }

  .section {
    width: calc(100% - 2rem);
    max-width: calc(100vw - 2rem);
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 1.45rem;
  }

  .section-music .section-head h2 {
    max-width: 9ch;
  }

  .section-lede {
    font-size: 1rem;
  }

  .trilogy-covers {
    gap: 0.45rem;
    margin-bottom: 1.6rem;
  }

  .trilogy-covers figcaption {
    display: none;
  }

  .album-feature {
    gap: 0.75rem;
    padding: 0.6rem;
  }

  .album-body {
    padding: 0.25rem;
  }

  .track-list {
    padding-left: 1.1rem;
    font-size: 0.88rem;
  }

  .video-copy,
  .commerce-panel,
  .support-link,
  .about-panel {
    padding: 1rem;
  }

  .commerce-panel {
    min-height: 12rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.5rem 0;
  }
}

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