:root {
  --ink: #05070b;
  --ink-soft: #0a0d14;
  --panel: #0d1119;
  --line: rgba(211, 223, 255, 0.16);
  --line-strong: rgba(211, 223, 255, 0.3);
  --paper: #edf1f7;
  --muted: #9aa4b5;
  --cold: #b8ceff;
  --violet: #8c7ee8;
  --cyan: #69dbe3;
  --warm: #cda176;
  --header-height: 76px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
::selection { color: #030407; background: #bdcbf1; }

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #05070b;
  background: #eef3ff;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.page-atmosphere {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 83px, rgba(255,255,255,0.018) 84px),
    radial-gradient(circle at 23% 16%, rgba(142, 152, 205, 0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 81% 63%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.5px);
  background-size: auto, 113px 157px, 173px 127px;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: height 240ms ease, background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(5, 7, 11, 0.88);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand-sigil {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font: 700 18px/1 var(--serif);
  transform: rotate(45deg);
}

.brand-sigil::first-letter { transform: rotate(-45deg); }

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 600 15px/1 var(--serif); letter-spacing: 0.24em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font: 600 8px/1 var(--sans); letter-spacing: 0.32em; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #b7bfcc;
  font: 700 10px/1 var(--sans);
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.site-nav a:nth-last-child(2) { color: #b8adff; }
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active { color: #fff; }
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: max(800px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(24px, 5vw, 88px);
  padding: calc(var(--header-height) + 74px) clamp(24px, 6.4vw, 110px) 100px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5,7,11,0.96) 0%, rgba(5,7,11,0.78) 46%, rgba(5,7,11,0.18) 100%),
    radial-gradient(ellipse at 72% 48%, rgba(76, 94, 143, 0.32), transparent 52%),
    #05070b;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -25vw;
  right: -11vw;
  width: 76vw;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(184, 206, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(184, 206, 255, 0.014), 0 0 0 18vw rgba(184, 206, 255, 0.009);
}

.hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, #05070b);
}

.hero-copy { z-index: 3; max-width: 690px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--cold);
  font: 700 clamp(9px, 0.74vw, 11px)/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding-right: 0.1em;
  color: transparent;
  background: linear-gradient(110deg, #ffffff 12%, #a8b4cd 58%, #697189 92%);
  -webkit-background-clip: text;
  background-clip: text;
  font: 500 clamp(68px, 8.4vw, 146px)/0.82 var(--serif);
  letter-spacing: -0.07em;
  white-space: nowrap;
  text-shadow: 0 22px 60px rgba(154, 177, 224, 0.08);
}

.hero-claim {
  max-width: 690px;
  margin: 34px 0 16px;
  color: #f2f3f8;
  font: italic 400 clamp(25px, 2.35vw, 40px)/1.22 var(--serif);
}

.hero-prose { max-width: 670px; color: #aab3c1; font-size: clamp(15px, 1.08vw, 17px); }
.hero-prose p { margin: 0 0 12px; }
.hero-prose .hero-final { margin-top: 18px; color: #edf1f8; font: 600 18px/1.45 var(--serif); }
.genre-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; color: #768297; font: 700 9px/1.5 var(--sans); letter-spacing: 0.2em; }
.genre-line i { width: 3px; height: 3px; border-radius: 50%; background: #aebee2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  background: transparent;
  font: 700 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #05070b; background: #e6ebf4; border-color: #e6ebf4; }
.button-primary:hover,
.button-primary:focus-visible { background: #fff; border-color: #fff; }
.button-ghost:hover,
.button-ghost:focus-visible { color: #fff; border-color: #dfe7f8; background: rgba(255,255,255,0.05); }

.hero-art {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(43vw, 660px);
  margin: 0;
}
.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 8% -14% 4%;
  content: "";
  filter: blur(36px);
  background: radial-gradient(ellipse, rgba(151, 177, 225, 0.22), transparent 67%);
}
.hero-art-frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 91% 100%, 0 100%, 0 8%);
  box-shadow: 0 36px 90px rgba(0,0,0,0.68);
}
.hero-art-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(225,235,255,0.22), inset 0 -120px 120px rgba(1,3,8,0.48);
  background: linear-gradient(90deg, rgba(5,7,11,0.28), transparent 30%, transparent 80%, rgba(5,7,11,0.18));
}
.hero-art img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-art figcaption { display: grid; gap: 7px; margin-top: 14px; color: #8c98aa; font: 700 9px/1.3 var(--sans); letter-spacing: 0.18em; }
.hero-art figcaption strong { color: #c9d2e1; font: 400 15px/1.3 var(--serif); letter-spacing: 0.03em; }

.hero-index { position: absolute; z-index: 3; top: 48%; left: 22px; display: grid; gap: 46px; color: #586174; font: 700 8px/1 var(--sans); letter-spacing: 0.2em; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-index b { color: #9eabc0; font-weight: 700; }
.scroll-cue { position: absolute; z-index: 4; bottom: 32px; left: clamp(24px, 6.4vw, 110px); display: flex; align-items: center; gap: 13px; color: #788397; font: 700 8px/1 var(--sans); letter-spacing: 0.25em; text-decoration: none; }
.scroll-cue span { position: relative; width: 48px; height: 1px; overflow: hidden; background: rgba(255,255,255,0.2); }
.scroll-cue span::after { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; content: ""; background: #c8d8ff; animation: scan 2.5s ease-in-out infinite; }

@keyframes scan { 0% { left: -100%; } 55%, 100% { left: 100%; } }

.section {
  position: relative;
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: clamp(110px, 12vw, 190px) clamp(24px, 6.4vw, 110px);
}
.section-number {
  position: absolute;
  top: clamp(78px, 9vw, 142px);
  right: clamp(24px, 6.4vw, 110px);
  color: rgba(210,220,240,0.34);
  font: 700 9px/1 var(--sans);
  letter-spacing: 0.36em;
  writing-mode: vertical-rl;
}
.section-heading { position: relative; z-index: 2; max-width: 900px; }
.section h2,
.aftermath h2,
.closing h2 {
  margin: 0;
  color: #f2f3f6;
  font: 400 clamp(42px, 6vw, 88px)/0.98 var(--serif);
  letter-spacing: -0.045em;
}
.world-intro { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 70px 7vw; }
.world-copy { align-self: start; max-width: 760px; padding-top: 60px; }
.lead { color: #e3e7ef; font: italic 400 clamp(21px, 2.1vw, 31px)/1.35 var(--serif); }
.world-copy p:not(.lead), .aftermath-copy > p:not(.eyebrow, .lead) { color: var(--muted); }
.lore-body { color: #9ba4b3; }
.lore-body p { margin: 0 0 17px; }
.lore-body p:last-child { margin-bottom: 0; }
.lore-body .lore-emphasis,
.lore-emphasis { color: #e1e5ed; font-family: var(--serif); font-size: 1.08em; font-weight: 600; }

.aftermath {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: clamp(110px, 13vw, 190px) clamp(24px, 8vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(115,124,171,0.13), transparent 48%),
    linear-gradient(180deg, rgba(8,11,17,0.84), rgba(8,11,17,0.98)),
    #080b11;
  border-block: 1px solid var(--line);
}
.aftermath-copy { position: relative; z-index: 2; max-width: 930px; text-align: left; }
.aftermath-copy .lore-body { max-width: 780px; margin-top: 46px; }
.aftermath-copy blockquote { margin: 52px 0 0; padding: 24px 0 24px 28px; border-left: 1px solid #91a6d6; color: #dce3ef; font: italic 400 clamp(22px, 2vw, 30px)/1.46 var(--serif); }

.continents { position: relative; background: #06080c; }
.continents-intro { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 34px 8vw; padding-bottom: 120px; }
.continents-lead { max-width: 660px; align-self: end; margin: 0; font-size: 17px; }

.continent-panel {
  --accent: #b7c5de;
  --accent-rgb: 183, 197, 222;
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.035), transparent 58%), #07090d;
  scroll-margin-top: 63px;
}
.continent-panel::before {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: clamp(24px, 6.4vw, 110px);
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(var(--accent-rgb),0.45), transparent);
}
.continent-panel:nth-of-type(even)::before { right: clamp(24px, 6.4vw, 110px); left: auto; }
.continent-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 1020px);
  margin-left: clamp(24px, 12vw, 220px);
  padding: clamp(95px, 11vw, 165px) clamp(34px, 8vw, 130px);
}
.continent-panel:nth-of-type(even) .continent-copy { margin-right: clamp(24px, 12vw, 220px); margin-left: auto; text-align: right; }
.continent-count {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 2%;
  margin: 0;
  color: rgba(var(--accent-rgb),0.065);
  font: 400 clamp(190px, 27vw, 420px)/0.7 var(--serif);
  transform: translateY(-50%);
}
.continent-panel:nth-of-type(even) .continent-count { right: auto; left: 2%; }
.continent-copy .eyebrow { color: var(--accent); }
.continent-copy h3 { margin: 0; color: #eef0f4; font: 400 clamp(55px, 6vw, 96px)/0.86 var(--serif); letter-spacing: -0.055em; }
.continent-claim { margin: 30px 0 16px; color: #e0e3ea; font: italic 400 clamp(21px, 1.8vw, 28px)/1.3 var(--serif); }
.continent-body { max-width: 760px; margin-top: 34px; }
.continent-panel:nth-of-type(even) .continent-body { margin-left: auto; }
.continent-verse {
  max-width: 780px;
  margin: 38px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(var(--accent-rgb),0.22);
  color: rgba(var(--accent-rgb),0.82);
  font: 600 italic clamp(18px, 1.55vw, 23px)/1.55 var(--serif);
}
.continent-panel:nth-of-type(even) .continent-verse { margin-left: auto; }

.void-continent { --accent: #c8ced5; --accent-rgb: 200, 206, 213; background: linear-gradient(120deg, rgba(200,206,213,0.075), transparent 52%), #080a0e; }
.ash-continent { --accent: #c78d62; --accent-rgb: 199, 141, 98; background: linear-gradient(240deg, rgba(153,78,40,0.12), transparent 55%), #0d0909; }
.flesh-continent { --accent: #b9b7a9; --accent-rgb: 185, 183, 169; background: linear-gradient(120deg, rgba(119,143,119,0.095), transparent 55%), #0b0c0b; }
.deep-continent { --accent: #59d4d9; --accent-rgb: 89, 212, 217; background: linear-gradient(240deg, rgba(27,139,151,0.12), transparent 56%), #03080b; }
.sky-continent { --accent: #ada9ef; --accent-rgb: 173, 169, 239; background: linear-gradient(120deg, rgba(102,93,188,0.13), transparent 55%), #070711; }

.magic { padding-top: clamp(130px, 14vw, 220px); }
.magic-prologue { max-width: 820px; margin: 58px 0 0 auto; font-size: 17px; }
.magic-grid { max-width: 1100px; display: grid; grid-template-columns: 1fr; margin: 90px auto 0; border-block: 1px solid var(--line); }
.magic-grid article { position: relative; padding: 62px clamp(10px, 5vw, 74px); border-bottom: 1px solid var(--line); }
.magic-grid article:last-child { border-bottom: 0; }
.magic-grid h3 { max-width: 720px; margin: 0 0 32px; color: #e1e6f0; font: 400 clamp(30px, 3vw, 44px)/1.08 var(--serif); }
.magic-grid .lore-body { max-width: 760px; }
.card-claim { margin: 0 0 22px; color: #b9c8eb; font: italic 400 18px/1.4 var(--serif); }
.magic-grid article > p:last-child { position: relative; z-index: 2; color: #8e99aa; }

.horror { display: block; }
.horror-heading { max-width: 1040px; }
.horror-prologue { max-width: 820px; margin: 55px 0 85px auto; font-size: 17px; }
.horror-list { max-width: 1120px; margin-left: auto; border-top: 1px solid var(--line); }
.horror-list article { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.horror-list article > span { color: #79859b; font: 500 11px/1 var(--sans); }
.horror-list h3 { margin: 0 0 12px; font: 400 clamp(27px, 2.5vw, 38px)/1.1 var(--serif); }
.horror-list .lore-body { max-width: 850px; }
.horror-quote { grid-column: 1 / -1; margin: 70px auto 0; max-width: 970px; color: #b7beca; font: 400 clamp(26px, 3.4vw, 50px)/1.35 var(--serif); text-align: center; }
.horror-quote em { color: #eef1f6; }

.deathbound {
  position: relative;
  min-height: 1000px;
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(420px, 0.88fr);
  align-items: start;
  gap: 5vw;
  padding: clamp(120px, 12vw, 190px) clamp(24px, 6.4vw, 110px) 90px;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid rgba(132,116,224,0.22);
  background: #020205;
}
.deathbound-backdrop { position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 72% 54%, rgba(57,26,150,0.28), transparent 40%), radial-gradient(circle at 60% 75%, rgba(0,159,211,0.12), transparent 27%), linear-gradient(125deg, #020205 20%, #070512 80%); }
.deathbound-copy { z-index: 3; max-width: 780px; }
.deathbound-copy h2 { margin: 0; color: #e7e8f2; }
.deathbound-copy h2 span { display: block; }
.deathbound-copy h2 .deathbound-word { color: #737da7; font: 700 clamp(16px, 1.8vw, 28px)/1 var(--sans); letter-spacing: 0.12em; }
.deathbound-copy h2 .nightscar-word { margin-top: 0.18em; color: #e7e8f2; font: 500 clamp(55px, 6.2vw, 100px)/0.86 var(--serif); letter-spacing: -0.065em; }
.deathbound-claim { margin: 48px 0 22px; color: #eeeff9; font: italic 400 clamp(26px, 2.6vw, 42px)/1.2 var(--serif); }
.deathbound-copy .lore-body { margin-top: 34px; }
.deathbound-art { position: sticky; z-index: 2; top: 92px; width: min(42vw, 680px); justify-self: center; margin: 0; }
.deathbound-art img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 40px 50px #000); }
.deathbound-pillars { grid-column: 1 / -1; z-index: 3; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 80px; border-block: 1px solid rgba(143,132,218,0.19); }
.deathbound-pillars article { min-height: 120px; padding: clamp(38px, 5vw, 70px); border-right: 1px solid rgba(143,132,218,0.19); border-bottom: 1px solid rgba(143,132,218,0.19); text-align: left; }
.deathbound-pillars article:nth-child(even) { border-right: 0; }
.deathbound-pillars article:nth-last-child(-n+2) { border-bottom: 0; }
.deathbound-pillars article::before { display: block; margin-bottom: 25px; color: #6c6894; content: "◆"; font-size: 7px; }
.deathbound-pillars h3 { margin: 0 0 26px; color: #d0d3e3; font: 400 clamp(24px, 2.1vw, 34px)/1.18 var(--serif); }
.deathbound-pillars .lore-body { max-width: 650px; }
.deathbound-oath { grid-column: 1 / -1; z-index: 3; max-width: 1060px; margin: 70px auto 0; color: #d8daea; font: 600 clamp(18px, 2.1vw, 28px)/1.45 var(--serif); letter-spacing: 0.035em; text-align: center; }

.gallery { padding-bottom: clamp(130px, 15vw, 220px); }
.gallery-intro { max-width: 800px; margin: 52px 0 0 auto; font-size: 17px; }
.gallery-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: end; gap: clamp(18px, 3vw, 48px); margin-top: 70px; }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #090b10; cursor: zoom-in; text-align: left; }
.gallery-item::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(235,241,255,0.16), inset 0 -170px 130px rgba(2,4,8,0.94); transition: box-shadow 280ms ease; }
.gallery-item img { width: 100%; height: auto; object-fit: contain; transition: transform 800ms cubic-bezier(.2,.8,.2,1), filter 300ms ease; }
.gallery-deathbound { background: #020205; }
.gallery-item > span { position: absolute; z-index: 2; right: 28px; bottom: 27px; left: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.gallery-item small { color: #9ba8be; font: 700 9px/1.3 var(--sans); letter-spacing: 0.2em; }
.gallery-item strong { font: 400 clamp(25px, 2.3vw, 37px)/1 var(--serif); }
.gallery-item i { margin-top: 5px; color: #adb8ca; font: normal 700 8px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; }
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.025); filter: brightness(1.08); }
.gallery-item:focus-visible { outline: 2px solid #d8e4ff; outline-offset: 4px; }

.closing {
  position: relative;
  min-height: 790px;
  display: grid;
  place-items: center;
  padding: 140px 24px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, #06080c, #080b12 48%, #05070a);
}
.closing-copy { position: relative; z-index: 3; max-width: 930px; }
.closing-copy h2 { font-size: clamp(42px, 5.2vw, 78px); }
.closing-copy .lore-body { max-width: 760px; margin: 42px auto 0; color: #a6afbd; font: 400 clamp(17px, 1.5vw, 22px)/1.55 var(--serif); }
.closing-copy p em { color: #e2e7ef; }
.closing-copy .button { margin-top: 46px; }
.site-footer { min-height: 170px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; padding: 35px clamp(24px, 6.4vw, 110px); border-top: 1px solid var(--line); color: #606a7b; background: #030407; font: 600 9px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.footer-brand { color: #bdc7d9; font: 500 19px/1 var(--serif); letter-spacing: 0.18em; text-decoration: none; }
.site-footer p { margin: 0; text-align: center; }
.site-footer .copyright { text-align: right; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(2,3,6,0.97);
}
.lightbox::backdrop { background: rgba(0,0,0,0.94); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; place-items: center; }
.lightbox figure { max-width: min(84vw, 1000px); max-height: 88dvh; display: grid; grid-template-rows: minmax(0,1fr) auto; margin: 0; }
.lightbox figure > img { max-width: 100%; max-height: calc(88dvh - 70px); margin: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.65); }
.lightbox figcaption { display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; padding-top: 14px; }
.lightbox figcaption small { grid-column: 1 / -1; color: #747f93; font: 700 8px/1 var(--sans); letter-spacing: 0.2em; }
.lightbox figcaption strong { font: 400 20px/1.2 var(--serif); }
.lightbox figcaption span { color: #8892a3; font: 700 9px/1 var(--sans); letter-spacing: 0.15em; }
.lightbox-close, .lightbox-arrow { border: 0; color: #b9c1cf; background: transparent; cursor: pointer; transition: color 180ms ease, transform 180ms ease; }
.lightbox-close:hover, .lightbox-close:focus-visible, .lightbox-arrow:hover, .lightbox-arrow:focus-visible { color: #fff; transform: scale(1.08); }
.lightbox-close { position: fixed; z-index: 5; top: 20px; right: 26px; width: 44px; height: 44px; font: 300 35px/1 var(--body); }
.lightbox-arrow { width: 54px; height: 54px; font-size: 28px; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 850ms ease, transform 850ms cubic-bezier(.2,.65,.25,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 9px; }
  .hero { grid-template-columns: 1fr 0.8fr; }
  .continent-copy { margin-left: 8vw; padding-inline: 8vw; }
  .continent-panel:nth-of-type(even) .continent-copy { margin-right: 8vw; }
  .deathbound { grid-template-columns: minmax(470px, 1.08fr) minmax(340px, 0.92fr); }
}

@media (max-width: 880px) {
  :root { --header-height: 64px; }
  .menu-toggle { position: relative; z-index: 93; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { position: absolute; width: 23px; height: 1px; background: #e8edf7; transition: transform 220ms ease, top 220ms ease; }
  .menu-toggle span:nth-of-type(2) { top: 17px; }
  .menu-toggle span:nth-of-type(3) { top: 26px; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }
  .site-nav { position: fixed; z-index: 92; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 90px 12vw; background: rgba(4,6,10,0.98); transform: translateX(100%); transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 clamp(26px, 7vw, 44px)/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .site-nav a::after { display: none; }
  .hero { min-height: 1020px; grid-template-columns: 1fr; align-content: start; padding-top: 128px; }
  .hero-copy { max-width: 650px; }
  .hero-art { justify-self: end; width: min(84vw, 580px); margin-top: -10px; }
  .hero-art img { max-height: none; }
  .hero-index { display: none; }
  .world-intro, .continents-intro { grid-template-columns: 1fr; }
  .world-copy { padding-top: 0; }
  .aftermath-copy { text-align: left; }
  .continent-panel { min-height: 590px; }
  .continent-panel .continent-copy,
  .continent-panel:nth-of-type(even) .continent-copy { max-width: none; margin-inline: 5vw; padding: 90px 8vw 105px; text-align: left; }
  .continent-panel:nth-of-type(even) .continent-body,
  .continent-panel:nth-of-type(even) .continent-verse { margin-left: 0; }
  .continent-panel:nth-of-type(even)::before { right: auto; left: 5vw; }
  .continent-panel:nth-of-type(even) .continent-count { right: 2%; left: auto; }
  .magic-grid { grid-template-columns: 1fr; }
  .magic-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .magic-grid article:last-child { border-bottom: 0; }
  .magic-grid h3 { margin-top: 0; }
  .deathbound { grid-template-columns: 1fr; }
  .deathbound-art { position: relative; top: auto; width: min(85vw, 670px); margin: 20px auto 0; }
  .deathbound-pillars { grid-template-columns: repeat(2,1fr); }
  .deathbound-pillars article:nth-child(2) { border-right: 0; }
  .deathbound-pillars article:nth-child(-n+2) { border-bottom: 1px solid rgba(143,132,218,0.19); }
  .gallery-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .copyright { text-align: center; }
  .lightbox[open] { grid-template-columns: 50px 1fr 50px; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 18px; }
  .brand-copy small { display: none; }
  .hero { min-height: 940px; padding: 112px 20px 82px; }
  .hero h1 { max-width: none; padding-right: 0.14em; font-size: clamp(52px, 17vw, 80px); letter-spacing: -0.075em; }
  .hero-claim { margin-top: 27px; }
  .genre-line { gap: 8px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-art { width: 91vw; }
  .hero-art img { max-height: none; }
  .hero-art figcaption { padding-right: 5px; }
  .scroll-cue { left: 20px; }
  .section { padding-inline: 20px; }
  .section-number { right: 20px; }
  .aftermath { padding-inline: 20px; }
  .aftermath-copy blockquote { padding-left: 18px; text-align: left; }
  .continent-panel .continent-copy,
  .continent-panel:nth-of-type(even) .continent-copy { margin-inline: 0; padding: 80px 34px 90px; }
  .continent-copy h3 { font-size: clamp(50px, 16vw, 76px); }
  .continent-panel::before,
  .continent-panel:nth-of-type(even)::before { left: 18px; }
  .continent-count { font-size: 58vw; }
  .horror-list article { grid-template-columns: 34px 1fr; }
  .deathbound { padding-inline: 20px; }
  .deathbound-copy h2 .nightscar-word { font-size: clamp(50px, 17vw, 80px); }
  .deathbound-pillars { grid-template-columns: 1fr; }
  .deathbound-pillars article { min-height: 120px; border-right: 0; border-bottom: 1px solid rgba(143,132,218,0.19); }
  .deathbound-pillars article:nth-child(3) { border-bottom: 1px solid rgba(143,132,218,0.19); }
  .deathbound-pillars article:last-child { border-bottom: 0; }
  .gallery-item > span { right: 19px; bottom: 20px; left: 19px; }
  .gallery-item i { display: none; }
  .closing { padding-inline: 20px; }
  .lightbox[open] { display: block; padding: 58px 16px 80px; overflow-y: auto; }
  .lightbox figure { max-width: 100%; max-height: none; }
  .lightbox figure > img { max-height: calc(100dvh - 170px); }
  .lightbox-arrow { position: fixed; z-index: 5; bottom: 16px; border: 1px solid var(--line); background: rgba(5,7,11,0.8); }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
