:root {
  color-scheme: light;
  --ink: #211915;
  --muted: #76685f;
  --paper: #f2eadc;
  --paper-soft: #faf5eb;
  --line: rgba(33, 25, 21, .15);
  --copper: #ca6a45;
  --amber: #d89a49;
  --night: #17120f;
  --navy: #0f2044;
  --green: #1f3d35;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 42px 110px rgba(46, 28, 18, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
::selection { color: white; background: var(--copper); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .8rem;
  left: .8rem;
  padding: .75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: none; }

.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(1.2rem, 3vw, 3.6rem);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 1px solid var(--amber);
  border-radius: 50%;
}
.brand-mark i {
  position: absolute;
  width: 13px;
  height: 13px;
  right: -1px;
  top: -1px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  background: var(--paper);
}
.header-thesis { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: .75rem; font-style: italic; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 42px;
  padding: .65rem 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  font-size: .67rem;
  font-weight: 750;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.header-cta:hover { color: white; background: var(--ink); transform: translateY(-2px); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(350px, .68fr) minmax(660px, 1.32fr);
  gap: clamp(1.5rem, 3vw, 4.5rem);
  min-height: 100svh;
  padding: clamp(7.6rem, 11vh, 9.5rem) clamp(1.2rem, 3vw, 3.6rem) 5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250,245,235,.82), transparent 52%),
    radial-gradient(circle at 78% 42%, rgba(218,154,73,.17), transparent 36%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 70vw;
  height: 70vw;
  right: -36vw;
  top: -43vw;
  border: 1px solid rgba(202,106,69,.13);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 42vw;
  height: 42vw;
  left: 34vw;
  bottom: -31vw;
  border: 1px solid rgba(216,154,73,.12);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 20;
  align-self: center;
  max-width: 620px;
  padding: 1rem 0 5rem;
}
.eyebrow {
  margin: 0 0 1.2rem;
  color: #9b5d2e;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.memory-line {
  margin: 0 0 .6rem;
  color: var(--muted);
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  font-style: italic;
}
h1, h2 {
  margin-top: 0;
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
}
h1 { max-width: 10.5ch; margin-bottom: 1.55rem; font-size: clamp(4.25rem, 6vw, 7.4rem); }
h1 em, h2 em { color: var(--copper); font-weight: 400; }
.hero-support { max-width: 34rem; margin: 0; color: var(--muted); font-size: clamp(.96rem, 1.03vw, 1.1rem); }
.hero-support strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 1.35rem; margin-top: 2rem; }
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  min-height: 56px;
  padding: .95rem 1.2rem;
  color: white;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: 0 16px 42px rgba(33,25,21,.18);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s var(--ease);
}
.primary-cta:hover { background: var(--copper); transform: translateY(-2px); }
.quiet-link { color: var(--muted); font-size: .7rem; text-underline-offset: .38rem; }

.active-law {
  display: grid;
  grid-template-columns: 2.2rem auto 1fr;
  align-items: center;
  gap: .8rem;
  max-width: 34rem;
  margin-top: 3.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.active-law__index { color: var(--amber); font-size: .58rem; font-weight: 800; }
.active-law__rule { font-size: .61rem; font-weight: 850; letter-spacing: .15em; }
.active-law p { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: .78rem; font-style: italic; }

.palco {
  position: relative;
  z-index: 8;
  align-self: center;
  min-width: 0;
  padding: 0 0 2.5rem;
}
.palco-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(202,106,69,.13);
  border-radius: 50%;
  pointer-events: none;
}
.palco-orbit--one { width: 72%; aspect-ratio: 1; right: 1%; top: 7%; }
.palco-orbit--two { width: 47%; aspect-ratio: 1; right: 13%; top: 22%; border-color: rgba(216,154,73,.12); }
.stage-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  width: calc(100% - 6.8rem);
  margin: 0 auto .85rem;
}
.stage-heading > div { display: flex; align-items: baseline; gap: .9rem; }
.stage-heading span { color: var(--amber); font-size: .57rem; font-weight: 850; letter-spacing: .12em; }
.stage-heading strong { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.15rem; font-weight: 600; }
.stage-heading p { max-width: 26rem; margin: 0; color: var(--muted); font-size: .67rem; text-align: right; }

