/* ==========================================================================
   Shadows of Ruin — "Forged in ash"
   One stylesheet for every page. Colours live as tokens on :root.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* soot: warm near-blacks */
  --soot-950: #0d0907;
  --soot-900: #130e0b;
  --soot-850: #19130f;
  --soot-800: #211913;
  --soot-700: #2c221b;

  /* iron: lines, frames, rivets */
  --iron: #3a2d24;
  --iron-hi: #5c4636;
  --rivet: #b48a4f;

  /* bone/ash text */
  --bone: #efe6d6;
  --bone-2: #cdbfa8;
  --bone-3: #a39380;

  /* ember: the only light source */
  --ember: #f0923a;
  --ember-hot: #ffc173;
  --ember-deep: #b5531b;
  --ember-glow: rgba(240, 130, 50, 0.45);
  --ember-haze: rgba(181, 83, 27, 0.18);
  --gold: #cfa25e;

  /* dried blood: rare */
  --blood: #6e1414;
  --blood-hi: #a3241f;
  --blood-text: #f2c4a6;

  /* frost: Viking-era counterpoint */
  --frost: #b3c6d3;
  --frost-glow: rgba(150, 180, 205, 0.32);

  --ink-on-ember: #1b0d04;
  --scrim: rgba(13, 9, 7, 0.92);

  --font-display: "Grenze Gotisch", "UnifrakturCook", "Old English Text MT", Georgia, serif;
  --font-body: "Alegreya Sans", "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
  --font-util: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;

  /* type scale (1.25 minor third-ish, fluid at the top) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  --step-5: clamp(2.8rem, 1.7rem + 4.8vw, 5.2rem);

  --max: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 64px;
  --player-h: 0px;
  --cut: 9px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root {
    --gutter: max(32px, env(safe-area-inset-left, 0px));
    --gutter-r: max(32px, env(safe-area-inset-right, 0px));
    --header-h: 72px;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--soot-950);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 3px;
}

::selection { background: var(--ember-deep); color: var(--bone); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ember);
  color: var(--ink-on-ember);
  font-family: var(--font-util);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- the page wrapper ---------- */
.site {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--soot-950);
  overflow-x: clip;
  padding-bottom: var(--player-h);
  transition: padding-bottom 0.3s var(--ease-out);
}
.site > main { flex: 1 0 auto; }

/* film grain over everything, very low */
.site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: url("../img/grain.webp");
  background-size: 128px 128px;
  opacity: 0.07;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- shared type pieces ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 0.9rem;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember));
}
.kicker--frost { color: var(--frost); }
.kicker--frost::before { background: linear-gradient(90deg, transparent, var(--frost)); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--bone);
}

