:root {
  --blue: #0d0df1;
  --blue-2: #0000f2;
  --navy: #0d0d5b;
  --deep: #06063f;
  --paper: #efeff1;
  --lav: #dadaf6;
  --yellow: #f2f200;
  --mint: #6effd6;
  --red: #fb2c36;
  --ink: #1a1a1a;
  --line-blue: rgba(239, 239, 241, 0.22);
  --line-paper: rgba(26, 26, 26, 0.16);
  --disp: "Rules Gothic Compressed", "Rules Gothic Condensed", "Liberation Sans Narrow", sans-serif;
  --disp-cond: "Rules Gothic Condensed", "Rules Gothic Compressed", "Liberation Sans Narrow", sans-serif;
  --body: "Rules Variable", "Noto Sans", system-ui, sans-serif;
  --mono: "Aeonik Fono", "JetBrains Mono", "DejaVu Sans Mono", monospace;
  --serif: "EB Garamond", "Noto Serif", Georgia, serif;
  --pad: 64px;
}

* { box-sizing: border-box; }
html { background: var(--deep); }
body {
  margin: 0; background: var(--blue); color: var(--paper);
  font-family: var(--body); font-weight: 400; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--yellow); color: var(--ink); }
.mono { font-family: var(--mono); font-weight: 400; }
.serif { font-family: var(--serif); font-style: italic; }
.dim { color: rgba(239,239,241,.5); }
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjkiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48ZmVDb2xvck1hdHJpeCB0eXBlPSJzYXR1cmF0ZSIgdmFsdWVzPSIwIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI24pIiBvcGFjaXR5PSIuNTUiLz48L3N2Zz4=");
  background-size: 180px 180px; mix-blend-mode: overlay;
}

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150; height: 72px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(6,6,63,.72); border-color: var(--line-blue); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 18px; height: 18px; background: var(--yellow); display: grid; place-items: center; }
.brand-mark i { width: 4px; height: 11px; background: var(--blue); display: block; }
.brand-word { font-family: var(--disp); font-size: 22px; letter-spacing: .06em; line-height: 1; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: rgba(239,239,241,.6); }
.nav-links { display: flex; gap: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(239,239,241,.72); }
.nav-links a:hover { color: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.mono-link { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: rgba(239,239,241,.72); }
.mono-link:hover { color: var(--yellow); }
.nav-cta {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; padding: 9px 15px;
  background: var(--yellow); color: var(--ink); border-radius: 2px;
}
.nav-cta:hover { background: var(--paper); }

/* hero */
.hero { position: relative; min-height: 100svh; padding: 118px var(--pad) 0; background: var(--blue); display: flex; flex-direction: column; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 620px at 76% 32%, rgba(218,218,246,.16), transparent 62%),
    radial-gradient(760px 520px at 12% 88%, rgba(110,255,214,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,242,.0), rgba(6,6,63,.28));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(90deg, rgba(239,239,241,.10) 1px, transparent 1px), linear-gradient(180deg, rgba(239,239,241,.10) 1px, transparent 1px);
  background-size: 25% 33.333%; mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .24em; margin: 0 0 26px; color: rgba(239,239,241,.72); }
