/* Integrated City — site.css · see DESIGN.md. The only place a colour literal lives is :root. */
:root {
  /* Deep Teal & Electric Lime — selected 2026-10-25. Dark ground is the site default; body.light flips to the light system. */
  --ground: #04202a; --raised: #072a35; --card: #0b3540; --line: #164a56; --line-soft: #103d48;
  --ink: #eefbf3; --ink-dim: #a9c7c0; --ink-faint: #6f928c;
  --navy: #00545f; --blue: #21a39a; --cyan: #d6fb00; --cyan-ink: #0b1a00; --teal: #ecffb6; --amber: #f1b455; --red: #ff6b5b;
  --paper: #f2f8f0; --paper-card: #ffffff; --paper-ink: #062227; --paper-dim: #4f6c6a; --paper-line: #d9e6dd;
  --cyan-soft: rgba(214, 251, 0, .1); --cyan-line: rgba(214, 251, 0, .4);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --font-display: "Poppins", system-ui, sans-serif; --font-text: "Inter", system-ui, sans-serif; --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1280px; --gutter: 24px; --sec: clamp(72px, 10vw, 144px); --r: 14px; --r-in: 8px; --nav-h: 64px;
  /* scroll-craft engine theme */
  --sc-canvas: var(--ground); --sc-surface: var(--raised); --sc-ink: var(--ink); --sc-ink-soft: var(--ink-dim);
  --sc-accent: var(--cyan); --sc-accent-ink: var(--cyan-ink); --sc-font-display: var(--font-display); --sc-font-text: var(--font-text);
  color-scheme: dark;
}
body.light { --ground: #f2f8f0; --raised: #ffffff; --card: #ffffff; --line: #d9e6dd; --line-soft: #e6efe8; --ink: #062227; --ink-dim: #4f6c6a; --ink-faint: #587370; --navy: #00545f; --blue: #00545f; --cyan: #8fbf00; --cyan-ink: #0b1a00; --teal: #d6fb00; --cyan-soft: rgba(214, 251, 0, .18); --cyan-line: rgba(0, 84, 95, .35); --shadow: 0 24px 60px -28px rgba(0, 84, 95, .3); color-scheme: light; }
body.light .nav { background: rgba(242, 248, 240, .76); }
body.light .nav.scrolled { border-bottom-color: var(--line); }
body.light .nav-item > a:hover, body.light .nav-item > button:hover, body.light .nav-item.open > button { background: rgba(0, 84, 95, .07); }
body.light .btn-solid { background: #d6fb00; color: #0b1a00; }
body.light .btn-solid:hover { background: #c4e800; }
body.light .btn-line { border-color: #c5d6cf; }
body.light .btn-line:hover { border-color: var(--blue); background: rgba(0, 84, 95, .06); }
body.light .mono.live { color: var(--blue); }
body.light .two-tone em, body.light .hero h1 span:last-child, body.light .hero3 h1 span:last-child, body.light .hero .cy, body.light .hero3 .cy, body.light .page-head h1 span.cy { color: #00545f; }
body.light .sec.raised { background: #ffffff; }
body.light .band-head { background: var(--navy); } body.light .band:nth-child(2) .band-head { background: #0b3540; }
body.light .band-items { background: #eaf2ec; }
body.light .chip.dark { background: var(--navy); color: #fff; }
body.light .insight strong { color: var(--navy); }
body.light ::selection { background: #d6fb00; color: #0b1a00; }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink); font: 400 17px/1.62 var(--font-text); -webkit-font-smoothing: antialiased; }
@media (max-width: 720px) { body { font-size: 16px; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.025em; line-height: 1.04; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; line-height: 1.2; }
h4, .h4 { font-size: 17px; letter-spacing: -.005em; line-height: 1.3; }
h3.h4 { font-size: 17px; letter-spacing: -.005em; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-dim); max-width: 60ch; line-height: 1.55; }
.measure { max-width: 64ch; }
.two-tone em { font-style: normal; color: var(--cyan); }
.mono { font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.mono.live { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--cyan-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec.raised { background: var(--raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec.paper { background: var(--paper); color: var(--paper-ink); --blue: #00545f; --navy: #00545f; --cyan: #8fbf00; --cyan-soft: rgba(214, 251, 0, .2); --cyan-line: rgba(0, 84, 95, .35); --line: #d9e6dd; --line-soft: #e6efe8; --card: #ffffff; --raised: #ffffff; --ink: #062227; --ink-dim: #4f6c6a; --ink-faint: #587370; }
.sec.paper .lede, .sec.paper .dim { color: var(--paper-dim); }
.sec.paper .mono { color: var(--paper-dim); }
.sec.paper .two-tone em { color: #00545f; }
.sec.navy { background: var(--navy); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.dim { color: var(--ink-dim); }
.faint { color: var(--ink-faint); }
.grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cols-2 { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { display: grid; gap: var(--gutter); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-6 { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cols-4, .cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cols-2, .cols-3, .cols-4, .cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font-text); letter-spacing: -.005em; border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-solid { background: var(--cyan); color: var(--cyan-ink); }
.btn-solid:hover { background: var(--teal); transform: translateY(-1px); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--cyan-line); background: var(--cyan-soft); }
.sec.paper .btn-line { border-color: var(--paper-line); color: var(--paper-ink); }
.link-quiet { color: var(--cyan); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; padding-bottom: 1px; }
.link-quiet:hover { background-size: 100% 1px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.arrow-link svg { width: 18px; height: 18px; color: var(--cyan); transition: transform .3s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; background: rgba(7, 11, 20, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-item > a, .nav-item > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; font: 500 15px/1 var(--font-text); color: var(--ink-dim); background: none; border: 0; cursor: pointer; transition: color .2s ease, background .2s ease; }
.nav-item > a:hover, .nav-item > button:hover, .nav-item > a[aria-current="page"], .nav-item.open > button { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-item > button svg { width: 14px; height: 14px; transition: transform .25s ease; }
.nav-item.open > button svg { transform: rotate(180deg); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.mega { position: absolute; top: calc(var(--nav-h) + 8px); left: 0; right: 0; display: none; }
.nav-item.open .mega { display: block; }
.mega-panel { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; display: grid; gap: 24px; }
.mega-panel.tech { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-panel.sol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-col .h4 { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mega-col .h4 .mono { color: var(--cyan); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mega-col li a, .mega-row { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink-dim); font-size: 14px; line-height: 1.35; transition: background .2s ease, color .2s ease; }
.mega-col li a:hover, .mega-row:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.mega-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 10px; }
.mega-row svg { width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.mega-row strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.mega-row span { font-size: 13.5px; color: var(--ink-dim); }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-dim); }
@media (max-width: 1024px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav.menu-open .nav-list { display: flex; position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); padding: 16px var(--gutter) 40px; overflow-y: auto; margin: 0; }
  .nav.menu-open .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav.menu-open .nav-item > a, .nav.menu-open .nav-item > button { width: 100%; height: 56px; font-size: 18px; justify-content: space-between; padding: 0; border-radius: 0; color: var(--ink); background: none; }
  .nav.menu-open .mega { position: static; }
  .nav.menu-open .mega-panel { width: 100%; border: 0; box-shadow: none; background: none; padding: 0 0 16px; grid-template-columns: 1fr; gap: 12px; }
  .nav.menu-open .mega-foot { display: none; }
  .nav.menu-open .nav-cta { display: block; margin: 20px 0 0; }
  .nav.menu-open .nav-cta .btn { width: 100%; justify-content: center; min-height: 52px; }
}

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.sec.paper .card { background: var(--paper-card); border-color: var(--paper-line); }
.mini { display: grid; gap: 12px; align-content: start; }
.mini .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); border: 1px solid var(--cyan-line); }
.mini .ic svg { width: 22px; height: 22px; }
.sec.paper .mini .ic { background: rgba(20, 101, 219, .08); color: var(--blue); border-color: rgba(20, 101, 219, .25); }
.mini .h4 { margin-top: 2px; }
.mini p { font-size: 15px; color: var(--ink-dim); line-height: 1.5; }
.sec.paper .mini p { color: var(--paper-dim); }
.mini.row { grid-template-columns: 44px 1fr; gap: 16px; }
.mini.row .ic { grid-row: 1 / 3; }
.mini.row p { grid-column: 2; }
.num { font: 500 12px/1 var(--font-mono); color: var(--cyan); letter-spacing: .08em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.stat { padding: 22px 20px; border-right: 1px solid var(--line-soft); display: grid; gap: 6px; align-content: start; }
.stat:last-child { border-right: 0; }
.stat b { font: 500 clamp(26px, 2.6vw, 36px)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat > span { font-size: 13.5px; color: var(--ink-dim); line-height: 1.35; }
.stat b span { font: inherit; color: inherit; }
.sec.paper .stats { background: var(--paper-card); border-color: var(--paper-line); }
.sec.paper .stat { border-color: var(--paper-line); }
.sec.paper .stat b { color: var(--blue); }
.sec.paper .stat > span { color: var(--paper-dim); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { border-bottom: 1px solid var(--line-soft); } .stat:nth-child(2n) { border-right: 0; } }
.src { font-size: 12.5px; color: var(--ink-faint); margin-top: 16px; line-height: 1.5; }
.sec.paper .src { color: var(--paper-dim); }

/* Insight strip */
.insight { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--cyan-line); background: var(--cyan-soft); margin-top: 32px; font-size: 16.5px; }
.insight svg { width: 24px; height: 24px; color: var(--cyan); }
.insight strong { color: var(--cyan); font-weight: 600; }
.sec.paper .insight { background: rgba(20, 101, 219, .07); border-color: rgba(20, 101, 219, .25); }
.sec.paper .insight svg, .sec.paper .insight strong { color: var(--blue); }

/* Chip strips */
.strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; }
.strip .lab { font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink-dim); }
.chip svg { width: 16px; height: 16px; color: var(--cyan); }
.chip.dark { background: var(--navy); border-color: transparent; color: var(--ink); }
.sec.paper .chip { background: var(--paper-card); border-color: var(--paper-line); color: var(--paper-ink); }
.sec.paper .chip svg { color: var(--blue); }

/* Plates (image cards) */
.plate { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--card) center / cover no-repeat; isolation: isolate; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, .08) 20%, rgba(7, 11, 20, .88) 100%); z-index: 1; }
.plate .cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; display: grid; gap: 6px; }
.plate .cap h3 { color: var(--ink); }
.plate .cap p { font-size: 14.5px; color: var(--ink-dim); max-width: 44ch; }
.plate .cap .arrow-link { margin-top: 8px; font-size: 14px; }
a.plate:hover img { transform: scale(1.04); }
.plate.tall { aspect-ratio: 4 / 5; }

/* Layer bands (technologies) */
.band { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.band-head { background: var(--navy); border-radius: var(--r); padding: 22px; display: grid; align-content: space-between; gap: 24px; min-height: 120px; }
.band:nth-child(2) .band-head { background: var(--blue); }
.band:nth-child(4) .band-head { background: var(--card); border: 1px solid var(--line); }
.band-head .top { display: flex; justify-content: space-between; align-items: center; }
.band-head .top svg { width: 26px; height: 26px; color: var(--ink); }
.band-head .top .mono { color: var(--cyan); }
.band-head h3 { color: var(--ink); font-size: 20px; }
.band-head p { font-size: 13.5px; color: rgba(238, 242, 248, .75); }
.band-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--raised); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 8px; }
.band-items a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-soft); font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; transition: border-color .2s ease, transform .2s ease; }
.band-items a svg { width: 20px; height: 20px; color: var(--cyan); }
.band-items a:hover { border-color: var(--cyan-line); transform: translateY(-1px); }
@media (max-width: 1024px) { .band { grid-template-columns: 1fr; } .band-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .band-items { grid-template-columns: 1fr; } }

/* Steps (delivery, flows) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.step .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); border: 1px solid var(--cyan-line); }
.step .ic svg { width: 22px; height: 22px; }
.step .num { margin-top: 6px; }
.step .h4 { font-size: 19px; }
.step .sub { font-size: 14px; color: var(--ink-dim); }
.step ul { list-style: none; margin: 8px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; font-size: 14px; color: var(--ink-dim); }
.step ul li { display: flex; gap: 8px; align-items: flex-start; }
.step ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; margin-top: 8px; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.flow6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.flow6 .fstep { position: relative; display: grid; gap: 10px; padding: 20px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.fstep .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); }
.fstep .ic svg { width: 20px; height: 20px; }
.flow6 .fstep .h4 { font-size: 15.5px; }
.flow6 .fstep p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.45; }
.flow6 .fstep:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 32px; width: 8px; height: 8px; border-top: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); transform: rotate(45deg); }
@media (max-width: 1024px) { .flow6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flow6 .fstep:nth-child(3n)::after { display: none; } }
@media (max-width: 600px) { .flow6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow6 .fstep::after { display: none !important; } }

/* Home hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: clip; isolation: isolate; }
.hero .plane { position: absolute; inset: -8% 0; will-change: transform; }
.hero .plane img { width: 100%; height: 100%; object-fit: cover; }
.hero .plane.back img { object-position: 60% 50%; filter: saturate(.9) brightness(.9); }
.hero .plane.mid { pointer-events: none; }
.hero .plane.mid canvas { width: 100%; height: 100%; display: block; opacity: .85; mix-blend-mode: screen; }
.hero .grade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 20, .92) 0%, rgba(7, 11, 20, .72) 38%, rgba(7, 11, 20, .25) 70%, rgba(7, 11, 20, .55) 100%), linear-gradient(180deg, rgba(7, 11, 20, .35) 0%, rgba(7, 11, 20, 0) 35%, rgba(7, 11, 20, .9) 100%); z-index: 2; pointer-events: none; }
.hero .copy { position: relative; z-index: 4; padding: calc(var(--nav-h) + 56px) 0 clamp(48px, 8vh, 96px); display: grid; gap: 26px; max-width: 760px; }
.hero h1 { display: grid; }
.hero h1 span:last-child { color: var(--cyan); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .foot-line { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-faint); }
.hero .foot-line b { color: var(--ink-dim); font-weight: 500; }
/* The sensor sweep (signature move) */
.scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; --mx: 50%; --my: 50%; --rad: 0px;
  -webkit-mask-image: radial-gradient(circle var(--rad) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .9) 40%, transparent 100%); mask-image: radial-gradient(circle var(--rad) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .9) 40%, transparent 100%); transition: opacity .6s ease; }
.scan.on { opacity: 1; }
.scan svg.grid { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--cyan); opacity: .75; }
.scan .tag { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; background: rgba(7, 11, 20, .78); border: 1px solid var(--cyan-line); font: 500 11px/1 var(--font-mono); letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.scan .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 180, 219, .25); }
.scan .tag.ok::before { background: var(--teal); box-shadow: 0 0 0 3px rgba(79, 209, 197, .25); }
.scan .tag.zone::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(20, 101, 219, .3); }
.scan .ring { position: absolute; width: 1px; height: 1px; left: var(--mx); top: var(--my); }
.scan .ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--cyan-line); transform: translate(-50%, -50%); }
.hero .hint { position: absolute; right: var(--gutter); bottom: 28px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.hero .hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 720px) { .hero .hint { display: none; } .hero .copy { padding-top: calc(var(--nav-h) + 32px); } }

/* Pan rail */
.rail-act { position: relative; }
.rail-act .bg { position: absolute; inset: 0; z-index: 0; }
.rail-act .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: saturate(.7); }
.rail-act .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ground) 0%, rgba(7, 11, 20, .55) 30%, rgba(7, 11, 20, .55) 70%, var(--ground) 100%); }
.rail-act [data-sc-stage] { display: grid; align-items: center; }
.rail { position: relative; z-index: 1; display: flex; gap: 20px; align-items: stretch; padding: 0 var(--gutter); width: max-content; }
.rail .lead { width: min(460px, 80vw); flex: none; display: grid; align-content: center; gap: 18px; padding-right: 32px; }
.rail .item { width: clamp(300px, 26vw, 380px); flex: none; }
.rail .item .fstep { height: 100%; min-height: clamp(360px, 48vh, 440px); padding: 28px; gap: 14px; align-content: end; background: rgba(14, 22, 39, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rail .item .fstep .ic { width: 56px; height: 56px; border-radius: 14px; margin-bottom: auto; }
.rail .item .fstep .ic svg { width: 26px; height: 26px; }
.rail .item .fstep .h4 { font-size: 24px; }
.rail .item .fstep p { font-size: 15.5px; }
.rail .tail { width: min(560px, 86vw); flex: none; display: grid; align-content: center; gap: 16px; padding-left: 32px; }
.rail-act .readout { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); display: flex; gap: 14px; align-items: center; }
.rail-act .readout i { display: block; width: 160px; height: 2px; background: var(--line); position: relative; }
.rail-act .readout i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; transform: scaleX(var(--sc-p, 0)); }
@media (prefers-reduced-motion: no-preference) {
  .rail .item { opacity: calc(.72 + .28 * clamp(0, (var(--sc-p, 1) * 7 - var(--i, 0)), 1)); transform: translateY(calc((1 - clamp(0, (var(--sc-p, 1) * 7 - var(--i, 0)), 1)) * 16px)); }
}
@media (max-width: 720px) { .rail .item .fstep { min-height: 320px; } .rail-act .readout { display: none; } }

