/* home.css: the OpenSpatials home page's own rules: version B's in-world instrument panel over one live 3D scene, with
   version A's scroll-pinned flight at the top. It loads after the site's shared design (/assets/design.css, source
   site-src/design/design.css: tokens, fonts, header, footer, buttons, boxes), which holds every rule the other pages share. */
/* ---------- the stage: one full-screen scene behind the page ---------- */
/* The stage starts below the top bar, so the still is the largest element of the first view (a picture that fills
   the whole viewport counts as a background, not content, for Largest Contentful Paint). */
.stage { position: fixed; left: 0; top: var(--top); width: 100%; height: calc(100vh - var(--top)); height: calc(100lvh - var(--top)); z-index: 0; pointer-events: none; overflow: hidden; background: var(--void); }
.stage picture, .stage-still, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-still { object-fit: cover; }
.stage-canvas { display: block; opacity: 0; transition: opacity .9s ease; }
.live .stage-canvas { opacity: 1; }
.stage-hud { position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 95% at 55% 42%, rgba(4,7,6,0) 52%, rgba(4,7,6,.62) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 100% 3px, 100% 120px, 120px 100%; }
.stage-flash { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 50%, rgba(235,255,255,.95), rgba(111,227,255,.55) 28%, rgba(111,227,255,.08) 62%, transparent 75%); }

/* ---------- the flight: hero, then the story lines pinned while the camera flies ---------- */
.flight { position: relative; }
.hero { position: relative; min-height: calc(100svh - var(--top)); display: grid; align-content: end; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,7,6,.9) 0, rgba(4,7,6,.72) 34%, rgba(4,7,6,.2) 64%, rgba(4,7,6,0) 82%), linear-gradient(0deg, rgba(4,7,6,.9), rgba(4,7,6,0) 26%); }
.hud-frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-in { position: relative; z-index: 3; padding: 70px 0 28px; }
.hero-in h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 6.4vw, 104px); line-height: .86; letter-spacing: -.02em; margin: 0 0 26px; max-width: 14.5ch; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.readout { position: absolute; z-index: 3; right: 40px; top: 70px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; font-family: var(--mono); } .readout div { background: rgba(4,7,6,.88); padding: 10px 16px; display: flex; justify-content: space-between; gap: 30px; } .readout dt { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; color: var(--dim); } .readout dd { margin: 0; color: var(--sig); font-size: 20px; line-height: 1.1; }
/* The three ways in: titles only; each description is a tooltip on hover, keyboard focus and tap (H1). */
.paths { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); background: rgba(4,7,6,.92); }
.path { position: relative; border-right: 1px solid var(--line); } .path:last-child { border-right: 0; }
.path > a, .path > button { display: grid; align-content: center; gap: 6px; width: 100%; min-height: 104px; padding: 22px 28px; text-align: left; text-decoration: none; color: var(--cream); background: transparent; border: 0; transition: background .2s; }
.path > a:hover, .path > button:hover, .path.tip-on > a, .path.tip-on > button { background: rgba(111,227,255,.07); }
.path > button { cursor: help; }
.path b { font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: .01em; }
.path .go { font-family: var(--mono); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; color: var(--sig); } .path > a .go::after { content: "\2197"; margin-left: 6px; }
.path.soon .go { color: var(--dim); }
.tip { position: absolute; left: 20px; right: 20px; bottom: calc(100% + 10px); z-index: 6; padding: 14px 16px; background: var(--panel); border: 1px solid var(--sig); color: var(--cream); font-size: 15px; line-height: 1.45; box-shadow: 0 18px 50px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; pointer-events: none; }
.tip::after { content: ""; position: absolute; left: 28px; top: 100%; border: 8px solid transparent; border-top-color: var(--sig); }
.path:hover .tip, .path:focus-within .tip, .path.tip-on .tip { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s; }
.tip-touch { display: none; color: var(--sig); } .touch-tips .path:not(.soon) .tip-touch { display: inline; }
.scroll-cue { display: none; }

