@font-face { font-family: "Cinzel"; src: url("/assets/fonts/Cinzel-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/Oswald-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --iron: #0E0E0F;      /* the helm's shadow */
  --plate: #19181A;     /* a step up from iron, for raised areas */
  --bone: #E8E2D4;      /* text */
  --ash: #A39D90;       /* quieter text, 7:1 on iron */
  --gold: #C9A227;      /* light in the cracks; used for one thing at a time */
  --ember: #7A2A12;     /* the heat under the gold */
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { background: var(--iron); color-scheme: dark; }
body { margin: 0; background: var(--iron); color: var(--bone);
       font: 400 1.1875rem/1.65 ui-serif, Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--bone); color: var(--iron); padding: .5rem 1rem; }

/* Hero: the helm is drawn once, in gold, then the name settles under it. */
.hero { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center;
        padding: 4rem 1rem 3rem; gap: .5rem;
        background: radial-gradient(60% 45% at 50% 38%, #2a1a0d 0%, transparent 70%), var(--iron); }
.helm { width: min(52vw, 15rem); overflow: visible; }
.helm .trace path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.helm .trace .crack { stroke: #F1D27A; stroke-width: 2.4; }
.name { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(2.6rem, 11vw, 6.5rem);
        letter-spacing: .14em; margin: 1.5rem 0 0; line-height: 1; padding-left: .14em; }
.line { color: var(--ash); font-style: italic; margin: .5rem 0 1.75rem; font-size: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1.4rem;
       font: 600 1rem/1 "Oswald", system-ui, sans-serif; letter-spacing: .04em; text-decoration: none;
       color: var(--iron); background: var(--gold); border: 1px solid var(--gold); border-radius: 3px; }
.btn:hover { background: #E0B93A; }
.btn.quiet { color: var(--bone); background: transparent; border-color: #4a463f; }
.btn.quiet:hover { border-color: var(--bone); }

main { padding: 0 1rem; }
h2 { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.1;
     letter-spacing: .04em; margin: 0 0 1rem; }

/* The drop: cover on one side, the song on the other. */
.drop { max-width: 70rem; margin: 0 auto; padding: 5rem 0; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .drop { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.drop > * { min-width: 0; }
.art { margin: 0; border: 1px solid #2b2925; box-shadow: 0 0 0 6px var(--plate), 0 30px 80px -30px #000; }
.tag { font-family: "Oswald", system-ui, sans-serif; color: var(--gold); letter-spacing: .08em; margin: 0 0 .25rem; }
.drop-text p { max-width: var(--measure); }
.soon { color: var(--ash); font-size: 1rem; }

.verse { margin: 1.75rem 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--ember); }
.verse p { font-family: "Cinzel", serif; font-size: 1.35rem; line-height: 1.4; margin: 0 0 .4rem; color: var(--bone); }
.verse footer { color: var(--ash); font-size: .95rem; }
.verse.wide { max-width: 44rem; margin: 3rem auto 0; }

.story { max-width: 70rem; margin: 0 auto; padding: 4rem 0 6rem; border-top: 1px solid #262420; }
.cols { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.cols p { margin: 0; color: #d9d3c5; }
.cols strong { display: block; color: var(--bone); font-family: "Cinzel", serif; font-size: 1.15rem; margin-bottom: .35rem; }

.foot { border-top: 1px solid #262420; padding: 2rem 1rem 3rem; text-align: center; color: var(--ash); font-size: .95rem; }
.foot p { margin: .3rem auto; max-width: var(--measure); }

/* Song page */
.song-head { text-align: center; padding: 4rem 1rem 2rem; }
.song-head .back { font-family: "Oswald", system-ui, sans-serif; letter-spacing: .04em; color: var(--ash); text-decoration: none; }
.song-head .back:hover { color: var(--bone); }
.player { max-width: 26rem; margin: 0 auto 3rem; border: 1px solid #2b2925; box-shadow: 0 0 0 6px var(--plate); }
.player video { display: block; width: 100%; height: auto; background: #000; }
.lyrics { max-width: 44rem; margin: 0 auto; padding-bottom: 5rem; }
.part { display: grid; gap: .25rem 2rem; padding: 1.5rem 0; border-top: 1px solid #262420; }
@media (min-width: 46rem) { .part { grid-template-columns: 9rem 1fr; } }
.part h3 { font: 600 1rem/1.6 "Oswald", system-ui, sans-serif; letter-spacing: .04em; color: var(--ash); margin: 0; }
.part p { margin: 0; }
.part .ref { color: var(--ash); font-size: .95rem; margin-top: .6rem; }
.part .ref a { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .js .name, .js .line, .js .actions { opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s ease; }
  .js .lit .name { opacity: 1; transform: none; transition-delay: .1s; }
  .js .lit .line { opacity: 1; transform: none; transition-delay: .5s; }
  .js .lit .actions { opacity: 1; transform: none; transition-delay: .8s; }
}

/* Site bar: the helm mark home, links on wide screens, a menu button on phones. */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
       padding: .6rem 1rem; background: rgba(14,14,15,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #23211d; }
.bar .home { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--bone); text-decoration: none;
             font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .12em; font-size: 1.05rem; }
.bar .home img { width: 28px; height: 35px; }
.menu-btn { display: none; min-width: 48px; min-height: 48px; background: none; border: 1px solid #3a3731; border-radius: 3px;
            color: var(--bone); cursor: pointer; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: currentColor;
            margin: 0 auto; position: relative; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.nav { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; color: var(--ash); text-decoration: none;
         font: 600 1rem/1 "Oswald", system-ui, sans-serif; letter-spacing: .05em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
@media (max-width: 40rem) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
         background: var(--iron); border-bottom: 1px solid #23211d; padding: .5rem 0 1rem; }
  .nav.open { display: flex; }
  .nav a { min-height: 52px; padding: 0 1.25rem; font-size: 1.15rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
}
.hero { min-height: calc(100svh - 61px); }

/* Inner pages */
.page { max-width: 48rem; margin: 0 auto; padding: 3rem 1rem 5rem; }
.page-h { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(2.2rem, 8vw, 3.6rem); letter-spacing: .05em; line-height: 1.05; margin: 0 0 2rem; }
.prose h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); margin: 2.75rem 0 .75rem; }
.prose p, .prose li { max-width: var(--measure); }
.lede { font-size: 1.35rem; line-height: 1.55; color: var(--bone); }
.steps { padding-left: 1.4rem; } .steps li { margin: 0 0 .9rem; padding-left: .3rem; }
.steps li::marker { color: var(--gold); font-family: "Cinzel", serif; font-weight: 700; }
.nevers { list-style: none; padding: 0; } .nevers li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid #262420; position: relative; }
.nevers li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: .7rem; height: 2px; background: var(--ember); }
.song-card { display: grid; grid-template-columns: 7rem 1fr; gap: 1.25rem; align-items: center; padding: 1rem; color: var(--bone);
             text-decoration: none; border: 1px solid #2b2925; background: var(--plate); border-radius: 3px; }
.song-card:hover { border-color: var(--gold); }
@media (min-width: 40rem) { .song-card { grid-template-columns: 11rem 1fr; } }
.song-meta { display: grid; gap: .3rem; } .song-t { font-family: "Cinzel", serif; font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.song-d { color: var(--ash); font-size: 1rem; }

/* Lyrics that light as you read */
.sung .ln { transition: color .6s ease, text-shadow .6s ease; }
.lyrics-js .sung .ln { color: #5f5a51; }
.lyrics-js .sung .ln.on { color: var(--bone); text-shadow: 0 0 14px rgba(201,162,39,.22); }
.part .sung { font-size: 1.3rem; line-height: 1.75; }

/* The armor: tall plates, verse under each */
.page.wide { max-width: 72rem; }
.plates { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.plate { margin: 0; }
.plate img { aspect-ratio: 893 / 1600; object-fit: cover; border: 1px solid #2b2925; box-shadow: 0 0 0 5px var(--plate); }
.plate figcaption { padding: 1rem .25rem 0; }
.plate figcaption p { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.5; color: var(--bone); }
.plate figcaption span { color: var(--gold); font: 600 .95rem/1 "Oswald", system-ui, sans-serif; letter-spacing: .04em; }

/* Home: armor teaser */
.armor-teaser { max-width: 70rem; margin: 0 auto; padding: 1rem 0 4rem; }
.armor-teaser p { max-width: var(--measure); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1.5rem 0; }
.strip img { aspect-ratio: 893 / 1600; object-fit: cover; border: 1px solid #2b2925; }
.strip a:hover img { border-color: var(--gold); }
.song-head .actions { margin-top: .5rem; }
.foot .sdg { font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .2em; color: var(--gold); margin: 1rem auto .5rem; }