/* Pinned argument (model) */
.argument { display: grid; align-items: center; min-height: 100svh; }
.argument .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.argument .lines { position: relative; min-height: 220px; }
.argument .lines p { position: absolute; inset: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.argument .side { display: grid; gap: 10px; }
.argument .side .row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-soft); font-size: 14.5px; }
.argument .side .row svg { width: 20px; height: 20px; color: var(--cyan); }
@media (max-width: 900px) { .argument .inner { grid-template-columns: 1fr; gap: 28px; } .argument .lines { min-height: 160px; } }

/* Partner logos */
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.logo-row img { height: 30px; width: auto; opacity: .75; filter: grayscale(1) brightness(1.6); transition: opacity .25s ease, filter .25s ease; }
.logo-row a:hover img { opacity: 1; filter: none; }
.logo-row img.tall { height: 42px; }

/* Close */
.close { min-height: min(84svh, 780px); display: grid; align-content: center; position: relative; isolation: isolate; }
.close .bg { position: absolute; inset: 0; z-index: -1; }
.close .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.close .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, .8), rgba(7, 11, 20, .55) 50%, var(--ground) 100%); }
.close .inner { display: grid; align-content: center; gap: 24px; padding: calc(var(--nav-h) + 48px) 0 72px; max-width: 820px; }
.close h2 { font-size: clamp(36px, 5.4vw, 72px); }
.close h2 span { display: block; }
.close h2 span.cy { color: var(--cyan); }
.close .office { display: grid; gap: 4px; font-size: 15px; color: var(--ink-dim); margin-top: 8px; }
.close .office b { color: var(--ink); }

