/* Vongola Ventures visual system — cache revision 20260824-2 */
:root {
  --night: #03060a;
  --night-soft: #070c12;
  --surface: #0a1119;
  --surface-raised: #0d1620;
  --text: #f4f3f7;
  --text-soft: #b7bec9;
  --muted: #8994a2;
  --line: rgba(153, 177, 199, .18);
  --line-strong: rgba(153, 177, 199, .34);
  --petrol: #167b86;
  --petrol-light: #75dbe2;
  --purple: #6b38d1;
  --purple-light: #aa72ff;
  --allow: #84d9df;
  --block: #b875ff;
  --danger: #ed8ba8;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 34px 100px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--text); background: var(--night); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
::selection { color: var(--night); background: var(--petrol-light); }
:focus-visible { outline: 3px solid var(--petrol-light); outline-color: var(--petrol-light) !important; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--night); background: var(--petrol-light); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; width: 100%; color: var(--text); }
.site-header.is-solid { position: relative; background: rgba(3, 6, 10, .96); }
.nav-shell { position: relative; width: min(1380px, calc(100% - 96px)); height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.brand-mark { width: 28px; height: 28px; display: block; flex: 0 0 28px; border-radius: 50%; object-fit: cover; background: var(--night) url("/assets/vongola-aperture-mark.png") center / cover no-repeat; }
.nav-links { display: flex; align-items: center; gap: 31px; color: var(--text-soft); font-size: 13px; font-weight: 500; }
.nav-links > a, .nav-trigger { text-decoration: none; transition: color .2s ease; }
.nav-links > a:hover, .nav-links > a:focus-visible, .nav-trigger:hover, .nav-trigger:focus-visible, .nav-links [aria-current="page"] { color: var(--text); }
.nav-trigger { min-height: 44px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.nav-trigger::after { content: "↓"; margin-left: 7px; font-size: 10px; }
.nav-trigger[aria-expanded="true"]::after { content: "↑"; }
.nav-item { position: relative; }
.mega-menu { position: absolute; top: 54px; left: 50%; width: 450px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; color: var(--text); background: rgba(6, 11, 17, .98); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: translateX(-50%); visibility: hidden; opacity: 0; transition: opacity .18s ease, transform .18s ease; }
.mega-menu.open { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(4px); }
.mega-menu a { padding: 15px 16px; text-decoration: none; border: 1px solid transparent; }
.mega-menu a:hover, .mega-menu a:focus-visible { border-color: var(--line-strong); background: var(--surface); }
.mega-menu strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.mega-menu span { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.nav-cta { min-height: 44px; padding: 10px 19px; display: inline-flex; align-items: center; color: var(--text) !important; border: 1px solid var(--purple-light); border-radius: 999px; background: rgba(7, 12, 18, .7); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); background: var(--surface); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

section { scroll-margin-top: 24px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--petrol-light); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { font-size: clamp(58px, 6vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(46px, 5.2vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
h3 { font-family: var(--serif); font-weight: 500; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button::after { content: "→"; font-size: 18px; }
.button:hover { transform: translateY(-2px); border-color: var(--petrol-light); background: var(--surface-raised); }
.button-primary { border-color: var(--purple-light); background: rgba(8, 13, 20, .82); }
.button-light { color: var(--text); border-color: var(--petrol-light); background: var(--surface); }
.text-link { padding: 8px 0; color: var(--text-soft); font-size: 14px; font-weight: 700; text-underline-offset: 6px; text-decoration-color: var(--purple-light); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.home-hero { position: relative; min-height: 800px; padding: 170px 0 86px; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-aperture-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; filter: brightness(.94); }
.home-hero-inner { position: relative; z-index: 2; width: min(1380px, calc(100% - 96px)); min-height: 570px; margin: 0 auto; display: grid; grid-template-columns: minmax(440px, .82fr) minmax(570px, 1.18fr); gap: 70px; align-items: center; }
.home-copy { align-self: center; padding-top: 18px; animation: hero-fade .65s ease both; }
.home-copy h1 { max-width: 590px; margin-bottom: 26px; font-size: clamp(54px, 5vw, 72px); }
.home-lede { max-width: 560px; margin-bottom: 34px; color: var(--text-soft); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.72; }
.request-demo { width: min(100%, 590px); margin: 12px 0 0 auto; align-self: center; color: var(--text); animation: hero-fade .65s .12s ease both; }
.demo-window { background: rgba(3, 7, 12, .86); border: 1px solid rgba(125, 213, 223, .13); box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.window-bar { min-height: 44px; padding: 0 23px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; }
.window-name { display: inline-flex; align-items: center; gap: 10px; color: var(--text-soft); }
.window-name::before { content: ""; width: 7px; height: 7px; background: var(--purple-light); border-radius: 50%; box-shadow: 0 0 18px var(--purple-light); }
.demo-body { padding: 20px 26px 22px; }
.request-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.demo-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.request-title { display: block; font-family: var(--serif); font-size: 29px; line-height: 1.08; }
.request-meta { color: var(--muted); font-size: 10px; text-align: right; }
.authority-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 0 0 15px; padding: 2px 0 16px; border-bottom: 1px solid var(--line); }
.authority-name { margin: 0 0 3px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.authority-detail { margin: 0; color: var(--muted); font-size: 11px; }
.authority-state { min-width: 116px; text-align: right; }
.authority-state strong { display: block; color: var(--allow); font-family: var(--serif); font-size: 22px; font-weight: 500; }
.authority-card.is-revoked .authority-state strong { color: var(--block); }
.authority-state span { color: var(--muted); font-size: 10px; }
.outcome-heading { margin-bottom: 9px; }
.outcomes { margin-bottom: 15px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.outcome { min-height: 82px; padding: 13px 17px; color: var(--muted); border-left: 1px solid var(--line); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.outcome:first-child { border-left: 0; }
.outcome strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.outcome p { margin: 0; font-size: 10px; line-height: 1.45; }
.outcome-allow strong { color: var(--allow); }
.outcome-block strong { color: var(--block); }
.outcome.is-current { color: var(--text-soft); background: var(--surface-raised); box-shadow: inset 0 -2px 0 var(--petrol-light); }
.outcome-block.is-current { box-shadow: inset 0 -2px 0 var(--purple-light); }
.decision-row { display: flex; justify-content: flex-end; align-items: center; }
.decision-row > div { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.decision-word { display: block; color: var(--allow); font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.decision-detail { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.decision-row.is-blocked .decision-word { color: var(--block); }
.demo-button { min-width: 160px; min-height: 46px; padding: 0 17px; color: var(--text); border: 1px solid var(--purple-light); border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.demo-button:hover { border-color: var(--petrol-light); background: var(--surface-raised); }
.demo-button[disabled] { opacity: .65; cursor: wait; }
.demo-caption { margin: 11px 2px 0; color: var(--muted); font-size: 10px; }

.consequence-strip { color: var(--text-soft); background: var(--night-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.consequence-inner { width: min(1380px, calc(100% - 96px)); min-height: 94px; margin: 0 auto; display: grid; grid-template-columns: auto repeat(4, 1fr); align-items: center; }
.consequence-inner span { padding: 0 24px; border-left: 1px solid var(--line); font-size: 13px; text-align: center; }
.consequence-inner strong { color: var(--petrol-light); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

.route-section, .workflow-preview, .system-section, .evidence-section { padding: 120px 0; }
.route-section, .evidence-section { background: var(--night); }
.system-section { background: var(--night-soft); }
.route-head, .split-head { display: grid; grid-template-columns: 1.05fr .7fr; gap: 84px; align-items: end; margin-bottom: 56px; }
.route-head h2, .split-head h2 { margin-bottom: 0; }
.section-intro { max-width: 570px; color: var(--text-soft); font-size: 17px; }
.route-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.route-card { min-width: 0; min-height: 320px; padding: 34px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.route-card:first-child { border-left: 0; }
.route-card small, .workflow-card small, .evidence-card small { display: block; margin-bottom: 38px; color: var(--petrol-light); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.route-card h3, .workflow-card h3 { margin: 0 0 12px; font-size: 35px; line-height: 1.05; }
.route-card p, .workflow-card p { color: var(--muted); font-size: 13px; }
.route-card a, .workflow-card a { margin-top: auto; color: var(--text-soft); font-size: 13px; font-weight: 700; text-underline-offset: 5px; text-decoration-color: var(--purple-light); overflow-wrap: anywhere; }
.workflow-preview { color: var(--text); background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.workflow-card { min-width: 0; min-height: 300px; padding: 30px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--night-soft); }
.workflow-card:first-child { border-left: 0; }
.proof-band { padding: 78px 0; color: var(--text); background: var(--night-soft); border-top: 1px solid var(--line); }
.proof-band-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.proof-band h2 { max-width: 760px; margin-bottom: 12px; font-size: clamp(36px, 4vw, 56px); }
.proof-band p { margin: 0; color: var(--muted); }

.page-hero { position: relative; padding: 124px 0 104px; overflow: hidden; background-color: var(--night); background-image: url("/assets/vongola-aperture-hero.png"); background-repeat: no-repeat; background-position: right -250px center; background-size: 900px auto; border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 350px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .62fr; gap: 90px; align-items: end; }
.page-hero h1 { max-width: 800px; margin-bottom: 0; font-size: clamp(54px, 6vw, 86px); }
.page-hero.dark { background-color: var(--night); }
.breadcrumbs { margin: 0 0 25px; color: var(--petrol-light); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.breadcrumbs a { color: var(--text-soft); text-underline-offset: 4px; }
.page-lede { max-width: 480px; margin: 0; color: var(--text-soft); font-size: 17px; }

.stack { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.stack-row { display: grid; grid-template-columns: 190px 1fr 230px; border-top: 1px solid var(--line); }
.stack-row:first-child { border-top: 0; }
.stack-label { padding: 30px; color: var(--petrol-light); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stack-copy { padding: 28px 32px; border-left: 1px solid var(--line); }
.stack-copy h3 { margin: 0 0 7px; font-size: 28px; }
.stack-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.stack-output { padding: 28px 32px; color: var(--text-soft); border-left: 1px solid var(--line); font-size: 12px; }
.stack-output strong { display: block; margin-bottom: 5px; color: var(--purple-light); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.workflow-matrix { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.workflow-matrix th, .workflow-matrix td { padding: 22px 24px; border: 1px solid var(--line); text-align: left; }
.workflow-matrix th { color: var(--petrol-light); background: var(--night-soft); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.workflow-matrix td { color: var(--text-soft); font-size: 13px; }
.workflow-matrix td:first-child { color: var(--text); font-family: var(--serif); font-size: 22px; }
.workflow-matrix a { text-underline-offset: 5px; text-decoration-color: var(--purple-light); }
.workflow-detail { padding: 112px 0; background: var(--night-soft); }
.workflow-detail-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.workflow-detail h2 { margin-bottom: 22px; }
.workflow-detail p { color: var(--text-soft); }
.data-panel { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.data-panel-head { padding: 22px 26px; color: var(--petrol-light); background: var(--night); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.data-row { display: grid; grid-template-columns: 170px 1fr; min-height: 76px; border-top: 1px solid var(--line); }
.data-row:first-of-type { border-top: 0; }
.data-row span, .data-row strong { padding: 22px 26px; }
.data-row span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.data-row strong { color: var(--text-soft); border-left: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.state-block { color: var(--danger) !important; }
.state-allow { color: var(--allow) !important; }
.acceptance { padding: 112px 0; color: var(--text); background: var(--surface); border-top: 1px solid var(--line); }
.acceptance-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.test-list { border-top: 1px solid var(--line); }
.test-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.test-row span { color: var(--purple-light); font-family: var(--serif); font-size: 20px; }
.test-row p { margin: 0; color: var(--text-soft); font-size: 13px; }
.test-row strong { color: var(--petrol-light); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.pilot-section { padding: 112px 0; color: var(--text); background: var(--surface); border-bottom: 1px solid var(--line); }
.pilot-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.price { display: block; margin-top: 50px; color: var(--petrol-light); font-family: var(--serif); font-size: clamp(62px, 7vw, 90px); line-height: 1; letter-spacing: -.04em; }
.price-note { margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.pilot-list { border-top: 1px solid var(--line); }
.pilot-row { display: grid; grid-template-columns: 38px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pilot-row > span { color: var(--purple-light); font-family: var(--serif); font-size: 21px; }
.pilot-row h3 { margin: 0 0 5px; font-size: 27px; }
.pilot-row p { margin: 0; color: var(--text-soft); font-size: 13px; }
.pilot-fineprint { margin: 22px 0 0 60px; color: var(--muted); font-size: 11px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow); }
.evidence-card { min-height: 290px; padding: 32px; background: var(--surface); }
.evidence-card h3 { margin: 36px 0 12px; font-size: 31px; }
.evidence-card p { color: var(--muted); font-size: 13px; }
.evidence-card ul { padding-left: 18px; color: var(--text-soft); font-size: 12px; }
.brief { padding: 112px 0; color: var(--text); background: var(--night-soft); border-top: 1px solid var(--line); }
.brief-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(440px,1.1fr); gap: 96px; align-items: start; }
.brief h2 { max-width: 600px; }
.brief-copy > p { max-width: 470px; color: var(--text-soft); font-size: 16px; }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--petrol-light); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.availability::before { content: ""; width: 8px; height: 8px; background: var(--petrol-light); border-radius: 50%; box-shadow: 0 0 18px var(--petrol-light); }
.interest-form { padding: 38px; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 19px; }
label { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 12px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="url"] { width: 100%; min-height: 50px; padding: 10px 13px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 0; background: var(--night-soft); }
input:focus { border-color: var(--petrol-light); outline: 2px solid rgba(117,219,226,.15); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checks { margin: 6px 0 23px; display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.check input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--petrol); }
.check label { margin: 0; font: inherit; }
.form-submit { width: 100%; }
.form-status { min-height: 24px; margin: 13px 0 0; font-size: 12px; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { color: var(--allow); }
.cta-band { padding: 78px 0; color: var(--text); background: var(--surface); border-top: 1px solid var(--line); }
.cta-band-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { max-width: 760px; margin: 0; font-size: clamp(38px, 4.2vw, 58px); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 70px; }
.policy-list { position: sticky; top: 30px; height: fit-content; border: 1px solid var(--line); background: var(--surface); }
.policy-list a { display: block; padding: 13px 16px; color: var(--text-soft); border-top: 1px solid var(--line); text-decoration: none; font-size: 12px; }
.policy-list a:first-child { border-top: 0; }
.policy-row { padding: 42px 0; border-top: 1px solid var(--line); }
.policy-row:first-child { padding-top: 0; border-top: 0; }
.policy-row h2 { font-size: clamp(38px, 4vw, 58px); }
.policy-row h3 { margin: 30px 0 8px; font-size: 24px; }
.policy-row p, .policy-row li { color: var(--text-soft); }
.plain-box { padding: 24px; background: var(--surface); border: 1px solid var(--line); }

.site-footer { color: var(--muted); background: var(--night); }
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 210px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); font-size: 11px; }
.footer-brand { max-width: 250px; }
.footer-brand p { margin-top: 18px; color: var(--muted); }
.footer-group strong { display: block; margin-bottom: 14px; color: var(--petrol-light); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.footer-group a { display: block; margin: 8px 0; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1121px) {
  .home-copy { transform: translateY(-34px); }
}

@media (max-width: 1120px) {
  .home-hero { min-height: 0; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .home-copy { max-width: 720px; }
  .request-demo { max-width: 720px; margin: 0 auto; }
  .hero-aperture-media { object-position: 64% center; opacity: .78; }
  .route-head, .split-head, .page-hero-inner, .workflow-detail-grid, .acceptance-grid, .pilot-grid, .brief-grid { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-inner { min-height: 310px; }
  .brief-grid { grid-template-columns: minmax(0,1fr); }
  .interest-form { max-width: 720px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stack-row { grid-template-columns: 150px 1fr 190px; }
}

@media (max-width: 780px) {
  .nav-shell, .home-hero-inner, .consequence-inner, .section-shell, .page-hero-inner, .proof-band-inner, .cta-band-inner, .footer-inner { width: min(100% - 34px, 680px); }
  .nav-shell { height: 76px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; display: none; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 72px 28px; color: var(--text); background: var(--night); font-family: var(--serif); font-size: 30px; overflow: auto; }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { color: var(--text); font-family: var(--serif); font-size: 30px; text-align: left; }
  .nav-cta { margin-top: 10px; justify-content: center; text-align: center !important; }
  .nav-item { width: 100%; }
  .mega-menu { position: static; width: 100%; margin: 0; padding: 6px; grid-template-columns: 1fr; color: var(--text); transform: none; display: none; visibility: visible; opacity: 1; box-shadow: none; }
  .mega-menu.open { display: grid; transform: none; }
  .menu-toggle[aria-expanded="true"] { position: fixed; z-index: 2; right: 17px; }
  .home-hero { padding: 126px 0 72px; }
  .home-hero-inner { min-height: 0; }
  .hero-aperture-media { height: 760px; object-position: 67% center; opacity: .62; }
  h1 { font-size: clamp(50px, 15vw, 72px); }
  .home-lede { font-size: 17px; }
  .request-demo { width: 100%; }
  .demo-window { backdrop-filter: none; background: rgba(3,7,12,.94); }
  .demo-body { padding: 20px 17px; }
  .request-head { display: block; }
  .request-meta { margin-top: 7px; text-align: left; }
  .authority-card { grid-template-columns: 1fr; gap: 8px; }
  .authority-state { text-align: left; }
  .trace { grid-template-columns: 1fr; }
  .trace li { border-left: 0; border-top: 1px solid var(--line); }
  .trace li:first-child { border-top: 0; }
  .decision-row { grid-template-columns: 1fr; }
  .demo-button { width: 100%; }
  .consequence-inner { grid-template-columns: 1fr 1fr; padding: 22px 0; }
  .consequence-inner strong { grid-column: 1 / -1; padding: 0 0 12px; }
  .consequence-inner span { padding: 10px; border-left: 0; border-top: 1px solid var(--line); }
  .route-section, .workflow-preview, .system-section, .evidence-section, .workflow-detail, .acceptance, .pilot-section, .brief { padding: 84px 0; }
  h2 { font-size: clamp(42px, 13vw, 62px); }
  .route-head, .split-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .route-grid, .workflow-grid, .evidence-grid { grid-template-columns: 1fr; }
  .route-card, .workflow-card { min-height: 245px; border-left: 0; border-top: 1px solid var(--line); }
  .route-card:first-child, .workflow-card:first-child { border-top: 0; }
  .proof-band-inner, .cta-band-inner { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 84px; background-position: center bottom -80px; background-size: 620px auto; }
  .page-hero-inner { gap: 28px; align-items: end; }
  .stack-row { grid-template-columns: 1fr; }
  .stack-label { padding: 24px 24px 0; }
  .stack-copy { padding: 12px 24px 24px; border-left: 0; }
  .stack-output { padding: 18px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .workflow-matrix, .workflow-matrix tbody, .workflow-matrix tr, .workflow-matrix td { display: block; }
  .workflow-matrix thead { display: none; }
  .workflow-matrix tr { border-top: 1px solid var(--line); }
  .workflow-matrix tr:first-child { border-top: 0; }
  .workflow-matrix td { border: 0; padding: 9px 22px; }
  .workflow-matrix td:first-child { padding-top: 24px; }
  .workflow-matrix td:last-child { padding-bottom: 24px; }
  .data-row { grid-template-columns: 1fr; }
  .data-row span { padding: 18px 22px 0; }
  .data-row strong { padding: 8px 22px 18px; border-left: 0; }
  .test-row { grid-template-columns: 34px 1fr; }
  .test-row strong { grid-column: 2; }
  .price { margin-top: 34px; }
  .pilot-fineprint { margin-left: 0; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .interest-form { padding: 25px 20px; }
  .legal-grid { grid-template-columns: 1fr; }
  .policy-list { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .brand { letter-spacing: .13em; font-size: 10px; }
}

@media (max-width: 360px) {
  .nav-shell, .home-hero-inner, .consequence-inner, .section-shell, .page-hero-inner, .proof-band-inner, .cta-band-inner, .footer-inner { width: calc(100% - 28px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .request-title { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-aperture-media { filter: brightness(.94) !important; }
}