.muted { color: var(--bone-2); }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  margin-bottom: 0.4em;
}
.section-head p { color: var(--bone-2); }

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}
.section-head--split > div { max-width: 600px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- buttons: forged plates with cut corners ---------- */
.btn {
  --btn-edge: var(--iron-hi);
  --btn-fill: rgba(19, 14, 11, 0.72);
  --btn-text: var(--bone);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0.7em 1.25em;
  border: 0;
  background: none;
  color: var(--btn-text);
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background 0.2s, box-shadow 0.2s;
}
.btn::before { inset: 0; background: var(--btn-edge); }
.btn::after { inset: 1px; background: var(--btn-fill); }
.btn:hover { --btn-edge: var(--ember); --btn-text: var(--ember-hot); --btn-fill: rgba(60, 30, 14, 0.85); }
.btn:active { transform: translateY(1px); }

.btn--ember {
  --btn-edge: var(--ember-hot);
  --btn-fill: var(--ember);
  --btn-text: var(--ink-on-ember);
  font-weight: 700;
}
.btn--ember::after { box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.45), inset 0 -2px 0 rgba(120, 50, 10, 0.35); }
.btn--ember:hover { --btn-edge: #fff0d6; --btn-fill: #ffab52; --btn-text: var(--ink-on-ember); }

.btn--small { min-height: 40px; padding: 0.55em 1em; font-size: 0.92rem; letter-spacing: 0.11em; }
.btn--big { min-height: 56px; padding: 0.9em 1.6em; font-size: 1.1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-util);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ember-hot);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 193, 115, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover { color: #fff1dc; border-color: var(--ember-hot); }

/* ---------- tier badges: riveted plates ---------- */
.tier {
  --tier-edge: #6b5139;
  --tier-fill: linear-gradient(180deg, #33261d, #1f1712);
  --tier-text: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.32em 1.5em;
  font-family: var(--font-util);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tier-text);
  background:
    radial-gradient(circle at 9px 50%, var(--rivet) 0 2px, rgba(0,0,0,0.6) 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 9px) 50%, var(--rivet) 0 2px, rgba(0,0,0,0.6) 2.5px, transparent 3.5px),
    var(--tier-fill);
  border: 1px solid var(--tier-edge);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, 0.08), 0 2px 0 rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.tier--allfather {
  --tier-edge: var(--blood-hi);
  --tier-fill: linear-gradient(180deg, #4a1210, #2a0a09);
  --tier-text: var(--blood-text);
}
.tier--thrall {
  --tier-edge: var(--iron-hi);
  --tier-fill: linear-gradient(180deg, #2a221d, #181310);
  --tier-text: var(--bone-2);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(13, 9, 7, 0.96);
  border-bottom: 1px solid var(--iron);
}
.site-header::after {
  /* a cooling seam of ember along the bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(240, 146, 58, 0.55) 30%, rgba(255, 193, 115, 0.8) 50%, rgba(240, 146, 58, 0.55) 70%, transparent 95%);
  opacity: 0.6;
  pointer-events: none;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--bone);
}
.brand img { width: 46px; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
@media (min-width: 900px) {
  .brand img { width: 52px; }
  .brand__name { font-size: 1.6rem; }
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-2);
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.site-nav a:hover { color: var(--bone); }
.site-nav a:hover::after { transform: scaleX(0.5); }
.site-nav a[aria-current="page"] { color: var(--ember-hot); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); box-shadow: 0 0 10px var(--ember-glow); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--iron-hi);
  background: var(--soot-850);
  color: var(--bone);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-listen { flex: none; }

/* No-JS fallback on small screens: the nav wraps beneath the bar. */
@media (max-width: 899px) {
  .header-bar { flex-wrap: wrap; padding-block: 8px; }
  .header-listen { order: 1; }
  .nav-toggle { order: 2; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { justify-content: flex-start; }
  .site-nav a { padding: 0 10px; font-size: 0.95rem; letter-spacing: 0.12em; }
  .header-listen .btn-label-long { display: none; }

  /* With JS: collapse into a toggled panel. */
  .site.js .header-bar { flex-wrap: nowrap; padding-block: 0; }
  .site.js .nav-toggle { display: inline-flex; }
  .site.js .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    width: auto;
    background: var(--soot-900);
    border-bottom: 1px solid var(--iron);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    padding: 8px var(--gutter-r) 20px var(--gutter);
    display: none;
  }
  .site.js .site-nav.is-open { display: block; }
  .site.js .site-nav ul { flex-direction: column; gap: 0; }
  .site.js .site-nav li + li { border-top: 1px solid var(--iron); }
  .site.js .site-nav a {
    width: 100%;
    min-height: 56px;
    padding: 0 4px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--bone);
  }
  .site.js .site-nav a::after { left: 4px; right: auto; width: 40px; bottom: 12px; }
  .site.js .site-nav a[aria-current="page"] { color: var(--ember-hot); }
}
@media (max-width: 459px) {
  .brand { gap: 8px; }
  .brand__name { font-size: 1.3rem; white-space: nowrap; }
  .brand img { width: 40px; }
  .header-listen.btn { padding-inline: 0; width: 46px; min-height: 46px; }
  .header-listen span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site.js .nav-toggle { margin-left: 6px; background: transparent; border-color: var(--iron); }
}

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--soot-950);
}
.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.hero__video { opacity: 0.9; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(13, 9, 7, 0.55) 0%, rgba(13, 9, 7, 0) 22%, rgba(13, 9, 7, 0) 62%, var(--soot-950) 100%),
    linear-gradient(90deg, rgba(13, 9, 7, 0.9) 0%, rgba(13, 9, 7, 0.62) 34%, rgba(13, 9, 7, 0.12) 64%, rgba(13, 9, 7, 0.4) 100%);
}
.hero__smoke {
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(28% 38% at 22% 42%, rgba(150, 125, 105, 0.32), transparent 70%),
    radial-gradient(34% 30% at 30% 70%, rgba(110, 90, 76, 0.26), transparent 72%),
    radial-gradient(30% 40% at 12% 30%, rgba(90, 74, 64, 0.22), transparent 70%);
  animation: smoke-drift 22s ease-in-out infinite alternate, smoke-in 2.4s var(--ease-out) both;
}
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 22px;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(56px, 7vw, 100px);
}
.hero__crest {
  position: relative;
  width: clamp(200px, 22vw, 300px);
  margin: 0;
}
.hero__crest::before {
  /* a slow ember breath behind the crest */
  content: "";
  position: absolute;
  inset: 12% 8% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 130, 50, 0.24), rgba(240, 130, 50, 0.06) 60%, transparent);
  filter: blur(8px);
  animation: breathe 6s ease-in-out 1.8s infinite;
}
.hero__crest img {
  width: 100%;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.7));
  animation: emerge 2s var(--ease-out) 0.15s both;
}
.hero__copy { max-width: 540px; }
.hero__copy .kicker { margin-bottom: 0.6rem; }
.hero__thesis {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.7rem);
  line-height: 1.04;
  color: var(--bone);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
  max-width: 21ch;
}
.hero__thesis em { font-style: normal; color: var(--ember-hot); }

