/* ============================================= */
/* QUANTUM AESTHETICS — Complete Rebuild          */
/* ============================================= */

/* ─── Myriad Pro Self-Hosted ─── */
@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --white: #ffffff;
    --black: #222831;
    --dark-bg: #222831;
    --card-bg: #222831;
    --card-border: #222831;
    --accent: #5BA8D6;
    --accent-green: #29E8B2;
    --text-primary: #e2e6ea;
    --text-secondary: #7a8a9a;
    --text-muted: #3a4250;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Myriad Pro', -apple-system, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ─── HERO ZONE ─── */

.hero-zone {
        height: 150vh;
    position: relative;
}

.hero-canvas {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    background: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--white);
    z-index: 1;
    will-change: opacity;
}

/* Nav */
.hero-nav {
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 52px;
    will-change: transform, opacity;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 50;
}

.menu-btn span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--black);
    transition: background 0.3s;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.brand-name {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 21px;
    letter-spacing: 11px;
    color: var(--black);
    text-indent: 11px;
}

.brand-tagline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 8.5px;
    letter-spacing: 5.5px;
    color: var(--black);
    opacity: 0.45;
    text-indent: 5.5px;
    text-transform: uppercase;
}

.nav-balance {
    width: 42px;
}

/* Separator */
.hero-separator {
    position: relative;
    z-index: 30;
    width: calc(100% - 104px);
    height: 1px;
    background: var(--black);
    margin: 0 auto;
    opacity: 0.1;
    will-change: transform, opacity;
}

/* Hero Video */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--dark-bg);
    mix-blend-mode: lighten;
    pointer-events: none;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: opacity;
    /* GPU acceleration for smooth scrub */
    transform: translateZ(0);
}


/* ─── DARK WORLD ─── */

.dark-world {
    position: relative;
    z-index: 5;
    background: var(--dark-bg);
    overflow-x: clip;   /* clip cards sliding in from sides */
}

.content-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 52px;
    position: relative;
}

.section-inner {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

/* Section typography */
.overline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.headline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: clamp(34px, 5.5vw, 68px);
    letter-spacing: 3px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.55s ease 0.05s, transform 0.55s ease 0.05s;
}

.body-text {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}

.content-section.is-visible .overline,
.content-section.is-visible .headline,
.content-section.is-visible .body-text {
    opacity: 1;
    transform: translateY(0);
}


/* Section: Showcase — taller to give parallax more scroll room */
.section-showcase {
    min-height: 140vh;
    align-items: center;
}

/* Section: Intro */
.section-intro {
    text-align: center;
}

.section-intro .body-text {
    margin: 0 auto;
}

/* Section: Attitude */
.attitude-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.attitude-word {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    line-height: 1.05;
    letter-spacing: 3px;
    color: var(--text-primary);
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.attitude-word-1 {
    font-size: clamp(60px, 11vw, 150px);
    transition-delay: 0s;
}

.attitude-word-2 {
    font-size: clamp(36px, 5vw, 72px);
    color: var(--text-secondary);
    transition-delay: 0.1s;
    padding-left: 6px;
}

.attitude-word-3 {
    font-size: clamp(60px, 11vw, 150px);
    transition-delay: 0.2s;
}

.attitude-word-3 .dot {
    color: var(--accent-green);
}

.section-attitude.is-visible .attitude-word {
    opacity: 1;
    transform: translateY(0);
}


/* Section: Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: start;   /* allow stagger to show different heights */
}

/* Parallax outer wrapper — JS applies transform here, NO transitions */
.parallax-wrap {
    will-change: transform;
}

.showcase-slot {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.parallax-wrap:nth-child(1) .showcase-slot { transition-delay: 0.02s; }
.parallax-wrap:nth-child(2) .showcase-slot { transition-delay: 0.08s; }
.parallax-wrap:nth-child(3) .showcase-slot { transition-delay: 0.14s; }

.section-showcase.is-visible .showcase-slot {
    opacity: 1;
    transform: translateY(0);
}

.slot-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;            /* clip the parallax inner layer */
    position: relative;
    margin-bottom: 18px;
    transition: border-color 0.4s, box-shadow 0.4s;
    will-change: transform;
}

.slot-image:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(91, 168, 214, 0.08);
}

/* Inner parallax layer — JS moves this independently */
.slot-image-inner {
    position: absolute;
    inset: -20%;           /* oversized: gives 20% travel room each side */
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

/* Actual images inside the parallax layer */
.slot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Hover image swap */
.slot-img-primary {
    transition: transform 0.6s ease, opacity 0.45s ease;
}

.slot-img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 3;
    pointer-events: none;
}

.slot-image:hover .slot-img-primary {
    transform: scale(1.03);
}

.slot-image:hover .slot-img-hover {
    opacity: 1;
}

