:root {
  --ink: #11100e;
  --muted: #64605a;
  --paper: #f6f3ee;
  --paper-soft: #ebe6df;
  --line: rgba(17, 16, 14, 0.13);
  --white: #fffdf9;
  --shadow: 0 24px 70px rgba(17, 16, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.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;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 16, 14, 0.78), rgba(17, 16, 14, 0));
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.86rem;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    #11100e url("assets/cinematic mountain landscape.png") center center / cover no-repeat;
  color: var(--white);
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 8, 35, 0.78), rgba(45, 23, 78, 0.32) 52%, rgba(20, 10, 38, 0.24)),
    linear-gradient(0deg, rgba(11, 7, 24, 0.78), rgba(58, 30, 94, 0.06) 55%);
}

.hero-content {
  position: relative;
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 12vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0.72;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(5.4rem, 11.5vw, 9.6rem);
  line-height: 0.88;
  font-weight: 760;
  overflow-wrap: normal;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 720;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 253, 249, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 253, 249, 0.48);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.section {
  padding: clamp(72px, 11vw, 132px) clamp(18px, 4vw, 56px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.intro-section {
  background: var(--white);
}

.intro-section p:not(.eyebrow),
.section-heading p,
.release-panel p,
.text-stack p,
.update-card p {
  color: var(--muted);
}

.intro-section strong {
  color: var(--ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.gallery-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.045), transparent 42%),
    linear-gradient(180deg, #180b30, #120820 58%, #0f071d);
  color: var(--white);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.gallery-intro {
  position: sticky;
  top: 110px;
}

.gallery-intro .text-stack {
  margin: 22px 0 28px;
  color: #d6d0df;
}

.gallery-intro .button {
  margin-top: 4px;
}

.gallery-note {
  margin: 18px 0 0;
  color: rgba(214, 208, 223, 0.72);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 253, 249, 0.24);
  background: rgba(255, 253, 249, 0.1);
}

.gallery-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #120820;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 420ms ease;
}

.gallery-card:hover .gallery-image img,
.gallery-card:focus-within .gallery-image img {
  transform: scale(1.04);
}

.gallery-card-body {
  padding: 18px;
}

.gallery-card-body h3 {
  color: var(--white);
}

.gallery-card-body p {
  margin: 10px 0 0;
  color: rgba(214, 208, 223, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.gallery-card-body span {
  display: inline-flex;
  margin-top: 14px;
  color: #d6d0df;
  font-size: 0.9rem;
  font-weight: 800;
}

.gallery-card-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.gallery-info-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 5vw, 54px);
}

.gallery-info {
  padding: 20px;
  border: 1px solid rgba(255, 253, 249, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.055);
}

.gallery-info span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 999px;
  color: #d6d0df;
}

.gallery-info svg {
  width: 18px;
  height: 18px;
}

.gallery-info svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gallery-info h3 {
  color: var(--white);
  font-size: 1rem;
}

.gallery-info p {
  margin: 9px 0 0;
  color: rgba(214, 208, 223, 0.74);
  font-size: 0.92rem;
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.song-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 0.55fr);
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.artwork {
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(235, 230, 223, 0.92)),
    var(--paper-soft);
}

.artwork img {
  width: 92%;
  height: 92%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(17, 16, 14, 0.16));
  transform: scale(1);
  transition: transform 420ms ease, filter 420ms ease;
}

.song-card:hover .artwork img,
.song-card:focus-within .artwork img {
  filter: drop-shadow(0 22px 32px rgba(17, 16, 14, 0.2));
  transform: scale(1.04);
}

/*
  Legacy placeholder artwork styling kept out of use now that real covers are loaded.
  Re-enable a class below only if you temporarily need generated color placeholders again.
*/
.artwork-placeholder {
  display: flex;
  align-items: end;
  padding: 20px;
  color: rgba(255, 253, 249, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 62% 34%, rgba(255, 253, 249, 0.82), transparent 20%),
    linear-gradient(135deg, #11100e, #4d4942 45%, #ddd5ca);
}

.artwork-placeholder-fire {
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 253, 249, 0.92), transparent 18%),
    linear-gradient(145deg, #11100e, #6f6254 48%, #d8d0c5);
}

.artwork-placeholder-moment {
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 253, 249, 0.9), transparent 19%),
    linear-gradient(145deg, #181713, #a9a193 54%, #f7f0e6);
}

.artwork-placeholder-fear {
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 253, 249, 0.88), transparent 18%),
    linear-gradient(145deg, #101010, #555958 45%, #d6d8d1);
}

.artwork-placeholder-matters {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 249, 0.84), transparent 18%),
    linear-gradient(145deg, #11100e, #81776d 46%, #efe9de);
}

.artwork-placeholder-chaos {
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 253, 249, 0.84), transparent 17%),
    repeating-linear-gradient(115deg, rgba(255, 253, 249, 0.08) 0 8px, transparent 8px 19px),
    linear-gradient(145deg, #11100e, #5d5a53 45%, #ded8ce);
}

.song-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.song-body p {
  margin: 0;
  color: var(--muted);
}

.song-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.song-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.1;
}

.song-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.song-actions .button {
  flex: 1 1 140px;
}

.release-section,
.contact-section {
  background: var(--white);
}

.release-date {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.release-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.updates-list {
  display: grid;
  gap: 14px;
}

.update-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.update-card:last-child {
  border-bottom: 1px solid var(--line);
}

.update-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.update-card p {
  margin: 0;
}

.update-detail p + p {
  margin-top: 12px;
}

.text-stack p {
  margin: 0;
  font-size: 1.06rem;
}

.text-stack p + p,
.text-stack p + h3,
.text-stack h3 + p {
  margin-top: 18px;
}

.text-stack h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.research-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.05), transparent 42%),
    linear-gradient(180deg, #180b30, #150a2a 55%, #100822);
  color: var(--white);
}

.research-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 249, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
}

.research-section .section-inner {
  position: relative;
}

.research-intro {
  width: min(820px, 100%);
  margin-bottom: clamp(34px, 6vw, 64px);
}

.research-intro .text-stack {
  max-width: 690px;
  color: #d6d0df;
}

.research-lede {
  margin: 22px 0 20px;
  color: rgba(255, 253, 249, 0.9);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 720;
  line-height: 1.18;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.research-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 253, 249, 0.14);
  background: rgba(255, 253, 249, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.research-card .eyebrow {
  margin-bottom: 22px;
  color: rgba(255, 253, 249, 0.62);
}

.research-card h3 {
  color: var(--white);
}

.research-card p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 253, 249, 0.74);
}

.contact-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
}

.form-note,
.form-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .song-grid,
  .gallery-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .gallery-intro {
    position: static;
  }

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

  .song-card {
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 253, 249, 0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 8vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 8, 35, 0.86), rgba(45, 23, 78, 0.44)),
      linear-gradient(0deg, rgba(11, 7, 24, 0.84), rgba(58, 30, 94, 0.1) 62%);
  }

  .gallery-grid,
  .gallery-info-row {
    grid-template-columns: 1fr;
  }

  .song-card {
    grid-template-columns: 1fr;
  }

  .artwork {
    min-height: 0;
    height: min(82vw, 320px);
  }

  .update-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .research-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .brand {
    max-width: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.1rem);
  }
}