@keyframes emerge {
  0%   { opacity: 0; transform: translateY(14px) scale(1.05); filter: blur(16px) brightness(0.5) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.7)); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; filter: blur(0) brightness(1) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.7)); }
}
@keyframes smoke-in { from { opacity: 1.6; transform: scale(1.15); } to { opacity: 1; } }
@keyframes smoke-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ==========================================================================
   Home: newest record
   ========================================================================== */
.newest {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(56px, 8vw, 112px);
  background:
    radial-gradient(50% 70% at 22% 30%, var(--ember-haze), transparent 70%),
    var(--soot-950);
}
.newest__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .newest__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); }
  .newest__cover { margin-top: -96px; }
}
.newest__cover { position: relative; }
.newest__cover::after {
  /* the ember underglow */
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -6%;
  height: 30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 120, 40, 0.55), transparent);
  filter: blur(18px);
  animation: flicker 5s ease-in-out infinite;
}
.newest__cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 200, 140, 0.12);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(240, 120, 40, 0.35);
}
.newest__title {
  font-family: var(--font-display);
  font-size: var(--step-5);
  margin-bottom: 0.25em;
  text-shadow: 0 0 40px rgba(240, 120, 40, 0.2);
}
.newest__blurb { font-size: var(--step-1); color: var(--bone-2); max-width: 44ch; margin-bottom: 1.6rem; }
.newest .btn-row { margin-bottom: 28px; }
.newest__tracks-label {
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-bottom: 8px;
}
@keyframes flicker {
  0%, 100% { opacity: 0.85; }
  20% { opacity: 1; }
  45% { opacity: 0.7; }
  70% { opacity: 0.95; }
}

/* flowing track list, separated by small ember marks */
.tracks-flow {
  list-style: none;
  max-width: 60ch;
  color: var(--bone-2);
  line-height: 1.9;
}
.tracks-flow li { display: inline-block; white-space: nowrap; }
.tracks-flow li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin: 0 0.75em 0.2em;
  background: var(--ember);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* ==========================================================================
   Home: wall of relics
   ========================================================================== */
.relics {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px) clamp(80px, 10vw, 150px);
  background:
    linear-gradient(180deg, var(--soot-950), var(--soot-900) 30%, var(--soot-900) 70%, var(--soot-950)),
    var(--soot-900);
}
.relics__wall {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding-bottom: 36px;
}
.relic:nth-child(even) { transform: translateY(36px); }
@media (min-width: 760px) {
  .relics__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(18px, 2.6vw, 36px); padding-bottom: 64px; }
  .relic:nth-child(even) { transform: none; }
  .relic:nth-child(3n+2) { transform: translateY(64px); }
}

.relic__frame {
  position: relative;
  padding: 8px;
  background:
    radial-gradient(circle at 7px 7px, var(--rivet) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at calc(100% - 7px) 7px, var(--rivet) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 7px calc(100% - 7px), var(--rivet) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), var(--rivet) 0 1.6px, transparent 2.4px),
    linear-gradient(160deg, #2e231b, #15100c 60%, #1f1712);
  border: 1px solid var(--iron);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.5s var(--ease-out), border-color 0.5s;
}
@media (min-width: 760px) { .relic__frame { padding: 12px; } }

