/* The Absolute Game: launch page. Fonts are self hosted (Bodoni Moda, Manrope, both from Google Fonts, OFL). */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/bodoni-moda.woff2) format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/manrope.woff2) format('woff2');
}

:root {
  --bg: #07070b;
  --bg-2: #0b0b11;
  --panel: #101017;
  --ink: #f2ede3;
  --mist: #b0a99c;
  --dim: #8e887c;
  --gold: #d9ab52;
  --gold-hi: #f1d08a;
  --gold-ink: #1a1206;
  --line: rgba(217, 171, 82, .22);
  --line-soft: rgba(242, 237, 227, .09);
  --ember: #ff7a2a;
  --sea: #5fe8ff;
  --violet: #a46bff;
  --live: #7cf0a2;
  --font-d: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-b: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain over everything, very faint */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.05; }
svg { flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut);
  background: linear-gradient(to bottom, rgba(7, 7, 11, .85), rgba(7, 7, 11, 0));
  transition: background-color .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.solid {
  background: rgba(9, 9, 13, .9);
  border-bottom-color: var(--line-soft);
  padding-top: 10px; padding-bottom: 10px;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-d); font-size: 1.22rem; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap;
}
.mark { width: 30px; height: 30px; color: var(--gold); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--mist); font-size: .95rem; font-weight: 500;
  padding: 10px 2px; position: relative; transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1 var(--font-b); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--gold {
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #b98a35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 30px -10px rgba(217, 171, 82, .65);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 40px -12px rgba(241, 208, 138, .8); }
.btn--gold:active { transform: translateY(0); }
.btn--ghost {
  color: var(--ink); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(242, 237, 227, .22); cursor: default;
}
.btn--ghost[aria-disabled="true"] { color: #d6e6ff; border-color: rgba(95, 232, 255, .35); background: rgba(95, 232, 255, .06); }
.link {
  color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none;
  border-bottom: 1px solid var(--line); padding: 12px 0 2px; transition: border-color .2s, color .2s;
}
.link:hover { border-color: var(--gold-hi); color: var(--gold-hi); }

/* ---------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 13px 6px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; line-height: 1.2;
  background: rgba(7, 7, 11, .55); border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge svg { width: 15px; height: 15px; }
.badge--live { color: var(--live); border-color: rgba(124, 240, 162, .3); }
.badge--live .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(124, 240, 162, .16), 0 0 12px rgba(124, 240, 162, .8);
}
.badge--soon { color: #bdf4ff; border-color: rgba(95, 232, 255, .3); }

.kicker { margin: 0 0 6px; color: var(--gold-hi); font-weight: 600; font-size: .98rem; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(112px, 15vh, 160px) 0 clamp(56px, 8vh, 96px);
  background:
    radial-gradient(60% 50% at 18% 0%, rgba(255, 122, 42, .13), transparent 70%),
    radial-gradient(55% 50% at 85% 5%, rgba(120, 90, 255, .14), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(217, 171, 82, .07), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-head { text-align: center; margin-bottom: clamp(36px, 6vh, 64px); }
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(3rem, 9.4vw, 8.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: .95;
  background: linear-gradient(180deg, #fffaf0 0%, #f2e2bd 55%, #c99a48 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-wrap: balance;
  padding-bottom: .06em;
}
.h1-the {
  display: block; font-style: italic; font-weight: 400;
  font-size: .34em; letter-spacing: .02em; margin-bottom: .1em;
}
.lead {
  max-width: 34em; margin: 22px auto 0;
  color: var(--mist); font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  text-wrap: balance;
}

/* ---------------------------------------------------------------- doors (the game panels, three since Nov 17, 2026) */
.doors { display: flex; gap: clamp(14px, 1.6vw, 22px); }
.door {
  position: relative; flex: 1 1 0; min-width: 0;
  height: clamp(460px, 66vh, 700px);
  border-radius: var(--r); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  transition: flex-grow .6s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.door::after {
  /* inner hairline in the game's own colour */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--door-c, var(--gold)); opacity: 0; transition: opacity .4s;
}
.door--cm { --door-c: rgba(255, 140, 70, .55); }
.door--sf { --door-c: rgba(95, 232, 255, .5); }
.door--ms { --door-c: rgba(255, 200, 112, .55); }
@media (hover: hover) and (min-width: 900px) {
  .doors:hover .door { flex-grow: .82; }
  .doors:hover .door:hover, .door:focus-within { flex-grow: 1.25; }
}
.door:hover::after, .door:focus-within::after { opacity: 1; }
.door--cm:hover { box-shadow: 0 50px 90px -40px rgba(255, 110, 40, .45); }
.door--sf:hover { box-shadow: 0 50px 90px -40px rgba(80, 200, 255, .4); }
.door--ms:hover { box-shadow: 0 50px 90px -40px rgba(255, 180, 80, .4); }
/* three doors in a row: the titles are a little smaller so the longest name still fits */
@media (min-width: 900px) {
  .doors--3 .door-title { font-size: clamp(2.1rem, 3.5vw, 3.7rem); }
  .doors--3 .door-line { font-size: .98rem; }
  .doors--3 .door-body { padding: clamp(18px, 2.2vw, 34px); }
}

.door-art { position: absolute; inset: 0; z-index: -1; }
.door-art::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 8, .96) 0%, rgba(5, 5, 8, .78) 26%, rgba(5, 5, 8, .1) 58%, rgba(5, 5, 8, .25) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* Cindermere scene: ember light from below, the four heroes standing together */
.door--cm .door-art {
  background:
    radial-gradient(70% 55% at 50% 92%, rgba(255, 110, 36, .55), rgba(255, 110, 36, 0) 70%),
    radial-gradient(45% 40% at 50% 38%, rgba(255, 190, 120, .08), transparent 70%),
    linear-gradient(180deg, #120c0b 0%, #1b100b 60%, #2a140a 100%);
}
.cm-glow {
  position: absolute; left: 50%; bottom: 26%; width: 80%; height: 30%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 150, 60, .6), transparent);
  filter: blur(18px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.door--cm { container-type: size; }
.cm-lineup {
  /* sized from the panel itself, so all four heroes fit a narrow panel and grow when it opens wide */
  position: absolute; left: 50%; bottom: 36%;
  width: max-content; height: min(56cqh, 50cqw);
  display: flex; align-items: flex-end; justify-content: center;
  transform: translateX(-50%);
  transition: transform .9s var(--ease), height .6s var(--ease);
  /* the portraits stop at the knee: fade that edge into the dark */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 26%);
  mask-image: linear-gradient(to top, transparent 0%, #000 26%);
}
.cm-lineup .ln {
  height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(255, 120, 50, .18));
}
.ln-1 { height: 84% !important; margin-right: -9%; position: relative; z-index: 1; }
.ln-2 { height: 100% !important; position: relative; z-index: 3; }
.ln-3 { height: 92% !important; margin-left: -10%; position: relative; z-index: 2; }
.ln-4 { height: 80% !important; margin-left: -9%; position: relative; z-index: 1; }

/* Starfathom scene: the key art */
.sf-key {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 30%;
  transition: transform 1.2s var(--ease);
}
.door--sf:hover .sf-key { transform: scale(1.04); }

/* Mainspire scene: the key art, held on the clock tower */
.ms-key {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 86% 30%;
  transition: transform 1.2s var(--ease);
}
.door--ms:hover .ms-key { transform: scale(1.04); }

.door-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(22px, 3vw, 40px);
}
.door-title {
  font-family: var(--font-d); font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.door-line { color: #ddd6c9; max-width: 26em; margin-bottom: 22px; font-size: 1.04rem; }
.door-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------------------------------------------------------------- game sections */
.game { position: relative; padding: clamp(80px, 12vh, 140px) 0; }
.game--cm {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(255, 122, 42, .09), transparent 70%),
    radial-gradient(40% 30% at 100% 60%, rgba(217, 171, 82, .05), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.game-intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px); align-items: start;
}
.game-copy { position: sticky; top: 110px; }
.game-copy p { color: var(--mist); }
.game-title {
  font-family: var(--font-d); font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.02em; margin-bottom: 8px;
}
.game-sub { color: var(--ink) !important; font-size: 1.18rem; margin-bottom: 22px !important; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 30px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts svg { width: 19px; height: 19px; color: var(--gold); }

.heroes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0 22px 24px; border-radius: var(--r);
  background:
    radial-gradient(90% 60% at 50% 30%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    linear-gradient(180deg, #14141c, #0e0e14);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), border-color .4s;
}
.hero-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.hero-card img {
  width: 100%; height: 250px; object-fit: contain; object-position: center bottom;
  margin: 18px 0 14px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .65));
  transition: transform .5s var(--ease);
}
.hero-card:hover img { transform: scale(1.04); }
.hero-card h3 { font-family: var(--font-d); font-size: 1.8rem; font-weight: 600; margin-bottom: 2px; }
.role { color: var(--c, var(--gold-hi)) !important; font-weight: 700; font-size: .9rem; margin-bottom: 8px !important; }
.hero-card p:last-child, .ship p:last-child { color: var(--mist); font-size: .95rem; margin: 0; line-height: 1.55; }

/* bosses */
.bosses { margin-top: clamp(80px, 11vh, 120px); }
.bosses-title, .row-title {
  font-family: var(--font-d); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.01em;
}
.bosses-sub { color: var(--mist); margin: 12px 0 34px; max-width: 36em; }
.boss-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.boss-row--sf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.boss { text-align: center; }
.boss-pic {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center;
  border-radius: 50%; margin-bottom: 16px;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--c) 26%, transparent), transparent 80%),
    radial-gradient(closest-side, #15151d 70%, transparent 71%);
}
.boss-pic::before {
  content: ''; position: absolute; inset: 4%; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.boss-pic img {
  position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7));
  transition: transform .6s var(--ease);
}
.boss:hover .boss-pic img { transform: scale(1.07) rotate(-2deg); }
.boss h4 { font-family: var(--font-d); font-weight: 600; font-size: 1.32rem; margin-bottom: 4px; }
.boss p { color: var(--dim); font-size: .9rem; margin: 0; text-wrap: balance; }
.bosses-note { color: var(--mist); text-align: center; margin: 40px 0 0; font-style: italic; font-family: var(--font-d); font-size: 1.15rem; }

