:root {
  --bg: #101826;
  --bg-alt: #1a2333;
  --bg-panel: #171d29;
  --bg-card: #1b2435;
  --bg-card-strong: #2b2f39;
  --border: #33415d;
  --border-soft: rgba(101, 124, 170, 0.24);
  --text: #eef3fb;
  --muted: #c8d2e4;
  --heading: #fff8ef;
  --amber: #f7a21b;
  --amber-strong: #d87405;
  --green: #05dc77;
  --green-deep: #0f332e;
  --blue: #4997ff;
  --blue-deep: #1a2a63;
  --purple-a: #8f19ff;
  --purple-b: #cc33ff;
  --shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
  --font-sans: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

html[data-theme="light"] {
  --bg: #f7f3ea;
  --bg-alt: #ede7da;
  --bg-panel: #ffffff;
  --bg-card: #ffffff;
  --bg-card-strong: #eef1f5;
  --border: #d8d0c3;
  --border-soft: rgba(91, 76, 54, 0.18);
  --text: #1f2632;
  --muted: #475265;
  --heading: #1b2230;
  --amber: #be6500;
  --amber-strong: #9d5200;
  --green: #058f53;
  --green-deep: #d9f0e4;
  --blue: #195bd6;
  --blue-deep: #dde7ff;
  --purple-a: #6d00f4;
  --purple-b: #b000ff;
  --shadow: 0 18px 32px rgba(44, 37, 27, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.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;
}
.shell { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; }
.narrow { width: min(980px, calc(100vw - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 24, 38, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .site-header {
  background: rgba(247, 243, 234, 0.92);
  border-bottom-color: rgba(61, 49, 31, 0.08);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-inner { min-height: 72px; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand-main { color: var(--amber); }
.brand-sub { color: #f5d583; font-style: italic; }
html[data-theme="light"] .brand-sub { color: #8a5d18; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a, .footer-nav a, .theme-toggle, .menu-toggle {
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .footer-nav a:hover, .theme-toggle:hover, .menu-toggle:hover { color: var(--heading); }
.theme-toggle, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.theme-toggle:hover, .menu-toggle:hover {
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .menu-toggle:hover { background: rgba(13, 25, 46, 0.04); }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
.menu-toggle { display: none; }

.page-main { padding-top: 2rem; }
.section { padding: .5rem 0; }
.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
html[data-theme="light"] .section-alt {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(23, 32, 46, 0.08);
}
.section-centered, .section-header { text-align: center; }
.section-header { max-width: 860px; margin: 0 auto 3rem; }
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--amber);
}
.section-icon svg { width: 2.8rem; height: 2.8rem; }
.section-icon.green { color: var(--green); }
.section-icon.blue { color: var(--blue); }
.section-icon.purple { color: #b357ff; }
h1, h2, h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-serif);
  line-height: 1.15;
}
h1 { font-size: clamp(2.7rem, 5vw, 4.9rem); }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.7rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
p { margin: 0; }
.section-copy {
  display: grid;
  gap: 1.9rem;
  max-width: 920px;
  margin: 2rem auto 0;
  font-size: clamp(1.16rem, 2vw, 1.34rem);
  color: var(--muted);
}
.section-copy.left { text-align: left; }
.section-link {
  margin-top: 2.1rem;
  text-align: center;
  font-size: 1.04rem;
  font-weight: 700;
}
.section-cta {
  margin-top: 2rem;
  text-align: center;
}
.section-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber);
}
.section-link a:hover { color: #ffc261; }
html[data-theme="light"] .section-link a:hover { color: var(--amber-strong); }

.playlist-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 2.5rem auto 0;
  padding: 1.4rem;
  max-width: 1080px;
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
html[data-theme="light"] .playlist-callout {
  background: rgba(0, 0, 0, 0.03);
}
.playlist-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
}
.playlist-copy h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.playlist-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.playlist-video {
  overflow: hidden;
  border-radius: 1.1rem;
  background: #0a0f18;
  box-shadow: var(--shadow);
}
.playlist-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
}
.playlist-preview:hover {
  filter: brightness(1.04);
}
.playlist-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.playlist-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.58) 100%);
}
.playlist-preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--heading);
  flex-shrink: 0;
}
.playlist-preview-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}
.playlist-preview-text {
  max-width: 320px;
}
.playlist-preview-label {
  color: #f6d28a;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.playlist-preview h4 {
  margin: 0.2rem 0 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.hero-section { padding-top: 1.25rem; padding-bottom: 1.5rem; }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 1.85rem;
  background: #12161f;
  box-shadow: var(--shadow);
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0) 100%);
}
.hero-card {
  border-radius: 0;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.3rem;
  min-height: 540px;
  width: min(560px, 100%);
  padding: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.25rem, 5vw, 4.5rem);
}
.hero-intro {
  padding-top: 1rem;
}
.hero-intro .section-copy {
  gap: 1.2rem;
}
.hero-intro h2 {
  margin-top: 0.25rem;
}
.hero-kicker {
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 800;
  color: rgba(170, 190, 100, 0.92);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55);
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.65);
}
.hero-tagline {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  color: rgba(240, 245, 255, 0.86);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.6rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(180deg, #ea8608 0%, var(--amber-strong) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(216, 116, 5, 0.35);
}
.button-red {
  background: linear-gradient(180deg, #770000 0%, #d80505 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgb(176 13 13 / 35%);
}
.button-secondary {
  background: linear-gradient(90deg, var(--purple-a) 0%, var(--purple-b) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(143, 25, 255, 0.34);

  border-color: rgba(255, 255, 255, 0.32);
}
html[data-theme="light"] .button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: #273141;
  border-color: rgba(48, 58, 74, 0.18);
}
.button-purple {
  background: linear-gradient(90deg, var(--purple-a) 0%, var(--purple-b) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(143, 25, 255, 0.34);
}
.button-green { background: var(--green-deep); color: var(--green); }
.button-blue { background: var(--blue-deep); color: var(--blue); }
.button-block { width: 100%; }

.music-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.featured-track {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(143, 25, 255, 0.12), rgba(204, 51, 255, 0.06));
}
html[data-theme="light"] .featured-track {
  border-color: rgba(15, 26, 43, 0.08);
  background: linear-gradient(135deg, rgba(109, 0, 244, 0.08), rgba(176, 0, 255, 0.04));
}
.featured-track-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}
.featured-track-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.featured-track-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.featured-track-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}
.featured-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.start-here-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem auto 0;
  text-align: left;
}
.start-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
}
.start-card .button {
  margin-top: auto;
}
.music-intro {
  padding-bottom: 1.5rem;
}
.music-intro p { margin-top: 1.55rem; color: var(--muted); font-size: 1.22rem; }
.music-intro .button { margin-top: 2.5rem; }
.music-panel {
  padding: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
}
html[data-theme="light"] .music-panel {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(15, 26, 43, 0.08);
}
.music-panel h3 {
  margin-bottom: 1.2rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.music-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}