.relic__cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}
.relic__cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.84) contrast(1.04);
  transition: filter 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.relic__heat {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 70% at 50% 115%, rgba(255, 120, 30, 0.6), rgba(255, 90, 20, 0.15) 45%, transparent 70%),
    linear-gradient(0deg, rgba(255, 140, 40, 0.15), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.relic__icon {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ink-on-ember);
  box-shadow: 0 0 0 4px rgba(13, 9, 7, 0.55), 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
@media (min-width: 760px) { .relic__icon { width: 54px; height: 54px; left: 14px; bottom: 14px; } }
.relic__icon .icon { width: 22px; height: 22px; }

/* a text cue beside the play badge: always on for touch, on hover/focus for mice */
.relic__cue {
  position: absolute;
  left: 62px;
  bottom: 22px;
  padding: 2px 7px;
  background: rgba(13, 9, 7, 0.82);
  border: 1px solid rgba(240, 146, 58, 0.45);
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ember-hot);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
@media (min-width: 760px) { .relic__cue { left: 78px; bottom: 28px; padding: 3px 9px; font-size: 0.78rem; letter-spacing: 0.16em; } }
.relic__cue-on { display: none; }
.relic.is-playing .relic__cue-off { display: none; }
.relic.is-playing .relic__cue-on { display: inline; }
.relic:hover .relic__cue,
.relic__cover:focus-visible .relic__cue,
.relic.is-playing .relic__cue { opacity: 1; transform: none; }
@media (hover: none) {
  .relic__cue { opacity: 1; transform: none; }
}
.relic__icon .icon-pause { display: none; }
.relic__icon--link { background: var(--soot-800); color: var(--bone); border: 1px solid var(--iron-hi); }

.relic:hover .relic__cover img,
.relic__cover:focus-visible img,
.relic.is-playing .relic__cover img { filter: saturate(1.12) brightness(1.04) contrast(1.05); transform: scale(1.025); }
.relic:hover .relic__heat,
.relic__cover:focus-visible .relic__heat,
.relic.is-playing .relic__heat { opacity: 1; }
.relic:hover .relic__frame,
.relic.is-playing .relic__frame {
  border-color: rgba(240, 146, 58, 0.6);
  box-shadow: 0 0 0 1px rgba(240, 146, 58, 0.25), 0 30px 70px -24px rgba(240, 110, 30, 0.55);
}
.relic:hover .relic__icon { transform: scale(1.08); background: var(--ember-hot); }
.relic.is-playing .relic__icon .icon-play { display: none; }
.relic.is-playing .relic__icon .icon-pause { display: block; }
.relic.is-playing .relic__icon { animation: ember-pulse 1.6s ease-out infinite; background: var(--ember-hot); }

@keyframes ember-pulse {
  0%   { box-shadow: 0 0 0 4px rgba(13, 9, 7, 0.55), 0 0 0 4px rgba(255, 170, 80, 0.55); }
  100% { box-shadow: 0 0 0 4px rgba(13, 9, 7, 0.55), 0 0 0 22px rgba(255, 170, 80, 0); }
}

.relic__plate { padding: 14px 2px 0; }
.relic__title {
  display: inline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.05;
  text-decoration: none;
  color: var(--bone);
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease-out), color 0.2s;
}
.relic__title:hover { color: var(--ember-hot); background-size: 100% 1px; }
.relic__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
  font-family: var(--font-util);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.relic__meta .tier { font-size: 0.72rem; padding: 0.28em 1.35em; }

/* ==========================================================================
   Home: creed (one creator)
   ========================================================================== */
.creed {
  position: relative;
  padding-block: clamp(64px, 9vw, 130px);
  border-top: 1px solid var(--iron);
  background:
    radial-gradient(45% 60% at 80% 50%, rgba(163, 36, 31, 0.12), transparent 70%),
    var(--soot-950);
}
.creed__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .creed__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }
.creed h2 {
  font-family: var(--font-display);
  font-size: var(--step-5);
  margin-bottom: 0.45em;
}
.creed h2 span { display: block; color: var(--ember-hot); }
.creed__body { max-width: 56ch; color: var(--bone-2); font-size: var(--step-1); margin-bottom: 28px; }
.creed__body strong { color: var(--bone); font-weight: 500; }

/* tomb-niche arch frame (also used on the band page) */
.arch {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--iron-hi);
  border-radius: 50% 50% 3px 3px / 26% 26% 3px 3px;
  background: linear-gradient(180deg, #2a2019, #120d0a);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.arch::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(207, 162, 94, 0.22);
  border-radius: inherit;
  pointer-events: none;
}
.arch img {
  width: 100%;
  border-radius: 50% 50% 2px 2px / 25% 25% 2px 2px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.arch figcaption {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--soot-950);
  border: 1px solid var(--iron-hi);
  font-family: var(--font-util);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-3);
  white-space: nowrap;
}
.creed .arch { max-width: 420px; margin-inline: auto; }

/* ==========================================================================
   Home: reels strip
   ========================================================================== */
.reels {
  padding-block: clamp(56px, 8vw, 112px);
  background: var(--soot-900);
  border-top: 1px solid var(--iron);
}
.reels__track {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-hi) transparent;
}
@media (min-width: 640px) { .reels__track { grid-auto-columns: 28%; } }
@media (min-width: 1000px) { .reels__track { grid-auto-columns: minmax(0, 1fr); overflow-x: visible; gap: 18px; } }
.reels__track > li { scroll-snap-align: start; }

.reel {
  display: block;
  text-decoration: none;
  color: var(--bone);
}
.reel__poster {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--iron);
  background: #000;
}
.reel__poster img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.85);
  transition: filter 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.reel__poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(13, 9, 7, 0.9), transparent);
  pointer-events: none;
}
.reel__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 193, 115, 0.6);
  background: rgba(13, 9, 7, 0.6);
  color: var(--ember-hot);
  transition: background 0.3s, color 0.3s;
}
.reel__play .icon { width: 16px; height: 16px; margin-left: 2px; }
.reel:hover .reel__poster img { filter: brightness(1) saturate(1.05); transform: scale(1.03); }
.reel:hover .reel__poster { border-color: rgba(240, 146, 58, 0.6); }
.reel:hover .reel__play { background: var(--ember); color: var(--ink-on-ember); }
.reel__title {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.1;
}
.reel__meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-util);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* ==========================================================================
   Home: merch + discord call
   ========================================================================== */
