@layer reset, base, components, sections, responsive, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
  ul, ol { padding: 0; }
  img, svg, canvas { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  a { color: inherit; text-decoration: none; }
  button { color: inherit; }
}

@layer base {
  :root {
    --black: #050505;
    --black-2: #0a0a0a;
    --carbon: #111312;
    --carbon-2: #181a19;
    --line: rgba(255, 255, 255, .16);
    --line-soft: rgba(255, 255, 255, .09);
    --white: #f7f8f6;
    --white-2: #e6e9e5;
    --muted: #a7aca7;
    --blue: #4387ff;
    --green: #32e68b;
    --amber: #ffcc66;
    --red: #ff6b57;
    --font-sans: "FKGroteskNeue", "Geist", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Berkeley Mono", "SFMono-Regular", Consolas, monospace;
    --max: 1440px;
    --gutter: clamp(1rem, 3vw, 3rem);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --z-header: 20;
    --z-menu: 30;
    --z-dialog: 40;
  }

  html { background: var(--black); }
  body {
    min-width: 320px;
    overflow-x: clip;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  body.menu-open { overflow: hidden; }
  ::selection { background: var(--green); color: #001b0d; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
  .skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 100;
    padding: .65rem 1rem;
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
  }
  .skip-link:focus { transform: translateY(0); }
  .section-code {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .noise {
    position: fixed;
    inset: 0;
    z-index: 60;
    opacity: .025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  }
  .scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: calc(var(--z-header) + 1);
    height: 2px;
    background: rgba(255,255,255,.05);
  }
  .scroll-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
  }
}