/* Footer */
.foot { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); padding: 56px 0 28px; font-size: 14px; color: rgba(238, 242, 248, .72); }
.foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot .brandcol { display: grid; gap: 14px; align-content: start; }
.foot .brandcol img { height: 36px; width: auto; }
.foot .brandcol p { max-width: 38ch; line-height: 1.5; }
.foot .h4 { color: var(--ink); font-size: 14px; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a:hover { color: var(--ink); }
.foot .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(238, 242, 248, .55); }
.foot .mail { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .foot .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot .top { grid-template-columns: 1fr; } }

/* Inner page head */
.page-head { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; align-items: end; overflow: clip; isolation: isolate; }
.page-head .plane { position: absolute; inset: -10% 0; z-index: 0; }
.page-head .plane img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.page-head .grade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 20, .9) 0%, rgba(7, 11, 20, .6) 45%, rgba(7, 11, 20, .2) 100%), linear-gradient(180deg, rgba(7, 11, 20, .5) 0%, rgba(7, 11, 20, 0) 30%, var(--ground) 100%); }
.page-head .copy { position: relative; z-index: 2; padding: calc(var(--nav-h) + 48px) 0 clamp(40px, 6vw, 72px); display: grid; gap: 22px; max-width: 820px; }
.page-head h1 { font-size: clamp(34px, 5vw, 68px); }
.page-head h1 span { display: block; }
.page-head h1 span.cy { color: var(--cyan); }
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: .5; }
.page-head .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Chapter nav (brief pages) */
.brief { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.chapters { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 2px; }
.chapters a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-faint); border-left: 2px solid transparent; }
.chapters a .mono { font-size: 10.5px; }
.chapters a:hover, .chapters a.active { color: var(--ink); background: rgba(255, 255, 255, .04); }
.chapters a.active { border-left-color: var(--cyan); }
.brief .body { display: grid; gap: var(--sec); }
.brief .body > section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.brief .body .sec-head { margin-bottom: 28px; }
@media (max-width: 1024px) { .brief { grid-template-columns: 1fr; } .chapters { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 8px; scrollbar-width: none; } .chapters a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; } .chapters a.active { border-bottom-color: var(--cyan); } }