.stage-shell {
  position: relative;
  height: min(71vh, 710px);
  min-height: 590px;
  padding: 0 3.4rem;
  perspective: 1600px;
}
.world-stack {
  position: relative;
  z-index: 3;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: var(--night);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 20px, 0) scale(.985);
  transition: opacity .42s ease, transform .62s var(--ease), visibility .62s;
  visibility: hidden;
}
.world.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}
.world-chrome {
  position: absolute;
  z-index: 20;
  top: 1.15rem;
  left: 1.2rem;
  right: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.66);
  font-size: .52rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.world-chrome span { display: flex; align-items: center; gap: .5rem; }
.world-chrome i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); }
.world-chrome b { color: rgba(255,255,255,.42); font-weight: 650; }
.world-chrome--dark { color: rgba(31,61,53,.7); }
.world-chrome--dark b { color: rgba(31,61,53,.46); }
.world-chrome--dark i { background: var(--copper); box-shadow: 0 0 16px rgba(202,106,69,.55); }

.world-gate {
  position: absolute;
  z-index: 9;
  top: 8%;
  bottom: 8%;
  width: 4.25rem;
  padding: 1rem .65rem;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255,255,255,.2);
  background: #301b14;
  box-shadow: 0 22px 55px rgba(44,25,16,.2);
  transition: width .38s var(--ease), filter .3s ease, transform .38s var(--ease);
}
.world-gate::before, .world-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.world-gate::before { opacity: .88; background: radial-gradient(circle at 30% 25%, rgba(255,204,126,.35), transparent 24%), linear-gradient(160deg, #7f3f28, #21130f); }
.world-gate[data-gate-key="remembered"]::before { background: radial-gradient(circle at 50% 28%, rgba(245,192,104,.32), transparent 24%), linear-gradient(160deg,#b46f35,#0f2044 76%); }
.world-gate[data-gate-key="chosen"]::before { background: linear-gradient(125deg,rgba(255,255,255,.12),transparent 45%), linear-gradient(155deg,#365f52,#172820); }
.world-gate::after { background: linear-gradient(90deg, rgba(0,0,0,.2), transparent, rgba(0,0,0,.2)); }
.world-gate--previous { left: 0; border-radius: 14px 0 0 14px; transform: perspective(700px) rotateY(8deg); transform-origin: right; }
.world-gate--next { right: 0; border-radius: 0 14px 14px 0; transform: perspective(700px) rotateY(-8deg); transform-origin: left; }
.world-gate > * { position: relative; z-index: 2; writing-mode: vertical-rl; }
.world-gate--previous > * { transform: rotate(180deg); }
.world-gate span { position: absolute; top: 1rem; color: rgba(255,255,255,.62); font-size: .52rem; font-weight: 800; }
.world-gate strong { position: absolute; bottom: 5.3rem; font-family: Georgia, serif; font-size: .78rem; font-weight: 500; }
.world-gate small { position: absolute; bottom: 1rem; color: rgba(255,255,255,.56); font-size: .47rem; letter-spacing: .09em; text-transform: uppercase; }
.world-gate:hover { width: 5rem; filter: brightness(1.14) saturate(1.05); }
.world-gate--previous:hover { transform: perspective(700px) rotateY(4deg) translateX(-3px); }
.world-gate--next:hover { transform: perspective(700px) rotateY(-4deg) translateX(3px); }

/* Matter */
.world--desired { color: white; background: #17100d; }
.matter-scene { position: absolute; inset: 0 0 84px; overflow: hidden; background: radial-gradient(circle at 50% 43%, #653423 0, #241611 34%, #0f0b09 74%); }
.matter-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}
.matter-aura {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  left: 24%;
  top: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,146,78,.25), transparent 65%);
  filter: blur(12px);
  transform: scale(calc(.85 + var(--resolve, 0) * .2));
}
.artifact {
  position: absolute;
  left: 50%;
  top: 48%;
  width: clamp(210px, 34%, 340px);
  aspect-ratio: .72;
  transform: translate(-50%, -50%) perspective(1000px) rotateX(var(--tilt-x, -2deg)) rotateY(var(--tilt-y, 5deg));
  transform-style: preserve-3d;
  transition: filter .45s ease;
  filter: drop-shadow(0 32px 45px rgba(0,0,0,.44));
}
.artifact-layer, .artifact-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,218,168,.36);
  transition: box-shadow .4s ease, border-color .4s ease, background .4s ease;
  will-change: transform;
}
.artifact-layer--shadow { inset: 5% -5% -5% 5%; border-color: transparent; background: rgba(0,0,0,.45); filter: blur(12px); }
.artifact-layer--system { padding: 1.1rem; color: rgba(255,226,188,.64); background: linear-gradient(145deg, rgba(91,42,28,.8), rgba(25,14,11,.92)); }
.artifact-layer--system span, .artifact-layer--image span, .artifact-layer--voice span, .artifact-layer--proof span { font-size: .48rem; font-weight: 850; letter-spacing: .16em; }
.artifact-layer--system i { display: block; width: 72%; height: 1px; margin-top: 18%; background: rgba(255,226,188,.24); }
.artifact-layer--system i:nth-of-type(2) { width: 42%; margin-top: 12%; }
.artifact-layer--system i:nth-of-type(3) { width: 82%; margin-top: 28%; }
.artifact-layer--system i:nth-of-type(4) { width: 55%; margin-top: 12%; }
.artifact-layer--image { padding: 1.1rem; color: rgba(255,244,224,.72); background: #5d291c; }
.artifact-layer--image div { position: absolute; inset: 25% 12% 12%; background: radial-gradient(circle at 65% 28%, #f3c481, transparent 23%), linear-gradient(145deg,#7e3e28,#251510 64%); }
.artifact-layer--voice { padding: 1.1rem; color: #2b160f; background: #d88b4e; }
.artifact-layer--voice strong { position: absolute; left: 1.1rem; bottom: 1.3rem; font-family: Georgia, serif; font-size: clamp(1.4rem, 2.3vw, 2.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .9; }
.artifact-layer--proof { padding: 1.1rem; color: rgba(255,234,198,.8); background: rgba(33,18,14,.85); backdrop-filter: blur(10px); }
.artifact-layer--proof b { position: absolute; width: 34%; aspect-ratio: 1; right: 12%; bottom: 14%; border: 1px solid rgba(255,199,125,.65); border-radius: 50%; box-shadow: 0 0 0 12px rgba(255,199,125,.04), 0 0 35px rgba(255,164,76,.18); }
.artifact-face {
  z-index: 8;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  color: #25130e;
  border-color: rgba(255,235,202,.78);
  background: linear-gradient(145deg,#efb86c,#c45f38 68%,#74311f);
  box-shadow: inset 0 0 0 10px rgba(45,20,13,.1), 0 28px 55px rgba(18,8,5,.32), 0 0 calc(var(--resolve, 0) * 70px) rgba(246,154,72,calc(var(--resolve, 0) * .5));
}
.artifact-face::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(48,22,14,.25); }
.artifact-face span { position: relative; font-size: .47rem; font-weight: 850; letter-spacing: .15em; }
.artifact-face strong { position: relative; margin: auto 0 .5rem; font-family: Georgia, serif; font-size: clamp(2.2rem, 3.5vw, 4.2rem); font-weight: 500; letter-spacing: -.075em; line-height: .76; }
.artifact-face small { position: relative; font-size: .55rem; letter-spacing: .09em; }
.matter-state { position: absolute; left: 1.3rem; bottom: 1rem; margin: 0; color: rgba(255,255,255,.65); font-family: Georgia, serif; font-size: .75rem; font-style: italic; }

/* Journey */
.world--remembered { color: white; background: var(--navy); }
.journey-scene { position: absolute; inset: 0 0 116px; overflow: hidden; background: #10203b; }
#journey-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.world--remembered.is-ready #journey-canvas { opacity: 1; }
.journey-fallback { position: absolute; z-index: 0; inset: 0; display: grid; place-content: center; color: white; text-align: center; background: radial-gradient(circle at 45% 34%, rgba(239,185,93,.35), transparent 24%), linear-gradient(150deg,#a96434,#10203b 70%); transition: opacity .45s ease, visibility .45s; }
.world--remembered.is-ready .journey-fallback { opacity: 0; visibility: hidden; }
.journey-fallback span { font-size: .55rem; letter-spacing: .27em; }
.journey-fallback strong { font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 6.5rem); font-style: italic; font-weight: 600; letter-spacing: -.07em; }
.journey-fallback small { color: rgba(255,255,255,.66); }
.journey-scrim { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(7,15,29,.74), rgba(7,15,29,.05) 55%), linear-gradient(0deg, rgba(7,15,29,.65), transparent 50%); pointer-events: none; }
.journey-copy { position: absolute; z-index: 5; left: 6%; bottom: 12%; max-width: 29rem; text-shadow: 0 6px 25px rgba(0,0,0,.6); }
.journey-copy span { color: #f0bd68; font-size: .54rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.journey-copy strong { display: block; max-width: 10ch; margin-top: .45rem; font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 4.4rem); font-style: italic; font-weight: 500; letter-spacing: -.06em; line-height: .88; }
.journey-copy p { max-width: 24rem; margin: .8rem 0 0; color: rgba(255,255,255,.72); font-size: .68rem; }
.journey-enter { position: absolute; z-index: 6; right: 1.25rem; bottom: 1.15rem; display: inline-flex; gap: 1.2rem; padding: .75rem .9rem; border: 1px solid rgba(255,255,255,.25); background: rgba(8,17,33,.36); backdrop-filter: blur(9px); color: white; font-size: .57rem; font-weight: 750; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; transition: background .25s ease, transform .25s ease; }
.journey-enter:hover { background: #c9a24b; transform: translateY(-2px); }

/* Alignment */
.world--chosen { color: var(--green); background: #e9e5d8; }
.alignment-scene { position: absolute; inset: 0 0 84px; overflow: hidden; background: radial-gradient(circle at 57% 44%, rgba(255,255,255,.9), transparent 33%), linear-gradient(135deg,#e8e2d3,#cfd8cc); }
.registration-grid { position: absolute; inset: 0; opacity: calc(.34 - var(--alignment, .24) * .2); background-image: linear-gradient(rgba(31,61,53,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(31,61,53,.13) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at center, black, transparent 78%); }
.registration-mark { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(31,61,53,.45); border-radius: 50%; }
.registration-mark::before, .registration-mark::after { content: ""; position: absolute; background: rgba(31,61,53,.45); }
.registration-mark::before { width: 32px; height: 1px; left: -6px; top: 10px; }
.registration-mark::after { width: 1px; height: 32px; left: 10px; top: -6px; }
.registration-mark--one { left: 7%; top: 16%; }
.registration-mark--two { right: 8%; bottom: 16%; }
.conviction-plates { position: absolute; inset: 15% 10% 18%; perspective: 1000px; }
.conviction-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(74%, 500px);
  min-height: 48%;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(31,61,53,.27);
  background: rgba(248,246,236,.68);
  box-shadow: 0 22px 55px rgba(38,59,49,.12);
  backdrop-filter: blur(10px);
  transform-origin: center;
  will-change: transform;
}
.conviction-plate span { color: #8b5e43; font-size: .5rem; font-weight: 850; letter-spacing: .16em; }
.conviction-plate strong { display: block; margin-top: .65rem; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 2.25rem); font-weight: 500; letter-spacing: -.05em; line-height: .94; }
.conviction-plate p { margin: .7rem 0 0; color: rgba(31,61,53,.68); font-size: .6rem; }
.conviction-plate--essence { z-index: 2; background: rgba(239,218,194,.72); }
.conviction-plate--system { z-index: 3; background: rgba(230,238,228,.72); }
.conviction-plate--proof { z-index: 4; background: rgba(250,247,236,.76); }
.system-lines { display: flex; gap: .35rem; margin-top: .85rem; }
.system-lines i { display: block; width: 31%; height: 3px; background: rgba(31,61,53,.32); }
.system-lines i:nth-child(2) { background: var(--copper); }
.conviction-plate--proof p { display: flex; align-items: center; gap: .45rem; letter-spacing: .08em; }
.conviction-plate--proof p i { width: 6px; height: 6px; border-radius: 50%; background: #4c8c66; box-shadow: 0 0 12px rgba(76,140,102,.55); }
.alignment-result { position: absolute; z-index: 12; inset: 22% 10% auto; opacity: 0; text-align: center; transform: translateY(18px); pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease); }
.alignment-result span { color: var(--copper); font-size: .52rem; font-weight: 850; letter-spacing: .21em; }
.alignment-result strong { display: block; margin-top: .8rem; font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 500; letter-spacing: -.06em; line-height: .88; }
.alignment-result em { color: var(--copper); font-weight: 400; }
.alignment-result.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.alignment-cta { display: inline-flex; align-items: center; gap: 1.1rem; margin-top: 1.2rem; padding: .75rem .9rem; color: white; border: 0; background: var(--green); font-size: .55rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(31,61,53,.17); transition: background .25s ease, transform .25s var(--ease); }
.alignment-cta:hover { background: var(--copper); transform: translateY(-2px); }
.alignment-cta span { color: inherit; font-size: .7rem; letter-spacing: 0; }
.alignment-state { position: absolute; z-index: 15; left: 1.3rem; bottom: 1rem; margin: 0; color: rgba(31,61,53,.66); font-family: Georgia, serif; font-size: .75rem; font-style: italic; }

/* Controls */
.world-control {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 84px;
  padding: 1rem 1.3rem 1.15rem;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.13);
  background: rgba(15,10,8,.92);
}
.world-control label { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: .65rem; font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; }
.world-control label span:last-child { text-align: right; }
.world-control label b { color: white; font-size: .51rem; font-weight: 750; }
.world-control input[type="range"] { width: 100%; height: 3px; margin: 0; accent-color: var(--amber); cursor: ew-resize; }
.world-control--journey { min-height: 116px; background: rgba(7,15,29,.94); }
.journey-chapters { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.journey-chapters button { padding: 0 0 .55rem; color: rgba(255,255,255,.48); border: 0; background: transparent; font-size: .5rem; letter-spacing: .09em; text-transform: uppercase; }
.journey-chapters button:hover, .journey-chapters button[aria-pressed="true"] { color: #f0bd68; }
.world-control--alignment { color: rgba(31,61,53,.62); border-color: rgba(31,61,53,.14); background: rgba(237,235,224,.94); }
.world-control--alignment label b { color: var(--green); }
.world-control--alignment input[type="range"] { accent-color: var(--copper); }

.stage-navigation {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  width: calc(100% - 6.8rem);
  margin: 1rem auto 0;
}
.stage-navigation button {
  display: grid;
  grid-template-columns: 1.2rem 1fr auto;
  align-items: center;
  gap: .55rem;
  padding: .45rem 0;
  color: rgba(33,25,21,.44);
  border: 0;
  background: transparent;
  text-align: left;
  transition: color .25s ease;
}
.stage-navigation span { color: var(--amber); font-size: .52rem; }
.stage-navigation i { height: 1px; background: currentColor; transform: scaleX(.22); transform-origin: left; transition: transform .35s var(--ease); }
.stage-navigation strong { font-family: Georgia, serif; font-size: .75rem; font-weight: 500; }
.stage-navigation button:hover, .stage-navigation button[aria-selected="true"] { color: var(--ink); }
.stage-navigation button[aria-selected="true"] i { transform: scaleX(1); }
.stage-help { width: calc(100% - 6.8rem); margin: .6rem auto 0; color: var(--muted); font-size: .54rem; }
.scroll-cue { position: absolute; z-index: 20; left: clamp(1.2rem,3vw,3.6rem); bottom: 1.6rem; display: flex; align-items: flex-end; gap: 1rem; color: var(--muted); font-family: Georgia, serif; font-size: .68rem; line-height: 1.16; text-decoration: none; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--amber), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: scaleY(.55); transform-origin: bottom; } }

.laws { min-height: 82vh; padding: clamp(6rem,10vw,10rem) max(5vw,calc((100vw - 1500px)/2)); background: var(--paper-soft); }
.laws header { max-width: 900px; }
.laws h2 { max-width: 12ch; margin-bottom: 1.7rem; font-size: clamp(4rem,7.5vw,8.5rem); }
.laws header > p:last-child { max-width: 38rem; color: var(--muted); }
.law-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.law-grid article { min-height: 230px; padding: 1.7rem; border-right: 1px solid var(--line); }
.law-grid article:last-child { border-right: 0; }
.law-grid span { color: #9b5d2e; font-size: .55rem; font-weight: 800; letter-spacing: .15em; }
.law-grid h3 { max-width: 12ch; margin: 3rem 0 .8rem; font-family: Georgia, serif; font-size: clamp(1.5rem,2.1vw,2.2rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.law-grid p { max-width: 18rem; margin: 0; color: var(--muted); font-size: .75rem; }

#brief-dialog { width: min(90vw,650px); padding: clamp(2.2rem,5vw,4.5rem); color: var(--ink); border: 0; border-radius: 4px; background: var(--paper-soft); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
#brief-dialog::backdrop { background: rgba(24,17,13,.68); backdrop-filter: blur(10px); }
#brief-dialog h2 { margin-bottom: 1.4rem; font-size: clamp(2.6rem,5vw,4.8rem); }
#brief-dialog > p:not(.eyebrow) { color: var(--muted); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.4rem; height: 2.4rem; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.3rem; }
.dialog-confirm { margin-top: 1.4rem; padding: .85rem 1.1rem; color: white; border: 0; background: var(--ink); }

@media (max-width: 1220px) {
  .hero { grid-template-columns: minmax(330px,.64fr) minmax(590px,1.25fr); gap: 1.3rem; padding-inline: 2rem; }
  h1 { font-size: clamp(4rem,5.7vw,6rem); }
  .stage-shell { min-height: 560px; }
  .artifact { width: 38%; }
  .stage-heading, .stage-navigation, .stage-help { width: calc(100% - 5.8rem); }
  .stage-shell { padding-inline: 2.9rem; }
  .world-gate { width: 3.7rem; }
}

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-thesis { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding: 7.5rem 1.5rem 5rem; }
  .hero-copy { max-width: 760px; padding-bottom: 0; }
  h1 { max-width: 9ch; font-size: clamp(4.8rem,11vw,7.5rem); }
  .hero-support { max-width: 42rem; }
  .active-law { max-width: 42rem; }
  .palco { min-height: 730px; }
  .stage-shell { height: 650px; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .site-header { min-height: 64px; padding-inline: 1rem; }
  .brand { font-size: .61rem; }
  .header-cta { gap: .6rem; min-height: 38px; padding: .55rem .7rem; font-size: .56rem; }
  .hero { gap: 1.8rem; padding: 5.4rem 1rem 3.5rem; }
  .eyebrow { margin-bottom: .9rem; }
  .memory-line { font-size: .98rem; }
  h1 { margin-bottom: 1.15rem; font-size: clamp(3.55rem,16vw,5rem); }
  .hero-support { font-size: .92rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; margin-top: 1.4rem; }
  .primary-cta { width: 100%; }
  .quiet-link { width: fit-content; }
  .active-law { grid-template-columns: 1.8rem auto; margin-top: 1.6rem; }
  .active-law p { grid-column: 1/-1; }
  .palco { min-height: 640px; padding-bottom: 1rem; }
  .stage-heading { align-items: flex-start; flex-direction: column; gap: .2rem; width: 100%; }
  .stage-heading p { max-width: 19rem; text-align: left; }
  .stage-shell { height: 520px; min-height: 520px; padding: 0; }
  .world-stack { border-radius: 12px; }
  .world-gate { display: none; }
  .world-chrome { top: .85rem; left: .85rem; right: .85rem; }
  .world-chrome b { display: none; }
  .matter-scene, .alignment-scene { bottom: 84px; }
  .artifact { width: 54%; top: 47%; }
  .artifact-face { padding: .9rem; }
  .artifact-face strong { font-size: 2.45rem; }
  .artifact-layer--voice strong { font-size: 1.45rem; }
  .matter-state, .alignment-state { left: .9rem; bottom: .75rem; }
  .journey-scene { bottom: 126px; }
  .journey-copy { left: 6%; right: 6%; bottom: 17%; }
  .journey-copy strong { max-width: 11ch; font-size: 2.25rem; }
  .journey-copy p { display: none; }
  .journey-enter { left: 6%; right: auto; bottom: .85rem; }
  .world-control--journey { min-height: 126px; }
  .journey-chapters button { font-size: .45rem; }
  .conviction-plates { inset: 18% 3% 18%; }
  .conviction-plate { width: 82%; min-height: 42%; padding: .9rem; }
  .conviction-plate strong { font-size: 1.35rem; }
  .alignment-result { inset-inline: 4%; top: 25%; }
  .alignment-result strong { font-size: 2.1rem; }
  .stage-navigation, .stage-help { width: 100%; }
  .stage-navigation { gap: .35rem; margin-top: .7rem; }
  .stage-navigation button { grid-template-columns: 1rem 1fr; gap: .35rem; }
  .stage-navigation strong { grid-column: 1/-1; font-size: .66rem; }
  .stage-navigation i { transform: scaleX(.32); }
  .stage-help { margin-top: .35rem; }
  .laws { min-height: auto; padding: 6rem 1rem; }
  .laws h2 { font-size: clamp(3.6rem,16vw,5.2rem); }
  .law-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .law-grid article { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .law-grid article:last-child { border-bottom: 0; }
  .law-grid h3 { margin-top: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .artifact { transform: translate(-50%,-50%); }
}