.call {
  padding-block: clamp(56px, 8vw, 112px);
  background: var(--soot-950);
}
.call__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .call__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; } }

.call__merch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--iron);
  background: var(--soot-850);
}
.call__merch-art {
  position: absolute;
  top: 0; right: 0;
  z-index: -2;
  width: 100%;
  height: 72%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: saturate(0.95) brightness(0.8);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
@media (min-width: 640px) {
  .call__merch-art {
    width: 62%;
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
  }
}
.call__merch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 9, 7, 0.92) 18%, rgba(13, 9, 7, 0.25) 60%, transparent);
}
.call h2 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  margin-bottom: 0.3em;
}
.call__merch p, .call__discord p { color: var(--bone-2); max-width: 42ch; margin-bottom: 1.4rem; }

.call__discord {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--iron-hi);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(240, 130, 50, 0.16), transparent 70%),
    linear-gradient(170deg, #241b15, #120d0a);
}
.call__discord-icon { width: 64px; height: 64px; color: var(--ember); }

/* ==========================================================================
   Inner page heads
   ========================================================================== */
.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(48px, 8vw, 110px) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(40% 80% at 15% 0%, var(--ember-haze), transparent 70%),
    var(--soot-950);
  border-bottom: 1px solid var(--iron);
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: var(--step-5);
  margin-bottom: 0.3em;
  max-width: 15ch;
}
.page-head .lead { max-width: 58ch; color: var(--bone-2); }
.page-head__bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(70%, 900px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
@media (max-width: 760px) {
  .page-head__bg { width: 100%; opacity: 0.28; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
}

/* album index on the music page */
.album-index {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-top: 28px;
}
.album-index a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--iron);
  background: rgba(25, 19, 15, 0.8);
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-2);
  transition: border-color 0.2s, color 0.2s;
}
.album-index a:hover { border-color: var(--ember); color: var(--ember-hot); }
.album-index .is-forge a { border-style: dashed; color: var(--bone-3); }

/* ==========================================================================
   Music: album articles
   ========================================================================== */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.album {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--iron);
  align-items: start;
}
.album:first-child { border-top: 0; }
.album__cover { position: relative; max-width: 560px; }
@media (min-width: 900px) {
  .album { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); }
  .album:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .album:nth-child(even) .album__cover { order: 2; justify-self: end; }
  .album__cover { position: sticky; top: calc(var(--header-h) + 32px); }
}
.album__cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 200, 140, 0.1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 70px -30px var(--ember-glow);
}
.album--frost .album__cover img { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 70px -30px var(--frost-glow); }

.album__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.album__head .kicker { margin: 0; }
.album__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  margin-bottom: 0.35em;
}
.album__blurb { font-size: var(--step-1); color: var(--bone-2); max-width: 46ch; margin-bottom: 24px; }
.album .btn-row { margin-bottom: 32px; }

.tracks-block {
  padding-top: 20px;
  border-top: 1px solid var(--iron);
}
.tracks-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.tracks-block h3 {
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.tracks-block__note { font-size: 0.9rem; color: var(--bone-3); }
.tracks {
  list-style: none;
  columns: 1;
  column-gap: 32px;
}
@media (min-width: 560px) { .tracks { columns: 2; } }
.tracks li {
  position: relative;
  break-inside: avoid;
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid rgba(58, 45, 36, 0.6);
  color: var(--bone-2);
  line-height: 1.4;
}
.tracks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.95em;
  width: 6px; height: 6px;
  background: var(--ember-deep);
  transform: rotate(45deg);
}
.tracks li.is-preview { color: var(--bone); }
.tracks li.is-preview::before { background: var(--ember-hot); box-shadow: 0 0 8px var(--ember-glow); }
.tracks li .preview-tag {
  margin-left: 6px;
  font-family: var(--font-util);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
}