/* What-it-is rows */
.rows { display: grid; gap: 12px; }
.rowc { display: grid; grid-template-columns: 44px 200px 1fr; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.rowc .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); }
.rowc .ic svg { width: 22px; height: 22px; }
.rowc .h4 { font-size: 16.5px; }
.rowc p { font-size: 15px; color: var(--ink-dim); }
@media (max-width: 720px) { .rowc { grid-template-columns: 44px 1fr; } .rowc p { grid-column: 2; } }
.oneliner { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--cyan); background: var(--raised); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.oneliner b { color: var(--cyan); font-weight: 600; }

/* Scenario */
.scenario { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.scenario .srow { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.scenario .srow:last-child { border-bottom: 0; }
.scenario .srow .when { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.scenario .srow .h4 { font-size: 16px; margin-bottom: 4px; }
.scenario .srow p { font-size: 15px; color: var(--ink-dim); }
@media (max-width: 720px) { .scenario .srow { grid-template-columns: 1fr; gap: 6px; } }

/* KPI tiles */
.kpi { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.kpi svg { width: 24px; height: 24px; color: var(--cyan); margin-top: 2px; }
.kpi .h4 { font-size: 16px; margin-bottom: 4px; }
.kpi p { font-size: 14.5px; color: var(--ink-dim); }

/* Roles */
.roles { display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.roles .col { border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; }
.roles .col.partner { background: var(--navy); }
.roles .col.ic-col { background: var(--card); border: 1px solid var(--line); }
.roles .col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.roles .col.partner li { padding-left: 14px; border-left: 2px solid var(--cyan); font-size: 15px; font-weight: 500; }
.roles .col.ic-col li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-dim); }
.roles .col.ic-col li svg { width: 18px; height: 18px; color: var(--cyan); }
.roles .mid { display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line-soft); }
.roles .mid svg { width: 32px; height: 32px; color: var(--cyan); }
.roles .mid .h4 { color: var(--cyan); }
.roles .mid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 1px; background: var(--line); }
.phase { position: relative; display: grid; gap: 10px; padding: 0 0 24px; }
.phase .dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--ink); margin: 0 auto; position: relative; z-index: 1; }
.phase:last-child .dot { background: var(--navy); border: 1px solid var(--line); }
.phase .dot svg { width: 22px; height: 22px; }
.phase .when { text-align: center; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-top: 8px; }
.phase .h4 { text-align: center; font-size: 20px; }
.phase ul { list-style: none; margin: 10px 0 0; padding: 18px 20px; display: grid; gap: 8px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-dim); }
.phase ul li { display: flex; gap: 10px; align-items: flex-start; }
.phase ul li svg { width: 16px; height: 16px; color: var(--cyan); flex: none; margin-top: 4px; }
@media (max-width: 800px) { .roadmap { grid-template-columns: 1fr; } .roadmap::before { display: none; } }

