@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cinzel-500.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cinzel-600.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/cinzel-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-600.woff2") format("woff2"); }

:root {
  --bg: #050505;
  --ink: #f4efe4;
  --muted: #b9ac95;
  --dim: #746850;
  --gold: #c9943e;
  --gold-2: #f0c878;
  --line: rgba(216, 168, 78, 0.28);
  --glass: rgba(10, 10, 9, 0.76);
  --max: 1180px;
  --cursor-x: -200px;
  --cursor-y: -200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  padding-bottom: 112px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(174, 124, 48, 0.17), transparent 37rem),
    linear-gradient(180deg, #050505 0%, #0b0907 45%, #050505 100%);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(240, 200, 120, 0.09) 7.05%, transparent 7.12%),
    linear-gradient(90deg, transparent 0 92.5%, rgba(240, 200, 120, 0.08) 92.55%, transparent 92.62%);
  opacity: 0.4;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold-2);
  color: #120d06;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.film-grain,
.cursor-aura,
.light-refraction { position: fixed; inset: 0; pointer-events: none; }
.film-grain {
  z-index: 12;
  background-image:
    repeating-radial-gradient(circle at 18% 32%, rgba(255,255,255,.26) 0 .45px, transparent .6px 3px),
    repeating-radial-gradient(circle at 72% 68%, rgba(201,148,62,.2) 0 .35px, transparent .6px 4px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
  opacity: .06;
  animation: grain-shift 520ms steps(2,end) infinite;
}
.cursor-aura {
  z-index: 11;
  inset: auto;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,200,120,.11), rgba(201,148,62,.035) 34%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x) - 140px), calc(var(--cursor-y) - 140px), 0);
  transition: opacity 300ms ease;
}
.cursor-aura.is-visible { opacity: 1; }
.light-refraction {
  z-index: 9;
  background: linear-gradient(112deg, transparent 16%, rgba(255,245,211,.03) 38%, rgba(240,200,120,.08) 49%, transparent 63%);
  background-size: 220% 100%;
  opacity: 0;
}
.light-refraction.is-moving { animation: light-sweep 1s cubic-bezier(.22,1,.36,1); }

.site-shell { width: min(100% - 40px, 1420px); margin: 0 auto; }
.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  min-height: 96px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(216,168,78,.14);
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(240,200,120,.55);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(201,148,62,.16);
}
.brand-mark::before,
.brand-mark::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(240,200,120,.42); transform: rotate(45deg); }
.brand-mark::after { inset: 13px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px rgba(240,200,120,.7); }
.brand strong,
.brand small { display: block; }
.brand strong { font: 600 .84rem/1.3 Cinzel, serif; letter-spacing: .11em; text-transform: uppercase; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.back-link {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.back-link:hover { color: var(--gold-2); }

.album-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 560px) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
  min-height: 820px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 86px 0 110px;
}
.orbital-field { position: absolute; left: -240px; top: -70px; width: 860px; height: 860px; opacity: .44; pointer-events: none; }
.orbital-field::before,
.orbital-field::after,
.orbital-field i { position: absolute; border: 1px solid rgba(216,168,78,.22); border-radius: 50%; content: ""; }
.orbital-field::before { inset: 7%; }
.orbital-field::after { inset: 18%; border-style: dashed; animation: orbit-turn 34s linear infinite reverse; }
.orbital-field i { width: 9px; height: 9px; margin: -5px; background: #080704; box-shadow: 0 0 0 1px var(--gold), 0 0 16px rgba(240,200,120,.45); }
.orbital-field i:nth-child(1) { left: 12%; top: 52%; }
.orbital-field i:nth-child(2) { left: 24%; top: 20%; }
.orbital-field i:nth-child(3) { left: 50%; top: 8%; }
.orbital-field i:nth-child(4) { right: 18%; top: 26%; }
.orbital-field i:nth-child(5) { right: 8%; top: 56%; }
.orbital-field i:nth-child(6) { left: 30%; bottom: 12%; }
.orbital-field i:nth-child(7) { right: 25%; bottom: 17%; }

.cover-wrap { position: relative; z-index: 2; }
.cover-halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,148,62,.2), rgba(201,148,62,.04) 42%, transparent 69%);
  filter: blur(22px);
  animation: cover-breathe 6s ease-in-out infinite;
}
.album-cover {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(240,200,120,.18);
  box-shadow: 0 36px 100px rgba(0,0,0,.72), 0 0 70px rgba(185,140,66,.13);
}
.cover-play {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(240,200,120,.6);
  border-radius: 50%;
  background: rgba(5,5,5,.74);
  color: var(--gold-2);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 8px rgba(5,5,5,.24), 0 0 34px rgba(201,148,62,.24);
  transition: transform .25s ease, background .25s ease;
}
.cover-play:hover { transform: scale(1.06); background: rgba(201,148,62,.16); }
.cover-play span { margin-left: 4px; }

