/* Nyctra — Global Risk Intelligence command deck */
:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-deep: #04090f;
  --panel: #0c1826;
  --panel-soft: #0e1d2c;
  --text: #e9f5f1;
  --muted: #93a8b2;
  --phosphor: #41f2b8;
  --phosphor-dim: rgba(65, 242, 184, .16);
  --cyan: #49d7e9;
  --critical: #ff5d6c;
  --line: rgba(122, 205, 196, .16);
  --line-strong: rgba(122, 205, 196, .34);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(73, 215, 233, .07), transparent 62%),
    radial-gradient(900px 560px at -12% 34%, rgba(65, 242, 184, .06), transparent 60%),
    var(--bg);
  letter-spacing: 0;
}
/* fine grid + scanline deck texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(73, 215, 233, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 215, 233, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 92%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 92%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(2, 6, 10, .14) 3px 4px);
  opacity: .5;
}
body > * { position: relative; z-index: 1; }

body[data-language="en"] [data-lang="zh"],
body[data-language="zh"] [data-lang="en"] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[id] { scroll-margin-top: 86px; }
:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--phosphor);
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 19, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }
.brand picture, .brand img { width: 44px; height: 44px; flex: 0 0 auto; }
.brand img { border: 1px solid rgba(65, 242, 184, .3); border-radius: 8px; object-fit: cover; box-shadow: 0 0 18px rgba(65, 242, 184, .12); }
.brand > span { display: grid; gap: 4px; }
.brand strong { font-size: 18px; line-height: 1; letter-spacing: .02em; }
.brand small { color: #6e8791; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .22em; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); color: #b9c9ce; font-size: 13px; font-weight: 700; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; transition: color .25s ease; }
.primary-nav a:hover { color: var(--phosphor); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 12px; }
.language-switch { display: grid; grid-template-columns: 1fr 1fr; width: 116px; padding: 3px; border: 1px solid #33454f; border-radius: 6px; background: rgba(10, 22, 33, .7); }
.language-switch button { min-height: 34px; padding: 0 10px; border: 0; border-radius: 3px; color: #8fa3ab; background: transparent; cursor: pointer; font-family: var(--mono); font-size: 12px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.language-switch button[aria-pressed="true"] { color: var(--bg); background: var(--phosphor); }
.store-status { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgba(65, 242, 184, .4); border-radius: 6px; color: var(--phosphor); background: rgba(65, 242, 184, .05); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.store-status:hover { color: #eafcf5; border-color: rgba(65, 242, 184, .75); background: rgba(65, 242, 184, .12); box-shadow: 0 0 22px rgba(65, 242, 184, .12); }

/* ---------- shared type ---------- */

.eyebrow { margin: 0 0 16px; color: var(--phosphor); font-family: var(--mono); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-right: 9px; border-radius: 50%; background: var(--phosphor); box-shadow: 0 0 0 5px rgba(65, 242, 184, .14), 0 0 12px rgba(65, 242, 184, .6); animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(65, 242, 184, .16), 0 0 10px rgba(65, 242, 184, .5); }
  50% { box-shadow: 0 0 0 8px rgba(65, 242, 184, .05), 0 0 16px rgba(65, 242, 184, .8); }
}

