/* SPDX-License-Identifier: Apache-2.0 OR MIT */
/* Concept G: everything the G pages share (moved out of home-g.html so the inner pages use the same rules). */

/* C: the lead runs a little wider beside the drawing, so no unstructured gap opens between them */
.c-hero__lead{max-width:38ch}
/* D: the Life field is a shallow band, not a hero panel */
.c-band{padding:8px 0 0}
.c-life--band{height:clamp(120px,12vw,168px)}

/* F: D's calm page with what Spec Sheet did best — its hero kick, underlined lede and proof lines, the spec row
   under the hero, and the full rings scheme with the sigil at the root (carried verbatim from home-spec.html) */
.hero__kick{display:flex;align-items:center;gap:10px;margin:0 0 20px}
.hero__kick svg{width:8px;height:8px;flex:none}
.hero__proof{list-style:none;margin:20px 0 28px;padding:0;display:grid;gap:8px}
.hero__proof li{font-size:15px;line-height:1.4;color:var(--ink);padding-left:12px;box-shadow:inset 1px 0 0 var(--rule-strong)}
@media (max-width:480px){.hero__kick .k3{display:none}}
.rings-lede{max-width:56ch;margin:-8px 0 28px}
.rings-cap{margin:0 0 10px}
.orbit svg{width:100%;height:auto}
.oring{stroke:var(--rule-strong);stroke-dasharray:3 6}
.ochip{fill:var(--card);stroke:var(--ink)}
.ochip--v{stroke:var(--green)}
.otxt{font-size:11px;letter-spacing:.08em;fill:var(--ink)}
.otag{font-size:9.5px;letter-spacing:.14em;fill:var(--green-deep)}
.oray{stroke:var(--green);stroke-dasharray:2 5}
.legend{list-style:none;border-top:1px dashed var(--line)}
.legend li{display:grid;grid-template-columns:minmax(0,13ch) 1fr;gap:16px;padding:12px 20px;border-top:1px solid var(--line)}
.legend li:first-child{border-top:0}
.legend b{font-family:var(--mono);font-size:11px;letter-spacing:.08em;font-weight:700}
.legend p{font-size:var(--fs-small);color:var(--ink-soft)}
.root__note{margin-top:20px;font-size:var(--fs-small);color:var(--ink-soft);max-width:var(--measure)}
.root__note b{font-weight:600;color:var(--ink)}
.root__line{margin-top:16px}
@media (max-width:600px){.legend li{grid-template-columns:1fr;gap:2px}}
@media (min-width:900px){#rules .split__r{position:sticky;top:96px;align-self:start}}

/* F: the end of Spec Sheet — landscape, Web4, why, the questions, the video, the proposal (rules from home-spec.html) */
.land__count{ margin-top:var(--s5); max-width:var(--measure); }
.web4__verbs{ display:flex; flex-wrap:wrap; gap:4px; margin-top:var(--s2); }
.web4__verbs b{ font-family:var(--mono); font-size:var(--fs-earmark); letter-spacing:.06em; font-weight:400; padding:2px 6px; border:1px solid var(--rule-strong); border-radius:var(--r-ctl); color:var(--ink); background:var(--card); }
.web4__verbs b.new{ background:var(--mint); border-color:var(--green); color:var(--green-deep); font-weight:700; }
.closing{ margin-top:var(--s6); max-width:var(--measure); font-size:var(--fs-body); color:var(--ink-soft); }
.closing b{ color:var(--ink); font-weight:600; }
.why .steps-rail__name{ font-size:21px; }
.kya{ margin-top:var(--s6); }
.kya b{ font-weight:600; color:var(--ink); }
.video{ margin-top:0; }
.proposal{ font-size:var(--fs-lead); line-height:1.45; max-width:52ch; color:var(--ink); }
.proposal b{ font-weight:600; }
.legal{ margin-top:var(--s6); max-width:860px; }

/* ── F, second pass ───────────────────────────────────────────────────────────────────────────────────────────
   Sections are separated the Spec Sheet way; c-sec only keeps its inner styles, so its own top padding and rule go. */
.section.c-sec{padding:0;border:0}
.section.c-sec{padding-top:var(--section)}
.sec-head .lede + .c-note{margin-top:20px}
@media (min-width:900px){#root .split__r{position:sticky;top:96px;align-self:start}}

/* the video: Quiet Paper's poster, full width; pressing it plays the video in place */
.qp-video{margin-top:8px}
.poster{all:unset;box-sizing:border-box;cursor:pointer;display:block;position:relative;width:100%;aspect-ratio:16/9;background:var(--card);border:1px solid var(--line);color:var(--ink);transition:border-color var(--t) var(--ease)}
.poster:hover{border-color:var(--ink)}
.poster:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.poster .attr{position:absolute;left:clamp(20px,3vw,40px);top:clamp(20px,3vw,36px);right:clamp(20px,3vw,40px);font-size:clamp(22px,3.2vw,44px);line-height:1.15;letter-spacing:-.02em;max-width:22ch}
.poster .attr small{display:block;margin-top:10px;font-size:clamp(13px,1.1vw,16px);color:var(--muted);letter-spacing:0;line-height:1.4}
.poster .play{position:absolute;left:clamp(20px,3vw,40px);bottom:clamp(20px,3vw,36px);display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.poster .play svg{width:56px;height:56px;transition:transform var(--t-slow) var(--ease-out)}
.poster:hover .play svg{transform:scale(1.08)}
.poster .vid{position:absolute;right:clamp(20px,3vw,40px);bottom:clamp(24px,3vw,42px);font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--muted)}
@media (max-width:600px){.poster{aspect-ratio:4/5}.poster .vid{display:none}}
.qp-video.is-on .poster{display:none}
.qp-video iframe{display:block;width:100%;aspect-ratio:16/9;border:1px solid var(--line);background:var(--card)}

/* buttons and links: a fill that wipes in from the left, an arrow that steps forward, a press that gives */
.btn{position:relative;isolation:isolate}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;transform:scaleX(0);transform-origin:left center;transition:transform var(--t-slow) var(--ease-out)}
.btn-ghost::before{background:var(--ink)}
.btn-ink::before{background:var(--green-deep)}
.btn:hover::before,.btn:focus-visible::before{transform:scaleX(1)}
.btn-ghost:hover,.btn-ghost:focus-visible{background:transparent;color:var(--paper)}
.btn-ink:hover{background:var(--ink)}
.btn:active{transform:scale(.985)}
.arr{display:inline-block;transition:transform var(--t-slow) var(--ease-out)}
.btn .arr,.c-btn .arr{margin-left:-4px}
a:hover > .arr,a:focus-visible > .arr,button:hover > .arr,.btn:hover .arr{transform:translateX(4px)}
.sec-head__row a{background:linear-gradient(currentColor,currentColor) left bottom / 0 1px no-repeat;text-decoration:none;padding-bottom:2px;transition:background-size var(--t-slow) var(--ease-out),color var(--t) var(--ease)}
.sec-head__row a{background-size:100% 1px}
.sec-head__row a:hover{color:var(--ink)}
.c-hero .u{background:linear-gradient(var(--green),var(--green)) left 100% / 100% 2px no-repeat;text-decoration:none;padding-bottom:1px}

/* reading progress: a 2px line under the nav */
.rv-progress{position:fixed;left:0;top:0;height:2px;width:100%;background:var(--green);transform:scaleX(0);transform-origin:left center;z-index:60;pointer-events:none}
html:not(.rv) .rv-progress{display:none}

/* ── reveal (js/reveal.mjs). Nothing below hides anything without html.rv, so the page is complete without it ───
   Timing: 0.4–0.55 s, quint ease-out, small staggers, triggered before the element reaches the viewport. */
:root{--q:cubic-bezier(.22,1,.36,1);--io:cubic-bezier(.65,0,.35,1)}
/* headings roll in line by line out of a clip */
.rv .rv-lines .lw{display:inline-block;clip-path:inset(0 0 100% 0);transform:translateY(.35em);transition:clip-path .55s var(--q),transform .55s var(--q);transition-delay:calc(var(--d,0ms) + var(--l,0) * 70ms)}
.rv .is-in .rv-lines .lw,.rv .rv-lines.is-in .lw{clip-path:inset(-.1em -.05em -.25em -.05em);transform:none}
/* blocks: lift 10px and fade */
.rv [data-rv]{opacity:0;transform:translateY(14px);transition:opacity .6s var(--q) var(--d,0ms),transform .75s var(--q) var(--d,0ms)}
.rv [data-rv].is-in{opacity:1;transform:none}
.rv [data-rv="fade"]{transform:none}
/* the section rule draws left to right */
.rv .sec-head{border-top-color:transparent}
.rv .sec-head::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--line);transform:scaleX(0);transform-origin:left center;transition:transform .7s var(--io)}
.rv .sec-head.is-in::before{transform:scaleX(1)}
/* hero: the underline draws, the globe settles */
.rv .c-hero .u{background-size:0 2px;transition:background-size .6s var(--io) .35s}
.rv .c-hero.is-in .u{background-size:100% 2px}
.rv .c-globe{opacity:0;transform:scale(.97);transition:opacity .8s var(--q) .1s,transform 1s var(--q) .1s}
.rv .c-hero.is-in .c-globe{opacity:1;transform:none}
/* the rings open, the chips arrive ring by ring, the snake draws itself */
.rv #root .oring{transform-box:view-box;transform-origin:320px 320px;opacity:0;transform:scale(.75);transition:opacity .5s var(--q) var(--d),transform .7s var(--q) var(--d)}
.rv #root .oray{opacity:0;transition:opacity .4s var(--q) .3s}
.rv #root .ochip,.rv #root .otxt,.rv #root .otag{opacity:0;transition:opacity .35s var(--q) var(--d)}
.rv #root .is-in .oring{opacity:1;transform:none}
.rv #root .is-in .oray,.rv #root .is-in .ochip,.rv #root .is-in .otxt,.rv #root .is-in .otag{opacity:1}
.rv #root .snake-body{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s var(--io) .25s}
.rv #root .snake-head,.rv #root .snake-scales{opacity:0;transition:opacity .3s var(--q) 1.2s}
.rv #root .is-in .snake-body{stroke-dashoffset:0}
.rv #root .is-in .snake-head{opacity:1}
.rv #root .is-in .snake-scales{opacity:.5}
/* Web4: each era's verbs light in order, ACT last */
.rv .web4__verbs b{opacity:0;transform:translateY(4px);transition:opacity .3s var(--q) var(--d),transform .35s var(--q) var(--d),background-color .4s var(--q) var(--d)}
.rv .is-in .web4__verbs b{opacity:1;transform:none}
.rv .web4__verbs b.new{background:var(--card)}
.rv .is-in .web4__verbs b.new{background:var(--mint)}
/* the landscape: AINRA's row fills in */
.rv .compare__row--ours{background-color:transparent;background-image:linear-gradient(var(--mint),var(--mint));background-repeat:no-repeat;background-size:0 100%;transition:background-size .8s var(--io) calc(var(--d,0ms) + .15s),opacity .4s var(--q) var(--d,0ms),transform .45s var(--q) var(--d,0ms)}
.rv .compare__row--ours.is-in{background-size:100% 100%}

