/* Isara Online — site styles
   Palette: deep black and charcoal, torchlight gold, ember orange, cold arcane blue. */

:root {
  --ink: #070608;
  --char: #0e0d10;
  --stone: #151316;
  --stone-2: #1d1a1c;
  --stone-3: #2a2527;
  --line: rgba(214, 170, 98, 0.18);
  --line-strong: rgba(214, 170, 98, 0.42);
  --gold: #d6aa62;
  --gold-hi: #f3d49a;
  --gold-lo: #8a6a37;
  --ember: #e8732a;
  --ember-hi: #ffb15c;
  --arcane: #5fa8ff;
  --arcane-hi: #a9d4ff;
  --parch: #ecdfc4;
  --text: #d8cfc0;
  --muted: #9b9184;
  --danger: #e0664f;
  --ok: #8fc47a;

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-lede: "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 150px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.7 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* faint stone grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
main { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff3d8; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(232, 115, 42, 0.45); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--parch);
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.06em; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.split > *, .duo > *, .grid > *, .turnaround > * { min-width: 0; }
ul, ol { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--stone {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(214, 170, 98, 0.06), transparent 70%),
    linear-gradient(180deg, var(--char), var(--stone) 50%, var(--char));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.78rem/1 var(--f-body);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { transform: scaleX(-1); }
.eyebrow svg { width: 18px; height: 18px; }
.lede {
  font-family: var(--f-lede);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: #cbbfa9;
}
.lede em, .slogan { font-style: italic; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section-head .lede { margin-top: 0.3em; }

.gold-text {
  background: linear-gradient(180deg, #fff1cf 0%, var(--gold-hi) 35%, var(--gold) 65%, #9c7440 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --b1: #2a2322; --b2: #151112;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 700 0.86rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--parch); text-decoration: none;
  background: linear-gradient(180deg, var(--b1), var(--b2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.12), 0 6px 20px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
/* light catching metal */
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 238, 205, 0.45), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; box-shadow: inset 0 1px 0 rgba(255,236,200,.2), 0 10px 30px rgba(0,0,0,.55), 0 0 24px rgba(232,115,42,.25); }
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --b1: #c9782f; --b2: #7a3812;
  color: #fff8ea; border-color: #f0a55a;
  text-shadow: 0 1px 2px rgba(60, 20, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, 0.55), inset 0 -2px 0 rgba(60, 20, 0, 0.4), 0 8px 28px rgba(232, 115, 42, 0.35);
}
.btn--primary:hover { border-color: #ffd199; box-shadow: inset 0 1px 0 rgba(255,220,170,.6), 0 12px 36px rgba(232,115,42,.5), 0 0 40px rgba(255,177,92,.35); }
.btn--ghost { --b1: rgba(20, 16, 16, 0.55); --b2: rgba(10, 8, 9, 0.55); backdrop-filter: blur(4px); }
.btn--arcane { border-color: rgba(95, 168, 255, 0.55); }
.btn--arcane:hover { border-color: var(--arcane-hi); box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 26px rgba(95,168,255,.3); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.74rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row, .btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 0.8rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-hi); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; }

/* ---------- status labels ---------- */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 9px;
  font: 600 0.68rem/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 2px;
  color: var(--gold); background: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status--dev { color: var(--ember-hi); }
.status--soon { color: var(--arcane-hi); }
.status--planned { color: var(--muted); }
.status--planned::before { background: transparent; border: 1px solid currentColor; box-shadow: none; }
.status--done { color: var(--ok); }
.status--progress { color: var(--ember-hi); }
.status--progress::before { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(8, 7, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 24px;
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 0 10px rgba(232, 115, 42, 0.25)); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 11px;
  font: 600 0.74rem/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: #cfc4b2; text-decoration: none;
  transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember-hi), transparent);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-hi); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__more { position: relative; }
.nav__more > button { background: none; border: 0; cursor: pointer; }
.nav__more > button::before { content: none; }
.nav__drop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px;
  list-style: none; margin: 0; padding: 8px;
  background: rgba(12, 10, 12, 0.97); border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav__more.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop .nav__link { padding: 12px; }
.nav__drop .nav__link::after { left: 12px; right: 12px; }
.header-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--parch); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 40px; overflow-y: auto;
    background: rgba(8, 7, 9, 0.98);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 16px 4px; font-size: 0.95rem; border-bottom: 1px solid rgba(214, 170, 98, 0.08); }
  .nav__link::after { display: none; }
  .nav__more > button { display: none; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .nav__drop .nav__link { padding: 16px 4px; }
  .header-cta { margin: 24px 0 0; }
  .header-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .brand img { height: 38px; }
}

