:root {
  --black: #050202;
  --ink: #0b0505;
  --red: #c62520;
  --ember: #ff5a42;
  --copper: #d67763;
  --cream: #eee5dc;
  --muted: #a8968e;
  --line: rgba(214, 119, 99, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--black);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.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;
}
.noise {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.scarlet-cursor {
  --cursor-scale: 1; position: fixed; z-index: 1000; left: 0; top: 0;
  width: 34px; height: 34px; pointer-events: none; opacity: 0;
  transform: translate3d(-100px,-100px,0) rotate(45deg) scale(var(--cursor-scale));
  transition: opacity .2s, scale .2s; mix-blend-mode: screen;
}
.scarlet-cursor.visible { opacity: 1; }
.scarlet-cursor.active { --cursor-scale: 1.5; }
.cursor-ring {
  position: absolute; inset: 3px; border: 1px solid rgba(230,112,91,.82);
  box-shadow: 0 0 9px rgba(255,50,28,.33), inset 0 0 8px rgba(255,50,28,.16);
}
.cursor-ring::before, .cursor-ring::after {
  content: ""; position: absolute; width: 5px; height: 5px;
  border: 1px solid var(--copper); background: #170303;
}
.cursor-ring::before { left: -4px; top: -4px; }
.cursor-ring::after { right: -4px; bottom: -4px; }
.cursor-core {
  position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  border-radius: 50% 50% 45% 0; background: #fff1df;
  box-shadow: 0 0 5px #fff, 0 0 10px #ff6a3c, 0 0 18px #ed2119;
  transform: translate(-50%,-50%) rotate(-45deg);
  animation: cursor-flame .7s ease-in-out infinite alternate;
}
.cursor-spark {
  position: fixed; z-index: 999; width: 3px; height: 5px; pointer-events: none;
  border-radius: 60% 60% 45% 0; background: #ff5835;
  box-shadow: 0 0 7px #ff321d; animation: cursor-spark .65s ease-out forwards;
}
@keyframes cursor-flame { to { transform: translate(-50%,-50%) rotate(-45deg) scale(.72); filter: brightness(1.45); } }
@keyframes cursor-spark {
  to { transform: translate(var(--spark-x), 16px) rotate(110deg) scale(.1); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  html.cursor-ready, html.cursor-ready a, html.cursor-ready button { cursor: none; }
}
.site-header {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 80px);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding-top: 18px; padding-bottom: 18px;
  background: rgba(5, 2, 2, .84); backdrop-filter: blur(14px);
  border-color: rgba(214,119,99,.12);
}
.wordmark, .footer-mark {
  font: 500 clamp(.9rem, 1.3vw, 1.08rem)/1 "Cinzel", serif;
  letter-spacing: .34em; text-transform: uppercase;
}
nav { display: flex; gap: clamp(24px, 3vw, 50px); }
nav a {
  position: relative; color: #d4c8c2; font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
}
nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -9px;
  height: 1px; background: var(--ember); transition: right .3s;
}
nav a:hover::after { right: 0; }
.menu-toggle { display: none; }
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: url("assets/scarlet-solace-hero.png?v=20260727-2") center center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 29% 54%, rgba(255,48,27,.18), transparent 24%);
  animation: fire-breathe 4.2s ease-in-out infinite;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,0,0,.1) 0%, rgba(2,0,0,.05) 38%, rgba(2,0,0,.7) 66%, rgba(2,0,0,.4)),
              linear-gradient(0deg, #050202 0%, transparent 22%);
}
.hero-animated-mark {
  position: absolute;
  z-index: 1;
  top: 34.4%;
  left: 50.8%;
  width: 43.6%;
  height: auto;
  transform: none;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(203, 39, 28, .2));
}
.hero-content {
  position: absolute; top: 58%; right: auto; left: 50%;
  width: min(56vw, 620px); text-align: center;
  transform: translate(-50%, -8%);
}
.eyebrow {
  margin: 0 0 22px; color: var(--copper); font-size: .68rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
}
h1, h2, blockquote {
  margin: 0; font-family: "Cinzel", serif; font-weight: 400; text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: .08em; }
.hero-copy { margin: 20px 0 34px; color: #c8bab3; letter-spacing: .08em; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-width: 162px;
  padding: 16px 22px; border: 1px solid var(--copper); font-size: .66rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: .3s;
}
.button-primary { background: #a51a17; border-color: #a51a17; }
.button-primary:hover { background: #d13028; border-color: #d13028; box-shadow: 0 0 28px rgba(209,48,40,.25); }
.button-ghost:hover { background: rgba(214,119,99,.12); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; display: flex; flex-direction: column;
  align-items: center; gap: 12px; transform: translateX(-50%);
  font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--copper), transparent); }