/* Case cards (partners) */
.case { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.case .mono { margin-bottom: 4px; }
.case .h4 { font-size: 17px; }
.case p { font-size: 14.5px; color: var(--ink-dim); }
.plogo { height: 36px; width: auto; }
.pcard { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.pcard .logo { height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; }
.pcard .logo img { max-height: 34px; width: auto; max-width: 160px; }
.pcard .h4 { color: var(--cyan); font-size: 15px; }
.pcard p { font-size: 14.5px; color: var(--ink-dim); }
.pcard .tagl { margin-top: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); font: 400 15px/1.4 var(--font-text); transition: border-color .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .fine { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.contact-side { display: grid; gap: 28px; }
.contact-side .kv { display: grid; gap: 18px; }
.contact-side .kv > div { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-side .kv svg { width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.contact-side .kv b { display: block; font-weight: 500; color: var(--ink); }
.contact-side .kv span { color: var(--ink-dim); font-size: 15px; }
.contact-side .kv a.mail { font-size: 18px; font-weight: 500; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* Hub pages */
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } }
.tech-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.tech-card:hover { border-color: var(--cyan-line); transform: translateY(-2px); }
.tech-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); }
.tech-card .ic svg { width: 20px; height: 20px; }
.tech-card .h4 { font-size: 16.5px; }
.tech-card p { font-size: 14px; color: var(--ink-dim); line-height: 1.45; }
.tech-card .arrow-link { font-size: 13.5px; margin-top: 4px; }

/* Group strip */
.group-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.group-strip div { padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-weight: 600; font-family: var(--font-display); text-align: center; }
.group-strip div:first-child { background: var(--navy); border-color: transparent; }
@media (max-width: 720px) { .group-strip { grid-template-columns: 1fr 1fr; } }

/* Reveal defaults (engine handles data-sc-in); fallback visible without JS */
.no-js [data-sc-in] > * { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero .plane, .page-head .plane { transform: none !important; }
  .scan { opacity: .35 !important; -webkit-mask-image: none; mask-image: none; }
  .plate img { transition: none; }
  html { scroll-behavior: auto; }
}
::selection { background: var(--cyan); color: var(--cyan-ink); }

/* phone adjustments */
@media (max-width: 900px) {
  .argument .inner { grid-template-columns: 1fr; }
  .argument .side { display: none; }
  .argument .lines { min-height: 240px; }
  .argument .lines p { font-size: clamp(24px, 6.4vw, 34px); }
}
@media (max-width: 720px) {
  .scan .tag { display: none; }
  .hero .copy { gap: 20px; }
  .hero .foot-line { gap: 10px 18px; }
}

/* light pages: rail, logos, close */
body.light .rail-act .bg { display: none; }
body.light .rail .item .fstep { background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.light .rail-act .readout i { background: var(--line); }
body.light .logo-row img { filter: none; opacity: .85; }
body.light .logo-row a:hover img { opacity: 1; }
body.light .argument .side .row { background: var(--card); border-color: var(--line); }
body.light .plate::after { background: linear-gradient(180deg, rgba(4, 32, 42, .05) 20%, rgba(4, 32, 42, .86) 100%); }
body.light .close { color: #eefbf3; }
body.light .close .lede, body.light .close .office { color: #a9c7c0; } body.light .close .office b { color: #eefbf3; }
body.light .close h2 span.cy { color: #d6fb00; }
body.light .close .btn-solid { background: #d6fb00; color: #0b1a00; }
body.light .stats { background: var(--card); } body.light .stat b { color: var(--navy); }

/* Domain cards (solutions grid): hologram render on a tinted panel, copy below */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.dcard::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); z-index: 2; }
.dcard:hover { border-color: var(--cyan-line); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 84, 95, .35); }
.dcard:hover::before { transform: scaleX(1); }
.dcard .art { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; background:
  radial-gradient(70% 60% at 50% 60%, color-mix(in srgb, var(--navy) 9%, var(--ground)), transparent 72%),
  repeating-linear-gradient(0deg, transparent 0 23px, color-mix(in srgb, var(--line) 70%, transparent) 23px 24px),
  repeating-linear-gradient(90deg, transparent 0 23px, color-mix(in srgb, var(--line) 70%, transparent) 23px 24px),
  var(--ground); }
.dcard .art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(180deg, transparent, var(--card)); pointer-events: none; }
.dcard .art img { position: relative; z-index: 1; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 84, 95, .18)); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.dcard:hover .art img { transform: translateY(-6px) scale(1.05); }
.dcard .art .num { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--ink-faint); }
.dcard .art .ic { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--navy); }
.dcard .art .ic svg { width: 16px; height: 16px; }
.dcard .body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 22px; }
.dcard .body h3 { font-size: 18px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.dcard .body p { font-size: 14.5px; line-height: 1.5; color: var(--ink-dim); }
.dcard .body .arrow-link { margin-top: 6px; font-size: 13.5px; }
.dcard .body .arrow-link svg { transition: transform .25s ease; }
.dcard:hover .body .arrow-link svg { transform: translateX(4px); }
@media (max-width: 1100px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dgrid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .dgrid::-webkit-scrollbar { display: none; } .dcard { flex: 0 0 76%; scroll-snap-align: start; } .dcard .art { aspect-ratio: 5 / 4; } .dgrid-hint { display: flex; } }
.dgrid-hint { display: none; margin-top: 14px; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
@media (prefers-reduced-motion: reduce) { .dcard, .dcard .art img, .dcard::before { transition: none; } }
body:not(.light) .dcard .art img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)) saturate(.9); }
body.light .close .bg img { opacity: .5; filter: saturate(.7); }
body.light .close .bg::after { background: linear-gradient(180deg, rgba(0, 84, 95, .82), rgba(0, 84, 95, .72) 55%, var(--navy) 100%); }