/* ---------- torch divider ---------- */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 auto; padding: 0 var(--gutter); max-width: 900px;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.divider::after { transform: scaleX(-1); }
.divider img { width: 26px; height: auto; filter: drop-shadow(0 0 10px rgba(255, 150, 60, 0.6)); }
.torch-flicker { animation: flicker 3.2s infinite steps(1, end); }
@keyframes flicker {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,150,60,.6)) brightness(1); }
  8% { filter: drop-shadow(0 0 14px rgba(255,170,70,.8)) brightness(1.12); }
  15% { filter: drop-shadow(0 0 7px rgba(255,140,50,.5)) brightness(.92); }
  33% { filter: drop-shadow(0 0 12px rgba(255,160,70,.7)) brightness(1.05); }
  51% { filter: drop-shadow(0 0 9px rgba(255,140,50,.55)) brightness(.96); }
  72% { filter: drop-shadow(0 0 15px rgba(255,180,80,.85)) brightness(1.1); }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 30px) var(--gutter) 90px;
  background: radial-gradient(ellipse 70% 55% at 50% 58%, #1c1412 0%, #0b090a 55%, var(--ink) 100%);
}
.hero__layer { position: absolute; inset: -6% -4%; z-index: -2; pointer-events: none; will-change: transform; }
.hero__layer img { position: absolute; mix-blend-mode: screen; opacity: 0.75; max-width: none; }
.hero__storm { left: -6%; top: -4%; width: 62%; opacity: 0.8;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 45% 45%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 55% at 45% 45%, #000 30%, transparent 72%); }
.hero__fire { right: -10%; top: 6%; width: 64%;
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 62% 35%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 50% 45% at 62% 35%, #000 30%, transparent 72%); }
.hero__figure {
  position: absolute; left: 50%; bottom: -2%; z-index: -1;
  width: min(34vw, 380px); transform: translateX(-50%);
  filter: brightness(0.22) contrast(1.2) drop-shadow(0 0 1px rgba(255, 170, 90, 0.9)) drop-shadow(0 0 24px rgba(232, 115, 42, 0.35));
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
}
.hero::after { /* vignette + floor fade */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 40%, rgba(0,0,0,.75) 100%),
    linear-gradient(180deg, rgba(7,6,8,.2) 0%, transparent 30%, transparent 70%, var(--ink) 100%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 70vmin; height: 70vmin; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 140, 50, 0.22), rgba(232, 115, 42, 0.06) 45%, transparent 70%);
  animation: glow-breathe 4.5s ease-in-out infinite;
}
@keyframes glow-breathe { 50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.06); } }
.hero__content { text-align: center; max-width: 960px; }
.hero__logo { width: min(640px, 88vw); margin: 0 auto 10px; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.8)); }
.hero__slogan {
  font-family: var(--f-lede); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem); color: #eadcc1; letter-spacing: 0.02em;
  margin: 0 auto 10px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}
.hero__tag {
  font: 600 0.78rem/1.6 var(--f-body); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 34px;
}
.hero .btn-row { justify-content: center; }
.hero__status { margin-top: 26px; font-size: 0.85rem; color: var(--muted); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 600 0.66rem/1 var(--f-body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  text-decoration: none;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* hero ignition sequence */
.js .hero__logo, .js .hero__slogan, .js .hero__tag, .js .hero .btn-row, .js .hero__status { opacity: 0; transform: translateY(16px); }
.js .hero__glow, .js .hero__layer { opacity: 0; }
.hero.is-lit .hero__glow { opacity: 1; transition: opacity 1.4s var(--ease); }
.hero.is-lit .hero__layer { opacity: 1; transition: opacity 2.4s var(--ease) 0.3s; }
.hero.is-lit .hero__logo { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) 0.2s, transform 1.4s var(--ease) 0.2s; }
.hero.is-lit .hero__slogan { opacity: 1; transform: none; transition: all 1.1s var(--ease) 0.9s; }
.hero.is-lit .hero__tag { opacity: 1; transform: none; transition: all 1.1s var(--ease) 1.1s; }
.hero.is-lit .btn-row { opacity: 1; transform: none; transition: all 1.1s var(--ease) 1.3s; }
.hero.is-lit .hero__status { opacity: 1; transform: none; transition: all 1.1s var(--ease) 1.5s; }

.embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(70px, 12vw, 150px)) 0 clamp(60px, 9vw, 110px);
  text-align: center;
  background: radial-gradient(ellipse 70% 70% at 50% 60%, #1a1311, var(--ink) 75%);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: -10% 0; z-index: -1; pointer-events: none; }
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: 0.65;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, #000 25%, transparent 75%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,6,8,.3), transparent 40%, rgba(7,6,8,.85));
}
.page-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9); }
.page-hero .lede { max-width: 720px; margin: 0 auto; }