.preview-btn { white-space: normal; text-align: left; line-height: 1.2; }
.preview-btn .icon-pause { display: none; }
.preview-btn.is-playing .icon-play { display: none; }
.preview-btn.is-playing .icon-pause { display: block; }
.preview-btn__sub {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ---------- in the forge ---------- */
.forge {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--iron);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(240, 110, 30, 0.2), transparent 70%),
    var(--soot-900);
  overflow: hidden;
}
.forge__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}
@media (min-width: 900px) { .forge__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.forge-item figure { margin: 0; }
.forge-item__img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--iron);
  background: #000;
}
.forge-item__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.62) contrast(1.1);
}
.forge-item__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 50% 120%, rgba(255, 110, 20, 0.55), transparent 65%);
  mix-blend-mode: screen;
  animation: forge-heat 4.5s ease-in-out infinite;
}
.forge-item:nth-child(2) .forge-item__img::after { animation-delay: -1.2s; }
.forge-item:nth-child(3) .forge-item__img::after { animation-delay: -2.4s; }
.forge-item:nth-child(4) .forge-item__img::after { animation-delay: -3.3s; }
.forge-item__stamp {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
}
.forge-item figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  line-height: 1.1;
}
@keyframes forge-heat { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ==========================================================================
   Docked preview player
   ========================================================================== */
.player {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 120;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(17, 12, 9, 0.97);
  border-top: 1px solid var(--iron-hi);
  box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out);
}
.player[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.player::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
.player__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "toggle meta close"
    "bar bar bar"
    "full full full";
  align-items: center;
  gap: 6px 14px;
  padding-block: 10px 12px;
}
@media (min-width: 900px) {
  .player__inner {
    grid-template-columns: auto minmax(180px, 1.1fr) minmax(220px, 2fr) auto auto;
    grid-template-areas: "toggle meta bar full close";
    gap: 20px;
    padding-block: 12px;
  }
}
.player__toggle {
  grid-area: toggle;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--ember);
  color: var(--ink-on-ember);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.5);
  transition: background 0.2s;
}
.player__toggle:hover { background: var(--ember-hot); }
.player__toggle .icon { width: 22px; height: 22px; }
.player__toggle .icon-pause { display: none; }
.player.is-playing .player__toggle .icon-play { display: none; }
.player.is-playing .player__toggle .icon-pause { display: block; }

.player__meta { grid-area: meta; min-width: 0; line-height: 1.2; }
.player__label {
  display: block;
  font-family: var(--font-util);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
}
.player__track {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__album {
  display: block;
  font-size: 0.85rem;
  color: var(--bone-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-util);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--bone-2);
  font-variant-numeric: tabular-nums;
}
.player__time { min-width: 2.6em; text-align: center; }
.player__full { grid-area: full; justify-self: start; }
@media (min-width: 900px) { .player__full { justify-self: end; } }
.player__close {
  grid-area: close;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--iron);
  background: transparent;
  color: var(--bone-2);
  cursor: pointer;
}
.player__close:hover { color: var(--bone); border-color: var(--iron-hi); }
.player__close .icon { width: 20px; height: 20px; }
.player__error { grid-column: 1 / -1; color: var(--blood-text); font-size: 0.9rem; margin: 0; }

/* the scrubber: a native range, restyled */
.player__seek {
  --p: 0%;
  flex: 1;
  min-width: 0;
  height: 32px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.player__seek::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--ember) var(--p), var(--iron-hi) var(--p));
}
.player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  border: 0;
  background: var(--ember-hot);
  box-shadow: 0 0 0 4px rgba(240, 146, 58, 0.25);
}
.player__seek::-moz-range-track { height: 4px; background: var(--iron-hi); border: 0; }
.player__seek::-moz-range-progress { height: 4px; background: var(--ember); }
.player__seek::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 0;
  background: var(--ember-hot);
  box-shadow: 0 0 0 4px rgba(240, 146, 58, 0.25);
}
.player__seek:focus-visible { outline: 2px solid var(--ember-hot); outline-offset: 2px; }

/* ==========================================================================
   Band page
   ========================================================================== */
.testament {
  padding-block: clamp(56px, 8vw, 110px);
  background: var(--soot-950);
}
.testament__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .testament__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); } }
.testament h2 {
  font-family: var(--font-display);
  font-size: var(--step-4);
}
.testament h2 span { color: var(--ember-hot); }
.testament__body { max-width: 62ch; color: var(--bone-2); font-size: var(--step-1); }
.testament__body p:first-child {
  color: var(--bone);
  font-size: var(--step-2);
  line-height: 1.35;
}
.testament__body p:first-child::first-letter {
  float: left;
  margin: 0.05em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.8;
  color: var(--ember);
}
.testament__sign {
  margin-top: 28px;
  font-family: var(--font-util);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.personas {
  padding-block: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--soot-950), var(--soot-900) 15%, var(--soot-900) 85%, var(--soot-950));
  border-top: 1px solid var(--iron);
}
.persona {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.persona + .persona { border-top: 1px solid rgba(58, 45, 36, 0.7); }
@media (min-width: 820px) {
  .persona { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
  .persona:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .persona:nth-child(even) .persona__portrait { order: 2; }
}
.persona__portrait { max-width: 400px; width: 100%; margin-inline: auto; }
@media (max-width: 819px) {
  .persona__portrait { max-width: 340px; }
  .persona__portrait img { aspect-ratio: 4 / 5; object-position: 50% 28%; }
}
.persona__role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.persona__role .kicker { margin: 0; }
.persona__name {
  font-family: var(--font-display);
  font-size: var(--step-5);
  margin-bottom: 0.15em;
}
.persona__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--gold);
}
.persona__lore { max-width: 50ch; color: var(--bone-2); font-size: var(--step-1); }