/* ── the statement: one sentence per screen, sharpening into place as it scrolls in ───────────────────────────── */
.statement-sec{padding:clamp(96px,12vw,200px) 0 clamp(24px,4vw,48px)}
.statement-big{font-size:clamp(34px,5vw,72px);line-height:1.04;letter-spacing:-.03em;font-weight:500;max-width:20ch;margin:0 auto;text-align:center;color:var(--ink)}
.statement-big .soft{color:var(--muted)}
[data-scrub]{--p:1}
.rv [data-scrub]{color:color-mix(in srgb,var(--ink) calc(var(--p) * 100%),var(--muted));transform:translateY(calc((1 - var(--p)) * 56px));line-height:calc(1.04 + (1 - var(--p)) * .16);will-change:transform}
.statement-src{margin-top:24px;text-align:center;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

/* ── the hero's metadata line, boxed by thin vertical rules ─────────────────────────────────────────────────── */
.hero-meta{display:flex;flex-wrap:wrap;margin-top:clamp(40px,6vw,72px);border-top:1px solid var(--line)}
.hero-meta > span{padding:12px 20px 0;border-left:1px solid var(--line);font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.hero-meta > span:first-child{border-left:0;padding-left:0}
.hero-meta b{color:var(--ink);font-weight:400}
@media (max-width:600px){.hero-meta > span:last-child{display:none}}

/* ── the header lifts into a floating bar once the page scrolls: solid card, 1px rule, no blur ───────────────── */
nav:not([class]){position:sticky;top:0;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}
nav:not([class]) .nav-in{transition:background-color .25s var(--q),border-color .25s var(--q),box-shadow .25s var(--q);border:1px solid transparent}
.nav-float nav:not([class]){background:transparent;border-bottom-color:transparent}
.nav-float nav:not([class]) .nav-in{margin-top:10px;width:calc(100% - 20px);background:var(--card);border-color:var(--line);border-radius:10px;box-shadow:0 1px 0 rgba(11,18,32,.04)}
nav:not([class]) .nav-in{width:100%}/* ── list rows: a full-width band fades in, the name slides 16px, the index turns to ink ────────────────────── */
.index-row{position:relative;isolation:isolate;transition:none}
.index-row::before{content:"";position:absolute;inset:0;background:var(--card);opacity:0;z-index:-1;transition:opacity .2s ease-in-out}
#questions .index-row::before{left:50%;right:auto;width:100vw;transform:translateX(-50%)}
.index-row:hover::before{opacity:1}
.index-row:hover,button.index-row:hover{background:transparent}
.index-row__name{transition:transform .25s ease-in-out}
.index-row:hover .index-row__name{transform:translateX(16px)}
.index-row__idx{transition:color .3s ease-in-out}
main{overflow-x:clip}


/* ── the film: a full-bleed card, inset 10px, rounded; muted, loops, pauses off screen; a Pause button always ───── */
.film{padding:clamp(24px,4vw,56px) 10px 0}
.film__frame{position:relative;border-radius:14px;overflow:hidden;background:var(--band);border:1px solid var(--line);aspect-ratio:16/9;max-height:calc(100vh - 40px);margin:0 auto}
.film__v{display:block;width:100%;height:100%;object-fit:cover;background:var(--band)}
.film__plate{position:absolute;left:16px;bottom:16px;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100% - 140px));background:var(--card);border:1px solid var(--line);border-radius:8px;padding:10px 14px}
.film__k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--green-deep);flex:none}
.film__t{font-size:13px;line-height:1.35;color:var(--ink-soft)}
.film__pause{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);color:var(--ink);font:500 13px/1 var(--sans);cursor:pointer;transition:border-color .25s ease-in-out}
.film__pause:hover{border-color:var(--ink)}
.film__pause:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.film__pause svg{width:14px;height:14px;fill:currentColor}
.film__pause .i-play{display:none}
.film__pause[aria-pressed="true"] .i-play{display:inline}.film__pause[aria-pressed="true"] .i-pause{display:none}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:600px){.film{padding-left:8px;padding-right:8px}.film__frame{border-radius:10px}.film__plate{left:8px;right:8px;bottom:60px;max-width:none}.film__t{font-size:12px}.film__pause{right:8px;bottom:8px}}
.rv .film__frame{opacity:0;transform:scale(.985);transition:opacity .5s var(--q) .2s,transform .7s var(--q) .2s}
.rv .film.is-in .film__frame{opacity:1;transform:none}

/* hero: problem → fix → control, the original site's pixel glyphs above each, pixel arrows between */
.h-trip{display:grid;grid-template-columns:1fr 44px 1fr 44px 1fr;gap:20px;align-items:start;margin-top:clamp(40px,5vw,64px);padding-top:28px;border-top:1px solid var(--line)}
.h-trip__ico{height:86px;display:flex;align-items:flex-end;margin-bottom:16px}
.h-trip__ico svg{height:80px;width:auto}
.h-trip__k{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--green-deep);margin-bottom:8px}
.h-trip__cell h3{font-size:clamp(19px,1.6vw,23px);line-height:1.2;letter-spacing:-.015em;font-weight:600;margin:0 0 6px;color:var(--ink)}
.h-trip__cell p{font-size:15px;line-height:1.5;color:var(--ink-soft);margin:0;max-width:36ch}
.h-trip__arrow{height:86px;display:flex;align-items:center;justify-content:center}
.h-trip__arrow svg{width:26px;height:26px}
@keyframes pxsh{0%,100%{opacity:1}50%{opacity:.55}}
html[data-motion="on"] .h-trip .pxa{animation:pxsh 3.4s ease-in-out infinite}
.h-trip .pxa.d1{animation-delay:.85s}.h-trip .pxa.d2{animation-delay:1.7s}.h-trip .pxa.d3{animation-delay:2.55s}
@media (prefers-reduced-motion:reduce){.h-trip .pxa{animation:none!important}}
@media (max-width:900px){.h-trip{grid-template-columns:1fr;gap:18px}.h-trip__arrow{height:20px;justify-content:flex-start;transform:rotate(90deg);width:26px}}
.rv .h-trip__cell{opacity:0;transform:translateY(14px);transition:opacity .6s var(--q),transform .75s var(--q)}
.rv .c-hero.is-in .h-trip__cell{opacity:1;transform:none}
.rv .c-hero.is-in .h-trip__cell:nth-of-type(2){transition-delay:.08s}.rv .c-hero.is-in .h-trip__cell:nth-of-type(3){transition-delay:.16s}

/* ── G: the structure and motion of a large software company's home page (studied privately; see MOTION.md),
   carried in AINRA's own fonts, colours, words and pictures. Light; solid surfaces; nothing loops but the film. ── */
.g-k{font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0}
.g-link{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:2px}

/* the announcement strip: one line, light */
.g-announce{background:var(--mint);border-bottom:1px solid var(--line);font-size:14px}
.g-announce .wrap{display:flex;gap:14px;align-items:center;min-height:40px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.g-announce__k{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--card);background:var(--green-deep);padding:2px 7px;border-radius:2px}
.g-announce a{color:var(--ink);font-weight:500}

/* the menu button joins the header; the menu itself is a full-screen launchpad in three columns */
.g-menubtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;min-width:44px;padding:0 14px;border:1px solid var(--ink);background:var(--card);color:var(--ink);font:500 14px/1 var(--sans);cursor:pointer;border-radius:var(--r-ctl);transition:background .25s ease-in-out,color .25s ease-in-out}
.g-menubtn:hover,.g-menubtn[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.g-menubtn svg{width:16px;height:16px}
.g-menu{position:fixed;inset:0;z-index:80;background:var(--paper);overflow:auto;padding-top:96px}
.g-menu[hidden]{display:none}
.g-menu__cols{display:grid;grid-template-columns:5fr 4fr 3fr;gap:48px;padding:24px 0 64px}
.g-menu__col{border-top:1px solid var(--ink);padding-top:14px}
.g-menu__k{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 22px}
.g-menu__big{list-style:none;margin:0;padding:0}
.g-menu__big > li{margin:0 0 14px}
.g-menu__big > li > a{font-size:clamp(28px,2.6vw,38px);letter-spacing:-.025em;color:var(--ink);text-decoration:none;display:inline-block;transition:transform .25s ease-in-out}
.g-menu__big > li > a:hover{transform:translateX(10px)}
.g-menu__big ul{list-style:none;margin:6px 0 0;padding:0}
.g-menu__big ul a{font-size:16px;color:var(--ink-soft);text-decoration:none}
.g-menu__big ul a:hover{color:var(--ink);text-decoration:underline}
.g-menu__kv{margin:0}
.g-menu__kv div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.g-menu__kv dt{color:var(--ink-soft)}.g-menu__kv dd{margin:0;font-family:var(--mono);color:var(--ink)}
.g-menu__note{font-size:13px;color:var(--muted);margin-top:12px}
.g-menu__small{list-style:none;margin:0;padding:0}
.g-menu__small li{padding:10px 0;border-bottom:1px solid var(--line)}
.g-menu__small a{color:var(--ink);text-decoration:none}.g-menu__small a:hover{text-decoration:underline}
@media (max-width:900px){.g-menu__cols{grid-template-columns:1fr;gap:28px}}
.rv .g-menu:not([hidden]) .g-menu__col{animation:gIn .35s cubic-bezier(.22,1,.36,1) both}
.rv .g-menu:not([hidden]) .g-menu__col:nth-child(2){animation-delay:.05s}.rv .g-menu:not([hidden]) .g-menu__col:nth-child(3){animation-delay:.1s}
@keyframes gIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
html.g-menu-open{overflow:hidden}
.nav-links-d[hidden]{display:none!important}

/* the hero: the film, full width and nearly full height, with the headline on a solid paper plate */
.g-hero{position:relative;margin:10px;border-radius:14px;overflow:hidden;height:calc(100vh - 20px - 64px);min-height:620px;background:var(--band);border:1px solid var(--line)}
.g-hero__film,.g-hero__v{position:absolute;inset:0;width:100%;height:100%}
.g-hero__v{object-fit:cover;display:block}
.g-hero__plate{position:absolute;left:clamp(16px,3vw,40px);bottom:clamp(16px,3vw,40px);max-width:min(760px,calc(100% - 32px));background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:clamp(20px,3vw,36px)}
.g-hero__k{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--green-deep);margin:0 0 14px}
.g-hero h1.display{font-size:clamp(40px,5.6vw,92px);line-height:.98;letter-spacing:-.04em;margin:0;max-width:12ch}
.g-hero__lead{font-size:clamp(16px,1.3vw,19px);color:var(--ink-soft);margin:16px 0 0;max-width:44ch}
.g-hero__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.g-hero__pause{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);color:var(--ink);font:500 13px/1 var(--sans);cursor:pointer}
.g-hero__pause svg{width:14px;height:14px;fill:currentColor}.g-hero__pause .i-play{display:none}
.g-hero__pause[aria-pressed="true"] .i-play{display:inline}.g-hero__pause[aria-pressed="true"] .i-pause{display:none}
.g-hero__cue{position:absolute;right:16px;top:16px;margin:0;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 12px}
@media (max-width:700px){.g-hero{height:auto;min-height:0;aspect-ratio:auto;display:flex;flex-direction:column}.g-hero__film{position:relative;aspect-ratio:16/9;inset:auto}.g-hero__plate{position:relative;left:auto;bottom:auto;max-width:none;border:0;border-top:1px solid var(--line);border-radius:0}.g-hero__pause{top:12px;bottom:auto}.g-hero__cue{display:none}}
/* the headline rolls in out of a clip, line by line (reveal.mjs adds the lines) */
.rv .g-hero__plate{clip-path:inset(0 0 100% 0);transition:clip-path .6s cubic-bezier(.22,1,.36,1) .1s}
.rv .g-hero.is-in .g-hero__plate{clip-path:inset(0 0 0 0)}

