@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-display: swap; src: url(../fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2'); }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink: #000;
  --paper: #ecebe6;          /* manga paper, grey not cream */
  --paper-dim: #9a9993;
  --seal: #b5121b;           /* hanko red: progress + earned */
  --reiatsu: #8e7bff;        /* violet spiritual pressure */
  --moon: #dce6f0;
  --sakura: #f2b6c6;

  --f-display: 'Big Shoulders Display', 'Impact', 'Arial Narrow', sans-serif;
  --f-text: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }

/* ── Scenes: tall section + sticky viewport-sized stage ───── */
.scene { position: relative; }
#s-throne   { height: 420vh; }
#s-identity { height: 220vh; }
#s-mirror   { height: 640vh; }
#s-vault    { height: 280vh; }
#s-farewell { height: 200vh; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* ── HUD ─────────────────────────────────────────────────── */
.hud {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #fff;
  pointer-events: none;
}
.hud a { pointer-events: auto; text-decoration: none; }
.hud-mark { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.hud-mark img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.hud-nav { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 14px; }
.hud-nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.hud-nav a:hover { border-bottom-color: currentColor; }

.rail {
  position: fixed; right: var(--gutter); top: 50%; z-index: 50;
  transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  font-family: var(--f-display); font-size: 11px; color: #fff;
  mix-blend-mode: difference;
}
.rail li { display: flex; align-items: center; gap: 8px; opacity: .45; transition: opacity .3s; }
.rail li::after { content: ''; width: 2px; height: 18px; background: currentColor; }
.rail li.is-active { opacity: 1; }
.rail li.is-active::after { background: var(--seal); height: 28px; }

/* ── 01 THRONE ───────────────────────────────────────────── */
#s-throne .stage { background: var(--ink); }
.zoom { position: absolute; inset: 0; transform-origin: 50% 44%; will-change: transform; }
.floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.5) 0 1px, transparent 1px 22px),
    linear-gradient(to bottom, #2a2a28, var(--paper) 70%);
  clip-path: polygon(0 18%, 100% 18%, 100% 100%, 0 100%);
  opacity: .85;
}
.eyes { position: absolute; inset: 0; }
.eye {
  position: absolute;
  width: var(--w); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1.25);
}
.eye-ball {
  position: absolute; inset: 0;
  clip-path: ellipse(50% calc(var(--open, 0) * var(--blink, 1) * 50%) at 50% 50%);
  overflow: hidden;
}
.eye-ball img {
  width: 100%; height: 100%; object-fit: contain;
  transform: translate(var(--lx, 0px), var(--ly, 0px)) scale(1.04);
}
.eye::before { /* the closed lid: a faint crease you don't notice at first */
  content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 1.5px;
  background: var(--paper); border-radius: 2px;
  opacity: calc(.13 * (1 - var(--open, 0)));
  transform: translateY(-50%);
}
.aura { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.figure {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  height: 88%; width: auto; max-width: none;
  object-fit: contain;
  user-select: none; -webkit-user-drag: none;
}
.figure-throne { filter: drop-shadow(0 0 40px rgba(236,235,230,.08)); }

.name {
  position: absolute; inset: 0; margin: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 calc(var(--gutter) + 56px) 0 var(--gutter);
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(56px, 11vw, 190px); line-height: .82;
  letter-spacing: -.01em; text-transform: uppercase;
  pointer-events: none;
}
.name-l, .name-r { display: block; max-width: 34vw; }
.name-l span, .name-r span { display: block; }
.name-r { text-align: right; }
.kicker {
  position: absolute; left: var(--gutter); bottom: 6vh; margin: 0;
  font-size: 15px; color: var(--paper-dim);
}
.kanji {
  position: absolute; margin: 0;
  writing-mode: vertical-rl; font-family: var(--f-text); font-weight: 800;
  letter-spacing: .25em; pointer-events: none;
}
.kanji-throne { right: calc(var(--gutter) + 40px); bottom: 6vh; font-size: 15px; color: var(--seal); }
.cue {
  position: absolute; left: 50%; bottom: 3vh; margin: 0; transform: translateX(-50%);
  font-size: 12px; color: var(--paper-dim);
  display: grid; justify-items: center; gap: 8px;
}
.cue::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--paper-dim), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.blackout { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }

/* ── 02 IDENTITY ─────────────────────────────────────────── */
#s-identity .stage { background: var(--ink); display: grid; place-items: center; padding: 24px var(--gutter); }
.id-card { width: min(720px, 100%); display: grid; justify-items: start; gap: 10px; }
.id-logo { width: clamp(80px, 9vw, 110px); height: auto; border-radius: 10px; }
.id-name {
  margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 76px); line-height: .9; letter-spacing: -.005em;
}
.id-tagline { margin: 0; max-width: 46ch; color: var(--paper-dim); font-size: 16px; line-height: 1.5; }
.id-research { width: 100%; border-top: 1px solid #2b2b2a; padding-top: 12px; display: grid; gap: 10px; }
.id-research-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.id-research-head h3 { margin: 0; font-family: var(--f-display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-dim); }
.id-research-head p { margin: 0; font-family: var(--f-display); font-size: clamp(16px, 2vw, 20px); font-weight: 900; }
.id-research-head p span { color: var(--seal); }
.id-research-summary { margin: 0; color: var(--paper-dim); font-size: 13px; }
.id-cve-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.id-cve-item { min-width: 0; border: 1px solid #2b2b2a; padding: 9px 11px; display: grid; gap: 5px; transition: border-color .2s; }
.id-cve-item:hover { border-color: #4a4945; }
.id-cve-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.id-cve-product { font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.1; }
.id-cve-status { flex-shrink: 0; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 5px; border: 1px solid #2b2b2a; color: var(--paper-dim); white-space: nowrap; }
.id-cve-status.is-public { color: var(--seal); border-color: var(--seal); }
.id-cve-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.id-cve-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--paper-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-cve-link { flex-shrink: 0; font-size: 11px; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.id-cve-link:hover { color: var(--seal); }
.id-research-note { margin: 0; max-width: 54ch; color: var(--paper-dim); font-size: 13px; }
.id-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2px 0 0; width: 100%; }
.id-stats div { display: grid; gap: 2px; }
.id-stats dt { order: 2; font-size: 12px; color: var(--paper-dim); }
.id-stats dd { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3.2vw, 34px); line-height: 1; }

/* ── 03 MIRROR ───────────────────────────────────────────── */
#s-mirror .stage { background: var(--ink); }
.truth { visibility: hidden; position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 60%, #0d0b14, #000 65%); }
.door {
  position: relative;
  width: clamp(150px, 18vw, 240px); aspect-ratio: 9 / 16;
  perspective: 900px;
  transform-origin: 50% 50%;
}
.door-glow {
  position: absolute; inset: 0;
  background: linear-gradient(#fff, #f3efff);
  box-shadow: 0 0 80px 10px rgba(240,236,255,.35);
  opacity: .9;
}
.door-leaf {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.05) 18px 19px),
    linear-gradient(#17151c, #0b0a0e);
  border: 1px solid #2c2933;
}
.door-leaf-l { left: 0; transform-origin: 0 50%; }
.door-leaf-r { right: 0; transform-origin: 100% 50%; }
.door-leaf-l::after, .door-leaf-r::after {
  content: ''; position: absolute; top: 52%; width: 6px; height: 34px; background: #6f6a7a; border-radius: 3px;
}
.door-leaf-l::after { right: 10px; }
.door-leaf-r::after { left: 10px; }
.truth-caption {
  position: absolute; left: 50%; top: calc(50% + clamp(150px, 18vw, 240px) * .89 + 22px);
  transform: translateX(-50%); margin: 0;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--paper-dim);
  letter-spacing: .04em;
}

.illusion, .shard-inner { position: absolute; inset: 0; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(#05040b 0%, #1a1238 45%, #2b1f55 62%, #0c0a18 62.2%, #07060e 100%); }
.moon {
  position: absolute; left: 50%; top: 13%; width: clamp(110px, 13vw, 190px); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #fff, var(--moon) 55%, #a9b6c9);
  box-shadow: 0 0 60px 12px rgba(220,230,240,.25);
}
.water { position: absolute; left: 0; right: 0; top: 62.2%; bottom: 0; overflow: hidden; }
.water::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(142,123,255,.10) 0 2px, transparent 2px 9px);
  animation: ripple 6s linear infinite;
}
@keyframes ripple { to { background-position: 0 90px; } }
.moon-reflect {
  position: absolute; left: 50%; top: 6%; width: clamp(110px, 13vw, 190px); aspect-ratio: 1 / 1.6;
  transform: translateX(-50%);
  background: repeating-linear-gradient(0deg, rgba(220,230,240,.55) 0 3px, transparent 3px 8px);
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
  mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
  filter: blur(1px);
  animation: wobble 3.2s ease-in-out infinite alternate;
}
@keyframes wobble { from { transform: translateX(-50%) scaleX(1); } to { transform: translateX(-50%) scaleX(1.12); } }
.figure-seated { height: 80%; bottom: 0; }
.welcome {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  pointer-events: none;
}
.welcome-line {
  margin: 0; max-width: 8ch;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 9vw, 150px); line-height: .84; color: #f3f0ff;
  text-shadow: 0 0 30px rgba(142,123,255,.45);
}
.welcome-line .ch { display: inline-block; opacity: 0; }
.welcome-sub { margin: 0; max-width: 30ch; color: #b9b2d9; font-size: 17px; opacity: 0; }
.aura-mirror { mix-blend-mode: screen; }

.shards { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.shard { position: absolute; inset: 0; will-change: transform, opacity; }
.shard-inner { filter: brightness(1.04); }
.shard .ch, .shard .welcome-sub { opacity: 1 !important; }
.shard::after { /* glassy edge highlight */
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 40%);
}
.cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cracks path { fill: none; stroke: #f5f2ff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(190,180,255,.9)); }
.release {
  position: absolute; right: calc(var(--gutter) + 64px); top: 50%; transform: translateY(-50%);
  margin: 0; display: grid; justify-items: end; gap: 4px; opacity: 0; pointer-events: none;
}
.release-jp { font-family: var(--f-text); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; color: #fff; writing-mode: vertical-rl; letter-spacing: .1em; }
.release-en { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: #b9b2d9; }
.whiteout { position: absolute; inset: 0; background: #f6f5ff; opacity: 0; pointer-events: none; }

/* ── 04 VAULT ────────────────────────────────────────────── */
#s-vault .stage { background: #050407; }
#room { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#room.dragging { cursor: grabbing; }
.vault-ui {
  position: absolute; left: var(--gutter); bottom: 6vh; display: grid; gap: 8px; pointer-events: none;
}
.vault-title { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 64px); line-height: .9; }
.vault-hint { margin: 0; color: var(--paper-dim); font-size: 14px; }
.vault-arrows { display: flex; gap: 8px; margin-top: 6px; pointer-events: auto; }
.vault-arrows button {
  width: 44px; height: 44px; border: 1px solid #3a3840; background: rgba(0,0,0,.4); cursor: pointer; font-size: 12px;
  transition: border-color .2s, background .2s;
}
.vault-arrows button:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
.vault-list { /* accessible + no-WebGL fallback */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.no-webgl .vault-list {
  position: absolute; inset: 120px var(--gutter) auto; width: auto; height: auto; clip: auto;
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.no-webgl .vault-list li { border: 1px solid #333; padding: 16px; }
.no-webgl .vault-list img { width: 100%; height: auto; margin-bottom: 12px; border: 1px solid #333; }
.cert-dialog {
  border: 0; padding: 28px; width: min(560px, calc(100vw - 32px));
  max-height: 88vh; overflow: auto;
  background: var(--paper); color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink), 10px 10px 0 2px var(--paper);
}
.cert-dialog::backdrop { background: rgba(0,0,0,.6); }
.cert-dialog [hidden] { display: none !important; }
.cd-image { display: block; width: 100%; height: auto; margin: 0 0 18px; border: 1px solid #d4d1c8; }
.cd-code { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 56px; line-height: .9; }
.cd-name { margin: 8px 0 4px; font-size: 20px; font-weight: 800; }
.cd-meta { margin: 0 0 8px; color: #55544f; }
.cd-cred { margin: 0 0 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #55544f; overflow-wrap: anywhere; }
.cd-verify { display: inline-block; margin-right: 16px; color: var(--seal); font-weight: 600; }
.cd-close { border: 1px solid var(--ink); background: none; padding: 8px 16px; cursor: pointer; }
.vault-fade { position: absolute; inset: 0; background: #f6f5ff; pointer-events: none; }

/* ── 05 FAREWELL ─────────────────────────────────────────── */
#s-farewell .stage { background: var(--paper); color: var(--ink); display: grid; place-items: center; padding: 76px var(--gutter) 28px; }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.page {
  position: relative; width: min(1100px, 100%); height: 100%;
  display: grid; gap: 12px;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas: "hero narration" "hero contact";
}
.panel { clip-path: inset(0 0 0 0); position: relative; border: 4px solid var(--ink); background: var(--paper); overflow: hidden; }
.panel-hero {
  grid-area: hero;
  background:
    radial-gradient(circle, rgba(0,0,0,.22) 1px, transparent 1.6px) 0 0 / 7px 7px, /* screentone */
    var(--paper);
}
.panel-hero::before { /* speed lines */
  content: ''; position: absolute; inset: -50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,.09) 0 1.2deg, transparent 1.2deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 60%); mask: radial-gradient(circle, transparent 28%, #000 60%);
}
.figure-standing { height: 94%; left: 42%; }
.balloon {
  position: absolute; right: 7%; top: 9%;
  width: clamp(150px, 19vw, 230px); aspect-ratio: 1 / 1.25;
  display: grid; place-items: center; padding: 26px;
  background: #fff; border: 3px solid var(--ink); border-radius: 50%;
}
.balloon::after { /* tail */
  content: ''; position: absolute; left: 6%; bottom: 10%;
  width: 34px; height: 34px; background: #fff; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: skewX(30deg) rotate(25deg);
}
.balloon p {
  margin: 0; writing-mode: vertical-rl; text-align: left;
  font-family: var(--f-text); font-weight: 800; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.5;
  height: 100%;
}
.kanji-farewell { left: 18px; top: 18px; font-size: clamp(34px, 4vw, 56px); color: var(--ink); letter-spacing: .1em; }
.panel-narration {
  grid-area: narration; display: grid; align-content: end; padding: clamp(18px, 2.4vw, 32px);
  background: var(--ink); color: var(--paper);
}
.panel-narration p { margin: 0; max-width: 32ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.panel-contact { grid-area: contact; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; justify-items: start; }
.mail { font-family: var(--f-display); font-weight: 900; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.1; overflow-wrap: anywhere; text-decoration: none; border-bottom: 3px solid var(--seal); }
.farewell-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.farewell-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.farewell-links a:hover { color: var(--seal); }
.to-top { margin-top: 4px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 10px 16px; cursor: pointer; font-weight: 600; transition: background .2s, color .2s; }
.to-top:hover { background: var(--seal); border-color: var(--seal); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 760px) {
  .name { padding-right: var(--gutter); }
  .release { right: var(--gutter); }
  .hud-nav a:nth-child(3) { display: none; }
  .rail { display: none; }
  .name { align-items: flex-start; padding-top: 16vh; font-size: clamp(44px, 15vw, 90px); }
  .name-l, .name-r { max-width: 50vw; }
  .name-r { align-self: flex-end; padding-bottom: 20vh; }
  .kanji-throne { display: none; }
  .figure { height: 70%; }
  #s-identity .stage { padding: 48px var(--gutter) 20px; }
  .id-card { gap: 8px; }
  .id-logo { width: 56px; }
  .id-name { font-size: clamp(28px, 8.4vw, 42px); }
  .id-tagline { font-size: 12px; }
  .id-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
  .id-stats dd { font-size: 18px; }
  .id-stats dt { font-size: 9px; }
  .id-research { padding-top: 8px; gap: 7px; }
  .id-research-head h3 { font-size: 10px; }
  .id-research-head p { font-size: 16px; }
  .id-research-summary { font-size: 10px; }
  .id-cve-list { grid-template-columns: 1fr; gap: 5px; }
  .id-cve-item { padding: 5px 8px; gap: 2px; }
  .id-cve-product { font-size: 12px; }
  .id-cve-status { font-size: 8px; padding: 1px 4px; }
  .id-cve-id { font-size: 9px; }
  .id-cve-link { font-size: 9px; }
  .id-research-note { font-size: 10px; line-height: 1.4; }
  .welcome { top: 18%; transform: none; }
  .moon, .moon-reflect { left: 78%; }
  .moon { top: 30%; width: 84px; }
  .moon-reflect { width: 84px; }
  .cue { display: none; }
  .kicker { bottom: 3vh; }
  .release { top: 30%; }
  .page { grid-template-columns: 1fr; grid-template-rows: 1.4fr auto auto; grid-template-areas: "hero" "narration" "contact"; gap: 8px; }
  .panel-narration { padding: 14px; }
  .panel-narration p { font-size: 15px; }
  .panel-contact { padding: 14px; gap: 10px; }
  .balloon { width: 120px; padding: 16px; }
  .balloon p { font-size: 14px; }
  .figure-standing { height: 92%; left: 38%; }
}

/* ── Short desktop viewports: keep the identity card in one screen ─ */
@media (max-height: 720px) and (min-width: 761px) {
  #s-identity .stage { padding: 16px var(--gutter); }
  .id-logo { width: 72px; }
  .id-name { font-size: clamp(32px, 4.6vw, 56px); }
  .id-tagline { font-size: 14px; }
  .id-stats dd { font-size: 26px; }
  .id-stats dt { font-size: 11px; }
  .id-research { padding-top: 8px; gap: 7px; }
  .id-research-head h3 { font-size: 11px; }
  .id-research-head p { font-size: 17px; }
  .id-research-summary { font-size: 12px; }
  .id-cve-item { padding: 7px 9px; gap: 4px; }
  .id-cve-product { font-size: 14px; }
  .id-cve-id { font-size: 10px; }
  .id-cve-link { font-size: 10px; }
  .id-research-note { font-size: 11px; }
}

/* ── Reduced motion: no pinned scrubbing, everything visible ─ */
.rm .scene { height: auto !important; }
.rm .stage { position: relative; height: auto; min-height: 100vh; }
.rm .eye { --open: 1 !important; }
.rm .blackout, .rm .whiteout, .rm .vault-fade, .rm .shards, .rm .cracks, .rm .release { display: none; }
.rm .illusion { position: relative; height: 100vh; }
.rm .truth { visibility: visible; position: relative; height: 100vh; }
.rm #s-mirror .stage { display: grid; }
.rm .welcome-line .ch, .rm .welcome-sub { opacity: 1 !important; }
.rm #room { position: relative; height: 100vh; }
.rm .cue::after { animation: none; }