h1, h2 { margin: 0; line-height: 1.04; font-weight: 850; text-wrap: balance; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  overflow: hidden;
  padding: clamp(42px, 6vh, 76px) clamp(24px, 6vw, 96px) 46px;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-copy { position: relative; z-index: 5; max-width: 640px; }
.hero h1 { font-size: clamp(38px, 4vw, 68px); line-height: .95; font-weight: 900; letter-spacing: .01em; }
.hero-claim { margin: 20px 0 0; font-size: clamp(42px, 5.4vw, 84px); line-height: 1.02; font-weight: 880; text-shadow: 0 0 34px rgba(65, 242, 184, .12); }
.hero-summary { max-width: 42em; margin: 24px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 30px; }
.store-button { min-height: 58px; display: inline-flex; align-items: center; gap: 11px; padding: 8px 18px; border: 1px solid rgba(65, 242, 184, .45); border-radius: 8px; background: linear-gradient(180deg, #123326, #0b2018); color: var(--phosphor); box-shadow: 0 0 26px rgba(65, 242, 184, .1), inset 0 1px 0 rgba(65, 242, 184, .18); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.store-button:hover { transform: translateY(-2px); border-color: rgba(65, 242, 184, .8); background: linear-gradient(180deg, #174431, #0d291e); box-shadow: 0 8px 30px rgba(0, 0, 0, .24), 0 0 30px rgba(65, 242, 184, .16), inset 0 1px 0 rgba(65, 242, 184, .24); }
.store-button:active { transform: translateY(0); }
.store-button > span:last-child { display: grid; text-align: left; }
.store-button small { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .18em; color: rgba(65, 242, 184, .75); }
.store-button strong { font-size: 18px; line-height: 1.15; color: #eafcf5; }
.apple-mark { width: 21px; height: 21px; display: grid; place-items: center; color: var(--phosphor); font-size: 18px; }
.hero-actions > a:not(.store-button) { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #b9c6ca; border-bottom: 1px solid #46565e; font-size: 13px; font-weight: 700; transition: color .25s ease, border-color .25s ease; }
.hero-actions > a:not(.store-button):hover { color: var(--cyan); border-color: var(--cyan); }
.hero-readout { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); color: #5f7a84; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hero-readout span::before { content: "▸ "; color: var(--phosphor); }

.hero-visual { position: relative; z-index: 3; height: clamp(500px, 66vh, 680px); }

/* rotating radar sweep behind the phones */
.radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92%, 600px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(65, 242, 184, .2);
  background:
    repeating-radial-gradient(circle, transparent 0 74px, rgba(65, 242, 184, .1) 74px 75px),
    radial-gradient(circle, rgba(65, 242, 184, .05), transparent 68%);
  pointer-events: none;
}
.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(65, 242, 184, .38), rgba(65, 242, 184, .08) 70deg, transparent 110deg);
  animation: radar-spin 5.5s linear infinite;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(rgba(65, 242, 184, .22), rgba(65, 242, 184, .22)) center / 100% 1px no-repeat,
    linear-gradient(rgba(65, 242, 184, .22), rgba(65, 242, 184, .22)) center / 1px 100% no-repeat;
}
@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1242 / 2688;
  border: 1px solid rgba(122, 205, 196, .4);
  border-radius: 10px;
  background: #0d1a29;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .5), 0 0 32px rgba(65, 242, 184, .07);
  will-change: transform;
}
.phone img, .chapter-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--map { width: 35%; left: 2%; top: 7%; z-index: 1; transform: rotate(-4deg) translate(var(--mx, 0px), var(--my, 0px)); }
.phone--brief { width: 42%; left: 30%; top: 0; z-index: 3; transform: translate(var(--mx, 0px), var(--my, 0px)); }
.phone--alerts { width: 33%; right: 0; top: 9%; z-index: 2; transform: rotate(4deg) translate(var(--mx, 0px), var(--my, 0px)); }

/* HUD viewfinder corner brackets (8 gradient strokes, no extra markup needed) */
.hud-corners {
  position: absolute;
  inset: -16px;
  z-index: 4;
  pointer-events: none;
  --c: rgba(65, 242, 184, .55);
  background:
    linear-gradient(var(--c), var(--c)) left top / 22px 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px 22px,
    linear-gradient(var(--c), var(--c)) right top / 22px 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px 22px,
    linear-gradient(var(--c), var(--c)) left bottom / 22px 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 22px,
    linear-gradient(var(--c), var(--c)) right bottom / 22px 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 22px;
  background-repeat: no-repeat;
}
.hud-corners--hero { inset: -4px -6px; --c: rgba(73, 215, 233, .3); z-index: 0; }

/* ---------- signal marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 13, 20, .72);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee-scroll 34s linear infinite; }
.tick { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; font-family: var(--mono); }
.tick b { color: #c9dde4; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.tick i { color: var(--phosphor); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .2em; }
.tick b::before { content: "// "; color: #4d6670; }
.marquee-track > i { color: rgba(65, 242, 184, .5); font-style: normal; font-size: 9px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- stat rail ---------- */

.signal-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: rgba(8, 17, 26, .8); }
.signal-rail > div { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 10px; border-right: 1px solid var(--line); }
.signal-rail > div:last-child { border-right: 0; }
.signal-rail strong { color: var(--phosphor); font-family: var(--mono); font-size: 22px; font-weight: 700; text-shadow: 0 0 16px rgba(65, 242, 184, .35); }
.signal-rail span span { color: #7f97a0; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .18em; }

/* ---------- chapters ---------- */

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(72px, 11vh, 130px) clamp(24px, 5vw, 64px);
  overflow: hidden;
}
.chapter::before {
  content: "";
  position: absolute;
  inset: 12% 0;
  pointer-events: none;
  background: radial-gradient(560px 320px at var(--glow-x, 78%) 50%, rgba(65, 242, 184, .05), transparent 70%);
}
.chapter--reverse { --glow-x: 22%; }
.chapter--reverse .chapter-copy { order: 2; }
.chapter--reverse .chapter-visual { order: 1; }