.origin {
  padding-block: clamp(64px, 9vw, 130px);
  border-top: 1px solid var(--iron);
  background:
    radial-gradient(40% 60% at 85% 40%, var(--ember-haze), transparent 70%),
    var(--soot-950);
}
.origin__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .origin__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }
.origin h2 { font-family: var(--font-display); font-size: var(--step-5); margin-bottom: 0.45em; }
.origin__story { max-width: 56ch; color: var(--bone-2); font-size: var(--step-1); }
.origin__story .moment { color: var(--bone); }
.origin .arch { max-width: 400px; margin-inline: auto; }

.oath {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 130px);
  background:
    radial-gradient(70% 70% at 30% 110%, rgba(240, 110, 30, 0.22), transparent 70%),
    linear-gradient(180deg, var(--soot-900), #0a0705);
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
}
.oath h2 { font-family: var(--font-display); font-size: var(--step-4); margin-bottom: 28px; }
.vows { list-style: none; max-width: 760px; }
.vows li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--iron);
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.05;
}
.vows li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3c98a, var(--rivet) 45%, #3b2a1a 80%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.5), 0 0 14px rgba(240, 146, 58, 0.35);
}
.oath__close { margin-top: 28px; max-width: 46ch; color: var(--bone-2); font-size: var(--step-1); }

.band-cta {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--soot-950);
}
.band-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band-cta h2 { font-family: var(--font-display); font-size: var(--step-4); max-width: 18ch; }

/* ==========================================================================
   Watch page
   ========================================================================== */
.feature {
  padding-block: clamp(40px, 6vw, 80px);
  background: var(--soot-950);
}
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 960px) { .feature__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; } }
.feature__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--iron-hi);
  background: #000;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), 0 0 80px -40px var(--ember-glow);
}
.feature__frame video,
.feature__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.75);
}
.feature__caption h2 { font-family: var(--font-display); font-size: var(--step-4); margin-bottom: 0.3em; }
.feature__caption p { color: var(--bone-2); margin-bottom: 1.4rem; }

.posters {
  padding-block: clamp(48px, 7vw, 100px);
  background: var(--soot-900);
  border-top: 1px solid var(--iron);
}
.posters__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 14px;
}
@media (min-width: 600px) { .posters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1000px) { .posters__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }

.channels {
  padding-block: clamp(48px, 7vw, 100px);
  background: var(--soot-950);
}
.channel-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .channel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ledger rows: used for channels and socials */
.ledger-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--iron);
  background: linear-gradient(170deg, #1f1712, #130e0b);
  text-decoration: none;
  color: var(--bone);
  transition: border-color 0.25s, background 0.25s;
}
.ledger-row:hover { border-color: var(--ember); background: linear-gradient(170deg, #2c1d13, #160f0b); }
.ledger-row__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--iron-hi);
  color: var(--ember);
}
.ledger-row__icon .icon { width: 24px; height: 24px; }
.ledger-row__name { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; }
.ledger-row__handle {
  display: block;
  margin-top: 2px;
  font-family: var(--font-util);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.ledger-row__desc { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--bone-2); }
.ledger-row__arrow { width: 22px; height: 22px; color: var(--bone-3); transition: transform 0.25s var(--ease-out), color 0.25s; }
.ledger-row:hover .ledger-row__arrow { transform: translate(3px, -3px); color: var(--ember-hot); }

/* ==========================================================================
   Merch page
   ========================================================================== */
.armory {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(48px, 8vw, 110px);
  background:
    radial-gradient(45% 70% at 78% 50%, rgba(240, 120, 40, 0.22), transparent 70%),
    var(--soot-950);
  border-bottom: 1px solid var(--iron);
}
.armory__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .armory__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.armory h1 { font-family: var(--font-display); font-size: var(--step-5); margin-bottom: 0.3em; }
.armory .lead { color: var(--bone-2); max-width: 46ch; margin-bottom: 28px; }
.armory__crest { width: 100%; max-width: min(380px, 72vw); margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8)); }
.armory__note { margin-top: 16px; font-size: 0.95rem; color: var(--bone-3); }

.designs { padding-block: clamp(48px, 7vw, 100px); background: var(--soot-900); }
.designs__grid { list-style: none; display: grid; gap: 18px; }
@media (min-width: 760px) { .designs__grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; } }
.design-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
  padding: 22px;
  border: 1px solid var(--iron);
  background: var(--soot-850);
  text-decoration: none;
  color: var(--bone);
  transition: border-color 0.3s;
}
.design-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
  transition: filter 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.design-tile--crest img { object-fit: contain; padding: 28px 28px 110px; filter: none; }
