/* Technical-report world: cool paper, ink type, one cobalt accent. Recordings sit on the page as figures. */
:root {
  --paper: #f1f2ef;
  --paper-2: #e6e8e4;
  --white: #fbfbfa;
  --ink: #121417;
  --ink-2: #3a4048;
  --ink-3: #6a717a;
  --rule: #cdd1cd;
  --rule-2: #b5bab5;
  --accent: #1d3fcf;
  --accent-soft: #dfe5fb;
  --alert: #e0321f;
  --fig: #0e1114;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--rule-2) var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--rule-2); border: 3px solid var(--paper); border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 14px; background: var(--ink); color: #fff; font: 600 14px var(--display); }
.skip:focus { left: 8px; }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px;
  font: 600 15px/1 var(--display); letter-spacing: .01em; text-decoration: none;
  color: var(--paper); background: var(--ink); border-radius: 3px;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn svg, .link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-lg { padding: 18px 26px; font-size: 17px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--display); text-decoration: none; color: var(--ink); padding: 14px 2px; border-bottom: 1px solid var(--rule-2); transition: border-color .25s, color .25s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link:hover svg { transform: translateY(2px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--rule); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { font: 750 19px/1 var(--display); font-stretch: 85%; letter-spacing: -.01em; text-decoration: none; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { font: 500 14.5px/1 var(--display); color: var(--ink-3); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav nav a:hover { color: var(--ink); }
.nav nav a.active { color: var(--ink); border-color: var(--ink); }

/* title page */
.title { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
#net { position: absolute; top: 0; left: 38%; width: 62%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.title .wrap { position: relative; }
.runhead { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); font: 500 13px/1.3 var(--display); color: var(--ink-3); }
.avail { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(31,157,85,0); } }

.title-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 88px); align-items: end; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.name {
  font-weight: 820; font-stretch: 72%; font-size: clamp(76px, 12.4vw, 176px); line-height: .9; letter-spacing: -.035em;
  margin: 0 0 clamp(28px, 3.4vw, 44px) -.04em;
}
.name span { display: inline-block; padding-top: .08em; }
.name .n2 { color: var(--accent); }
.js .name span { animation: lift 1.1s var(--ease) both; }
.js .name .n2 { animation-delay: .12s; }
@keyframes lift { from { transform: translateY(.3em); opacity: 0; } to { transform: none; opacity: 1; } }
.role-line { font: 400 clamp(21px, 2.15vw, 27px)/1.38 var(--serif); max-width: 30ch; color: var(--ink); }
.typed { margin-top: 18px; font: italic 400 18px/1.4 var(--serif); color: var(--ink-3); min-height: 1.4em; }
.typed #role { color: var(--ink); font-style: normal; }
.cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.title-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }
.js .title-main > p, .js .title-cta { animation: fade .9s var(--ease) both; }
.js .role-line { animation-delay: .3s; }
.js .typed { animation-delay: .42s; }
.js .title-cta { animation-delay: .54s; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* tables and captions */
figure { margin: 0; }
figcaption { font: 400 14px/1.5 var(--serif); color: var(--ink-3); }
figcaption b { font: 650 13.5px var(--display); color: var(--ink); margin-right: 4px; }
table { width: 100%; border-collapse: collapse; }
.t1 { background: color-mix(in srgb, var(--paper) 82%, transparent); }
.t1 figcaption { padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.t1 td { padding: 13px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.t1 td.v { width: 118px; padding-right: 16px; font: 700 25px/1 var(--display); font-stretch: 80%; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--rule); }
.track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.track span { padding: 13px 22px; font: 600 13px/1 var(--display); font-stretch: 90%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.track span:nth-child(3n+1) { color: var(--ink); }
.ticker:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* section layout: heading column + body */
.sec { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(80px, 10vw, 136px); }
.sec-head { position: sticky; top: 96px; align-self: start; }
.sec-head h2 { font-weight: 760; font-stretch: 78%; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; letter-spacing: -.02em; }
.sec-head p { margin-top: 18px; font-size: 16px; color: var(--ink-2); max-width: 32ch; }
.sec-body { min-width: 0; }

/* exhibits (recordings) */
.exhibit { padding-bottom: clamp(56px, 7vw, 88px); }
.exhibit + .exhibit { padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule); }
.fig figcaption { margin-top: 12px; max-width: 70ch; }
.exhibit-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.exhibit h3 { font-weight: 700; font-stretch: 85%; font-size: 26px; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 12px; }
.exhibit p { color: var(--ink-2); }
.exhibit.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.exhibit-text.single { display: block; margin-top: 0; }

.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 28px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.facts dt { font: 500 12.5px/1.3 var(--display); color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font: 500 15px/1.3 var(--mono); color: var(--ink); }

.exhibit .log-title { font: 650 13.5px/1 var(--display); margin: 4px 0 10px; color: var(--ink); }
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-size: 13.5px; }
.log li { display: grid; grid-template-columns: 10px minmax(0, 1.6fr) minmax(0, 1.2fr) auto auto; gap: 12px; align-items: center; padding: 11px 6px 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); font-family: var(--display); }
.log li b { color: var(--ink); font-weight: 600; }
.log li span:nth-child(4), .log li span:nth-child(5) { font: 13px var(--mono); color: var(--ink-2); }
.log li.empty { display: block; font: italic 14px var(--serif); }
.log .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); }
.log li.new { animation: flash 1.8s var(--ease); }
@keyframes flash { from { background: color-mix(in srgb, var(--alert) 14%, transparent); } to { background: transparent; } }