.slot-label {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.slot-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 21px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.slot-sub {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}


/* Section: Split */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    /* No translateX here — JS controls horizontal position via scroll */
    transition: opacity 0.55s ease, border-color 0.4s, box-shadow 0.4s;
    will-change: transform;
}

.split-image:hover {
    border-color: var(--accent);
    box-shadow: 0 24px 72px rgba(91, 168, 214, 0.08);
}

.split-image .slot-image-inner {
    inset: -4%;
}

.split-text {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.55s ease 0.08s, transform 0.55s ease 0.08s;
}

.section-split.is-visible .split-image {
    opacity: 1;
    transform: translateX(0);
}

.section-split.is-visible .split-text {
    opacity: 1;
    transform: translateX(0);
}

.section-split.is-visible .overline,
.section-split.is-visible .headline,
.section-split.is-visible .body-text {
    opacity: 1;
    transform: translateY(0);
}

/* Second body paragraph */
.body-text-2 {
    margin-top: 16px;
}

/* Showcase description */
.showcase-desc {
    max-width: 560px;
    margin-bottom: 12px;
}


/* ─── PIPELINE SECTION ─── */

.section-pipeline .section-inner {
    padding: 120px 52px;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 48px;
}

.pipeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 40px 32px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s, box-shadow 0.4s;
}

.pipeline-card:nth-child(2) {
    transition-delay: 0.1s;
}

.section-pipeline.is-visible .pipeline-card {
    opacity: 1;
    transform: translateY(0);
}

.pipeline-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 48px rgba(91, 168, 214, 0.06);
}

.pipeline-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.7;
}

.pipeline-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: clamp(18px, 2.5vw, 24px);
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.pipeline-desc {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}


/* ─── NETWORK SECTION ─── */

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.network-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 36px 28px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s, box-shadow 0.4s;
}

.network-card:nth-child(2) { transition-delay: 0.08s; }
.network-card:nth-child(3) { transition-delay: 0.16s; }

.section-network.is-visible .network-card {
    opacity: 1;
    transform: translateY(0);
}

.network-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 48px rgba(91, 168, 214, 0.06);
}