/* the band of latest notes: flat cards on a grey band, no carousel */
.g-band{background:var(--band);margin-top:clamp(56px,7vw,96px);padding:clamp(40px,5vw,64px) 0}
.g-band__head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:24px}
.g-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.g-card{position:relative;display:flex;flex-direction:column;gap:10px;background:var(--card);padding:24px 24px 56px;text-decoration:none;color:var(--ink);border:1px solid transparent;transition:border-color .25s ease-in-out}
.g-card:hover{border-color:var(--ink)}
.g-card__d{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.g-card b{font-size:clamp(20px,1.7vw,26px);font-weight:500;letter-spacing:-.015em;line-height:1.2}
.g-card span:not(.g-card__d):not(.g-card__go){font-size:15px;color:var(--ink-soft)}
.g-card__go{position:absolute;left:24px;bottom:20px;font-size:18px;transition:transform .25s ease-in-out}
.g-card:hover .g-card__go{transform:translateX(6px)}
@media (max-width:900px){.g-cards{grid-template-columns:1fr}}

/* one statement, one screen */
.g-statement{padding:clamp(96px,14vw,220px) 0}
.g-statement__t{font-size:clamp(34px,4.8vw,70px);line-height:1.08;letter-spacing:-.035em;font-weight:500;text-align:center;max-width:30ch;margin:0 auto;color:var(--ink)}
.g-statement__t .soft{color:var(--muted)}

/* the parts: big names, a line each, an index at the far right; hover shows the part in the film */
.g-list{padding-bottom:clamp(64px,8vw,120px)}
.g-list .wrap{position:relative}
.g-list__head{border-top:1px solid var(--ink);padding-top:14px;margin-bottom:8px}
.g-rows{list-style:none;margin:0;padding:0}
.g-row{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr) auto;gap:24px;align-items:baseline;padding:28px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.g-row::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:var(--card);opacity:0;z-index:-1;transition:opacity .2s ease-in-out}
.g-row:hover::before,.g-row:focus-visible::before{opacity:1}
.g-row__name{font-size:clamp(36px,5vw,80px);line-height:1;letter-spacing:-.05em;transition:transform .25s ease-in-out}
.g-row:hover .g-row__name,.g-row:focus-visible .g-row__name{transform:translateX(16px)}
.g-row__d{font-size:clamp(15px,1.2vw,18px);color:var(--ink-soft);max-width:38ch}
.g-row__i{font-family:var(--mono);font-size:12px;color:var(--muted);transition:color .3s ease-in-out}
.g-row:hover .g-row__i{color:var(--ink)}
.g-preview{position:absolute;right:32px;top:72px;width:min(36vw,520px);margin:0;border:1px solid var(--line);background:var(--card);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .25s ease-in-out,transform .25s ease-in-out;z-index:2}
.g-preview img{display:block;width:100%;height:auto}
.g-preview.is-on{opacity:1;transform:none}
@media (max-width:1100px){.g-preview{display:none}.g-row{grid-template-columns:1fr auto}.g-row__d{grid-column:1 / -1}}

/* measured facts, each with its source — in place of testimonials */
.g-facts{padding-bottom:clamp(64px,8vw,120px)}
.g-facts .g-k{border-top:1px solid var(--ink);padding-top:14px}
.g-facts__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.g-fact{display:flex;flex-direction:column;gap:8px;padding:22px;background:var(--card);border:1px solid var(--line)}
.g-fact b{font-family:var(--mono);font-size:clamp(28px,2.6vw,40px);font-weight:400;letter-spacing:-.02em}
.g-fact span{font-size:15px;color:var(--ink-soft)}
.g-fact a{margin-top:auto;font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--ink)}
.g-fact.is-gap b{color:var(--amber)}
@media (max-width:900px){.g-facts__row{grid-template-columns:1fr 1fr}}

