/* Nakilab — startup studio site (Monolith design) */
:root {
  --bg: #000;
  --panel: #0a0a0b;
  --line: rgba(255,255,255,.12);
  --line-hi: rgba(255,255,255,.28);
  --text: #fff;
  --muted: #a3a3a8;
  --dim: #6e6e75;
  --blue: #3B82F6;
  --blue-hi: #8fbaff;
  --glow: #4C8DFF;
  --paw: #FF8A3D;
  --font: "Barlow", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --wrap: 1280px;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { font: 400 17px/1.6 var(--font); color: var(--muted); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font); color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.label { font: 500 13px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons (SpaceX-style outlined, uppercase) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border: 2px solid #fff; background: transparent; color: #fff; font: 600 14px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover { background: #fff; color: #000; }
.btn:hover svg { transform: translateX(4px); }
.btn.solid { background: #fff; color: #000; }
.btn.solid:hover { background: transparent; color: #fff; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s; }
.nav.scrolled { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav img { height: 22px; width: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; padding: 0; margin-left: auto; }
.nav ul a { font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #fff; opacity: .85; transition: opacity .2s; }
.nav ul a:hover { opacity: 1; }

/* ---------- Full-screen panels ---------- */
.panel { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0; overflow: hidden; isolation: isolate; border-top: 1px solid rgba(255,255,255,.06); }
.panel h2 { font-size: clamp(40px, 6vw, 84px); max-width: 14ch; }
.panel .sub { margin-top: 22px; max-width: 34rem; font-size: clamp(17px, 1.5vw, 20px); }
.panel .btns { margin-top: 36px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; align-items: flex-end; padding: 0 0 12vh; border-top: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.85)); z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(42px, 6.2vw, 96px); max-width: 15ch; margin-top: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero .sub { color: #d4d4d8; }
.si-tag { display: inline-flex; align-items: center; gap: 10px; }
.si-tag b { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--blue-hi); color: var(--blue-hi); font: 700 12px/1 var(--font); letter-spacing: .04em; box-shadow: 0 0 14px rgba(127,178,255,.45); }
.scroll-cue { position: absolute; right: 32px; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 11px/1 var(--font); letter-spacing: .24em; color: var(--muted); writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(#fff, transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.js .hero .label, .js .hero .sub, .js .hero .btns { opacity: 0; transform: translateY(16px); }
.js .hero h1 .line > span { transform: translateY(110%); }
.loaded .hero .label, .loaded .hero .sub, .loaded .hero .btns { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.loaded .hero h1 .line > span { transform: none; transition: transform 1.2s var(--ease); }
.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.loaded .hero .sub { transition-delay: .35s; }
.loaded .hero .btns { transition-delay: .45s; }

/* ---------- How it works ---------- */
.how .wrap { width: 100%; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); }
.step { position: relative; padding: 36px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font: 600 13px/1 var(--font); letter-spacing: .2em; color: var(--blue-hi); }
.step h3 { font-size: 28px; margin: 18px 0 10px; }
.step .vis { height: 170px; display: grid; place-items: center; margin-top: 18px; perspective: 800px; }

/* ---------- Mission: pinned 3D scroll story ---------- */
.mission { height: 320vh; padding: 0; display: block; min-height: 0; overflow: visible; }
.mission .sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
#mission-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.mission .steps { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 8px; }
.mission .steps li { display: flex; align-items: baseline; gap: 18px; font: 600 clamp(34px, 4.6vw, 68px)/1.05 var(--font); text-transform: uppercase; color: #2a2a2e; transition: color .5s var(--ease), transform .6s var(--ease); }
.mission .steps li span { font: 600 13px/1 var(--font); letter-spacing: .14em; color: var(--dim); transform: translateY(-.8em); }
.mission .steps li.on { color: #fff; transform: translateX(8px); }
.mission .steps li.on span { color: var(--blue-hi); }
.mission .mline { margin-top: 30px; max-width: 26rem; font-size: 19px; color: #d4d4d8; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mission .mline.show { opacity: 1; transform: none; }
.mprog { position: absolute; right: 32px; top: 50%; width: 2px; height: 160px; transform: translateY(-50%); background: var(--line); overflow: hidden; }
.mprog i { position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ---------- Projects ---------- */
.projects { display: block; }
.projects .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.plist { display: grid; gap: 20px; margin-top: 56px; }
.project { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 520px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.project .copy { padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; }
.project .status { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--paw); }
.project .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--paw); box-shadow: 0 0 10px var(--paw); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.project h3 { font-size: clamp(40px, 5vw, 72px); margin: 22px 0 14px; }
.project .copy p { max-width: 26rem; }
.project .btns { margin-top: 32px; }
.project.next { grid-template-columns: 1fr; min-height: 0; border-style: dashed; background: transparent; }
.project.next .copy { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 56px; }
.project.next h3 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 0; }
.stage { position: relative; min-height: 440px; overflow: hidden; background: radial-gradient(70% 60% at 50% 50%, rgba(255,138,61,.14), transparent 70%); }
.stage .ring { position: absolute; left: 50%; top: 45%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; border: 1.5px solid rgba(255,138,61,.55); opacity: 0; animation: ring 3.6s var(--ease) infinite; }
.stage .ring:nth-child(3) { animation-delay: 1.2s; }
.stage .ring:nth-child(4) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.tagdev { position: absolute; left: 50%; top: 45%; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 42px; background: linear-gradient(150deg, #26262a, #0a0a0b); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px -20px #000, inset 0 1px 0 rgba(255,255,255,.14); display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.tagdev svg { width: 98px; height: 98px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(12,12,12,.82); border: 1px solid var(--line-hi); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; line-height: 1.3; color: #fff; white-space: nowrap; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip small { display: block; color: var(--muted); font-size: 11px; }
.chip.c1 { left: 7%; top: 12%; animation: float 7s ease-in-out infinite .5s; }
.chip.c1 svg { color: var(--paw); }
.chip.c2 { right: 6%; bottom: 22%; animation: float 8s ease-in-out infinite 1.2s; }
.chip.c2 svg { color: #4ADE80; }

/* ---------- SI ---------- */
.si { text-align: center; justify-content: center; }
.si .wrap { display: flex; flex-direction: column; align-items: center; }
.si-mark { position: relative; display: grid; place-items: center; width: min(520px, 86vw); aspect-ratio: 1; margin: -40px 0 -60px; }
.si-mark .portal-css { width: 78%; height: 78%; }
.si-mark .letters { font: 700 clamp(140px, 22vw, 280px)/1 var(--font); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px #e5edff; text-shadow: 0 0 40px rgba(127,178,255,.45); animation: siglow 4s ease-in-out infinite; }
@keyframes siglow { 50% { text-shadow: 0 0 70px rgba(127,178,255,.75); } }
.si h2 { max-width: none; }
.si .sub { margin-left: auto; margin-right: auto; }
.caps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.caps span { font: 600 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: #fff; padding: 12px 16px; border: 1px solid var(--line-hi); }

/* ---------- Split panels (need an idea, investors) ---------- */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 100%; }
.split .art { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1000px; }

/* ---------- Founders ---------- */
.founders { padding: 72px 0; border-top: 1px solid rgba(255,255,255,.06); }
.founders .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.founders ul { list-style: none; padding: 0; display: flex; gap: 56px; flex-wrap: wrap; }
.founders li { display: flex; flex-direction: column; gap: 8px; }
.founders li b { font: 600 28px/1 var(--font); text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.founders li span { font: 600 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-hi); }

/* ---------- Intake ---------- */
.intake .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; width: 100%; }
.intake .portal-bg { position: absolute; left: 18%; top: 46%; width: 520px; height: 520px; margin: -260px; border-radius: 50%; border: 2px solid rgba(200,220,255,.5); box-shadow: 0 0 60px rgba(127,178,255,.35), inset 0 0 80px rgba(127,178,255,.2); z-index: -1; pointer-events: none; }
form.intake-form { display: grid; gap: 18px; padding: 36px; background: rgba(10,10,11,.88); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-hi); }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg { position: relative; padding: 0; margin: 0; min-width: 0; }
.seg label { position: relative; display: grid; place-items: center; min-height: 52px; padding: 8px 10px; text-align: center; font: 600 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.seg label + label { border-left: 1px solid var(--line-hi); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: #000; }
.seg label:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label, .field .flabel { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #e4e4e7; }
.field .req { color: var(--blue-hi); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-hi); border-radius: 0; background: rgba(255,255,255,.03); color: #fff; font: 400 16px/1.4 var(--font); transition: border-color .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3a3a8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.06); }
.field [aria-invalid="true"] { border-color: #f87171; }
.field .err { font-size: 13px; color: #fca5a5; min-height: 0; }
.field .err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-hi); font: 500 14px/1 var(--font); color: #e4e4e7; cursor: pointer; letter-spacing: 0; text-transform: none; }
.checks input { accent-color: #fff; width: 16px; height: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: #fff; width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intake-form [data-for] { display: grid; gap: 18px; }
.intake-form [data-for][hidden] { display: none; }
.intake-form .btn { width: 100%; }
.intake-form .btn[disabled] { opacity: .5; cursor: progress; }
.form-status { font-size: 15px; color: #fca5a5; }
.form-status:empty { display: none; }
.form-done { display: grid; gap: 14px; padding: 48px 36px; border: 1px solid var(--line); background: rgba(10,10,11,.88); text-align: center; justify-items: center; }
.form-done h3 { font-size: 34px; }
.form-done .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.form-done .tick svg { width: 26px; height: 26px; color: #fff; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer img { height: 18px; width: auto; }
footer ul { list-style: none; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
footer a, footer span { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
footer a:hover { color: #fff; }

/* ---------- Monolith 3D components (CSS) ---------- */
.slab-wrap { position: relative; width: 220px; height: 200px; display: grid; place-items: center; perspective: 900px; }
.portal-css { position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 2px solid #c8dcff; box-shadow: 0 0 30px rgba(127,178,255,.7), inset 0 0 30px rgba(127,178,255,.4); opacity: .75; pointer-events: none; }
.slab { --w: 64px; --h: 128px; --d: 22px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; animation: slab 12s ease-in-out infinite; }
@keyframes slab { 0%, 100% { transform: rotateX(-10deg) rotateY(-35deg); } 50% { transform: rotateX(-10deg) rotateY(35deg); } }
.slab i { position: absolute; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(160deg, #3a3d44, #0d0e10 70%); }
.slab .f, .slab .b { left: 0; top: 0; width: var(--w); height: var(--h); }
.slab .f { transform: translateZ(calc(var(--d) / 2)); display: grid; place-items: center; overflow: hidden; }
.slab .b { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.slab .l, .slab .r { top: 0; width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2); }
.slab .l { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.slab .r { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.slab .t, .slab .bt { left: 0; width: var(--w); height: var(--d); top: calc(50% - var(--d) / 2); }
.slab .t { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.slab .bt { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.slab .f img { width: 68%; height: auto; filter: drop-shadow(0 0 8px rgba(127,178,255,.8)); }
.slab .f::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.slab .f b { font: 700 40px/1 var(--font); color: #e5edff; text-shadow: 0 0 16px rgba(127,178,255,.9); }
.pair { position: relative; width: 64px; height: 128px; transform-style: preserve-3d; animation: slab 12s ease-in-out infinite; }
.pair .slab { position: absolute; inset: 0; animation: none; }
.pair .wire i { background: transparent; border: 1px dashed rgba(127,178,255,.65); }
.pair .wire .f::after { display: none; }
.pair .solid { transform-origin: 50% 100%; animation: machine 5s var(--ease) infinite; }
.pair .solid i { background: linear-gradient(160deg, rgba(127,178,255,.55), rgba(59,130,246,.12)); border-color: #bcd6ff; box-shadow: 0 0 20px rgba(76,141,255,.45); }
@keyframes machine { 0% { transform: scaleY(0); opacity: 1; } 55%, 85% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.layers { position: relative; width: 104px; height: 104px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg); }
.layers i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(160deg, #3a3d44, #0d0e10); animation: explode 4s var(--ease) infinite; }
.layers i:nth-child(1) { --z: -34px; }
.layers i:nth-child(2) { --z: 0px; }
.layers i:nth-child(3) { --z: 34px; border-color: rgba(127,178,255,.75); box-shadow: 0 0 24px rgba(76,141,255,.45); }
@keyframes explode { 0%, 15%, 85%, 100% { transform: translateZ(0); } 40%, 60% { transform: translateZ(var(--z)); } }
.layers.big { width: 200px; height: 200px; }
.layers.big i:nth-child(1) { --z: -70px; }
.layers.big i:nth-child(3) { --z: 70px; }
.rise { position: relative; width: 180px; height: 160px; display: grid; place-items: end center; perspective: 600px; }
.floorgrid { position: absolute; left: -30%; right: -30%; bottom: 0; height: 120px; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(127,178,255,.28) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, rgba(127,178,255,.28) 0 1px, transparent 1px 22px); transform: perspective(500px) rotateX(68deg); transform-origin: bottom; -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%); }
.rise .floorgrid { height: 90px; }
.slab.sm { --w: 38px; --h: 88px; --d: 16px; margin-bottom: 22px; animation: rise 4s var(--ease) infinite; }
@keyframes rise { 0% { transform: translateY(70px) rotateX(-10deg) rotateY(-30deg); opacity: 0; } 30% { opacity: 1; } 55%, 85% { transform: translateY(0) rotateX(-10deg) rotateY(-30deg); opacity: 1; } 100% { transform: translateY(0) rotateX(-10deg) rotateY(-30deg); opacity: 0; } }
.stage .floorgrid { left: 0; right: 0; height: 200px; }
.split .art .floorgrid { height: 200px; }
.pillars { position: relative; height: 380px; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 52px; perspective: 1000px; padding-bottom: 36px; }
.pillar { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pillar .slab { animation-duration: 14s; animation-delay: calc(var(--i) * -2.5s); }
.pillar span { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 10px 12px; border: 1px solid var(--line-hi); background: rgba(12,12,12,.85); white-space: nowrap; }
.pillars .portal-css { width: 300px; height: 300px; top: 0; left: 50%; margin-left: -150px; opacity: .45; }
.pillars .floorgrid { height: 140px; }
.qslab .slab { --w: 90px; --h: 180px; --d: 30px; }
.qslab .portal-css { width: 300px; height: 300px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav ul { display: none; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project, .split .wrap, .intake .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 340px; order: -1; }
  .split .art { min-height: 340px; order: -1; }
}
@media (max-width: 640px) {
  .panel { padding: 96px 0; }
  .hero { padding-bottom: 72px; }
  .hero .copy { padding-top: 46vh; }
  .scroll-cue, .mprog { display: none; }
  .steps4 { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step .vis { height: 150px; }
  .project .copy, .project.next .copy { padding: 32px 24px; }
  .mission { height: 260vh; }
  .mission .sticky { align-items: flex-end; padding-bottom: 72px; }
  .row2 { grid-template-columns: 1fr; }
  form.intake-form { padding: 24px 18px; }
  .seg label { font-size: 11px; letter-spacing: .06em; }
  .pillars { gap: 18px; transform: scale(.8); }
  .intake .portal-bg { left: 50%; top: 14%; width: 340px; height: 340px; margin: -170px; }
  .founders ul { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .label, .js .hero .sub, .js .hero .btns { opacity: 1; transform: none; translate: none; }
  .js .hero h1 .line > span { transform: none; }
  .mission { height: auto; }
  .mission .sticky { position: relative; min-height: 100svh; }
  .mission .steps li { color: #fff; }
  .mission .mline { opacity: 1; transform: none; }
  .stage .ring { display: none; }
}
