
    /* ============================================
   KX — "BOTTOM OF THE CAN" FOOTER
============================================ */
    :root {
        --kx-bg: #06080d; /* the page's near-black (hero #040506, stats #080A0E) */
        --kx-grad: linear-gradient(120deg, #FFFFFF 0%, #93C5FD 28%, #38BDF8 55%, #A78BFA 78%, #F472B6 100%); /* the page's .hero-gradient-text */
        --kx-line: rgba(255, 255, 255, 0.09);
        --kx-dim: rgba(255, 255, 255, 0.55);
        --kx-cyan: #38BDF8;
    }

    .kx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    /* ---------- 1. crack it open (scroll-scrubbed) ---------- */
    .kx-open {
        position: relative;
        height: 440vh;
        height: 440svh; /* 340 for the film + 100 during which the next section slides up over it */
        margin-bottom: -100vh;
        margin-bottom: -100svh;
        overflow: clip;
    }

    /* whatever follows the film rises over it (no black gap between the plunge and the page) */
    .kx-open ~ * { position: relative; z-index: 1; }
    .kx-open ~ .section:not(.section-alt) { background: #fff; } /* transparent sections would show the film through */
    .kx-open-stick { transform-origin: 50% 40%; will-change: transform; }

    .kx-open-stick {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100svh;
        overflow: hidden;
        display: grid;
        place-items: center;
        background: radial-gradient(70% 60% at 55% 45%, #14213f 0%, #06080d 72%);
        clip-path: var(--frame, none); /* the page's card: 24px radius, chamfered top-right corner */
    }

    .kx-lid {
        --p: 0;
        position: relative;
        width: min(74vmin, 600px);
        aspect-ratio: 1;
        transform-origin: 50% 30.8%; /* centre of the opening */
        will-change: transform;
        perspective: 900px;
    }

    .kx-lid::before {
        content: '';
        position: absolute;
        inset: 3%;
        border-radius: 50%;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    .kx-lid-in { position: absolute; inset: 0; transform-style: preserve-3d; }

    .kx-sheen {
        --sx: 30%; --sy: 25%;
        position: absolute;
        inset: 0.6%;
        border-radius: 50%;
        pointer-events: none;
        background: radial-gradient(circle at var(--sx) var(--sy), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 38%);
        transition: opacity 300ms ease;
    }

    .kx-lid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

    .kx-tab {
        transform-origin: 50% 46.7%; /* the rivet */
        will-change: transform;
    }

    .kx-say-g {
        position: absolute;
        font: 800 clamp(40px, min(6.2vw, 12vh), 104px)/0.95 'Plus Jakarta Sans', sans-serif;
        letter-spacing: -0.045em;
        color: #fff;
        pointer-events: none;
    }

    .kx-say-g span { display: block; overflow: hidden; padding: 0 0.04em 0.08em; margin-bottom: -0.08em; }
    .kx-say-g i { display: block; font-style: normal; transform: translate3d(0, 110%, 0); will-change: transform; }
    .kx-say-g .dim { color: rgba(255, 255, 255, 0.55); }
    .kx-say-g .kx-grad {
        background: var(--kx-grad);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kx-l1 { left: calc(var(--fx, 0px) + 5vw); top: calc((var(--ft, 0px) + 100% - var(--fb, 0px)) / 2); margin-top: -0.95em; }
    .kx-l2a { left: calc(var(--fx, 0px) + 4vw); top: calc((var(--ft, 0px) + 100% - var(--fb, 0px)) / 2); margin-top: -0.5em; }
    .kx-l2b { right: calc(var(--fx, 0px) + 4vw); top: calc((var(--ft, 0px) + 100% - var(--fb, 0px)) / 2); margin-top: -0.95em; text-align: right; }

    .kx-steps {
        position: absolute;
        left: calc(var(--fx, 0px) + 28px);
        bottom: calc(var(--fb, 0px) + 24px);
        display: flex;
        align-items: center;
        gap: 18px;
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.32);
        pointer-events: none;
    }

    .kx-skip { position: absolute; right: calc(var(--fx, 0px) + 28px); bottom: calc(var(--fb, 0px) + 12px); color: rgba(255,255,255,.7); font-size: 12px; text-decoration: none; padding: 12px 0; }
    .kx-skip:hover { color: #fff; }
    .kx-skip:focus-visible { outline: 2px solid var(--kx-cyan); outline-offset: 5px; }
    .kx-open-stick > .kx-skip { z-index: 4; }
    @media (max-width: 600px) { .kx-skip { bottom: auto; top: calc(var(--ft, 0px) + 22px); right: calc(var(--fx, 0px) + 30px); font-size: 11px; } }
    .kx-steps span { transition: color 400ms ease; }
    .kx-steps span.on { color: #fff; }
    .kx-steps b { position: relative; display: block; width: 120px; height: 1px; overflow: hidden; background: rgba(255, 255, 255, 0.15); }
    .kx-steps b i { position: absolute; inset: 0; background: var(--kx-cyan); transform: scaleX(0); transform-origin: left; }

    /* "Crack it open": the visitor's first tap, which is also what lets the browser play the sound */
    .kx-hint {
        position: absolute;
        bottom: calc(var(--fb, 0px) + 18px);
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 11px 18px;
        border-radius: 9999px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #fff;
        cursor: pointer;
        transition: background 200ms ease, border-color 200ms ease;
    }
    .kx-hint:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
    .kx-hint:focus-visible { outline: 2px solid var(--kx-cyan); outline-offset: 3px; }

    .kx-hint i { font-style: normal; color: var(--kx-cyan); animation: kxCue 1.6s var(--ease-apple) infinite; }
    @keyframes kxCue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

    /* lens vignette over the film */
    .kx-open-stick::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.5));
    }

    .kx-grain {
        position: absolute;
        inset: -60px;
        pointer-events: none;
        mix-blend-mode: overlay;
        opacity: 0.12;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        animation: kxGrain 0.9s steps(3) infinite;
    }

    @keyframes kxGrain { 33% { transform: translate(37px, 21px); } 66% { transform: translate(-23px, 42px); } }

    .kx-open-stick > * { z-index: 2; }
    .kx-open-stick > .kx-lidgl, .kx-open-stick > .kx-lid { z-index: 0; }
    .kx-open-stick::after { z-index: 3; }

    .kx-lidgl {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 600ms ease;
        pointer-events: none;
    }

    .kx-open-stick.is-gl .kx-lidgl { opacity: 1; }

    /* hero mode: shorter film, a poster frame for the first paint, the page's headline block */
    .kx-open[data-mode="hero"] {
        height: 330vh;
        height: 330svh;
        margin-bottom: -120vh;
        margin-bottom: -120svh; /* let section 2 enter shortly after the camera passes through the can opening */
    }
    .kx-open[data-mode="hero"] .kx-lid { display: none; } /* the poster is the stand-in here */
    .kx-poster, .kx-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
    .kx-poster { transition: opacity 600ms ease; }
    .kx-open-stick.is-gl .kx-poster { opacity: 0; }
    .kx-herocopy { position: absolute; z-index: 2; left: max(48px, calc((100% - 1440px) / 2)); top: 50%; margin-top: -150px; max-width: min(660px, 54%); will-change: transform, opacity; }
    .kx-herocopy .hero-h1 { text-align: left; font-size: clamp(32px, 3.9vw, 58px); }
    .kx-herocopy .hero-p { margin: 0 0 28px; }
    .kx-herocopy .hero-actions { justify-content: flex-start; }
    @media (max-aspect-ratio: 5/4) {
        .kx-herocopy {
            left: clamp(20px, 4vw, 48px);
            right: clamp(20px, 4vw, 48px);
            top: clamp(116px, 13svh, 144px);
            margin: 0;
            max-width: none;
        }
        .kx-herocopy .hero-live { margin-bottom: 12px; }
        .kx-herocopy .hero-h1 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 10px; }
        .kx-herocopy .hero-p { margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; }
        .kx-herocopy .hero-actions { gap: 8px; }
        .kx-herocopy .h-btn-w, .kx-herocopy .h-btn-ghost { padding: 10px 16px; font-size: 12.5px; }
    }
    @media (min-aspect-ratio: 5/4) and (max-width: 1199.98px) and (min-height: 521px) {
        .kx-herocopy {
            left: 32px;
            top: 52%;
            margin-top: -160px;
            max-width: 44%;
        }
        .kx-herocopy .hero-h1 { font-size: clamp(34px, 4.2vw, 44px); }
        .kx-herocopy .hero-p { max-width: 410px; }
        .kx-herocopy .hero-actions {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        .kx-herocopy .h-btn-w,
        .kx-herocopy .h-btn-ghost {
            min-width: 240px;
            justify-content: center;
        }
    }
    @media (max-aspect-ratio: 5/4) { /* upright screens: bottom-right, clear of the can */
        .kx-hint { left: 50%; right: auto; bottom: calc(var(--fb, 0px) + 52px); transform: translateX(-50%); white-space: nowrap; padding: 9px 14px; font-size: 10px; }
    }
    @media (max-aspect-ratio: 5/4) and (max-height: 700px) { /* small phones: headline and buttons only */
        .kx-herocopy .hero-p { display: none; }
    }
    @media (min-aspect-ratio: 5/4) and (max-height: 520px) { /* phones on their side: a compact block left of the can */
        .kx-herocopy { top: 72px; margin-top: 0; left: 20px; max-width: 42%; }
        .kx-herocopy .hero-live, .kx-herocopy .hero-p { display: none; }
        .kx-herocopy .hero-h1 { font-size: clamp(22px, 4.2vw, 30px); margin-bottom: 12px; }
        .kx-herocopy .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
        .kx-herocopy .h-btn-w, .kx-herocopy .h-btn-ghost { padding: 9px 14px; font-size: 12px; }
    }
    .kx-open-stick.is-gl .kx-lid { opacity: 0; transition: opacity 600ms ease; }

    /* the dive ends in the footer's own colour, whatever was rendered last */
    .kx-open-stick::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--kx-bg);
        opacity: var(--fade, 0);
        pointer-events: none;
        will-change: opacity;
    }


    /* ---------- 2. footer body: the page's light sections; the configurator is a dark card like "Certified for Global Export" ---------- */
    footer.kx {
        position: relative;
        overflow: hidden;
        background: #fff;
        color: var(--g500, #64748B);
        border: 0;
        padding: 0;
    }

    .kx-bubbles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

    /* the page's content width: .container (max 1440px) inside the section's 48px padding (20px on phones) */
    .kx-wrap { position: relative; z-index: 1; max-width: calc(1440px + 96px); margin: 0 auto; padding: 0 48px; }
    /* ---- page fixes (these belong to the landing page, kept here so they travel with this block) ---- */
    .cta-wrap { max-width: calc(1440px + 96px); margin-inline: auto; } /* the CTA band sat wider than everything else on large screens */
    .cat-grid > * { min-width: 0; }                                    /* category cards pushed the page 51px sideways on 320px phones */
    @media (max-width: 400px) { .cat-wide { flex-wrap: wrap; } .cat-tech-specs { flex-wrap: wrap; gap: 6px; } }

    /* studio section — same rhythm as .section / .cat-intro */
    .kx-hero { position: relative; z-index: 1; padding: 56px 0 80px; }
    .kx-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 36px; }
    .kx-intro-aside { max-width: 440px; }
    .kx-lead { margin: 0; font-size: 15px; line-height: 1.65; color: var(--g500, #64748B); }
    .kx-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 18px;
        padding-bottom: 2px;
        border-bottom: 2px solid var(--g200, #E2E8F0);
        font-size: 13.5px;
        font-weight: 700;
        color: var(--ink, #0A0C10);
        transition: color 200ms ease, border-color 200ms ease;
    }
    .kx-link:hover { color: var(--blue-bright, #2563EB); border-color: var(--blue-bright, #2563EB); }

    .kx-eyebrow {
        display: none !important;
    }

    .kx-h { /* the page's h2 */
        margin: 0;
        font-size: clamp(28px, 3.2vw, 42px);
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1.08;
        color: var(--ink, #0A0C10);
    }
    .kx-h .grad { /* the page's .text-gradient-blue */
        background: linear-gradient(135deg, #0A347F 0%, #2563EB 55%, #06B6D4 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* reveal (only when JS runs and motion is allowed) */
    .kx-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
    .kx-line > span { display: inline-block; }
    .kx-anim .kx-line > span { transform: translateY(110%); transition: transform 1s var(--ease-apple); }
    .kx-anim .kx-line + .kx-line > span { transition-delay: 90ms; }
    .kx-anim .kx-rise { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-apple), transform 700ms var(--ease-apple); }
    .kx-anim .kx-intro-aside.kx-rise { transition-delay: 120ms; }
    .kx-anim .kx-card.kx-rise { transition-delay: 200ms; }
    .kx-anim .kx-hero.in .kx-line > span, .kx-anim .kx-hero.in .kx-rise { transform: none; opacity: 1; }

    /* the dark card */
    .kx-card {
        display: grid;
        grid-template-columns: 5fr 6fr;
        border-radius: 22px;
        overflow: hidden;
        background: #080B12;
        color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.25);
    }

    .kx-form { display: grid; gap: 20px; align-content: center; padding: 40px; }
    .kx-card-t { margin: 0 0 4px; font: 800 clamp(20px, 2.2vw, 26px)/1.2 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.03em; color: #fff; }
    .kx-card-d { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); }

    .kx-field { display: grid; gap: 6px; }
    .kx-lbl { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

    .kx-name {
        width: 100%;
        background: none;
        border: 0;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.18);
        padding: 2px 0 8px;
        font: 800 clamp(22px, 2.2vw, 28px)/1.2 'Plus Jakarta Sans', sans-serif;
        letter-spacing: -0.03em;
        text-transform: uppercase;
        color: #fff;
        caret-color: var(--kx-cyan);
        transition: border-color 250ms ease;
    }
    .kx-name:focus { outline: none; border-color: var(--kx-cyan); }
    .kx-name::placeholder { color: #fff; opacity: 1; }
    .kx-name:focus::placeholder { opacity: 0.35; }

    .kx-opts { border: 0; margin: 0; padding: 0; min-width: 0; }
    .kx-opts legend { padding: 0; margin-bottom: 10px; }
    .kx-row { display: flex; flex-wrap: wrap; gap: 8px; }
    .kx-opts input { position: absolute; opacity: 0; pointer-events: none; }

    .kx-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .kx-select {
        width: 100%;
        min-width: 0;
        padding: 10px 34px 10px 14px;
        font: 600 13px/1.3 'Plus Jakarta Sans', sans-serif;
        color: #fff;
        background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 13px center;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        text-overflow: ellipsis;
        transition: border-color 200ms ease, opacity 200ms ease;
    }
    .kx-select:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.45); }
    .kx-card { scroll-margin-top: 110px; }
    .kx-select.is-picked { animation: kx-picked 1.4s ease-out; }
    @keyframes kx-picked { 0%, 40% { border-color: var(--kx-cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35); } 100% { box-shadow: 0 0 0 0 transparent; } }
    @media (prefers-reduced-motion: reduce) { .kx-select.is-picked { animation: none; } }
    .kx-select:disabled { opacity: 0.4; cursor: not-allowed; }
    .kx-select option { color: #0A0C10; background: #fff; }
    .kx-select:focus-visible, input:focus-visible + .kx-chip { outline: 2px solid var(--kx-cyan); outline-offset: 3px; }

    .kx-chip { /* the page's .qc-pill */
        display: block;
        cursor: pointer;
        padding: 5px 12px;
        border-radius: 9999px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.06);
        font-size: 11.5px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.85);
        transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
    }
    .kx-chip:hover { border-color: rgba(255, 255, 255, 0.45); }
    input:checked + .kx-chip { background: #fff; border-color: #fff; color: var(--ink, #0A0C10); }

    .kx-cta { /* the page's .btn-w */
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        max-width: 100%;
        margin-top: 6px;
        padding: 13px 26px;
        border: 0;
        border-radius: 9999px;
        background: #fff;
        color: var(--ink, #0A0C10);
        font: 700 14px/1.2 Inter, sans-serif;
        letter-spacing: -0.02em;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        transition: background 200ms ease, color 200ms ease, transform 180ms ease, box-shadow 200ms ease;
    }
    .kx-cta:hover { background: var(--blue-tint, #EEF3FF); color: var(--blue, #0A347F); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
    .kx-cta b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16ch; display: inline-block; vertical-align: bottom; }
    .kx-note { margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.45); }

    .kx-stage {
        position: relative;
        min-height: 540px;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        background:
            radial-gradient(50% 45% at 50% 55%, rgba(37, 99, 235, 0.35), transparent 70%),
            radial-gradient(30% 10% at 50% 86%, rgba(0, 0, 0, 0.55), transparent 70%),
            #0B0F1A;
        cursor: grab;
        touch-action: pan-y;
    }
    .kx-stage:active { cursor: grabbing; }
    .kx-stage:focus-visible { outline: 2px solid var(--kx-cyan); outline-offset: -4px; }
    .kx-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

    .kx-stage-meta {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 18px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 10.5px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        pointer-events: none;
    }
    .kx-stage-meta b { color: #fff; font-weight: 600; }
    .kx-stage-meta > span { white-space: nowrap; }
    #kx-spec { overflow: hidden; text-overflow: ellipsis; }
    .kx-touch { display: none; }
    @media (hover: none), (pointer: coarse) { .kx-fine { display: none; } .kx-touch { display: inline; } }
    .kx-stage.no-gl::after { content: 'Preview needs WebGL'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.55); }

    /* footer — the page's .ft-* styling */
    .kx-foot { position: relative; z-index: 1; background: var(--g50, #F8FAFC); border-top: 1px solid rgba(0, 0, 0, 0.08); }
    .kx-links { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 40px; }
    .kx-logo { display: block; height: 40px; width: auto; margin-bottom: 16px; color: var(--ink, #0A0C10); } /* same size as the nav's .logo-img */
    .kx-about p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 260px; color: var(--g500, #64748B); }
    .kx-addr { margin-top: 14px; font-size: 12.5px; line-height: 1.8; color: var(--g500, #64748B); }
    .kx-live {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 18px;
        padding: 5px 12px;
        border-radius: 9999px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: #fff;
        font-size: 11px;
        color: var(--g600, #4A5261);
    }
    .kx-live b { color: var(--ink, #0A0C10); font-weight: 600; font-variant-numeric: tabular-nums; }
    .kx-col h3 { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink, #0A0C10); }
    .kx-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
    .kx-roll { display: inline-block; overflow: hidden; height: 1.45em; line-height: 1.45; font-size: 13px; font-weight: 500; color: var(--g500, #64748B); vertical-align: top; }
    .kx-roll span { display: block; transition: transform 450ms var(--ease-apple); }
    .kx-roll span::after { content: attr(data-t); display: block; color: var(--blue-bright, #2563EB); }
    .kx-roll:hover span, .kx-roll:focus-visible span { transform: translateY(-50%); }

    /* liquid wordmark you can stir */
    .kx-markwrap { position: relative; max-width: calc(1440px + 96px); margin: 0 auto; padding: 0 48px; }
    .kx-mark { display: block; width: 100%; cursor: crosshair; touch-action: pan-y; }
    .kx-mark-hint {
        position: absolute;
        right: 48px;
        top: -8px;
        font-size: 10.5px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--g400, #94A3B8);
    }

    /* Follow Us, newsletter strip and certifications strip (content document, Site Footer) */
    .kx-social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
    .kx-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.1); color: var(--g500, #64748B); transition: color 180ms ease, border-color 180ms ease; }
    .kx-social a:hover, .kx-social a:focus-visible { color: var(--ink, #0A0C10); border-color: var(--ink, #0A0C10); }

    .kx-newsletter {
        display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
        gap: 20px; padding: 28px 0; border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .kx-newsletter p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--g500, #64748B); max-width: 46ch; }
    .kx-newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
    .kx-newsletter input {
        min-width: 240px; min-height: 44px; padding: 11px 16px; font: inherit; font-size: 14px;
        color: var(--ink, #0A0C10); background: #FFFFFF;
        border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 9999px;
    }
    .kx-newsletter input:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
    .kx-newsletter button {
        min-height: 44px; padding: 11px 24px; font: inherit; font-size: 14px; font-weight: 600;
        color: #FFFFFF; background: var(--ink, #0A0C10); border: none; border-radius: 9999px; cursor: pointer;
        transition: opacity 180ms ease;
    }
    .kx-newsletter button:hover { opacity: 0.85; }

    .kx-certstrip {
        display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 22px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--g500, #64748B);
    }

    .kx-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px 28px;
        padding: 24px 0 32px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 12px;
        font-weight: 500;
        color: var(--g400, #94A3B8);
    }
    .kx-bottom nav, .kx-certs { display: flex; gap: 18px; flex-wrap: wrap; }
    .kx-bottom a { color: var(--g400, #94A3B8); transition: color 180ms ease; }
    .kx-bottom a:hover { color: var(--ink, #0A0C10); }
    .kx-certs span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
    .kx-tools { display: flex; gap: 10px; }

    .kx-btn { /* the page's .btn-ol, compact */
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 36px;
        padding: 0 16px;
        border-radius: 9999px;
        border: 1.5px solid var(--g300, #CBD5E1);
        background: #fff;
        color: var(--ink, #0A0C10);
        font: 600 12.5px Inter, sans-serif;
        cursor: pointer;
        transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
    }
    .kx-btn:hover { border-color: var(--blue, #0A347F); background: var(--blue, #0A347F); color: #fff; }
    .kx-shot { position: absolute; top: 16px; right: 16px; z-index: 1; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .kx-shot:hover { background: #fff; border-color: #fff; color: var(--ink, #0A0C10); }
    .kx-stage.no-gl .kx-shot { display: none; }

    @media (max-width: 1100px) {
        .kx-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
        .kx-logo { height: 32px; }
        .kx-card { grid-template-columns: 1fr; }
        .kx-stage { order: -1; min-height: 440px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
        .kx-links { grid-template-columns: repeat(2, 1fr); }
        .kx-about { grid-column: 1 / -1; }
    }

    @media (max-width: 768px) {
        .kx-wrap { padding: 0 20px; }
        .kx-hero { padding: 40px 0 56px; }
        .kx-form { padding: 28px 22px; }
        .kx-stage { min-height: 360px; }
        .kx-links { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
        .kx-stage-meta { left: 14px; right: 14px; bottom: 12px; font-size: 10px; letter-spacing: 0.06em; }
        .kx-shot { top: 12px; right: 12px; }
        .kx-steps { left: calc(var(--fx, 0px) + 16px); bottom: calc(var(--fb, 0px) + 16px); gap: 12px; font-size: 10px; }
        .kx-steps b { display: none; }

        .kx-markwrap { padding: 0 20px; }
        .kx-mark-hint { display: none; }
    }

    @media (max-aspect-ratio: 5/4) { /* upright screens: words above the can */
        .kx-say-g { font-size: min(12.5vw, 8vh, 100px); }
        .kx-l1, .kx-l2a { left: calc(var(--fx, 0px) + 6vw); top: calc(var(--ft, 0px) + 68px); margin: 0; }
        .kx-l2b { right: calc(var(--fx, 0px) + 6vw); top: calc(var(--ft, 0px) + 68px + 1em); margin: 0; }
        .kx-l2b span { display: inline-block; }
        .kx-l2b span + span { margin-left: 0.22em; }
    }

    @media (max-height: 520px) and (orientation: landscape) { /* phones on their side */
        .kx-say-g { font-size: min(8vw, 17vh); }
        .kx-steps { left: 20px; bottom: 14px; }
        .kx-steps b { display: none; }
        .kx-hint { display: none; }
        .kx-stage { min-height: 80vh; }
    }

    @media (prefers-reduced-motion: reduce) {
        .kx-open:not([data-mode="hero"]) { display: none; }
        .kx-open[data-mode="hero"] { height: 100vh; height: 100svh; margin-bottom: 0; }  /* a still hero: poster + headline */
        .kx-open[data-mode="hero"] .kx-say-g, .kx-open[data-mode="hero"] .kx-steps, .kx-open[data-mode="hero"] .kx-hint,
        .kx-open[data-mode="hero"] .kx-skip, .kx-open[data-mode="hero"] .kx-lidgl { display: none; }
        .kx-roll span, .kx-cta, .kx-link { transition: none; }
    }

.kx-open,.kx {--ink:var(--ki-ink);--blue:var(--ki-blue);--blue-mid:var(--ki-blue-mid);--blue-bright:var(--ki-blue-bright);--blue-tint:var(--ki-blue-tint);--ease-apple:cubic-bezier(.22,1,.36,1);--g50:var(--ki-g50);--g200:var(--ki-g200);--g300:var(--ki-g300);--g400:var(--ki-g400);--g500:var(--ki-g500);--g600:var(--ki-g600);}
.kx{padding:0;border-top:0}.kx .mono,.kx-open .mono{font-family:"JetBrains Mono",monospace}

.kx-open .hero-live{
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.09);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 9999px;
            padding: 6px 16px;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        }

.kx-open .live-dot{
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #22C55E;
            flex-shrink: 0;
            animation: livePulse 2s infinite;
        }

.kx-open .hero-live span{
            font-size: 12px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: -0.01em;
        }

.kx-open .hero-h1{
            font-size: clamp(34px, 5.2vw, 66px);
            font-weight: 900;
            letter-spacing: -0.045em;
            line-height: 1.05;
            color: white;
            margin-bottom: 18px;
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
        }

.kx-open .hero-p{
            font-size: clamp(14.5px, 1.4vw, 16.5px);
            font-weight: 400;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.75);
            max-width: 540px;
            margin: 0 auto 28px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        }

.kx-open .hero-actions{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

.kx-open .h-btn-w{
            background: white;
            color: var(--ink);
            font-size: 13.5px;
            font-weight: 700;
            padding: 12px 26px;
            border-radius: 9999px;
            /* Pill */
            letter-spacing: -0.02em;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
            transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
        }

.kx-open .h-btn-w:hover{
            background: var(--blue-tint);
            color: var(--blue);
            transform: translateY(-2px);
            box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
        }

.kx-open .h-btn-ghost{
            color: white;
            font-size: 13.5px;
            font-weight: 600;
            padding: 12px 22px;
            border-radius: 9999px;
            /* Pill */
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
        }

.kx-open .h-btn-ghost:hover{
            border-color: white;
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }

.kx-herocopy .hero-h1{font-size:clamp(32px,3.9vw,58px);text-align:left}
.kx-herocopy .hero-p{margin:0 0 28px}.kx-herocopy .hero-actions{justify-content:flex-start}
@media(max-aspect-ratio:5/4){.kx-herocopy .hero-h1{font-size:clamp(28px,8vw,40px);margin-bottom:10px}.kx-herocopy .hero-p{font-size:13.5px;margin-bottom:14px}.kx-herocopy .hero-live{margin-bottom:12px}.kx-herocopy .hero-actions{gap:8px}.kx-herocopy .h-btn-w,.kx-herocopy .h-btn-ghost{padding:10px 16px;font-size:12.5px}}
@media(min-aspect-ratio:5/4) and (max-width:1199.98px) and (min-height:521px){.kx-open .hero-actions{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.kx-open *, .kx *{scroll-behavior:auto!important}.kx-open .live-dot{animation:none}}
#kx-after{scroll-margin-top:100px;position:relative;z-index:1}
body.admin-bar .kx-open-stick{top:32px;height:calc(100svh - 32px)}
@media(max-width:782px){body.admin-bar .kx-open-stick{top:46px;height:calc(100svh - 46px)}}
@media(max-width:600px){body.admin-bar .kx-open-stick{top:0;height:100svh}}

/* Keep the intro controls clear of the theme's floating mobile navigation. */
@media(max-width:600px){
 .kx-open[data-mode="hero"] .kx-skip{top:auto;bottom:12px;right:20px}
 .kx-open .hero-actions{flex-direction:column;align-items:flex-start;width:auto}
 .kx-open .hero-actions .h-btn-w,.kx-open .hero-actions .h-btn-ghost{min-width:220px;justify-content:center}
}
html.no-js .kx-open[data-mode="hero"]{height:100svh;margin-bottom:0}
html.no-js .kx-open .kx-hint,html.no-js .kx-open .kx-steps{display:none}

/* A control overlay should not trigger backdrop recompositing of the WebGL canvas. */
.kx-open .kx-hint{background:#17233a;backdrop-filter:none;-webkit-backdrop-filter:none}
.kx-open .kx-hint:hover{background:#22314d}