/* the closing pair: two large blocks */
.g-duplex{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 10px clamp(56px,7vw,96px)}
.g-duplex a{position:relative;display:flex;flex-direction:column;gap:12px;min-height:clamp(260px,26vw,380px);padding:clamp(24px,3vw,44px);text-decoration:none;border-radius:14px;transition:background .25s ease-in-out}
.g-duplex b{font-size:clamp(34px,4vw,64px);font-weight:500;letter-spacing:-.04em;line-height:1}
.g-duplex span:not(.g-k):not(.g-duplex__go){font-size:16px;max-width:40ch}
.g-duplex__a{background:var(--band);color:var(--ink)}
.g-duplex__a:hover{background:#E2E5DF}
.g-duplex__b{background:var(--mint);color:var(--ink);border:1px solid var(--green)}
.g-duplex__b:hover{background:#D3E7DA}
.g-duplex__go{margin-top:auto;font-size:28px;transition:transform .25s ease-in-out}
.g-duplex a:hover .g-duplex__go{transform:translateX(8px)}
@media (max-width:800px){.g-duplex{grid-template-columns:1fr}}

/* ── G, second pass: the measured section order of the reference home page (private study notes, 2026-11-05) ── */
.g-announce__x{margin-left:auto;background:none;border:0;font-size:20px;line-height:1;color:var(--ink);cursor:pointer;padding:4px 6px}
.g-announce[hidden]{display:none}
.g-sq{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--ink);background:var(--card);color:var(--ink);border-radius:var(--r-ctl);transition:background .25s ease-in-out,color .25s ease-in-out}
.g-sq:hover{background:var(--ink);color:var(--paper)}
.g-sq svg{width:16px;height:16px}
.nav-r{gap:0}.nav-r > *{margin-left:-1px}.nav-r > :first-child{margin-left:0;margin-right:10px}

/* grey band: the feature tabs, then the statement */
.g-grey{background:#EFF0EC}
.g-grey > .wrap{padding-top:clamp(40px,5vw,72px)}
.g-tabs__bar{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.g-tabs__chips{display:flex;flex-wrap:wrap;gap:6px;flex:1}
.g-tabs__chips button{position:relative;overflow:hidden;isolation:isolate;border:0;background:transparent;color:var(--ink-soft);font:400 14px/1 var(--sans);padding:10px 14px;border-radius:4px;cursor:pointer;transition:background .3s ease-in-out,color .3s ease-in-out}
.g-tabs__chips button:hover{background:#F7F7F4}
.g-tabs__chips button[aria-selected="true"]{color:var(--ink);background:var(--card)}
.g-tabs__chips button[aria-selected="true"]::after{content:"";position:absolute;inset:0;z-index:-1;background:var(--mint);transform:translateX(-100%)}
.g-tabs.is-running .g-tabs__chips button[aria-selected="true"]::after{animation:gDwell var(--dwell,8s) linear forwards}
@keyframes gDwell{to{transform:none}}
.g-tabs__all{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);border:1px solid var(--ink);padding:8px 12px;border-radius:2px;text-decoration:none;white-space:nowrap}
.g-tabs__card{position:relative;border-radius:14px;overflow:hidden;background:var(--paper);border:1px solid var(--line);aspect-ratio:16/9}
.g-tabs__v{display:block;width:100%;height:100%;object-fit:cover}
.g-tabs__label{position:absolute;left:clamp(14px,2vw,28px);top:clamp(14px,2vw,28px);display:flex;flex-direction:column;gap:8px;max-width:min(520px,70%);background:var(--ink);color:var(--paper);padding:18px 22px;border-radius:8px;text-decoration:none}
.g-tabs__k{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#98A1B3}
.g-tabs__label b{font-size:clamp(20px,1.9vw,28px);font-weight:500;letter-spacing:-.015em;line-height:1.2}
@media (max-width:800px){.g-tabs__bar{flex-wrap:wrap}.g-tabs__chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory}.g-tabs__chips button{scroll-snap-align:start;white-space:nowrap}.g-tabs__label{position:relative;left:auto;top:auto;max-width:none;border-radius:0}.g-tabs__card{aspect-ratio:auto}}
.g-grey .g-statement{padding:clamp(64px,8vw,128px) 0}

/* the parts list label, as on the reference: small, above the first rule */
.g-list{padding-top:clamp(64px,8vw,120px)}
.g-list__head{border-top:0;padding-top:0;margin-bottom:12px}
.g-list__label{font-size:20px;font-weight:400;letter-spacing:-.01em;margin:0;color:var(--ink)}

/* two picture-and-card pairs */
.g-duo > .wrap{padding:clamp(48px,6vw,88px) 0 clamp(24px,3vw,40px)}
.g-duo__row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.g-duo__img{margin:0;border-radius:4px;overflow:hidden;background:var(--paper)}
.g-duo__img img{display:block;width:100%;height:100%;object-fit:cover}
.g-duo__card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;background:var(--card);padding:clamp(28px,4vw,64px);text-align:center;border-radius:4px}
.g-duo__card p{font-size:clamp(22px,2.2vw,32px);line-height:1.25;letter-spacing:-.02em;max-width:24ch;margin:0;color:var(--ink)}
@media (max-width:800px){.g-duo__row{grid-template-columns:1fr}.g-duo__row--flip .g-duo__card{order:2}}

/* what every check asks: chamfered cards on a row that the reader scrolls (it does not move by itself) */
.g-asks{padding:clamp(48px,5vw,80px) 0 clamp(40px,5vw,72px)}
.g-asks__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 32px}
/* The section opens on what a check tells you; its name sits above it as the small label the lead uses. */
.g-asks__h{font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.14em;line-height:1.4;text-transform:uppercase;color:var(--signal-ink,var(--green-deep));margin:0 0 14px}
.g-asks__t{font-size:clamp(26px,3.3vw,48px);font-weight:400;letter-spacing:-.03em;line-height:1.12;margin:0;max-width:27ch;color:var(--ink)}
.g-asks__t .soft{color:var(--muted)}
@media (max-width:700px){.g-asks__head{flex-direction:column;align-items:stretch;gap:18px}.g-asks__nav{align-self:flex-end}}
.g-asks__nav{display:flex;gap:8px}
/* the row rests where the heading above it begins: the page's own gutter, and the snap keeps it there */
.g-asks__track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 calc(max(0px,(100vw - var(--max)) / 2) + var(--gutter)) 16px;scrollbar-width:thin;scroll-padding-inline:calc(max(0px,(100vw - var(--max)) / 2) + var(--gutter))}
.g-asks__track:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.g-ask{flex:0 0 clamp(260px,24vw,340px);min-height:360px;display:flex;flex-direction:column;justify-content:space-between;background:#EFF0EC;padding:22px;scroll-snap-align:start;clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,0 100%)}
.g-ask__k{font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.g-ask p{font-size:17px;line-height:1.45;color:var(--ink-soft);margin:0}
@media (max-width:700px){.g-ask{min-height:220px;flex-basis:78vw}}

/* the closing pair: a light block and an ink block */
.g-duplex{margin-top:clamp(24px,3vw,40px)}
.g-duplex a{min-height:clamp(180px,16vw,240px);flex-direction:row;align-items:flex-start;justify-content:space-between;border-radius:4px}
.g-duplex b{font-size:clamp(30px,3vw,46px)}
.g-duplex__a{background:#E3E5E0;color:var(--ink)}
.g-duplex__a:hover{background:#D8DBD5}
.g-duplex__b{background:var(--ink);color:var(--paper);border:0}
.g-duplex__b:hover{background:#1D2A44}
.g-duplex__go{margin-top:0}

/* phones: the controls move to a bar at the bottom, within reach of a thumb */
@media (max-width:700px){
  .nav-r{position:fixed;left:0;right:0;bottom:0;z-index:70;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}
  .nav-r > :first-child{order:3;margin:0 0 0 auto}
  body{padding-bottom:72px}
  .burger{display:none!important}
}

/* ── G, third pass: intro and page switch, an edge-to-edge hero under a see-through header, a glass menu.
   Glass is used here, in concept G only, at the owner's request; concept F stays solid. ── */
.g-intro{position:fixed;inset:0;z-index:300;pointer-events:none;overflow:hidden}
.g-intro__panel{position:absolute;inset:-10% -20%;background:var(--band);display:grid;place-items:center;transform:translateX(0) skewX(-12deg);transition:transform .6s cubic-bezier(.76,0,.24,1)}
.g-intro__mark{width:72px;height:72px;transform:skewX(12deg)}
.g-intro__mark .gi-body{stroke-dasharray:1;stroke-dashoffset:1;animation:giDraw .7s cubic-bezier(.65,0,.35,1) .05s forwards}
@keyframes giDraw{to{stroke-dashoffset:0}}
.g-intro.is-done .g-intro__panel{transform:translateX(130%) skewX(-12deg)}
.g-intro.is-leaving .g-intro__panel{transition:none;transform:translateX(-130%) skewX(-12deg)}
.g-intro.is-leaving.is-cover .g-intro__panel{transition:transform .45s cubic-bezier(.76,0,.24,1);transform:translateX(0) skewX(-12deg)}
html:not(.rv) .g-intro{display:none}
html.g-intro-hold body{overflow:hidden}

nav:not([class]){position:sticky;top:0;z-index:60;margin-bottom:-73px;background:transparent;border-bottom-color:transparent}
.nav-float nav:not([class]) .nav-in{background:rgba(245,246,243,.66);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border-color:rgba(11,18,32,.08)}
.g-menu{background:rgba(245,246,243,.72);-webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5)}

.g-hero{margin:0;border-radius:0;border:0;height:100vh;min-height:640px}
.g-hero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(245,246,243,.72) 0,rgba(245,246,243,0) 22%,rgba(245,246,243,0) 48%,rgba(245,246,243,.92) 88%,var(--paper) 100%);pointer-events:none}
.g-hero__plate{background:transparent;border:0;border-radius:0;padding:0;left:clamp(16px,3vw,48px);bottom:clamp(28px,5vw,64px);max-width:min(980px,calc(100% - 32px))}
.g-hero h1.display{font-size:clamp(48px,7.4vw,124px);line-height:.94;letter-spacing:-.045em;max-width:11ch}
.g-hero h1 .gw{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.g-hero h1 .gw > span{display:inline-block}
.rv .g-hero h1 .gw > span{transform:translateY(105%);transition:transform .8s cubic-bezier(.22,1,.36,1) calc(var(--i) * 60ms + .15s)}
.rv .g-hero.is-in h1 .gw > span{transform:none}
.rv .g-hero__plate{clip-path:none;transition:none}
.rv .g-hero__plate > :not(h1){opacity:0;transform:translateY(10px);transition:opacity .5s ease-in-out .6s,transform .6s cubic-bezier(.22,1,.36,1) .6s}
.rv .g-hero.is-in .g-hero__plate > :not(h1){opacity:1;transform:none}
.g-hero__spec{position:absolute;right:clamp(16px,3vw,48px);bottom:clamp(28px,5vw,64px);list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;max-width:260px}
.g-hero__spec li{border-left:1px solid var(--ink);padding-left:12px;font-size:13px;line-height:1.4;color:var(--ink)}
.g-hero__spec span{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.g-hero__pause{bottom:auto;top:96px}
.rv .g-hero__spec li{opacity:0;transition:opacity .5s ease-in-out}
.rv .g-hero.is-in .g-hero__spec li{opacity:1}
.rv .g-hero.is-in .g-hero__spec li:nth-child(1){transition-delay:.8s}.rv .g-hero.is-in .g-hero__spec li:nth-child(2){transition-delay:.9s}.rv .g-hero.is-in .g-hero__spec li:nth-child(3){transition-delay:1s}
@media (max-width:1000px){.g-hero__spec{display:none}}
@media (max-width:700px){nav:not([class]){margin-bottom:0}.g-hero{height:auto}.g-hero__scrim{display:none}.g-hero__plate{padding:20px 16px;background:var(--paper)}.g-hero__pause{top:12px}}/* ── G, fourth pass: the header as a floating bar inset from the edges, see-through; the menu an icon square;
   arrows on the feature card that rise in on hover or focus ── */
nav:not([class]){top:10px;margin:0 0 -83px;padding:0 10px;border:0}
nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{max-width:none;width:100%;margin:0;border-radius:6px;background:rgba(245,246,243,.55);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);border:1px solid rgba(11,18,32,.07);box-shadow:none}
.nav-float nav:not([class]) .nav-in{background:rgba(245,246,243,.72)}
.g-menubtn{width:44px;padding:0}
.nav-r .btn{height:44px;min-height:44px}
.g-tabs__arrows{position:absolute;right:clamp(14px,2vw,28px);top:clamp(14px,2vw,28px);display:flex;gap:0;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .5s ease,transform .5s ease}
.g-tabs__arrows .g-sq + .g-sq{margin-left:-1px}
.g-tabs__card:hover .g-tabs__arrows,.g-tabs__card:focus-within .g-tabs__arrows{opacity:1;transform:none;pointer-events:auto}
@media (hover:none){.g-tabs__arrows{opacity:1;transform:none;pointer-events:auto}}
.g-hero__plate{max-width:min(860px,calc(100% - 32px))}
@media (max-width:700px){nav:not([class]){top:0;margin:0;padding:0}nav:not([class]) .nav-in{border-radius:0;border-width:0 0 1px}}/* ── G, fifth pass: the headline is set into the film (its opening shot) and stays in the page as a hidden h1, as on
   the reference; the poster is the finished headline frame, so the words show before the film loads and with motion
   off. The lede and the two actions sit in a row under the film. ── */
.g-hero__scrim{background:linear-gradient(180deg,rgba(245,246,243,.7) 0,rgba(245,246,243,0) 18%)}
.g-lead{padding:clamp(28px,3vw,44px) 0;border-bottom:1px solid var(--line)}
.g-lead__in{display:grid;grid-template-columns:minmax(0,7fr) auto;gap:32px;align-items:end}
.g-lead__k{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--green-deep);margin:0 0 10px}
.g-lead__t{font-size:clamp(20px,1.8vw,26px);line-height:1.35;letter-spacing:-.015em;color:var(--ink);margin:0;max-width:44ch}
.g-lead__cta{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:800px){.g-lead__in{grid-template-columns:1fr}}
@media (max-width:700px){.g-hero{height:auto;min-height:0}.g-hero__film{position:relative;aspect-ratio:16/9;inset:auto}}
@media (max-width:700px){nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--paper)}.g-tabs__chips button{flex:none}}/* ── the details panel: a right-side panel that slides in after the intro, away when the hero leaves the screen,
   back when it returns (unless the reader closed it); a tab at the right edge reopens it ── */
