/* ==========================================================
   vQuantAi Pvt Ltd — corporate site
   Palette taken from the logo: navy ink + blue → violet tagline
   ========================================================== */
:root {
    --ink: #061A40;
    --ink-2: #0B2354;
    --night: #040E26;
    --blue: #1F56F5;
    --blue-2: #3D6BFF;
    --violet: #6A22DB;
    --grad: linear-gradient(100deg, #1F56F5 0%, #5B3CF0 55%, #7A22D9 100%);
    --text: #1B2540;
    --muted: #5A6684;
    --line: #E3E7F1;
    --paper: #FFFFFF;
    --tint: #F4F6FC;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(6, 26, 64, .05), 0 12px 32px -12px rgba(6, 26, 64, .16);
    --head: "Sora", system-ui, sans-serif;
    --body: "Manrope", system-ui, sans-serif;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.grad-text { background: linear-gradient(95deg, #7FA6FF 0%, #A98BFF 60%, #C59BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--head); font-weight: 600; font-size: .95rem;
    padding: .9em 1.4em; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(47, 74, 245, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(91, 60, 240, .7); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn-sm { padding: .62em 1.15em; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { position: relative; display: block; width: 152px; }
.brand img { width: 152px; max-height: 44px; object-fit: contain; object-position: left center; }
.brand-dark { opacity: 0; position: absolute; inset: 0; transition: opacity .3s; }
.brand-light { transition: opacity .3s; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
    color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .93rem;
    padding: .5em .8em; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 10px; }

.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .brand-dark { opacity: 1; }
.site-header.scrolled .brand-light { opacity: 0; }
.site-header.scrolled .nav a:not(.btn) { color: var(--text); }
.site-header.scrolled .nav a:not(.btn):hover { color: var(--blue); background: var(--tint); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s, background .3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #C9D3EC;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(91, 60, 240, .32), transparent 60%),
        radial-gradient(700px 500px at 5% 90%, rgba(31, 86, 245, .25), transparent 60%),
        linear-gradient(180deg, var(--night) 0%, var(--ink) 100%);
    padding: 150px 0 0;
}
.hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin: 18px 0 22px; }
.lead { font-size: 1.12rem; max-width: 560px; color: #B7C3E2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 30px 0 0; font-size: .92rem; font-weight: 600; color: #DCE3F5; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ic { color: #7FA6FF; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow-light { color: #9DB5FF; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); letter-spacing: .12em; margin: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5CE1A6; box-shadow: 0 0 0 4px rgba(92, 225, 166, .18); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.orbit { width: 100%; height: 100%; overflow: visible; }
.spin { transform-origin: 260px 260px; animation: spin 26s linear infinite; }
.s2 { animation-duration: 34s; animation-direction: reverse; }
.s3 { animation-duration: 42s; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 12px; font-family: var(--head); font-weight: 600; font-size: .85rem; color: #fff;
    background: rgba(14, 33, 78, .72); border: 1px solid rgba(143, 180, 255, .22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
    animation: float 7s ease-in-out infinite;
}
.chip .ic { color: #8FB4FF; }
.c1 { top: 8%; left: 6%; }
.c2 { top: 16%; right: 0; animation-delay: -1.5s; }
.c3 { top: 52%; right: -4%; animation-delay: -3s; }
.c4 { bottom: 10%; left: 18%; animation-delay: -4.5s; }
.c5 { top: 44%; left: -4%; animation-delay: -2.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.pillars { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); margin-top: 72px; }
.hero-spacer { height: 90px; }
.pillars::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: rgba(255, 255, 255, .1); }
.pillar { padding: 30px 28px 40px; }
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid rgba(255, 255, 255, .1); }
.pillar-k { display: block; font-family: var(--head); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; margin-bottom: 8px; }
.k-blue { color: #6E95FF; }
.k-violet { color: #A47BFF; }
.pillar p { font-size: .95rem; color: #AEBADA; max-width: 340px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.06rem; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }

/* About */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-copy p:first-child { color: var(--text); font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 0; margin: 34px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 18px 20px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.4; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, rgba(31, 86, 245, .1), rgba(122, 34, 217, .12)); color: var(--blue); margin-bottom: 20px; }
.card-ic .ic { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--muted); }

/* Products */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
    position: relative; border-radius: 24px; padding: 40px; color: #C9D3EC; overflow: hidden; display: flex; flex-direction: column;
    background: linear-gradient(160deg, var(--ink-2), var(--night));
}
.product::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -140px; filter: blur(10px); opacity: .55; }
.product-a::before { background: radial-gradient(circle, rgba(31, 86, 245, .7), transparent 65%); }
.product-b::before { background: radial-gradient(circle, rgba(122, 34, 217, .7), transparent 65%); }
.product > * { position: relative; }
.product-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9DB5FF; margin-bottom: 12px; }
.product h3 { font-size: 2.1rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: -.03em; }
.product p { color: #B4C0DE; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #E2E8F7; }
.ticks .ic { color: #7FE0B0; margin-top: 3px; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; color: #fff; font-size: .95rem; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

.suite { margin-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.suite-label { font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.suite-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.suite-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--tint); font-size: .9rem; font-weight: 600; color: var(--ink); }
.suite-list .ic { color: var(--blue); width: 1.1em; height: 1.1em; }

/* Hardware */
.section-dark { background: linear-gradient(180deg, var(--ink) 0%, var(--night) 100%); color: #C9D3EC; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(91, 60, 240, .22), transparent 60%); pointer-events: none; }
.section-dark .wrap { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: #AEBADA; }
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.hw { display: flex; gap: 18px; padding: 30px 28px; background: var(--ink); transition: background .25s; }
.hw:hover { background: #0D2658; }
.hw-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex: none; color: #9DB5FF; background: rgba(61, 107, 255, .14); border: 1px solid rgba(143, 180, 255, .18); }
.hw-ic .ic { width: 22px; height: 22px; }
.hw h3 { margin-bottom: 6px; font-size: 1.05rem; }
.hw p { font-size: .92rem; color: #9FACCF; }

/* Labs */
.labs { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.labs h2 { margin-bottom: 14px; }
.labs-visual { aspect-ratio: 1; border-radius: 28px; background: linear-gradient(150deg, var(--ink-2), var(--night)); display: grid; place-items: center; padding: 14%; position: relative; overflow: hidden; }
.labs-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(61, 107, 255, .35), transparent 55%), radial-gradient(circle at 75% 75%, rgba(122, 34, 217, .35), transparent 55%); }
.qgrid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; width: 100%; }
.qgrid span { aspect-ratio: 1; border-radius: 50%; background: rgba(143, 180, 255, .18); border: 1px solid rgba(143, 180, 255, .28); animation: qpulse 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
@keyframes qpulse {
    0%, 100% { background: rgba(143, 180, 255, .14); transform: scale(.8); }
    50% { background: linear-gradient(135deg, #3D6BFF, #8A4BFF); box-shadow: 0 0 18px rgba(110, 120, 255, .7); transform: scale(1); }
}
.labs-list { display: grid; gap: 18px; margin-top: 34px; }
.labs-list > div { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.labs-list > div:hover { border-color: transparent; box-shadow: var(--shadow); }
.lab-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; color: #fff; background: var(--grad); }
.lab-ic .ic { width: 22px; height: 22px; }
.labs-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.labs-list p { color: var(--muted); font-size: .94rem; }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-n { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; letter-spacing: -.04em; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--blue-2), transparent); }

.industries { margin-top: 64px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding-top: 40px; border-top: 1px solid var(--line); }
.industries h3 { font-size: 1.1rem; }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.industries li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--ink) 0%, var(--night) 100%); color: #C3CEEA; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 0% 70%, rgba(31, 86, 245, .24), transparent 60%), radial-gradient(600px 400px at 100% 0%, rgba(122, 34, 217, .25), transparent 60%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; margin-bottom: 16px; }
.contact-info > p { color: #AEBADA; max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #E2E8F7; font-weight: 600; }
.contact-list span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #9DB5FF; flex: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.form-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); color: var(--text); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: block; margin-bottom: 16px; }
.f > span { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.f input, .f select, .f textarea {
    width: 100%; font: inherit; font-size: .97rem; color: var(--text);
    padding: 12px 14px; border-radius: 12px; border: 1px solid #D5DBEA; background: #FAFBFE;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.f textarea { resize: vertical; min-height: 120px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(61, 107, 255, .14); }
.f small { display: block; color: #C0263E; font-size: .82rem; margin-top: 6px; font-weight: 600; }
.has-err input, .has-err textarea { border-color: #E5627A; background: #FFF7F8; }
.form-alert { background: #FFF1F3; color: #A31D33; border: 1px solid #F7C6CF; padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: .92rem; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.form-success p { color: var(--muted); margin-bottom: 26px; }
.ok-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; }
.ok-ic .ic { width: 30px; height: 30px; }

/* Footer */
.site-footer { background: var(--night); color: #95A3C8; padding: 80px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 230px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; font-weight: 600; color: #C3CEEA; }
.socials a:hover { border-color: rgba(255, 255, 255, .4); }
.footer-grid > div:not(.footer-brand) span { line-height: 1.6; }
.contact-list .addr { display: block; flex: 1; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: #E2E8F7; place-items: initial; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 24px 32px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-base .muted { color: #6F7DA3; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .hw-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; padding: 14px 16px 22px; box-shadow: 0 20px 40px -20px rgba(6, 26, 64, .35);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
    }
    .nav a:not(.btn) { color: var(--text) !important; padding: .8em 1em; }
    .nav-cta { margin: 10px 0 0; }
    .site-header.menu-open { background: #fff; }
    .site-header.menu-open .brand-dark { opacity: 1; }
    .site-header.menu-open .brand-light { opacity: 0; }
    .site-header.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
    .site-header.menu-open .nav-toggle span { background: var(--ink); }
    .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding-top: 120px; }
    .hero-inner, .about-grid, .labs, .contact-grid, .section-head-split { grid-template-columns: 1fr; }
    .hero-inner { gap: 20px; }
    .hero-visual { justify-self: center; max-width: 420px; }
    .labs { gap: 40px; }
    .labs-visual { max-width: 380px; }
    .about-grid, .contact-grid { gap: 32px; }
    .product-grid { grid-template-columns: 1fr; }
    .industries { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .section { padding: 76px 0; }
    .pillars { grid-template-columns: 1fr; margin-top: 40px; }
    .pillar { padding: 22px 0; }
    .pillars::before { left: 16px; right: 16px; }
    .pillar + .pillar { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .card-grid, .steps, .hw-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; }
    .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
    .f-row { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 24px 18px; }
    .product { padding: 30px 24px; }
    .chip { font-size: .75rem; padding: 7px 10px; }
    .c3 { right: 0; } .c5 { left: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-base { padding: 20px 16px 28px; }
    .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

.nav a.active:not(.btn) { color: #fff; }
.site-header.scrolled .nav a.active:not(.btn) { color: var(--blue); }