.eyebrow span { color: var(--yellow); margin: 0 4px; }
.eyebrow.on-navy { color: rgba(239,239,241,.62); }
.eyebrow.on-paper { color: rgba(26,26,26,.6); }
.hero-title {
  margin: 0; font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  font-size: clamp(66px, 9vw, 146px); line-height: .8; letter-spacing: -.01em;
}
.hero-title .hl { display: block; overflow: hidden; padding-right: .06em; }
.hero-title .hl > span { display: inline-block; }
.hero-title .dot { color: var(--yellow); }
.accent-y { color: var(--yellow); }
.hero-lede { max-width: 48ch; margin: 28px 0 0; font-size: 17px; line-height: 1.5; color: rgba(218,218,246,.84); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.cmd {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); border-radius: 2px; font: inherit;
}
.cmd-prompt { font-family: var(--mono); color: var(--blue); }
.cmd code { font-family: var(--mono); font-size: 11.5px; color: var(--ink); white-space: nowrap; }
.cmd-copy { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--blue); margin-left: 6px; }
.text-link { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(239,239,241,.78); border-bottom: 1px solid rgba(239,239,241,.3); padding-bottom: 4px; }
.text-link span { color: var(--yellow); }
.text-link.light { color: rgba(239,239,241,.85); }
.hero-meta { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: rgba(218,218,246,.5); margin-top: 34px; }
.hero-visual { position: relative; height: min(62svh, 620px); }
.core-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: 0; }
#core-canvas { width: 100%; height: 100%; display: block; position: relative; z-index: 1; opacity: 0; transition: opacity .7s ease; }
.hero-visual.is-live #core-canvas { opacity: 1; }
.hero-visual.is-live .core-poster { opacity: 0; }
.core-fallback { display: none; position: absolute; inset: 0; place-items: center; }
.core-ring { width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(218,218,246,.5); box-shadow: 0 0 80px rgba(242,242,0,.18), inset 0 0 60px rgba(110,255,214,.12); }
.core-bar { position: absolute; width: 34px; height: 120px; background: var(--yellow); }
.core-label { position: absolute; left: 4px; bottom: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: rgba(239,239,241,.45); }
.core-label span { color: var(--yellow); margin-right: 8px; }
.hero-ticker { position: relative; z-index: 2; border-top: 1px solid var(--line-blue); overflow: hidden; margin: 0 calc(var(--pad) * -1); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 13px 0; font-family: var(--mono); font-size: 9px; letter-spacing: .24em; color: rgba(239,239,241,.5); animation: ticker 38s linear infinite; }
.ticker-track span::after { content: "·"; color: var(--yellow); margin-left: 40px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* shared type */
.display-navy, .display-paper, .display-blue {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  font-size: clamp(52px, 7vw, 112px); line-height: .82; letter-spacing: -.01em; margin: 0;
}
.display-navy { color: var(--paper); }
.display-paper { color: var(--ink); }
.display-blue { color: var(--paper); }
.display-paper .blue-em { color: var(--blue); font-family: var(--serif); font-style: italic; text-transform: none; }
.blue-dot { color: var(--blue); }
.section-body { max-width: 52ch; margin: 34px 0 0; font-size: 17px; line-height: 1.55; color: rgba(239,239,241,.78); }
.section-body.ink { color: rgba(26,26,26,.78); }
.section-body.light { color: rgba(239,239,241,.82); }
.section-head { max-width: 1180px; }

/* wall */
.wall { background: var(--navy); padding: 150px var(--pad) 120px; position: relative; z-index: 3; }
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 64px; }
.evidence-card { background: var(--paper); color: var(--ink); border-radius: 2px; padding: 18px 20px 20px; min-height: 300px; display: flex; flex-direction: column; }
.evidence-card.pipe { background: #e7e7ec; }
.ec-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-paper); padding-bottom: 12px; margin-bottom: 14px; }
.ec-head .mono { font-size: 9px; letter-spacing: .12em; color: rgba(26,26,26,.6); }
.ec-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; padding: 2px 7px; border: 1px solid currentColor; }
.ec-tag.red { color: #c00a14; }
.ec-tag.mint { color: #007a5c; }
.evidence-card pre { margin: 0; font-size: 10px; line-height: 1.55; white-space: pre-wrap; color: #2a2a30; }
.evidence-card.pipe pre { color: #7a2a2e; }
.ec-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-paper); font-size: 9px; letter-spacing: .12em; color: rgba(26,26,26,.55); }
.evidence-note { font-size: 9px; letter-spacing: .18em; color: rgba(239,239,241,.55); margin-top: 20px; }

/* loop */
.loop { background: var(--paper); color: var(--ink); padding: 130px 0 0; position: relative; z-index: 3; overflow: hidden; }
.loop-head { padding: 0 var(--pad); max-width: 1180px; }
.loop-viewport { overflow: hidden; margin-top: 54px; }
.loop-track { display: flex; gap: 22px; padding: 0 var(--pad) 80px; width: max-content; will-change: transform; }
.loop-panel {
  width: 480px; flex: 0 0 480px; border: 1px solid var(--line-paper); padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.28);
}
.lp-top { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .16em; color: rgba(26,26,26,.55); }
.lp-top span:last-child { color: var(--blue); }
.loop-panel h3 { font-family: var(--disp-cond); font-weight: 500; text-transform: uppercase; font-size: 34px; line-height: .95; margin: 8px 0 0; letter-spacing: -.01em; }
.loop-panel p { font-size: 14.5px; line-height: 1.55; color: rgba(26,26,26,.72); margin: 0; }
.loop-panel pre { margin: auto 0 0; background: var(--ink); color: var(--lav); padding: 12px 14px; font-size: 10.5px; overflow: hidden; white-space: pre-wrap; }
.loop-note { padding: 0 var(--pad) 40px; font-size: 9px; letter-spacing: .18em; color: rgba(26,26,26,.45); }

/* backend */
.backend { background: var(--blue); padding: 150px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 3; }
.spec { list-style: none; margin: 40px 0 30px; padding: 0; max-width: 480px; }
.spec li { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-bottom: 1px solid rgba(239,239,241,.18); font-size: 14px; color: rgba(239,239,241,.88); }
.spec .mono { font-size: 9px; letter-spacing: .16em; color: rgba(218,218,246,.62); }
.term-frame { background: var(--deep); border-radius: 3px; overflow: hidden; box-shadow: 0 40px 90px rgba(6,6,63,.5); }
.term-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: rgba(218,218,246,.08); border-bottom: 1px solid rgba(218,218,246,.14); }
.tdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(218,218,246,.28); }
.term-bar .mono { margin-left: 8px; font-size: 9.5px; color: rgba(218,218,246,.6); letter-spacing: .06em; }
.term-body { margin: 0; padding: 24px 22px 26px; font-size: 11.5px; line-height: 1.95; color: var(--lav); white-space: pre-wrap; }
.term-body .tl { display: block; }
.term-body .dim { color: rgba(218,218,246,.45); }
.term-body .ok { color: var(--mint); }
.term-body .warn { color: var(--yellow); }
.term-body .out { color: rgba(218,218,246,.7); }
.caret { color: var(--yellow); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-note { font-size: 9px; letter-spacing: .16em; color: rgba(218,218,246,.58); margin-top: 14px; }
.backend-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(239,239,241,.22); font-size: 9px; letter-spacing: .18em; color: rgba(218,218,246,.62); }