/* Starfathom */
.game--sf {
  padding-top: 0;
  background:
    radial-gradient(60% 40% at 100% 40%, rgba(95, 232, 255, .06), transparent 70%),
    radial-gradient(50% 40% at 0% 90%, rgba(164, 107, 255, .07), transparent 70%),
    var(--bg);
}
.sf-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 86vh, 860px);
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(56px, 8vh, 90px);
  margin-bottom: clamp(70px, 10vh, 110px);
  border-top: 1px solid var(--line-soft);
}
.sf-band-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 35%; z-index: -2;
}
.sf-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 6, 12, .92) 0%, rgba(6, 6, 12, .72) 34%, rgba(6, 6, 12, .05) 68%),
    linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 11, 0) 30%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(7, 7, 11, 0) 16%);
}
.sf-band-copy > * { max-width: 34rem; }
.sf-band-copy p { color: #c9c7d6; }
.sf-band-copy .game-sub { color: var(--ink) !important; }
.sf-band-copy .btn { margin-top: 10px; }

/* Mainspire */
.game--ms {
  padding-top: 0;
  background:
    radial-gradient(60% 40% at 0% 40%, rgba(255, 190, 100, .06), transparent 70%),
    radial-gradient(50% 40% at 100% 90%, rgba(95, 224, 200, .05), transparent 70%),
    var(--bg);
}
.ms-band .sf-band-art { object-position: 100% 30%; }
.ms-band .sf-band-copy p { color: #d6cdbd; }
.game--ms .ship { background: radial-gradient(70% 60% at 50% 32%, color-mix(in srgb, var(--c) 16%, transparent), transparent 75%), linear-gradient(180deg, #16120e, #0c0a09); }
.game--ms .ship::before { display: none; }
.game--ms .ship-pic { height: 250px; }

.row-title { margin-bottom: 30px; }
.ships { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(70px, 10vh, 110px); }
.ship {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r); padding: 26px 24px 26px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 60% at 50% 32%, color-mix(in srgb, var(--c) 18%, transparent), transparent 75%),
    linear-gradient(180deg, #11121b, #0b0b12);
  transition: transform .4s var(--ease), border-color .4s;
}
.ship::before {
  /* a faint star grid behind each ship */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px);
  background-size: 34px 34px; background-position: 7px 11px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 80%);
}
.ship:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ship-pic { position: relative; height: 220px; margin-bottom: 18px; }
.ship-pic img {
  position: absolute; inset: 0 15%; width: 70%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 45%, transparent)) drop-shadow(0 16px 18px rgba(0, 0, 0, .6));
  transition: transform .6s var(--ease);
}
.ship:hover .ship-pic img { transform: translateY(-8px); }
.ship h4 { font-family: var(--font-d); font-weight: 600; font-size: 1.8rem; margin-bottom: 2px; }

