:root { --font-sans: "Aptos", "Aptos-Regular", "Segoe UI", Arial, sans-serif; }
*,::before,::after { box-sizing: border-box; border: 0 solid; }
.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; }
body { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

:root {
  color-scheme: dark;
  --background: #07090d; --foreground: #f0ece4;
  --card: #10131a; --card-foreground: #f0ece4;
  --popover: #10131a; --popover-foreground: #f0ece4;
  --primary: #d9c5a4; --primary-foreground: #07090d;
  --secondary: #151c27; --secondary-foreground: #f0ece4;
  --muted: #151c27; --muted-foreground: #aab2bf;
  --accent: #151c27; --accent-foreground: #f0ece4;
  --destructive: #e38072; --border: #ffffff1c; --input: #ffffff20;
  --ring: #d9c5a4; --radius: .25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.75; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-sans); font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; }
p { text-wrap: pretty; }
.container { width: min(calc(100% - 3rem), 1184px); margin-inline: auto; }
.section-space { padding-block: clamp(4rem, 7vw, 7rem); }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; color: var(--primary); }
.title-dot { color: var(--primary); }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--foreground); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* The navigation stays on the artwork and remains within reach during reading. */
.hero-navigation { position: fixed; top: max(1.25rem, env(safe-area-inset-top)); right: max(1.5rem, env(safe-area-inset-right)); z-index: 30; max-width: calc(100% - 3rem); }
.hero-navigation nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .125rem .25rem; padding: .25rem .45rem; border: 1px solid #d9c5a42b; border-radius: 2rem; background: #07090dba; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 24px #0003; }
.nav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .375rem 1.1rem; font-size: .9375rem; font-weight: 500; line-height: 1.5; color: #eee9df; border-radius: 2rem; transition: color .18s, background-color .18s; }
.nav-link[aria-current] { color: #f5e3bf; background: #d9c5a418; }
.nav-link:focus-visible { outline-offset: 1px; }
.hero { position: relative; width: 100%; }
.art-stage { position: relative; isolation: isolate; overflow: hidden; height: max(100vh, calc(100vw * 941 / 1672)); height: max(100svh, calc(100vw * 941 / 1672)); background: #080c13; }
.art-ambient { display: none; }
.hero-picture { display: block; width: 100%; height: 100%; }
.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.caption-separator { padding-inline: .5rem; color: #80899a; }
.text-link { display: inline-flex; align-items: center; min-height: 3rem; padding-block: .5rem; font-size: 1rem; font-weight: 500; color: var(--primary); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; text-decoration-color: #d9c5a466; }

.section-index { display: flex; gap: 1rem; align-items: center; margin-bottom: 2.25rem; }
.section-index > span { color: #939dac; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.section-index::after { content: ""; width: 3.5rem; height: 1px; background: #d9c5a442; }
h2 { font-size: clamp(2.125rem, 3.7vw, 3.75rem); line-height: 1.13; letter-spacing: -.035em; }
.band-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.band-copy { max-width: 36rem; color: #bec5cf; }
.band-copy p + p, .album-copy p + p { margin-top: 1.125rem; }
.band-question { font-size: clamp(1.625rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; color: var(--primary); padding-left: 1.25rem; border-left: 1px solid #d9c5a466; margin-top: 2rem !important; }
.album-section { background: #0c1017; border-block: 1px solid var(--border); }
.album-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.album-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid #d9c5a426; }
.album-art figcaption { font-size: .8125rem; letter-spacing: .04em; color: #aab2bf; padding-top: .875rem; }
.album-copy { max-width: 36rem; }
.album-copy h2 { margin-block: .875rem 1.5rem; max-width: 10ch; }
.album-copy > p:not(.eyebrow) { color: #bec5cf; }
.album-copy .text-link { margin-top: 1.25rem; }

/* Each cover is shown in full; the text lives below, never over the artwork. */
.tracks-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tracks-heading > p { font-size: 1rem; color: var(--primary); line-height: 1.65; text-align: right; }
.tracks-heading > p > span { font-size: .875rem; color: #aab2bf; }
.track-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.75rem, 5vw, 4.5rem) 2.5rem; }
.track { min-width: 0; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.track-art { aspect-ratio: 1; background: #0d1118; border: 1px solid #d9c5a426; }
.track-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.track-copy { padding-top: 1.5rem; }
.track-meta { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; margin-bottom: .625rem; font-size: .8125rem; line-height: 1.6; }
.track-number { color: #aab2bf; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.track-number::after { content: "/"; color: #6e7887; margin-left: .625rem; }
.track-theme { color: var(--primary); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.track-badge { font-size: .75rem; color: #e0ccaa; border: 1px solid #d9c5a433; border-radius: 2rem; padding: .125rem .625rem; margin-left: auto; }
.track h3 { font-size: clamp(1.625rem, 2.35vw, 2.125rem); letter-spacing: -.025em; line-height: 1.2; overflow-wrap: break-word; }
.track-featured h3 { color: #e5d2b1; }
.track-copy > p { color: #b8c0cc; margin-top: .875rem; max-width: 50ch; font-size: 1.0625rem; line-height: 1.75; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 2rem max(2rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.wordmark { font-size: 1.1875rem; font-weight: 500; letter-spacing: .08em; line-height: 1.3; color: var(--primary); text-transform: uppercase; }
.wordmark span { font-size: 1.15em; }
.site-footer p { color: #aab2bf; font-size: .875rem; }

@media (max-aspect-ratio: 5 / 4) {
  .art-stage { height: 100vh; height: 100svh; }
  .art-ambient { display: block; position: absolute; z-index: -1; inset: -1.5rem; background: url('./arandu-entropia-480.webp') center / cover no-repeat; filter: blur(14px) brightness(.35); }
  .hero-art { object-fit: contain; }
}
@media (max-width: 767px) {
  .hero-navigation { left: max(1rem, env(safe-area-inset-left)); right: max(1rem, env(safe-area-inset-right)); top: max(.75rem, env(safe-area-inset-top)); max-width: none; display: flex; justify-content: center; }
  .hero-navigation nav { width: max-content; max-width: 100%; }
  .nav-link { min-height: 3rem; padding-inline: .875rem; font-size: 1rem; }
  .band-body, .album-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .band-body h2 { max-width: 15ch; }
  .desktop-break { display: none; }
  .album-copy h2 { max-width: none; }
  .album-art { max-width: 34rem; margin-inline: auto; }
}
@media (max-width: 639px) {
  .container { width: calc(100% - 2.5rem); }
  .section-space { padding-block: 3.75rem; }
  .section-index { margin-bottom: 1.5rem; }
  h2 { font-size: clamp(2rem, 8vw, 2.625rem); }
  .tracks-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .tracks-heading > p { text-align: left; }
  .tracks-heading > p br { display: none; }
  .tracks-heading > p > span { display: block; }
  .track-list { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .track { padding-bottom: 1.75rem; }
  .track-copy { padding-top: 1.125rem; }
  .track h3 { font-size: 1.75rem; }
  .track-copy > p { margin-top: .75rem; }
  .site-footer > p { display: none; }
}
@media (hover: hover) {
  .nav-link:hover { color: var(--primary); background: #d9c5a414; }
  .text-link:hover { text-decoration-color: var(--primary); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
