.docs {
  --paper:#eeeae3; --paper-ink:#292432; --muted-paper:#594f5a; --violet:#cbb2ff;
  --deep:#101018; --paper-line:#bdb5b6; --archive-mono:ui-monospace,SFMono-Regular,Consolas,monospace;
}
.docs .wrap {width:min(100%,1510px);margin-inline:auto;padding-inline:clamp(22px,6.4vw,102px)}
.docs h1,.docs h2,.docs h3 {margin:0;font-family:Roboto,Arial,sans-serif;font-weight:400;letter-spacing:-.068em}
.docs h1 em,.docs h2 em {font-family:Georgia,'Times New Roman',serif;font-weight:400;font-style:italic;letter-spacing:-.071em;color:inherit}
.doc-label {display:flex;align-items:center;gap:12px;font:600 .76rem/1.45 var(--archive-mono);text-transform:uppercase;letter-spacing:.115em}
.doc-label b {font-weight:400;opacity:.5}
.light-label {color:#dac8ee}
.index-rule {display:inline-block;width:31px;height:2px;background:currentColor}
.report-cover {position:relative;isolation:isolate;overflow:hidden;background:#0b0d16;--drift:0px;--px:0px;--py:0px;--focus-y:0px}
.report-photo,.report-vignette,.report-glass {position:absolute;inset:0;pointer-events:none}
.report-photo {z-index:-4;overflow:hidden}
.report-photo img {width:100%;height:100%;object-fit:cover;object-position:61% 51%;transform:translate3d(var(--px),calc(var(--py) + var(--drift)),0) scale(1.07)}
.report-vignette {z-index:-3;background:linear-gradient(90deg,rgba(11,10,21,.92),rgba(11,10,21,.78) 29%,rgba(11,10,21,.17) 57%,transparent 78%),linear-gradient(0deg,rgba(11,11,22,.65),transparent 23%)}
.report-glass {z-index:-1;overflow:hidden;opacity:.65}
.report-glass i {position:absolute;width:2px;height:2px;background:#e8d4fd;border-radius:50%;left:63%;top:18%;box-shadow:153px 160px #b5a3d4,272px 24px #dbafee,54px 319px #eed8ff}
.report-glass i:nth-child(2) {left:10%;top:15%;opacity:.5;filter:blur(.6px)}
.report-glass i:nth-child(3) {left:82%;top:57%;opacity:.6;filter:blur(.5px)}
.report-inner {position:relative;min-height:clamp(585px,71vh,805px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block:76px 82px}
.small-file {height:14px;width:17px;border:1px solid currentColor;position:relative;display:inline-block;transform:rotate(-5deg)}
.small-file:after {content:"";position:absolute;bottom:3px;left:3px;width:8px;height:1px;background:currentColor;box-shadow:0 -3px currentColor}
.docs .report-cover h1 {font-size:clamp(5.2rem,7.7vw,8.65rem);line-height:.91;margin:24px 0 25px}
.docs .report-cover h1 em {font-size:1.04em;line-height:.89;color:#d8bbff}
.standfirst {color:#e3dde8;font-size:clamp(1.02rem,1.2vw,1.23rem);line-height:1.5;max-width:36ch;text-wrap:pretty}
.report-cta {margin-top:25px;padding:11px 18px 12px;border-radius:4px;background:#dbcbf0;color:#21162d;font-size:.99rem;font-weight:700;box-shadow:0 1px 0 #f5ecff inset;transition:background .16s,transform .16s}
.report-cta:hover {background:#f1e5ff;transform:translateY(-2px)}
.evidence-tag {position:absolute;left:65%;bottom:9%;padding-left:14px;border-left:1px solid #dbc5fb;color:#f2e7fd;font:400 .78rem/1.5 var(--archive-mono);transform:translate3d(calc(var(--px) * -1),var(--focus-y),0);text-shadow:0 1px 6px #06030e}
.evidence-tag b {display:block;font-size:.73rem;letter-spacing:.1em;text-transform:uppercase}
.evidence-tag span {height:1px;width:clamp(40px,5vw,85px);background:#ddc9f2;position:absolute;right:100%;top:0;transform-origin:right;transform:rotate(25deg)}
.evidence-tag span:before {content:"";width:7px;height:7px;border-radius:50%;border:1px solid #f3defd;position:absolute;left:-7px;top:-3px}
.index-bar {position:sticky;top:0;z-index:6;border-bottom:1px solid #3a3543;border-top:1px solid #38323f;background:rgba(20,18,29,.96);color:#f4effa}
.index-inner {display:flex;align-items:center;gap:clamp(18px,2.9vw,51px);min-height:56px}
.index-title,.location {font-size:.72rem;color:#c8bdce}
.index-inner a {padding:17px 0 15px;border-bottom:2px solid transparent;line-height:1.3;font-size:.91rem;white-space:nowrap}
.index-inner a:hover,.index-inner a[aria-current] {color:#ddc5ff;border-color:#d2aaff}
.location {margin-left:auto;font-family:var(--archive-mono);display:flex;align-items:center;gap:10px}
.location i {width:2px;height:2px;background:currentColor}
.paper,.sealed {background:var(--paper);color:var(--paper-ink);color-scheme:light}
.paper,.orders,.sealed {scroll-margin-top:54px}
.paper {padding:clamp(65px,7.2vw,126px) 0 clamp(56px,6vw,104px)}
.sheet-heading,.orders-lead {max-width:890px}
.docs section h2 {font-size:clamp(3.2rem,5.4vw,6rem);line-height:.99;letter-spacing:-.066em}
.sheet-heading h2,.orders h2,.sealed h2 {margin:17px 0 18px}
.sheet-heading h2 em,.sealed h2 em {color:#674677}
.sheet-heading>p:last-child,.orders-lead,.sealed-story>p:not(.doc-label) {font-size:clamp(1.06rem,1.28vw,1.35rem);line-height:1.6;max-width:52ch;text-wrap:pretty}
.sheet-heading>p:last-child,.sealed-story>p:not(.doc-label) {color:var(--muted-paper)}
.bench {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.76fr);gap:clamp(50px,8.8vw,154px);margin-top:clamp(35px,4.3vw,74px);align-items:start}
.bench-instrument {position:sticky;top:calc(56px + 4vh);min-width:0}
.instrument {isolation:isolate;position:relative;margin:0;aspect-ratio:1.36;overflow:hidden;background:radial-gradient(ellipse at 42% 47%,#3a2e49,#211d2e 42%,#171520 85%);color:#f8f3fd;--spread:1;--foil-lift:0px;--ink-lift:0px;--stock-lift:0px}
.instrument:before {content:"";position:absolute;inset:12px;border:1px solid #77728244;pointer-events:none}
.instrument:after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,9,17,.56),transparent 25%);pointer-events:none}
.instrument-top {position:absolute;left:6%;right:6%;top:7%;display:flex;align-items:center;justify-content:space-between}
.instrument-top .doc-label {color:#d5c9df;font-size:.71rem}
.calibration {width:50px;height:7px;border-top:1px solid #b2a5bd;background:repeating-linear-gradient(to right,#c7bbce 0 1px,transparent 1px 8px);opacity:.65}
.layers {position:absolute;left:46%;top:50%;width:41%;height:73%;perspective:990px}
.material {position:absolute;inset:0;border-radius:6%;transform-origin:center;box-shadow:0 15px 26px #06030c65;border:1px solid #fff6;background-size:cover;background-position:50%;transition:filter .4s,opacity .4s,transform .55s cubic-bezier(.22,.75,.22,1);will-change:auto}
.material:after {content:"";position:absolute;inset:0;border:1px solid #ffffff3b;border-radius:inherit}
.material.foil-plane {background-image:linear-gradient(135deg,#f4e9ff19,#1d134841),url(media/foil.webp);transform:translate(-50%,calc(-55% - var(--foil-lift))) rotateX(61deg) rotateZ(-28deg);z-index:3}
.material.ink {background-image:url(media/ink.webp);transform:translate(-50%,calc(-45% + var(--ink-lift))) rotateX(61deg) rotateZ(-28deg);z-index:2}
.material.stock {background-image:url(media/stock.webp);border-bottom:5px solid #b49b78;transform:translate(-50%,calc(-35% + var(--stock-lift))) rotateX(61deg) rotateZ(-28deg)}
.instrument[data-layer="1"] .foil-plane {opacity:.38}
.instrument[data-layer="2"] .foil-plane {opacity:.20}
.instrument[data-layer="2"] .ink {opacity:.54}
.instrument[data-layer="0"] .lens-texture {background-image:url(media/foil.webp)}
.instrument[data-layer="1"] .lens-texture {background-image:url(media/ink.webp)}
.instrument[data-layer="2"] .lens-texture {background-image:url(media/stock.webp)}
.specimen-lens {position:absolute;z-index:4;right:7%;top:22%;width:20%;aspect-ratio:1;border:1px solid #eddfec;border-radius:50%;box-shadow:0 0 0 5px #211b2ccc,0 4px 20px #0b091280}
.specimen-lens:before {position:absolute;content:"";right:94%;top:72%;height:1px;width:52%;background:#ddd1dd;transform:rotate(-24deg);transform-origin:right}
.lens-texture {display:block;height:100%;border-radius:50%;background-size:180%;background-position:50%}
.instrument figcaption {display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;position:absolute;bottom:6.5%;z-index:2;left:6%;right:6%;font:400 .75rem var(--archive-mono);color:#ddd2e2}
.instrument figcaption b {font-size:.86rem;color:#fff5ff}
.material-nav {display:flex;border-bottom:1px solid var(--paper-line)}
.material-nav a {flex:1;text-align:center;padding:15px 4px 12px;font-size:.93rem;line-height:1.4;border-bottom:2px solid transparent}
.material-nav a[aria-current],.material-nav a:hover {border-color:#785493;color:#56326c;font-weight:700}
.observation {min-height:clamp(225px,32vh,420px);padding:26px 0 35px;border-top:1px solid var(--paper-line);scroll-margin-top:clamp(115px,20vh,225px)}
.observation .doc-label,.sealed .doc-label {color:#6b576c}
.docs .observation h3 {font-size:clamp(2.2rem,3.6vw,4.3rem);line-height:1.05;margin:12px 0 13px}
.observation>p:not(.doc-label):not(.printout),.dispatch-copy>p:not(.doc-label):not(.move-line) {max-width:41ch;line-height:1.62;font-size:clamp(1.02rem,1.18vw,1.22rem);text-wrap:pretty}
.observation>p:not(.doc-label):not(.printout) {color:#504852}
.observation:last-child {min-height:0;padding-bottom:0}
.printout {font:500 .83rem/1.4 var(--archive-mono);padding:16px 0 4px;margin-top:20px;border-top:1px dashed #a99caa;display:flex;gap:16px;justify-content:space-between;text-transform:uppercase}
.printout strong {color:#633778}
.orders {background:#14101e;color:#f6f1fa;padding:clamp(74px,7.8vw,132px) 0}
.orders h2 em {color:#d2aafa}
.orders-lead {color:#d6cedf}
.dispatch {position:relative;display:grid;grid-template-columns:1.08fr .9fr;min-height:460px;margin-top:clamp(32px,4.3vw,70px);border-block:1px solid #514459;isolation:isolate;background:#1d1728;overflow:hidden}
.theater {position:relative;overflow:hidden;min-height:440px}
.theater-back,.theater-grain,.field-beam {position:absolute;inset:0}
.theater-back {background:linear-gradient(0deg,#171020b0,transparent 40%),linear-gradient(90deg,#1d142232,transparent 66%,#1d1728),url(../assets/reactor.webp) 53% 55%/cover;transform:scale(1.08) translateY(var(--room-y,0px))}
.theater-grain {pointer-events:none;background:linear-gradient(0deg,#1d1728a0,transparent 20%,transparent 83%,#1d17287a)}
.agent-art {position:absolute;inset:0;transform:translate3d(0,var(--agent-y,0px),0)}
.agent-art img {position:absolute;inset:7% 7% 4%;width:86%;height:89%;object-fit:contain;filter:drop-shadow(0 10px 18px #1b0924);transition:transform .55s cubic-bezier(.2,.74,.22,1),opacity .38s}
.agent-mewtwo {opacity:0;transform:translateX(30px) scale(.95)}
.orders[data-agent="mewtwo"] .agent-mewtwo {opacity:1;transform:none}
.orders[data-agent="mewtwo"] .agent-mew {opacity:0;transform:translateX(-40px) scale(.95)}
.field-beam {left:8%;top:45%;height:1px;width:80%;transform:rotate(-12deg);background:linear-gradient(90deg,transparent,#fac8f4,transparent);box-shadow:0 0 16px 2px #b480f170}
.orders[data-agent="mewtwo"] .field-beam {transform:rotate(6deg)}
.orders-text {position:relative;padding:clamp(30px,4.1vw,70px);align-self:center}
.agents {display:none}
.js-docs .agents {display:inline-flex;flex-wrap:wrap;border-bottom:1px solid #584c65;margin-bottom:30px;gap:23px}
.agents a {padding:0 0 9px;color:#c9bacf;font-size:1.05rem;border-bottom:2px solid transparent}
.agents a[aria-current] {color:white;border-color:#d8acff}
.dispatch-copy .doc-label {color:#d4aeea}
.docs .dispatch-copy h3 {font-size:clamp(2.35rem,3.7vw,4.4rem);line-height:1.08;margin:12px 0 14px}
.dispatch-copy>p {color:#e1d8e7}
.dispatch-copy+.dispatch-copy {margin-top:25px}
.js-docs .dispatch-copy+.dispatch-copy {margin-top:0}
.dispatch-copy[hidden] {display:none}
.move-line {margin-top:20px;line-height:1.6;font-size:.95rem;color:white}
.move-line span {display:block;font:500 .72rem/1.45 var(--archive-mono);letter-spacing:.08em;text-transform:uppercase;color:#c6b8d0;margin-bottom:2px}
.inline-link,.slip-link {display:inline-block;margin-top:22px;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.inline-link {color:#e0c9ff}
.sealed {padding:clamp(70px,8.2vw,140px) 0;background:#e7e1e7}
.sealed-grid {display:grid;grid-template-columns:1fr .72fr;gap:clamp(55px,9vw,160px);align-items:center}
.sealed-story>p:not(.doc-label) {max-width:42ch}
.margin-note {margin-top:24px;border-block:1px solid #c1b4c4;max-width:48ch}
.margin-note summary {cursor:pointer;display:flex;align-items:center;gap:13px;padding:16px 0;list-style:none;font-weight:700}
.margin-note summary::-webkit-details-marker {display:none}
.fold-icon {width:17px;height:14px;border:1px solid currentColor;position:relative}
.fold-icon:after {content:"";width:9px;height:9px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);position:absolute;top:-4px;left:3px}
.when-open,.margin-note[open] .when-closed {display:none}.margin-note[open] .when-open {display:inline}
.margin-note>p {font:italic 1.25rem/1.45 Georgia,serif;color:#413241}
.margin-note small {display:block;padding:10px 0 19px;color:#6a596b;font:.8rem/1.4 var(--archive-mono)}
.sealed-record {position:relative;min-height:290px;background:#f4f0e8;box-shadow:0 14px 26px -18px #241a33a3,0 1px 4px #4c3a5521;padding:clamp(25px,3.2vw,48px);transform:rotate(2deg);border-left:5px solid #ac92b1}
.tape {position:absolute;top:-12px;left:41%;width:22%;height:26px;background:#beabc888;transform:rotate(-5deg);border-inline:1px dashed #a793b2}
.slip-grid {margin:22px 0 0;display:grid}
.slip-grid>div {display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #d4c9ca;padding:10px 0}
.slip-grid span {font:.8rem var(--archive-mono);color:#685c63}
.slip-grid b {font-weight:600;text-align:right}
.redaction {width:103px;height:12px;display:inline-block;background:#302733;transform:rotate(-1deg)}
.slip-link {color:#56336e;font-weight:700}
.docs :where(a,button,summary):focus-visible {outline:3px solid #a675df;outline-offset:4px}
.docs .foot {gap:16px}
@media(min-width:901px) {
  .docs-motion .report-cover .report-glass {transform:translate3d(calc(var(--px) * -1.8),calc(var(--py) * -1.8),0)}
  .docs-motion .report-cover .evidence-tag {transition:transform .15s ease-out}
}
@media(max-width:900px) {
  .docs .wrap {padding-inline:clamp(22px,5vw,46px)}
  .report-inner {min-height:550px}
  .bench {gap:38px;grid-template-columns:1fr .85fr}
  .dispatch {grid-template-columns:.96fr 1fr}.orders-text{padding:26px}.sealed-grid{gap:42px}
}
@media(max-width:680px) {
  .report-inner {min-height:0;justify-content:flex-start;padding-block:28px 0;z-index:1}
  .docs .report-cover h1 {font-size:clamp(3.7rem,12vw,5.25rem);margin:18px 0 12px;line-height:.92}
  .standfirst {font-size:1.03rem;max-width:37ch;line-height:1.45}
  .report-cta {margin-top:17px;min-height:42px}
  .report-cover {display:flex;flex-direction:column;background:#0d0e17}
  .report-inner {order:0}
  .report-photo {position:relative;order:1;height:clamp(190px,52vw,295px);margin-top:7px;z-index:0;overflow:hidden}
  .report-photo img {object-fit:cover;object-position:80% 55%;width:132%;max-width:none;margin-left:-29%;transform:none}
  .report-photo:after {content:"";position:absolute;inset:0;background:linear-gradient(#0d0e17,transparent 20%,transparent 77%,#0e0e1873)}
  .report-glass,.report-vignette {display:none}
  .evidence-tag {left:auto;right:7%;bottom:4%;z-index:2;font-size:.7rem}
  .index-inner {justify-content:space-between;gap:10px;min-height:46px}
  .index-title,.location {display:none}
  .index-inner a {padding:12px 0 10px}
  .paper,.orders,.sealed {scroll-margin-top:45px}
  .paper,.orders,.sealed {padding-block:52px}
  .docs section h2 {font-size:clamp(2.8rem,10.5vw,4rem)}
  .doc-label{font-size:.73rem}
  .bench {display:block;margin-top:27px}
  .bench-instrument {position:sticky;top:45px;z-index:2;margin-inline:calc(-1 * clamp(22px,5vw,46px));padding-inline:clamp(22px,5vw,46px);background:var(--paper)}
  .instrument {aspect-ratio:auto;height:clamp(166px,26svh,245px)}
  .instrument:before {inset:7px}
  .instrument-top {left:5%;top:8%}
  .layers {width:36%;height:92%;top:51%;left:45%}
  .specimen-lens {width:15%;right:12%;top:19%}
  .instrument figcaption {left:5%;bottom:6%;font-size:.69rem}.instrument figcaption b {font-size:.78rem}
  .material-nav a {padding:9px 3px 8px}
  .observations {padding-top:14px}
  .observation {min-height:185px;padding:20px 0 24px;scroll-margin-top:calc(112px + clamp(166px,26svh,245px))}
  .docs .observation h3 {margin:8px 0}
  .dispatch,.sealed-grid {display:block}
  .dispatch {margin-top:25px}
  .theater {min-height:0;height:clamp(220px,54vw,340px)}
  .theater-back {background-position:50% 55%}
  .orders-text {padding:22px 21px 27px}
  .js-docs .agents {margin-bottom:19px}
  .sealed-record {margin:42px auto 0;width:94%;min-height:0}
}
@media(max-height:610px) and (max-width:680px) {.bench-instrument{position:relative;top:0}.observation{scroll-margin-top:75px}}
@media(min-width:681px) and (max-height:620px) {.bench-instrument{top:65px}.instrument{max-height:65vh}}
@media(prefers-reduced-motion:reduce) {.docs *, .docs *::before,.docs *::after{scroll-behavior:auto!important}}
.docs:not(.docs-motion) .material,.docs:not(.docs-motion) .agent-art img,.docs:not(.docs-motion) .report-cta {transition:none}