/* ---------- framed art ---------- */
.frame {
  position: relative; margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--stone);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.frame::before, .frame::after { /* iron corners */
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
  border: 2px solid var(--gold);
}
.frame::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame--zoom:hover img { transform: scale(1.04); }
.frame figcaption, .caption {
  font-size: 0.82rem; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line);
  background: rgba(10, 9, 10, 0.9);
}
.frame--parallax { overflow: hidden; }
.frame--parallax img { height: 118%; margin-top: -9%; will-change: transform; }

/* ---------- split feature ---------- */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.split--rev { grid-template-columns: 1fr 1.1fr; }
.split--rev > :first-child { order: 2; }
.split__media .frame { aspect-ratio: 16 / 10; }
.split__body h2, .split__body h3 { margin-top: 0; }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px;
  background: var(--ember); transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(232, 115, 42, 0.7);
}
.ticks--arcane li::before { background: var(--arcane); box-shadow: 0 0 10px rgba(95, 168, 255, 0.7); }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }

.card {
  position: relative; overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(34, 29, 30, 0.75), rgba(16, 13, 15, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card::after { /* metal sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 230, 190, 0.1) 45%, transparent 60%);
  transform: translateX(-110%); transition: transform 0.9s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(214,170,98,.1), 0 0 40px rgba(232,115,42,.08); }
.card:hover::after { transform: translateX(110%); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid var(--line-strong); transform: rotate(45deg);
  background: radial-gradient(circle, rgba(232, 115, 42, 0.18), transparent 70%);
}
.card__icon svg { width: 24px; height: 24px; transform: rotate(-45deg); color: var(--gold-hi); }
.card__media { margin: calc(-1 * clamp(22px, 3vw, 32px)); margin-bottom: 22px; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card .status { margin-bottom: 14px; }
.card__meta { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 8px; }

/* feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.feature-strip a {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 14px 30px; text-decoration: none; color: var(--parch);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26,22,23,.6), rgba(12,10,12,.6));
  transition: background 0.35s;
}
.feature-strip a:last-child { border-right: 0; }
.feature-strip a:hover { background: linear-gradient(180deg, rgba(60,36,22,.55), rgba(18,13,13,.6)); }
.feature-strip svg { width: 34px; height: 34px; color: var(--gold); transition: color .3s, filter .3s, transform .4s var(--ease); }
.feature-strip a:hover svg { color: var(--ember-hi); filter: drop-shadow(0 0 8px rgba(255,150,60,.7)); transform: translateY(-3px); }
.feature-strip strong { font: 700 0.88rem/1.2 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; }
.feature-strip span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) {
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
  .feature-strip a:nth-child(3) { border-right: 0; }
  .feature-strip a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip a { border-bottom: 1px solid var(--line); }
  .feature-strip a:nth-child(3) { border-right: 1px solid var(--line); }
  .feature-strip a:nth-child(2n) { border-right: 0; }
}

/* ---------- disciplines ---------- */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: stretch; }
.duo__side { position: relative; }
.duo__side .frame { aspect-ratio: 4 / 3; }
.duo__side h3 { margin-top: 22px; }
.duo__side--mage h3 { color: var(--arcane-hi); }
.duo__side--warrior h3 { color: var(--ember-hi); }
.duo__switch {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font: 600 0.7rem/1.3 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: center;
}
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo__switch { flex-direction: row; padding: 10px 0; }
}
.keycap {
  display: inline-grid; place-items: center; min-width: 58px; height: 58px; padding: 0 12px;
  font: 700 1.3rem/1 var(--f-display); color: var(--parch);
  background: linear-gradient(180deg, #3a3233, #1a1516);
  border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,235,200,.2), 0 5px 0 #0b0909, 0 8px 18px rgba(0,0,0,.6);
}
.keycap.is-pressed { animation: keypress 0.5s var(--ease); }
@keyframes keypress { 40% { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255,235,200,.2), 0 1px 0 #0b0909, 0 0 26px rgba(255,160,70,.6); } }

.discipline {
  --accent: var(--ember-hi);
  position: relative;
}
.discipline--mage { --accent: var(--arcane-hi); }
.discipline .eyebrow { color: var(--accent); }
.discipline .eyebrow::before { background: linear-gradient(90deg, transparent, var(--accent)); }
.discipline .eyebrow::after { background: linear-gradient(90deg, transparent, var(--accent)); }
.meta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 24px 0; }
.meta-row div { background: var(--char); padding: 14px 16px; }
.meta-row dt { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.meta-row dd { margin: 4px 0 0; font-family: var(--f-display); color: var(--parch); font-size: 0.95rem; }
@media (max-width: 520px) { .meta-row { grid-template-columns: 1fr; } }

.abilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; margin-top: 40px; }
.ability { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 18px; }
.ability__img { width: 66px; height: 66px; overflow: hidden; border: 1px solid var(--accent, var(--line-strong)); transform: rotate(45deg); margin: 15px; box-shadow: 0 0 18px rgba(0,0,0,.6); }
.ability__img img { width: 142%; height: 142%; max-width: none; object-fit: cover; transform: rotate(-45deg) translate(-4%, -18%); }
.ability h4 { margin: 0 0 4px; color: var(--accent, var(--parch)); font-size: 1rem; }
.ability p { font-size: 0.9rem; margin: 0; color: #c2b8a8; }
.ability .tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* switch sequence */
.sequence { position: relative; }
.sequence__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.sequence__frame {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease);
}
.sequence__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 5s linear; }
.sequence__frame.is-active { opacity: 1; }
.sequence__frame.is-active img { transform: scale(1); }
.sequence__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.8)); }
.sequence__hud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: clamp(14px, 3vw, 30px);
}
.sequence__caption h3 { margin: 0 0 4px; font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
.sequence__caption p { margin: 0; color: #d6ccbb; font-size: 0.95rem; max-width: 520px; }
.sequence__mode {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font: 700 0.7rem/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase;
}
.sequence__mode[data-mode="mage"] { color: var(--arcane-hi); }
.sequence__mode[data-mode="warrior"] { color: var(--ember-hi); }
.sequence__flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 60%, rgba(255,220,170,.55), rgba(95,168,255,.25) 40%, transparent 70%); }
.sequence__flash.is-on { animation: flash 0.7s var(--ease); }
@keyframes flash { 20% { opacity: 1; } 100% { opacity: 0; } }
.sequence__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; list-style: none; padding: 0; }
.sequence__steps button {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; border-top: 2px solid var(--stone-3); padding: 12px 4px 0;
  color: var(--muted); font: 600 0.78rem/1.35 var(--f-body);
  transition: color 0.3s, border-color 0.3s;
}
.sequence__steps button span { display: block; font-family: var(--f-display); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold-lo); }
.sequence__steps button[aria-current="step"] { color: var(--parch); border-top-color: var(--ember); }
.sequence__steps button[aria-current="step"] span { color: var(--gold); }
@media (max-width: 640px) {
  .sequence__steps { grid-template-columns: repeat(2, 1fr); }
  .sequence__hud .keycap { display: none; }
}