/* camera figure (stays dark: it is a video) */
.cam { position: relative; background: var(--fig); border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(14,17,20,.55); }
.cam::after { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--alert); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cam.alerted::after { opacity: 1; }
.cam-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; font: 500 12.5px/1 var(--mono); color: #9aa3ad; border-bottom: 1px solid #222830; }
.cam-bar .vp-clock { margin-left: auto; color: #e9ecef; font-variant-numeric: tabular-nums; }
.rec { display: inline-flex; align-items: center; gap: 7px; color: #ff6b5b; font-weight: 500; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); animation: blink 1.2s steps(1) infinite; }
.cam-view { position: relative; aspect-ratio: 704 / 480; }
.cam-view video { display: none; }
.cam-view canvas { width: 100%; height: 100%; display: block; }
.vp-progress { height: 2px; background: #222830; }
.vp-progress i { display: block; height: 100%; width: 0; background: #e9ecef; }

.vp-toast {
  position: absolute; left: 14px; bottom: 14px; display: flex; gap: 12px; width: min(350px, 72%); padding: 11px;
  background: var(--white); color: var(--ink); border-radius: 4px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.vp-toast.show { transform: none; opacity: 1; }
.vp-toast img { width: 92px; height: 56px; object-fit: cover; border-radius: 2px; flex: none; }
.vp-toast p { margin: 0; line-height: 1.35; color: var(--ink); }
.vp-toast .t-head { font: 600 11.5px var(--display); color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.sev { padding: 2px 5px; font: 700 10px/1.2 var(--display); letter-spacing: .04em; color: #fff; background: var(--alert); border-radius: 2px; }
.vp-toast .t-title { font: 700 15px/1.3 var(--display); margin: 3px 0 2px; }
.vp-toast .t-meta { font: 11.5px/1.4 var(--mono); color: var(--ink-3); }
.t-meta b { color: var(--ink); font-weight: 500; }

/* chat figure (light app UI) */
.chat { display: flex; flex-direction: column; height: 560px; background: var(--white); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(14,17,20,.35); }
.chat-bar { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); font: 650 14px/1 var(--display); }
.rr-timer { margin-left: auto; font: 500 12.5px var(--mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.rr-thread { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.rr-q { align-self: flex-end; max-width: 84%; padding: 10px 14px; border-radius: 10px 10px 2px 10px; background: var(--ink); color: var(--paper); font: 400 14.5px/1.45 var(--serif); animation: fade .4s var(--ease) both; }
.rr-a { max-width: 96%; font: 400 14.5px/1.55 var(--serif); color: var(--ink-2); animation: fade .4s var(--ease) both; }
.rr-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rr-steps span { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--display); padding: 6px 9px; border-radius: 2px; color: var(--ink-3); background: var(--paper); transition: color .3s, background .3s; }
.rr-steps span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.rr-steps span.ok { color: var(--ink); }
.rr-steps span.ok::before { background: #1f9d55; border-color: #1f9d55; }
.rr-steps span.run { color: var(--accent); background: var(--accent-soft); }
.rr-steps span.run::before { animation: blink .9s steps(1) infinite; background: currentColor; }
.rr-status { font-style: italic; color: var(--ink-3); }
.rr-status::after { content: ""; animation: ell 1.2s steps(4) infinite; }
@keyframes ell { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.rr-body p { margin: 0 0 10px; color: var(--ink-2); }
.rr-body h5 { margin: 14px 0 4px; font: 700 14.5px var(--display); color: var(--ink); }
.rr-body code { font: 12.5px var(--mono); padding: 1px 5px; border-radius: 2px; background: var(--paper-2); color: var(--ink); }
.cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin: 0 1px; padding: 0 4px; border-radius: 2px; font: 600 10.5px var(--display); vertical-align: 3px; color: var(--accent); background: var(--accent-soft); transition: background .25s, color .25s; }
.cite.on { background: var(--accent); color: #fff; }
.caret { display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink .8s steps(1) infinite; }
.rr-src { margin: 14px 0 0; padding: 12px 0 0 22px; border-top: 1px solid var(--rule); font: 13px/1.5 var(--display); color: var(--ink-3); animation: fade .4s var(--ease) both; }
.rr-src li { padding: 2px 6px; border-radius: 2px; transition: background .25s, color .25s; }
.rr-src li.on { color: var(--ink); background: var(--accent-soft); }
.rr-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 14px; min-height: 46px; border: 1px solid var(--rule); border-radius: 4px; font: 14.5px var(--serif); background: var(--paper); }
.rr-input span { flex: 1; }
.rr-input span:empty::before { content: "Ask something about your documents"; color: var(--ink-3); }
.rr-replay { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 3px; cursor: pointer; color: var(--paper); background: var(--ink); transition: background .2s; }
.rr-replay:hover { background: var(--accent); }
.rr-replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pipe { counter-reset: s; list-style: none; margin: 24px 0 26px; padding: 0; border-top: 2px solid var(--ink); }
.pipe li { counter-increment: s; position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); }
.pipe li::before { position: absolute; left: 0; top: 12px; content: counter(s); font: 500 13px/1.7 var(--mono); color: var(--accent); }
.pipe b { font-weight: 600; color: var(--ink); }

/* screenshots */
.shots { display: grid; gap: 16px; align-content: start; }
.shots.two, .shots.mini, .shots.grid4 { grid-template-columns: 1fr 1fr; }
.shots figure { min-width: 0; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--rule); border-radius: 3px; cursor: zoom-in; background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shots img:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(14,17,20,.4); }
.shots figcaption { margin-top: 8px; font-size: 13.5px; }

/* systems */
.sys { padding: 0 0 clamp(52px, 6vw, 76px); }
.sys + .sys { padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rule); }
.sys-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.sys-head h3 { font-weight: 760; font-stretch: 80%; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; letter-spacing: -.02em; }
.domain { font: 500 13.5px/1.3 var(--display); color: var(--accent); }
.sys-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.sys .summary { font-size: 18px; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
.features { list-style: none; margin: 0 0 18px; padding: 0; }
.features li { position: relative; padding: 7px 0 7px 20px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.features li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 1.5px; background: var(--accent); }
.stack-line { font: 12.5px/1.6 var(--mono); color: var(--ink-3); }

.diagram { background: var(--white); border: 1px solid var(--rule); border-radius: 3px; padding: 18px 16px 14px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { margin-top: 10px; font-size: 13.5px; }
.diagram .box { fill: var(--white); stroke: var(--ink); stroke-width: 1.2; }
.diagram .node { fill: var(--paper); stroke: var(--rule-2); stroke-dasharray: 4 4; }
.diagram .hl { fill: var(--accent-soft); stroke: var(--accent); }
.diagram text { font: 500 13px var(--display); fill: var(--ink); text-anchor: middle; }
.diagram .lbl { font: 500 11.5px var(--mono); fill: var(--ink-3); }
.flow { stroke-dasharray: 6 5; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }

.minor { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.minor article { padding: 40px 32px 8px 0; }
.minor article + article { padding-left: 32px; border-left: 1px solid var(--rule); }
.minor h3 { font-weight: 720; font-stretch: 82%; font-size: 26px; line-height: 1.1; margin: 8px 0 12px; }
.minor p { color: var(--ink-2); font-size: 15.5px; }
.minor .big { margin-top: 22px; font: 800 64px/1 var(--display); font-stretch: 72%; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.big small { display: block; margin-top: 8px; font: 400 14px var(--serif); letter-spacing: 0; color: var(--ink-3); }
.wave { display: flex; align-items: center; gap: 4px; height: 64px; margin-top: 22px; }
.wave i { width: 4px; height: 100%; background: var(--ink); border-radius: 2px; animation: wv 1.3s ease-in-out infinite; }
.wave i:nth-child(odd) { background: var(--accent); }
.wave i:nth-child(2n) { animation-delay: -.2s; }
.wave i:nth-child(3n) { animation-delay: -.45s; }
.wave i:nth-child(5n) { animation-delay: -.7s; }
.wave i:nth-child(7n) { animation-delay: -.95s; }
@keyframes wv { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }

/* results table */
.t2 table { border-top: 2px solid var(--ink); }
.t2 th { padding: 10px 16px 10px 0; text-align: left; font: 600 13px var(--display); color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.t2 td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; font-size: 15.5px; color: var(--ink-2); }
.t2 td:first-child { font: 650 16.5px var(--display); color: var(--ink); width: 26%; }
.t2 td.v { font: 500 15px var(--mono); color: var(--accent); white-space: nowrap; width: 20%; font-variant-numeric: tabular-nums; }
.t2 tbody tr { transition: background .2s; }
.t2 tbody tr:hover { background: var(--paper-2); }
.t2 figcaption { margin-top: 12px; }

.sub-h { font-weight: 720; font-stretch: 82%; font-size: 26px; margin: 72px 0 16px; }
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 0; border-top: 2px solid var(--ink); }
.stack div { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.stack dt { font: 650 15px var(--display); margin-bottom: 4px; }
.stack dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* experience */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.when { font: 500 13.5px/1.7 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline h3 { font-weight: 680; font-stretch: 88%; font-size: 21px; line-height: 1.25; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }

/* close */
.close { padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(72px, 9vw, 112px); }
.close h2 { font-weight: 800; font-stretch: 72%; font-size: clamp(46px, 7vw, 104px); line-height: .95; letter-spacing: -.03em; max-width: 15ch; }
.close-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.close-row p { font-size: 19px; color: var(--ink-2); max-width: 44ch; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 40px; border-top: 1px solid var(--rule); font: 13px var(--display); color: var(--ink-3); }

/* lightbox */
#lightbox { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(14,17,20,.92); cursor: zoom-out; }
#lightbox[hidden] { display: none; }
#lightbox img { max-height: 84vh; border-radius: 3px; }
#lightbox p { color: #d6dade; max-width: 800px; text-align: center; font-size: 15px; }

/* scroll reveal: content stays visible without JS */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .sec { grid-template-columns: 1fr; gap: 28px; }
  .sec-head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
  .sec-head p { margin-top: 0; max-width: 46ch; }
  .title-grid { grid-template-columns: 1fr; align-items: start; }
  .t1 { max-width: 560px; }
  #net { left: 0; width: 100%; opacity: .45; }
}
@media (max-width: 820px) {
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .exhibit-text, .exhibit.split, .sys-grid, .minor { grid-template-columns: 1fr; }
  .exhibit.split { gap: 32px; }
  .minor article, .minor article + article { padding: 32px 0 8px; border-left: 0; }
  .minor article + article { border-top: 1px solid var(--rule); }
  .sec-head { display: block; }
  .sec-head p { margin-top: 14px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .runhead { flex-direction: column; gap: 6px; }
  .runhead span:nth-child(2) { display: none; }
  .title-grid { padding-top: 44px; }
  .name { font-size: clamp(64px, 21vw, 110px); }
  .name .n2 { display: block; }
  .title-cta { gap: 14px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .vp-toast img { display: none; }
  .vp-toast { left: 8px; bottom: 8px; padding: 7px 10px; width: auto; max-width: 74%; }
  .vp-toast .t-title { font-size: 12.5px; }
  .vp-toast .t-head, .vp-toast .t-meta { font-size: 10.5px; }
  .vp-toast p.t-meta:nth-of-type(3) { display: none; }
  .log li { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .log li span:nth-child(3), .log li span:nth-child(4) { display: none; }
  .chat { height: 500px; }
  .shots.grid4, .shots.two { gap: 10px; }
  .t2 thead { display: none; }
  .t2 tr { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .t2 td { border: 0; padding: 0; width: auto !important; }
  .t2 td:last-child { grid-column: 1 / -1; margin-top: 6px; font-size: 14.5px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .close-row { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