/* ---------------------------------------------------------------- questions */
.faq { padding: clamp(80px, 12vh, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.faq-title { font-family: var(--font-d); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -.015em; margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.qa { padding: 26px 0 24px; border-top: 1px solid var(--line); }
.qa h3 { font-family: var(--font-b); font-weight: 700; font-size: 1.12rem; line-height: 1.35; margin-bottom: 10px; }
.qa p { color: var(--mist); margin: 0; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- more + footer */
.more {
  padding: clamp(90px, 14vh, 150px) 0;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(217, 171, 82, .08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}
.mark--lg { width: 64px; height: 64px; margin: 0 auto 26px; display: block; }
.more h2 { font-family: var(--font-d); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -.015em; margin-bottom: 14px; text-wrap: balance; }
.more p { color: var(--mist); margin: 0; }

.foot { border-top: 1px solid var(--line-soft); padding: 40px 0 46px; background: #050508; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-left: auto; }
.foot-links a { color: var(--mist); text-decoration: none; font-size: .95rem; padding: 10px 0; display: inline-block; }
.foot-links a:hover { color: var(--gold-hi); }
.foot-copy { width: 100%; margin: 6px 0 0; color: var(--dim); font-size: .88rem; }

/* ---------------------------------------------------------------- tones (set by data-c, so the CSP needs no inline styles) */
[data-c="ironward"] { --c: #8fb8ff; }
[data-c="cinderseer"] { --c: #ff8748; }
[data-c="thornstrider"] { --c: #5fe0a8; }
[data-c="dawnsinger"] { --c: #ffd76a; }
[data-c="mossback"] { --c: #8dff6a; }
[data-c="slagwing"] { --c: #ff7a2a; }
[data-c="rimewidow"] { --c: #9fe4ff; }
[data-c="warden"] { --c: #d59bff; }
[data-c="empress"] { --c: #ffe08a; }
[data-c="kestrel"] { --c: #5ff3ff; }
[data-c="bastion"] { --c: #ffb347; }
[data-c="wraith"] { --c: #ff5bd8; }
[data-c="veilmother"] { --c: #7ff6ff; }
[data-c="nautilarch"] { --c: #d58bff; }
[data-c="tidewyrm"] { --c: #ff8a3d; }
[data-c="gravemaw"] { --c: #ffd166; }
[data-c="wren"] { --c: #39c6b4; }
[data-c="tamper"] { --c: #e09a4c; }
[data-c="sable"] { --c: #7f9bff; }
[data-c="stoker"] { --c: #ff8a3d; }
[data-c="coil"] { --c: #5fe0c8; }
[data-c="regulator"] { --c: #b7a8ff; }
[data-c="hourkeeper"] { --c: #ffd166; }

/* ---------------------------------------------------------------- 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut) 80px; }
.lost h1 { font-family: var(--font-d); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5rem); margin: 0 0 14px; }
.lost p { color: var(--mist); margin: 0 auto 30px; max-width: 30em; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .game-intro { grid-template-columns: 1fr; }
  .game-copy { position: static; max-width: 40rem; }
  .boss-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .boss-row--sf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .doors { flex-direction: column; }
  .door { flex: none; height: clamp(500px, 78svh, 620px); }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .ships { grid-template-columns: 1fr; max-width: 30rem; }
  .sf-band::before {
    background:
      linear-gradient(to top, rgba(6, 6, 12, .97) 0%, rgba(6, 6, 12, .8) 45%, rgba(6, 6, 12, .1) 80%),
      linear-gradient(to bottom, var(--bg) 0%, rgba(7, 7, 11, 0) 16%);
  }
  .sf-band { min-height: 0; padding-top: 52vw; }
  .sf-band-art { height: 70vw; min-height: 300px; object-position: 75% 30%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { font-size: 1.05rem; }
  .hide-sm { display: none; }
  .heroes { grid-template-columns: 1fr; }
  .hero-card img { height: 230px; }
  .boss-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-lineup { bottom: 55%; height: min(40cqh, 64cqw); }
  .cm-glow { bottom: 50%; }
  .door { height: 560px; }
  .door-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