.design-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 9, 7, 0.95) 10%, rgba(13, 9, 7, 0.2) 60%, transparent);
}
.design-tile__label {
  font-family: var(--font-util);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
}
.design-tile__name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.05; margin: 4px 0 6px; }
.design-tile__cta { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.95rem; color: var(--bone-2); }
.design-tile:hover { border-color: var(--ember); }
.design-tile:hover img { filter: saturate(1.05) brightness(0.9); transform: scale(1.03); }
.design-tile--crest:hover img { filter: drop-shadow(0 0 30px rgba(240, 130, 50, 0.35)); transform: scale(1.03); }

.editions { padding-block: clamp(56px, 8vw, 110px); background: var(--soot-950); border-top: 1px solid var(--iron); }
.tiers { list-style: none; display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.tier-plate {
  position: relative;
  height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid var(--iron-hi);
  background:
    radial-gradient(circle at 12px 12px, var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) 12px, var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at 12px calc(100% - 12px), var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--rivet) 0 2px, transparent 3px),
    linear-gradient(165deg, #261c16, #120d0a);
}
.tier-plate--allfather {
  border-color: var(--blood-hi);
  background:
    radial-gradient(circle at 12px 12px, var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) 12px, var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at 12px calc(100% - 12px), var(--rivet) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--rivet) 0 2px, transparent 3px),
    radial-gradient(80% 60% at 50% 0%, rgba(163, 36, 31, 0.28), transparent 70%),
    linear-gradient(165deg, #2a1512, #120a09);
}
.tier-plate__rank {
  font-family: var(--font-util);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.tier-plate h3 { font-family: var(--font-display); font-size: var(--step-4); margin: 6px 0 10px; }
.tier-plate--jarl h3 { color: var(--gold); }
.tier-plate--allfather h3 { color: var(--blood-text); }
.tier-plate p { color: var(--bone-2); }
.tier-plate__pips { display: flex; gap: 6px; margin-top: 18px; }
.tier-plate__pips span { width: 26px; height: 6px; background: var(--iron); }
.tier-plate__pips span.on { background: var(--ember); box-shadow: 0 0 10px var(--ember-glow); }
.tier-plate--allfather .tier-plate__pips span.on { background: var(--blood-hi); box-shadow: 0 0 10px rgba(163, 36, 31, 0.5); }

.edition-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 900px) { .edition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.edition {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--iron);
  background: var(--soot-900);
}
@media (min-width: 560px) { .edition { grid-template-columns: 140px minmax(0, 1fr); } }
.edition img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--iron-hi); }
.edition h3 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; margin: 8px 0 12px; }
.edition .btn-row { gap: 8px; }
.editions__foot { margin-top: 28px; color: var(--bone-3); max-width: 70ch; }

/* ==========================================================================
   Community page
   ========================================================================== */
.discord-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--iron-hi);
  background: var(--soot-850);
}
.discord-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  opacity: 0.6;
}
.discord-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 9, 7, 0.96) 25%, rgba(13, 9, 7, 0.6) 65%, rgba(13, 9, 7, 0.3));
}
@media (max-width: 760px) {
  .discord-card::before { background: linear-gradient(0deg, rgba(13, 9, 7, 0.97) 45%, rgba(13, 9, 7, 0.55)); }
}
.discord-card__icon { width: 72px; height: 72px; color: var(--ember); margin-bottom: 18px; }
.discord-card h2 { font-family: var(--font-display); font-size: var(--step-5); margin-bottom: 0.3em; }
.discord-card p { max-width: 44ch; color: var(--bone-2); font-size: var(--step-1); margin-bottom: 28px; }

.socials { padding-block: clamp(48px, 7vw, 100px); }
.social-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.press {
  padding-block: clamp(48px, 7vw, 100px);
  background: var(--soot-900);
  border-top: 1px solid var(--iron);
}
.press__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 860px) { .press__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; } }
.press h2 { font-family: var(--font-display); font-size: var(--step-4); margin-bottom: 0.4em; }
.press p { color: var(--bone-2); max-width: 52ch; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px) 28px;
  background: linear-gradient(180deg, var(--soot-900), #0a0705);
  border-top: 1px solid var(--iron);
}
.footer__grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand img { width: 120px; margin-bottom: 14px; }
.footer__brand p { color: var(--bone-3); max-width: 34ch; font-size: 0.95rem; }
.footer__col h2 {
  margin-bottom: 12px;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.footer__col ul { list-style: none; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  text-decoration: none;
  color: var(--bone-2);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--ember-hot); }
.footer__col .icon { width: 18px; height: 18px; color: var(--bone-3); }
.footer__col a:hover .icon { color: var(--ember); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--iron);
  font-family: var(--font-util);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__embers { display: none; }
  .hero__video { display: none; }
}

.fallback { padding-block: 48px; }