/* turnaround */
.turnaround { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .turnaround { grid-template-columns: 1fr; } }
.turnaround__stage {
  position: relative; aspect-ratio: 4 / 5; cursor: grab; touch-action: pan-y;
  background:
    radial-gradient(ellipse 40% 8% at 50% 92%, rgba(0,0,0,.8), transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(232,115,42,.14), transparent 70%),
    linear-gradient(180deg, #120f10, #0a090a);
  border: 1px solid var(--line);
  user-select: none;
}
.turnaround__stage:active { cursor: grabbing; }
.turnaround__stage img {
  position: absolute; left: 50%; bottom: 4%; height: 92%; width: auto; max-width: none;
  transform: translateX(-50%); opacity: 0; transition: opacity 0.35s;
  filter: drop-shadow(0 0 1px rgba(255,190,120,.35)) drop-shadow(0 20px 30px rgba(0,0,0,.7));
  pointer-events: none;
}
.turnaround__stage img.is-active { opacity: 1; }
.turnaround__ring {
  position: absolute; left: 50%; bottom: 3%; width: 70%; height: 12%; transform: translateX(-50%);
  border: 1px solid rgba(214,170,98,.35); border-radius: 50%;
}
.turnaround__ring i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ember-hi); box-shadow: 0 0 12px var(--ember); left: 50%; top: 100%; transform: translate(-50%, -50%); transition: left .5s var(--ease), top .5s var(--ease); }
.turnaround__hint { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.turnaround__controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.turnaround__controls button {
  flex: 1; min-width: 70px; padding: 10px 8px; cursor: pointer;
  background: var(--stone); color: var(--muted); border: 1px solid var(--line);
  font: 600 0.72rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.turnaround__controls button[aria-pressed="true"] { color: var(--gold-hi); border-color: var(--gold); }

/* ---------- screenshot slot ---------- */
.shot { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-strong); background: var(--stone); }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot > img[src=""], .shot > img:not([src]) { display: none; }
.shot__ph {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(214,170,98,.035) 0 2px, transparent 2px 14px),
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(232,115,42,.10), transparent 70%),
    linear-gradient(180deg, #19151a, #0c0a0c);
}
.shot:has(> img[src=""]) .shot__ph, .shot:has(> img:not([src])) .shot__ph { display: flex; }
.shot__ph::before { /* viewfinder corners */
  content: ""; position: absolute; inset: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 18px no-repeat;
  opacity: 0.6;
}
.shot__ph img { width: 30px; opacity: 0.55; filter: grayscale(0.4); }
.shot__ph .status { font-size: 0.62rem; }
.shot__cap { font: 600 clamp(0.8rem, 1.4vw, 0.95rem)/1.35 var(--f-display); color: var(--parch); letter-spacing: 0.05em; max-width: 90%; }
.shot figcaption.sr-only + * { display: none; }