.section { position: relative; padding: clamp(90px, 10vw, 160px) clamp(24px, 8vw, 130px); }
.release {
  display: grid; grid-template-columns: minmax(300px, 620px) minmax(300px, 510px);
  justify-content: center; align-items: center; gap: clamp(52px, 8vw, 130px);
  background: radial-gradient(circle at 26% 45%, rgba(133,12,12,.17), transparent 32%), #070303;
}
.album-frame { position: relative; }
.album-frame img { position: relative; z-index: 2; width: 100%; box-shadow: 0 35px 80px rgba(0,0,0,.65); }
.album-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line);
}
.album-glow {
  position: absolute; z-index: 0; inset: 18%; background: #a41310;
  filter: blur(90px); opacity: .25;
}
.release-copy h2, .listen h2 { font-size: clamp(3rem, 6vw, 6.5rem); line-height: .94; letter-spacing: .04em; }
.ornament { display: flex; align-items: center; gap: 12px; width: 170px; margin: 32px 0; }
.ornament span { flex: 1; height: 1px; background: var(--line); }
.ornament i { width: 9px; height: 9px; border: 1px solid var(--copper); transform: rotate(45deg); }
.lead { max-width: 520px; color: #b8aaa4; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.9; }
.release-details { margin: 38px 0 0; border-top: 1px solid var(--line); }
.release-details div {
  display: grid; grid-template-columns: 105px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line);
}
dt { color: var(--muted); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
dd { margin: 0; font-family: "Cinzel", serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.tracklist {
  display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
  align-items: start; gap: clamp(55px, 9vw, 150px);
  background: linear-gradient(135deg, #0d0404, #040202 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tracklist-heading { position: sticky; top: 140px; }
.tracklist-heading h2 {
  max-width: 580px; font: 400 clamp(2.8rem, 5.5vw, 6rem)/.98 "Cinzel", serif;
  letter-spacing: .04em; text-transform: uppercase;
}
.tracklist-heading > p:last-child {
  margin: 28px 0 0; color: var(--muted); font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
}
.tracks {
  margin: 0; padding: 0; list-style: none; counter-reset: songs;
  border-top: 1px solid var(--line);
}
.tracks li {
  counter-increment: songs; position: relative; min-height: 68px;
  border-bottom: 1px solid var(--line); color: #d8cbc4;
  transition: color .25s, background .25s;
}
.tracks li::before {
  content: counter(songs, decimal-leading-zero); position: absolute; z-index: 1;
  left: 0; top: 50%; transform: translateY(-50%); pointer-events: none;
  color: #845e56; font-size: .6rem; font-weight: 600; letter-spacing: .14em;
}
.tracks a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 24px; min-height: 68px; padding: 0 0 0 55px;
  transition: padding-left .25s;
}
.tracks li span {
  font: 400 clamp(.85rem, 1.25vw, 1.05rem)/1.3 "Cinzel", serif;
  letter-spacing: .1em; text-transform: uppercase;
}
.tracks em {
  color: var(--copper); font-size: .58rem; font-style: normal; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; opacity: .68;
  transition: color .25s, opacity .25s;
}
.tracks li:hover {
  color: #fff; background: linear-gradient(90deg, rgba(174,26,21,.13), transparent);
}
.tracks li:hover a, .tracks a:focus-visible { padding-left: 65px; }
.tracks li:hover em, .tracks a:focus-visible em { color: #ff7968; opacity: 1; }
.tracks a:focus-visible { outline: 1px solid var(--copper); outline-offset: -1px; }
.story {
  min-height: 75vh; display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(rgba(4,1,1,.73), rgba(4,1,1,.91)),
    url("assets/scarlet-solace-hero.png?v=20260727-2") center 52% / cover fixed;
}
.story-inner { max-width: 900px; }
blockquote {
  color: #eadcd4; font-size: clamp(2.5rem, 5.5vw, 6.2rem); line-height: 1.18;
  letter-spacing: .04em; text-shadow: 0 0 50px rgba(222,48,35,.22);
}
.story-inner > p:last-child {
  max-width: 650px; margin: 40px auto 0; color: #ad9c95; font-size: 1rem; line-height: 1.9;
}
.listen {
  min-height: 70vh; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 50%, #270707 0%, #090303 45%, #040101 80%);
  overflow: hidden;
}
.listen::before {
  content: ""; position: absolute; width: min(62vw, 750px); aspect-ratio: 1;
  border: 1px solid rgba(214,119,99,.13); border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(214,119,99,.025), 0 0 0 150px rgba(214,119,99,.018);
}
.listen-panel { position: relative; z-index: 2; }
.listen h2 { max-width: 800px; }
.listen-panel > p:not(.eyebrow) { color: var(--muted); margin: 28px 0 35px; }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; }
.platforms span {
  color: #d8ccc6; border-bottom: 1px solid var(--red); padding: 10px 0;
  font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px;
  padding: 38px clamp(24px,5vw,80px); border-top: 1px solid var(--line); background: #030101;
  color: #7e6e68; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
}
footer p { text-align: center; }
footer > span { text-align: right; }
.footer-mark { color: #b9aaa3; font-size: .72rem; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.embers { position: fixed; inset: 0; pointer-events: none; z-index: 18; overflow: hidden; }
.ember {
  position: absolute; width: var(--size); height: calc(var(--size) * 2.4); border-radius: 50%;
  background: #ff6b3d; box-shadow: 0 0 5px #ff321d, 0 0 12px rgba(255,35,20,.75);
  animation: flower-ember-rise var(--speed) cubic-bezier(.18,.62,.4,1) forwards;
}
@keyframes fire-breathe { 50% { opacity: .72; filter: saturate(1.4) brightness(1.14); } }
@keyframes flower-ember-rise {
  0% { transform: translate(0,0) rotate(12deg) scale(.6); opacity: 0; }
  12% { opacity: var(--alpha); }
  55% { transform: translate(calc(var(--drift) * .45), -16vh) rotate(75deg) scale(1); }
  100% { transform: translate(var(--drift), -38vh) rotate(150deg) scale(.1); opacity: 0; }
}
@media (max-width: 900px) {
  .hero { background-position: 35% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(2,0,0,.94) 0%, rgba(2,0,0,.1) 70%), linear-gradient(90deg, transparent 20%, rgba(2,0,0,.55)); }
  .hero-animated-mark {
    top: 34.4%;
    left: 50.8%;
    width: 43.6%;
    transform: none;
  }
  .hero-content {
    top: auto; right: 24px; bottom: 84px; left: 24px; width: auto;
    text-align: center; transform: none;
  }
  .hero-actions { justify-content: center; }
  .release { grid-template-columns: minmax(0, 600px); }
  .release-copy { max-width: 600px; }
  .tracklist { grid-template-columns: 1fr; }
  .tracklist-heading { position: static; }
  .story { background-attachment: scroll; }
}
@media (max-width: 680px) {
  .site-header { padding: 22px 20px; }
  .wordmark { font-size: .76rem; letter-spacing: .24em; }
  .menu-toggle {
    display: block; position: relative; z-index: 3; width: 34px; height: 30px;
    background: none; border: 0; color: white; cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    position: absolute; left: 3px; width: 27px; height: 1px; background: currentColor; transition: .3s;
  }
  .menu-toggle span:first-child { top: 10px; }
  .menu-toggle span:nth-child(2) { top: 19px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 15px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 15px; transform: rotate(-45deg); }
  nav {
    display: none; position: fixed; inset: 0; background: rgba(5,2,2,.97);
    flex-direction: column; justify-content: center; align-items: center; gap: 42px;
  }
  nav.open { display: flex; }
  nav a { font: 400 1.1rem "Cinzel", serif; letter-spacing: .22em; }
  .hero { min-height: 92svh; background-position: 32% center; }
  .hero-animated-mark { top: 34.4%; left: 50.8%; width: 43.6%; }
  .hero-content { right: 20px; bottom: 58px; left: 20px; }
  .scroll-cue { display: none; }
  .section { padding-left: 22px; padding-right: 22px; }
  .release { gap: 70px; }
  .album-frame::before { inset: 10px -10px -10px 10px; }
  .story { min-height: 70vh; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p, footer > span { text-align: center; }
}
.hero .hero-content {
  top: 75%; right: auto; bottom: auto; left: 72%;
  width: min(90vw, 620px); text-align: center;
  transform: translateX(-50%);
}
.hero .hero-actions { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .embers { display: none; }
  .scarlet-cursor, .cursor-spark { display: none; }
}
