/* POLYSPAN system — the shared foundation over style.css: tokens, typography, labels,
   buttons, the glass header, the navigation scene, closing, footer, entrances, and the
   homepage story. Page-specific components in style.css migrate here template by template. */

/* Metric-matched fallback: text holds its shape while Inter arrives. */
@font-face{font-family:'Inter Fallback';src:local('Arial'),local('Helvetica Neue'),local('Helvetica');size-adjust:107%;ascent-override:90%;descent-override:22.5%;line-gap-override:0%}

:root{
 --bg:#0b1014;--bg-deep:#080c0f;--stage:#0a0f13;--surface:#141b21;--surface-2:#1c252c;
 --ink:#eef2f3;--ink-2:#c6d0d6;--muted:#93a2ab;--quiet:#6b7b85;
 --line:rgba(205,225,236,.12);--line-2:rgba(205,225,236,.22);
 --accent:#c3d8e3;--accent-ink:#1b2c36;--glow:#e9f5fb;
 --paper:#eeede7;--paper-ink:#1c2327;--paper-muted:#56636b;--paper-line:rgba(28,35,39,.14);
 --font:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;
 --mono:var(--font); /* no monospace anywhere: numbers use Inter's tabular figures */
 --gutter:clamp(22px,4.2vw,76px);--max:1600px;--bar:92px;
 --out-expo:cubic-bezier(.16,1,.3,1);--in-out:cubic-bezier(.65,0,.35,1);--settle:cubic-bezier(.33,0,.16,1);
 --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .075 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
 --grain-dark:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg);scrollbar-gutter:stable;scrollbar-color:#2a343b var(--bg)}
html.menu-open{overflow:hidden}
body{background:var(--grain),var(--bg);color:var(--ink);font:400 17px/1.6 var(--font);font-optical-sizing:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:clip}
::selection{background:var(--accent);color:var(--bg)}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
html[data-input-mode="pointer"] :focus-visible{outline:none}
main:focus{outline:none}
h1,h2{font-weight:460;letter-spacing:-.045em;line-height:1;text-wrap:balance}
h2{font-size:clamp(40px,4.7vw,80px)}
h3{font-weight:500;letter-spacing:-.022em}
p{text-wrap:pretty}
em{font-style:normal;color:var(--accent)}
.text-muted{color:var(--muted)}
.mono{font-family:var(--font);font-size:13px;line-height:1.5;font-weight:400;letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums}
/* A name that links quietly: the text keeps its colour; a faint underline brightens on hover. */
.quiet-link{color:inherit;text-decoration:underline 1px;text-underline-offset:.24em;text-decoration-color:color-mix(in srgb,currentColor 22%,transparent);transition:text-decoration-color .3s}
.quiet-link:is(:hover,:focus-visible){text-decoration-color:color-mix(in srgb,currentColor 75%,transparent)}
.icon{transition:transform .45s var(--out-expo)}
/* Up-right arrows rotate once; hover nudges travel along the arrow's own direction. */
.icon-up{transform:none;rotate:-45deg}
.text-link:hover .icon,.project-card:is(:hover,:focus-within) .project-card-meta>.icon{transform:translateX(5px)}
.brand-mark{width:30px;height:30px;flex:none;color:var(--accent)}
.skip-link{position:fixed;top:-80px;left:24px;z-index:9999;padding:14px 22px;background:var(--accent);color:var(--bg);font-size:14px;transition:top .3s var(--out-expo)}
.skip-link:focus{top:15px}
.no-script-nav{display:flex;flex-wrap:wrap;gap:24px;padding-block:calc(var(--bar) + 12px) 22px;font-size:14px}
body:not([data-page="/"]) main{padding-top:var(--bar)}

/* Labels: a few quiet words in sentence case, used only where they help wayfinding. */
.eyebrow{display:flex;align-items:center;gap:13px;margin-bottom:clamp(24px,2.6vw,34px);font:400 13px/1.5 var(--font);letter-spacing:0;text-transform:none;color:var(--muted)}