/* ---------- media gallery / lightbox ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filters button {
  padding: 10px 18px; cursor: pointer; background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  font: 600 0.74rem/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase;
  transition: color .2s, border-color .2s, background .2s;
}
.filters button[aria-pressed="true"], .filters button:hover { color: var(--gold-hi); border-color: var(--gold); background: rgba(214,170,98,.06); }
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery a {
  position: relative; display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden;
  border: 1px solid var(--line); background: var(--stone);
}
.gallery a img { width: 100%; transition: transform 0.9s var(--ease), filter 0.4s; }
.gallery a::after {
  content: attr(data-title); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  font: 700 0.82rem/1.2 var(--f-display); letter-spacing: 0.1em; color: var(--parch);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: none; }
.gallery a[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 3, 4, 0.96);
  grid-template-rows: 1fr auto; padding: 60px 70px 20px;
}
.lightbox.is-open { display: grid; }
.lightbox__img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; align-self: center; justify-self: center; box-shadow: 0 0 80px rgba(0,0,0,.8); }
.lightbox__cap { text-align: center; padding: 14px 0 0; color: var(--text); font-size: 0.95rem; }
.lightbox__cap strong { display: block; font-family: var(--f-display); color: var(--parch); letter-spacing: 0.08em; }
.lightbox__count { color: var(--muted); font-size: 0.8rem; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: rgba(20,16,17,.8); color: var(--parch); border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 1.3rem; line-height: 1;
}
.lightbox button:hover { border-color: var(--gold); color: #fff; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 10px 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/* trailer placeholder */
.trailer { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.trailer video { width: 100%; height: 100%; display: block; background: #000; }
.trailer__poster { position: absolute; inset: 0; }
.trailer__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.trailer__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.75)); }
.trailer__center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 20px; }
.play {
  width: clamp(70px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); background: rgba(10,8,9,.55); backdrop-filter: blur(4px);
  box-shadow: 0 0 0 10px rgba(214,170,98,.08), 0 0 50px rgba(232,115,42,.3);
  animation: glow-ring 3s ease-in-out infinite;
}
.play svg { width: 34%; color: var(--gold-hi); margin-left: 6%; }
@keyframes glow-ring { 50% { box-shadow: 0 0 0 18px rgba(214,170,98,.03), 0 0 70px rgba(232,115,42,.45); } }
.trailer__center p { margin: 0; font: 700 clamp(1rem, 2.2vw, 1.5rem)/1.2 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--parch); }

