/* Panotrix: AI engineering platform. Black, white and one lime accent. */
:root {
  --bg: #F4F6F1;
  --bg-2: #ECEFE8;
  --panel: #FFFFFF;
  --line: rgba(11, 20, 16, 0.11);
  --line-2: rgba(62, 138, 12, 0.35);
  --text: #0B1410;
  --soft: #36433C;
  --muted: #66746B;
  --lime: #3E8A0C;
  --fill: #B8FB5A;
  --neon: #2FB955;
  --yellow: #8A8F00;
  --ink: #0A1A05;
  --max: 1360px;
  --display: 'Barlow', 'D-DIN', Arial, sans-serif;
  --body: 'Barlow', 'D-DIN', Arial, sans-serif;
  --mono: 'Barlow Semi Condensed', 'Barlow', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* film grain over everything */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lime); }
.label.dim { color: var(--muted); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; text-transform: uppercase; }
h2.title { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 84px); letter-spacing: -0.035em; line-height: 0.98; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--soft); line-height: 1.55; }
.lime { color: var(--lime); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; padding: 15px 26px; border-radius: 2px; border: 1px solid transparent; background: none; color: inherit; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.3s; position: relative; }
.btn-lime { background: var(--fill); color: var(--ink); border-color: rgba(62, 138, 12, 0.35); }
.btn-lime:hover { background: #d2ff8c; box-shadow: 0 0 40px rgba(184, 251, 90, 0.45); }
.btn-line { border-color: rgba(11, 20, 16, 0.28); color: var(--text); }
.btn-line:hover { border-color: var(--lime); color: var(--lime); }
.btn .ar { transition: transform 0.3s var(--ease); }
.btn:hover .ar { transform: translateX(5px); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(244, 246, 241, 0.86); backdrop-filter: blur(16px); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: 0.22em; }
.brand img { width: 40px; height: 40px; }
.links { display: flex; gap: 36px; font-size: 13px; font-family: var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); }
.nav .btn { padding: 11px 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); color: var(--text); cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; overflow: hidden; }
.hero video { position: absolute; top: 50%; transform: translateY(-60%); right: -7%; width: 68%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(244, 246, 241, 0.6) 34%, rgba(244, 246, 241, 0) 62%), linear-gradient(90deg, rgba(244, 246, 241, 0.85) 0%, rgba(244, 246, 241, 0) 55%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding: 104px 0 24px; }
.hero h1 { font-size: clamp(48px, 6.6vw, 116px); margin: 20px 0 26px; }
.hero h1 .row { display: block; overflow: hidden; }
.hero h1 .row span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .row:nth-child(2) span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }
.hero-bottom { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero .lead { max-width: 640px; font-size: clamp(17px, 1.4vw, 22px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
.fade-up.d1 { animation-delay: 0.45s; } .fade-up.d2 { animation-delay: 0.6s; } .fade-up.d3 { animation-delay: 0.75s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); opacity: 0.75; text-align: left; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-meta b { color: var(--lime); font-weight: 400; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); margin-right: 8px; box-shadow: 0 0 12px var(--neon); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

/* section scaffolding */
.sec { padding: 160px 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 80px; }
.sec-head .label { display: block; margin-bottom: 26px; }
.rule { border-top: 1px solid var(--line); }

/* manifesto: words light up on scroll */
.manifesto { padding: 70px 0 110px; }
.manifesto p { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -0.025em; max-width: 1240px; }
.manifesto .w { color: rgba(11, 20, 16, 0.12); transition: color 0.4s; }
.manifesto .w.on { color: var(--text); }
.manifesto .w.on.hl { color: var(--lime); }

/* platform: sticky visual, scrolling layers */
.platform { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
.layers { display: flex; flex-direction: column; }
.layer { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 40px 0; border-top: 1px solid var(--line); opacity: 0.32; transition: opacity 0.5s; }
.layer.active { opacity: 1; }
.layer .idx { font-family: var(--mono); font-size: 13px; color: var(--lime); letter-spacing: 0.2em; }
.layer h3 { font-size: clamp(30px, 3.2vw, 48px); text-transform: uppercase; letter-spacing: -0.03em; }
.layer p { color: var(--soft); max-width: 500px; }
.layer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.layer li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; padding: 6px 12px; border: 1px solid var(--line); color: var(--soft); }
.layer .inline-img { display: none; }
.stage { position: sticky; top: 14vh; height: 72vh; border: 1px solid var(--line); background: #000; overflow: hidden; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.stage img.on { opacity: 1; transform: none; }
.stage .tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; background: rgba(4, 10, 10, 0.8); border: 1px solid rgba(184, 251, 90, 0.35); color: var(--fill); padding: 8px 12px; }
.stage::before, .stage::after { content: ''; position: absolute; z-index: 2; width: 26px; height: 26px; border-color: var(--fill); border-style: solid; }
.stage::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.stage::after { top: 12px; right: 12px; border-width: 1px 1px 0 0; }

/* the loop */
.loop-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.loop-svg { width: 100%; max-width: 560px; margin: 0 auto; overflow: visible; }
.loop-svg .ring { fill: none; stroke: rgba(11, 20, 16, 0.14); stroke-width: 1; }
.loop-svg .ring-dash { fill: none; stroke: var(--lime); stroke-width: 1.4; stroke-dasharray: 3 9; animation: spin 40s linear infinite; transform-origin: 280px 280px; }
.loop-svg .orbit { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 110 1272.3; animation: orbit 6s linear infinite; filter: drop-shadow(0 0 6px var(--fill)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { stroke-dashoffset: -1382.3; } }
.loop-svg .node circle { fill: var(--panel); stroke: var(--lime); stroke-width: 1.4; }
.loop-svg .node text { fill: var(--text); font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-anchor: middle; }
.loop-svg .core { fill: url(#coreGrad); }
.loop-svg .core-t { fill: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; text-anchor: middle; letter-spacing: 0.02em; }
/* mini progress ring on the sticky stage */
.mini-ring { position: absolute; top: 22px; right: 22px; width: 104px; height: 104px; z-index: 3; overflow: visible; }
.mr-seg { fill: none; stroke: rgba(242, 245, 239, 0.18); stroke-width: 7; transition: stroke 0.5s; }
.mr-seg.done { stroke: rgba(184, 251, 90, 0.45); }
.mr-seg.on { stroke: #B8FB5A; filter: drop-shadow(0 0 6px #B8FB5A); }
.mr-n { fill: #F2F5EF; font-family: var(--display); font-weight: 700; font-size: 26px; text-anchor: middle; }
.mr-t { fill: #9fb3a7; font-family: var(--mono); font-size: 12px; text-anchor: middle; letter-spacing: 0.1em; }
.stage::after { display: none; }
.stage img[src*="vx_request"] { object-position: left center; }

/* loop visual v2: five segments that light up in turn */
.loop-viz { width: 100%; max-width: 600px; margin: 0 auto; }
.loop-viz svg { width: 100%; height: auto; overflow: visible; }
.lv-ticks line { stroke: rgba(11, 20, 16, 0.22); stroke-width: 1; }
.lv-ticks line.major { stroke: var(--lime); stroke-width: 1.6; }
.lv-ticks { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.lv-ring { fill: none; stroke: rgba(11, 20, 16, 0.1); }
.lv-seg { fill: none; stroke: rgba(11, 20, 16, 0.07); stroke-width: 22; stroke-linecap: butt; transition: stroke 0.6s; }
.lv-seg.on { stroke: var(--fill); filter: url(#segGlow); }
.lv-seg-edge { fill: none; stroke: rgba(11, 20, 16, 0.2); stroke-width: 1; }
.lv-seg-edge.on { stroke: var(--lime); stroke-width: 1.6; }
.lv-runner { fill: var(--lime); filter: drop-shadow(0 0 6px var(--fill)); }
.lv-spin { transform-origin: 300px 300px; animation: spin 26s linear infinite; }
.lv-spin.rev { animation-duration: 18s; animation-direction: reverse; }
.lv-dash { fill: none; stroke: var(--lime); stroke-opacity: 0.45; stroke-width: 1.2; stroke-dasharray: 2 10; }
.lv-dash2 { fill: none; stroke: rgba(11, 20, 16, 0.25); stroke-width: 1; stroke-dasharray: 26 14 4 14; }
.lv-spoke { stroke: var(--lime); stroke-width: 1.4; stroke-dasharray: 3 5; transform-origin: 300px 300px; transition: transform 0.8s var(--ease); }
.lv-glow { animation: breathe 2.4s ease-in-out infinite; transform-origin: 300px 300px; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.6; } }
.lv-core { fill: #0B1410; }
.lv-core-ring { fill: none; stroke: var(--fill); stroke-width: 2; }
.lv-core-t1 { fill: var(--fill); font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; text-anchor: middle; }
.lv-core-t2 { fill: #F2F5EF; font-family: var(--display); font-weight: 700; font-size: 30px; text-anchor: middle; }
.lv-label text { font-family: var(--mono); text-anchor: middle; transition: fill 0.5s; }
.lv-label .n { font-size: 12px; fill: var(--muted); letter-spacing: 0.15em; }
.lv-label .t { font-size: 13.5px; fill: var(--soft); letter-spacing: 0.14em; font-weight: 600; }
.lv-label.on .n { fill: var(--lime); }
.lv-label.on .t { fill: var(--text); }
.loop-steps { display: flex; flex-direction: column; }
.loop-steps > div.on { background: linear-gradient(90deg, rgba(184, 251, 90, 0.28), rgba(184, 251, 90, 0)); padding-left: 14px; }
.loop-steps > div.on b { color: var(--text); }
.loop-steps > div { transition: background 0.5s, padding 0.5s; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.loop-steps b { font-family: var(--mono); font-weight: 400; color: var(--lime); font-size: 13px; letter-spacing: 0.16em; padding-top: 4px; }
.loop-steps h3 { font-size: 22px; text-transform: uppercase; }
.loop-steps p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* proof */
.proof { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 100px; }
.proof > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.proof::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 8%, rgba(244, 246, 241, 0.55) 55%, var(--bg) 100%); }
.proof .wrap { position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); margin-top: 64px; }
.stat { padding: 30px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.6vw, 88px); letter-spacing: -0.04em; line-height: 1; }
.stat .num small { font-size: 0.42em; letter-spacing: 0; margin-left: 6px; color: var(--lime); }
.stat p { font-size: 15px; color: var(--soft); margin-top: 14px; max-width: 240px; }
.play { display: inline-flex; align-items: center; gap: 16px; margin-top: 42px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; background: none; border: none; color: var(--text); }
.play i { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--lime); display: grid; place-items: center; color: var(--lime); font-style: normal; font-size: 16px; position: relative; transition: background 0.3s, color 0.3s; }
.play i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(184, 251, 90, 0.35); animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.play:hover i { background: var(--fill); color: var(--ink); border-color: var(--fill); }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; background: #E3E6E1; border: 1px solid var(--line); min-height: 440px; grid-column: span 6; display: flex; align-items: flex-end; isolation: isolate; }
.tile.w4 { grid-column: span 4; }
.tile.w3 { grid-column: span 3; min-height: 340px; }
.tile.wide { grid-column: span 12; min-height: 300px; }
.tile.wide .cap { max-width: 640px; }
.tile.wide.semi { background: #F7F8F5; border-color: rgba(62, 138, 12, 0.35); }
.tile.wide > img.chip { left: auto; right: 0; width: 64%; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.tile.wide.semi::before { background: linear-gradient(90deg, #F7F8F5 30%, rgba(247, 248, 245, 0) 52%); }
.tile.wide.semi:hover > img.chip { transform: scale(1.03); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), opacity 0.6s; opacity: 1; }
.tile:hover > img { transform: scale(1.06); opacity: 1; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(244, 246, 241, 0.97) 10%, rgba(244, 246, 241, 0.75) 32%, rgba(244, 246, 241, 0) 62%); }
.tile .cap { padding: 30px; width: 100%; }
.tile.dark { background: #050D0D; }
.tile.dark::before { background: linear-gradient(0deg, rgba(4, 10, 10, 0.94) 8%, rgba(4, 10, 10, 0.55) 34%, rgba(4, 10, 10, 0) 62%); }
.tile.dark h3 { color: #F2F5EF; }
.tile.dark p { color: #C3CDC6; }
.tile.dark .state { color: #B8FB5A; }
.tile h3 { font-size: clamp(24px, 2.2vw, 34px); text-transform: uppercase; letter-spacing: -0.02em; margin: 12px 0 8px; }
.tile p { color: var(--soft); font-size: 15px; max-width: 420px; }
.state { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; display: inline-flex; align-items: center; gap: 8px; color: var(--lime); }
.state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.state.next { color: var(--yellow); }
.state.plan { color: var(--muted); }
.tile.art { background: radial-gradient(circle at 70% 25%, rgba(184, 251, 90, 0.18), transparent 55%), var(--panel); }
.tile.art svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; transition: opacity 0.6s, transform 1.2s var(--ease); }
.tile.art:hover svg.bg { opacity: 0.9; transform: scale(1.04); }
.tile.art::before { background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 14%, rgba(255, 255, 255, 0) 70%); }
.tile.semi { border-color: rgba(138, 143, 0, 0.45); background: radial-gradient(circle at 70% 25%, rgba(233, 243, 96, 0.35), transparent 55%), var(--panel); }
.sub-label { display: flex; align-items: center; gap: 18px; margin: 46px 0 18px; }
.sub-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* technology roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.road .bar { position: absolute; left: 0; top: 7px; height: 1px; width: 0; background: linear-gradient(90deg, var(--lime), #C6D600); box-shadow: 0 0 12px var(--fill); transition: width 2.4s var(--ease); }
.road.in .bar { width: 100%; }
.phase { padding: 46px 40px 0 0; position: relative; }
.phase::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--lime); }
.phase.now::before { background: var(--fill); border-color: var(--lime); box-shadow: 0 0 18px var(--fill); }
.phase h3 { font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; margin: 14px 0 14px; }
.phase p { color: var(--soft); max-width: 380px; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { padding: 40px 30px 40px 0; }
.trust div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.trust h3 { font-size: 19px; text-transform: uppercase; margin: 16px 0 8px; letter-spacing: 0.01em; }
.trust p { color: var(--muted); font-size: 15px; }
.trust svg { width: 30px; height: 30px; stroke: var(--lime); fill: none; stroke-width: 1.4; }

/* company */
.company { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.mission { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.65vw, 54px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; }
.mission-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.mission-sub { font-size: clamp(15px, 1.12vw, 17px); color: var(--soft); line-height: 1.6; }
@media (min-width: 1100px) { .mission, .mission-sub { white-space: nowrap; } }
.founder-card { border: 1px solid var(--line); background: var(--panel); padding: 34px; display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: center; }
.founder-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 2px solid var(--lime); }
.founder-card h3 { font-size: 26px; }
.founder-card .label { display: block; margin: 6px 0 12px; }
.founder-card p { font-size: 15px; color: var(--soft); }
.founder-card a { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--lime); letter-spacing: 0.1em; }

/* final cta */
.final { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px 0 130px; border-top: 1px solid var(--line); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 70% at center, rgba(244, 246, 241, 0.88) 0%, rgba(244, 246, 241, 0.6) 60%, var(--bg) 100%); }
.final .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { font-size: clamp(52px, 8.5vw, 136px); margin: 4px 0 8px; }
.final .lead { margin: 6px 0 10px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 70px 0 50px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.2em; color: var(--text); margin-bottom: 16px; text-transform: uppercase; }
.foot a { display: block; padding: 4px 0; transition: color 0.2s; }
.foot a:hover { color: var(--lime); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }

/* video lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(2, 6, 6, 0.92); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox video { width: min(1200px, 100%); border: 1px solid var(--line-2); box-shadow: 0 0 120px rgba(184, 251, 90, 0.15); }
.lightbox .x { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 20px; cursor: pointer; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.1s; } .rv.d2 { transition-delay: 0.2s; } .rv.d3 { transition-delay: 0.3s; }

/* request page */
.req { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 140px 0 90px; }
.req h1 { font-size: clamp(48px, 6vw, 96px); margin: 22px 0 26px; }
.req-points { margin-top: 36px; }
.req-points div { display: grid; grid-template-columns: 60px 1fr; padding: 18px 0; border-top: 1px solid var(--line); color: var(--soft); }
.req-points b { font-family: var(--mono); font-weight: 400; color: var(--lime); }
.form { border: 1px solid var(--line); background: var(--panel); padding: 44px; position: relative; }
.form::before { content: ''; position: absolute; top: -1px; left: -1px; width: 60px; height: 60px; border-top: 2px solid var(--lime); border-left: 2px solid var(--lime); }
.form form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 14px 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184, 251, 90, 0.12); }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); text-align: center; }
.sent { display: none; flex-direction: column; gap: 16px; align-items: flex-start; }
.sent.show { display: flex; }
.sent .ok { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--ink); font-size: 26px; font-weight: 700; box-shadow: 0 0 40px rgba(184, 251, 90, 0.4); }
.sent h3 { font-size: 28px; text-transform: uppercase; }
.sent p { color: var(--soft); }

/* responsive */
@media (max-width: 1100px) {
  .links { gap: 22px; }
  .platform { grid-template-columns: 1fr; gap: 0; }
  .stage { display: none; }
  .layer { min-height: auto; opacity: 1; padding: 56px 0; }
  .layer .inline-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); margin-top: 10px; }
  .loop-wrap, .company, .req { grid-template-columns: 1fr; gap: 56px; }
  .tile, .tile.w4 { grid-column: span 12; }
  .tile.w3 { grid-column: span 6; }
  .tile.wide { grid-column: span 12; min-height: 260px; }
  .tile.wide.semi { min-height: 380px; }
  .tile.wide > img.chip { width: 100%; height: 62%; bottom: auto; object-position: 62% center; -webkit-mask-image: none; mask-image: none; }
  .tile.wide.semi::before { background: linear-gradient(0deg, #F7F8F5 42%, rgba(247, 248, 245, 0) 62%); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: none; }
  .stat { padding-bottom: 30px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(3) { padding-left: 0; border-left: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(4, 10, 10, 0.98); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .nav .btn { display: none; }
  .hero video { top: 72px; transform: none; right: 0; width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
  .hero { height: auto; min-height: 0; }
  .hero-in { position: relative; padding-top: calc(56vw + 96px); }
  .hero::after { background: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; }
  .sec { padding: 100px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .manifesto { padding: 50px 0 80px; }
  .tile.w3 { grid-column: span 12; }
  .tile { min-height: 360px; }
  .road { grid-template-columns: 1fr; gap: 40px; }
  .road::before, .road .bar { display: none; }
  .phase { padding: 0 0 0 34px; }
  .stats, .trust { grid-template-columns: 1fr; }
  .stat + .stat, .trust div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .trust div { padding: 28px 0; }
  .founder-card { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .form { padding: 26px; }
  .form form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .fade-up { opacity: 1; transform: none; }
  .hero h1 .row span { transform: none; }
}

/* proof: centred engine between the headline and the numbers */
.proof { min-height: auto; display: block; padding: 150px 0 110px; }
.proof::before { display: none; }
.proof .wrap { position: relative; }
.proof-visual { position: absolute; z-index: -1; top: 0; left: 50%; transform: translateX(-50%); width: 84%; max-width: 1100px; aspect-ratio: 1300 / 570; object-fit: cover; opacity: 0.32; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 55%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 70% 75% at 50% 55%, #000 50%, transparent 100%); }
@media (max-width: 760px) { .proof-visual { width: 130%; right: -30%; top: 60px; opacity: 0.25; } }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); opacity: 0.8; }

/* ---- consistent vertical rhythm between sections (~180px desktop, ~120px phone) ---- */
.sec { padding: 90px 0; }
.manifesto { padding: 70px 0 90px; }
.proof { padding: 90px 0 90px; }
.final { padding: 100px 0 110px; }
.layer:last-child { min-height: 30vh; padding-bottom: 0; }
#technology { padding-top: 90px !important; }
@media (max-width: 760px) {
  .sec { padding: 60px 0; }
  .manifesto { padding: 90px 0 60px; }
  .proof { padding: 60px 0; }
  .final { padding: 70px 0 50px; }
  .layer:last-child { min-height: auto; padding-bottom: 0; }
}

/* section headings: title on two clean lines, paragraph aligned to its baseline */
h2.title { font-size: clamp(34px, 4.1vw, 64px); line-height: 1.04; }
.sec-head { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.sec-head .lead { max-width: 540px; justify-self: end; padding-bottom: 8px; font-size: clamp(16px, 1.2vw, 19px); }
@media (max-width: 760px) { .sec-head .lead { justify-self: start; padding-bottom: 0; } }
@media (max-width: 1100px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } .sec-head .lead { justify-self: start; max-width: 640px; } }

.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
.sec-head.center .title { max-width: 1300px; }
.sec-head.center .lead { justify-self: center; max-width: 760px; padding-bottom: 0; }

/* all section headings centred: label, title, then text */
.sec-head { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 22px; }
.sec-head .title { max-width: 1300px; margin-left: auto; margin-right: auto; }
.sec-head .lead { justify-self: center !important; max-width: 760px; padding-bottom: 0; }
.proof .wrap > .label, .proof .wrap > .title, .proof .wrap > .lead { display: block; text-align: center; margin-left: auto; margin-right: auto; }

/* industry tiles, reference style: rounded dark card, part on the right, text left-centre */
.tile.ref { min-height: 0; aspect-ratio: 1600 / 820; border-radius: 16px; border: 1px solid rgba(184, 251, 90, 0.22); background: #060E0D; align-items: center; }
.tile.ref > img { opacity: 1; }
.tile.ref::before { background: linear-gradient(90deg, rgba(6, 14, 13, 0.75) 0%, rgba(6, 14, 13, 0.45) 30%, rgba(6, 14, 13, 0) 50%); }
.tile.ref .cap { padding: 0 0 0 clamp(22px, 2.6vw, 44px); max-width: 46%; }
.tile.ref h3 { color: #F2F5EF; font-size: clamp(22px, 2.2vw, 36px); line-height: 1.05; margin: 12px 0 12px; }
.tile.ref p { color: #C3CDC6; font-size: clamp(13px, 1vw, 16px); line-height: 1.5; }
.tile.ref .state { color: #B8FB5A; }
.tile.ref:hover { border-color: rgba(184, 251, 90, 0.55); }
@media (max-width: 760px) { .tile.ref { aspect-ratio: auto; min-height: 300px; align-items: flex-end; } .tile.ref .cap { max-width: 100%; padding: 22px; }
  .tile.ref::before { background: linear-gradient(0deg, rgba(6, 14, 13, 0.95) 10%, rgba(6, 14, 13, 0) 65%); } }
.tile.ref { align-items: flex-end; }
.tile.ref .cap { padding-bottom: clamp(22px, 2.6vw, 44px); }
.tile.ref::before { background: linear-gradient(90deg, rgba(6, 14, 13, 0.85) 0%, rgba(6, 14, 13, 0.5) 32%, rgba(6, 14, 13, 0) 52%), linear-gradient(0deg, rgba(6, 14, 13, 0.6) 0%, rgba(6, 14, 13, 0) 45%); }
.tile.ref { border-radius: 0; }
.hero-meta { font-size: 12px; opacity: 0.85; }
@media (max-width: 760px) { .hero h1 { font-size: clamp(36px, 10.5vw, 52px); } }

/* ---- final polish ---- */
.tile.w3 .cap p { min-height: 3em; }                     /* coming-next titles share one baseline */
.proof-visual { opacity: 0.2; }                           /* engine stays behind, text stays crisp */
.proof .lead { text-shadow: 0 0 18px var(--bg), 0 0 6px var(--bg); }
.foot a.brand { display: flex; }                          /* footer logo + wordmark on one row */
.sec-head.center .lead, .sec-head .lead { max-width: 820px; }

/* ---- SpaceX-style type: DIN-like, uppercase, tracked, no tight negative spacing ---- */
h1, h2, h3, .display, h2.title, .mission, .stat .num, .band-stats b { letter-spacing: 0.01em !important; }
h2.title, .layer h3, .tile h3, .phase h3, .loop-steps h3 { text-transform: uppercase; font-weight: 700; }
h2.title { line-height: 1.02; }
.label, .links, .hero-meta, .state, .tag, .chip, .layer li, .field label, .foot h4, .foot-bottom { font-weight: 600; letter-spacing: 0.2em; }
body { font-weight: 400; letter-spacing: 0.005em; }
.lead, .hero .lead { font-weight: 400; }
.btn { text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; font-weight: 600; }
.label { font-size: 13px; }
.hero-meta { font-size: 12.5px; }

/* ---- How it works: full-screen sticky imagery, white text overlaid on the left ---- */
@media (min-width: 1101px) {
  #platform .platform { display: flex; flex-direction: column; gap: 0; }
  #platform .stage { order: -1; position: sticky; top: 0; height: 100vh; width: 100vw; margin-left: calc(50% - 50vw);
    border: none; z-index: 0; background: #050D0D; }
  #platform .stage img { transform: scale(1.04); }
  #platform .stage img.on { transform: scale(1); }
  #platform .stage::before { content: ''; inset: 0; width: auto; height: auto; border: none; z-index: 1;
    background: linear-gradient(90deg, rgba(5, 13, 13, 0.92) 0%, rgba(5, 13, 13, 0.72) 32%, rgba(5, 13, 13, 0.15) 58%, rgba(5, 13, 13, 0) 75%),
                linear-gradient(0deg, rgba(5, 13, 13, 0.55) 0%, rgba(5, 13, 13, 0) 30%); }
  #platform .stage .tag { left: auto; right: 32px; bottom: 32px; }
  #platform .mini-ring { top: 100px; right: 32px; }
  #platform .layers { position: relative; z-index: 2; margin-top: -100vh; max-width: 620px; }
  #platform .layer { min-height: 100vh; border-top: none; padding: 0; opacity: 0.25; }
  #platform .layer.active { opacity: 1; }
  #platform .layer:last-child { min-height: 100vh; }
  #platform .layer .idx { color: #B8FB5A; }
  #platform .layer h3 { color: #FFFFFF; font-size: clamp(40px, 4vw, 64px); }
  #platform .layer p { color: rgba(242, 245, 239, 0.86); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; max-width: 540px; }
  #platform .layer li { color: #E8EEE9; border-color: rgba(242, 245, 239, 0.3); background: rgba(5, 13, 13, 0.35); }
}
@media (min-width: 1101px) {
  #platform .stage img { left: 32%; width: 68%; object-fit: cover; object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  #platform .stage img[src*="vx_request"] { object-position: left top; }
  #platform .stage::before { background: linear-gradient(90deg, rgba(5, 13, 13, 0.85) 0%, rgba(5, 13, 13, 0.55) 30%, rgba(5, 13, 13, 0) 50%),
                linear-gradient(0deg, rgba(5, 13, 13, 0.5) 0%, rgba(5, 13, 13, 0) 28%); }
}

/* investor-review fixes: tighter gap after the proof section */
.proof { padding-bottom: 40px; }
@media (max-width: 760px) { .proof { padding-bottom: 30px; } }