/* Rail cards with photo plates */
.rail .item .fstep.photo { padding: 0; gap: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; align-content: start; }
.rail .item .fstep.photo .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.rail .item .fstep.photo .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rail .item .fstep.photo .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 32, 42, .05), rgba(4, 32, 42, .45)); }
.rail .item:hover .fstep.photo .ph img { transform: scale(1.05); }
.rail .item .fstep.photo .ph .num { position: absolute; top: 14px; right: 16px; z-index: 1; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: #d6fb00; }
.rail .item .fstep.photo .txt { position: relative; display: grid; gap: 8px; padding: 0 24px 26px; align-content: start; }
.rail .item .fstep.photo .txt .ic { width: 52px; height: 52px; border-radius: 14px; margin: -26px 0 6px; border: 3px solid var(--card); background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 8px 20px -10px rgba(0, 84, 95, .5); }
.rail .item .fstep.photo .txt .ic svg { width: 24px; height: 24px; }
.rail .item .fstep.photo .h4 { font-size: 21px; }
.rail .item .fstep.photo p { font-size: 15px; color: var(--ink-dim); }
body.light .rail .item .fstep.photo .txt .ic { background: #d6fb00; color: #0b1a00; }

/* Technology bands: readable heads in both schemes */
.band-head.deep, .band-head.deep h3, .band-head.deep .top svg { color: #eefbf3; }
.band-head.deep p { color: rgba(238, 251, 243, .78); }
.band-head.deep .top .mono { color: #d6fb00; }
.band-head.lite { background: var(--card); border: 1px solid var(--line); }
.band-head.lite, .band-head.lite h3, .band-head.lite .top svg { color: var(--ink); }
.band-head.lite p { color: var(--ink-dim); }
.band-head.lite .top .mono { color: var(--navy); }
body.light .band-head.deep { background: var(--navy); } body.light .band-02 .band-head.deep { background: #0b3540; }
body.light .band-head.lite { background: var(--card); }

/* Brief pages without the chapter rail */
.brief.nonav { grid-template-columns: 1fr; }
.brief.nonav .body { max-width: 1180px; }

/* Static model argument */
.argument.static { min-height: 0; }
.argument.static .lines { min-height: 0; display: grid; gap: 14px; }
.argument.static .lines p { position: static; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.18; }
.argument.static .lines p:nth-child(1) { color: var(--ink); }
.argument.static .lines p:nth-child(2) { color: var(--navy); }
.argument.static .lines p:nth-child(3) { color: var(--ink-dim); font-weight: 500; }
.argument.static .side { display: grid; }
@media (max-width: 900px) { .argument.static .side { display: grid; } .argument.static .lines p { font-size: clamp(21px, 5.6vw, 30px); } }

/* Review fixes: footer contrast on every scheme, tablet grids, hidden headings */
.foot, .foot p, .foot a { color: rgba(238, 251, 243, .78); }
.foot .h4 { color: #eefbf3; }
.foot .mail { color: #d6fb00; font-weight: 500; }
.foot a:hover { color: #ffffff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 721px) and (max-width: 1024px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat:nth-child(3n) { border-right: 0; } .stat { border-bottom: 1px solid var(--line-soft); } .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot .bottom, .foot .bottom span { color: rgba(238, 251, 243, .78); }

/* ===== Home v2: bolder rhythm, no scroll-hijack ===== */
.logo-band { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--raised); }
.logo-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.logo-band .mono { color: var(--ink-faint); }
.logo-band .logo-row { flex: 1; justify-content: space-between; gap: 24px 40px; }
.logo-band .logo-row img { height: 26px; }
@media (max-width: 720px) { .logo-band .wrap { gap: 12px 24px; } .logo-band .logo-row { justify-content: center; gap: 16px 28px; } .logo-band .logo-row img { height: 20px; } }

.sec.deep { background: var(--navy); color: #eefbf3; --ink: #eefbf3; --ink-dim: #b9d4cf; --ink-faint: #8fb3ad; --card: rgba(255, 255, 255, .06); --line: rgba(255, 255, 255, .16); --line-soft: rgba(255, 255, 255, .1); --cyan: #d6fb00; --cyan-ink: #0b1a00; --cyan-soft: rgba(214, 251, 0, .14); --cyan-line: rgba(214, 251, 0, .4); }
.sec.deep .two-tone em { color: #d6fb00; }
.sec.deep .lede { color: var(--ink-dim); }
.bigstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bstat { display: grid; gap: 6px; }
.bstat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 56px); white-space: nowrap; line-height: 1; letter-spacing: -.03em; color: #ffffff; }
.bstat b span { font: inherit; }
.bstat > span { font-size: 14px; color: var(--ink-dim); line-height: 1.35; }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.point { display: grid; gap: 10px; align-content: start; }
.point svg { width: 26px; height: 26px; color: #d6fb00; }
.point .h4 { color: #ffffff; font-size: 18px; }
.point p { font-size: 15.5px; color: var(--ink-dim); line-height: 1.5; }
.answer { margin-top: 44px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; color: #ffffff; }
.answer strong { color: #d6fb00; font-weight: 600; }
.sec.deep .src { color: var(--ink-faint); }
@media (max-width: 1024px) { .bigstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } .bstat b { font-size: clamp(28px, 4.2vw, 40px); } .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bigstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .points { grid-template-columns: 1fr; gap: 24px; } }

.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head .mono { display: block; margin-bottom: 14px; }
.split-head .lede { max-width: 48ch; }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; gap: 14px; } }
.chain-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cstep { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.cstep:hover { transform: translateY(-4px); border-color: var(--cyan-line); box-shadow: 0 24px 48px -28px rgba(0, 84, 95, .35); }
.cstep .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cstep .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.cstep:hover .ph img { transform: scale(1.06); }
.cstep .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 32, 42, .05), rgba(4, 32, 42, .5)); }
.cstep .ph .num { position: absolute; top: 12px; right: 14px; z-index: 1; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: #d6fb00; }
.cstep .txt { position: relative; display: grid; gap: 6px; align-content: start; padding: 0 16px 18px; }
.cstep .txt .ic { width: 42px; height: 42px; border-radius: 12px; margin: -21px 0 6px; display: grid; place-items: center; border: 3px solid var(--card); background: #d6fb00; color: #0b1a00; }
.cstep .txt .ic svg { width: 20px; height: 20px; }
.cstep .h4 { font-size: 17px; line-height: 1.15; }
.cstep p { font-size: 14px; color: var(--ink-dim); line-height: 1.45; }
.cstep:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 38%; width: 8px; height: 8px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg); z-index: 2; }
.chain-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; }
.chain-foot .speaks { font-size: 14px; color: var(--ink-dim); }
.chain-foot .speaks .mono { margin-right: 10px; }
@media (max-width: 1100px) { .chain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cstep:nth-child(3n)::after { display: none; } }
@media (max-width: 560px) { .chain-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; } .chain-grid::-webkit-scrollbar { display: none; } .cstep { flex: 0 0 72%; scroll-snap-align: start; } .cstep::after { display: none !important; } }

.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.layer { display: grid; gap: 18px; align-content: start; padding: 26px 24px 24px; border-radius: var(--r); min-height: 300px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.layer:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 84, 95, .4); }
.layer .top { display: flex; justify-content: space-between; align-items: center; }
.layer .top svg { width: 30px; height: 30px; }
.layer h3 { font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
.layer p { font-size: 15px; color: var(--ink-dim); }
.layer .ex { font-size: 13.5px; line-height: 1.5; color: var(--ink-dim); padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.layer .ex b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.layer .arrow-link { font-size: 14px; }
.layer.deep { background: var(--navy); border-color: transparent; color: #eefbf3; --ink: #eefbf3; --ink-dim: #b9d4cf; --line: rgba(255, 255, 255, .16); }
.layer.teal { background: #0b3540; border-color: transparent; color: #eefbf3; --ink: #eefbf3; --ink-dim: #b9d4cf; --line: rgba(255, 255, 255, .16); }
.layer.deep .top svg, .layer.teal .top svg, .layer.deep .top .mono, .layer.teal .top .mono, .layer.deep .arrow-link, .layer.teal .arrow-link { color: #d6fb00; }
.layer.lite .top svg, .layer.lite .top .mono { color: var(--navy); }
.sec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; }
@media (max-width: 1024px) { .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .layers { grid-template-columns: 1fr; } .layer { min-height: 0; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 6px; align-content: start; padding-right: 12px; }
.timeline .dot { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #d6fb00; color: #0b1a00; border: 4px solid var(--ground); margin-bottom: 10px; }
.timeline .dot svg { width: 22px; height: 22px; }
.timeline .mono { color: var(--ink-faint); }
.timeline .h4 { font-size: 20px; }
.timeline .sub { font-size: 14px; font-weight: 500; color: var(--navy); }
.timeline p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.5; margin-top: 4px; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 70px; } .timeline::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; } .timeline li { padding-right: 0; } .timeline .dot { position: absolute; left: -70px; top: -6px; margin: 0; } }

.card.mini p { font-size: 15px; }
.close { min-height: min(72svh, 680px); }
