@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #101619;
  --text: #f3eee4;
  --muted: #bcc6c3;
  --accent: #f18a67;
  --accent-hover: #ffab8c;
  --on-accent: #101619;
  --panel: #151e21;
  --header: rgb(16 22 25 / 95%);
  --video-surface: #173d42;
  --video-card: rgb(16 22 25 / 46%);
  --line: rgb(243 238 228 / 16%);
  --frame-line: rgb(243 238 228 / 25%);
  --control-line: rgb(243 238 228 / 34%);
  --control-hover: rgb(243 238 228 / 8%);
  --cover-shadow: rgb(0 0 0 / 32%);
  --hero-highlight: #2b393b;
  --hero-midtone: #19252a;
  --hero-edge: #172224;
  --section-highlight: #233034;
  --title: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 100%;
  font-weight: 400;
  line-height: 1.55;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #fbf8f2;
  --text: #152427;
  --muted: #435557;
  --accent: #993e29;
  --accent-hover: #7c2d1c;
  --on-accent: #fffaf5;
  --panel: #f2eee6;
  --header: rgb(251 248 242 / 95%);
  --video-surface: #dcebe8;
  --video-card: rgb(255 253 248 / 72%);
  --line: rgb(21 36 39 / 19%);
  --frame-line: rgb(21 36 39 / 29%);
  --control-line: rgb(21 36 39 / 49%);
  --control-hover: rgb(21 36 39 / 7%);
  --cover-shadow: rgb(21 36 39 / 18%);
  --hero-highlight: #d1e3de;
  --hero-midtone: #edf2ea;
  --hero-edge: #e5ede7;
  --section-highlight: #e4eeea;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, .release-title {
  margin: 0;
  font-family: var(--title);
  font-weight: 600;
  line-height: .94;
}

h2 { font-size: clamp(3.15rem, 6vw, 5.15rem); letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section[id] { scroll-margin-top: 6.3rem; }

.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 8;
  padding: .6rem 1rem;
  transform: translateY(-180%);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 4.6rem;
  gap: clamp(1.35rem, 4vw, 5rem);
}
.wordmark {
  display: inline-block;
  font-family: var(--title);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem clamp(.95rem, 1.9vw, 1.9rem);
}
.main-nav a, .footer-links a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover, .footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .28em; }
.header-controls { display: flex; align-items: center; gap: .5rem; }
.language-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: .28rem;
  padding: .2rem;
}
.language-switch a {
  display: grid;
  min-width: 2.15rem;
  min-height: 2rem;
  place-items: center;
  border-radius: .12rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.language-switch a[aria-current="page"] { color: var(--page); background: var(--text); }
.language-switch a:hover:not([aria-current]) { color: var(--text); }
.theme-toggle:not([hidden]) {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--control-line);
  border-radius: .28rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 1.35rem/1 system-ui, sans-serif;
}
.theme-toggle:hover { background: var(--control-hover); }
:root[data-theme="dark"] .theme-moon,
:root[data-theme="light"] .theme-sun { display: none; }

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse at 83% 33%, var(--hero-highlight) 0%, transparent 49%),
    linear-gradient(126deg, var(--page) 36%, var(--hero-midtone) 81%, var(--hero-edge) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr);
  align-items: center;
  column-gap: clamp(2.25rem, 6.6vw, 7.5rem);
  padding-block: clamp(3.5rem, 5.4vw, 5.9rem);
}
.kicker {
  display: block;
  margin: 0;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.hero-kicker::before {
  width: 1.9rem;
  height: 1px;
  margin-right: .25rem;
  background: currentColor;
  content: "";
}
.hero-title {
  margin: 1rem 0 clamp(2.4rem, .3em, 3.35rem);
  font-size: clamp(6rem, 11.8vw, 11rem);
  line-height: .81;
  letter-spacing: -.025em;
}
.hero-title span { display: block; }
.hero-intro { max-width: 28rem; color: var(--muted); font-size: clamp(1.02rem, 1.52vw, 1.21rem); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.55rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  padding: .72rem 1.16rem;
  border: 1px solid transparent;
  border-radius: .23rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: var(--control-line); color: var(--text); }
.button-outline:hover { border-color: var(--text); background: var(--control-hover); }
.play-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: .37rem solid transparent;
  border-bottom: .37rem solid transparent;
  border-left: .57rem solid currentColor;
}
.cover-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  background: var(--panel);
}
.cover-frame::after {
  position: absolute;
  z-index: -1;
  inset: .65rem -.65rem -.65rem .65rem;
  border: 1px solid var(--frame-line);
  content: "";
}
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover {
  justify-self: end;
  width: min(100%, 32.5rem);
  box-shadow: 0 1.35rem 3.25rem var(--cover-shadow);
}