/* ---------- roadmap ---------- */
.roadmap { position: relative; list-style: none; margin: 0; padding: 0; }
.roadmap::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--ember) 0%, var(--gold) var(--progress, 40%), var(--stone-3) var(--progress, 40%));
}
.phase { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 50px; }
.phase__node {
  position: absolute; left: 50%; top: 26px; width: 22px; height: 22px; transform: translateX(-50%) rotate(45deg);
  background: var(--stone-3); border: 2px solid var(--muted); z-index: 2;
}
.phase[data-status="done"] .phase__node { background: var(--gold); border-color: var(--gold-hi); }
.phase[data-status="progress"] .phase__node { background: var(--ember); border-color: var(--ember-hi); box-shadow: 0 0 20px var(--ember); animation: node 2s ease-in-out infinite; }
@keyframes node { 50% { box-shadow: 0 0 34px var(--ember-hi); } }
.phase__card { grid-column: 1; }
.phase:nth-child(even) .phase__card { grid-column: 2; }
.phase__card .card { height: 100%; }
.phase__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.phase__when { font: 600 0.74rem/1 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.phase h3 { margin: 6px 0 10px; }
.phase ul { list-style: none; padding: 0; margin: 14px 0 0; }
.phase li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid rgba(214,170,98,.08); font-size: 0.93rem; }
.phase li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 12px; border: 1px solid var(--muted); border-radius: 2px; }
.phase li.is-done::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--char); }
.phase li.is-progress::before { border-color: var(--ember-hi); background: linear-gradient(90deg, var(--ember) 50%, transparent 50%); }
@media (max-width: 860px) {
  .roadmap::before { left: 11px; }
  .phase { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .phase__node { left: 11px; }
  .phase:nth-child(even) .phase__card { grid-column: 1; }
}
.roadmap-glance { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; position: relative; }
.roadmap-glance li { position: relative; padding: 46px 12px 0; text-align: center; }
.roadmap-glance li::before { content: ""; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: var(--stone-3); }
.roadmap-glance li[data-status="done"]::before { background: var(--gold); }
.roadmap-glance li[data-status="progress"]::before { background: linear-gradient(90deg, var(--gold), var(--ember) 50%, var(--stone-3) 50%); }
.roadmap-glance li::after {
  content: ""; position: absolute; top: 9px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg);
  background: var(--char); border: 2px solid var(--muted);
}
.roadmap-glance li[data-status="done"]::after { background: var(--gold); border-color: var(--gold-hi); }
.roadmap-glance li[data-status="progress"]::after { background: var(--ember); border-color: var(--ember-hi); box-shadow: 0 0 16px var(--ember); }
.roadmap-glance strong { display: block; font: 700 0.95rem/1.2 var(--f-display); color: var(--parch); margin-bottom: 8px; }
.roadmap-glance .status { font-size: 0.6rem; }
@media (max-width: 860px) {
  .roadmap-glance { grid-template-columns: 1fr; }
  .roadmap-glance li { padding: 0 0 22px 40px; text-align: left; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
  .roadmap-glance li strong { margin: 0; }
  .roadmap-glance li::before { top: 0; bottom: 0; left: 15px; right: auto; width: 2px; height: auto; }
  .roadmap-glance li[data-status="progress"]::before { background: linear-gradient(180deg, var(--ember) 50%, var(--stone-3) 50%); }
  .roadmap-glance li::after { top: 4px; left: 16px; }
}

/* ---------- patch notes ---------- */
.patch { margin-bottom: 26px; }
.patch__head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: baseline; margin-bottom: 6px; }
.patch__ver { font: 900 clamp(1.4rem, 3vw, 2rem)/1 var(--f-display); color: var(--gold-hi); }
.patch__date { color: var(--muted); font-size: 0.9rem; }
.patch h3 { font-size: 1.15rem; margin: 0 0 18px; color: var(--parch); }
.patch__group { margin-top: 18px; }
.patch__group h4 {
  display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 2px;
  font: 700 0.68rem/1 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase;
}
.patch__group--new h4 { background: rgba(143,196,122,.12); color: var(--ok); }
.patch__group--changes h4 { background: rgba(95,168,255,.12); color: var(--arcane-hi); }
.patch__group--fixes h4 { background: rgba(232,115,42,.12); color: var(--ember-hi); }
.patch__group ul { margin: 0; padding-left: 1.1em; }
.patch__group li { margin-bottom: 6px; font-size: 0.95rem; }
.patch__group li::marker { color: var(--gold-lo); }
.patch-mini { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.patch-mini:hover strong { color: var(--gold-hi); }
.patch-mini .patch__ver { font-size: 1.1rem; min-width: 90px; }
.patch-mini strong { color: var(--parch); font-weight: 600; display: block; transition: color .2s; }
.patch-mini small { color: var(--muted); }

/* ---------- news ---------- */
.news-card .card__media { aspect-ratio: 16 / 9; }
.news-card h3 { font-size: 1.2rem; }
.news-card--feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; padding: 0; }
.news-card--feature .card__media { margin: 0; aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
.news-card--feature .news-card__body { padding: clamp(24px, 4vw, 44px); align-self: center; }
@media (max-width: 860px) {
  .news-card--feature { grid-template-columns: 1fr; }
  .news-card--feature .card__media { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
}
.article { font-size: 1.06rem; }
.article > p:first-of-type { font-family: var(--f-lede); font-size: 1.35rem; line-height: 1.55; color: #d8ccb6; }
.article h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 1.6em; }
.article figure { margin: 2em 0; }
.article blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ember); font-family: var(--f-lede); font-style: italic; font-size: 1.35rem; color: var(--parch); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
.article-cover { margin-top: -40px; position: relative; z-index: 2; aspect-ratio: 16 / 8; }

/* ---------- world ---------- */
.silhouette-card { text-align: center; padding-top: 0; }
.silhouette-card .sil {
  height: 240px; margin: 0 calc(-1 * clamp(22px, 3vw, 32px)) 22px; display: grid; place-items: end center;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(232,115,42,.18), transparent 70%), linear-gradient(180deg, #0d0b0d, #171314);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.silhouette-card svg { height: 88%; width: auto; color: #050405; filter: drop-shadow(0 0 1px rgba(255,170,90,.8)) drop-shadow(0 0 18px rgba(232,115,42,.3)); transition: filter .5s, transform .8s var(--ease); }
.silhouette-card:hover svg { filter: drop-shadow(0 0 1px rgba(255,200,120,1)) drop-shadow(0 0 28px rgba(232,115,42,.55)); transform: translateY(-4px); }
.silhouette-card h3 { letter-spacing: 0.2em; }
.silhouette-card--quiet svg .lag { opacity: .35; transform: translateX(12px); animation: lag 5s ease-in-out infinite; }
@keyframes lag { 50% { transform: translateX(4px); } }
.redacted { display: inline-block; background: #2b2426; color: transparent; border-radius: 2px; user-select: none; line-height: 1.1; }

/* ---------- workbench ---------- */
.node-graph { width: 100%; height: auto; display: block; }
.node-graph .wire { fill: none; stroke: rgba(214,170,98,.45); stroke-width: 2; }
.node-graph .wire--live { stroke: var(--ember-hi); stroke-dasharray: 6 10; animation: wire 1.6s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -32; } }
.node-graph .node rect { fill: #151214; stroke: rgba(214,170,98,.5); }
.node-graph .node .head { fill: #2a2123; stroke: none; }
.node-graph text { font-family: var(--f-body); font-size: 12px; fill: #d8cfc0; }
.node-graph .node .title { font-family: var(--f-display); font-size: 13px; font-weight: 700; fill: var(--gold-hi); letter-spacing: .06em; }
.node-graph .port { fill: var(--gold); }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin-top: 30px; }
.highlight { padding: 20px; border-left: 2px solid var(--ember); background: linear-gradient(90deg, rgba(232,115,42,.07), transparent); }
.highlight h4 { margin: 0 0 6px; color: var(--parch); }
.highlight p { margin: 0; font-size: 0.92rem; color: #c2b8a8; }
.highlights--arcane .highlight { border-left-color: var(--arcane); background: linear-gradient(90deg, rgba(95,168,255,.07), transparent); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 50px 24px 0; font: 700 clamp(1rem, 2vw, 1.2rem)/1.35 var(--f-display); color: var(--parch);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--gold-hi); }
.faq .faq__a { padding: 0 0 24px; color: #cfc5b5; max-width: 72ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 8px; font: 600 0.74rem/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--parch);
  background: rgba(8,7,8,.8); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,170,98,.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { display: block; min-height: 1.2em; margin-top: 6px; color: var(--danger); font-size: 0.85rem; }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.social { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--parch); }
.social svg { width: 34px; height: 34px; flex: none; color: var(--gold); transition: color .3s, transform .4s var(--ease); }
.social:hover svg { color: var(--ember-hi); transform: scale(1.1); }
.social strong { display: block; font-family: var(--f-display); letter-spacing: .08em; }
.social small { color: var(--muted); }
.social--primary { grid-column: 1 / -1; padding: clamp(26px, 4vw, 40px); background: linear-gradient(120deg, rgba(88,101,242,.16), rgba(20,16,18,.9) 60%); border-color: rgba(128,140,255,.35); }
.social--primary svg { width: 56px; height: 56px; color: #aab3ff; }
.social--primary strong { font-size: 1.5rem; }

/* ---------- press ---------- */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; border: 1px solid var(--line); margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 0.72rem/1.6 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(214,170,98,.04); border-right: 1px solid var(--line); }
.facts dd { color: var(--parch); }
.facts > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { border-right: 0; border-bottom: 0; padding-bottom: 0; background: none; } }
.download { display: flex; flex-direction: column; gap: 14px; }
.download__preview { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #0a090a; border: 1px solid var(--line); overflow: hidden; }
.download__preview img { max-height: 90%; width: auto; max-width: 90%; object-fit: contain; }
.download__preview--cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.download small { color: var(--muted); }

/* ---------- final CTA ---------- */
.cta-final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(232,115,42,.22), transparent 70%), var(--ink);
  border-top: 1px solid var(--line);
}
.cta-final__bg { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 70%); }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.cta-final__torch { width: 58px; margin: 0 auto 20px; }

/* ---------- footer ---------- */
.site-footer { background: #050405; border-top: 1px solid var(--line); padding: 70px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { width: 200px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.site-footer h4 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #bfb4a3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(214,170,98,.1); color: var(--muted); font-size: 0.8rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- atmospheric art placeholder (for art we do not have yet) ---------- */
.art-ph {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 240px; overflow: hidden;
  background:
    radial-gradient(ellipse 45% 55% at 50% 60%, rgba(232,115,42,.22), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(214,170,98,.12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #151114, #0a0809);
}
.art-ph--arcane { background:
    radial-gradient(ellipse 45% 55% at 50% 55%, rgba(95,168,255,.2), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #10121a, #08080b); }
.art-ph svg { width: 34%; max-width: 150px; height: auto; color: rgba(243,212,154,.55); filter: drop-shadow(0 0 22px rgba(232,115,42,.45)); }
.art-ph--arcane svg { color: rgba(169,212,255,.55); filter: drop-shadow(0 0 22px rgba(95,168,255,.45)); }
.art-ph .status { position: absolute; top: 18px; right: 18px; }

/* sub navigation chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.chips a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font: 600 0.74rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; background: rgba(0,0,0,.35); transition: border-color .2s, color .2s; }
.chips a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* then vs now comparison */
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 0.78rem/1.3 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); background: rgba(214,170,98,.05); }
.compare tbody th { font-weight: 600; color: var(--muted); font-size: 0.85rem; letter-spacing: .06em; width: 22%; }
.compare td:last-child { color: var(--parch); }
.compare td:last-child::before { content: "◆ "; color: var(--ember); font-size: .7em; vertical-align: 2px; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: grid; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .compare th, .compare td { border: 0; padding: 4px 16px; width: auto; }
  .compare td:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(232,115,42,.6); }
}

.feature-section + .feature-section { border-top: 1px solid var(--line); }
.feature-section .split__media .frame, .feature-section .split__media .art-ph { aspect-ratio: 16 / 10; }
.feature-section h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.feature-section h2 .status { font-size: 0.64rem; }

/* ---------- utilities ---------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 6vw, 70px); }
.notice { padding: 16px 20px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 0.9rem; text-align: center; }
.loading { color: var(--muted); font-style: italic; }
.quote-strip { font-family: var(--f-lede); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.4; color: var(--parch); text-align: center; max-width: 900px; margin: 0 auto; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__logo, .js .hero__slogan, .js .hero__tag, .js .hero .btn-row, .js .hero__status, .js .hero__glow, .js .hero__layer { opacity: 1; transform: none; }
  .embers { display: none; }
  .hero__glow { transform: translate(-50%, -50%); }
}