.track-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--bg-card-strong);
  border: 1px solid transparent;
}
.track-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.track-main:hover .track-title {
  color: #ffffff;
}
.track-card.is-playing {
  border-color: rgba(188, 104, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(188, 104, 255, 0.24);
}
.track-cover {
  width: 58px;
  height: 58px;
  border-radius: 0.6rem;
  object-fit: cover;
}
.track-meta {
  min-width: 0;
}
.track-title { font-size: 1.04rem; font-weight: 700; color: var(--heading); }
.track-actions { display: flex; align-items: center; gap: 0.2rem; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-button:hover {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .icon-button:hover { background: rgba(0, 0, 0, 0.06); }
.panel-note {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}
.panel-note a { text-decoration: underline; text-underline-offset: 0.16rem; }

.card-grid { display: grid; gap: 1.9rem; }
.product-grid, .amazon-grid, .milestones-grid, .start-here-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 1.45rem;
  border: 1px solid var(--border-soft);
  border-radius: 1.45rem;
  background: var(--bg-panel);
}
.card-media {
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(122, 149, 197, 0.12);
}
.card-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.info-card h3 { font-family: var(--font-sans); font-size: 1.15rem; line-height: 1.32; }
.info-card p { color: var(--muted); font-size: 1rem; }
.eyebrow {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.milestone-card a { margin-top: auto; color: var(--amber); font-weight: 700; }
.milestone-card a:hover { color: #ffc261; }
.cta-card {
  margin-top: 3rem;
  padding: 3rem 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 2rem;
  text-align: center;
}
.cta-card h3 { color: var(--amber); font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-card p {
  max-width: 760px;
  margin: 1rem auto 2rem;
  color: #d8c06c;
  font-size: 1.25rem;
}
html[data-theme="light"] .cta-card p { color: #805c11; }

.story-hero {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}
.prose-card, .not-found-card {
  padding: 2rem;
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  background: var(--bg-panel);
}
.prose-card {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.not-found-card { text-align: center; }
.not-found-card p { margin-top: 1rem; margin-bottom: 1.75rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .site-footer {
  border-top-color: rgba(15, 26, 43, 0.08);
  background: rgba(0, 0, 0, 0.03);
}
.site-footer .footer-inner { min-height: 108px; }
.site-footer p { color: var(--muted); text-align: center; }
.footer-nav { display: flex; align-items: center; gap: 1.5rem; }

@media (max-width: 1080px) {
  .product-grid, .amazon-grid, .milestones-grid, .start-here-grid { grid-template-columns: 1fr; }
  .music-intro { padding-right: 0; }
  .playlist-callout { grid-template-columns: 1fr; }
  .music-list { grid-template-columns: 1fr; }
  .featured-track { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 1rem;
    background: var(--bg-panel);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .theme-toggle {
    justify-content: flex-start;
    width: 100%;
    min-height: 3rem;
    padding: 0 0.6rem;
    border-radius: 0.8rem;
  }
  .hero-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    background: #101826;
  }
  .hero-media,
  .hero-media img,
  .hero-overlay {
    position: static;
    inset: auto;
  }
  .hero-media {
    background: #101826;
  }
  .hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.50 / 1;
    object-fit: contain;
    object-position: center top;
  }
  .hero-overlay {
    display: none;
  }
  .hero-copy {
    justify-content: flex-start;
    min-height: auto;
    width: 100%;
    padding: 1.25rem 1.25rem 1.35rem;
    background: #101826;
  }
  .hero-actions {
    margin-top: 0;
    padding-top: 0;
  }
  .footer-inner, .footer-nav { flex-direction: column; }
  .footer-inner { padding: 1.5rem 0; }
}
@media (max-width: 560px) {
  .shell, .narrow { width: min(calc(100vw - 24px), 100%); }
  .section { padding: .5rem 0; }
  .hero-media img {
    aspect-ratio: 1.50 / 1;
  }
  .button, .hero-actions .button { width: 100%; }
  .track-card { grid-template-columns: 1fr; }
  .track-main { grid-template-columns: 52px minmax(0, 1fr); }
  .track-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