.section { padding-block: clamp(3.6rem, 6.5vw, 6rem); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1.85rem;
}
.section-heading p, .contact-inner p {
  max-width: 42rem;
  margin-top: .95rem;
  color: var(--muted);
  font-size: 1.04rem;
}
.section-heading .button { flex-shrink: 0; }
.release-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.release-card {
  display: grid;
  grid-template-columns: minmax(6rem, 36%) 1fr;
  gap: clamp(.85rem, 2.1vw, 1.7rem);
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
}
.release-card:hover { border-color: var(--accent); }
.release-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.release-card-copy { min-width: 0; }
.release-title {
  display: block;
  margin: .35rem 0;
  font-size: clamp(1.95rem, 3vw, 2.8rem);
}
.release-artist { display: block; color: var(--muted); font-size: .96rem; }
.text-link {
  display: inline-block;
  color: var(--accent);
  font-size: .97rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-underline-offset: .27em;
}
.text-link:hover { text-decoration-color: currentColor; }
.release-card .text-link { margin-top: .58rem; }

.archive-songs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}
.archive-song {
  display: flex;
  min-height: 3.65rem;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.archive-song:hover { border-color: var(--accent); }
.archive-song-title { font: 600 1.8rem/1.1 var(--title); }
.archive-song:hover .archive-song-title { color: var(--accent); }
.archive-song-meta { color: var(--muted); font-size: .875rem; text-align: right; }
.music-section { border-top: 1px solid var(--line); }

.tribute-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(130deg, var(--section-highlight), var(--page) 72%);
}
.tribute-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: start;
  gap: clamp(2rem, 6.5vw, 6rem);
}
.tribute-cover { width: min(100%, 25rem); }
.tribute-info h2 { margin-block: .55rem .6rem; }
.tribute-disclosure { margin-top: 1.45rem; }
.tribute-tracks { margin: 0; padding: .15rem 0 .8rem 1.6rem; }
.tribute-tracks li { padding: .24rem 0 .24rem .35rem; color: var(--muted); }
.tribute-tracks li::marker { color: var(--accent); }