.chapter-number {
  position: absolute;
  top: clamp(20px, 5vh, 56px);
  left: clamp(16px, 4vw, 56px);
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 205, 196, .22);
  font-family: var(--mono);
  font-size: clamp(96px, 13vw, 190px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.chapter--reverse .chapter-number { left: auto; right: clamp(16px, 4vw, 56px); }

.chapter-copy { position: relative; z-index: 2; max-width: 560px; }
.chapter h2 { font-size: clamp(36px, 4.6vw, 62px); }
.chapter-copy > p { margin: 22px 0 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.85; }

.chapter-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chapter-tags > span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(12, 24, 38, .66);
  color: #bfe3da;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.chapter-tags > span::before { content: ""; width: 6px; height: 6px; margin-right: 9px; background: var(--phosphor); box-shadow: 0 0 8px rgba(65, 242, 184, .7); }

.chapter-list { display: grid; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chapter-list li { padding: 15px 0; border-bottom: 1px solid var(--line); color: #cfe2de; font-size: 14px; font-weight: 650; }
.chapter-list li::before { content: "▸"; display: inline-block; width: 26px; color: var(--phosphor); font-family: var(--mono); }

.market-tape, .language-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.market-tape span, .language-list span {
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(12, 24, 38, .66);
  color: #9fd9cc;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.language-list span { font-size: 11px; letter-spacing: .04em; }

.chapter-visual {
  position: relative;
  z-index: 2;
  justify-self: center;
  margin: 0;
  width: min(340px, 100%);
  overflow: hidden;
  aspect-ratio: 1242 / 2688;
  border: 1px solid rgba(122, 205, 196, .4);
  border-radius: 10px;
  background: #0d1a29;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5), 0 0 36px rgba(65, 242, 184, .07);
  will-change: transform;
}
.chapter-visual .hud-corners { inset: -14px; }
.frame-tag {
  position: absolute;
  left: 0;
  bottom: -30px;
  z-index: 5;
  color: #5f7a84;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  pointer-events: none;
}
.frame-tag--critical { color: var(--critical); }
.chapter-visual { overflow: visible; }
.chapter-visual > img { border-radius: 10px; overflow: hidden; }

/* ---------- content sources ---------- */

.source-policy {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 112px);
  padding: clamp(72px, 9vw, 132px) max(28px, calc((100vw - 1260px) / 2));
  border-block: 1px solid var(--line);
  background: rgba(8, 17, 26, .82);
}
.source-policy__heading h2 { margin: 18px 0 0; font-size: clamp(30px, 4vw, 54px); }
.source-policy__body { display: grid; align-content: center; gap: 22px; }
.source-policy__body p { margin: 0; color: var(--muted); line-height: 1.85; }
.source-policy__contact { padding-top: 22px; border-top: 1px solid var(--line); }
.source-policy__contact a { color: var(--phosphor); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- closing ---------- */

.closing {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  margin: clamp(40px, 8vh, 88px) max(clamp(20px, 5vw, 64px), calc((100% - 1280px) / 2));
  padding: clamp(44px, 7vh, 80px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(620px 320px at 88% 0%, rgba(65, 242, 184, .08), transparent 65%),
    radial-gradient(520px 300px at 0% 100%, rgba(73, 215, 233, .06), transparent 65%),
    rgba(9, 18, 28, .9);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.closing > img { width: 180px; height: 180px; border: 1px solid rgba(65, 242, 184, .35); border-radius: 12px; object-fit: cover; box-shadow: 0 0 34px rgba(65, 242, 184, .14); }
.closing h2 { font-size: clamp(30px, 3.6vw, 52px); }
.closing div > p:last-child { max-width: 52em; margin: 20px 0 0; color: var(--muted); line-height: 1.8; }
.store-button--closing { border-color: rgba(65, 242, 184, .6); }

/* ---------- footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .8fr) auto;
  align-items: center;
  gap: 36px;
  padding: 34px clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: #7e939c;
  background: var(--bg-deep);
  font-size: 12px;
}
.site-footer > div { display: grid; gap: 7px; }
.site-footer strong { color: #eafcf5; font-size: 18px; }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; transition: color .25s ease; }
.site-footer a:hover { color: var(--phosphor); }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22, .8, .28, 1), transform .8s cubic-bezier(.22, .8, .28, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: .85fr 1.15fr; padding-inline: 32px; }
  .hero-claim { font-size: clamp(40px, 6vw, 66px); }
  .closing { grid-template-columns: 140px 1fr; }
  .closing > img { width: 140px; height: 140px; }
  .store-button--closing { grid-column: 2; justify-self: start; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: start; gap: 40px; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .hero-visual { height: min(78vw, 520px); width: 100%; }
  .chapter { grid-template-columns: 1fr; gap: 48px; }
  .source-policy { grid-template-columns: 1fr; gap: 36px; }
  .chapter--reverse .chapter-copy { order: 1; }
  .chapter--reverse .chapter-visual { order: 2; }
  .chapter-visual { width: min(320px, 84vw); }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 8px 16px; gap: 12px; }
  .brand picture, .brand img { width: 40px; height: 40px; }
  .brand small, .store-status { display: none; }
  .header-actions { gap: 0; }
  .language-switch { width: 106px; }
  .hero { padding: 44px 20px 30px; }
  .hero h1 { font-size: 34px; }
  .hero-claim { margin-top: 14px; font-size: clamp(38px, 11.5vw, 56px); }
  .hero-summary { margin-top: 18px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .hero-actions > a { display: none; }
  .hero-readout { margin-top: 24px; font-size: 9px; gap: 6px 16px; }
  .hero-visual { height: min(88vw, 440px); }
  .radar { width: 96%; }
  .phone--map { width: 34%; left: 0; }
  .phone--brief { width: 42%; left: 29%; }
  .phone--alerts { width: 33%; }
  .signal-rail { grid-template-columns: 1fr 1fr; }
  .signal-rail > div:nth-child(2) { border-right: 0; }
  .signal-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .signal-rail strong { font-size: 19px; }
  .chapter { padding: 64px 20px; }
  .chapter h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .chapter h2 br { display: none; }
  .chapter-number { font-size: 84px; top: 14px; }
  .frame-tag { bottom: -26px; font-size: 9px; }
  .closing { grid-template-columns: 78px 1fr; gap: 24px; margin: 32px 20px; padding: 40px 22px; }
  .source-policy { padding: 64px 22px; }
  .closing > img { width: 78px; height: 78px; align-self: start; border-radius: 10px; }
  .closing h2 { font-size: clamp(26px, 7.6vw, 34px); }
  .store-button--closing { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding: 34px 22px; }
  .site-footer nav { grid-column: auto; justify-content: flex-start; flex-wrap: wrap; gap: 10px 22px; }
}

/* ---------- reduced motion: kill every animation & parallax ---------- */

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