/* Buttons: square, with a light wipe; no pills, no pull. */
.button{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:54px;padding:15px 21px;font-size:13.5px;font-weight:500;line-height:1.35;transition:color .3s,box-shadow .5s,scale .18s}
.button:hover .icon{transform:translateX(4px)}
.button:active{scale:.98}
.button-solid{background:var(--accent);color:var(--accent-ink);box-shadow:0 0 0 1px rgba(233,245,251,.2),0 18px 50px -20px rgba(176,212,232,.55)}
.button-solid::before{content:'';position:absolute;inset:0;z-index:-1;background:#f9f9f7;transform:translateY(102%);transition:transform .45s var(--out-expo)}
.button-solid:is(:hover,:focus-visible)::before{transform:translateY(0)}
.button-solid:hover{box-shadow:0 0 0 1px rgba(255,255,255,.5),0 18px 60px -16px rgba(200,228,242,.75)}
.button-text{min-height:48px;padding-inline:0;border-bottom:1px solid var(--line-2);background:none}
.button-text:hover{color:var(--accent)}

/* Header: the original frame, settling into a floating pane of glass. */
.site-header{position:fixed;inset:0 0 auto;z-index:50;display:flex;justify-content:center;height:var(--bar);pointer-events:none;color:var(--ink)}
.header-shell{--settle-time:.7s;pointer-events:auto;position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:100%;height:100%;padding:0 var(--gutter);border:1px solid transparent;transition:width var(--settle-time) var(--settle),max-width var(--settle-time) var(--settle),height var(--settle-time) var(--settle),padding var(--settle-time) var(--settle),transform var(--settle-time) var(--settle),background-color .5s,border-color .5s,border-radius var(--settle-time) var(--settle),box-shadow .6s,-webkit-backdrop-filter .5s,backdrop-filter .5s}
body:not([data-page="/"]) .header-shell{background:rgba(11,16,20,.86);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.header-shell::before{content:'';position:absolute;inset:-1px 18% auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);opacity:0;transition:opacity .6s}
html.header-condensed .header-shell{width:calc(100% - 2 * clamp(14px,4.2vw,72px));max-width:1180px;height:62px;padding-inline:22px;transform:translateY(10px);border-radius:9px;border-color:rgba(214,232,242,.1);background:rgba(13,19,24,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 20px 50px -20px rgba(0,0,0,.75);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%)}
.header-condensed .header-shell::before{opacity:1}
.header-shell .reading-progress{display:none}
.brand{display:inline-flex;align-items:center;gap:10px;transform-origin:left center;transition:transform .7s var(--settle),color .45s}
.header-condensed .header-shell .brand{transform:scale(.93)}
.wordmark{font-size:25px;font-weight:700;letter-spacing:-.05em;line-height:1}
.header-actions{display:flex;align-items:center;gap:30px}
.header-contact{display:flex;align-items:center;gap:15px;min-height:44px;font-size:13px;color:var(--accent);transition:color .45s}
.header-contact .icon{width:18px;height:18px}
.header-contact:hover .icon{transform:translateX(3px)}
.menu-toggle{display:flex;align-items:center;gap:16px;min-width:44px;min-height:44px;font-size:13px;transition:color .45s}
.menu-glyph{--toggle:180ms;position:relative;isolation:isolate;overflow:hidden;display:block;width:34px;height:34px;border:1px solid rgba(206,224,234,.3);transition:border-color var(--toggle),background var(--toggle)}
.menu-glyph::before{content:'';position:absolute;inset:-1px;z-index:-1;background:var(--accent);transform:translateY(103%);transition:transform var(--toggle) cubic-bezier(.22,1,.36,1)}
.menu-glyph i{position:absolute;left:50%;top:50%;width:14px;height:1.5px;margin:-.75px 0 0 -7px;background:currentColor;transition:transform var(--toggle) cubic-bezier(.22,1,.36,1),background var(--toggle)}
.menu-glyph i:first-child{transform:translateY(-3px)}
.menu-glyph i:last-child{transform:translateY(3px)}
.menu-toggle[data-menu-open="true"] .menu-glyph{--toggle:380ms;border-color:var(--accent)}
.menu-toggle[data-menu-open="true"] .menu-glyph::before{transform:translateY(0)}
.menu-toggle[data-menu-open="true"] .menu-glyph i{background:var(--accent-ink)}
.menu-toggle[data-menu-open="true"] .menu-glyph i:first-child{transform:rotate(45deg)}
.menu-toggle[data-menu-open="true"] .menu-glyph i:last-child{transform:rotate(-45deg)}
@media (hover:hover){.menu-toggle:not([data-menu-open="true"]):hover .menu-glyph{border-color:var(--accent)}}
/* Between pages: one even dissolve. The two pages' opacities always sum to one, so
   whatever both pages share (the header, the ground) holds perfectly still. */
@keyframes vt-out{to{opacity:0}}
@keyframes vt-in{from{opacity:0}}
::view-transition-old(root){animation:vt-out .32s cubic-bezier(.4,0,.2,1) both}
::view-transition-new(root){animation:vt-in .32s cubic-bezier(.4,0,.2,1) both}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}}
/* Over chalk the same glass turns light. */
html.header-light .header-shell{background:rgba(250,250,246,.74);border-color:rgba(28,35,39,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 20px 50px -26px rgba(28,35,39,.4)}
.header-light .header-shell::before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent)}
.header-light .site-header,.header-light .header-shell .brand,.header-light .menu-toggle{color:var(--paper-ink)}
.header-light .header-shell .brand-mark{color:#3c5b6c}
.header-light .header-contact{color:#2f4b5a}
.header-light .menu-glyph{border-color:rgba(28,35,39,.28)}

/* Navigation scene: the original menu over frosted chalk. The real header stays
   in place above it; only the panel beneath moves. */
.navigation-scene{position:fixed;inset:0;z-index:1000;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;color:var(--paper-ink);background:transparent;overflow:hidden;overscroll-behavior:contain}
.navigation-scene[open]{display:flex;flex-direction:column}
.navigation-scene::backdrop{background:transparent}
.navigation-scene>.site-header{position:relative;z-index:2;flex:none}
.navigation-scene .header-shell{color:var(--ink)}
.navigation-scene :focus-visible{outline-color:#4f5b62}
.navigation-scene .site-header :focus-visible{outline-color:var(--accent)}
html:not(.header-condensed) .navigation-scene .header-shell{background:var(--stage)}
.header-condensed .navigation-scene .header-shell{background:rgba(14,19,24,.9);border-color:rgba(214,232,242,.08)}
.menu-backdrop{position:fixed;inset:0;z-index:0;background:var(--grain-dark),rgba(239,238,232,.93);-webkit-backdrop-filter:blur(36px) saturate(150%);backdrop-filter:blur(36px) saturate(150%);opacity:0;pointer-events:none}
.menu-panel{position:relative;z-index:1;display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.menu-body{display:grid;grid-template-columns:62% 38%;flex:1;padding-inline:var(--gutter)}
.menu-body>*{min-width:0}
.menu-links{display:flex;flex-direction:column;justify-content:center;padding:35px 55px 35px 0}
.menu-links>a{position:relative;isolation:isolate;display:flex;align-items:center;gap:32px;min-width:0;padding:12px 0;border-bottom:1px solid var(--paper-line);transition:color .3s}
.menu-links>a:first-child{border-top:1px solid var(--paper-line)}
.menu-links>a::before{content:'';position:absolute;inset:0 -28px;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.6) 22%,rgba(255,255,255,.2) 70%,rgba(255,255,255,0));opacity:0;transition:opacity .45s var(--out-expo)}
.menu-links>a:is(:hover,:focus-visible)::before{opacity:1}
.menu-name{min-width:0;font-size:clamp(32px,4.7vw,76px);font-weight:450;line-height:1.2;letter-spacing:-.052em;transition:translate .45s var(--out-expo)}
.menu-links>a:is(:hover,:focus-visible) .menu-name{translate:10px 0}
.menu-links>a:hover{color:#4b555b}
.menu-links .icon{flex:none;margin-left:auto;width:34px;height:34px;opacity:0;transform:translate(-15px,15px);transition:opacity .3s,transform .45s var(--out-expo)}
.menu-links>a:is(:hover,:focus-visible) .icon{opacity:1;transform:none}
.menu-links>a[aria-current="page"] .menu-name{color:#5d686f}
.menu-aside{display:flex;flex-direction:column;justify-content:center;gap:clamp(16px,4vh,40px);padding:30px 0 25px 45px;border-left:1px solid var(--paper-line);overflow:hidden}
.menu-sculpture{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;max-height:380px}
.menu-sculpture::before{content:'';position:absolute;inset:8%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.35) 55%,rgba(255,255,255,0));pointer-events:none}
.menu-symbol{position:relative;width:min(100%,350px);height:auto;max-height:100%;color:#7f8488;overflow:visible}
.menu-symbol path{transition:d .85s cubic-bezier(.22,1,.36,1);vector-effect:non-scaling-stroke}
.menu-symbol path:nth-child(1),.menu-symbol path:nth-child(2){stroke:#4f5a61;stroke-width:1.6}
.menu-symbol path:nth-child(1){fill:rgba(255,255,255,.55)}
.menu-caption{max-width:350px;min-height:150px;margin:0;font-size:clamp(24px,2.4vw,38px);line-height:1.2;letter-spacing:-.035em}
.menu-caption span{display:inline-block}
.menu-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;height:74px;flex:none;margin-inline:var(--gutter);border-top:1px solid var(--paper-line);font-size:12.5px;color:#4b555b}
.menu-bottom>a{display:flex;align-items:center;gap:30px;color:var(--paper-ink)}
.menu-bottom .icon{width:17px;height:17px}
.menu-bottom>a:hover .icon{transform:translateX(3px)}
html.menu-open main *{animation-play-state:paused!important}
.enhanced .motion-object:not(.motion-in-view)::after,.enhanced .motion-object:not(.motion-in-view) *::before,.enhanced .motion-object:not(.motion-in-view) *::after{animation-play-state:paused!important}
.js .chapter-system:not(.is-live) :is(.agent-core,.team-check)::after,.js .stage.is-covered :is(.agent-core,.team-check)::after{animation-play-state:paused}

/* Typing: page titles and menu labels. Words keep stable boxes while clipped. */
.tw{display:inline-block;white-space:pre}
.js main h1:not(.is-typed){visibility:hidden;animation:late-reveal 0s 2.8s forwards}
@keyframes late-reveal{to{visibility:visible}}

/* Arrive: heading lines rise through a mask; copy and blocks fade up after them. */
.ln{display:block;overflow:clip;padding-block:.08em .12em;margin-block:-.08em -.12em}
.ln>span{display:inline-block}
.js [data-arrive] .ln>span{translate:0 104%;transition:translate 1s var(--out-expo) calc(var(--i)*80ms + var(--d,0ms))}
.js [data-arrive] .fade{opacity:0;translate:0 12px;transition:opacity .8s var(--out-expo) calc(var(--d,0ms) + 200ms),translate 1s var(--out-expo) calc(var(--d,0ms) + 200ms)}
.js :is(.arrive-block,.service,.work-card,.steps li,.pipeline)[data-arrive]{opacity:0;translate:0 24px;transition:opacity .8s var(--out-expo) var(--d,0ms),translate 1.1s var(--out-expo) var(--d,0ms)}
.js [data-arrive]:is(.is-in,:focus-within) .ln>span,.js [data-arrive]:is(.is-in,:focus-within) .fade,.js :is(.arrive-block,.service,.work-card,.steps li,.pipeline)[data-arrive]:is(.is-in,:focus-within){opacity:1;translate:none}

/* The homepage story: one stage, three chapters. Flow layout by default; pinned when there is room. */
.story{position:relative;overflow:clip}
.stage{--field-bg:#0a0f13;--field-haze:#253642;--field-mid:#131e26;--field-edge:#547589;--field-soft:#98b6c8;--field-peak:#dbe9f1;--field-fold:#aecbdc;--field-end:#7194ab;--field-charge:#e9f5fb;position:relative;overflow:hidden;background:var(--field-bg);color:var(--ink)}
.stage-art{position:absolute;inset:0;z-index:0}
.stage-art canvas{display:none;width:100%;height:100%}
.stage-fallback{position:absolute;inset:0;background:radial-gradient(70% 55% at 57% 42%,var(--field-haze),var(--field-mid) 47%,var(--field-bg))}
.stage::after{content:'';position:absolute;inset:0;z-index:4;background:#04070a;opacity:calc(var(--cover,0)*.72);pointer-events:none}
.chapter{position:relative;z-index:2;padding:calc(var(--bar) + 8vh) var(--gutter) 9vh}
.chapter-hero{display:flex;flex-direction:column;justify-content:flex-end;min-height:100svh;padding-bottom:112px}
.chapter-hero::before{content:'';position:absolute;left:0;bottom:0;z-index:-1;width:72%;height:62%;background:radial-gradient(60% 70% at 18% 88%,rgba(9,13,17,.78),rgba(9,13,17,0) 72%);pointer-events:none}
.hero-title{max-width:12ch;font-size:clamp(56px,7.2vw,124px);font-weight:450;letter-spacing:-.052em;line-height:.95}
.hero-side{position:absolute;right:var(--gutter);bottom:120px;display:grid;justify-items:start;gap:28px;max-width:360px}
.hero-side p{font-size:16px;line-height:1.6;color:var(--ink-2)}
.signal-scroll{position:absolute;left:var(--gutter);bottom:30px;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(162,167,171,.25);border-radius:50%;color:#a4a9ad;transition:border-color .3s,color .3s,box-shadow .5s,opacity .9s var(--out-expo) .35s,translate 1.1s var(--out-expo) .35s}
/* First paint: the header settles, the light rises, the headline types, then the rest follows. */
.js .chapter-hero .hero-side{transition:opacity .9s var(--out-expo),translate 1.1s var(--out-expo)}
.js .chapter-hero:not(.is-ready):not(:focus-within) :is(.hero-side,.signal-scroll){opacity:0;translate:0 12px;animation:late-show 0s 3.2s forwards}
/* If the script is slow to arrive, nothing waits for it: the copy simply appears. */
@keyframes late-show{to{opacity:1;translate:none}}
@keyframes header-in{from{opacity:0;translate:0 -10px}}
.js body[data-page="/"]:not(.intro-done) .header-shell{animation:header-in 1.1s var(--out-expo) .1s both}
.signal-scroll .icon{width:18px;height:18px;rotate:90deg}
.signal-scroll:hover{border-color:#c9ced2;color:var(--ink);box-shadow:0 0 30px -6px rgba(195,216,227,.5)}
.chapter-span h2{font-size:clamp(38px,4.5vw,78px)}
.chapter-span .lede{max-width:40ch;margin-top:clamp(24px,3vw,40px);margin-left:auto;font-size:17px;color:var(--ink-2)}
.chapter-system{display:flex;flex-direction:column}
.system-copy h2{font-size:clamp(38px,4.6vw,80px)}
.system-copy p{max-width:40ch;margin-top:22px;color:var(--ink-2)}
.system-map{position:relative;display:flex;flex-direction:column;align-items:center;gap:clamp(22px,4vh,44px);margin-top:clamp(28px,5vh,56px)}
.node{display:block;color:var(--ink);text-align:left}
.node-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:760px}
.node-source{width:100%;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.node-in{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(206,228,240,.13);background:linear-gradient(180deg,rgba(28,37,45,.8),rgba(13,19,24,.82));box-shadow:inset 0 1px 0 rgba(255,255,255,.065),0 22px 44px -22px rgba(0,0,0,.85);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:border-color .4s,background .4s,box-shadow .5s}
.node-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);color:var(--ink-2)}
.node .context-icon{width:19px;height:19px}
.node-text{display:grid;gap:3px;font-size:15px;font-weight:500;letter-spacing:-.012em;line-height:1.25}
.node-text small{font-size:12.5px;font-weight:400;letter-spacing:0;color:var(--muted)}
.node-plus{margin-left:auto;color:var(--quiet);transition:rotate .45s var(--out-expo),color .3s}
.node-plus .icon{width:18px;height:18px}
.node-source:hover .node-in,.node-source[aria-pressed="true"] .node-in{border-color:rgba(214,236,248,.36);background:linear-gradient(180deg,rgba(40,54,64,.88),rgba(17,25,31,.88));box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 44px -8px rgba(170,206,226,.38),0 22px 44px -22px rgba(0,0,0,.85)}
.node-source[aria-pressed="true"] .node-plus{rotate:45deg;color:var(--ink)}
.node-source[aria-pressed="true"] .node-icon{color:var(--glow);border-color:rgba(233,245,251,.3)}
.node-agent .node-in{flex-direction:column;gap:13px;padding:22px 22px 18px;text-align:center}
.node-agent .node-text{justify-items:center}
.agent-core{position:relative;display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(233,245,251,.26);background:radial-gradient(circle at 50% 30%,rgba(233,245,251,.22),rgba(233,245,251,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 44px -4px rgba(190,222,238,.55)}
.agent-core .brand-mark{width:26px;height:26px;color:#f4f9fb;filter:drop-shadow(0 0 9px rgba(220,240,250,.75))}
.agent-core::after{content:'';position:absolute;inset:-7px;border:1px solid rgba(220,240,250,.42);opacity:0;animation:pulse 3s var(--out-expo) infinite}
@keyframes pulse{0%{opacity:.85;scale:.9}100%{opacity:0;scale:1.32}}
.team-check{position:relative;display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(233,245,251,.3);background:rgba(233,245,251,.06);color:var(--glow);box-shadow:0 0 30px -6px rgba(190,222,238,.5)}
.team-check .icon{width:18px;height:18px}
.node-team small{white-space:nowrap}
.team-check::after{content:'';position:absolute;inset:-6px;border:1px solid rgba(220,240,250,.38);opacity:0;animation:pulse 3s var(--out-expo) 1.5s infinite}
.system-note{max-width:52ch;min-height:3.2em;font-size:15px;line-height:1.55;color:var(--muted);text-align:center}

/* Chapter control: where you are in the story, and a way to move between chapters. */
@keyframes rail-in{from{opacity:0;translate:-50% 8px}}
.js .stage:has(.chapter-hero:not(.is-ready)) .story-rail{opacity:0}
.js .stage:has(.chapter-hero.is-ready) .story-rail{animation:rail-in 1s var(--out-expo) .3s backwards}
.story-rail{display:none}
.story-rail button{padding:8px 2px;font-size:13px;color:var(--quiet);transition:color .4s}
.story-rail button:hover{color:var(--ink-2)}
.story-rail button.is-active{color:var(--ink)}
/* Pinned story: only with script, enough height, and motion welcome. Otherwise the
   chapters read in flow, each over a still of its own formation (story.js). */
@media (min-height:541px) and (prefers-reduced-motion:no-preference){
 .js .story{height:560svh;background:var(--stage)}
 .js .stage{position:sticky;top:0;height:100svh;min-height:600px;transform-origin:50% 100%;scale:calc(1 - var(--cover,0)*.055);border-radius:calc(var(--cover,0)*24px);will-change:scale}
 .js .stage-art canvas{display:block}
 .js .stage-fallback{display:none}
 .js.no-gl .stage-fallback{display:block}
 .js.no-gl .stage-art canvas{display:none}
 /* Without WebGL (no GPU, or the browser blocked it) the stage shows stills of the light,
    rendered by the same field and cross-faded by the same scroll, instead of a flat glow. */
 .js.no-gl .stage-fallback{background:url(/assets/light/hero.webp) 50% 50%/cover no-repeat var(--field-bg)}
 .js.no-gl .stage-fallback::before,.js.no-gl .stage-fallback::after{content:'';position:absolute;inset:0;background:50% 50%/cover no-repeat var(--field-bg);will-change:opacity}
 .js.no-gl .stage-fallback::before{background-image:url(/assets/light/span.webp);opacity:var(--converge,0)}
 .js.no-gl .stage-fallback::after{background-image:radial-gradient(60% 50% at 57% 68%,var(--field-haze),var(--field-mid) 52%,var(--field-bg));opacity:var(--route,0)}
 .js .chapter{position:absolute;inset:0;min-height:0;pointer-events:none;will-change:opacity,translate}
 .js .chapter.is-live :is(a,button){pointer-events:auto}
 /* Each block of copy drifts for its whole life and fades at its edges. Nothing blurs:
    a blur scrubbed across large type every frame smears the letters and costs the most. */
 .js .chapter-hero{opacity:calc(1 - var(--hero-out,0));translate:0 calc(var(--hero-drift,0)*-11vh)}
 .js .chapter-span{--a:var(--span-in,0);--b:var(--span-out,0);padding-top:calc(var(--bar) + 10vh);opacity:calc(var(--a) - var(--b));translate:0 calc((.5 - var(--span-drift,0))*22vh)}
 .js .chapter-system{padding-bottom:max(18px,3vh)}
 .js .system-copy{opacity:var(--system-in,0);translate:0 calc((1 - var(--system-in,0))*6vh - var(--system-drift,0)*3vh)}
 .js .system-map{flex:1;justify-content:space-evenly;margin-top:0}
 .js .system-note{opacity:var(--nodes-in,0)}
 .js .stage .node-in{--k:clamp(0,calc((var(--nodes-in,0) - var(--o,0))/.56),1);opacity:var(--k);scale:calc(.93 + var(--k)*.07);translate:0 calc((1 - var(--k))*14px)}
 /* Still plates stand in for the live field on a device that cannot draw it smoothly. */
 .js .stage.is-still [data-field]{display:none}
 .js .stage-art>.story-plate{position:absolute;inset:0;width:100%;height:100%}
 .js .plate-span{opacity:var(--converge,0)}
 .js .plate-system{opacity:var(--route,0)}
}
/* In flow, each chapter is a full screen over its own still of the light. */
@media (max-height:540px),(prefers-reduced-motion:reduce){
 .js .chapter{min-height:100svh}
 .js .chapter>.story-plate{position:absolute;inset:0;z-index:-2;width:100%;height:100%;-webkit-mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent)}
 .js .stage.has-plates .stage-fallback{display:none}
}
@media (max-height:540px){.js .chapter-span{padding-bottom:max(9vh,150px)}.js .hero-side p{text-shadow:0 1px 14px var(--stage),0 0 4px var(--stage)}}
@media (min-height:541px) and (min-width:761px) and (prefers-reduced-motion:no-preference){
 .js .story-rail{position:absolute;left:50%;bottom:max(14px,2.2vh);z-index:3;display:flex;gap:30px;translate:-50% 0;opacity:clamp(0,calc(1 - var(--cover,0)*4),1)}
 .js .chapter-system{padding-bottom:84px}
}
@media (min-height:541px) and (min-width:1061px){
 .js .system-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6vw;align-items:end}
 .js .system-copy .eyebrow{grid-column:1/-1}
 .js .system-copy p{justify-self:end;margin-top:0;padding-bottom:.4em}
 .js .system-map{position:absolute;inset:0;display:block}
 .js .stage .node{position:absolute;top:68%;translate:0 -50%}
 .js .stage .node-sources{position:absolute;left:var(--gutter);top:68%;translate:0 -50%;display:grid;grid-template-columns:1fr;gap:12px;width:clamp(250px,22vw,320px)}
 .js .stage .node-source{position:relative;top:auto;translate:none}
 .js .stage .node-agent{left:57%;translate:-50% -50%;width:clamp(184px,14vw,224px)}
 .js .stage .node-team{right:var(--gutter);width:clamp(224px,16.5vw,256px)}
 .js .system-note{position:absolute;left:38%;right:var(--gutter);bottom:11vh;text-align:left}
 .js.no-gl .system-map::before{content:'';position:absolute;left:calc(var(--gutter) + clamp(250px,22vw,320px));right:calc(var(--gutter) + 100px);top:68%;height:1px;background:linear-gradient(90deg,rgba(195,216,227,.5),rgba(233,245,251,.8) 55%,rgba(195,216,227,.4));box-shadow:0 0 14px rgba(195,216,227,.4);opacity:var(--nodes-in,0)}
}

/* Homepage sections */
.section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6vw;align-items:end;margin-bottom:clamp(52px,6vw,96px)}
.section-head .eyebrow{grid-column:1/-1}
.section-head>p{justify-self:end;max-width:36ch;font-size:17px;color:var(--muted)}
.section-head>div:last-child{justify-self:end}
.paper{position:relative;z-index:5;color:var(--paper-ink);background:var(--grain-dark),var(--paper);--muted:var(--paper-muted);--line:var(--paper-line);--line-2:rgba(28,35,39,.24);--accent:#3c5b6c}
.paper ::selection{background:var(--paper-ink);color:var(--paper)}
@media (min-height:541px) and (prefers-reduced-motion:no-preference){.js .paper{margin-top:-100svh;min-height:100svh;display:grid;align-content:center;border-radius:24px 24px 0 0;box-shadow:0 -1px 0 rgba(255,255,255,.6),0 -44px 100px -20px rgba(0,0,0,.6)}}
.services{border-top:1px solid var(--line)}
.service{--lx:-999px;--ly:-999px;position:relative;display:grid;grid-template-columns:76px minmax(0,1.3fr) minmax(0,.75fr) 56px;align-items:center;column-gap:clamp(16px,2.4vw,40px);padding:clamp(28px,3.2vw,46px) clamp(8px,1.4vw,22px);border-bottom:1px solid var(--line)}
.service::before{content:'';position:absolute;inset:0;z-index:0;background:radial-gradient(520px circle at var(--lx) var(--ly),rgba(255,255,255,.85),rgba(255,255,255,0) 62%);opacity:0;transition:opacity .5s var(--out-expo)}
.service:is(:hover,:focus-visible)::before{opacity:1}
.service>*{position:relative;z-index:1}
.service-mark .service-symbol{width:60px;height:60px;margin:0;stroke:#61707a;stroke-width:1.1;fill:none}
.service-name{display:block;font-size:clamp(30px,3.4vw,56px);font-weight:450;letter-spacing:-.046em;line-height:1.04;transition:translate .45s var(--out-expo)}
.service:hover .service-name{translate:10px 0}
.service-short{display:block;max-width:44ch;margin-top:12px;font-size:15.5px;line-height:1.55;color:var(--muted)}
.service-points{display:grid;gap:7px;font-size:14px;color:var(--muted)}
.round{display:grid;place-items:center;width:56px;height:56px;border:1px solid var(--line-2);border-radius:50%;transition:background-color .35s,color .35s,border-color .35s}
.service:hover .round{background:var(--paper-ink);border-color:var(--paper-ink);color:var(--paper)}
.beyond{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6vw;align-items:center}
/* A little of the chalk's light spills onto the dark surface beneath it. */
.beyond::before{content:'';position:absolute;inset:0 0 auto;height:min(60%,460px);background:radial-gradient(55% 100% at 50% 0%,rgba(205,225,236,.06),transparent 72%);pointer-events:none}
.beyond h2{font-size:clamp(36px,3.9vw,66px)}
.beyond-copy>p{max-width:42ch;margin-top:28px;color:var(--muted)}
.beyond-copy>div{margin-top:30px}
.pipeline{position:relative;margin:0;padding:clamp(26px,3vw,44px);border:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.012));box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 40px 90px -40px rgba(0,0,0,.9)}
.pipeline figcaption{margin-bottom:26px;font-size:13px;color:var(--muted)}
.pipeline-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pipeline-steps::before,.pipeline-steps::after{content:'';position:absolute;top:50%;height:1px;pointer-events:none}
.pipeline-steps::before{left:10%;right:10%;background:linear-gradient(90deg,transparent,rgba(195,216,227,.4),transparent)}
.pipeline-steps::after{left:10%;width:18%;background:linear-gradient(90deg,transparent,var(--glow),transparent);box-shadow:0 0 12px rgba(233,245,251,.8);animation:flow 3.4s var(--in-out) infinite}
@keyframes flow{from{translate:0 0;opacity:0}15%{opacity:1}85%{opacity:1}to{translate:344% 0;opacity:0}}
.pipe{--lx:-999px;--ly:-999px;position:relative;z-index:1;display:grid;gap:6px;padding:22px 20px;border:1px solid var(--line);background:radial-gradient(240px circle at var(--lx) var(--ly),rgba(195,216,227,.09),transparent 65%),#0e1419;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.pipe .context-icon{width:22px;height:22px;margin-bottom:14px;color:var(--accent)}
.pipe b{font-size:16px;font-weight:500;letter-spacing:-.01em}
.pipe span{font-size:13px;color:var(--muted)}
.pipeline>p{max-width:54ch;margin-top:28px;font-size:15px;color:var(--muted)}
.pipe::before{content:'';position:absolute;inset:-1px;border:1px solid rgba(214,236,248,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 44px -12px rgba(190,222,238,.5);opacity:0;animation:pipe-lit 3.4s var(--in-out) infinite;pointer-events:none}
.pipe:nth-child(2)::before{animation-delay:1.43s}
.pipe:nth-child(3)::before{animation-delay:2.86s}
@keyframes pipe-lit{0%,26%,100%{opacity:0}9%{opacity:1}}
:is(.pipe,.work-art,.case-frame)::after{content:'';position:absolute;inset:0;z-index:3;padding:1px;background:radial-gradient(280px circle at var(--lx) var(--ly),rgba(228,244,252,.7),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:0;transition:opacity .45s;pointer-events:none}
.is-lit :is(.pipe,.work-art,.case-frame)::after{opacity:1}
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,3vw,44px) clamp(18px,2vw,30px)}
.work-card{--lx:-999px;--ly:-999px;display:block}
.work-art{position:relative;display:block;aspect-ratio:16/10.5;overflow:hidden;isolation:isolate;box-shadow:0 30px 60px -34px rgba(0,0,0,.95);transition:box-shadow .8s var(--out-expo)}
.work-art::before{content:'';position:absolute;inset:0;z-index:2;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),inset 0 1px 0 rgba(255,255,255,.1);pointer-events:none}
.work-card:hover .work-art{box-shadow:0 30px 70px -30px rgba(0,0,0,1),0 0 0 1px rgba(214,236,248,.12)}
.work-art>div{position:absolute;inset:0}
.frame-credit{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(26px,3.6vw,56px);background:radial-gradient(120% 90% at 0% 0%,#2b3842,#141b21 62%)}
.frame-credit>span:first-child{font-size:13px;color:#b8c7cd}
.frame-credit strong{font-size:clamp(36px,4.3vw,70px);font-weight:460;letter-spacing:-.048em;line-height:1.02}
.frame-stages{display:flex;flex-wrap:wrap;gap:10px 26px;padding-top:18px;border-top:1px solid #52616a;font-size:12.5px;color:#b8c7cd}
.frame-stages b{font-weight:400}
.frame-orvian{display:grid;place-items:center;background:radial-gradient(50% 55% at 50% 52%,rgba(190,156,96,.2),transparent 70%),#000}
.frame-orvian img{width:44%;height:auto}
.frame-rivet{display:grid;place-items:center;background:radial-gradient(90% 90% at 75% 15%,#7b4a32,#4a2b1d 55%,#33201a)}
.frame-rivet img{width:50%;height:auto}
.frame-dental{display:grid;place-items:center;color:#1f3436;background:radial-gradient(100% 90% at 25% 15%,#d5dddf,#aeb8ba)}
/* AJI Group: type on chalk, the light counterpart to the bank's dark card; nothing internal is shown. */
.frame-aji{color:var(--paper-ink);background:radial-gradient(120% 90% at 0% 0%,#f1f1ec,#d6dad5 70%)}
.frame-aji>span:first-child,.frame-aji .frame-stages{color:#4c5a61}
.frame-aji .frame-stages{border-top-color:rgba(28,35,39,.22)}
.art-aji{background:radial-gradient(120% 90% at 0% 0%,#f1f1ec,#d6dad5 70%);color:var(--paper-ink)}
.aji-art>.meta,.aji-art .credit-stages{color:#4c5a61}
.aji-art .credit-stages{border-top-color:rgba(28,35,39,.22)}
.frame-dental span{font-size:clamp(40px,5vw,86px);font-weight:500;letter-spacing:-.05em}
.frame-dental b{font-weight:500;color:#5b7b80}
.work-meta{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:start;gap:20px;padding:20px 2px 0}
.work-meta b{display:block;font-size:19px;font-weight:500;letter-spacing:-.016em}
.work-meta>span>span{display:block;margin-top:2px;font-size:14.5px;color:var(--muted)}
/* Phones hide the status; the year moves beside the category instead. */
.work-when{display:none}
.work-status{max-width:24ch;padding-top:3px;font-size:13px;line-height:1.45;text-align:right;color:var(--muted)}
@media (min-width:1200px){.work-status{max-width:none;white-space:nowrap}}
.work-meta .icon{margin-top:4px}
.work-card:hover .work-meta .icon{transform:translateX(4px)}
.work-note{margin-top:72px;padding-top:28px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.work-note p{max-width:62ch}
.method{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6vw;align-items:start;border-top:1px solid var(--line)}
.method-head{position:sticky;top:130px}
.method-head>div{margin-top:30px}
.steps{border-top:1px solid var(--line)}
.steps li{padding:36px 0;border-bottom:1px solid var(--line)}
.steps h3{font-size:clamp(21px,1.6vw,26px);line-height:1.25}
.steps p{max-width:46ch;margin-top:12px;font-size:16px;color:var(--muted)}

/* Closing: one large question under a slow, drifting light. Shared by every page. */
.closing{position:relative;overflow:clip;padding-block:clamp(120px,13vw,210px) clamp(96px,10vw,160px);border-top:1px solid var(--line)}
.closing-light{position:absolute;left:50%;top:62%;width:min(1500px,150vw);aspect-ratio:2.2/1;translate:-58% -52%;background:radial-gradient(50% 50% at 50% 50%,rgba(150,192,216,.2),rgba(150,192,216,.05) 46%,transparent 70%);pointer-events:none}
/* The light drifts as the closing comes into view, carried by the scroll rather than a
   clock, so it costs nothing while the page is still. Elsewhere it simply rests. */
@supports (animation-timeline:view()){.closing-light{animation:drift linear both;animation-timeline:view();animation-range:entry 10% exit 60%}}
@keyframes drift{from{translate:-58% -52%;scale:1}to{translate:-42% -46%;scale:1.14}}
.closing-inner{position:relative}
.closing-link{display:flex;align-items:center;justify-content:space-between;gap:40px}
.closing-note{max-width:46ch;margin-top:clamp(28px,3vw,44px);font-size:17px;line-height:1.6;color:var(--muted)}
.closing-link .lines{font-size:clamp(54px,9.4vw,160px);font-weight:440;letter-spacing:-.058em;line-height:.95;transition:translate .6s var(--out-expo)}
.closing-link:is(:hover,:focus-visible) .lines{translate:10px 0}
.closing-arrow{display:grid;place-items:center;flex:none;width:clamp(75px,12vw,180px);aspect-ratio:1;border:1px solid #757a7e;border-radius:50%;transition:background .4s,border-color .4s,color .4s,box-shadow .6s}
.closing-arrow>.icon{width:42%;height:auto;stroke-width:.8;transition:rotate .6s var(--out-expo)}
.closing-link:hover .closing-arrow{background:var(--accent);border-color:var(--accent);color:var(--bg);box-shadow:0 0 90px -12px rgba(190,222,238,.6)}
.closing-link:hover .closing-arrow>.icon{rotate:0deg}

/* Footer: the original structure. */
.site-footer{overflow:hidden;padding-top:56px;border-top:1px solid var(--line)}
.footer-top{display:grid;grid-template-columns:1fr 1fr auto;gap:40px;align-items:start}
.footer-top .brand{gap:12px}
.footer-top .brand-mark{width:36px;height:36px}
.footer-top .brand>.mono{font-size:13px;line-height:1.5;color:var(--muted)}
.footer-top nav{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;font-size:14px}
.footer-top nav a{transition:color .25s}
.footer-top nav a:hover{color:var(--accent)}
.footer-location{font-size:13px;line-height:1.5;text-align:right;color:var(--muted)}
.footer-word{position:relative;margin:clamp(56px,7vw,110px) 0 0 -.02em;padding-block:.05em .03em;font-size:min(380px,calc((min(100vw,var(--max)) - 2 * var(--gutter)) / 4.72));font-weight:600;letter-spacing:-.05em;line-height:.8;white-space:nowrap;color:transparent;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.7) 50%,transparent 60%) 90% 0/300% 100% no-repeat,linear-gradient(180deg,#dfe8ec 0%,#8a99a3 52%,#1e272d 100%);-webkit-background-clip:text;background-clip:text;user-select:none}
.js .footer-word.is-in{animation:sheen 2.6s var(--in-out) .2s both}
@keyframes sheen{from{background-position:90% 0,0 0}to{background-position:10% 0,0 0}}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding:23px 0;border-top:1px solid var(--line);font-size:12px;color:#a7acb0}
.footer-bottom>div{display:flex;align-items:center;gap:24px}
.footer-bottom a{transition:color .25s}
.footer-bottom a:hover{color:var(--ink)}
.back-top{min-width:44px;min-height:44px;margin:-5px 0;color:var(--accent);font-size:20px}

/* Responsive */
@media (max-width:1060px){
 .hero-side{position:static;margin-top:30px}
 .chapter-hero{padding-bottom:100px}
 .service{grid-template-columns:60px minmax(0,1fr) 52px}
 .service-points{display:none}
}
@media (max-width:980px){
 :root{--bar:80px}
 .wordmark{font-size:24px}
 .menu-body{grid-template-columns:65% 35%}
 .menu-links{padding:35px 35px 35px 0}
 .menu-name{font-size:6vw}
 .menu-links>a{gap:20px;padding:15px 0}
 .menu-aside{padding-left:24px}
 .menu-caption{min-height:160px;font-size:24px}
 .footer-top{grid-template-columns:1fr 1fr;gap:25px}
 .footer-location{display:none}
}
@media (min-width:761px) and (max-width:1100px){
 .beyond{grid-template-columns:1fr}
 .pipeline{margin-top:56px}
}
@media (max-width:760px){
 body{font-size:16px}
 .section-head,.beyond,.method{grid-template-columns:1fr}
 .section-head>p,.section-head>div:last-child{justify-self:start;margin-top:22px}
 .chapter-span .lede{margin-left:0;font-size:16px}
 .system-copy p{margin-top:14px;font-size:15px}
 .node-source .node-in{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}
 .node-source small,.node-plus{display:none}
 .node-text{font-size:14px}
 .node-agent,.node-team{width:min(240px,70%)}
 .node-agent .node-in{flex-direction:row;gap:14px;padding:12px 16px;text-align:left}
 .node-agent .node-text{justify-items:start}
 .agent-core{width:44px;height:44px}
 .node-team .node-in{padding:10px 14px}
 .system-note{font-size:13.5px}
 .service{grid-template-columns:1fr 52px;row-gap:12px;padding-inline:4px}
 .service-mark{display:none}
 .pipeline{margin-top:56px}
 .pipeline-steps{grid-template-columns:1fr}
 .pipeline-steps::before,.pipeline-steps::after{display:none}
 .work-grid{grid-template-columns:1fr}
 .work-status{display:none}
 .work-when{display:inline}
 .work-meta{grid-template-columns:minmax(0,1fr) 20px}
 .method-head{position:static;margin-bottom:40px}
 .closing-link{flex-direction:column;align-items:flex-start;gap:28px}
 .closing-link .lines{font-size:min(14.4vw,92px);line-height:1}
 .closing-arrow{width:60px}
 .closing-link:is(:hover,:focus-visible) .lines{translate:0}
}
@media (max-width:640px){
 :root{--bar:72px}
 .wordmark{font-size:23px}
 .brand-mark{width:28px;height:28px}
 .brand{gap:8px}
 html.header-condensed .header-shell{width:calc(100% - 20px);height:56px;padding-inline:12px;transform:translateY(8px);border-radius:8px}
 .header-condensed .header-shell .brand{transform:scale(.92)}
 .header-shell{padding-inline:22px}
 .header-actions{gap:14px}
 .header-contact{gap:8px;font-size:12px;white-space:nowrap}
 .header-contact .icon{width:16px;height:16px}
 .chapter{padding-top:calc(var(--bar) + 4vh)}
 .chapter-hero{padding-bottom:max(30px,4.5vh)}
 .hero-title{font-size:clamp(44px,12.6vw,74px);line-height:.97;letter-spacing:-.05em}
 .hero-side{gap:22px}
 .hero-side p{font-size:14px}
 .hero-side .button{min-height:50px;font-size:13px;gap:28px}
 .signal-scroll{display:none}
 .menu-body{grid-template-columns:1fr;padding-inline:22px}
 .menu-links{justify-content:center;padding:26px 0}
 .menu-links>a{gap:20px;padding:18px 0}
 .menu-name{font-size:clamp(28px,9vw,44px);line-height:1.12}
 .menu-links .icon{width:25px;height:25px;opacity:1;transform:none;color:#82878b}
 .menu-links>a::before{inset:0 -22px}
 .menu-aside{display:none}
 .menu-bottom{flex-wrap:wrap;gap:6px 24px;height:auto;padding-block:16px;margin-inline:22px;font-size:11px}
 .menu-bottom>a{display:none}
 .site-footer{padding-top:32px}
 .footer-top{grid-template-columns:1fr;gap:27px 20px}
 .footer-top .brand-mark{width:30px;height:30px}
 .footer-top .brand>.mono{font-size:12.5px}
 .footer-top nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:6px;font-size:13px}
 .footer-word{margin-top:40px}
 .footer-bottom{flex-wrap:wrap;margin-top:22px;padding-block:18px;font-size:11px}
 .footer-bottom>div{gap:15px}
 .back-top{font-size:16px}
}
@media (max-width:520px){
 .menu-toggle>span:first-child{display:none}
 .header-actions{gap:10px}
 .wordmark{font-size:20px}
 .brand-mark{width:25px;height:25px}
}
@media (min-height:541px) and (max-width:760px) and (prefers-reduced-motion:no-preference){
 .js .story{height:500svh}
 .js .paper{border-radius:16px 16px 0 0}
 .js .chapter-span{padding-top:calc(var(--bar) + 5vh)}
}

@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important}
 .js [data-arrive] .ln>span,.js [data-arrive] .fade,.js :is(.arrive-block,.service,.work-card,.steps li,.pipeline)[data-arrive]{opacity:1!important;translate:none!important;transition:none!important}
 .header-shell,.header-shell .brand,.menu-symbol path{transition:none!important}
 .menu-name,.service-name,.closing-link .lines{translate:none!important}
 .closing-light{animation:none!important}
}
/* ——— Inner pages ——— */
.design-visual{container-type:inline-size}
.design-type{font-size:clamp(28px,8.8cqw,128px);line-height:1.04}

/* Heroes: the title over the strands, already gathered into one span. */
.sub-hero{--field-bg:#0a0f13;--field-haze:#22323d;--field-mid:#121c23;--field-edge:#547589;--field-soft:#98b6c8;--field-peak:#dbe9f1;--field-fold:#aecbdc;--field-end:#7194ab;--field-charge:#e9f5fb;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:min(80svh,780px);padding:0;background:var(--field-bg)}
.sub-hero-art{position:absolute;inset:0;z-index:-1}
.sub-hero-art canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity 1.4s var(--out-expo)}
.sub-hero.has-field canvas{opacity:1}
.accent-fallback{position:absolute;inset:0;background:radial-gradient(70% 42% at 55% 84%,var(--field-haze),transparent 72%);transition:opacity 1.4s}
.sub-hero.has-field .accent-fallback{opacity:0}
.no-gl .accent-fallback{background:url(/assets/light/accent.webp) 50% 100%/cover no-repeat}
.sub-hero-art::after{content:'';position:absolute;inset:auto 0 0;height:12%;background:linear-gradient(rgba(11,16,20,0),var(--bg));pointer-events:none}
.sub-hero-inner{position:relative;flex:1;display:flex;flex-direction:column;padding-top:clamp(32px,6vh,72px);padding-bottom:clamp(150px,24vh,240px)}
main:has(>.sub-hero:first-child,>.essay-page:first-child>.sub-hero:first-child){padding-top:0}
:is(main>.sub-hero:first-child,main>.essay-page:first-child>.sub-hero:first-child) .sub-hero-inner{padding-top:calc(var(--bar) + clamp(32px,6vh,72px))}
html:not(.header-condensed) body:has(main>.sub-hero:first-child,main>.essay-page:first-child>.sub-hero:first-child)>.site-header .header-shell{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.essay-page .sub-hero-meta{display:flex;justify-content:space-between;align-items:center;gap:20px}
.essay-page .sub-hero-meta .eyebrow{margin-bottom:0}
.essay-page>.sub-hero{padding-top:0}
.essay-page .sub-hero-content{padding-top:0}
/* The article's source: stacked beside the text, one quiet line on phones. */
.essay-source{display:flex;flex-direction:column}
.essay-source>span:last-child{margin-top:1.55em}
@media (max-width:760px){.essay-layout>aside>.essay-source{flex-direction:row;flex-wrap:wrap;gap:4px 18px;word-spacing:normal}.essay-source>span:last-child{margin-top:0}}
/* The example band is a lit slate surface from the system, not a flat neutral grey. */
.example-callout{background:radial-gradient(70% 140% at 12% 0%,rgba(195,216,227,.075),transparent 62%),var(--surface);border-block:1px solid var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.example-callout>p{line-height:1.32;letter-spacing:-.028em;text-wrap:balance}
/* Reading measure: about seventy characters, with leading for prose rather than captions. */
.essay-body p{max-width:35em;line-height:1.66}
@media (max-width:760px){.essay-body p{line-height:1.7}}
/* A way back: the forward arrow turned around, nudging back on hover. */
.back-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:13px;color:var(--ink-2);transition:color .3s}
.back-link .icon{width:17px;height:17px;rotate:180deg;transition:translate .45s var(--out-expo)}
.back-link:hover{color:var(--ink)}
.back-link:hover .icon{transform:none;translate:-4px 0}
.sub-intro{transition:opacity .9s var(--out-expo),translate 1.1s var(--out-expo)}
.js .sub-hero:not(.is-ready) .sub-intro{opacity:0;translate:0 12px;animation:late-show 0s 3.2s forwards}

/* Context diagram: the homepage's nodes, joined by connectors measured from them. */
.context-map{position:relative;isolation:isolate;border:1px solid var(--line);background:radial-gradient(90% 120% at 55% 0%,rgba(195,216,227,.06),transparent 60%),#0d1317;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 40px 90px -40px rgba(0,0,0,.9);color:var(--ink)}
.map-head{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.map-body{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(36px,6vw,110px);max-width:1080px;margin:auto;padding:clamp(32px,4.5vw,64px) clamp(22px,3vw,48px)}
.map-inputs{position:relative;z-index:1;display:grid;gap:12px;width:clamp(230px,30%,320px)}
.map-agent{position:relative;z-index:1;width:clamp(176px,18%,220px)}
.map-output{position:relative;z-index:1;width:clamp(200px,21%,250px)}
.map-connections{position:absolute;inset:0;z-index:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.connection-tracks path{fill:none;stroke:rgba(195,216,227,.2);stroke-width:1;transition:stroke .4s}
.connection-flow path{fill:none;stroke:var(--glow);stroke-width:1.4;stroke-linecap:round;stroke-dasharray:8 92;filter:drop-shadow(0 0 4px rgba(233,245,251,.85));animation:map-flow 3.2s linear infinite;transition:opacity .4s}
.connection-flow path:nth-child(2){animation-delay:-.6s}
.connection-flow path:nth-child(3){animation-delay:-1.2s}
.connection-flow path:nth-child(4){animation-delay:-1.8s}
.connection-flow path:nth-child(5){animation-delay:-2.4s}
@keyframes map-flow{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.context-map[data-active] .connection-flow path:nth-child(-n+3){opacity:.2}
.context-map[data-active="0"] .connection-flow path:nth-child(1),.context-map[data-active="1"] .connection-flow path:nth-child(2),.context-map[data-active="2"] .connection-flow path:nth-child(3){opacity:1;stroke-width:2}
.context-map[data-active="0"] .connection-tracks path:nth-child(1),.context-map[data-active="1"] .connection-tracks path:nth-child(2),.context-map[data-active="2"] .connection-tracks path:nth-child(3){stroke:rgba(214,236,248,.55)}
.map-explanation{max-width:none;min-height:3.2em;margin:0;padding:18px 22px;border-top:1px solid var(--line);font-size:15px;line-height:1.55;color:var(--muted)}
.beyond-inline{margin-top:clamp(80px,9vw,140px)}

/* Work index and case studies: the homepage frame around each project's own artwork. */
.work-art>.project-art{height:auto}
.project-card[hidden]{display:none}
.work-index-grid{margin-top:8px}
.case-frame{--lx:-999px;--ly:-999px;position:relative;isolation:isolate;overflow:hidden;box-shadow:0 30px 70px -36px rgba(0,0,0,.95)}
.case-frame::before{content:'';position:absolute;inset:0;z-index:2;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),inset 0 1px 0 rgba(255,255,255,.1);pointer-events:none}
.case-meta b{font-size:15px;font-weight:500;letter-spacing:-.01em}
.case-project-link{text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:.2em}
.case-project-link:hover{color:var(--accent);text-decoration-color:currentColor}
.case-meta:has(>:nth-child(5)){grid-template-columns:1fr 1.3fr 1.2fr .7fr auto}
@media (max-width:980px){.case-meta:has(>:nth-child(5)){grid-template-columns:1fr 1fr 1fr}}
@media (max-width:640px){.case-meta:has(>:nth-child(5)){grid-template-columns:1fr 1fr}.case-meta:has(>:nth-child(5))>div:last-child{grid-column:1/-1}}
.paper-section{--line-2:rgba(28,35,39,.24)}

/* The capability band reads as a sequence, so it uses the site's own forward arrow. */
.band-arrow{display:grid;place-items:center;color:var(--quiet)}
.band-arrow .icon{width:20px;height:20px}
@media (max-width:640px){.capability-band{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.capability-band>.mono{max-width:none}.band-arrow .icon{width:15px;height:15px}}
/* Rows that once carried filler numbers close up. */
.faq-list summary{grid-template-columns:minmax(0,1fr) 28px}
.case-film-copy>section{padding-left:0}
.beliefs>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.demo-stage-list li>span{font-size:12px}
.assembly-plane text{font:500 12px/1 var(--font);letter-spacing:0}

/* Captions: one readable floor, sentence-case sans throughout. */
.meta,.capability-band .mono,.capability-band>.mono,.service-subnav .mono,.systems-column>.mono,.example-callout>.mono,.case-meta .mono,.visual-caption,.next-project>.mono,.beliefs .mono,.essay-breadcrumb>.mono,.essay-layout>aside>.mono,.essay-toc>.mono,.more-notes>.mono,.contact-aside>.mono,.form-progress>.mono,.legal-layout>aside>.mono,.error-page>.mono,.related-services>.mono,.essay-index article>a>div:nth-child(2)>.mono,.essay-index-no>span,.demo-disclaimer>.mono,.design-visual>.mono,.orvian-art-caption,.contact-location,.filter-bar>.meta{font-family:var(--font);font-size:13px;line-height:1.55;letter-spacing:0;text-transform:none;color:var(--muted)}
.faq-list summary>.mono,.filter-bar button>span,.contact-points>div>span,.case-story>div>section>.mono,.essay-index-no,.field-bottom>.mono,.detail-steps>div>.mono{font-family:var(--mono);font-size:11px;letter-spacing:.02em}
.contact-points p,.work-disclosure>p,.essay-end>p,.consent-label,.form-bottom>p{font-size:14px;line-height:1.6}
.interest-options>label>span,.approach-spectrum>span,.chapter-outputs,.case-meta .text-link,.credit-stages{font-size:13px}
.filter-bar button{font-size:14px;white-space:nowrap;gap:8px}
/* Phones: the filters keep one line each; the total repeats "All work", so it steps aside. */
@media (max-width:640px){.filter-bar>div{gap:24px}.filter-bar>.meta{display:none}}
.field input::placeholder,.field textarea::placeholder{font-size:15px}
.founder-signature>div>span{font-size:12px}
.loose-note small,.state-line{font-size:11px}
/* Captions once sized for tiny mono caps keep the same floor at every width. */
.company-location>.mono,.case-film-column figcaption,.design-controls,.demo-disclaimer>p,.demo-sidebar>label,.demo-reset,.demo-actions>p,.demo-stage-list li{font-size:13px;line-height:1.55;letter-spacing:0}
.design-controls{font-family:var(--font);gap:28px;color:var(--muted)}
.demo-top>span:first-child{font-size:12px}
.demo-actions>.button{font-size:13px}
@media (min-width:981px){.demo-actions>p{max-width:360px}.demo-disclaimer>p{max-width:640px;text-align:right}}
.legal-layout>aside>nav{font-size:14px}
@media (max-width:640px){.beliefs>div{grid-template-columns:1fr}.beliefs>div>p{grid-column:auto}}
@media (max-width:760px){
 .map-body{flex-direction:column;align-items:stretch;gap:34px}
 .map-inputs{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .map-agent,.map-output{width:min(240px,70%);align-self:center}
 .sub-hero-inner{padding-bottom:clamp(120px,20vh,180px)}
}
@media (prefers-reduced-motion:reduce){.sub-intro{transition:none!important;opacity:1!important;translate:none!important}}

/* Lite: on a device that could not hold the light field smoothly, the costliest
   compositing goes too: live backdrop glass. Surfaces turn nearly opaque instead,
   so they read the same. */
.lite .node-in{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(180deg,rgba(28,37,45,.97),rgba(13,19,24,.97))}
html.lite body:not([data-page="/"]) .header-shell{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(11,16,20,.96)}
html.lite.header-condensed .header-shell{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(13,19,24,.95)}
html.lite.header-light .header-shell{background:rgba(250,250,246,.97)}
.lite .menu-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--grain-dark),rgba(239,238,232,.99)}

@media (max-aspect-ratio:4/5) and (min-height:541px) and (prefers-reduced-motion:no-preference){
 .js.no-gl .stage-fallback{background-image:url(/assets/light/hero-portrait.webp)}
 .js.no-gl .stage-fallback::before{background-image:url(/assets/light/span-portrait.webp)}
}
@media (max-aspect-ratio:4/5){.no-gl .accent-fallback{background-image:url(/assets/light/accent-portrait.webp)}}
@media print{.site-header,.navigation-scene,.stage-art,.closing-light{display:none!important}body:not([data-page="/"]) main{padding-top:0}}