.video-section { background: var(--video-surface); border-block: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.video-card {
  display: block;
  border: 1px solid var(--frame-line);
  background: var(--video-card);
  text-decoration: none;
}
.video-card:hover { border-color: var(--text); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-play {
  position: absolute;
  inset: auto auto .7rem .7rem;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(243 238 228 / 38%);
  border-radius: 50%;
  background: rgb(16 22 25 / 92%);
  color: #f3eee4;
}
.video-card:hover .thumb-play { border-color: #f18a67; color: #f18a67; }
.video-card .video-text { display: block; padding: 1rem 1.05rem 1.15rem; }
.video-title { display: block; color: var(--text); font-weight: 700; line-height: 1.25; }
.video-card .video-title { font-family: var(--title); font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 600; }
.video-meta { display: block; margin-top: .28rem; color: var(--muted); font-size: .89rem; }
.disclosure { border-block: 1px solid var(--line); }
.disclosure summary {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .65rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure-icon { position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--accent); }
.disclosure-icon::before, .disclosure-icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: .88rem;
  height: 1px;
  transform: translate(-50%, -50%);
  background: currentColor;
  content: "";
}
.disclosure-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.disclosure[open] .disclosure-icon::after { display: none; }
.archive { margin-top: 1.6rem; }
.archive-list { padding-bottom: 1rem; }
.archive-year { display: grid; grid-template-columns: 3.4rem 1fr; gap: .45rem 1rem; padding-block: .55rem; }
.archive-year h3 { grid-row: 1 / span 2; align-self: start; padding-top: .34rem; color: var(--accent); font-size: 1.6rem; }
.archive-link { grid-column: 2; display: flex; align-items: center; gap: .8rem; padding: .38rem 0; text-decoration: none; }
.archive-link:hover .video-title { text-decoration: underline; text-underline-offset: .21em; }
.archive-link .play-icon { color: var(--text); }

.about-section { background: linear-gradient(138deg, var(--panel), var(--page) 58%); }
.about-grid { display: grid; grid-template-columns: minmax(0, 43rem); }
.about-grid.has-portrait { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.portrait { max-width: 26rem; border: 1px solid var(--line); background: var(--panel); }
.portrait img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.body-copy { color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.bio-short { margin-top: 1.2rem; }
.bio-disclosure { margin-top: 1.4rem; }
.bio-column:has(.bio-disclosure[open]) .bio-short { display: none; }
.full-bio { padding: .3rem 0 1rem; }
.when-open { display: none; }
.bio-disclosure[open] .when-open { display: inline; }
.bio-disclosure[open] .when-closed { display: none; }
.bio-music { margin-top: 1.1rem; }

.contact-section { padding-block: clamp(2.5rem, 4.3vw, 4rem); border-top: 1px solid var(--line); background: var(--panel); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem 3rem; }
.contact-inner .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; min-height: 5.1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem 2rem; padding-block: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.35rem; }

.release-page { min-height: 73vh; background: radial-gradient(ellipse at 19% 27%, var(--section-highlight), transparent 56%); }
.back-link { margin-bottom: 1.55rem; }
.release-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.release-layout.text-release { grid-template-columns: minmax(0, 42rem); }
.release-cover { width: min(100%, 30rem); }
.release-info h1 { margin: .58rem 0 .6rem; font-size: clamp(3.9rem, 8vw, 8.1rem); }
.release-byline { color: var(--text); font-weight: 700; }
.mini-heading { margin-top: 1.45rem; font: 700 1.05rem/1.35 var(--body); }
.platform-links { margin-top: .7rem; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.share-status { color: var(--muted); font-size: .9rem; }
.release-credits { margin-top: 1.35rem; padding-top: .1rem; border-top: 1px solid var(--line); }
.release-credits dl { display: grid; gap: .37rem; margin: .65rem 0 0; }
.release-credits dl div { display: grid; grid-template-columns: minmax(7rem, .55fr) 1fr; gap: .5rem; }
.release-credits dt { color: var(--muted); }
.release-credits dd { margin: 0; }
.release-media {
  margin-top: clamp(2.15rem, 5vw, 3.5rem);
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.release-media h2 { margin-bottom: 1.15rem; font-size: clamp(2.6rem, 5vw, 3.9rem); }
.version-list { display: grid; gap: .6rem; max-width: 43rem; margin: 0; padding: 0; list-style: none; }
.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 600;
}
.release-videos { max-width: 50rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.video-dialog {
  width: min(100% - 2rem, 54rem);
  max-height: calc(100dvh - 2rem);
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--text);
}
.video-dialog::backdrop { background: rgb(0 0 0 / 76%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; margin-bottom: .85rem; }
.dialog-head h2 { font-size: clamp(1.65rem, 4.5vw, 2.6rem); }
.icon-button {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.video-player { aspect-ratio: 16 / 9; background: #090c0d; }
.video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.original-video { margin-top: .8rem; }

@media (max-width: 62rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-inner { column-gap: 2.6rem; }
  .hero-title { font-size: clamp(5.6rem, 12vw, 9rem); }
  .header-inner { gap: 1.3rem; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2.5rem); }
  section[id] { scroll-margin-top: 8.7rem; }
  .header-inner { grid-template-columns: 1fr auto; gap: .6rem 1rem; padding-block: .65rem; }
  .wordmark { font-size: 1.9rem; }
  .header-controls { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; justify-content: flex-start; gap: .42rem .9rem; padding: .15rem 0 .25rem; }
  .main-nav a { font-size: .875rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.05rem; padding-block: 2.9rem 3.3rem; }
  .hero-title { margin-top: .85rem; font-size: clamp(5.9rem, 19vw, 8.5rem); }
  .hero-cover { justify-self: start; width: min(100% - .65rem, 31rem); }
  .section-heading, .contact-inner { align-items: start; flex-direction: column; }
  .release-grid, .archive-songs, .tribute-layout { grid-template-columns: 1fr; }
  .release-card { grid-template-columns: minmax(5rem, 31%) 1fr; }
  .tribute-cover { width: min(100% - .65rem, 24rem); }
  .video-grid { grid-template-columns: 1fr; gap: .9rem; }
  .video-card .video-title { font-size: 2rem; }
  .about-grid.has-portrait { grid-template-columns: 1fr; gap: 1.45rem; }
  .portrait { width: min(100%, 20rem); }
  .release-layout { grid-template-columns: 1fr; align-items: center; }
  .release-cover { width: min(100% - .65rem, 24rem); }
  .release-info h1 { font-size: clamp(3.9rem, 13vw, 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