/* The story lines. Without the live flight they stand as stills, one after the other. */
.story { position: relative; }
.beat { position: relative; min-height: 82svh; display: grid; align-content: end; padding: 0 0 8svh; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.beat-still { position: absolute; inset: 0; z-index: -2; } .beat-still img { width: 100%; height: 100%; object-fit: cover; }
.beat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,7,6,.75), rgba(4,7,6,0) 55%); }
.beat-panel { position: relative; margin-left: max(20px, 5vw); margin-right: 20px; max-width: min(820px, calc(100% - 40px)); background: rgba(4,7,6,.84); border: 1px solid var(--line); padding: 30px 34px 34px; }
.beat-panel::before { content: ""; position: absolute; left: -1px; top: -1px; width: 46px; height: 3px; background: var(--sig); }
.beat-panel .corner { width: 14px; height: 14px; } .beat-panel .tl { display: none; } .beat-panel .tr { top: 8px; right: 8px; } .beat-panel .bl { bottom: 8px; left: 8px; } .beat-panel .br { bottom: 8px; right: 8px; }
.beat h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 88px); line-height: .9; letter-spacing: -.015em; margin: 0; }
.beat .kicker { margin-bottom: 16px; }
.beat-small { margin: 18px 0 0; max-width: 60ch; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.rail { display: none; }

.fly .scroll-cue { display: block; position: absolute; z-index: 3; right: 34px; bottom: 120px; margin: 0; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .4em; font-family: var(--mono); font-size: 11px; color: var(--sig); }
.fly .scroll-cue span::after { content: ""; display: block; width: 1px; height: 60px; margin: 14px auto 0; background: linear-gradient(var(--sig), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.fly .story { height: 400vh; }
.fly .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fly .beat { position: absolute; inset: 0; min-height: 0; border: 0; padding: 0 0 13svh; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.fly .beat.on { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.fly .beat::before { background: linear-gradient(0deg, rgba(4,7,6,.55), rgba(4,7,6,0) 45%); }
.fly .beat-panel { transform: translateY(26px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fly .beat.on .beat-panel { transform: none; }
.fly .still-art { display: none; }
.fly .rail { display: block; position: absolute; right: 30px; top: 50%; height: 42vh; transform: translateY(-50%); width: 40px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.rail-line { position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--line); } .rail-fill { position: absolute; inset: 0; background: var(--sig); transform: scaleY(0); transform-origin: top; }
.rail-tick { position: absolute; right: -4px; width: 9px; height: 9px; transform: translateY(-50%); border: 1px solid var(--sig); background: var(--void); }


.protocol { background: linear-gradient(90deg, rgba(4,7,6,.94) 0, rgba(4,7,6,.86) 52%, rgba(4,7,6,.42) 100%); }
.what-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1040px; color: var(--dim); font-size: 19px; } .what-cols p:first-child { color: var(--cream); } .what-cols p { margin: 0; padding-left: 18px; border-left: 1px solid var(--sig); }

/* A window: a clear frame into the scene; the rest of its band is shaded. */
.window { position: relative; z-index: 0; box-shadow: 0 0 0 200vmax var(--shade); }
.open .wrap > :not(.window):not(.project), .project > :not(.window) { position: relative; z-index: 1; }

/* The map */
.panel-head { max-width: 100%; }
.map { aspect-ratio: 16 / 9; margin: 10px 0 30px; border: 1px solid var(--line); overflow: hidden; background: #071410; touch-action: pan-y; }
.fly .map { background: transparent; }
.map-still, .map-still img, .map picture { position: absolute; inset: 0; width: 100%; height: 100%; } .map-still img { object-fit: cover; }
.map.live-map { cursor: grab; } .map.live-map.over-world { cursor: pointer; } .map.dragging { cursor: grabbing; }
.map-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s; } .map-labels.on { opacity: 1; }
.map-labels a { position: absolute; text-decoration: none; left: 0; top: 0; min-height: 44px; display: inline-flex; align-items: center; pointer-events: auto; border: 1px solid var(--sig); background: rgba(4,7,6,.86); color: var(--cream); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; white-space: nowrap; transition: background .2s, color .2s; will-change: transform; }
.map-labels:not(.on) a, .map-labels a.off { visibility: hidden; }
.map-labels a span { color: var(--sig); margin-right: 6px; } .map-labels a:hover, .map-labels a.hot, .map-labels a:focus-visible { background: var(--sig); color: var(--void); } .map-labels a:hover span, .map-labels a.hot span, .map-labels a:focus-visible span { color: var(--void); }
.map-labels a::after { content: ""; position: absolute; left: calc(50% + var(--lead, 0px)); top: 100%; width: 1px; height: var(--lead-h, 26px); background: var(--sig); }
.map-labels em { font-style: normal; margin-left: .5em; }
.map-hint { display: none; position: absolute; z-index: 3; left: 20px; bottom: 18px; margin: 0; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--sig); background: rgba(4,7,6,.82); padding: 8px 12px; pointer-events: none; }
.live .map-hint { display: inline-flex; }
.drag-icon { width: 22px; height: 10px; position: relative; } .drag-icon::before, .drag-icon::after { content: ""; position: absolute; top: 1px; width: 7px; height: 7px; border: solid var(--sig); border-width: 0 0 1.5px 1.5px; } .drag-icon::before { left: 1px; transform: rotate(45deg); } .drag-icon::after { right: 1px; transform: rotate(-135deg); }

.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.registry .empty { margin: -10px 0 0; font-family: var(--mono); color: var(--dim); }

/* Characters: one at a time. The window shows the character live on the scene's plinth where 3D runs, its still
   elsewhere; dragging in the live window turns the view around the character (C2). */
.av-live .av-window { cursor: grab; } .av-window.turning { cursor: grabbing; }
.av-hint { display: none; position: absolute; z-index: 3; left: 16px; bottom: 16px; margin: 0; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--sig); background: rgba(4,7,6,.82); padding: 8px 12px; pointer-events: none; }
.av-live .av-hint { display: inline-flex; }
.av-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 520px); gap: 40px 60px; align-items: center; }
.av-copy .lede { margin-bottom: 26px; }
.av-window { aspect-ratio: 4 / 5; border: 1px solid var(--line); overflow: hidden; background: #06110d; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fly .av-window { background: transparent; }
.av-still { position: absolute; inset: 0; transition: opacity .5s ease; } .av-still img { width: 100%; height: 100%; object-fit: cover; }
.js .av-still:not(.on) { display: none; }
.av-live .av-still { opacity: 0; }
.carousel { position: relative; max-width: 560px; border: 1px solid var(--line); background: rgba(4,7,6,.9); }
.carousel::before { content: ""; position: absolute; left: -1px; top: -1px; width: 46px; height: 3px; background: var(--sig); }
.slides { padding: 26px 28px 20px; touch-action: pan-y; }
.js .slide:not(.on) { display: none; } .slide + .slide { margin-top: 22px; } .js .slide + .slide { margin-top: 0; }
.slide-n { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; color: var(--sig); letter-spacing: .12em; }
.slide h3 { margin: 0; font-weight: 900; font-size: clamp(40px, 4.6vw, 64px); text-transform: uppercase; line-height: .9; }
.slide .role { margin: 10px 0 0; font-family: var(--mono); color: var(--sig); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.slide .text { margin: 12px 0 0; color: var(--dim); font-size: 17px; max-width: 42ch; }
.car-ctl { display: none; align-items: center; gap: 10px; padding: 0 28px 24px; } .carousel.ready .car-ctl { display: flex; }
.car-prev, .car-next { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sig); background: rgba(4,7,6,.85); color: var(--sig); font-size: 20px; line-height: 1; }
.car-prev:hover, .car-next:hover { background: var(--sig); color: var(--void); }
.car-dots { display: flex; gap: 2px; margin: 0 4px; } .car-dot { width: 32px; height: 44px; padding: 0; border: 0; background: transparent; position: relative; }
.car-dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; transform: translateY(-50%); background: var(--line); transition: background .2s; }
.car-dot[aria-current="true"]::before { background: var(--sig); } .car-dot:hover::before { background: var(--cream); }
.car-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Portals: the portal journey (P1 of the owner's second review). In the live page one pinned view holds its beats: the
   title panel, the callout the stage moves with the capsule, and the closing panel (home.js shows each by the journey's
   progress). Without the live 3D the beats stand one after the other as stills of the chosen character. */
.portals { background: transparent; padding: 0; }
.journey-pin { position: relative; }
.jbeat .beat-panel .lede { margin: 18px 0 0; max-width: 46ch; font-size: clamp(16px, 1.35vw, 20px); }
.jline { font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 74px); line-height: .92; letter-spacing: -.015em; margin: 0; }
.jline .line { display: block; text-wrap: balance; }
.js .jstill:not(.on), html:not(.js) .jstill + .jstill { display: none; }
.jcallout, .jcallout-still { position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; z-index: 4; pointer-events: none; font-family: var(--mono); }
.jcallout-still { left: 50%; top: 50%; }
.jcallout { display: none; }
.jlead { position: absolute; left: 0; bottom: 0; width: 60px; height: 60px; overflow: visible; fill: none; stroke: var(--sig); stroke-width: 1.5; }
.jdot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; box-sizing: border-box; border: 2px solid var(--sig); border-radius: 50%; box-shadow: 0 0 12px rgba(111,227,255,.8); }
.jbox { position: absolute; left: 60px; top: -44px; transform: translateY(-50%); white-space: nowrap; padding: 9px 14px; background: rgba(4,7,6,.9); border: 1px solid var(--sig); color: var(--cream); text-transform: uppercase; font-size: 13px; letter-spacing: .14em; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.jbox::before { content: ""; position: absolute; left: -1px; top: -1px; width: 22px; height: 3px; background: var(--sig); }
.flip .jlead { left: -60px; transform: scaleX(-1); } .flip .jbox { left: auto; right: 60px; }
.up .jlead { display: none; } .up .jbox { left: var(--ux, 0px); top: -54px; transform: translate(-50%, -100%); }
.up .jbox::after { content: ""; position: absolute; left: calc(50% - var(--ux, 0px)); top: 100%; width: 1.5px; height: 47px; background: var(--sig); }
.fly .portals { height: 560vh; } .fly .journey-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fly .jcallout-still { display: none; }
.fly .jcallout { display: block; position: fixed; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; will-change: transform; }
.fly .jcallout.on { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
@media (prefers-reduced-motion: no-preference) { .jdot { animation: jdot 1.8s ease-out infinite; } }
@keyframes jdot { 0% { box-shadow: 0 0 0 0 rgba(111,227,255,.7), 0 0 12px rgba(111,227,255,.8); } 70% { box-shadow: 0 0 0 14px rgba(111,227,255,0), 0 0 12px rgba(111,227,255,.8); } 100% { box-shadow: 0 0 0 0 rgba(111,227,255,0), 0 0 12px rgba(111,227,255,.8); } }

.connect-agent { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; } .connect-agent .agent { flex: 1 1 520px; }

/* Projects: the project's own picture (the Open Spatial Lab's demo), not a window into this page's scene (L1). */
.project { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--line); background: var(--panel); } .project-art { position: relative; margin: 0; min-height: 380px; overflow: hidden; background: #1c4a7a; } .project-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.project .credit { font-size: 13px; line-height: 1.5; color: var(--dim); } .project .credit a { color: var(--sig); }
.project-body { background: var(--panel); padding: clamp(24px, 4vw, 50px); display: grid; gap: 16px; align-content: center; border-left: 1px solid var(--line); } .project h3 { margin: 0; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4.6vw, 70px); line-height: .88; } .project p { margin: 0; color: var(--dim); font-size: 19px; } .project .btn { justify-self: start; }

.std-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; gap: 14px; align-items: start; } .std { background: var(--panel); border: 1px solid var(--line); padding: 24px; display: grid; gap: 12px; align-content: start; } .std h3 { margin: 0; font-size: 24px; font-weight: 800; text-transform: uppercase; } .std p { margin: 0; color: var(--dim); } .std .small { font-size: 14px; }
.std dl { display: flex; gap: 30px; margin: 6px 0; font-family: var(--mono); } .std dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); } .std dd { margin: 0; font-size: 56px; color: var(--sig); line-height: 1; } .std .btn { justify-self: start; }
.std ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; } .std li a, .std li b { font-weight: 700; font-size: 18px; } .std li a { text-decoration-color: var(--sig); text-underline-offset: 3px; } .std li span { display: block; font-family: var(--mono); color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.std .more { overflow-wrap: anywhere; text-transform: none; letter-spacing: .02em; }
/* The standards section (T1): where the work happens, the Atlas, the working group presentations; then the standards we adapt. */
.std h4 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.2; } .std h4 a { color: var(--cream); text-decoration-color: var(--sig); text-underline-offset: 3px; } .std h4 a:hover { color: var(--sig); }
.std .org { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); } .std .org p { font-size: 15.5px; }
.std ul.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .groups li { display: grid; gap: 3px; align-content: start; padding: 8px 10px; border: 1px solid var(--line); background: rgba(4,7,6,.5); line-height: 1.25; }
.std .groups li b { font-weight: 700; font-size: 14.5px; } .std .groups li span { display: block; margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--dim); text-transform: uppercase; } .groups li em { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sig); }
.groups li.ours { border-color: rgba(111,227,255,.55); background: rgba(111,227,255,.06); }
.std.talks ul { gap: 0; } .std .talk { display: grid; gap: 8px; padding: 14px 0 6px; border-top: 1px solid var(--line); } 
.std .talk h4 a { font-size: 19px; } .std .talk .meta { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--sig); } .std .talk p { font-size: 15.5px; } .std .talk .has { font-size: 13.5px; } .std .talk .more { min-height: 36px; justify-self: start; font-size: 12px; font-weight: 400; }
.adapt-title { margin: 44px 0 14px; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sig); display: flex; align-items: center; gap: 12px; } .adapt-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.adapt { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); } .adapt li { flex: 1 1 260px; }
.adapt a { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; gap: 6px 14px; height: 100%; box-sizing: border-box; padding: 18px 18px 20px; background: var(--panel); text-decoration: none; color: var(--cream); transition: background .2s; }
.adapt a:hover, .adapt a:focus-visible { background: #0c1a14; } .adapt a:hover .nm b { color: var(--sig); }
.adapt .ic { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--sig); } .adapt .ic svg { width: 28px; height: 28px; display: block; }
.adapt .std-um .ic svg { width: 26px; height: 32px; }
.adapt .nm { display: grid; gap: 2px; } .adapt .nm b { font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: .005em; transition: color .2s; } .adapt .nm b::after { content: "\2197"; margin-left: 6px; font-family: var(--mono); font-size: 12px; color: var(--sig); font-weight: 400; }
.adapt .nm small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.adapt .use { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--dim); }
.independence { margin: 26px 0 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.host-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; } .hosting .big { font-size: clamp(36px, 4.6vw, 70px); } .points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); align-self: start; } .points li { background: var(--void); padding: 18px 20px; color: var(--dim); }
.faq { background: rgba(4,7,6,.9); }
.qs { border: 1px solid var(--line); max-width: 980px; background: rgba(4,7,6,.6); } .qs details { border-bottom: 1px solid var(--line); } .qs details:last-child { border-bottom: 0; } .qs summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 20px; font-size: clamp(19px, 2vw, 26px); font-weight: 700; text-transform: uppercase; position: relative; } .qs summary::-webkit-details-marker { display: none; } .qs summary::after { content: "[+]"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--sig); font-size: 14px; } .qs details[open] summary::after { content: "[\2013]"; } .qs summary:hover { color: var(--sig); } .qs p { margin: 0; padding: 0 20px 22px; color: var(--dim); max-width: 64ch; }