@layer components {
  .boot {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    padding: clamp(1rem, 2.5vw, 2.5rem);
    background: var(--white);
    color: var(--black);
    transition: clip-path 1s var(--ease), visibility 0s 1s;
    clip-path: inset(0 0 0 0);
  }
  .boot.is-complete { clip-path: inset(0 0 100% 0); visibility: hidden; }
  .boot__top, .boot__status {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .boot__mark {
    align-self: center;
    justify-self: center;
    font-size: clamp(5rem, 18vw, 16rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.04em;
  }
  .boot__line { height: 2px; margin-bottom: 1rem; background: #d3d6d1; overflow: hidden; }
  .boot__line i { display: block; height: 100%; width: 100%; background: var(--black); transform: scaleX(0); transform-origin: left; animation: bootline 1.2s var(--ease) forwards; }

  .site-header {
    position: fixed;
    z-index: var(--z-header);
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: .8rem var(--gutter);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, transform .4s var(--ease);
  }
  .site-header.is-scrolled { background: rgba(5,5,5,.88); border-color: var(--line-soft); backdrop-filter: blur(16px); }
  .site-header.is-hidden { transform: translateY(-100%); }
  .brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
  .brand img { border-radius: 8px; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.25rem); }
  .desktop-nav a { position: relative; color: var(--white-2); font-size: .78rem; }
  .desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: -.5rem;
    height: 1px;
    background: var(--green);
    transition: right .3s var(--ease);
  }
  .desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
  .header__actions { display: flex; align-items: center; gap: 1.5rem; }
  .availability { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .7rem; }
  .availability i, .footer__signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(50,230,139,.12); }
  .menu-button { display: none; border: 0; background: none; cursor: pointer; padding: .6rem; }

  .mobile-menu {
    position: fixed;
    z-index: var(--z-menu);
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 7rem var(--gutter) 2rem;
    background: var(--white);
    color: var(--black);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .65s var(--ease), visibility 0s .65s;
  }
  .mobile-menu.is-open { visibility: visible; clip-path: inset(0); transition-delay: 0s; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,.16); font-size: clamp(2rem, 11vw, 4.25rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
  .mobile-menu nav small { font-family: var(--font-mono); font-size: .7rem; font-weight: 400; }
  .mobile-menu__foot { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    min-height: 52px;
    padding: .85rem 1rem .85rem 1.35rem;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 650;
    transition: transform .3s var(--ease), background .3s ease, color .3s ease;
  }
  .button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .button--light { background: var(--white); color: var(--black); }
  .button--light:hover { transform: translateY(-3px); background: var(--green); }
  .text-link { display: inline-flex; gap: .75rem; align-items: center; color: var(--white-2); font-size: .8rem; border-bottom: 1px solid var(--line); padding-block: .7rem; }
  .text-link span { color: var(--green); }

  .image-viewer {
    width: min(1120px, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 3.5rem 1rem 1rem;
    border: 0;
    border-radius: 12px;
    background: var(--carbon);
    color: var(--white);
  }
  .image-viewer::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(10px); }
  .image-viewer > button { position: absolute; top: 1rem; right: 1rem; border: 0; background: none; cursor: pointer; color: var(--white); }
  .image-viewer figure { display: grid; gap: .75rem; justify-items: center; }
  .image-viewer img { max-height: calc(100dvh - 8rem); object-fit: contain; border-radius: 8px; }
  .image-viewer figcaption { color: var(--muted); font-size: .75rem; }
}

@layer sections {
  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    background: radial-gradient(circle at 76% 45%, rgba(55,110,255,.14), transparent 28%), var(--black);
  }
  .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .56; }
  .hero__glow { position: absolute; width: 45vw; height: 45vw; right: -20vw; top: 18%; border-radius: 50%; background: rgba(50,230,139,.05); filter: blur(90px); }
  .hero__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .7fr);
    grid-template-rows: 1fr auto;
    gap: 2rem;
    min-height: 100svh;
    max-width: var(--max);
    margin: auto;
    padding: clamp(8.5rem, 14vh, 10rem) var(--gutter) clamp(2rem, 5vh, 4rem);
  }
  .hero__intro { align-self: center; max-width: 850px; }
  .hero__signal { display: flex; align-items: center; gap: .75rem; margin-bottom: clamp(1.5rem, 4vh, 3.5rem); color: var(--muted); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
  .hero__signal span { width: 25px; height: 1px; background: var(--green); }
  .hero h1 { max-width: 850px; font-size: clamp(4rem, 8.4vw, 6rem); line-height: .89; letter-spacing: -.04em; text-wrap: balance; }
  .hero h1 em { color: var(--green); font-style: normal; font-weight: 420; }
  .hero__lede { max-width: 610px; margin-top: clamp(1.6rem, 4vh, 3rem); color: var(--white-2); font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5; text-wrap: pretty; }
  .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.2rem; }
  .hero__system { align-self: center; justify-self: end; width: min(100%, 450px); }
  .system-stage { background: rgba(13,15,14,.76); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(12px); }
  .system-stage__head { display: flex; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .05em; }
  .system-stage__head span:last-child { display: flex; align-items: center; gap: .5rem; color: var(--green); }
  .system-stage__head i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .system-orbit { position: relative; aspect-ratio: 1; margin: .5rem; }
  .system-orbit__ring { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
  .system-orbit__ring--a { inset: 10%; animation: orbit 18s linear infinite; border-top-color: var(--green); }
  .system-orbit__ring--b { inset: 27%; animation: orbit 12s linear infinite reverse; border-right-color: var(--blue); }
  .system-orbit__core { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 84px; height: 84px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--white); box-shadow: 0 0 60px rgba(50,230,139,.16); }
  .system-orbit__core img { border-radius: 12px; }
  .orbit-node { position: absolute; padding: .35rem .5rem; background: var(--black); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-family: var(--font-mono); font-size: .54rem; }
  .orbit-node::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: .35rem; border-radius: 50%; background: var(--green); vertical-align: middle; }
  .orbit-node--one { top: 7%; left: 44%; }
  .orbit-node--two { top: 42%; right: 0; }
  .orbit-node--three { bottom: 7%; left: 44%; }
  .orbit-node--four { top: 42%; left: 0; }
  .system-stage__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
  .system-stage__foot div { padding: .8rem; border-right: 1px solid var(--line-soft); }
  .system-stage__foot div:last-child { border: 0; }
  .system-stage__foot small, .system-stage__foot strong { display: block; }
  .system-stage__foot small { color: var(--muted); font-size: .55rem; }
  .system-stage__foot strong { margin-top: .2rem; font-size: .7rem; font-weight: 500; }
  .hero__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
  .hero__foot strong { color: var(--white); font-weight: 500; }
  .hero__scroll { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
  .hero__scroll i { position: relative; display: block; width: 1px; height: 46px; overflow: hidden; background: var(--line); }
  .hero__scroll i::after { content:""; position:absolute; inset: 0; background: var(--green); animation: scrolldown 2s var(--ease) infinite; }

  .proof-strip { display: grid; grid-template-columns: minmax(180px, 1fr) 4fr; min-height: 130px; border-bottom: 1px solid var(--line-soft); background: var(--white); color: var(--black); }
  .proof-strip__label { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem var(--gutter); border-right: 1px solid rgba(0,0,0,.14); }
  .proof-strip__label span { font-size: .76rem; font-weight: 650; }
  .proof-strip__label small { margin-top: .2rem; color: #656a65; font-size: .66rem; }
  .logo-rail { overflow: hidden; }
  .logo-rail__track { display: flex; width: max-content; height: 100%; animation: marquee 30s linear infinite; }
  .logo-item { display: grid; place-items: center; width: clamp(150px, 16vw, 250px); padding: 1.75rem; border-right: 1px solid rgba(0,0,0,.1); }
  .logo-item img { width: auto; max-width: 135px; max-height: 46px; filter: grayscale(1) contrast(1.05); }

  .manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(2rem, 6vw, 7rem); max-width: var(--max); margin: auto; padding: clamp(6rem, 12vw, 12rem) var(--gutter); }
  .manifesto__aside { display: flex; flex-direction: column; justify-content: space-between; padding-right: 2rem; border-right: 1px solid var(--line); }
  .manifesto__aside p { color: var(--green); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .07em; }
  .manifesto__aside span { max-width: 19ch; color: var(--muted); font-size: .8rem; }
  .manifesto__body h2 { max-width: 1060px; font-size: clamp(2.5rem, 5.5vw, 5.3rem); font-weight: 560; line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
  .manifesto__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 7vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--line); }
  .manifesto__split p { max-width: 62ch; color: var(--white-2); font-size: clamp(.95rem, 1.25vw, 1.12rem); }
  .manifesto__source { display: inline; color: var(--green); text-decoration: underline; text-decoration-color: rgba(50,230,139,.38); text-underline-offset: .22em; }
  .manifesto__source:hover, .manifesto__source:focus-visible { color: var(--white); text-decoration-color: currentColor; }

  .evidence { background: var(--white); color: var(--black); }
  .evidence__header { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: var(--max); margin: auto; padding: clamp(6rem, 10vw, 10rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
  .evidence .section-code { color: #676b67; }
  .evidence__header h2 { margin-top: 1.5rem; font-size: clamp(3rem, 6.5vw, 6rem); line-height: .91; letter-spacing: -.04em; }
  .evidence__header > p { max-width: 37ch; color: #4c514d; font-size: 1rem; }
  .case { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); max-width: var(--max); margin: auto; border-top: 1px solid rgba(0,0,0,.16); }
  .case__visual { position: relative; min-height: clamp(520px, 64vw, 760px); overflow: hidden; border-right: 1px solid rgba(0,0,0,.16); background: #dfe4df; }
  .case--terrapay .case__visual { background: #0e1915; color: var(--white); }
  .case--azeer .case__visual { background: #e8e8e4; }
  .case__logo { position: absolute; top: 50%; left: 50%; z-index: 2; width: min(45%, 220px); transform: translate(-50%,-50%); }
  .case__logo--wide { width: min(48%, 260px); }
  .case__logo img { width: 100%; max-height: 120px; object-fit: contain; mix-blend-mode: multiply; }
  .case--terrapay .case__logo img { filter: brightness(0) invert(1); mix-blend-mode: normal; }
  .case__visual-label { position: absolute; bottom: 1.5rem; left: var(--gutter); z-index: 2; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
  .case__map { position: absolute; inset: 13%; opacity: .55; }
  .case__map svg { width: 100%; height: 100%; overflow: visible; }
  .case__map path { fill: none; stroke: #323832; stroke-width: 1; stroke-dasharray: 3 7; }
  .case__map circle { fill: #323832; }
  .case__pulse { position: absolute; right: 7%; top: 31%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-out infinite; }
  .case__content { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.4rem var(--gutter) 2rem; }
  .case__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
  .case__content h3 { align-self: center; max-width: 14ch; font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 570; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
  .case__content > p { align-self: center; max-width: 49ch; color: #4f544f; font-size: .92rem; }
  .case__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,0,0,.16); }
  .case__facts div { padding: 1.25rem .7rem 0; border-right: 1px solid rgba(0,0,0,.16); }
  .case__facts div:last-child { border: 0; }
  .case__facts strong, .case__facts span { display: block; }
  .case__facts strong { font-size: 1.15rem; }
  .case__facts span { margin-top: .2rem; color: #656a65; font-size: .58rem; }
  .workflow { position: absolute; inset: 48% 10% auto; display: flex; align-items: center; transform: translateY(-50%); }
  .workflow__node { flex: 0 0 auto; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; font-family: var(--font-mono); font-size: .58rem; }
  .workflow__node--core { border-color: var(--green); color: var(--green); }
  .workflow i { flex: 1; height: 1px; min-width: 18px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
  .workflow > span { position: absolute; top: calc(100% + 1.5rem); left: 50%; width: 100%; transform: translateX(-50%); color: var(--muted); font-size: .62rem; text-align: center; }
  .voice-wave { position: absolute; inset: 50% 12% auto; display: flex; align-items: center; gap: 2.4%; height: 120px; transform: translateY(-50%); }
  .voice-wave i { flex: 1; height: var(--h); min-height: 8px; border-radius: 999px; background: var(--black); animation: wave 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -0.02); }
  .evidence__more { display: flex; justify-content: space-between; max-width: var(--max); margin: auto; padding: 2rem var(--gutter); border-top: 1px solid rgba(0,0,0,.16); font-size: .8rem; }
  .evidence__more b { color: #087a43; }

  .systems { max-width: var(--max); margin: auto; padding: clamp(6rem, 11vw, 11rem) var(--gutter); }
  .systems__intro { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: clamp(3rem, 7vw, 7rem); }
  .systems__intro h2 { margin-top: 1.5rem; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.04em; }
  .systems__intro > p { max-width: 36ch; color: var(--muted); }
  .systems__interface { display: grid; grid-template-columns: .65fr 1.35fr; min-height: 620px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .systems__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
  .systems__tabs button { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1rem; padding: 1.5rem; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: background .25s ease, color .25s ease; }
  .systems__tabs button:last-child { border-bottom: 0; }
  .systems__tabs button[aria-selected="true"] { background: var(--white); color: var(--black); }
  .systems__tabs small { font-family: var(--font-mono); font-size: .6rem; }
  .systems__panels { position: relative; overflow: hidden; }
  .systems__panels article { position: relative; min-height: 100%; padding: clamp(2rem, 5vw, 5.5rem); animation: panelfade .45s var(--ease); }
  .panel__head { display: flex; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-soft); color: var(--green); font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; }
  .panel__head strong { color: var(--muted); font-weight: 400; }
  .systems__panels h3 { max-width: 18ch; margin-top: clamp(2rem, 5vw, 4.5rem); font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 530; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
  .systems__panels p { max-width: 63ch; margin-top: 1.5rem; color: var(--muted); }
  .systems__panels ul { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; list-style: none; }
  .systems__panels li { padding: .45rem .7rem; border-radius: 999px; background: var(--carbon-2); color: var(--white-2); font-size: .68rem; }
  .panel__diagram { display: flex; align-items: center; margin-top: clamp(3rem, 7vw, 6rem); }
  .panel__diagram span { padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font-mono); font-size: .55rem; white-space: nowrap; }
  .panel__diagram i { flex: 1; height: 1px; min-width: 12px; background: var(--line); }

  .research { padding: clamp(6rem, 11vw, 11rem) 0; background: #c9ff52; color: #0b1301; }
  .research__head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: var(--max); margin: auto; padding: 0 var(--gutter) clamp(3rem, 7vw, 7rem); }
  .research .section-code { color: #3f5614; }
  .research__head h2 { max-width: 920px; margin-top: 1.5rem; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
  .research__head > p { max-width: 34ch; color: #405218; }
  .project { display: grid; grid-template-columns: 1.25fr .75fr; max-width: var(--max); margin: auto; border-top: 1px solid rgba(0,0,0,.23); }
  .project--reverse { grid-template-columns: .75fr 1.25fr; }
  .project--reverse .project__media { order: 2; border: 0; border-left: 1px solid rgba(0,0,0,.23); }
  .project__media { position: relative; min-height: 610px; padding: 0; overflow: hidden; border: 0; border-right: 1px solid rgba(0,0,0,.23); background: #111; cursor: zoom-in; }
  .project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
  .project__media:hover img { transform: scale(1.035); }
  .project__media > span { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: 1rem; padding: .65rem .8rem; border-radius: 8px; background: var(--white); color: var(--black); font-size: .65rem; }
  .project__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
  .project__meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
  .project__meta span:last-child { color: #226c32; }
  .project__copy h3 { margin-top: clamp(3rem, 7vw, 7rem); font-size: clamp(3rem, 5vw, 5rem); line-height: .9; letter-spacing: -.04em; }
  .project__copy p { max-width: 45ch; margin-top: 1.5rem; color: #33420f; }
  .project__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
  .project__tags span { padding: .35rem .6rem; border: 1px solid rgba(0,0,0,.22); border-radius: 999px; font-size: .62rem; }
  .project__copy > a { align-self: start; margin-top: 3rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 650; }
  .project__copy > a span { margin-left: .6rem; }
  .project-pair { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin: auto; border-top: 1px solid rgba(0,0,0,.23); }
  .project-tile { border-right: 1px solid rgba(0,0,0,.23); }
  .project-tile:last-child { border: 0; }
  .project-tile button { display: block; width: 100%; height: clamp(320px, 37vw, 520px); padding: 0; border: 0; overflow: hidden; background: #111; cursor: zoom-in; }
  .project-tile button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .project-tile button:hover img { transform: scale(1.04); }
  .project-tile > div { min-height: 260px; padding: 2rem var(--gutter); }
  .project-tile span { color: #405218; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
  .project-tile h3 { margin-top: 1.3rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -.03em; }
  .project-tile p { max-width: 48ch; margin-top: 1rem; color: #33420f; }
  .project-tile a { display: inline-block; margin-top: 1.5rem; font-size: .7rem; border-bottom: 1px solid currentColor; }

  .client-index { max-width: var(--max); margin: auto; padding: clamp(6rem, 11vw, 11rem) var(--gutter); }
  .client-index__head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: clamp(3rem, 7vw, 7rem); }
  .client-index__head h2 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: .94; letter-spacing: -.04em; }
  .client-index__head p { align-self: end; max-width: 54ch; color: var(--muted); }
  .client-index__list { border-top: 1px solid var(--line); }
  .client-index__list > a { position: relative; display: grid; grid-template-columns: 1fr 1.25fr .4fr; gap: 1rem; align-items: center; min-height: 92px; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); transition: color .2s ease, transform .3s var(--ease); }
  .client-index__list > a:hover { color: var(--green); transform: translateX(8px); }
  .client-index__list > a span:first-child { font-size: clamp(1.1rem, 2vw, 1.7rem); }
  .client-index__list > a span:nth-child(2), .client-index__list > a span:nth-child(3) { color: var(--muted); font-size: .72rem; }
  .client-index__list img { position: absolute; z-index: 2; right: 8%; width: 130px; max-height: 70px; padding: .75rem; border-radius: 8px; background: var(--white); object-fit: contain; opacity: 0; pointer-events: none; transform: translate(10px, 5px) rotate(2deg); transition: opacity .25s ease, transform .35s var(--ease); }
  .client-index__list > a:hover img { opacity: 1; transform: translate(0, -15px) rotate(-2deg); }
  .client-index__more { margin-top: 2rem; border-bottom: 1px solid var(--line); }
  .client-index__more summary { display: flex; justify-content: space-between; padding: 1.25rem 0; cursor: pointer; font-size: .8rem; list-style: none; }
  .client-index__more summary::-webkit-details-marker { display: none; }
  .client-index__more[open] summary span { transform: rotate(45deg); }
  .client-index__more > div { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0 0 2rem; }
  .client-index__more > div span { padding: .45rem .65rem; border-radius: 999px; background: var(--carbon); color: var(--muted); font-size: .66rem; }

  .testimonial { position: relative; display: grid; grid-template-columns: 1fr 3fr; gap: clamp(2rem, 7vw, 8rem); min-height: 720px; max-width: var(--max); margin: auto; padding: clamp(5rem, 10vw, 10rem) var(--gutter); border-top: 1px solid var(--line); overflow: hidden; }
  .testimonial__mark { color: var(--green); font-size: clamp(8rem, 18vw, 17rem); font-weight: 700; line-height: .6; }
  .testimonial blockquote { align-self: center; max-width: 1050px; font-size: clamp(2.4rem, 5vw, 5.1rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
  .testimonial__author { grid-column: 2; display: flex; align-items: center; gap: 1rem; }
  .testimonial__author img { border-radius: 50%; object-fit: cover; }
  .testimonial__author strong, .testimonial__author span { display: block; font-size: .75rem; }
  .testimonial__author span { color: var(--muted); }
  .testimonial__aside { position: absolute; left: var(--gutter); bottom: 5rem; max-width: 19ch; color: var(--muted); font-size: .72rem; }

  .operating-model { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); max-width: var(--max); margin: auto; padding: clamp(6rem, 11vw, 11rem) var(--gutter); border-top: 1px solid var(--line); }
  .operating-model__sticky { align-self: start; position: sticky; top: 8rem; }
  .operating-model__sticky h2 { margin-top: 1.5rem; font-size: clamp(3rem, 5vw, 5rem); line-height: .94; letter-spacing: -.04em; }
  .operating-model__sticky > p:last-child { max-width: 42ch; margin-top: 2rem; color: var(--muted); }
  .operating-model__steps { list-style: none; border-top: 1px solid var(--line); }
  .operating-model__steps li { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; min-height: 250px; padding: 2rem 0; border-bottom: 1px solid var(--line); }
  .operating-model__steps li > span { color: var(--green); font-family: var(--font-mono); font-size: .65rem; }
  .operating-model__steps h3 { max-width: 21ch; font-size: clamp(1.5rem, 2.5vw, 2.6rem); font-weight: 540; line-height: 1.05; letter-spacing: -.025em; }
  .operating-model__steps p { max-width: 52ch; margin-top: 1rem; color: var(--muted); }

  .global { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; min-height: 700px; background: var(--blue); color: #071327; }
  .global__map { position: relative; overflow: hidden; border-right: 1px solid rgba(0,0,0,.2); }
  .global__map svg { position: absolute; inset: 10%; width: 80%; height: 80%; overflow: visible; }
  .global__map path { fill: none; stroke: rgba(1,15,35,.38); stroke-width: 1.3; stroke-dasharray: 5 7; }
  .global__map circle { fill: #071327; }
  .global__dot { position: absolute; display: flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .62rem; }
  .global__dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(50,230,139,.18); }
  .global__dot--blr { left: 67%; top: 66%; }
  .global__dot--ksa { left: 48%; top: 41%; }
  .global__dot--uae { left: 57%; top: 47%; }
  .global__dot--qatar { left: 53%; top: 37%; }
  .global__copy { display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); }
  .global .section-code { color: #102c5a; }
  .global__copy h2 { margin-top: 1.5rem; font-size: clamp(3rem, 5vw, 5rem); line-height: .92; letter-spacing: -.04em; }
  .global__markets { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 3rem; }
  .global__markets span { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .65rem; border: 1px solid rgba(0,0,0,.22); border-radius: 999px; font-size: .65rem; }
  .global__markets img { width: 18px; height: 13px; object-fit: cover; }

  .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); max-width: var(--max); margin: auto; padding: clamp(6rem, 11vw, 11rem) var(--gutter); }
  .faq__head h2 { margin-top: 1.5rem; font-size: clamp(3rem, 5vw, 5rem); line-height: .94; letter-spacing: -.04em; }
  .faq__list { border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { display: flex; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; cursor: pointer; font-size: clamp(1rem, 1.6vw, 1.3rem); list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary span { color: var(--green); transition: transform .25s var(--ease); }
  .faq details[open] summary span { transform: rotate(45deg); }
  .faq details p { max-width: 66ch; padding: 0 3rem 1.75rem 0; color: var(--muted); }

  .footer { padding: 2rem var(--gutter) 0; overflow: hidden; border-top: 1px solid var(--line); background: var(--white); color: var(--black); }
  .footer__signal { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,.16); font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
  .footer__signal span:first-child { display: flex; align-items: center; gap: .7rem; }
  .footer__main { display: grid; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 2rem; padding: clamp(4rem, 8vw, 8rem) 0; }
  .footer__main > p { color: #5c625d; font-size: .8rem; }
  .footer__main > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--black); font-size: clamp(1.75rem, 4.2vw, 4.7rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
  .footer__main svg { flex: 0 0 auto; width: clamp(32px, 4vw, 60px); fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .35s var(--ease); }
  .footer__main a:hover svg { transform: translate(8px,-8px); }
  .footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-left: 37.5%; padding: 2rem 0 4rem; border-top: 1px solid rgba(0,0,0,.16); }
  .footer__nav > div { display: flex; flex-direction: column; gap: .55rem; }
  .footer__nav > div > span { margin-bottom: .6rem; color: #626762; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
  .footer__nav a, .footer__nav p { font-size: .72rem; }
  .footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(0,0,0,.16); font-size: .62rem; }
  .footer__wordmark { margin-bottom: -.08em; font-size: clamp(4.5rem, 16vw, 14rem); font-weight: 760; line-height: .74; letter-spacing: -.055em; text-align: center; white-space: nowrap; }
}

@layer responsive {
  @media (max-width: 1050px) {
    .desktop-nav, .availability { display: none; }
    .menu-button { display: flex; align-items: center; gap: .7rem; }
    .menu-button i, .menu-button i::before { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
    .menu-button i::before { content: ""; transform: translateY(5px); }
    .menu-button[aria-expanded="true"] { color: var(--black); position: relative; z-index: 40; }
    .menu-button[aria-expanded="true"] i { transform: rotate(45deg); }
    .menu-button[aria-expanded="true"] i::before { transform: rotate(-90deg); }
    .hero__shell { grid-template-columns: 1fr .65fr; }
    .case { grid-template-columns: 1fr 1fr; }
    .client-index__list > a { grid-template-columns: 1fr 1fr .3fr; }
  }

  @media (max-width: 800px) {
    .site-header { min-height: 66px; }
    .brand span { font-size: .68rem; }
    .hero__shell { display: flex; flex-direction: column; justify-content: center; padding-top: 8rem; }
    .hero__intro { padding-top: 1rem; }
    .hero h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
    .hero__system { width: 100%; max-width: 500px; margin: 2rem auto 0; }
    .system-orbit { aspect-ratio: 1.3; }
    .system-orbit__ring--a { inset: 2% 18%; }
    .system-orbit__ring--b { inset: 22% 32%; }
    .orbit-node--one { top: 0; }
    .orbit-node--three { bottom: 0; }
    .hero__foot { margin-top: 2rem; }
    .proof-strip { grid-template-columns: 1fr; }
    .proof-strip__label { flex-direction: row; justify-content: space-between; padding-block: 1rem; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.14); }
    .logo-item { width: 150px; padding: 1.2rem; }
    .manifesto { grid-template-columns: 1fr; }
    .manifesto__aside { min-height: auto; padding: 0 0 1.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
    .manifesto__aside span { display: none; }
    .manifesto__split { grid-template-columns: 1fr; }
    .evidence__header, .systems__intro, .research__head { align-items: start; flex-direction: column; }
    .case { grid-template-columns: 1fr; }
    .case__visual { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.16); }
    .case__content { min-height: 520px; }
    .systems__interface { grid-template-columns: 1fr; }
    .systems__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .systems__tabs::-webkit-scrollbar { display: none; }
    .systems__tabs button { flex: 0 0 220px; min-height: 90px; border-right: 1px solid var(--line-soft); border-bottom: 0; }
    .systems__panels article { min-height: 590px; }
    .project, .project--reverse { grid-template-columns: 1fr; }
    .project--reverse .project__media { order: 0; border-left: 0; border-bottom: 1px solid rgba(0,0,0,.23); }
    .project__media { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.23); }
    .project__copy { min-height: 500px; }
    .project-pair { grid-template-columns: 1fr; }
    .project-tile { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.23); }
    .client-index__head, .operating-model, .faq { grid-template-columns: 1fr; }
    .client-index__list > a { grid-template-columns: 1fr .7fr; }
    .client-index__list > a span:nth-child(2) { display: none; }
    .client-index__list img { display: none; }
    .testimonial { grid-template-columns: 1fr; min-height: 680px; }
    .testimonial__mark { position: absolute; top: 4rem; right: 1rem; opacity: .2; }
    .testimonial__author { grid-column: 1; }
    .testimonial__aside { display: none; }
    .operating-model__sticky { position: static; }
    .global { grid-template-columns: 1fr; }
    .global__map { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); }
    .global__copy { min-height: 500px; }
    .footer__main { grid-template-columns: 1fr; }
    .footer__nav { margin-left: 0; }
  }

  @media (max-width: 560px) {
    .brand img { width: 30px; height: 30px; }
    .hero { min-height: auto; }
    .hero__shell { min-height: 100svh; }
    .hero__signal { margin-bottom: 1.5rem; font-size: .57rem; }
    .hero h1 { font-size: clamp(3.45rem, 18vw, 5rem); }
    .hero__lede { font-size: 1rem; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; justify-content: space-between; }
    .text-link { align-self: start; }
    .system-stage__foot div { padding: .7rem .5rem; }
    .system-stage__foot small { font-size: .48rem; }
    .system-stage__foot strong { font-size: .6rem; }
    .hero__foot p { display: none; }
    .hero__scroll { margin-left: auto; }
    .manifesto__body h2 { font-size: 2.65rem; }
    .evidence__header h2, .systems__intro h2, .research__head h2, .client-index__head h2, .operating-model__sticky h2, .global__copy h2, .faq__head h2 { font-size: 3.1rem; }
    .case__visual { min-height: 420px; }
    .case__content { min-height: 470px; }
    .case__content h3 { align-self: start; font-size: 2.25rem; }
    .case__content > p { align-self: start; }
    .case__facts span { font-size: .5rem; }
    .workflow { inset-inline: 6%; }
    .workflow__node { padding: .55rem; font-size: .48rem; }
    .evidence__more { gap: 1rem; }
    .evidence__more span:last-child { text-align: right; }
    .systems__panels article { min-height: 620px; padding: 1.5rem; }
    .systems__panels h3 { font-size: 2.15rem; }
    .panel__diagram { overflow-x: auto; padding-bottom: .5rem; }
    .panel__diagram i { min-width: 18px; }
    .project__media { min-height: 360px; }
    .project__copy { min-height: 440px; }
    .project__copy h3 { font-size: 3.25rem; }
    .project-pair button { height: 330px; }
    .client-index__list > a { min-height: 82px; }
    .client-index__list > a span:first-child { font-size: 1rem; }
    .testimonial { min-height: 610px; }
    .testimonial blockquote { font-size: 2.3rem; }
    .operating-model__steps li { grid-template-columns: 44px 1fr; min-height: 220px; }
    .global__map { min-height: 380px; }
    .global__dot { font-size: .5rem; }
    .global__dot--blr { left: 62%; }
    .faq summary { font-size: 1rem; }
    .footer__main > a { font-size: clamp(1.5rem, 7vw, 2.2rem); }
    .footer__nav { grid-template-columns: 1fr 1fr; }
    .footer__nav > div:last-child { grid-column: 1 / -1; }
    .footer__bottom { flex-wrap: wrap; }
    .footer__wordmark { font-size: 18vw; }
  }
}

@layer motion {
  [data-reveal] { transform: translateY(24px); opacity: .001; transition: transform .9s var(--ease), opacity .7s ease; }
  [data-reveal].is-visible { transform: none; opacity: 1; }
  @keyframes bootline { to { transform: scaleX(1); } }
  @keyframes orbit { to { transform: rotate(360deg); } }
  @keyframes scrolldown { 0% { transform: translateY(-100%); } 55%,100% { transform: translateY(100%); } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(50,230,139,.7); } 100% { box-shadow: 0 0 0 28px transparent; } }
  @keyframes wave { to { height: calc(var(--h) * .55); opacity: .45; } }
  @keyframes panelfade { from { opacity: .2; transform: translateX(18px); } }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .boot { display: none; }
    [data-reveal] { opacity: 1; transform: none; }
    .logo-rail__track { animation: none; }
  }
}

@layer revision {
  /* Hero: a full-scale engineering instrument, not a boxed widget. */
  .hero { background: radial-gradient(circle at 74% 48%, rgba(67,135,255,.13), transparent 33%), var(--black); }
  .hero__shell {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto;
    column-gap: clamp(1rem, 2vw, 2.5rem);
  }
  .hero__intro { position: relative; z-index: 3; grid-column: 1 / 7; align-self: center; }
  .hero__system { grid-column: 7 / 13; align-self: center; justify-self: stretch; width: 100%; }
  .hero h1 { font-size: clamp(4.5rem, 7.7vw, 6rem); line-height: .88; }
  .hero__lede { max-width: 58ch; font-size: clamp(1rem, 1.35vw, 1.24rem); }
  .hero__foot { grid-column: 1 / -1; }
  .hero__dispatch { display: grid; gap: .25rem; max-width: 560px; }
  .hero__dispatch span { color: var(--green); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
  .hero__dispatch strong { color: var(--white-2); font-size: .72rem; font-weight: 500; transition: opacity .25s ease, transform .35s var(--ease); }
  .hero__dispatch strong.is-changing { opacity: 0; transform: translateY(6px); }
  .hero-machine { position: relative; width: min(100%, 690px); aspect-ratio: 1; margin-inline: auto; }
  .hero-machine__halo, .hero-machine__axis, .hero-machine__core, .hero-machine__node, .hero-machine__signal { position: absolute; }
  .hero-machine__halo { border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
  .hero-machine__halo--outer { inset: 4%; border-top-color: var(--green); border-bottom-color: rgba(67,135,255,.58); animation: orbit 26s linear infinite; }
  .hero-machine__halo--inner { inset: 24%; border-right-color: var(--blue); animation: orbit 15s linear infinite reverse; }
  .hero-machine__halo--outer::before, .hero-machine__halo--outer::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
  .hero-machine__halo--outer::before { left: 12%; top: 12%; box-shadow: 0 0 24px rgba(50,230,139,.65); }
  .hero-machine__halo--outer::after { right: 8%; bottom: 18%; background: var(--blue); box-shadow: 0 0 24px rgba(67,135,255,.7); }
  .hero-machine__axis--x { left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
  .hero-machine__axis--y { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.2), transparent); }
  .hero-machine__core { inset: 50% auto auto 50%; display: grid; place-items: center; width: 142px; height: 142px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--white); color: var(--black); box-shadow: 0 0 0 18px rgba(255,255,255,.035); }
  .hero-machine__core img { width: 68px; height: 68px; border-radius: 12px; }
  .hero-machine__core span { position: absolute; top: calc(100% + 1rem); font-family: var(--font-mono); font-size: .52rem; letter-spacing: .08em; white-space: nowrap; color: var(--green); }
  .hero-machine__node { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 6px; background: var(--black); color: var(--white-2); font-family: var(--font-mono); font-size: .57rem; text-transform: uppercase; }
  .hero-machine__node::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
  .hero-machine__node--research { left: 0; top: 47%; }
  .hero-machine__node--architect { left: 43%; top: 0; }
  .hero-machine__node--build { right: 0; top: 47%; }
  .hero-machine__node--deploy { left: 44%; bottom: 0; }
  .hero-machine__signal { inset: 12%; border-radius: 50%; animation: orbit 8s linear infinite; }
  .hero-machine__signal::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 18px rgba(255,255,255,.85); }

  /* Case-study visuals: identity, system diagram, and caption occupy separate rows. */
  .case__visual--layered { display: grid; grid-template-rows: 120px minmax(340px, 1fr) 64px; min-height: clamp(560px, 64vw, 760px); }
  .case__brandband { display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid rgba(0,0,0,.14); background: #fff; }
  .case__brandband img { width: auto; max-width: 230px; max-height: 62px; object-fit: contain; filter: none; mix-blend-mode: normal; }
  .case__diagram { position: relative; min-height: 0; overflow: hidden; }
  .case__diagram--workflow { background: #0e1915; color: var(--white); }
  .case__diagram--voice { background: #e8e8e4; color: var(--black); }
  .case__diagram .workflow { inset: 50% 9% auto; }
  .case__diagram .voice-wave { inset: 50% 10% auto; }
  .case__visual--layered .case__visual-label { position: static; display: flex; align-items: center; padding: 0 var(--gutter); border-top: 1px solid rgba(0,0,0,.14); background: #fff; color: #111; }
  .voice-legend { position: absolute; left: 10%; right: 10%; bottom: 2rem; display: flex; justify-content: space-between; color: #555b55; font-family: var(--font-mono); font-size: .54rem; text-transform: uppercase; }

  /* Architecture library. */
  .architecture { padding: clamp(6rem, 11vw, 11rem) var(--gutter); border-top: 1px solid var(--line); background: #080a09; }
  .architecture__head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: var(--max); margin: 0 auto clamp(3.5rem, 7vw, 7rem); }
  .architecture__head h2 { margin-top: 1.5rem; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.04em; }
  .architecture__head > p { max-width: 40ch; color: var(--muted); }
  .architecture__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--max); margin: auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .architecture-card { display: flex; flex-direction: column; min-height: 470px; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .architecture-card__visual { display: grid; gap: 1px; height: 230px; overflow: hidden; border-radius: 8px; background: #d9ddd9; }
  .architecture-card__visual--single { grid-template-columns: 1fr; }
  .architecture-card__visual--duo { grid-template-columns: repeat(2, 1fr); }
  .architecture-card__visual--trio { grid-template-columns: repeat(3, 1fr); }
  .architecture-card__visual--quad { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
  .architecture-card__visual img { width: 100%; height: 100%; min-width: 0; padding: .65rem; object-fit: contain; background: #f7f8f6; }
  #architecture-voice .architecture-card__visual img:first-child { background: #101210; }
  .architecture-card > span { margin-top: 1.25rem; color: var(--green); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
  .architecture-card h3 { margin-top: .65rem; font-size: clamp(1.25rem, 1.7vw, 1.7rem); font-weight: 560; line-height: 1.05; letter-spacing: -.02em; }
  .architecture-card p { max-width: 48ch; margin-top: .8rem; color: var(--muted); font-size: .78rem; }

  /* Projects: one repeated 12-column geometry and one media ratio. */
  .projects-board { max-width: var(--max); margin: auto; border-top: 1px solid rgba(0,0,0,.24); }
  .project-row { display: grid; grid-template-columns: 7fr 5fr; min-height: 590px; border-bottom: 1px solid rgba(0,0,0,.24); }
  .project-row--reverse { grid-template-columns: 5fr 7fr; }
  .project-row--reverse .project-row__media { order: 2; border-right: 0; border-left: 1px solid rgba(0,0,0,.24); }
  .project-row__media { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-right: 1px solid rgba(0,0,0,.24); background: #111; cursor: zoom-in; }
  .project-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .project-row__media:hover img { transform: scale(1.03); }
  .project-row__media > span { position: absolute; right: 1rem; bottom: 1rem; padding: .6rem .75rem; border-radius: 7px; background: var(--white); color: var(--black); font-size: .62rem; }
  .project-row__copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(2rem, 5vw, 5rem); }
  .project-row__meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
  .project-row__meta strong { color: #226c32; font-weight: 500; }
  .project-row__copy h3 { margin-top: clamp(3rem, 6vw, 6rem); font-size: clamp(3rem, 5vw, 5rem); line-height: .9; letter-spacing: -.04em; }
  .project-row__copy p { max-width: 46ch; margin-top: 1.5rem; color: #33420f; }
  .project-row__copy ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; list-style: none; }
  .project-row__copy li { padding: .35rem .6rem; border: 1px solid rgba(0,0,0,.22); border-radius: 999px; font-size: .62rem; }
  .project-row__copy > a { align-self: start; margin-top: 3rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 650; }
  .project-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-cell { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-right: 1px solid rgba(0,0,0,.24); }
  .project-cell:last-child { border-right: 0; }
  .project-cell > button { aspect-ratio: 16 / 10; width: 100%; padding: 0; overflow: hidden; border: 0; border-bottom: 1px solid rgba(0,0,0,.24); background: #111; cursor: zoom-in; }
  .project-cell > button img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
  .project-cell > button:hover img { transform: scale(1.035); }
  .project-cell > div { min-height: 300px; padding: 1.6rem; }
  .project-cell span { color: #405218; font-family: var(--font-mono); font-size: .57rem; text-transform: uppercase; }
  .project-cell h3 { margin-top: 1.1rem; font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
  .project-cell p { max-width: 44ch; margin-top: 1rem; color: #33420f; font-size: .82rem; }
  .project-cell a { display: inline-block; margin-top: 1.5rem; border-bottom: 1px solid currentColor; font-size: .68rem; }

  /* Complete client ledger. */
  .client-ledger { padding: clamp(6rem, 11vw, 11rem) var(--gutter); background: #f2f3f0; color: #0b0c0b; }
  .client-ledger .section-code { color: #5c625d; }
  .client-ledger__head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: var(--max); margin: 0 auto clamp(4rem, 8vw, 8rem); }
  .client-ledger__head h2 { margin-top: 1.5rem; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .93; letter-spacing: -.04em; }
  .client-ledger__head > p { max-width: 47ch; color: #515651; }
  .client-group-full { max-width: var(--max); margin: 0 auto 5rem; }
  .client-group-full__title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(0,0,0,.25); }
  .client-group-full__title h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 560; }
  .client-group-full__title span { color: #646964; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; }
  .client-ledger__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid rgba(0,0,0,.18); }
  .client-record { display: grid; grid-template-rows: 112px 1fr; min-height: 310px; padding: 1rem; border-right: 1px solid rgba(0,0,0,.18); border-bottom: 1px solid rgba(0,0,0,.18); transition: background .25s ease, color .25s ease; }
  .client-record:hover { background: #0b0c0b; color: var(--white); }
  .client-record__logo { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 1.2rem; background: #fff; }
  .client-record__logo img { width: auto; max-width: 160px; max-height: 64px; object-fit: contain; }
  .client-record__logo--pair { gap: 1rem; }
  .client-record__logo--pair img { max-width: 42%; }
  .client-record > div:last-child { align-self: end; padding-top: 1.5rem; }
  .client-record > div:last-child > span { color: #646964; font-family: var(--font-mono); font-size: .56rem; text-transform: uppercase; }
  .client-record:hover > div:last-child > span { color: var(--green); }
  .client-record h3 { margin-top: .45rem; font-size: 1.16rem; font-weight: 600; }
  .client-record p { margin-top: .6rem; color: #555a55; font-size: .72rem; line-height: 1.45; }
  .client-record:hover p { color: #c7cbc7; }

  /* Two testimonials, equally weighted. */
  .testimonials-duo { padding: clamp(6rem, 11vw, 11rem) var(--gutter); background: var(--black); }
  .testimonials-duo__head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; max-width: var(--max); margin: 0 auto clamp(3rem, 7vw, 7rem); }
  .testimonials-duo__head h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: .94; letter-spacing: -.04em; }
  .testimonials-duo__grid { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin: auto; border: 1px solid var(--line); }
  .review { display: flex; flex-direction: column; min-height: 640px; padding: clamp(1.5rem, 3.5vw, 3.5rem); }
  .review + .review { border-left: 1px solid var(--line); }
  .review--dark { background: #0d0f0e; color: var(--white); }
  .review--light { background: var(--blue); color: #071327; }
  .review__brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid currentColor; }
  .review__brand img { width: auto; max-width: 130px; max-height: 48px; padding: .45rem; background: #fff; }
  .review__brand span { font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; }
  .review blockquote { max-width: 21ch; margin-block: auto; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 520; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
  .review__author { display: flex; align-items: center; gap: .9rem; padding-top: 1.5rem; border-top: 1px solid currentColor; }
  .review__author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
  .review__author strong, .review__author span { display: block; font-size: .7rem; }
  .review__author span { opacity: .72; }

  /* Market map: route and market labels do not share a plane. */
  .global__map { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
  .global__map-surface { position: relative; min-height: 470px; }
  .global__map-surface svg { position: absolute; inset: 8%; width: 84%; height: 84%; overflow: visible; }
  .global__map-surface path { fill: none; stroke: rgba(1,15,35,.43); stroke-width: 1.5; stroke-dasharray: 5 7; }
  .global__map-surface circle { fill: #071327; }
  .global__map-surface text { fill: #102c5a; font-family: var(--font-mono); font-size: 18px; letter-spacing: .08em; }
  .global__route-legend { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(0,0,0,.22); }
  .global__route-legend > div { min-width: 0; padding: 1rem; border-right: 1px solid rgba(0,0,0,.22); }
  .global__route-legend > div:last-child { border-right: 0; }
  .global__route-legend img { width: 22px; height: 15px; object-fit: cover; }
  .global__route-legend span, .global__route-legend strong { display: block; }
  .global__route-legend span { margin-top: .7rem; font-size: .7rem; font-weight: 650; }
  .global__route-legend strong { margin-top: .2rem; color: #17376d; font-size: .54rem; font-weight: 500; }
  .global__copy > p:last-child { max-width: 42ch; margin-top: 2rem; color: #102c5a; }

  @media (max-width: 1050px) {
    .hero__intro { grid-column: 1 / 7; }
    .hero__system { grid-column: 7 / 13; }
    .architecture__grid, .client-ledger__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-row, .project-row--reverse { grid-template-columns: 1fr 1fr; }
    .project-cells { grid-template-columns: 1fr 1fr; }
    .project-cell:nth-child(2) { border-right: 0; }
    .project-cell:nth-child(3) { border-top: 1px solid rgba(0,0,0,.24); }
  }

  @media (max-width: 800px) {
    .hero__shell { display: flex; }
    .hero__intro { width: 100%; }
    .hero__system { width: 100%; max-width: 640px; }
    .hero-machine { width: 100%; }
    .architecture__head, .client-ledger__head { align-items: start; flex-direction: column; }
    .architecture__grid { grid-template-columns: 1fr 1fr; }
    .project-row, .project-row--reverse { grid-template-columns: 1fr; min-height: 0; }
    .project-row--reverse .project-row__media { order: 0; border-left: 0; }
    .project-row__media { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.24); }
    .project-row__copy { min-height: 480px; }
    .client-ledger__grid { grid-template-columns: 1fr 1fr; }
    .testimonials-duo__head { grid-template-columns: 1fr; }
    .testimonials-duo__grid { grid-template-columns: 1fr; }
    .review + .review { border-left: 0; border-top: 1px solid var(--line); }
    .global__map { min-height: 0; }
    .global__map-surface { min-height: 420px; }
  }

  @media (max-width: 600px) {
    .hero h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
    .hero__lede { font-size: .95rem; }
    .hero-machine__core { width: 108px; height: 108px; }
    .hero-machine__core img { width: 54px; height: 54px; }
    .hero-machine__node { font-size: .48rem; padding: .35rem .45rem; }
    .hero-machine__node--architect { left: 37%; }
    .hero-machine__node--deploy { left: 39%; }
    .hero__dispatch strong { max-width: 34ch; }
    .case__visual--layered { grid-template-rows: 100px 300px 58px; min-height: 458px; }
    .case__brandband img { max-width: 180px; max-height: 52px; }
    .architecture__grid, .client-ledger__grid, .project-cells { grid-template-columns: 1fr; }
    .architecture-card { min-height: 430px; }
    .architecture-card__visual { height: 210px; }
    .project-cell, .project-cell:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.24); }
    .project-cell:nth-child(3) { border-top: 0; }
    .client-record { min-height: 285px; }
    .client-group-full__title { align-items: start; flex-direction: column; }
    .review { min-height: 560px; }
    .review blockquote { font-size: 2rem; }
    .global__map-surface { min-height: 300px; }
    .global__route-legend { grid-template-columns: 1fr 1fr; }
    .global__route-legend > div:nth-child(2) { border-right: 0; }
    .global__route-legend > div:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.22); }
  }
}
@layer hero-rd-upgrade {
  .hero--rd {
    min-height: max(900px, 100svh);
    isolation: isolate;
    background:
      radial-gradient(ellipse at 76% 48%, rgba(54, 107, 255, .18), transparent 34%),
      radial-gradient(ellipse at 67% 69%, rgba(190, 255, 58, .08), transparent 27%),
      #050505;
  }
  .hero--rd .hero__canvas { opacity: .28; mix-blend-mode: screen; }
  .hero--rd .hero__glow {
    right: 3vw;
    top: 18%;
    width: min(62vw, 900px);
    height: min(62vw, 900px);
    background: rgba(57, 102, 255, .11);
    filter: blur(120px);
  }
  .hero__blueprint {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .14;
    background-image:
      linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 4%, #000 48%, #000 100%);
  }
  .hero__edge-note {
    position: absolute;
    z-index: 3;
    right: 1.2rem;
    top: 50%;
    color: rgba(255,255,255,.42);
    font-family: var(--font-mono);
    font-size: .54rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
  }
  .hero--rd .hero__shell {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto;
    column-gap: clamp(.75rem, 1.6vw, 1.8rem);
    min-height: max(900px, 100svh);
    padding-top: clamp(8.4rem, 12vh, 10rem);
    padding-bottom: clamp(1.6rem, 4vh, 3rem);
  }
  .hero--rd .hero__intro {
    position: relative;
    z-index: 4;
    grid-column: 1 / 7;
    align-self: center;
    max-width: none;
    padding-bottom: 1.5rem;
  }
  .hero--rd .hero__signal {
    margin-bottom: clamp(1.3rem, 2.5vh, 2rem);
    animation: heroMetaIn .7s var(--ease) .1s both;
  }
  .hero--rd h1 {
    display: grid;
    max-width: none;
    font-size: clamp(4.5rem, 7.25vw, 6rem);
    font-weight: 580;
    line-height: .83;
    letter-spacing: -.04em;
    text-wrap: nowrap;
  }
  .hero__line { display: block; overflow: hidden; padding: .04em .07em .07em 0; }
  .hero__line > span { display: block; transform: translateY(115%) rotate(2deg); animation: heroTypeIn .9s var(--ease) both; }
  .hero__line:nth-child(1) > span { animation-delay: .16s; }
  .hero__line:nth-child(2) > span { animation-delay: .27s; }
  .hero__line:nth-child(3) > span { animation-delay: .38s; }
  .hero--rd .hero__line--accent > span {
    position: relative;
    width: max-content;
    color: #c9ff52;
    font-weight: 390;
    letter-spacing: -.04em;
  }
  .hero--rd .hero__line--accent > span::after {
    content: "";
    position: absolute;
    left: 102%;
    top: 54%;
    width: clamp(34px, 5vw, 80px);
    height: 1px;
    background: linear-gradient(90deg, #c9ff52, transparent);
    animation: signalBreath 2.8s ease-in-out 1.2s infinite;
  }
  .hero--rd .hero__lede {
    max-width: 62ch;
    margin-top: clamp(1.4rem, 2.8vh, 2.2rem);
    color: rgba(255,255,255,.7);
    font-size: clamp(.98rem, 1.2vw, 1.12rem);
    line-height: 1.58;
    animation: heroMetaIn .8s var(--ease) .5s both;
  }
  .hero__rd-sequence {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 680px;
    margin-top: clamp(1.5rem, 3vh, 2.25rem);
    padding: 0;
    border-block: 1px solid var(--line);
    list-style: none;
    animation: heroMetaIn .8s var(--ease) .62s both;
  }
  .hero__rd-sequence li {
    position: relative;
    display: grid;
    gap: .35rem;
    padding: .8rem .7rem .85rem 0;
    overflow: hidden;
    border-right: 1px solid var(--line-soft);
  }
  .hero__rd-sequence li:not(:first-child) { padding-left: .75rem; }
  .hero__rd-sequence li:last-child { border-right: 0; }
  .hero__rd-sequence li::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #c9ff52;
    animation: rdSequence 6.4s linear infinite;
  }
  .hero__rd-sequence li:nth-child(2)::after { animation-delay: 1.6s; }
  .hero__rd-sequence li:nth-child(3)::after { animation-delay: 3.2s; }
  .hero__rd-sequence li:nth-child(4)::after { animation-delay: 4.8s; }
  .hero__rd-sequence span {
    color: rgba(255,255,255,.38);
    font-family: var(--font-mono);
    font-size: .5rem;
    letter-spacing: .08em;
  }
  .hero__rd-sequence strong { color: var(--white-2); font-size: .65rem; font-weight: 560; letter-spacing: .02em; text-transform: uppercase; }
  .hero--rd .hero__actions { margin-top: 1.8rem; animation: heroMetaIn .8s var(--ease) .72s both; }

  .hero-artifact {
    --artifact-x: 0px;
    --artifact-y: 0px;
    position: relative;
    z-index: 2;
    grid-column: 6 / 13;
    align-self: center;
    justify-self: end;
    width: min(60vw, 820px);
    max-width: none;
    aspect-ratio: 1;
    margin-right: clamp(-5.5rem, -4vw, -2rem);
  }
  .hero-artifact__field {
    position: absolute;
    inset: 13%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background:
      repeating-radial-gradient(circle, transparent 0 15%, rgba(255,255,255,.045) 15.2% 15.5%),
      radial-gradient(circle, rgba(50,104,255,.13), transparent 64%);
    animation: fieldTurn 24s linear infinite;
  }
  .hero-artifact__field::before,
  .hero-artifact__field::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    background: rgba(255,255,255,.15);
    transform: translate(-50%,-50%);
  }
  .hero-artifact__field::before { width: 118%; height: 1px; }
  .hero-artifact__field::after { width: 1px; height: 118%; }
  .hero-artifact__reveal {
    position: absolute;
    inset: 1%;
    display: grid;
    place-items: center;
    clip-path: inset(0 0 100% 0);
    animation: instrumentReveal 1.15s var(--ease) .25s forwards;
  }
  .hero-artifact__float {
    width: 100%;
    height: 100%;
    animation: instrumentFloat 8s ease-in-out 1.4s infinite;
    will-change: transform;
  }
  .hero-artifact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 42px 48px rgba(0,0,0,.52)) drop-shadow(0 0 30px rgba(48,92,255,.12));
  }
  .hero-artifact__scan {
    position: absolute;
    z-index: 3;
    left: 10%;
    right: 7%;
    top: 13%;
    height: 1px;
    opacity: .7;
    background: linear-gradient(90deg, transparent, #c9ff52 20%, rgba(255,255,255,.85) 50%, transparent);
    box-shadow: 0 0 18px rgba(201,255,82,.35);
    animation: instrumentScan 5.2s var(--ease) 1.25s infinite;
  }
  .hero-artifact__callout {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .55rem;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5,5,5,.72);
    color: rgba(255,255,255,.75);
    font-family: var(--font-mono);
    font-size: .53rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    animation: calloutIn .6s var(--ease) 1s both;
  }
  .hero-artifact__callout i { color: #c9ff52; font-style: normal; }
  .hero-artifact__callout::after { content: ""; position: absolute; width: clamp(25px, 3vw, 50px); height: 1px; background: rgba(255,255,255,.25); }
  .hero-artifact__callout--perception { top: 9%; right: 4%; }
  .hero-artifact__callout--perception::after { right: 100%; top: 50%; }
  .hero-artifact__callout--knowledge { top: 31%; left: 0; animation-delay: 1.12s; }
  .hero-artifact__callout--knowledge::after { left: 100%; top: 50%; }
  .hero-artifact__callout--inference { top: 56%; right: 0; animation-delay: 1.24s; }
  .hero-artifact__callout--inference::after { right: 100%; top: 50%; }
  .hero-artifact__callout--control { bottom: 17%; left: 4%; animation-delay: 1.36s; }
  .hero-artifact__callout--control::after { left: 100%; top: 50%; }
  .hero-artifact figcaption {
    position: absolute;
    z-index: 4;
    right: 4%;
    bottom: 3%;
    display: grid;
    gap: .25rem;
    padding-left: 1rem;
    border-left: 1px solid #c9ff52;
    font-family: var(--font-mono);
    text-align: right;
    text-transform: uppercase;
  }
  .hero-artifact figcaption span { color: rgba(255,255,255,.36); font-size: .48rem; letter-spacing: .09em; }
  .hero-artifact figcaption strong { color: rgba(255,255,255,.78); font-size: .55rem; font-weight: 450; letter-spacing: .05em; }
  .hero--rd .hero__foot { position: relative; z-index: 5; }

  @keyframes heroTypeIn { to { transform: translateY(0) rotate(0); } }
  @keyframes heroMetaIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes instrumentReveal { to { clip-path: inset(0 0 0 0); } }
  @keyframes instrumentFloat {
    0%, 100% { transform: translate3d(var(--artifact-x), calc(var(--artifact-y) - 8px), 0) rotate(-.35deg); }
    50% { transform: translate3d(var(--artifact-x), calc(var(--artifact-y) + 9px), 0) rotate(.45deg); }
  }
  @keyframes instrumentScan { 0%, 10% { top: 13%; opacity: 0; } 20% { opacity: .8; } 70% { opacity: .55; } 90%,100% { top: 83%; opacity: 0; } }
  @keyframes fieldTurn { to { transform: rotate(360deg); } }
  @keyframes calloutIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes signalBreath { 0%,100% { transform: scaleX(.4); opacity: .35; transform-origin: left; } 50% { transform: scaleX(1); opacity: 1; transform-origin: left; } }
  @keyframes rdSequence { 0% { transform: translateX(0); } 20%,100% { transform: translateX(200%); } }
}

@layer hero-rd-upgrade {
  .systems { position: relative; }
  .systems::before {
    content: "SYSTEM DISCIPLINES / 05";
    position: absolute;
    right: var(--gutter);
    top: clamp(3rem, 6vw, 6rem);
    color: rgba(255,255,255,.2);
    font-family: var(--font-mono);
    font-size: .52rem;
    letter-spacing: .14em;
  }
  .systems__intro { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
  .systems__intro h2 { max-width: 12ch; }
  .systems__interface {
    grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr);
    min-height: 720px;
    border: 1px solid var(--line);
    background: #080a09;
  }
  .systems__tabs { border-right: 1px solid var(--line); }
  .systems__tabs button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 142px;
    padding: 1.15rem 1.2rem 1.15rem 1.35rem;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.018), transparent);
  }
  .systems__tabs button::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: center;
    background: #c9ff52;
    transition: transform .4s var(--ease);
  }
  .systems__tabs button:hover { color: var(--white); background: rgba(255,255,255,.035); }
  .systems__tabs button[aria-selected="true"] {
    color: var(--black);
    background: #c9ff52;
  }
  .systems__tabs button[aria-selected="true"]::before { background: var(--blue); transform: scaleY(1); }
  .systems-tab__copy { display: grid; gap: .55rem; min-width: 0; }
  .systems-tab__copy strong { max-width: 19ch; font-size: .82rem; font-weight: 590; line-height: 1.2; }
  .systems-tab__copy small {
    color: rgba(255,255,255,.34);
    font-family: var(--font-mono);
    font-size: .48rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .systems__tabs button[aria-selected="true"] .systems-tab__copy small { color: rgba(0,0,0,.52); }
  .systems-tab__logos { display: flex; align-items: center; justify-content: flex-end; min-width: 120px; }
  .systems-tab__logos img,
  .systems-tab__logos i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: -8px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: #f6f6f2;
    color: #0b0d0c;
    object-fit: contain;
    font-family: var(--font-mono);
    font-size: .48rem;
    font-style: normal;
    font-weight: 700;
    box-shadow: 0 3px 14px rgba(0,0,0,.2);
    transition: transform .35s var(--ease);
  }
  .systems__tabs button:hover .systems-tab__logos img,
  .systems__tabs button:hover .systems-tab__logos i,
  .systems__tabs button[aria-selected="true"] .systems-tab__logos img,
  .systems__tabs button[aria-selected="true"] .systems-tab__logos i { transform: translateX(6px) rotate(-2deg); }
  .systems-tab__logos img:first-child,
  .systems-tab__logos i:first-child { margin-left: 0; }
  .systems__panels {
    background:
      radial-gradient(circle at 86% 18%, rgba(55,110,255,.12), transparent 28%),
      linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: auto, 52px 52px, 52px 52px;
  }
  .systems__panels::after {
    content: "R&D";
    position: absolute;
    right: -1.2rem;
    bottom: -3.8rem;
    color: transparent;
    font-size: clamp(10rem, 18vw, 18rem);
    font-weight: 760;
    line-height: 1;
    letter-spacing: -.08em;
    -webkit-text-stroke: 1px rgba(255,255,255,.05);
    pointer-events: none;
  }
  .systems__panels article { z-index: 1; display: flex; flex-direction: column; padding: clamp(2rem, 4.2vw, 4.5rem); }
  .panel__head { flex: 0 0 auto; }
  .systems__panels h3 { max-width: 16ch; margin-top: clamp(2rem, 4vw, 4rem); font-size: clamp(2.4rem, 4.2vw, 4.6rem); }
  .systems__panels p { max-width: 65ch; color: rgba(255,255,255,.57); }
  .systems__panels ul { gap: 0; margin-top: 2.2rem; border-block: 1px solid var(--line-soft); }
  .systems__panels li {
    padding: .72rem .9rem .72rem 0;
    border-right: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
    color: var(--white-2);
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .02em;
  }
  .systems__panels li:not(:first-child) { padding-left: .9rem; }
  .systems__panels li:last-child { border-right: 0; }
  .panel__diagram { margin-top: auto; padding-top: clamp(2.5rem, 5vw, 5rem); }
  .panel__diagram span {
    position: relative;
    z-index: 1;
    padding: .75rem .85rem;
    border-color: rgba(255,255,255,.2);
    border-radius: 2px;
    background: rgba(5,5,5,.72);
    color: rgba(255,255,255,.74);
  }
  .panel__diagram span:first-child { border-color: #c9ff52; color: #c9ff52; }
  .panel__diagram span:last-child { border-color: rgba(55,110,255,.75); color: #8db4ff; }
  .panel__diagram i { position: relative; overflow: hidden; background: rgba(255,255,255,.16); }
  .panel__diagram i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #c9ff52, transparent);
    animation: pipelineSignal 2.8s linear infinite;
  }
  .panel__diagram i:nth-of-type(2)::after { animation-delay: .45s; }
  .panel__diagram i:nth-of-type(3)::after { animation-delay: .9s; }
  @keyframes pipelineSignal { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

  @media (max-width: 1100px) {
    .hero--rd h1 { font-size: clamp(4rem, 7.5vw, 6rem); }
    .hero-artifact { grid-column: 6 / 13; width: min(64vw, 720px); margin-right: -4rem; }
    .hero__rd-sequence strong { font-size: .58rem; }
    .systems__interface { grid-template-columns: minmax(310px, .72fr) minmax(0, 1.28fr); }
    .systems-tab__logos { min-width: 94px; }
    .systems-tab__logos img, .systems-tab__logos i { width: 36px; height: 36px; }
  }

  @media (max-width: 800px) {
    .hero--rd { min-height: auto; }
    .hero--rd .hero__shell { display: block; min-height: 0; padding-top: 8.5rem; }
    .hero--rd .hero__intro { padding: 0; }
    .hero--rd h1 { font-size: clamp(4rem, 15vw, 7rem); line-height: .84; }
    .hero__edge-note { display: none; }
    .hero__blueprint { mask-image: linear-gradient(transparent, #000 20%, #000 78%, transparent); }
    .hero-artifact { width: min(115vw, 680px); margin: clamp(2rem, 6vw, 4rem) -7vw 0 auto; }
    .hero-artifact__callout--knowledge { left: 5%; }
    .hero-artifact__callout--inference { right: 5%; }
    .hero-artifact figcaption { right: 8%; bottom: 4%; }
    .hero--rd .hero__foot { margin-top: 1rem; }
    .systems__interface { grid-template-columns: 1fr; min-height: 0; }
    .systems__tabs { flex-direction: row; border-right: 0; }
    .systems__tabs button { flex: 0 0 min(82vw, 330px); min-height: 126px; border-right: 1px solid var(--line-soft); border-bottom: 0; }
    .systems__panels article { min-height: 650px; }
  }

  @media (max-width: 560px) {
    .hero--rd .hero__shell { padding-top: 7.5rem; }
    .hero--rd h1 {
      width: 100%;
      font-size: clamp(2.55rem, 12.7vw, 3.15rem);
      line-height: .9;
      letter-spacing: -.035em;
    }
    .hero--rd .hero__line {
      width: 100%;
      padding: .04em .02em .16em 0;
      margin-bottom: -.12em;
    }
    .hero--rd .hero__line--accent > span {
      width: auto;
      max-width: 100%;
    }
    .hero--rd .hero__line--accent > span::after { display: none; }
    .hero--rd .hero__lede { font-size: .96rem; }
    .hero__rd-sequence { grid-template-columns: 1fr 1fr; }
    .hero__rd-sequence li:nth-child(2) { border-right: 0; }
    .hero__rd-sequence li:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
    .hero__rd-sequence li:nth-child(3) { padding-left: 0; }
    .hero-artifact { width: 124vw; margin-left: -13vw; margin-right: -11vw; }
    .hero-artifact__callout { padding: .35rem .42rem; font-size: .46rem; }
    .hero-artifact__callout::after { width: 22px; }
    .hero-artifact__callout--perception { right: 9%; }
    .hero-artifact__callout--control { left: 9%; }
    .hero-artifact figcaption { right: 10%; }
    .hero-artifact figcaption strong { max-width: 24ch; }
    .hero--rd .hero__dispatch { display: grid; gap: .3rem; }
    .systems::before { display: none; }
    .systems__intro h2 { max-width: 11ch; }
    .systems__tabs button { flex-basis: 86vw; }
    .systems-tab__logos { min-width: 100px; }
    .systems__panels article { min-height: 700px; padding: 1.6rem 1.2rem; }
    .systems__panels h3 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
    .systems__panels ul { display: grid; grid-template-columns: 1fr 1fr; }
    .systems__panels li, .systems__panels li:not(:first-child) { padding: .65rem; border-right: 1px solid var(--line-soft); }
    .systems__panels li:nth-child(2n) { border-right: 0; }
    .systems__panels li:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
    .panel__diagram { display: grid; grid-template-columns: 1fr; gap: 0; }
    .panel__diagram i { width: 1px; height: 24px; min-width: 0; margin-left: 1rem; }
    .panel__diagram i::after { animation-direction: alternate; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__line > span,
    .hero--rd .hero__signal,
    .hero--rd .hero__lede,
    .hero__rd-sequence,
    .hero--rd .hero__actions,
    .hero-artifact__reveal,
    .hero-artifact__float,
    .hero-artifact__scan,
    .hero-artifact__field,
    .hero-artifact__callout,
    .hero__rd-sequence li::after,
    .panel__diagram i::after { animation: none !important; transform: none; clip-path: none; opacity: 1; }
  }
}


@layer hero-rd-upgrade {
  .hero--rd .hero__intro { grid-row: 1; }
  .hero-artifact { grid-row: 1; }
  .hero--rd .hero__foot { grid-row: 2; }
  .systems__tabs button { position: relative; flex: 0 0 142px; }
  @media (max-width: 800px) {
    .hero--rd .hero__intro,
    .hero-artifact,
    .hero--rd .hero__foot { grid-row: auto; }
    .systems__tabs button { flex: 0 0 min(82vw, 330px); }
  }
  @media (max-width: 560px) {
    .systems__tabs button { flex-basis: 86vw; }
  }
}




@layer browser-comment-fixes {
  .systems__panels article[hidden] { display: none; }
  @media (min-width: 981px) {
    .systems__interface { min-height: 620px; }
    .systems__tabs button { flex: 1 1 0; min-height: 0; }
    .systems__panels article { min-height: 620px; }
  }
  /* Keep the capability navigator compact before the layout becomes narrow and tall. */
  @media (max-width: 980px) {
    .systems__interface { grid-template-columns: 1fr; min-height: 0; }
    .systems__tabs {
      align-self: start;
      flex-direction: row;
      width: 100%;
      overflow-x: auto;
      border-right: 0;
      border-bottom: 1px solid var(--line);
      scrollbar-width: none;
      scroll-snap-type: x proximity;
    }
    .systems__tabs::-webkit-scrollbar { display: none; }
    .systems__tabs button {
      flex: 0 0 min(74vw, 310px);
      min-height: 118px;
      border-right: 1px solid var(--line-soft);
      border-bottom: 0;
      scroll-snap-align: start;
    }
    .systems__panels article { min-height: 650px; }
  }

  /* Attach the instrument labels to their components instead of the viewport edge. */
  .hero-artifact__callout::after { width: clamp(16px, 1.7vw, 28px); }
  .hero-artifact__callout::before {
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c9ff52;
    box-shadow: 0 0 8px rgba(201,255,82,.6);
  }
  .hero-artifact__callout--perception { top: 16%; right: 14%; }
  .hero-artifact__callout--knowledge { top: 35%; left: 14%; }
  .hero-artifact__callout--inference { top: 54%; right: 11%; }
  .hero-artifact__callout--control { bottom: 20%; left: 17%; }
  .hero-artifact__callout--perception::before,
  .hero-artifact__callout--inference::before { left: calc(-1 * clamp(20px, 1.7vw, 32px)); }
  .hero-artifact__callout--knowledge::before,
  .hero-artifact__callout--control::before { right: calc(-1 * clamp(20px, 1.7vw, 32px)); }

  /* Security and privacy requirements become an operating system, not a badge wall. */
  .assurance {
    overflow: hidden;
    background: #376eff;
    color: var(--white);
  }
  .assurance__statement {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr);
    gap: clamp(3rem, 8vw, 9rem);
    max-width: var(--max);
    margin: auto;
    padding: clamp(5rem, 10vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  }
  .assurance__copy { max-width: 850px; }
  .assurance__index {
    display: block;
    margin-bottom: clamp(1.5rem, 3vw, 2.8rem);
    color: rgba(255,255,255,.68);
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .assurance h2 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 6vw, 6rem);
    font-weight: 620;
    line-height: .92;
    letter-spacing: -.04em;
    text-wrap: balance;
  }
  .assurance__copy > p {
    max-width: 68ch;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.58;
    text-wrap: pretty;
  }
  .assurance__lifecycle {
    align-self: end;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.34);
    list-style: none;
  }
  .assurance__lifecycle li {
    display: grid;
    grid-template-columns: 38px 100px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .assurance__lifecycle span,
  .assurance__lifecycle small { color: rgba(255,255,255,.62); font-family: var(--font-mono); font-size: .54rem; }
  .assurance__lifecycle strong { font-size: .76rem; font-weight: 640; text-transform: uppercase; }
  .assurance__lifecycle small { line-height: 1.4; }
  .assurance__frameworks {
    display: flex;
    max-width: var(--max);
    margin: auto;
    overflow-x: auto;
    border-top: 1px solid rgba(0,0,0,.18);
    border-bottom: 1px solid rgba(0,0,0,.18);
    background: #f7f7f4;
    color: var(--black);
    scrollbar-width: none;
  }
  .assurance__frameworks::-webkit-scrollbar { display: none; }
  .assurance__framework {
    display: grid;
    flex: 1 0 150px;
    min-height: 190px;
    place-items: center;
    align-content: center;
    gap: .85rem;
    padding: 1.4rem 1rem;
    border-right: 1px solid rgba(0,0,0,.14);
  }
  .assurance__framework:last-child { border-right: 0; }
  .assurance__framework img { width: 82px; height: 82px; object-fit: contain; transition: transform .4s var(--ease); }
  .assurance__framework:hover img { transform: translateY(-5px) rotate(-2deg); }
  .assurance__framework span { font-family: var(--font-mono); font-size: .58rem; font-weight: 650; text-align: center; text-transform: uppercase; }
  .assurance__note {
    max-width: var(--max);
    margin: auto;
    padding: 1rem var(--gutter) 1.2rem;
    background: #f7f7f4;
    color: #4c514d;
    font-size: .66rem;
  }

  /* TerraPay: a governed operations console with moving state. */
  .case__diagram--workflow {
    background:
      radial-gradient(circle at 50% 46%, rgba(55,110,255,.17), transparent 32%),
      #08130f;
  }
  .triage-console {
    position: absolute;
    inset: clamp(1rem, 4vw, 2.4rem);
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(4,12,9,.78);
    color: var(--white);
    transition: opacity .22s ease, transform .22s var(--ease);
  }
  .triage-console.is-refreshing { opacity: .55; transform: translateY(4px); }
  .triage-console__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem .9rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    font-family: var(--font-mono);
    font-size: .52rem;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .triage-console__top strong { display: flex; align-items: center; gap: .45rem; color: #c9ff52; font-weight: 500; }
  .triage-console__top i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: triagePulse 1.7s ease-out infinite; }
  .triage-console__body {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .9fr .85fr .9fr;
    align-items: stretch;
    gap: .65rem;
    padding: 1rem;
  }
  .triage-console__body > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.16);
    background: #0d1713;
  }
  .triage-console__body > div:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 100%;
    top: 50%;
    width: .66rem;
    height: 1px;
    background: linear-gradient(90deg, #c9ff52, rgba(201,255,82,.18));
  }
  .triage-console small,
  .triage-console__body span { color: rgba(255,255,255,.52); font-family: var(--font-mono); font-size: .49rem; line-height: 1.35; }
  .triage-console__body strong { margin-top: .55rem; font-size: clamp(.72rem, 1vw, .9rem); font-weight: 580; line-height: 1.25; }
  .triage-console__ticket { border-color: rgba(55,110,255,.65) !important; }
  .triage-console__ticket small b { color: #8db4ff; font-weight: 500; }
  .triage-console__ticket > div { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
  .triage-console__ticket > div span { padding: .25rem .35rem; border: 1px solid rgba(255,255,255,.13); }
  .triage-console__model { flex-direction: row !important; align-items: center; gap: .65rem; background: #101b08 !important; border-color: rgba(201,255,82,.48) !important; }
  .triage-console__model > div:last-child { display: grid; gap: .1rem; min-width: 0; }
  .triage-console__model > div:last-child strong { margin-top: .2rem; color: #c9ff52; }
  .triage-core {
    position: relative;
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(201,255,82,.48);
    border-radius: 50%;
  }
  .triage-core span { color: #c9ff52; font-size: .68rem; font-weight: 700; }
  .triage-core i { position: absolute; inset: 5px; border: 1px dashed rgba(201,255,82,.42); border-radius: 50%; animation: fieldTurn 8s linear infinite; }
  .triage-console__gate { background: #f2f2ee !important; color: #07100c; }
  .triage-console__gate small,
  .triage-console__gate span { color: rgba(7,16,12,.55); }
  .triage-console__gate strong { color: #07100c; }
  .triage-console__output { border-color: rgba(123,90,255,.62) !important; }
  .triage-console__output strong { color: #b8a8ff; }
  .triage-console__activity {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .triage-console__activity > span {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .75rem;
    border-right: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.54);
    font-family: var(--font-mono);
    font-size: .46rem;
  }
  .triage-console__activity > span:last-child { border-right: 0; }
  .triage-console__activity i { width: 5px; height: 5px; border-radius: 50%; background: #c9ff52; }
  .triage-console__activity b { color: rgba(255,255,255,.74); font-weight: 500; }

  @keyframes triagePulse { 0% { box-shadow: 0 0 0 0 rgba(201,255,82,.55); } 100% { box-shadow: 0 0 0 8px rgba(201,255,82,0); } }

  @media (max-width: 1100px) {
    .assurance__statement { grid-template-columns: 1fr; }
    .assurance__lifecycle { max-width: 720px; }
    .triage-console__body { grid-template-columns: 1fr 1fr; }
    .triage-console__body > div:not(:last-child)::after { display: none; }
  }
  @media (max-width: 800px) {
    .assurance__statement { padding-block: 5rem 4rem; }
    .assurance h2 { font-size: clamp(3rem, 12vw, 5.2rem); }
    .assurance__framework { flex-basis: 142px; min-height: 170px; }
    .assurance__framework img { width: 72px; height: 72px; }
  }
  @media (max-width: 560px) {
    .assurance__lifecycle li { grid-template-columns: 30px 78px 1fr; gap: .6rem; }
    .assurance__frameworks { scroll-snap-type: x mandatory; }
    .assurance__framework { flex-basis: 132px; scroll-snap-align: start; }
    .triage-console { inset: .65rem; }
    .triage-console__top { padding: .55rem .6rem; font-size: .43rem; }
    .triage-console__body { gap: .4rem; padding: .55rem; }
    .triage-console__body > div { padding: .55rem; }
    .triage-core { flex-basis: 38px; width: 38px; height: 38px; }
    .triage-console__model { gap: .4rem; }
    .triage-console__activity > span { padding: .45rem .5rem; font-size: .4rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .assurance__framework img,
    .triage-console,
    .triage-console__top i,
    .triage-core i { animation: none !important; transition: none; transform: none; }
  }
}


@layer browser-comment-fixes {
  .triage-console__top > div { display: flex; align-items: center; gap: .75rem; }
  .triage-console__top button {
    padding: .34rem .48rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 2px;
    background: transparent;
    color: rgba(255,255,255,.68);
    font-family: var(--font-mono);
    font-size: .45rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, transform .22s var(--ease);
  }
  .triage-console__top button:hover,
  .triage-console__top button:focus-visible { background: #c9ff52; color: #07100c; transform: translateY(-1px); }
  @media (max-width: 560px) {
    .triage-console__top > div { gap: .4rem; }
    .triage-console__top button { padding: .28rem .34rem; font-size: .4rem; }
  }
}