.network-card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: clamp(16px, 2vw, 20px);
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.network-card-desc {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Capabilities Block */
.capabilities-block {
    margin-top: 64px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.section-network.is-visible .capabilities-block {
    opacity: 1;
    transform: translateY(0);
}

.capabilities-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.capabilities-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: clamp(20px, 3vw, 28px);
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.capabilities-list li {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.capabilities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

/* Capabilities Image */
.capabilities-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transition: opacity 0.55s ease, border-color 0.4s, box-shadow 0.4s;
    will-change: transform;
}

.capabilities-image .slot-image-inner {
    inset: 0;
}

.capabilities-image .slot-img {
    object-position: center center;
}

.section-network.is-visible .capabilities-image {
    opacity: 1;
}
/* ─── FOOTER ZONE ─── */

.footer-zone {
    position: relative;
    z-index: 5;
    height: 400vh;
    background: var(--black);
}

.footer-canvas {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.footer-quantum-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    min-height: 200px;
}

.footer-quantum {
    width: 90%;
    max-width: 100%;
    height: auto;
    color: var(--white);
    opacity: 0;
    will-change: transform, width, opacity;
    display: block;
    flex-shrink: 0;
}

/* Footer Content — above QUANTUM wordmark */
.footer-content {
    padding: 24px 52px 12px;
    text-align: center;
}

.footer-content-overline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-content-headline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: clamp(28px, 4.5vw, 52px);
    letter-spacing: 3px;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-content-desc {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 48px;
}

/* Footer Contact Grid */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-full {
    width: 100%;
    max-width: 520px;
    justify-content: center;
}

.contact-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.contact-link {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.contact-link:hover {
    opacity: 0.7;
}

.contact-link:hover .contact-icon {
    color: var(--accent);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-value {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ─── Icon-Only Contact Items ─── */
.contact-icon-only {
    position: relative;
    cursor: pointer;
    justify-content: center;
}

.contact-icon-only .contact-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
}

.contact-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(34, 40, 49, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(91, 168, 214, 0.25);
    border-radius: 10px;
    padding: 10px 18px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    text-align: center;
}

.contact-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(91, 168, 214, 0.25);
}

.contact-icon-only:hover .contact-popup,
.contact-icon-only.show-popup .contact-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.contact-popup-label {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.contact-popup-value {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 3px;
    color: var(--text-primary);
}

.stat-label {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 48px 36px;
    gap: 24px;
}

.footer-tagline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-link {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-copy {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 1px;
}


/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* ── Hero Zone: shorter scroll room on mobile ── */
    .hero-zone {
            height: 150vh;
    }

    .hero-nav {
        padding: 20px 20px;
    }

    .hero-separator {
        width: calc(100% - 40px);
    }

    /* Scale up the video so the ring fills the mobile screen */
    .hero-video {
        object-fit: cover;
        transform: translateZ(0) scale(1.15);
    }

    .hero-video-wrap {
        /* Prevent scaled video from overflowing */
        overflow: hidden;
    }

    /* ── Content Sections ── */
    .content-section {
        min-height: auto;
        padding: 72px 24px;
    }

    .section-intro {
        padding-top: 0;
    }

    .section-inner {
        max-width: 100%;
    }

    .headline {
        font-size: clamp(28px, 8vw, 42px);
        letter-spacing: 2px;
    }

    .body-text {
        font-size: 17px;
        line-height: 1.75;
        max-width: 100%;
    }

    .overline {
        font-size: 12px;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    /* ── Brand Mark ── */
    .brand-name {
        font-size: 18px;
        letter-spacing: 8px;
        text-indent: 8px;
    }

    .brand-tagline {
        font-size: 6.5px;
        letter-spacing: 3.5px;
        text-indent: 3.5px;
    }

    .nav-balance {
        width: 34px;
    }

    .menu-btn {
        padding: 10px;
    }

    .menu-btn span {
        width: 22px;
    }

    /* ── Attitude Section ── */
    .attitude-word-1 {
        font-size: clamp(48px, 14vw, 80px);
    }

    .attitude-word-2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .attitude-word-3 {
        font-size: clamp(48px, 14vw, 80px);
    }

    /* ── Product Showcase ── */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
    }

    .slot-image {
        aspect-ratio: 3 / 4;
        border-radius: 8px;
        margin-bottom: 14px;
    }

    /* Reduce parallax inner overflow on mobile */
    .slot-image-inner {
        inset: -4%;
    }

    .slot-title {
        font-size: 18px;
    }

    .slot-sub {
        font-size: 14px;
    }

    /* ── Split Section ── */
    .split-layout {
        gap: 32px;
    }

    .split-image {
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    /* ── Pipeline Section ── */
    .section-pipeline .section-inner {
        padding: 72px 24px;
    }

    .pipeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pipeline-card {
        padding: 28px 24px;
    }

    .pipeline-icon {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .pipeline-title {
        font-size: 19px;
    }

    .pipeline-desc {
        font-size: 15px;
    }

    /* ── Network Section ── */
    .network-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .network-card {
        padding: 28px 24px;
    }

    .network-card-title {
        font-size: 16px;
    }

    .network-card-desc {
        font-size: 14px;
    }

    .capabilities-block {
        margin-top: 48px;
    }

    .capabilities-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .capabilities-list li {
        font-size: 16px;
    }

    .capabilities-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .capabilities-image {
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    /* ── Footer Contact ── */
    .footer-contact {
        gap: 12px;
        margin-bottom: 16px;
        padding: 0 20px;
    }

    .contact-full {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .contact-full .contact-icon {
        margin-bottom: 6px;
        margin-right: 0;
    }

    .contact-full .contact-text {
        text-align: center;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }

    .contact-value {
        font-size: 14px;
    }

    .contact-icons-row {
        gap: 28px;
    }

    .contact-icon-only .contact-icon {
        width: 24px;
        height: 24px;
    }

    /* ── Footer Zone: taller on mobile to fit content ── */
    .footer-zone {
        height: 300vh;
    }

    .footer-canvas {
        padding: 0;
    }

    .footer-quantum-wrap {
        padding: 0 12px 16px;
        min-height: 260px;
    }

    /* Ensure QUANTUM text fits within mobile viewport */
    .footer-quantum {
        max-width: 100%;
    }

    .footer-content {
        padding: 48px 24px 28px;
    }

    .footer-content-headline {
        font-size: clamp(22px, 7vw, 34px);
        letter-spacing: 2px;
    }

    .footer-content-desc {
        font-size: 16px;
        margin-bottom: 36px;
    }

    .footer-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: clamp(26px, 7vw, 36px);
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 20px 28px;
    }

    .footer-tagline {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .footer-nav {
        gap: 16px;
    }

    .footer-link {
        font-size: 11px;
        /* Better touch targets */
        padding: 6px 0;
    }

    .footer-copy {
        font-size: 10px;
    }
}

/* ── Extra small screens (iPhone SE etc.) ── */
@media (max-width: 380px) {
    .hero-zone {
        height: 200vh;
    }

    .hero-nav {
        padding: 16px 16px;
    }

    .brand-name {
        font-size: 14px;
        letter-spacing: 6px;
        text-indent: 6px;
    }

    .brand-tagline {
        font-size: 5.5px;
        letter-spacing: 3px;
    }

    .content-section {
        padding: 56px 18px;
    }

    .headline {
        font-size: clamp(24px, 7.5vw, 36px);
    }

    .footer-zone {
        height: 240vh;
    }

    .footer-bar {
        padding: 0 16px 24px;
    }
}