.album-intro { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; color: var(--gold-2); font-size: .7rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.album-intro h1,
.section-heading h2,
.closing-note h2 { margin: 0; font-family: Cinzel, serif; font-weight: 500; }
.album-intro h1 { max-width: 700px; font-size: clamp(3.8rem, 6.8vw, 7rem); line-height: .96; letter-spacing: -.035em; }
.album-intro h1 em { color: var(--gold-2); font-style: normal; }
.lead { max-width: 660px; margin: 34px 0 0; color: #c8bdab; font-size: 1.08rem; line-height: 1.85; }
.lead strong { color: var(--ink); font-weight: 500; }
.album-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.primary-button { gap: 10px; background: linear-gradient(135deg, #efc875, #b77b29); color: #130d05; }
.secondary-button { background: rgba(10,10,9,.42); color: var(--ink); backdrop-filter: blur(10px); }
.primary-button:hover,
.secondary-button:hover { transform: translateY(-2px); border-color: rgba(240,200,120,.65); }
.album-meta { display: flex; gap: 42px; margin: 42px 0 0; padding-top: 26px; border-top: 1px solid rgba(216,168,78,.17); }
.album-meta div { display: grid; gap: 7px; }
.album-meta dt { color: var(--dim); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.album-meta dd { margin: 0; color: var(--muted); font-family: Cinzel, serif; font-size: .86rem; letter-spacing: .05em; }

.album-section { width: min(100%, var(--max)); margin: 0 auto; padding: 100px 0 140px; border-top: 1px solid rgba(216,168,78,.15); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: 1; }
.section-heading > p { max-width: 450px; margin: 0 0 8px; color: var(--muted); line-height: 1.75; }
.track-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(216,168,78,.18); }
.track-list li { margin: 0; border-bottom: 1px solid rgba(216,168,78,.14); }
.track {
  position: relative;
  display: grid;
  grid-template-columns: 52px 36px minmax(0, 1fr) 70px 44px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 108px;
  padding: 16px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background .3s ease, transform .3s ease;
}
.track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201,148,62,.12), transparent 58%);
  opacity: 0;
  transform: translateX(-12%);
  transition: opacity .3s ease, transform .45s ease;
}
.track:hover::before,
.track.is-active::before { opacity: 1; transform: translateX(0); }
.track > span { position: relative; z-index: 1; }
.track-number { color: var(--dim); font: 500 .72rem/1 Cinzel, serif; letter-spacing: .16em; }
.track-sigil { width: 28px; height: 28px; border: 1px solid rgba(240,200,120,.34); border-radius: 50%; }
.track-sigil::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(240,200,120,.48); transform: rotate(45deg); }
.track.is-active .track-sigil { box-shadow: 0 0 20px rgba(201,148,62,.3); animation: sigil-pulse 2.6s ease-in-out infinite; }
.track-copy { display: grid; gap: 8px; min-width: 0; }
.track-copy small { color: var(--gold); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.track-copy strong { overflow: hidden; color: var(--ink); font-family: Cinzel, serif; font-size: clamp(1.02rem, 2vw, 1.42rem); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.track-duration { color: var(--dim); font-size: .72rem; letter-spacing: .08em; text-align: right; }
.track-action { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(216,168,78,.25); border-radius: 50%; color: var(--gold-2); font-size: .65rem; }
.track.is-playing .track-action::before { content: "Ⅱ"; font-size: .8rem; }
.track.is-playing .track-action { font-size: 0; }

.closing-note { position: relative; width: min(100%, 920px); margin: 0 auto; padding: 130px 20px 180px; text-align: center; }
.closing-note h2 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: .98; }
.closing-note > p:not(.eyebrow) { margin: 26px 0 34px; color: var(--muted); font-size: 1rem; }
.closing-orbit { position: absolute; z-index: -1; left: 50%; top: 50%; width: 520px; height: 520px; border: 1px solid rgba(216,168,78,.14); border-radius: 50%; transform: translate(-50%,-50%); }
.closing-orbit::before,
.closing-orbit::after { content: ""; position: absolute; border: 1px solid rgba(216,168,78,.12); border-radius: 50%; }
.closing-orbit::before { inset: 14%; }
.closing-orbit::after { inset: 31%; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; width: min(100%, var(--max)); margin: 0 auto; padding: 34px 0 48px; border-top: 1px solid rgba(216,168,78,.14); color: var(--dim); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }

.player {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 16px;
  display: grid;
  grid-template-columns: 66px minmax(190px, 1fr) auto minmax(220px, 1.2fr) 38px;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 32px), 1120px);
  min-height: 82px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(240,200,120,.25);
  border-radius: 18px;
  background: rgba(9,8,7,.88);
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.68), inset 0 1px rgba(255,255,255,.035);
  transform: translateX(-50%);
}
.player > img { display: block; width: 62px; height: 62px; object-fit: cover; border: 1px solid rgba(240,200,120,.18); border-radius: 10px; }
.now-playing { display: grid; gap: 6px; min-width: 0; }
.now-playing small { color: var(--gold); font-size: .56rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.now-playing strong { overflow: hidden; font-family: Cinzel, serif; font-size: .83rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.transport { display: flex; align-items: center; gap: 8px; }
.transport button,
.mute-toggle { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.transport button:hover,
.mute-toggle:hover { color: var(--gold-2); }
.transport .play-toggle { width: 46px; height: 46px; border: 1px solid rgba(240,200,120,.5); background: rgba(201,148,62,.1); color: var(--gold-2); }
.transport .stop-toggle { border: 1px solid rgba(240,200,120,.24); color: var(--gold-2); font-size: .72rem; }
.play-toggle span { margin-left: 2px; }
.timeline { display: grid; grid-template-columns: 42px minmax(80px, 1fr) 42px; align-items: center; gap: 9px; }
.timeline span { color: var(--dim); font-size: .6rem; font-variant-numeric: tabular-nums; }
.timeline span:last-child { text-align: right; }
input[type="range"] { width: 100%; height: 20px; margin: -8px 0; accent-color: var(--gold); cursor: pointer; touch-action: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: rgba(240,200,120,.2); }
input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5px; border: 1px solid var(--gold-2); border-radius: 50%; background: var(--gold); -webkit-appearance: none; appearance: none; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(240,200,120,.2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 1px solid var(--gold-2); border-radius: 50%; background: var(--gold); }

@keyframes grain-shift { 0% { transform: translate(0); } 50% { transform: translate(1px,-1px); } 100% { transform: translate(-1px,1px); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes cover-breathe { 0%,100% { opacity: .58; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes sigil-pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes light-sweep { 0% { opacity: 0; background-position: 140% 0; } 36% { opacity: .8; } 100% { opacity: 0; background-position: -90% 0; } }

@media (max-width: 900px) {
  body { padding-bottom: 142px; }
  .site-shell { width: min(100% - 28px, 1420px); }
  .topbar { min-height: 78px; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 1.1rem; }
  .album-hero { grid-template-columns: 1fr; gap: 56px; min-height: auto; padding: 52px 0 94px; overflow: clip; }
  .cover-wrap { width: min(100%, 590px); margin: 0 auto; }
  .orbital-field { left: 50%; top: -70px; width: 700px; height: 700px; transform: translateX(-50%); }
  .album-intro { text-align: center; }
  .album-intro h1 { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .album-actions,
  .album-meta { justify-content: center; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .player { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; min-height: 112px; padding: 9px 12px 48px 9px; }
  .player > img { width: 46px; height: 46px; }
  .transport { grid-column: 3; grid-row: 1; }
  .transport button[data-prev],
  .transport button[data-next] { display: none; }
  .timeline { position: absolute; right: 14px; bottom: 13px; left: 14px; }
  .mute-toggle { display: none; }
}

@media (max-width: 620px) {
  .brand strong { font-size: .73rem; }
  .brand small { font-size: .56rem; }
  .album-hero { padding-top: 34px; }
  .cover-play { right: 18px; bottom: 18px; width: 58px; height: 58px; }
  .album-intro h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .lead { font-size: .98rem; line-height: 1.75; }
  .album-actions { display: grid; }
  .primary-button,
  .secondary-button { width: 100%; }
  .album-meta { gap: 22px; justify-content: space-between; text-align: left; }
  .album-section { padding: 78px 0 110px; }
  .section-heading h2 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .track { grid-template-columns: 34px 26px minmax(0, 1fr) 36px; gap: 10px; min-height: 92px; padding: 12px 6px; }
  .track-sigil { width: 22px; height: 22px; }
  .track-sigil::before { inset: 6px; }
  .track-copy { gap: 6px; }
  .track-copy small { font-size: .52rem; }
  .track-copy strong { font-size: .88rem; }
  .track-duration { display: none; }
  .track-action { width: 34px; height: 34px; }
  .closing-note { padding: 90px 4px 130px; }
  .closing-orbit { width: 360px; height: 360px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-bottom: 24px; }
  .now-playing strong { font-size: .72rem; }
  .cursor-aura { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .film-grain, .cursor-aura, .light-refraction { display: none; }
}