.g-hero__spec{display:none}
.g-side{position:fixed;right:10px;bottom:24px;z-index:55;width:300px;max-width:calc(100vw - 20px);background:rgba(245,246,243,.72);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid rgba(11,18,32,.08);border-radius:6px;padding:18px 18px 16px;transform:translateX(calc(100% + 24px));transition:transform .55s cubic-bezier(.76,0,.24,1),visibility 0s linear .55s;visibility:hidden}
.g-side.is-open{transform:none;visibility:visible;transition:transform .55s cubic-bezier(.22,1,.36,1),visibility 0s}
.g-side__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.g-side__head span{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.g-side__x{width:28px;height:28px;border:1px solid var(--ink);background:transparent;color:var(--ink);border-radius:2px;cursor:pointer;font-size:16px;line-height:1}
.g-side ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;overflow:clip}/* a row waiting to slide in sits 12px to the right: clipped here, or it widens the page by 4px */
.g-side li{border-left:1px solid var(--ink);padding-left:12px;font-size:13px;line-height:1.4;color:var(--ink)}
.g-side li span{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.g-side li{opacity:0;transform:translateX(12px);transition:opacity .4s ease,transform .5s cubic-bezier(.22,1,.36,1)}
.g-side.is-open li{opacity:1;transform:none}
.g-side.is-open li:nth-child(1){transition-delay:.18s}.g-side.is-open li:nth-child(2){transition-delay:.26s}.g-side.is-open li:nth-child(3){transition-delay:.34s}
.g-side__tab{position:fixed;right:0;bottom:120px;z-index:54;writing-mode:vertical-rl;transform:rotate(180deg) translateX(-100%);font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;background:var(--ink);color:var(--paper);border:0;padding:14px 8px;border-radius:0 4px 4px 0;cursor:pointer;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.g-side__tab.is-shown{transform:rotate(180deg) translateX(0)}
html[data-motion="off"] .g-side,html[data-motion="off"] .g-side li,html[data-motion="off"] .g-side__tab{transition:none}
@media (max-width:700px){.g-side{bottom:84px}.g-side__tab{bottom:160px}}

/* the parts preview plays the part's scene; the still shows until it can */
.g-preview{aspect-ratio:16/9}
.g-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s ease-in-out}
.g-preview.is-playing video{opacity:1}

/* ── G inner pages: a sub-navigation row, then the page's name set very large; its letters settle from grey to ink,
   one after another, after the intro wipes away ── */
.gi-hero{padding:118px 0 clamp(28px,4vw,56px);border-bottom:1px solid var(--line)}
.gi-sub{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.gi-sub__k{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);margin-right:10px}
.gi-sub a{color:var(--ink-soft);text-decoration:none;padding:4px 0;border-bottom:1px solid transparent;transition:color .25s ease-in-out,border-color .25s ease-in-out}
.gi-sub a:hover,.gi-sub a:focus-visible{color:var(--ink);border-bottom-color:var(--ink)}
.gi-title{font-size:clamp(64px,11vw,200px);line-height:.86;letter-spacing:-.06em;font-weight:500;margin:clamp(44px,6vw,92px) 0 0;color:var(--ink);min-width:0}
.gi-title span{display:inline-block}
.rv .gi-title span{color:#C9CCC6;transform:translateY(.06em);transition:color .5s ease-in-out,transform .6s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--i) * 70ms + .2s)}
.rv .gi-hero.is-in .gi-title span{color:var(--ink);transform:none}
@media (max-width:700px){.gi-hero{padding-top:24px}.gi-sub{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}}


/* ── the feature carousel: a strip of cards sliding by one; arrows rise in on hover or focus ── */
.g-car{position:relative;overflow:hidden;border-radius:14px}
.g-car__track{display:flex;gap:20px;will-change:transform}
.g-car__card{position:relative;flex:0 0 100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--paper);border:1px solid var(--line)}
.g-car__card video{display:block;width:100%;height:100%;object-fit:cover}
.g-car__arr{position:absolute;top:66%;display:inline-flex;align-items:center;justify-content:center;width:89px;height:47px;border-radius:4px;border:1px solid rgba(11,18,32,.12);background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ink);cursor:pointer;opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease,background .25s ease-in-out}
.g-car__arr svg{width:22px;height:22px}
.g-car__arr:hover{background:rgba(255,255,255,.85)}
.g-car__arr--prev{left:clamp(14px,2vw,28px)}.g-car__arr--next{right:clamp(14px,2vw,28px)}
.g-car:hover .g-car__arr,.g-car:focus-within .g-car__arr{opacity:1;transform:none}
@media (hover:none){.g-car__arr{opacity:1;transform:none}}
.g-tabs__chips button[aria-selected="true"]{background:#F7F7F4}
.g-tabs__chips button[aria-selected="true"]::after{background:#DCDFD8}
.g-tabs__chips button:not([aria-selected="true"]):hover{background:#F5F5F3}
@media (max-width:800px){.g-car__card{aspect-ratio:auto;display:flex;flex-direction:column}.g-car__card video{aspect-ratio:16/9}}
.g-hero__scrim{display:none}

/* ── the header, to the reference's measurements: a bar inset 10 px from the sides (16 px from the top once the page
   scrolls), 70 px tall, 10 px corners, a faint grey glass (rgba 171/.1, blur 10 px) and a soft shadow; no border.
   The mark and the name sit 20 px in from the bar's left edge. ── */
nav:not([class]){top:16px;margin:16px 0 -86px;padding:0 10px}
nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{height:70px;min-height:70px;padding:0 20px;border-radius:10px;border:0;background:rgba(245,246,243,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 10px rgba(0,0,0,.1)}
nav:not([class]) .brand{gap:10px}
nav:not([class]) .brand .wm{font-size:20px;letter-spacing:-.01em}
.g-menu__about{font-size:15px;color:var(--ink-soft);margin:0 0 28px;max-width:60ch}
.g-menu__about b{color:var(--ink);font-weight:600}
@media (max-width:700px){nav:not([class]){top:0;margin:0;padding:0}nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--paper);border-bottom:1px solid var(--line)}}/* over the film's dark opening the header turns light-on-dark (the reference inverts its header against what is
   behind it); back to ink once the film cuts to its light footage or the hero scrolls away */
nav:not([class]) .nav-in .brand,nav:not([class]) .nav-in .btn-ghost,nav:not([class]) .nav-in .g-sq,nav:not([class]) .nav-in .g-menubtn{transition:color .4s ease,background-color .4s ease,border-color .4s ease}
html.nav-on-dark nav:not([class]) .nav-in{background:rgba(255,255,255,.08)}
html.nav-on-dark nav:not([class]) .brand,html.nav-on-dark nav:not([class]) .brand .wm{color:var(--paper)}
html.nav-on-dark nav:not([class]) .brand svg{filter:invert(1) brightness(1.6)}
html.nav-on-dark nav:not([class]) .btn-ghost{color:var(--paper);border-color:rgba(245,246,243,.7);background:transparent}
html.nav-on-dark nav:not([class]) .g-sq,html.nav-on-dark nav:not([class]) .g-menubtn{color:var(--paper);border-color:rgba(245,246,243,.7);background:rgba(255,255,255,.06)}
html.nav-on-dark .g-hero__pause{background:rgba(255,255,255,.12);border-color:rgba(245,246,243,.4);color:var(--paper)}/* ── the footer, laid out as the reference lays its own: a narrow left column (copyright, a hairline-ruled stack, the
   pill buttons) and four link columns from 500 px; 10 px grey labels over 16 px links; quiet status line under it ── */
footer.g-foot{background:transparent;border-top:1px solid var(--line);margin-top:0;padding:90px 0 64px;color:var(--ink)}
.g-foot__in{display:grid;grid-template-columns:minmax(0,264px) minmax(0,1fr);column-gap:clamp(40px,14.3vw,206px);padding:0 30px;max-width:1440px;margin:0 auto}
.g-foot__l p{font-size:16px;line-height:29px;margin:0}
.g-foot__l .g-foot__mean{font-size:14px;line-height:22px;color:var(--ink-soft)}
.g-foot__l .g-foot__mean b{font-weight:500;color:var(--ink)}
.g-foot__l hr{border:0;border-top:1px solid #C9CCC6;margin:20px 0}
.g-foot .foot-motion{margin:0;display:block}
.g-foot .motion-btn{border:0;padding:0;min-height:29px;background:none;font:inherit;font-size:16px;color:var(--ink);cursor:pointer}
.g-foot .motion-btn svg{display:none!important}
.g-foot .motion-btn:hover{text-decoration:underline;text-underline-offset:3px;background:none}
.g-foot__pills{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:12px}
.g-foot__pills a{display:flex;align-items:center;justify-content:center;width:164px;height:38px;border:1px solid var(--ink);border-radius:19px;font-size:16px;text-transform:uppercase;color:var(--ink);text-decoration:none;transition:background .25s ease-in-out,color .25s ease-in-out}
.g-foot__pills a:hover{background:var(--ink);color:var(--paper)}
.g-foot__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:20px}
.g-foot__cols h4{font-family:var(--sans);font-size:10px;font-weight:400;line-height:16px;letter-spacing:.5px;text-transform:uppercase;color:#666;margin:0 0 10px}
.g-foot__cols ul{list-style:none;margin:0;padding:0}
.g-foot__cols li a{display:inline-block;padding:3px 0;font-size:16px;line-height:22.6px;color:var(--ink);text-decoration:none;overflow-wrap:break-word}
.g-foot__cols li a:hover{text-decoration:underline;text-underline-offset:3px}
.g-foot__status{margin:72px auto 0;padding:20px 30px 0;max-width:1440px;border-top:0;display:flex;flex-direction:column;gap:6px;font-family:var(--mono);font-size:10px;letter-spacing:.5px;line-height:16px;text-transform:uppercase;color:#666}
.g-foot__status .live{color:var(--ink)}
.g-foot__status a{color:var(--ink)}
.g-foot__status .openbadge{margin-top:10px;font-family:var(--sans);font-size:12px;text-transform:none;letter-spacing:0}
@media (max-width:1000px){.g-foot__in{grid-template-columns:1fr;row-gap:48px}.g-foot__cols{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}}
@media (max-width:700px){footer.g-foot{padding:56px 0 40px}.g-foot__in,.g-foot__status{padding-left:16px;padding-right:16px}.g-foot__cols li a{padding:8px 0}}

/* inner pages: the details panel sits in the hero beside the title (never over the page); the edge tab is not needed */
.gi-hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:32px;align-items:end}
.gi-hero .gi-sub{grid-column:1 / -1}
.gi-hero .g-side{position:relative;right:auto;bottom:auto;z-index:auto;width:auto;max-width:none;box-shadow:none;align-self:end;margin-top:clamp(44px,6vw,92px)}
.gi-hero .g-side:not(.is-open){transform:translateX(24px);opacity:0}
.gi-hero .g-side{transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s ease,visibility 0s .55s}
.gi-hero .g-side.is-open{opacity:1;transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s ease,visibility 0s}
.gi-page .g-side__tab{display:none}
@media (max-width:900px){.gi-hero .wrap{grid-template-columns:minmax(0,1fr)}.gi-hero .g-side{margin-top:28px;max-width:420px}}
/* phones: the home film's panel would sit over the headline, so it stays away there */
@media (max-width:700px){body:not(.gi-page) .g-side,body:not(.gi-page) .g-side__tab{display:none}}
/* phones: the label sits under the scene, so the arrows centre on the scene itself (a margin % is a % of the width) */
@media (max-width:800px){.g-car__arr{top:0;margin-top:calc(28.125% - 20px);width:56px;height:40px}}

/* code panels on every G page: neutral graphite instead of the old navy */
:root{--code-bg:#16181B;--ink-2:#202327;--code-muted:#9BA0A6}
/* a jump to any section lands below the floating header, not under it */
[id]{scroll-margin-top:110px}

/* ── search: a full-screen graphite panel under the header; the field waits mid-screen, then rises when typing ── */
.g-search{position:fixed;inset:0;z-index:58;background:#1D2023;color:var(--paper);overflow-y:auto;opacity:0;transition:opacity .3s ease}
html.g-search-open{overflow:hidden}
html.g-search-open .g-search{opacity:1}
.g-search__in{max-width:1440px;margin:0 auto;padding:0 30px}
.g-search__form{position:relative;margin-top:41vh;transition:margin-top .45s cubic-bezier(.65,0,.35,1)}
.g-search.has-q .g-search__form{margin-top:130px}
.g-search__q{display:block;width:100%;height:41px;background:transparent;border:1px solid rgba(245,246,243,.5);border-radius:0;color:var(--paper);font:inherit;font-size:16px;padding:0 96px 0 10px;outline:none;-webkit-appearance:none;appearance:none}
.g-search__q::placeholder{color:#9EA3A8}
.g-search__q:focus{border-color:var(--paper)}
.g-search__q::-webkit-search-cancel-button{display:none}
.g-search__clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--paper);font:inherit;font-size:18px;cursor:pointer;padding:4px}
.g-search__pop{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 30px;margin-top:28px}
.g-search__k{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#A9AEB3}
.g-search__pop button{background:none;border:0;padding:0;color:var(--paper);font:inherit;font-size:18px;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;cursor:pointer;transition:opacity .2s ease}
.g-search__pop button:hover{opacity:.7}
.g-search__res{list-style:none;margin:48px 0 96px;padding:0}
.g-search__res a{display:grid;grid-template-columns:140px minmax(0,1fr);gap:6px 24px;padding:22px 0;border-top:1px solid rgba(245,246,243,.14);color:var(--paper);text-decoration:none;outline:none}
.g-search__res li:last-child a{border-bottom:1px solid rgba(245,246,243,.14)}
.g-search__p{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9EA3A8;padding-top:9px}
.g-search__t{font-size:clamp(22px,2.2vw,30px);line-height:1.15;letter-spacing:-.02em;transition:transform .25s ease-in-out}
.g-search__x{grid-column:2;font-size:15px;line-height:1.5;color:#B4B9BE;max-width:80ch}
.g-search__res a:hover .g-search__t,.g-search__res a:focus-visible .g-search__t{transform:translateX(8px);text-decoration:underline;text-underline-offset:4px}
.g-search mark{background:none;color:#8FD9B4}
.g-search__none{font-size:clamp(32px,4vw,48px);letter-spacing:-.02em;padding:clamp(48px,10vh,120px) 0 0 clamp(0px,7vw,100px)}
html.g-search-open nav:not([class]) .nav-in{background:rgba(255,255,255,.06)}
html.g-search-open nav:not([class]) .brand,html.g-search-open nav:not([class]) .brand .wm{color:var(--paper)}
html.g-search-open nav:not([class]) .brand svg{filter:invert(1) brightness(1.6)}
html.g-search-open nav:not([class]) .btn-ghost,html.g-search-open nav:not([class]) .g-menubtn{color:var(--paper);border-color:rgba(245,246,243,.7);background:transparent}
html.g-search-open nav:not([class]) .g-sq{background:var(--paper);color:var(--ink);border-color:var(--paper)}
html[data-motion="off"] .g-search,html[data-motion="off"] .g-search__form{transition:none}
@media (max-width:700px){.g-search__in{padding:0 16px}.g-search__form{margin-top:30vh}.g-search.has-q .g-search__form{margin-top:24px}.g-search__res a{grid-template-columns:1fr}.g-search__x{grid-column:1}.g-search{bottom:66px}}

/* the details panel's rows are links: the label and line, an arrow that steps in on hover */
.g-side li a{display:block;color:inherit;text-decoration:none;position:relative;padding-right:18px}
.g-side li a::after{content:"→";position:absolute;right:0;top:50%;transform:translate(-4px,-50%);opacity:0;transition:opacity .25s ease,transform .25s ease}
.g-side li a:hover,.g-side li a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.g-side li a:hover::after,.g-side li a:focus-visible::after{opacity:1;transform:translate(0,-50%)}
.g-side li:hover{border-left-color:var(--green)}

/* ── the carousel, measured against the reference: 18 px chips on white tiles, the selected one filling grey;
   the card a little inset under the chip row, square-cornered; the label a graphite box over its top-left corner ── */
.g-tabs__bar{margin-bottom:40px}
.g-tabs__chips{gap:12px}
.g-tabs__chips button{font:400 18px/1 var(--sans);padding:7px 10px;border-radius:0;background:var(--card);color:var(--ink-soft)}
.g-tabs__chips button:not([aria-selected="true"]):hover{background:var(--card);color:var(--ink)}
.g-tabs__chips button[aria-selected="true"]{background:var(--card);color:var(--ink)}
.g-tabs__chips button[aria-selected="true"]::after{background:#DCDFD8}
.g-tabs__all{font-family:var(--sans);font-size:13px;letter-spacing:.02em;padding:9px 18px;border-radius:0}
.g-car{margin:0 14px;border-radius:0}
.g-car__card{border-radius:0;border:0}
.g-tabs__label{left:24px;top:24px;gap:10px;max-width:min(560px,72%);background:#2A2D31;padding:22px 24px;border-radius:0}
.g-tabs__k{font-family:var(--sans);font-size:18px;letter-spacing:.02em;color:#E2E4E6}
.g-tabs__label b{font-size:clamp(22px,2.3vw,32px);letter-spacing:-.02em}
@media (max-width:800px){.g-tabs__chips button{font-size:16px}.g-car{margin:0}.g-tabs__label{left:auto;top:auto;max-width:none}}

/* phones, measured against the reference: a slim top bar with the mark, and at the bottom no bar at all — three
   compact buttons floating 16 px from the edges (menu and search at the left, the request at the right) */
@media (max-width:700px){
  nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{height:56px;min-height:56px;padding:0 16px}
  nav:not([class]) .brand .sigil{width:26px;height:26px}
  nav:not([class]) .brand .wm{font-size:18px}
  .nav-r{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));padding:0;background:transparent;border-top:0;gap:0;pointer-events:none}
  .nav-r > *{pointer-events:auto}
  .nav-r .btn,.nav-r .g-sq,.nav-r .g-menubtn{height:38px;min-height:38px}
  .nav-r .g-sq,.nav-r .g-menubtn{width:38px;padding:0;background:var(--paper)}
  .nav-r .g-menubtn{order:1;margin:0}
  .nav-r .g-sq{order:2;margin:0 0 0 -1px}
  .nav-r > .btn:first-child{order:3;margin:0 0 0 auto;padding:0 14px;font-size:15px;background:var(--ink);color:var(--paper);border-color:var(--ink)}
  body{padding-bottom:70px}
  .g-side{bottom:70px}
}

/* the header's controls at the reference's exact sizes: a 205 × 40 main button (16 px, square corners), 40 × 40
   search and menu squares joined, 30 px between them; the mark about 83 × 20 */
nav:not([class]) .nav-r > .btn:first-child{min-width:205px;height:40px;min-height:40px;padding:0 16px;font-size:16px;border-radius:0;justify-content:center;margin-right:30px}
nav:not([class]) .nav-r .g-sq,nav:not([class]) .nav-r .g-menubtn{width:40px;height:40px;min-height:40px;border-radius:0}
nav:not([class]) .brand{gap:8px}
nav:not([class]) .brand .sigil{width:22px;height:22px}
nav:not([class]) .brand .wm{font-size:18px;line-height:20px}
@media (max-width:700px){
  nav:not([class]) .nav-in,.nav-float nav:not([class]) .nav-in{height:64px;min-height:64px;padding:0 20px}
  .nav-r{left:20px;right:20px;bottom:calc(20px + env(safe-area-inset-bottom))}
  nav:not([class]) .nav-r > .btn:first-child{min-width:0;height:40px;min-height:40px;margin:0 0 0 auto;padding:0 12px;font-size:16px}
  nav:not([class]) .nav-r .g-sq,nav:not([class]) .nav-r .g-menubtn{width:40px;height:40px;min-height:40px}
}
nav:not([class]) .nav-r .g-menubtn,nav:not([class]) .nav-r .g-sq{min-width:40px;max-width:40px;padding:0}
/* on wide screens the header stops at the reference's width (about 1480 px) and sits centred */
@media (min-width:701px){nav:not([class]) .nav-in,html.nav-float nav:not([class]) .nav-in{max-width:1480px;margin-left:auto;margin-right:auto}}

/* ── 2026-11-06 owner review ──────────────────────────────────────────────────────────────────────────────────────
   the preview over "What AINRA is made of": a clear outer stroke so the drawing's frame reads as a frame */
.g-preview{border:2px solid var(--ink);box-shadow:0 18px 40px -24px rgba(11,18,32,.45)}
.g-duo__img img{object-position:50% 50%}
/* "What every check asks of an agent": an icon heads each card */
.g-ask__top{display:flex;flex-direction:column;gap:18px}
.g-ask__i{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border:1.5px solid var(--ink);background:var(--card);color:var(--ink)}
.g-ask__i svg{width:28px;height:28px}
.g-ask__i .acc{stroke:var(--green,#1A6B4E)}
/* phones: the chips are one swipeable row the width of the screen (the current chip is kept in view by g.mjs),
   "See all" gives its room to them; the arrows sit in a row under the clip instead of on it; the caption box is
   dropped — the chip already names the clip and the clip says the rest */
@media (max-width:800px){
  .g-tabs__bar{margin-bottom:18px;gap:0}
  .g-tabs__chips{flex:1 1 100%;gap:8px;margin:0 -16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%)}
  .g-tabs__chips::-webkit-scrollbar{display:none}
  .g-tabs__chips button{font-size:15px;padding:9px 12px}
  .g-tabs__all{display:none}
  .g-car__card{background:transparent;padding-bottom:58px}
  .g-car__card video{background:var(--paper)}
  .g-car .g-tabs__label{display:none}
  .g-car__arr{top:auto;bottom:4px;margin-top:0;width:64px;height:44px;background:var(--card);border-color:var(--ink);-webkit-backdrop-filter:none;backdrop-filter:none}
  .g-car__arr--prev{left:calc(50% - 68px)}.g-car__arr--next{right:calc(50% - 68px)}
}
/* the caption steps aside while a clip shows its blueprint (g.mjs sets .is-bp from the clip's data-bp) */
.g-car__card .g-tabs__label{transition:opacity .45s ease,transform .45s ease}
.g-car__card.is-bp .g-tabs__label{opacity:0;transform:translateY(-10px);pointer-events:none}
/* phones: the details panel is dropped too — the page below says the same, and on a small screen it covers it */
@media (max-width:800px){.g-side{display:none}}

/* ── G, seventh pass (2026-11-10, owner: "the headline static at the lower left of the hero while the video plays
   behind it"): the headline leaves the film and stands in the page again, ink on the film's own paper. The film's
   drawings play on one stage in the upper right (film/cut2.py), clear of the headline, the header and the Details
   panel; its world shots dissolve into paper toward the bottom, so the words read over any of them. The film is
   anchored a little right of centre: on a narrower window the stage stays whole and the crop falls on the left. ── */
.g-hero__v{object-position:85% 50%}
.g-hero__plate{display:block;position:absolute;left:clamp(16px,3vw,48px);bottom:clamp(48px,11vh,128px);max-width:none;background:transparent;border:0;border-radius:0;padding:0;z-index:2}
.g-hero h1.display{font-size:clamp(44px,5.2vw,104px);line-height:.96;letter-spacing:-.04em;font-weight:500;margin:0;max-width:none;color:var(--ink)}
/* the words rise out of a clipped box; at this tight leading the box needs room for the descenders (g, p) */
.g-hero h1.display .gw{padding-bottom:.2em;margin-bottom:-.2em}
.rv .g-hero.is-in .g-hero__plate{clip-path:none}   /* the first pass's reveal still boxed the plate, and cut the g of "agent" */
/* how the headline arrives (2026-11-10, owner: "a better animation, smooth"): a short signal rule draws in above it,
   then each word rises out of its own clipped line, tilting level and clearing as it lands, a beat after the word
   before — one long ease, transform and opacity only, so it stays on the compositor. With motion off (no .rv) the
   headline and the rule are simply there. */
.g-hero__plate::before{content:"";display:block;width:clamp(40px,4.2vw,72px);height:2px;background:var(--signal,#2F5BFF);margin:0 0 clamp(14px,1.6vw,26px) .06em;transform-origin:0 50%}
.rv .g-hero__plate::before{transform:scaleX(0);transition:transform .9s cubic-bezier(.16,1,.3,1) .05s}
.rv .g-hero.is-in .g-hero__plate::before{transform:none}
.rv .g-hero h1.display .gw > span{transform:translate3d(0,115%,0) rotate(6deg);transform-origin:0 100%;opacity:0;
  transition:transform 1.2s cubic-bezier(.16,1,.3,1) calc(var(--i) * 80ms + .18s),opacity .55s ease-out calc(var(--i) * 80ms + .18s)}
.rv .g-hero.is-in h1.display .gw > span{transform:none;opacity:1}
/* …and how it leaves and returns (owner: "the text appears and disappears"): as each chapter of the film closes, the
   words lift out through the top of their lines and the rule closes toward its right end (.is-out); as the next
   world shot opens they are put back under their lines without a transition (.is-reset) and rise again. g.mjs sets
   the two classes from the film's own clock; a paused film, or motion off, leaves the headline standing. */
.rv .g-hero.is-in .g-hero__plate.is-out h1.display .gw > span{transform:translate3d(0,-115%,0) rotate(-4deg);opacity:0;
  transition:transform .7s cubic-bezier(.6,0,.85,.2) calc(var(--i) * 45ms),opacity .4s ease-in calc(var(--i) * 45ms + .2s)}
.rv .g-hero.is-in .g-hero__plate.is-out::before{transform:scaleX(0);transform-origin:100% 50%;transition:transform .6s cubic-bezier(.6,0,.85,.2)}
.rv .g-hero.is-in .g-hero__plate.is-reset h1.display .gw > span{transform:translate3d(0,115%,0) rotate(6deg);opacity:0;transition:none}
.rv .g-hero.is-in .g-hero__plate.is-reset::before{transform:scaleX(0);transition:none}
/* the hero's last sliver is paper, so it meets the page below without an edge */
/* and a soft veil of paper only behind the headline (lower left): the film is no longer fogged across its width
   (2026-11-12), so the words get their own ground and the rest of the picture stays clear */
.g-hero__scrim{display:block;position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 62% 50% at 10% 94%,rgba(245,246,243,.94) 0,rgba(245,246,243,.82) 36%,rgba(245,246,243,0) 100%),linear-gradient(180deg,rgba(245,246,243,0) 86%,var(--paper) 100%)}
/* the Details panel, a little tighter beside this hero, so on a full-size window it ends below the film's stage; where
   it still would not (a short window), g.mjs starts it closed and the edge tab offers it */
.g-hero + .g-side{padding:14px 16px 12px}
.g-hero + .g-side .g-side__head{margin-bottom:8px}
.g-hero + .g-side ul{gap:10px}
/* a short, wide window crops the film top and bottom: take most of it from the bottom, so the stage stays below the header */
@media (max-height:720px) and (min-aspect-ratio:16/9){.g-hero__v{object-position:85% 20%}}
/* a phone, or any window taller than it is wide: the film is a strip on top (its phone cut: each drawing fills the
   frame), and the headline sits under it on paper */
@media (max-width:700px),(max-aspect-ratio:5/4){
  .g-hero{height:auto;min-height:0;display:flex;flex-direction:column}
  .g-hero__film{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9}
  .g-hero__v{object-position:50% 50%}
  .g-hero__scrim{display:none}
  .g-hero__plate{position:relative;left:auto;bottom:auto;padding:22px 16px 4px;background:var(--paper)}
  .g-hero__plate::before{margin-bottom:14px}
  .g-hero h1.display{font-size:clamp(40px,11vw,64px)}
  /* the phone cut's drawings fill the frame, so the pause control leaves the film: a round button beside the headline */
  .g-hero__pause{top:calc(56.25vw + 20px);bottom:auto;right:16px;width:40px;padding:0;justify-content:center;z-index:3}
  .g-hero__pause .film__lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* a tall window wider than a phone (a tablet held upright): the header still floats, so the strip starts below it */
@media (min-width:701px) and (max-aspect-ratio:5/4){
  .g-hero{padding-top:102px}
  .g-hero__pause{top:calc(56.25vw + 122px)}
}

/* ── G, eighth pass (2026-11-11): the defects a six-lens review of the site found, each re-checked before it was fixed
   (the review and its evidence are kept with the design notes). ───────────────────────────────────────────────── */
/* the menu could not be closed by its own button: the sheet (80) lay over the header (60) that holds the button. While
   the menu is open the header, and with it the phone's bottom bar, rises above the sheet. The sheet is near-solid
   paper, so the page no longer shows through it as blotches; on phones its last links clear the bottom bar. */
html.g-menu-open nav:not([class]){z-index:90}
.g-menu{background:rgba(245,246,243,.96)}
@media (max-width:700px){.g-menu{padding-bottom:96px}}
/* the intro cover lifts by itself if the script that should lift it never runs (a failed download left every page
   covered for good). The script still lifts it sooner; this is only the floor. */
@keyframes gIntroLift{to{transform:translateX(130%) skewX(-12deg)}}
.g-intro:not(.is-done):not(.is-leaving) .g-intro__panel{animation:gIntroLift .6s cubic-bezier(.76,0,.24,1) 2.4s forwards}
/* after the first page of a visit the switch between pages is brief (g.mjs holds it for a shorter time, too) */
html.g-intro-brief .g-intro__panel{transition-duration:.42s}
html.g-intro-brief .g-intro.is-leaving.is-cover .g-intro__panel{transition-duration:.26s}
/* the Details tab is not a tab stop while it is tucked away */
.g-side__tab:not(.is-shown){visibility:hidden;transition:transform .45s cubic-bezier(.22,1,.36,1),visibility 0s .45s}
/* phones: every inner page ends clear of the floating bottom bar, as the home page already does; and the bar steps
   aside while the page's own two main buttons are under it (g.mjs sets the class) */
@media (max-width:700px){body.gi-page{padding-bottom:70px}}
.nav-r{transition:opacity .2s ease}
html.nav-bar-yield .nav-r{opacity:0;pointer-events:none}
/* phones and short windows: the announcement is one line (its short wording), not a fifth of the first screen */
.g-announce__s{display:none}
@media (max-width:700px),(max-height:639px){
  .g-announce .wrap{flex-wrap:nowrap;gap:10px;min-height:44px}
  .g-announce__l{display:none}
  .g-announce__s{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .g-announce a{white-space:nowrap}
  .g-announce__x{min-width:44px;min-height:44px;margin-right:-10px}
}
/* the hover preview beside "What AINRA is made of" showed without a hover (the scroll reveal's .is-in outranked its
   hidden state) and lay over the first two descriptions: it shows only for the row being pointed at or focused */
.rv .g-preview[data-rv].is-in:not(.is-on){opacity:0}
/* a short, wide window (a small laptop, a phone held sideways, a zoomed page): the hero is the window's own height, so
   the headline is on the first screen instead of below it */
@media (max-height:639px) and (min-width:701px) and (min-aspect-ratio:5/4){
  .g-hero{min-height:0}
  /* the hero starts under the one-line announcement, so it is that much shorter than the window */
  body:has(.g-announce:not([hidden])) .g-hero{height:calc(100vh - 44px)}
  .g-hero h1.display{font-size:clamp(34px,11vh,64px)}
  .g-hero__plate{bottom:clamp(20px,7vh,48px)}
}
/* the carousel's card always shows its drawing: a still (set as the clip's poster) stands in until the clip plays,
   and stays when motion is off */
.g-car__card video{background:var(--paper)}
/* the menu button on the phone bar lost its icon while open (its paper background outranked the open state's ink) */
nav:not([class]) .nav-r .g-menubtn[aria-expanded="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
/* short windows: the Details panel and its tab stay away (as on phones); they sat on the film's Pause control */
@media (max-height:639px) and (min-width:701px){.g-side,.g-side__tab{display:none}}
/* motion off: the carousel's card shows its still and offers its own Play, drawn like the film's Pause */
.g-car__play{display:none;position:absolute;right:16px;bottom:16px;z-index:3;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);color:var(--ink);font:500 13px/1 var(--sans);cursor:pointer}
.g-car__play svg{width:14px;height:14px;fill:currentColor}
.g-car__play .i-pause{display:none}.g-car__play[aria-pressed="true"] .i-play{display:none}.g-car__play[aria-pressed="true"] .i-pause{display:inline}
.g-car__card.is-still .g-car__play{display:inline-flex}

/* ── G, ninth pass (2026-11-11): proof first. The hero's two actions stand under the headline, on the first screen
   at every size; a row of the test network's own numbers follows the lead, each with where it comes from. ────── */
.g-hero__plate .g-lead__cta{margin-top:clamp(18px,2.2vw,30px)}
.g-hero__plate .g-lead__cta .btn{min-height:44px}
@media (max-width:700px),(max-aspect-ratio:5/4){.g-hero__plate .g-lead__cta{margin-top:18px}}
@media (max-height:639px) and (min-width:701px) and (min-aspect-ratio:5/4){.g-hero__plate .g-lead__cta{margin-top:14px}}
.g-lead__in{grid-template-columns:minmax(0,1fr)}
/* inner pages: the page's name is a title, not the whole first screen (it was 158 px tall at 1440 wide, and the first
   real sentence started 650–830 px down a 900 px screen); the page's own statement now starts on screen one */
.gi-hero{padding-top:110px;padding-bottom:clamp(20px,2.6vw,36px)}
.gi-title{font-size:clamp(44px,6.4vw,112px);margin-top:clamp(22px,3vw,44px)}
.gi-hero .g-side{margin-top:clamp(22px,3vw,44px)}
@media (max-width:700px){.gi-hero{padding-top:18px}}
/* the details panel beside an inner page's title is three facts in one row (its card set the height of the whole
   title block); and the page's first section starts closer under it */
.gi-hero .wrap{grid-template-columns:minmax(0,1fr) auto}
.gi-hero .g-side{background:none;border:0;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;align-self:end;margin-bottom:.4em}
.gi-hero .g-side__head{display:none}
.gi-hero .g-side ul{flex-direction:row;gap:28px}
.gi-hero .g-side li{max-width:220px}
.gi-page main > section:first-of-type,.gi-page main > .section:first-child{padding-top:clamp(28px,3.4vw,56px)}
@media (max-width:1100px){.gi-hero .wrap{grid-template-columns:minmax(0,1fr)}.gi-hero .g-side{margin-top:20px;max-width:none}.gi-hero .g-side ul{flex-wrap:wrap;gap:16px 24px}}
/* ── G, tenth pass (2026-11-11): one light site. The search panel was the one dark full screen left (and darkened the
   header with it); it is paper and ink now, fills the phone screen, and the header keeps its own light look. ──── */
.g-search{background:var(--paper);color:var(--ink)}
.g-search__q{border-color:var(--ink);color:var(--ink);background:var(--card)}
.g-search__q:focus{border-color:var(--signal,#2F5BFF);outline:2px solid var(--signal,#2F5BFF);outline-offset:2px}
.g-search__q::placeholder{color:var(--muted)}
.g-search__clear,.g-search__pop button,.g-search__res a{color:var(--ink)}
.g-search__k,.g-search__p{color:var(--muted)}
.g-search__x{color:var(--ink-soft,#3A4250)}
.g-search__res a{border-top-color:var(--line)}
.g-search__res li:last-child a{border-bottom-color:var(--line)}
.g-search__res a:focus-visible{outline:2px solid var(--signal,#2F5BFF);outline-offset:4px}
.g-search mark{color:var(--ink);background:var(--signal-soft,#E8EDFF)}
html.g-search-open nav:not([class]) .nav-in{background:var(--paper)}
html.g-search-open nav:not([class]) .brand,html.g-search-open nav:not([class]) .brand .wm{color:var(--ink)}
html.g-search-open nav:not([class]) .brand svg{filter:none}
html.g-search-open nav:not([class]) .btn-ghost,html.g-search-open nav:not([class]) .g-menubtn{color:var(--ink);border-color:var(--ink);background:var(--card)}
html.g-search-open nav:not([class]) .g-sq{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media (max-width:700px){.g-search{bottom:0;padding-bottom:96px}}

/* the hero drifts as the page leaves it (2026-11-12): the film moves down at a fraction of the scroll and the
   headline a little less, driven by the scroll position itself, so there is no script and no frame to drop. Only
   where the browser can do that, only on the wide layout, never with motion off or reduced. */
@supports (animation-timeline:scroll()){
  @media (prefers-reduced-motion:no-preference) and (min-width:701px) and (min-aspect-ratio:5/4){
    html.rv:not([data-motion="off"]) .g-hero__film{animation:gHeroDrift linear both;animation-timeline:scroll(root);animation-range:0 100vh;will-change:transform}
    html.rv:not([data-motion="off"]) .g-hero__plate{animation:gHeroLift linear both;animation-timeline:scroll(root);animation-range:0 80vh}
  }
}
@keyframes gHeroDrift{to{transform:translate3d(0,14vh,0)}}
@keyframes gHeroLift{to{transform:translate3d(0,-6vh,0);opacity:.25}}

/* ── tabs (2026-11-12, owner: "if people can't see it they won't use it … like it's on the apps"; 13 Nov: "the
   newest look", on a computer too) ───────────────────────────────────────────────────────────────────────────────
   The sections people come for are always in sight; the menu keeps the rest (the Standard, the control room, the
   founding table, the source, contact). One look at every width: a rounded group, and the place you are in is a
   solid ink pill.
   · a wide window: the group sits in the header (the mark is the way home, the menu button is the rest);
   · a phone: the group is a bar of its own, floating clear of the screen's edges at the bottom, an icon over a word,
     within reach of a thumb — Home, Verify, Network, Docs, More. More opens the menu. Search and the request move up
     into the top bar.
   Solid, no glass. The links are plain text so the build can mark this page's own (site-includes writes an inline
   colour from before green was kept for a VALID verdict alone; here that mark is the ink pill, so the tab shows with
   scripts off). The icons are drawn here. */
nav:not([class]) .nav-links-d[data-nav-tabs]{display:flex!important;align-items:center;gap:2px;margin-left:24px;padding:4px;border-radius:999px;background:rgba(11,18,32,.055)}
nav:not([class]) .nav-links-d[data-nav-tabs] a,nav:not([class]) .nav-links-d[data-nav-tabs] button{position:relative;display:inline-flex;align-items:center;height:40px;padding:0 15px;border:0;border-radius:999px;background:none;font:inherit;font-size:15px;line-height:1;font-weight:450;color:var(--ink-soft);white-space:nowrap;text-decoration:none;cursor:pointer;transition:color .2s var(--q),background-color .25s var(--q)}
nav:not([class]) .nav-links-d[data-nav-tabs] a:hover{color:var(--ink);background:rgba(11,18,32,.08);text-decoration:none}
nav:not([class]) .nav-links-d[data-nav-tabs] a[aria-current="page"],nav:not([class]) .nav-links-d[data-nav-tabs] a[style*="--green"]{color:var(--paper)!important;background:var(--ink);font-weight:550;text-decoration:none}
nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="index.html"],nav:not([class]) .nav-links-d[data-nav-tabs] [data-nav-more]{display:none}
/* a narrower window: tighter, and the two that are also in the menu step out so the group always fits */
@media (max-width:1100px){ nav:not([class]) .nav-links-d[data-nav-tabs]{margin-left:12px} nav:not([class]) .nav-links-d[data-nav-tabs] a{padding:0 11px;font-size:14px} }
@media (max-width:900px){ nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="landscape.html"],nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="foundation.html"]{display:none} }
/* a phone: the floating bar */
@media (max-width:700px){
  nav:not([class]) .nav-links-d[data-nav-tabs]{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:70;display:grid!important;grid-template-columns:repeat(5,1fr);gap:2px;margin:0;padding:6px;border-radius:22px;background:var(--card);border:1px solid var(--line);box-shadow:0 10px 30px rgba(11,18,32,.16)}
  nav:not([class]) .nav-links-d[data-nav-tabs] a,nav:not([class]) .nav-links-d[data-nav-tabs] button{display:flex;flex-direction:column;justify-content:center;gap:5px;height:50px;padding:0;border-radius:16px;font-size:11px;font-weight:500;letter-spacing:.01em;color:var(--muted)}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="index.html"],nav:not([class]) .nav-links-d[data-nav-tabs] [data-nav-more]{display:flex}
  nav:not([class]) .nav-links-d[data-nav-tabs] a::before,nav:not([class]) .nav-links-d[data-nav-tabs] button::before{content:"";width:22px;height:22px;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="index.html"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.2 12 4l8 7.2V19a1 1 0 0 1-1 1h-4.6v-5.2H9.6V20H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E")}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="verify.html"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 19 6v5.2c0 4.4-2.9 8.1-7 9.6-4.1-1.5-7-5.2-7-9.6V6z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.4'/%3E%3C/svg%3E")}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="get.html"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5.5' r='2.3'/%3E%3Ccircle cx='5.5' cy='18' r='2.3'/%3E%3Ccircle cx='18.5' cy='18' r='2.3'/%3E%3Cpath d='M10.9 7.5 6.7 16M13.1 7.5l4.2 8.5M7.8 18h8.4'/%3E%3C/svg%3E")}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[href$="docs.html"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20a.5.5 0 0 1-.5.5h-10A.5.5 0 0 1 7 20zM14 3.5v4h4'/%3E%3Cpath d='M9.8 12.5h4.9M9.8 16h4.9'/%3E%3C/svg%3E")}
  nav:not([class]) .nav-links-d[data-nav-tabs] [data-nav-more]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M4.5 12h15M4.5 17h15'/%3E%3C/svg%3E")}
  nav:not([class]) .nav-links-d[data-nav-tabs] a:hover{background:none;color:var(--muted)}
  nav:not([class]) .nav-links-d[data-nav-tabs] a[aria-current="page"],nav:not([class]) .nav-links-d[data-nav-tabs] a[style*="--green"],nav:not([class]) .nav-links-d[data-nav-tabs] a[aria-current="page"]:hover{color:var(--paper)!important;background:var(--ink)}
  nav:not([class]) .nav-links-d[data-nav-tabs] a:active,nav:not([class]) .nav-links-d[data-nav-tabs] button:active{transform:scale(.95)}
  nav:not([class]) .nav-links-d[data-nav-tabs] a,nav:not([class]) .nav-links-d[data-nav-tabs] button{transition:color .2s var(--q),background-color .25s var(--q),transform .15s var(--q)}
  /* while the menu is open, More is where you are */
  nav:not([class]) .nav-links-d[data-nav-tabs] [data-nav-more][aria-expanded="true"]{color:var(--paper);background:var(--ink)}
  html.g-menu-open nav:not([class]) .nav-links-d[data-nav-tabs] a[aria-current="page"],html.g-menu-open nav:not([class]) .nav-links-d[data-nav-tabs] a[style*="--green"]{color:var(--muted)!important;background:none}
  /* what used to float at the bottom goes up into the top bar: search, then the request; More is the menu */
  nav:not([class]) .nav-r{position:static;left:auto;right:auto;bottom:auto;margin-left:auto;padding:0;gap:8px;background:none;border:0;pointer-events:auto;opacity:1!important}
  nav:not([class]) .nav-r .g-menubtn{display:none}
  nav:not([class]) .nav-r .g-sq{order:1;margin:0;width:38px;height:38px}
  nav:not([class]) .nav-r > .btn:first-child{order:2;margin:0;height:38px;min-height:38px;padding:0 12px;font-size:14px}
  html.nav-bar-yield nav:not([class]) .nav-r{pointer-events:auto}
  html body{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  /* the same for the inner pages, named as their own rule so the shell stylesheet (built from this file) keeps it */
  html body.gi-page{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  .g-menu{padding-bottom:120px}
  .g-side{bottom:96px}
}
@media (max-width:359px){nav:not([class]) .nav-r > .btn:first-child{font-size:13px;padding:0 9px}}
