/* Requisite Technologies homepage. Tokens first, then layout, then one block per section. */
:root {
  --navy: #050d18; --navy-2: #0b1622; --navy-3: #13233a;
  --ink: #0a0f15; --ink-2: #4a5663; --ink-3: #6b7783;
  --line: #e2e7eb; --pale: #f2f5f7; --white: #ffffff;
  --cyan: #17c9e5; --cyan-ink: #087a8e; --amber: #f0b85a; --amber-ink: #8a5a10; --pink: #e86fb2;
  --on-navy: #e8eef3; --on-navy-2: #9fb2c4; --on-navy-3: #6f8499; --line-navy: rgba(255,255,255,0.1);
  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --r: 14px; --wrap: 1240px; --gut: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.eyebrow.cy, [data-tone="dark"] .eyebrow.cy { color: var(--cyan); }
[data-tone="dark"] .eyebrow { color: var(--on-navy-2); }
.h-hero { font-weight: 400; font-size: clamp(44px, 6.6vw, 98px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; }
.h-hero em { font-style: normal; color: var(--cyan); }
.h-xl { font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; }
.h-lg { font-weight: 400; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.06; letter-spacing: -.028em; margin: 0 0 20px; }
.h-md { font-weight: 400; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.muted { color: var(--ink-3); }
.sub { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; max-width: 60ch; }
[data-tone="dark"] .sub { color: var(--on-navy-2); }
.chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: rgba(127,145,160,.16); color: var(--ink-3); white-space: nowrap; }
.chip.ok { background: rgba(23,201,229,.14); color: var(--cyan-ink); }
.chip.warn { background: rgba(240,184,90,.18); color: var(--amber-ink); }
.tlink { font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; }
.tlink:hover { color: var(--cyan-ink); }
.more { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 9px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: 14px; }
.btn-primary, .btn-dark { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: #1c2733; }
.btn-cyan { background: var(--cyan); color: #04101e; }
.btn-cyan:hover { background: #3fd6ee; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-soft { background: #eef2f5; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }

/* ================= HEADER ================= */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; }
.hdr[data-tone="dark"] { background: rgba(5,13,24,.72); color: var(--on-navy); border-bottom-color: var(--line-navy); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr.hide { transform: translateY(-100%); }
.hdr.open { background: #fff; color: var(--ink); border-bottom-color: var(--line); }
.hdr-in { height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); }
.hdr-logo { position: relative; display: block; width: 160px; height: 28px; flex: none; }
.hdr-logo img { position: absolute; inset: 0; height: 28px; width: auto; transition: opacity .3s; }
.hdr-logo .on-dark { opacity: 0; }
.hdr[data-tone="dark"]:not(.open) .on-dark { opacity: 1; }
.hdr[data-tone="dark"]:not(.open) .on-light { opacity: 0; }
.hdr-nav { display: flex; gap: 4px; margin-right: auto; }
.nav-btn { background: none; border: 0; padding: 10px 12px; border-radius: 8px; font-size: 15px; cursor: pointer; opacity: .88; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { opacity: 1; background: rgba(127,145,160,.14); }
.hdr-cta { display: flex; gap: 8px; align-items: center; }
.hdr[data-tone="dark"]:not(.open) .btn-soft { background: rgba(255,255,255,.1); color: #fff; }
.hdr[data-tone="dark"]:not(.open) .btn-primary { background: var(--cyan); color: #04101e; }
.hdr-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 9px; background: rgba(127,145,160,.16); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.hdr-burger span { width: 18px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.hdr-burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.mega { position: absolute; left: 0; right: 0; top: 64px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10,15,21,.25); }
.mega:not([hidden]) { animation: megaIn .32s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; padding: 28px 0 24px; }
.mega-foot { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; display: flex; gap: 24px; padding: 14px 0 18px; border-top: 1px solid var(--line); font-size: 14px; }
.mega-foot a { text-decoration: none; color: var(--ink-2); }
.mega-foot .push { margin-left: auto; color: var(--ink); font-weight: 500; }
.prod { display: grid; grid-template-columns: 270px 1fr; gap: 28px; }
.fam { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.fam button { width: 100%; text-align: left; background: none; border: 0; padding: 14px 16px; border-radius: 10px; cursor: pointer; display: grid; gap: 3px; }
.fam b { font-weight: 500; font-size: 17px; }
.fam span { font-size: 13px; color: var(--ink-3); }
.fam button[aria-selected="true"] { background: var(--pale); }
.fam button[aria-selected="true"] b { color: var(--cyan-ink); }
.fp { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.fp[hidden] { display: none; }
.fp-art { border-radius: 12px; overflow: hidden; background: var(--navy); min-height: 220px; position: relative; display: grid; place-items: center; }
.fp-art.k img { width: 100%; height: 100%; object-fit: cover; }
.fp-art.e img { width: 74%; height: auto; }
.fp-art svg { width: 80%; height: auto; }
.fp-art .chip { position: absolute; left: 12px; top: 12px; }
.fp-line { font-size: 19px; line-height: 1.4; margin: 4px 0 18px; letter-spacing: -.01em; }
.fp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fp-list li { display: flex; align-items: center; gap: 10px; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 0; }
.fp-list a { text-decoration: none; font-size: 15px; display: grid; gap: 2px; }
.fp-list a:hover { color: var(--cyan-ink); }
.fp-list i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-left: 6px; }
.fp-list small { color: var(--ink-3); font-size: 13px; }
.fp-list .dim, .ml .dim { color: var(--ink-3); }
.fp-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cols .span2 { grid-column: span 2; }
.mh { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.ml { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ml.two { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 24px; }
.ml a { text-decoration: none; }
.ml a:hover { color: var(--cyan-ink); }
/* solutions menu: sectors with a one-line description */
.sl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sl a { display: grid; gap: 3px; text-decoration: none; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; transition: background .25s; }
.sl a:hover { background: var(--pale); }
.sl b { font-weight: 500; font-size: 16px; }
.sl a:hover b { color: var(--cyan-ink); }
.sl span { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.feat { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 20px; text-decoration: none; display: grid; gap: 8px; align-content: start; }
.feat .mh { color: var(--cyan); margin: 0; }
.feat b { font-weight: 500; font-size: 18px; line-height: 1.3; }
.feat span:last-child { color: var(--on-navy-2); font-size: 14px; line-height: 1.5; }
.drawer { position: fixed; inset: 64px 0 0; z-index: 59; background: #fff; overflow: auto; }
.drawer-in { padding: 12px var(--gut) 40px; display: grid; gap: 4px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { padding: 16px 0; font-size: 18px; cursor: pointer; list-style: none; }
.drawer ul { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 12px; }
.drawer a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.drawer .btn { margin-top: 20px; }

/* ================= 1 HERO → KYBERN ================= */
.seq-hero { position: relative; }
.stage { position: relative; height: 100vh; overflow: hidden; background: #fff; }
.stage-bg { position: absolute; inset: 0; background: var(--navy); clip-path: inset(74px 10px 10px 10px round 16px); }
.scene3d { position: absolute; inset: 0; perspective: 1600px; pointer-events: none; z-index: 2; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.plane { position: absolute; left: 0; top: 0; overflow: hidden; backface-visibility: hidden; }
.plane.base { background: var(--navy); }
.plane.base .hero-vid, .plane.base .anno { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.plane.base::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 52%, rgba(5,13,24,.5), rgba(5,13,24,.1) 60%, rgba(5,13,24,.35)); pointer-events: none; }
.rm .stage-bg { background-size: cover; background-position: center; }
.rm .stage-bg::after { content: ""; position: absolute; inset: 0; background: rgba(5,13,24,.55); }
.plane.base .shade { position: absolute; inset: 0; background: #020810; opacity: 0; }
.plane.sys { width: var(--W); height: var(--H); margin: calc(var(--H) / -2) 0 0 calc(var(--W) / -2); border-radius: 12px; transform-origin: 50% 100%; border: 1px solid rgba(23,201,229,.45); background: var(--navy-2); opacity: 0; visibility: hidden; will-change: transform, opacity; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.plane.sys.on { border-color: rgba(23,201,229,.95); box-shadow: 0 0 0 1px rgba(23,201,229,.35), 0 40px 80px -30px rgba(23,201,229,.35); }
.plane.sys img, .plane.sys video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plane.sys svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plane.sys rect { fill: rgba(240,184,90,.08); stroke: var(--amber); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.plane .tag { position: absolute; left: 10px; top: 30px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #04101e; background: var(--cyan); padding: 3px 7px; border-radius: 3px; }
.plane .note { position: absolute; font-family: var(--mono); font-size: 10.5px; color: #04101e; background: var(--amber); padding: 3px 7px; border-radius: 3px; opacity: 0; white-space: nowrap; }
.hero-copy { position: absolute; z-index: 5; left: 50%; top: calc(50% + 32px); transform: translate(-50%, -50%); width: min(980px, 92vw); text-align: center; color: #fff; }
.hero-copy .eyebrow { color: #c9d6e2; }
.hero-copy .lede { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: #c9d6e2; max-width: 690px; margin: 0 auto 30px; }
.ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ctas.left { justify-content: flex-start; }
.h-hero .w { display: inline-block; }
.footage-note { position: absolute; z-index: 5; right: 30px; top: 92px; margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.caps { position: absolute; z-index: 5; left: 50%; bottom: 7vh; transform: translateX(-50%); width: min(680px, 90vw); height: 170px; text-align: center; color: var(--on-navy); }
.cap { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.cap h2 { font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.02em; margin: 0 0 10px; }
.cap h2 span { font-family: var(--mono); font-size: .42em; color: var(--cyan); letter-spacing: .02em; vertical-align: middle; margin-left: 4px; }
.cap p { color: var(--on-navy-2); font-size: 16.5px; line-height: 1.5; margin: 0; }
.cap .cap-cta { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.steps { position: absolute; z-index: 5; left: 50%; bottom: calc(7vh + 186px); transform: translateX(-50%); display: flex; gap: 6px; opacity: 0; visibility: hidden; }
.steps i { width: 30px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.steps b { display: block; height: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.proto-note { position: absolute; z-index: 5; left: 24px; bottom: 20px; margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); opacity: 0; visibility: hidden; }
.proto-note.light { position: static; opacity: 1; visibility: visible; color: var(--ink-3); margin-top: 24px; }
.skip-seq { position: absolute; z-index: 6; right: 24px; bottom: 18px; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; padding: 8px 10px; }
.skip-seq:hover { color: #fff; }
.kyb-static { display: none; }

/* ================= 2 THESIS ================= */
.thesis { position: relative; height: 230vh; background: var(--navy); color: var(--on-navy); }
.thesis-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.thesis-in { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lens { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--navy-2); border: 1px solid var(--line-navy); }
.lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.lens img.on { opacity: 1; transform: scale(1); }
.lens-box { position: absolute; border: 2px solid var(--amber); background: rgba(240,184,90,.08); transition: all .8s var(--ease); }
.lens-tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: #04101e; padding: 3px 7px; border-radius: 3px; }
.h-thesis { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.028em; margin: 0; font-weight: 400; }
.h-thesis .w { color: #2a3a4d; transition: color .35s; }
.h-thesis .w.on { color: #fff; }

/* sheets slide over the previous section */
.sheet { position: relative; z-index: 3; margin-top: -100vh; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -40px 80px -40px rgba(0,0,0,.5); }
.sheet.dark { background: var(--navy); color: var(--on-navy); margin-top: 0; }

/* ================= 3 ENTRADA ================= */
.entrada { padding-top: 0; }
.ent-pin { height: 100vh; display: grid; align-content: center; padding-top: 40px; }
.ent-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.ent-mark { width: 40px; height: auto; margin-bottom: 18px; }
.ent-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.ent-steps li { counter-increment: s; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .4s; }
.ent-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.ent-steps li b { display: block; font-weight: 500; font-size: 16px; color: var(--ink-3); transition: color .4s; }
.ent-steps li span { display: block; font-size: 14.5px; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.ent-steps li.on b { color: var(--ink); }
.ent-steps li.on::before { color: var(--cyan-ink); }
.ent-steps li.on span { max-height: 80px; opacity: 1; margin-top: 4px; color: var(--ink-2); }
.ent-steps em { font-style: normal; font-family: var(--mono); font-size: 12px; background: rgba(23,201,229,.14); color: var(--cyan-ink); padding: 2px 6px; border-radius: 4px; }
.device { border-radius: 16px; background: #0d1520; padding: 0 0 10px; box-shadow: 0 50px 100px -40px rgba(10,15,21,.55), 0 0 0 1px rgba(10,15,21,.08); }
.device-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3646; }
.device-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--on-navy-3); }
.screens { position: relative; aspect-ratio: 16 / 10; margin: 0 10px; border-radius: 8px; overflow: hidden; background: var(--navy-2); }
.ent-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.scr { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.scr img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hl { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border: 2px solid var(--amber); background: rgba(240,184,90,.1); border-radius: 4px; clip-path: inset(0 100% 0 0); transition: clip-path .8s .35s var(--ease); }
.hl-note { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); font-family: var(--mono); font-size: 11px; background: var(--amber); color: #04101e; padding: 3px 8px; border-radius: 3px; opacity: 0; transform: translateY(6px); transition: all .5s .9s var(--ease); }
.scr.on .hl { clip-path: inset(0 0 0 0); }
.scr.on .hl-note { opacity: 1; transform: none; }

.box-band { position: relative; background: var(--navy); color: var(--on-navy); border-radius: 28px 28px 0 0; padding: 120px 0 110px; margin-top: 40px; overflow: hidden; }
.box-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.specs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-navy); border: 1px solid var(--line-navy); border-radius: 12px; overflow: hidden; }
.specs li { background: var(--navy); padding: 18px; display: grid; gap: 4px; }
.specs b { font-weight: 400; font-size: 34px; letter-spacing: -.02em; color: #fff; }
.specs span { font-size: 13px; color: var(--on-navy-2); }
.box-art { position: relative; }
.box-art img { width: 100%; border-radius: 16px; will-change: transform; }
.modes { margin-top: 110px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.mode-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--line-navy); }
.mode-switch button { border: 0; background: none; color: var(--on-navy-2); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-size: 15px; transition: background .3s, color .3s; min-height: 44px; }
.mode-switch button[aria-checked="true"] { background: var(--cyan); color: #04101e; }
.mode-diagram { width: min(900px, 100%); }
.mode-diagram svg { width: 100%; height: auto; }
.mode-diagram .m-con path { stroke-dashoffset: 0; transition: opacity .5s; }
.mode-diagram text { font-family: var(--sans); }
.modes[data-mode="sov"] .m-con { opacity: .12; }
.modes[data-mode="con"] .m-sov { opacity: 0; }
.m-con, .m-sov { transition: opacity .5s var(--ease); }
.modes[data-mode="con"] .m-con path { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.mode-text { max-width: 640px; color: var(--on-navy-2); line-height: 1.55; margin: 0; min-height: 3em; }
.living { margin-top: 110px; }
.lk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.lk-tabs button { border: 1px solid var(--line-navy); background: none; color: var(--on-navy-2); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.lk-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.lk-body { position: relative; }
.lk-panel { display: none; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.lk-panel.on { display: grid; animation: lkIn .5s var(--ease); }
@keyframes lkIn { from { opacity: 0; transform: translateY(10px); } }
.lk-panel p { font-size: 18px; line-height: 1.55; color: var(--on-navy); margin: 0; }
.lk-panel img { border-radius: 12px; border: 1px solid var(--line-navy); }

/* ================= 4 DELIVERED ================= */
.delivered { background: #fff; position: relative; z-index: 4; }
.del-pin { min-height: 100vh; display: grid; align-content: center; padding: 120px 0 80px; }
.chain { position: relative; margin: 50px 0 40px; }
.chain-track { position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--line); }
.chain-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.chain-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; position: relative; }
.chain-steps li { display: grid; justify-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); transition: color .3s; }
.chain-steps li::before { content: ""; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: all .35s var(--ease); }
.chain-steps li.done { color: var(--ink); }
.chain-steps li.done::before { border-color: var(--cyan); background: rgba(23,201,229,.12); }
.token { position: absolute; top: 13px; left: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(240,184,90,.25); }
.del-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.log { background: var(--navy); color: var(--on-navy); border-radius: 14px; padding: 20px 22px; font-family: var(--mono); font-size: 13px; min-height: 270px; }
.log-h { margin: 0 0 14px; color: var(--cyan); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.log-h span { color: var(--on-navy-3); }
.log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.log li { opacity: 0; transform: translateX(-8px); transition: all .35s var(--ease); color: var(--on-navy-2); }
.log li::before { content: "› "; color: var(--cyan); }
.log li.on { opacity: 1; transform: none; }
.facts { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; align-content: start; }
.facts div { background: #fff; padding: 14px 18px; display: grid; gap: 3px; }
.facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 17px; }
.facts dd.ok { color: var(--cyan-ink); font-weight: 500; }

/* ================= 5 INDUSTRIES ================= */
.industries { background: var(--pale); position: relative; z-index: 4; }
.ind-pin { position: relative; height: 100vh; min-height: 700px; overflow: hidden; }
.field { position: absolute; inset: 0; z-index: 0; isolation: isolate; perspective: 900px; transform-style: preserve-3d; }
.ind-copy { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(820px, 92vw); text-align: center; pointer-events: none; }
.ind-copy .btn { pointer-events: auto; }
.h-ind { font-weight: 400; font-size: clamp(36px, 5vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; }
.h-ind span { color: var(--cyan-ink); display: inline-block; }
.ind-q { font-size: clamp(18px, 1.6vw, 24px); color: var(--ink-2); margin: 0 0 26px; min-height: 1.5em; }
.ind-copy .ind-plate { position: absolute; inset: -40px -60px; background: radial-gradient(closest-side, rgba(242,245,247,.95), rgba(242,245,247,0)); z-index: -1; }
.rail-wrap { padding: 40px 0 120px; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.rail-btns { display: flex; gap: 8px; }
.rb { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #c9d2d9; background: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.rb:hover { border-color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: grab; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail::-webkit-scrollbar { display: none; }
.rcard-i { scroll-snap-align: start; background: #fff; border-radius: 14px; padding: 22px; display: grid; gap: 14px; align-content: start; min-height: 290px; border: 1px solid transparent; transition: border-color .3s, transform .3s var(--ease); text-decoration: none; }
.rcard-i:hover, .rcard-i.flash { border-color: var(--cyan); transform: translateY(-3px); }
.rcard-i .thumb { aspect-ratio: 16 / 8; border-radius: 8px; overflow: hidden; background: var(--navy); }
.rcard-i .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.rcard-i q { font-size: 18px; line-height: 1.35; quotes: "“" "”"; }
.rcard-i small { color: var(--ink-3); font-size: 13.5px; }
.rcard-i .uses { display: flex; gap: 6px; flex-wrap: wrap; }

/* ================= 6 TRUST ================= */
.trust { padding: 130px 0 120px; position: relative; z-index: 4; background: #fff; color: var(--ink); }
.ladder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; margin: 46px 0 70px; }
.ladder-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--pale); }
.ladder-labels button { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border: 0; background: none; color: var(--ink-2); padding: 0 6px; border-radius: 999px; cursor: pointer; min-height: 44px; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
.ladder-labels button:hover { color: var(--ink); }
.ladder-labels button[aria-selected="true"] { background: var(--ink); color: #fff; }
.fact { display: flex; gap: 22px; align-items: center; background: var(--navy); color: var(--on-navy); border: 1px solid var(--navy); border-radius: 16px; padding: 26px; min-height: 150px; }
.fact b { font-weight: 500; font-size: 20px; }
.fact p { margin: 6px 0 0; color: var(--on-navy-2); line-height: 1.5; }
.orb { flex: none; width: 76px; height: 76px; border-radius: 50%; background: #2fbf7d; transition: all .5s var(--ease); position: relative; }
.fact[data-ev="known"] .orb { background: #2fbf7d; }
.fact[data-ev="observed"] .orb { background: #2fbf7d; box-shadow: inset 0 0 0 6px rgba(255,255,255,.2); }
.fact[data-ev="inferred"] .orb { background: transparent; border: 2px solid #2fbf7d; background-image: repeating-linear-gradient(45deg, rgba(47,191,125,.5) 0 2px, transparent 2px 9px); }
.fact[data-ev="uncertain"] .orb { background: rgba(47,191,125,.28); }
.fact[data-ev="missing"] .orb { background: transparent; border: 2px dashed var(--on-navy-3); }
.fact[data-ev="conflicting"] .orb { background: #c94a4a; box-shadow: 0 0 0 5px var(--navy), 0 0 0 8px var(--pink); }
.commit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.commit li { background: var(--pale); padding: 24px; display: grid; gap: 8px; align-content: start; }
.commit b { font-weight: 500; font-size: 18px; }
.commit span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.deploy { margin-top: 90px; }
.deploy-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; }
#deploy-range { width: 100%; margin: 30px 0 10px; accent-color: var(--cyan); height: 28px; cursor: pointer; }
.deploy-stops { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-3); }
.deploy-stops li.on { color: var(--cyan); }
.deploy-panel { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: 16px; padding: 24px; }
.deploy-panel h4 { margin: 0 0 8px; font-weight: 500; font-size: 20px; }
.deploy-panel p { margin: 0; color: var(--on-navy-2); line-height: 1.5; }
.deploy-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deploy-panel li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-navy); padding-bottom: 10px; }
.deploy-panel .chip { background: rgba(255,255,255,.08); color: var(--on-navy-2); }
.deploy-panel .chip.ok { background: rgba(23,201,229,.15); color: var(--cyan); }
.deploy-panel .chip.warn { background: rgba(240,184,90,.15); color: var(--amber); }

/* ================= 7 RESEARCH ================= */
.research { padding: 140px 0 110px; background: #fff; position: relative; z-index: 4; }
.research-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.loop { width: min(420px, 100%); height: auto; aspect-ratio: 1; margin-top: 20px; }
.rcards { display: grid; gap: 12px; }
.rcard { background: var(--pale); border-radius: 14px; padding: 24px; display: grid; gap: 10px; justify-items: start; }
.rcard .rk { margin: 0; font-size: 34px; letter-spacing: -.02em; color: var(--cyan-ink); }
.rcard .rk.cy { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.rcard h3 { margin: 0; font-weight: 500; font-size: 20px; }
.rcard p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.rcard.dark { background: var(--navy); color: var(--on-navy); }
.rcard.dark h3 { font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.rcard.dark p { color: var(--on-navy-2); }
.rcard .big { font-size: 46px; color: #fff; letter-spacing: -.02em; }
.rcard .big b { font-weight: 400; }
.rcard .big span { font-size: 18px; color: var(--on-navy-2); }
.rcard .small { font-size: 14px; }
.rcard.dark .tlink:hover { color: var(--cyan); }

/* ================= 8 PARTNERS + INSIGHTS ================= */
.partners { padding: 110px 0 90px; background: var(--pale); position: relative; z-index: 4; }
.p-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.pnet { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 120px; align-items: center; }
.pnet-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pnet-lines path { fill: none; stroke: var(--cyan); stroke-width: 1.4; opacity: .35; transition: opacity .3s, stroke-width .3s; }
.pnet-lines path.hot { opacity: 1; stroke-width: 2; }
.ptypes, .pprods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.ptypes li { background: #fff; border-radius: 12px; padding: 18px 20px; display: grid; gap: 4px; cursor: default; border: 1px solid transparent; transition: border-color .3s; }
.ptypes li:hover, .ptypes li:focus-within, .ptypes li.hot { border-color: var(--cyan); }
.ptypes b { font-weight: 500; }
.ptypes span { color: var(--ink-2); font-size: 14.5px; }
.pprods li { background: var(--navy); color: #fff; border-radius: 12px; padding: 18px 20px; font-size: 18px; transition: background .3s; }
.pprods li.hot { background: var(--cyan); color: #04101e; }
.also { margin: 30px 0 0; color: var(--ink-2); }
.also a { color: var(--ink); }
.insights { padding: 90px 0 120px; background: var(--pale); position: relative; z-index: 4; }
.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.icard { background: #fff; border-radius: 14px; padding: 22px; text-decoration: none; display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; }
.icard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(10,15,21,.35); }
.icard svg { width: 100%; height: auto; background: var(--pale); border-radius: 10px; }
.icard svg * { stroke-dasharray: 400; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
.icard:hover svg * { animation: draw 1.2s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 400; } }
.ik { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-ink); }
.icard h3 { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.icard p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 15px; }

/* ================= 9 CLOSE + FOOTER ================= */
.close { background: #d8edf3; position: relative; z-index: 4; }
.close-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; min-height: 80vh; padding: 100px 0; }
.contact { margin: 22px 0 0; color: var(--ink-2); }
.wheel { width: 100%; aspect-ratio: 1; }
.foot { background: var(--navy); color: var(--on-navy); padding: 80px 0 30px; position: relative; z-index: 4; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { color: var(--on-navy-2); line-height: 1.6; font-size: 14.5px; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.foot-contact a { color: #fff; text-decoration: none; }
.fcol summary { list-style: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-3); margin-bottom: 14px; pointer-events: none; }
.fcol summary::-webkit-details-marker { display: none; }
.fh { margin: 14px 0 8px; font-size: 14px; color: #fff; font-weight: 500; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.fcol a, .fcol span { color: var(--on-navy-2); text-decoration: none; }
.fcol a:hover { color: #fff; }
.fcol em { font-style: normal; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.foot-legal { display: flex; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-navy); font-size: 13px; color: var(--on-navy-3); }
.foot-legal .push { margin-left: auto; display: flex; gap: 18px; }
.foot-legal a { color: var(--on-navy-2); text-decoration: none; }
/* headings that use the shared word reveal (motion.js) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }
/* footer punchline, on every page */
.foot-punch { margin-top: 70px; }
.foot-punch p { margin: 0; font-size: clamp(44px, 8.4vw, 132px); line-height: .98; letter-spacing: -.045em; color: #fff; font-weight: 400; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .hdr-nav, .hdr-cta .btn { display: none; }
  .hdr-burger { display: flex; }
  .hdr-in { justify-content: space-between; }
  .mega { display: none !important; }
  .ent-grid, .box-grid, .research-grid, .close-in, .del-row, .ladder, .deploy-panel { grid-template-columns: minmax(0, 1fr); }
  .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icards { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pnet { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pnet-lines { display: none; }
  .pprods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-panel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ent-pin { height: auto; padding: 110px 0 60px; }
  .wheel { max-width: 360px; justify-self: center; }
}
@media (max-width: 767px) {
  .ladder-labels { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; }
  .thesis { height: 190vh; }
  .thesis-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lens { width: 62%; }
  .caps { height: 200px; bottom: 5vh; }
  .cap p { font-size: 14.5px; }
  .steps { bottom: calc(5vh + 214px); }
  .footage-note { top: 76px; right: 16px; font-size: 9px; }
  .proto-note { font-size: 9.5px; left: 16px; bottom: 12px; }
  .skip-seq { bottom: 6px; right: 10px; }
  .chain-steps li { font-size: 11px; }
  .chain-steps li::before { width: 30px; height: 30px; }
  .chain-track { top: 15px; }
  .token { top: 6px; }
  .commit { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fcol { border-bottom: 1px solid var(--line-navy); padding: 14px 0; }
  .fcol summary { pointer-events: auto; margin: 0; cursor: pointer; }
  .deploy-stops { font-size: 9.5px; }
  .specs b { font-size: 26px; }
  .sheet { border-radius: 20px 20px 0 0; }
}

/* reduced motion: no pins, no 3D, everything readable */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.rm .seq-hero .stage { height: auto; min-height: 92vh; display: grid; place-items: center; padding: 120px 16px 60px; }
.rm .stage-bg { clip-path: none; }
.rm .scene3d, .rm .caps, .rm .steps, .rm .proto-note:not(.light), .rm .skip-seq, .rm .footage-note { display: none; }
.rm .hero-copy { position: static; transform: none; }
.rm .kyb-static { display: block; background: var(--navy); color: var(--on-navy); padding: 80px 0; }
.rm .kyb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rm .kyb-grid img { border-radius: 10px; border: 1px solid rgba(23,201,229,.35); margin-bottom: 10px; }
.rm .kyb-grid p { color: var(--on-navy-2); line-height: 1.5; margin: 0; }
.rm .kyb-grid b { color: #fff; }
.rm .thesis { height: auto; padding: 100px 0; }
.rm .thesis-sticky { position: static; height: auto; }
.rm .h-thesis .w { color: #fff; }
.rm .lens img:first-child { opacity: 1; }
.rm .sheet { margin-top: 0; }
.rm .ent-pin { height: auto; padding: 100px 0 60px; }
.rm .ent-steps li span { max-height: none; opacity: 1; }
.rm .scr:last-child { opacity: 1; }
.rm .ind-pin { height: auto; min-height: 60vh; }
.rm .field { display: none; }
.rm .ind-copy { position: static; transform: none; margin: 0 auto; padding: 110px 0 20px; }
.rm .log li { opacity: 1; transform: none; }
.rm .chain-fill { transform: none; }
.rm .chain-steps li { color: var(--ink); }
.rm .token { display: none; }