/* Closing: a wide shot of the network behind the main action. */
.closing { background: transparent; }
.closing-art { position: absolute; inset: 0; } .closing-art picture, .closing-art img { width: 100%; height: 100%; } .closing-art img { object-fit: cover; opacity: .5; }
.closing-copy { position: relative; max-width: 900px; background: rgba(4,7,6,.86); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.hero-in h1 .line, .mega .line, .beat h2 .line { display: block; text-wrap: balance; }
.closing .mega { max-width: 13ch; font-size: clamp(42px, 6.6vw, 104px); }
.closing .connect-agent { margin-bottom: 0; }
.fly .closing { min-height: 100svh; display: grid; align-content: center; }

/* Pause control for the live scene. */
.motion { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--sig); }
.motion:hover, .motion:focus-visible { border-color: var(--sig); background: rgba(111,227,255,.08); }
.motion-icon { width: 10px; height: 12px; border-left: 3px solid var(--sig); border-right: 3px solid var(--sig); }
.motion[aria-pressed="true"] .motion-icon { border: 0; width: 0; height: 0; border-left: 10px solid var(--sig); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.js-reveal [data-reveal] { opacity: 0; transform: translateX(-14px); transition: opacity .45s steps(5), transform .6s cubic-bezier(.7,0,.2,1); } .js-reveal [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1260px) {
  .motion { margin-left: auto; } .motion + .top-cta + .menu { margin-left: 8px; }
  .readout { right: 24px; }
}
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(0deg, rgba(4,7,6,.92) 0, rgba(4,7,6,.78) 55%, rgba(4,7,6,.35) 100%); }
  .hero-in { padding-top: 40px; }
  .readout { position: relative; right: auto; top: auto; z-index: 3; margin: 0 20px 20px; grid-template-columns: 1fr 1fr; }
  .std-grid, .what-cols, .host-grid, .project, .av-grid { grid-template-columns: 1fr; }
  .av-window { order: -1; width: min(100%, 460px); }
  .map { aspect-ratio: 4 / 5; } .kinds { width: 100%; }
  .protocol { background: rgba(4,7,6,.84); }
  .path > a, .path > button { min-height: 84px; padding: 16px 18px; } .path b { font-size: 18px; }
  .project-art { min-height: 0; aspect-ratio: 1280 / 680; } .project-body { border-left: 0; border-top: 1px solid var(--line); }
  .fly .rail { right: 12px; } .fly .scroll-cue { right: 14px; bottom: 90px; }
  .beat-panel { padding: 24px 22px 26px; }
}
@media (max-width: 600px) {
  .path > a, .path > button { min-height: 76px; padding: 12px 10px; gap: 6px; } .path b { font-size: 15px; } .path .go { font-size: 10px; letter-spacing: .06em; }
  .tip { left: 8px; right: 8px; font-size: 14px; } .path:nth-child(2) .tip { left: -40px; right: -40px; } .path:last-child .tip { left: auto; right: 8px; width: calc(200% - 16px); } .path:first-child .tip { width: calc(200% - 16px); right: auto; }
  .slides { padding: 20px 18px 16px; } .car-ctl { padding: 0 18px 18px; }
  .beat-small { font-size: 12px; }
  .map-labels em { display: none; } .map-labels button { font-size: 10.5px; padding: 6px 8px; }
  .closing-copy { padding: 26px 20px 28px; }
  .jbox { font-size: 12px; padding: 8px 12px; }
  /* the still's callout stands above the capsule on a narrow screen, where its side has no room */
  .jcallout-still .jlead { display: none; } .jcallout-still .jbox { left: 0; top: -54px; transform: translate(-50%, -100%); }
  .jcallout-still .jbox::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 47px; background: var(--sig); }
  .fly .rail, .fly .scroll-cue { display: none; }
  .hero-in h1 { font-size: clamp(42px, 12.4vw, 60px); }
}
/* "Why would you use this?": the first question, with its facts and short blocks (WO-SCRAP-20261027-245). */
.qs .why-body { padding: 0 20px 24px; max-width: 72ch; } .qs .why-body p { padding: 0; margin: 0 0 14px; }
.qs .why-answer { color: var(--cream); font-size: clamp(17px, 1.6vw, 20px); }
.qs .why-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 6px 0 22px; border: 1px solid var(--line); background: var(--line); }
.qs .why-facts div { background: rgba(4,7,6,.92); padding: 14px 16px; } .qs .why-facts dt { font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1; color: var(--gold); } .qs .why-facts dd { margin: 6px 0 0; color: var(--dim); font-size: 14px; }
.qs .why-body h3 { margin: 20px 0 6px; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); }
.qs .why-note { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-top: 18px; }
@media (max-width: 640px) { .qs .why-facts { grid-template-columns: 1fr; } }
/* "What do I need?": two paragraphs, the second with the developer's own path and its links (Q1). */
.qs details > p + p { padding-top: 0; margin-top: -6px; } .qs details > p a { color: var(--sig); text-underline-offset: 3px; } .qs details > p code { font-family: var(--mono); font-size: .88em; color: var(--cream); background: rgba(111,227,255,.08); padding: 1px 5px; }