/* plates */
.plates { background: var(--navy); padding: 140px var(--pad) 120px; position: relative; z-index: 3; overflow: hidden; }
.plates::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(90deg, rgba(218,218,246,.06) 1px, transparent 1px), linear-gradient(180deg, rgba(218,218,246,.06) 1px, transparent 1px);
  background-size: 25% 33.333%;
}
.plates-head { max-width: 1180px; position: relative; }
.plate-stack { position: relative; margin-top: 70px; display: grid; gap: 78px; }
.plate-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.plate-row:nth-child(even) .plate-frame { order: 2; }
.plate-row:nth-child(even) .plate-copy { order: 1; }
.plate-frame { margin: 0; border: 1px solid rgba(218,218,246,.2); background: var(--deep); position: relative; overflow: hidden; }
.plate-frame img { display: block; width: 100%; height: auto; }
.plate-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(6,6,63,.2) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.plate-frame figcaption {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border-top: 1px solid rgba(218,218,246,.16);
  font-size: 9px; letter-spacing: .16em; color: rgba(218,218,246,.62);
}
.plate-frame figcaption span { color: var(--yellow); }
.plate-kicker { display: block; font-size: 9px; letter-spacing: .2em; color: var(--yellow); }
.plate-copy h3 {
  font-family: var(--disp-cond); font-weight: 500; text-transform: uppercase;
  font-size: clamp(38px, 4.2vw, 66px); line-height: .9; letter-spacing: -.01em;
  margin: 18px 0 0; color: var(--paper);
}
.plate-copy p { max-width: 42ch; margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: rgba(218,218,246,.74); }
.plate-copy p .mono { color: var(--paper); }