/* ---------- entering a world: the dialog (js/enter.js; WO-SCRAP-20261028-257) ----------
   It opens like a game's interface panel: a line of light that widens, then unfolds to its height, its corners lock on
   and its text flickers in; a scan line sweeps it while it connects. "World Offline" turns it red with a short jolt.
   Under reduced motion it only fades. */
:root { --alert: #ff4b3e; }
.warp { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.warp[hidden] { display: none; }
.warp-backdrop { position: absolute; inset: 0; background: rgba(2,5,4,.76); background-image: repeating-linear-gradient(0deg, rgba(111,227,255,.035) 0 1px, transparent 1px 4px); animation: warp-fade .3s ease-out both; }
.warp-dlg { position: relative; width: min(540px, 100%); max-height: calc(100% - 8px); overflow: hidden; padding: 42px 34px 30px; background: linear-gradient(180deg, rgba(10,22,17,.97), rgba(5,10,8,.97)); border: 1px solid var(--sig); box-shadow: 0 0 0 4px rgba(111,227,255,.06), 0 0 60px rgba(111,227,255,.2), inset 0 0 40px rgba(111,227,255,.06); animation: warp-boot .56s cubic-bezier(.2,.9,.25,1) both; transition: border-color .2s, box-shadow .2s; }
.warp-dlg > :not(.corner):not(.warp-scan) { position: relative; z-index: 1; animation: warp-flicker .5s .34s steps(1) both; }
.warp-dlg .corner { animation: warp-lock .42s .3s cubic-bezier(.2,.9,.25,1) both; transition: border-color .2s; }
.warp-scan { position: absolute; left: 0; right: 0; top: 0; height: 45%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(111,227,255,.12), transparent); animation: warp-sweep 2.2s .55s linear infinite; }
.warp .kicker { margin-bottom: 14px; } .warp-n { color: var(--cream); }
.warp-title { margin: 0; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 8vw, 58px); line-height: .92; letter-spacing: -.01em; color: var(--cream); }
.warp-state { display: inline-block; }
.warp[data-state="connecting"] .warp-state::after { content: ""; display: inline-block; width: 1.1em; text-align: left; animation: warp-dots 1.2s steps(1) infinite; }
.warp-world { margin: 14px 0 22px; font-family: var(--mono); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: var(--dim); } .warp-world b { color: var(--sig); font-weight: 700; }
.warp-bar { position: relative; height: 6px; border: 1px solid var(--line); background: rgba(111,227,255,.05); overflow: hidden; }
.warp-bar span { position: absolute; inset: 0; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--sig); }
.warp[data-phase="checking"] .warp-bar span, .warp[data-phase="ready"] .warp-bar span { right: auto; width: 28%; transform: none; animation: warp-seek 1.1s ease-in-out infinite alternate; }
.warp[data-phase="sending"] .warp-bar span { animation: warp-fill var(--wait, 5.7s) linear both; }
.warp-desc { margin: 20px 0 6px; font-size: 16px; line-height: 1.45; color: var(--cream); }
.warp-addr { margin: 0 0 26px; font-family: var(--mono); font-size: 12px; color: var(--dim); overflow-wrap: anywhere; } .warp-addr::before { content: "> "; color: var(--sig); }
.warp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.warp-other { display: none; } .warp[data-state="offline"] .warp-other { display: inline-flex; }
.warp[data-state="offline"] .warp-dlg { border-color: var(--alert); box-shadow: 0 0 0 4px rgba(255,75,62,.08), 0 0 60px rgba(255,75,62,.24), inset 0 0 40px rgba(255,75,62,.07); }
.warp[data-state="offline"] .corner { border-color: var(--alert); }
.warp[data-state="offline"] .kicker, .warp[data-state="offline"] .warp-world b, .warp[data-state="offline"] .warp-addr::before { color: var(--alert); }
.warp[data-state="offline"] .kicker::after { background: rgba(255,75,62,.35); }
.warp[data-state="offline"] .warp-state { color: var(--alert); animation: warp-jolt .42s steps(2) both; }
.warp[data-state="offline"] .warp-bar { border-color: rgba(255,75,62,.45); } .warp[data-state="offline"] .warp-bar span { background: var(--alert); box-shadow: 0 0 12px var(--alert); transform: none; width: auto; right: 0; animation: none; }
.warp[data-state="offline"] .warp-scan { display: none; }
.warp.closing .warp-dlg { animation: warp-shut .24s ease-in both; } .warp.closing .warp-backdrop { animation: warp-fade .24s ease-in reverse both; }
@keyframes warp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes warp-boot { 0% { transform: scale(.03, .006); opacity: 0; } 16% { transform: scale(.03, .006); opacity: 1; } 46% { transform: scale(1.03, .006); } 78% { transform: scale(1, 1.035); } 100% { transform: none; opacity: 1; } }
@keyframes warp-shut { 0% { transform: none; opacity: 1; } 55% { transform: scale(1, .006); opacity: 1; } 100% { transform: scale(0, .006); opacity: 0; } }
@keyframes warp-flicker { 0% { opacity: 0; } 20% { opacity: .9; } 35% { opacity: .15; } 55% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 1; } }
@keyframes warp-lock { from { opacity: 0; transform: scale(2.4); } to { opacity: 1; transform: none; } }
@keyframes warp-sweep { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@keyframes warp-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes warp-seek { from { transform: translateX(-100%); } to { transform: translateX(360%); } }
@keyframes warp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes warp-jolt { 0% { transform: translateX(-5px); opacity: .4; } 25% { transform: translateX(4px); } 50% { transform: translateX(-2px); opacity: 1; } 75% { transform: translateX(1px); } 100% { transform: none; } }
@media (max-width: 560px) { .warp-dlg { padding: 36px 22px 24px; } .warp-actions .btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) {
  /* !important: design.css turns every animation off here; the dialog keeps its plain fade */
  .warp-backdrop, .warp-dlg { animation: warp-fade .2s ease-out both !important; }
  .warp.closing .warp-dlg, .warp.closing .warp-backdrop { animation: warp-fade .2s ease-in reverse both !important; }
  .warp-dlg > :not(.corner):not(.warp-scan), .warp-dlg .corner, .warp[data-state="offline"] .warp-state { animation: none; }
  .warp-scan { display: none; }
  .warp[data-state="connecting"] .warp-state::after { content: "..."; animation: none; }
  .warp[data-phase] .warp-bar span { animation: none; transform: none; width: auto; right: 0; opacity: .45; }
}