/* portal */
.portal { background: var(--deep); padding: 140px var(--pad) 100px; position: relative; z-index: 3; }
.portal-head { max-width: 1100px; }
.portal-shell { margin-top: 54px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(218,218,246,.16); box-shadow: 0 60px 140px rgba(0,0,0,.5); background: #0d0d5b; }
.portal-bar { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: rgba(6,6,63,.92); border-bottom: 1px solid rgba(218,218,246,.12); font-size: 9px; color: rgba(218,218,246,.5); letter-spacing: .08em; }
.pb-dots { display: flex; gap: 5px; }
.pb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(218,218,246,.25); }
.ps-grid { display: grid; grid-template-columns: 236px 1fr 348px; min-height: 600px; }
.ps-nav { background: #0d0d5b; padding: 24px 20px; display: flex; flex-direction: column; gap: 22px; }
.ps-brand { display: flex; align-items: center; gap: 10px; }
.ps-mark { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(218,218,246,.55); background: radial-gradient(circle at 40% 35%, rgba(218,218,246,.9), rgba(13,13,241,.25) 58%, transparent 72%); }
.ps-brand b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1; color: var(--paper); display: block; }
.ps-brand span { font-family: var(--serif); font-size: 18px; color: rgba(218,218,246,.75); display: block; line-height: 1; }
.ps-create { display: flex; justify-content: space-between; align-items: center; background: var(--paper); color: var(--blue); border: 0; padding: 12px; font-size: 9px; letter-spacing: .1em; cursor: pointer; }
.ps-group { display: flex; flex-direction: column; gap: 2px; }
.ps-group .lbl { font-size: 8px; letter-spacing: .22em; color: rgba(218,218,246,.45); margin-bottom: 6px; }
.ps-group a { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-family: var(--mono); font-size: 10.5px; color: rgba(218,218,246,.78); border-bottom: 1px solid rgba(218,218,246,.07); }
.ps-group a i { font-style: normal; width: 14px; text-align: center; color: rgba(218,218,246,.55); font-size: 11px; }
.ps-group a.active { color: var(--yellow); }
.ps-group a:hover { color: var(--paper); }
.ps-signin { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: .12em; color: rgba(218,218,246,.8); border: 1px solid rgba(218,218,246,.25); padding: 11px 12px; }
.ps-main { background: #f0f2f5; color: var(--ink); padding: 42px 44px 32px; display: flex; flex-direction: column; }
.ps-crumb { font-size: 9px; letter-spacing: .16em; color: rgba(26,26,26,.5); }
.ps-main h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.4vw, 58px); line-height: 1; letter-spacing: -.02em; color: #0d0d5b; margin: 28px 0 18px; max-width: 12ch; }
.ps-main p { font-size: 15px; line-height: 1.6; color: rgba(26,26,26,.8); max-width: 46ch; margin: 0; }
.ps-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.ps-btn { display: inline-block; background: var(--blue); color: var(--paper); font-size: 9px; letter-spacing: .12em; padding: 12px 16px; }
.ps-link { font-size: 9px; letter-spacing: .12em; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 3px; }
.ps-stats { display: flex; gap: 34px; margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(26,26,26,.14); }
.ps-stats div { display: flex; flex-direction: column; gap: 4px; font-size: 8px; letter-spacing: .16em; color: rgba(26,26,26,.45); }
.ps-stats b { font-family: var(--serif); font-weight: 500; font-size: 18px; color: #0d0d5b; letter-spacing: 0; }
.ps-art { position: relative; background: #0d0d5b; overflow: hidden; display: flex; align-items: flex-end; padding: 28px 26px 26px; }
.ps-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; opacity: .9; mix-blend-mode: screen; filter: brightness(1.22) contrast(1.05); }
.ps-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(218,218,246,.36) 1px, transparent 1.2px); background-size: 4px 4px; opacity: .22; mix-blend-mode: overlay; pointer-events: none; }
.ps-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,63,0) 42%, rgba(6,6,63,.82) 100%); z-index: 1; }
.ps-art-copy { position: relative; z-index: 2; }
.ps-art-copy .ps-crumb { color: rgba(218,218,246,.55); }
.ps-art-copy h4 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; color: var(--paper); margin: 14px 0 10px; }
.ps-art-copy p { font-size: 12.5px; line-height: 1.5; color: rgba(218,218,246,.72); margin: 0 0 18px; max-width: 28ch; }
.ps-btn.light { background: var(--paper); color: var(--blue); }
.portal-cap { font-size: 9px; letter-spacing: .16em; color: rgba(218,218,246,.58); margin-top: 20px; }
.portal-cap a { color: var(--yellow); }

/* manifesto */
.manifesto { background: var(--deep); padding: 110px 0 40px; position: relative; z-index: 3; }
.manifesto-head { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding: 0 var(--pad); margin-bottom: 30px; }
.manifesto-head .eyebrow { margin: 0; }
.hint { font-size: 9px; letter-spacing: .18em; color: rgba(239,239,241,.38); margin: 0; }
.pretext-stage { position: relative; height: 66svh; min-height: 440px; }
#pretext-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
#pretext-canvas:active { cursor: grabbing; }
.pretext-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 0 var(--pad); }
.pretext-fallback p { max-width: 780px; font-family: var(--serif); font-size: 28px; line-height: 1.4; color: var(--lav); }
.manifesto.no-canvas .pretext-fallback { display: flex; }

/* install */
.install { background: var(--paper); color: var(--ink); padding: 140px var(--pad) 120px; position: relative; z-index: 3; }
.install-head .display-paper.big { font-size: clamp(64px, 10vw, 156px); }
.install-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; margin-top: 70px; align-items: start; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-paper); }
.step > .mono { font-size: 9px; letter-spacing: .14em; color: var(--blue); padding-top: 3px; }
.step-title { margin: 0 0 8px; font-size: 14px; color: rgba(26,26,26,.72); }
.step pre { margin: 0; background: var(--ink); color: var(--lav); padding: 10px 12px; font-size: 11px; overflow-x: auto; }
.install-meta { font-size: 9px; letter-spacing: .16em; color: rgba(26,26,26,.45); margin-top: 26px; }
.install-card { background: var(--blue); color: var(--paper); padding: 26px 24px 22px; }
.ic-top { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .16em; color: rgba(239,239,241,.6); }
.install-card h3 { font-family: var(--disp-cond); font-weight: 500; text-transform: uppercase; font-size: 38px; line-height: .95; margin: 26px 0 10px; }
.install-card p { font-size: 14px; line-height: 1.55; color: rgba(239,239,241,.78); margin: 0; }
.ic-links { display: flex; gap: 18px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(239,239,241,.24); font-size: 9px; letter-spacing: .14em; }
.ic-links a { color: var(--yellow); }

/* footer */
.footer { background: var(--deep); padding: 40px var(--pad) 34px; color: var(--paper); position: relative; z-index: 3; }
.footer-word { font-family: var(--disp); font-weight: 600; font-size: clamp(110px, 22vw, 340px); line-height: .72; color: transparent; -webkit-text-stroke: 1px rgba(218,218,246,.22); margin: 30px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 200px); gap: 40px; font-size: 11px; line-height: 2; }
.footer-grid .dim { display: block; font-size: 9px; letter-spacing: .2em; color: rgba(239,239,241,.4); margin-bottom: 6px; }
.footer-grid a { display: block; color: rgba(239,239,241,.75); }
.footer-grid a:hover { color: var(--yellow); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 16px; border-top: 1px solid rgba(218,218,246,.16); font-size: 9px; letter-spacing: .16em; color: rgba(239,239,241,.4); }

/* reveal defaults — visible if JS fails; GSAP takes over */
.reveal-lines .rl { display: block; overflow: hidden; }
.reveal-lines .rl > span { display: inline-block; }

@media (max-width: 1100px) {
  .ps-grid { grid-template-columns: 210px 1fr; }
  .ps-art { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { height: 46svh; order: 2; }
  .hero { padding-top: 104px; }
  .backend { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .evidence { grid-template-columns: 1fr; }
  .loop-panel { width: 420px; flex-basis: 420px; }
  .plate-row { grid-template-columns: 1fr; gap: 26px; }
  .plate-row:nth-child(even) .plate-frame, .plate-row:nth-child(even) .plate-copy { order: 0; }
}
@media (max-width: 760px) {
  .ps-grid { grid-template-columns: 1fr; }
  .ps-nav { order: 2; }
  .ps-main { order: 1; padding: 28px 22px; }
  .ps-main h3 { font-size: 40px; }
  .portal { padding-top: 90px; }
  :root { --pad: 22px; }
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .hero-title { font-size: clamp(58px, 16vw, 92px); }
  .hero-lede { font-size: 15px; }
  .cmd code { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
  .hero-visual { height: 38svh; }
  #core-canvas { display: none; }
  .core-fallback { display: none; }
  .loop { padding-top: 90px; }
  .plates { padding-top: 90px; }
  .plate-stack { gap: 54px; margin-top: 46px; }
  .loop-track { padding-bottom: 50px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .loop-panel { width: 84vw; flex-basis: 84vw; scroll-snap-align: start; }
  .loop-note { display: none; }
  .manifesto-head { flex-direction: column; gap: 10px; }
  .hint { display: none; }
  .pretext-stage { height: 58svh; min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
  .term-body { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .caret { animation: none; }
}
