/* ================================================================
   MBCL — KING O'HOLI INSPIRED DESIGN SYSTEM
   Spatial Brutalism · Editorial Typography · High-Contrast Mono
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@400;500&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
    --ink: #111009;
    /* near-black ink */
    --ink-light: #3a3830;
    /* secondary text */
    --ink-muted: #7a7670;
    /* caption/label text */
    --paper: #f4f1ec;
    /* warm off-white page */
    --paper-deep: #e9e5de;
    /* slightly deeper for contrast zones */
    --accent: #111009;
    /* accent = ink itself (monochromatic) */

    --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'DM Mono', monospace;

    /* Tracking */
    --track-wide: 0.18em;
    --track-tight: -0.03em;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* No background image overlay — clean paper background */

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
}

/* ================================================================
   HEADER — Ultra-minimal, extremely translucent
   ================================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Extremely translucent — almost ghostlike when at top of page */
    background: rgba(244, 241, 236, 0.08);
    /* No shadow, no blur — pure flatness */
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
        background 0.4s ease;
}

.main-header.scrolled {
    transform: translateY(0);
    /* Becomes barely visible when the page is scrolled */
    background: rgba(244, 241, 236, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    border-bottom: 1px solid var(--ink);
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.55;
}

.header-logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.2);
}

.header-logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: var(--track-wide);
    color: var(--ink);
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Dropdown ── */
.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--ink-light);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.dropdown-btn:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.dropdown.active .dropdown-btn {
    color: var(--ink);
    border-color: var(--ink);
}

.dropdown-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    background: var(--paper);
    border: 1px solid var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    padding: 4px 0;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--ink-light);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
    background: var(--ink);
    color: var(--paper);
}

.dropdown-item.active {
    color: var(--ink);
    font-weight: 500;
}

.dropdown-item.logout {
    color: #8b2222;
}

.dropdown-item.logout:hover {
    background: #8b2222;
    color: var(--paper);
}

.dropdown-divider {
    height: 1px;
    background: var(--paper-deep);
    margin: 4px 16px;
}


/* ================================================================
   CINEMATIC HERO — Scroll-to-Blur-to-Solid System
   CSS Custom Properties (manipulated by JS on scroll):
     --hero-blur            : backdrop-filter blur amount (0px → 20px)
     --hero-overlay-opacity : dark overlay opacity (0 → 1)
   ================================================================ */

/* ── CSS Variables (scroll animation control knobs) ────────────── */
:root {
    --hero-blur: 0px;
    --hero-overlay-opacity: 0;
}

/* ── Layer 1: Fixed Background Container ───────────────────────── */
/* Positioned fixed so it stays in place while the page scrolls.   */
/* z-index: -2 keeps it behind all content and the blur layer.     */
#hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
    /* Visual polish: very subtle desaturation */
    filter: grayscale(10%) contrast(1.05) brightness(0.9);
}

/* The image inside the fixed container: full-cover, anchored top   */
#hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}


/* ── Layer 2: Blur Layer ────────────────────────────────────────── */
/* An empty div that sits directly above the bg image and receives  */
/* backdrop-filter: blur(). Backdrop-filter blurs whatever is       */
/* BEHIND this element (i.e. the fixed bg image).                   */
/* We animate the blur amount via the --hero-blur CSS variable.     */
#hero-blur-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    /* CSS variable drives the blur amount — updated by JS */
    -webkit-backdrop-filter: blur(var(--hero-blur));
    backdrop-filter: blur(var(--hero-blur));
    /* Pointer events off — invisible to mouse/touch */
    pointer-events: none;
}

/* ── Layer 3: Paper-White Overlay ──────────────────────────────── */
/* This overlay sits behind content sections (z-index -1) and fades */
/* from transparent to fully opaque paper-white as the user scrolls */
#hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--paper, #f4f1ec);
    opacity: var(--hero-overlay-opacity);
    pointer-events: none;
    will-change: opacity;
}




/* ── Section 1: Hero ——— provides scroll height ─────────────────── */
/* The section itself is transparent — it is just a scroll spacer   */
/* and a positioning context for the floating heading text.          */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Transparent: shows through to the fixed background layers below */
    background: transparent;
    margin: 0;
    padding: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ── Heading Wrapper ──────────────────────────────────────────── */
.hero-heading-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0 32px;
    /* Vertically centred in the 100vh section */
}

/* ── Hero Heading Typography ──────────────────────────────────── */
/* Bebas Neue is the display font already imported by the design    */
/* system. We make it enormous — the text IS the visual design.     */
.hero-heading {
    font-family: var(--font-display);
    /* Bebas Neue */
    color: #f4f1ec;
    /* Warm off-white: reads on the image */
    line-height: 0.88;
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* Subtle text shadow for legibility over varied images */
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

/* Primary brand name — the big headline */
.hero-heading-line {
    display: block;
    font-size: clamp(120px, 22vw, 280px);
    line-height: 0.85;
    letter-spacing: var(--track-wide);
}

/* Secondary descriptor line — smaller but still massive */
.hero-heading-line--sub {
    font-size: clamp(32px, 6.5vw, 96px);
    letter-spacing: 0.22em;
    color: rgba(244, 241, 236, 0.7);
    margin-top: 0.15em;
    line-height: 1;
}

/* Tagline — delicate monospaced text below */
.hero-heading-line--tag {
    font-family: var(--font-mono);
    font-size: clamp(11px, 1.2vw, 16px);
    letter-spacing: 0.3em;
    color: rgba(244, 241, 236, 0.45);
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 2em;
    line-height: 1.6;
}

/* ── Scroll Cue — anchored to bottom of hero section ─────────── */
.hero-scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: scrollCuePulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.scroll-cue-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(244, 241, 236, 0.4);
}

.scroll-cue-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom,
            rgba(244, 241, 236, 0.5),
            rgba(244, 241, 236, 0));
    transform-origin: top;
    animation: scrollCueLine 2.4s ease-in-out infinite;
}

@keyframes scrollCuePulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scrollCueLine {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    30% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

/* ── Next section must sit above the fixed layers ─────────────── */
/* Any section immediately following the hero needs z-index so it  */
/* overlaps the fixed #hero-overlay cleanly once opacity reaches 1 */
.hero-section+section,
.hero-section+div+section {
    position: relative;
    z-index: 2;
}


/* ================================================================
   SHARED SECTION SCAFFOLDING
   ================================================================ */

/* Massive vertical breathing room between sections */
section {
    padding: 160px 0;
    position: relative;
    z-index: 2;
}


/* Section labels — tiny uppercase trackers */
.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 32px;
    display: block;
}

/* Section mega-titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 400;
    /* Bebas Neue is inherently heavy */
    color: var(--ink);
    letter-spacing: var(--track-tight);
    line-height: 0.93;
    margin-bottom: 0;
}

.section-title--sm {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: var(--track-tight);
    line-height: 0.95;
}

/* Body copy style */
.body-copy {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-light);
    font-weight: 300;
    max-width: 540px;
}

/* Section header block */
.section-header {
    margin-bottom: 80px;
}

.section-header.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Remove old icon badges entirely */
.icon-badge {
    display: none;
}

/* Section description */
.section-description {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-muted);
    margin-top: 24px;
    letter-spacing: 0.02em;
}


/* ================================================================
   DEMO VIDEOS SECTION
   ================================================================ */
.demo-videos-section {
    padding: 160px 0;
}

.demo-videos-section .section-header {
    margin-bottom: 72px;
}

.videos-grid {
    display: flex;
    justify-content: center;
}

/* No card — video floats free on the page */
.video-container {
    width: 88%;
    max-width: 1100px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.video-container:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.video-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: var(--track-wide);
    color: var(--ink-muted);
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--ink);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* == Journey Carousel: Native Horizontal Scroll-Snap ============== */
/* The section removes overflow hidden so the snap container works   */
.journey-section {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    /* allow snap container to work */
    padding: 0;
}

/* The snap container: full-width horizontal scroller               */
.journey-slides {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* Fixed height gives every slide the same reference height for  */
    /* align-items: flex-end — without this, min-height on each      */
    /* slide resolves independently and titles appear at diff levels  */
    height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* No min-height needed — slides provide height */
}


/* Hide scrollbar completely (scroll still works) */
.journey-slides::-webkit-scrollbar {
    display: none;
}

.journey-slides {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Each slide is exactly one viewport wide — full-bleed             */
.journey-slide {
    flex: 0 0 100vw;
    width: 100vw;
    /* height: 100% fills the fixed 100vh of .journey-slides        */
    /* This ensures EVERY slide is the same height so align-items   */
    /* flex-end anchors the title to the same vertical position.    */
    height: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    flex-shrink: 0;
    /* Layout: content anchored to bottom-left */
    display: flex;
    align-items: flex-end;
    /* No absolute positioning needed in flex row */
    position: relative;
    opacity: 1;
    /* All slides visible — position handles display */
    pointer-events: all;
    /* Smooth opacity still used for JS active state highlight */
    transition: none;
}

/* Keep active class for JS compatibility (styling neutral) */
.journey-slide.active {
    opacity: 1;
    pointer-events: all;
}


.journey-overlay {
    display: none;
}

.journey-content {
    padding: 120px 64px;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.journey-title {
    font-family: var(--font-display);
    font-size: clamp(80px, 12vw, 160px);
    color: var(--ink);
    letter-spacing: var(--track-tight);
    line-height: 0.88;
    margin-bottom: 40px;
}

.journey-year {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: var(--track-wide);
    color: var(--ink-muted);
    text-transform: uppercase;
    margin-bottom: 28px;
    display: block;
}

.journey-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-light);
    font-weight: 300;
    max-width: 560px;
}

/* Timeline nav */
.journey-timeline {
    position: relative;
    background: var(--paper);
    border-top: 1px solid var(--ink);
    padding: 28px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-items {
    display: flex;
    gap: 8px;
}

.timeline-item {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--ink-muted);
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.timeline-item:hover,
.timeline-item.active {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
}

.timeline-arrows {
    display: flex;
    gap: 12px;
}

.timeline-arrow {
    background: transparent;
    border: 1px solid var(--ink);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.2s;
}

.timeline-arrow:hover {
    background: var(--ink);
    color: var(--paper);
}


/* ================================================================
   MBCL CONSOLE SECTION
   ================================================================ */
.console-section {
    padding: 160px 0;
}

.console-title {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 130px);
    font-weight: 400;
    color: var(--ink);
    text-align: left;
    letter-spacing: var(--track-tight);
    line-height: 0.9;
    margin-bottom: 24px;
}

.console-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-muted);
    text-align: left;
    margin-bottom: 100px;
    letter-spacing: 0.04em;
}

/* No grid — standalone item sits free */
.console-grid {
    display: block;
    max-width: 100%;
}

/* Console card — reborn as a flat, clickable text block */
.console-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    cursor: pointer;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: background 0.2s;
    overflow: visible;
}

.console-card:hover {
    background: var(--paper-deep);
    transform: none;
    box-shadow: none;
    border-color: var(--ink);
}

.console-card::before {
    display: none;
}

/* Hide icon container */
.console-card-icon {
    display: none;
}

.console-card-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    letter-spacing: var(--track-tight);
    color: var(--ink);
    margin-bottom: 0;
    text-align: left;
}

.console-card-description {
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-muted);
    text-align: left;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.console-card-body {
    flex: 1;
}

.console-card-arrow {
    display: flex;
    color: var(--ink-muted);
    flex-shrink: 0;
    margin-left: 40px;
    transition: transform 0.3s ease, color 0.2s;
}

.console-card:hover .console-card-arrow {
    color: var(--ink);
    transform: translateX(10px);
}


/* ================================================================
   TECHNOLOGY STACK SECTION
   ================================================================ */
.technology-section {
    padding: 160px 0;
}

.tech-subsection {
    margin-bottom: 100px;
}

.tech-subsection:last-child {
    margin-bottom: 0;
}

/* Subsection header */
.tech-subtitle {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: var(--track-tight);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Remove the SVG icons from subtitles by hiding them */
.tech-subtitle svg {
    display: none;
}

/* ── Hardware Carousel — Native CSS Scroll Snap ── */
/* The outer container is just a relative wrapper for positioning  */
.carousel-container {
    position: relative;
    max-width: 100%;
}

/* The wrapper IS the scrollable viewport.                          */
/* overflow-x: scroll   → captures native horizontal trackpad swipe */
/* overflow-y: hidden   → prevents accidental vertical scroll       */
/* scroll-snap-type     → snaps to cards when the user stops        */
.carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Visual cue: fade out the left/right edges to show it scrolls */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    /* Make the cursor indicate grab/drag */
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

/* Hide the scrollbar entirely */
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-track {
    display: flex;
    /* Larger gap between distinct cards */
    gap: 16px;
    transition: none;
    /* Generous horizontal padding so first/last cards don't stick to the edge */
    padding: 16px 5%;
}

/* Each card is a snap target */
.carousel-item {
    flex: 0 0 calc(30% - 16px);
    max-width: calc(30% - 16px);
    scroll-snap-align: center;
    flex-shrink: 0;
    /* Remove snap target from edge cards if we want free scrolling */
}

/* Responsive: 2 cards on medium, 1 on mobile */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .carousel-item {
        flex: 0 0 calc(100% - 8px);
        max-width: calc(100% - 8px);
        scroll-snap-align: center;
    }
}

/* Prev/Next buttons — hide since trackpad/touch handles scrolling  */
.carousel-btn {
    display: none;
}

/* Carousel dots — keep as visual progress indicator               */
.carousel-dots {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 28px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    background: var(--ink-muted);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
}

.carousel-dot:hover {
    background: var(--ink-light);
}

.carousel-dot.active {
    background: var(--ink);
    width: 32px;
    border-radius: 0;
}


/* Tech carousel scroll progress */
.tech-carousel-progress {
    width: 100%;
    height: 1px;
    background: var(--paper-deep);
    position: relative;
    margin-bottom: 40px;
}

.tech-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--ink);
    width: 0%;
    /* No transitions; width is set via JS to match scroll tracking exactly */
}

/* Tech cards — redesigned as minimalist typographic items */
.tech-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 0;
    padding-right: 80px;
    /* Space out items naturally */
    text-align: left;
    transition: none;
    box-shadow: none;
    user-select: none;
    min-width: 320px;
}

.tech-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Remove emoji icon */
.tech-icon {
    display: none;
}

.tech-card h4 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: var(--track-tight);
    line-height: 1;
}

.tech-card p {
    font-size: 13px;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* ── Software Timeline ── */
.timeline-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.timeline-items-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 32px;
    background: transparent !important;
    align-items: stretch;
}

/* Force absolutely all backgrounds in this section to be transparent to kill the rogue grey box */
.timeline-items-grid * {
    background: transparent !important;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    background: transparent !important;
    padding: 0;
}

/* Hide connector lines */
.timeline-connector {
    display: none;
}

.timeline-marker {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.timeline-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    display: inline-block;
    line-height: 1;
    letter-spacing: var(--track-wide);
}

.timeline-content {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

.timeline-content:hover {
    border: none;
    box-shadow: none;
    transform: none;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: var(--track-tight);
    line-height: 1.05;
    text-transform: uppercase;
}

.timeline-content p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ink-muted);
    letter-spacing: 0.03em;
    /* uppercase text on paragraphs causes long words and weird breaking; reset to normal */
    text-transform: none;
    /* prevent weird spacing */
    white-space: normal;
}

/* Prevent typewriter text from forcing pre-wrap in these specific small columns */
.timeline-content p.typewriter-text {
    white-space: normal;
}


/* ================================================================
   PROJECT STATUS SECTION
   ================================================================ */
.viability-section {
    padding: 160px 0;
}

.status-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.status-content-centered {
    margin-top: 80px;
}

.status-phase {
    margin-bottom: 80px;
}

/* Phase badge — no pill, just mono label */
.phase-badge {
    display: inline-block;
    background: transparent;
    color: var(--ink-muted);
    padding: 0;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: var(--track-wide);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ink-muted);
    padding-bottom: 2px;
}

.phase-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: var(--track-tight);
    line-height: 1;
}

/* Status detail rows — no cards */
.status-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0 0 60px;
    border-top: 1px solid var(--paper-deep);
}

.status-item-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--paper-deep);
    border-right: 1px solid var(--paper-deep);
    border-radius: 0;
    padding: 32px 0 32px 0;
    text-align: left;
    box-shadow: none;
    padding-right: 40px;
}

.status-item-inline:nth-child(even) {
    border-right: none;
    padding-left: 40px;
    padding-right: 0;
}

.status-item-inline:hover {
    background: transparent;
    border-color: inherit;
    transform: none;
    box-shadow: none;
}

/* Hide SVG icons in status items */
.status-item-inline svg {
    display: none;
}

.status-item-inline p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-light);
    margin: 0;
    font-weight: 300;
}

.status-item-inline p strong {
    font-weight: 500;
    color: var(--ink);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Prototype notice — minimal tag */
.prototype-notice {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 14px 24px;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: var(--track-wide);
}

.prototype-notice svg {
    display: none;
}


/* ================================================================
   FUTURE SCOPE SECTION
   ================================================================ */
.future-section {
    padding: 160px 0;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 100%;
    margin: 0;
    background: var(--paper-deep);
}

/* Future cards — purely typographic */
.future-card {
    background: var(--paper);
    border: none;
    border-radius: 0;
    padding: 60px 40px;
    text-align: left;
    transition: background 0.2s;
    box-shadow: none;
}

.future-card:hover {
    background: var(--paper-deep);
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Hide icon circles */
.future-icon {
    display: none;
}

.future-card h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 2.5vw, 40px);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: var(--track-tight);
    line-height: 1;
}

.future-card p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}


/* ================================================================
   TEAM SECTION — Master-Detail Layout
   ================================================================ */
.team-section {
    padding: 160px 0;
}

/* Remove wide whitespace on the left side of the screen and completely left-align */
.team-section .container {
    margin: 0;
    padding-left: 64px;
    padding-right: 64px;
    max-width: none;
}

/* Section header — left-aligned (no centring) */
.team-section .section-header {
    text-align: left;
    display: block;
}

/* Two-column split: names left, detail right */
.team-layout {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0;
    margin-bottom: 80px;
    border-top: 1px solid var(--ink);
    min-height: 420px;
}

/* ── Left column: vertical name list ── */
.team-name-list {
    border-right: 1px solid var(--ink);
}

.team-name-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px 32px 0;
    border-bottom: 1px solid var(--ink-muted);
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
    outline: none;
}

.team-name-item:last-child {
    border-bottom: none;
}

.team-name-item:hover {
    background: var(--paper-deep);
}

.team-name-item.active {
    background: var(--paper-deep);
}

.team-name-index {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    color: var(--ink-muted);
    flex-shrink: 0;
    min-width: 24px;
    transition: color 0.2s;
}

.team-name-item.active .team-name-index,
.team-name-item:hover .team-name-index {
    color: var(--ink);
}

.team-name-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: var(--track-tight);
    line-height: 1;
    flex: 1;
    transition: color 0.2s;
}

.team-name-item.active .team-name-text,
.team-name-item:hover .team-name-text {
    color: var(--ink);
}

.team-name-arrow {
    color: var(--ink-muted);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s;
}

.team-name-item.active .team-name-arrow,
.team-name-item:hover .team-name-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--ink);
}

/* ── Right column: detail panel ── */
.team-detail-panel {
    padding: 48px 48px;
    position: relative;
}

.team-detail {
    position: absolute;
    top: 48px;
    left: 48px;
    right: 48px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.team-detail.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.team-detail-role {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    color: var(--ink-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.team-detail-name {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: var(--track-tight);
    line-height: 0.92;
    margin-bottom: 32px;
}

.team-detail-bio {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-light);
    max-width: 440px;
    letter-spacing: 0.01em;
}

/* Mission + badge — left-aligned */
.team-mission {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.team-mission p {
    font-size: 18px;
    font-weight: 300;
    color: var(--ink-light);
    margin-bottom: 32px;
    line-height: 1.6;
    font-family: var(--font-body);
}

/* Closed-source badge — styled as a flat tag */
.closed-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 24px;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
}

.closed-source-badge svg {
    display: none;
}


/* ================================================================
   AUTH MODAL
   ================================================================ */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 16, 9, 0.82);
}

.auth-modal-content {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    max-width: 460px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: none;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}

.auth-modal.active .auth-modal-content {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: 1px solid var(--paper-deep);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink-muted);
    transition: all 0.2s;
    border-radius: 0;
    z-index: 10;
}

.auth-modal-close:hover {
    border-color: var(--ink);
    color: var(--ink);
    transform: none;
    background: transparent;
}

.auth-modal-body {
    padding: 56px 44px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.auth-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(1);
}

.auth-logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: var(--track-wide);
    color: var(--ink);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: var(--track-tight);
    margin-bottom: 10px;
}

.auth-description {
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--paper-deep);
    border-radius: 0;
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 12px;
}

.auth-submit-btn:hover {
    opacity: 0.8;
    background: var(--ink);
    transform: none;
    box-shadow: none;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--paper-deep);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--paper);
    padding: 0 12px;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
}

.auth-signup-btn {
    width: 100%;
    padding: 16px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--paper-deep);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s;
}

.auth-signup-btn:hover {
    background: var(--paper-deep);
    border-color: var(--ink);
}

.auth-footer-text {
    font-size: 11px;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
    font-weight: 300;
}


/* ================================================================
   NEW FOOTER DESIGN (KING O'HOLI INSPIRED)
   ================================================================ */
.footer-section {
    padding: 0 !important;
    background: var(--ink);
    color: var(--paper);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.footer-hero {
    padding: 120px 64px 80px;
    display: flex;
    justify-content: space-between;
    min-height: 80vh;
    position: relative;
    box-sizing: border-box;
}

.footer-hero-left {
    flex: 0 0 50%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
}

.footer-hero-title {
    font-family: var(--font-display);
    font-size: clamp(120px, 16vw, 240px);
    line-height: 0.85;
    color: var(--paper);
    margin: 0;
    letter-spacing: var(--track-tight);
}

.footer-hero-right {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
}

.footer-img-placeholder {
    position: absolute;
    background: #1a1917;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: var(--track-wide);
    overflow: hidden;
}

.footer-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-img-placeholder.img-1 {
    width: 280px;
    height: 380px;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.footer-img-placeholder.img-2 {
    width: 400px;
    height: 500px;
    top: -20px;
    right: 15%;
    z-index: 1;
}

.footer-img-placeholder.img-3 {
    width: 240px;
    height: 320px;
    bottom: -40px;
    right: 0;
    z-index: 3;
}

.footer-bottom {
    background: #0f0e08;
    padding: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 120px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col-main p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(244, 241, 236, 0.6);
    max-width: 480px;
    margin: 0;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-col-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-wide);
    color: rgba(244, 241, 236, 0.4);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col-value {
    font-size: 15px;
    line-height: 1.6;
    color: var(--paper);
    margin: 0;
    text-decoration: none;
    transition: opacity 0.2s;
    display: block;
}

a.footer-col-value:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .footer-hero {
        flex-direction: column;
        padding: 80px 32px 40px;
    }

    .footer-hero-left {
        margin-bottom: 80px;
    }

    .footer-hero-right {
        height: 500px;
        width: 100%;
    }

    .footer-bottom-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    .footer-img-placeholder.img-1 {
        width: 200px;
        height: 280px;
        left: 0;
    }

    .footer-img-placeholder.img-2 {
        width: 260px;
        height: 340px;
        right: 0;
        top: 0;
    }

    .footer-img-placeholder.img-3 {
        width: 180px;
        height: 240px;
        bottom: 0;
        right: 20%;
    }
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {

    .container,
    .header-container {
        padding: 0 40px;
    }

    .future-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .timeline-item {
        border-right: none !important;
    }

    .carousel-item {
        flex: 0 0 calc(50% - 1px);
        max-width: calc(50% - 1px);
    }
}

@media (max-width: 768px) {

    .container,
    .header-container {
        padding: 0 24px;
    }

    section {
        padding: 100px 0;
    }

    .section-title {
        font-size: clamp(48px, 12vw, 80px);
    }

    .journey-content {
        padding: 80px 24px;
    }

    .journey-title {
        font-size: clamp(56px, 14vw, 100px);
    }

    .future-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        border-right: none;
    }

    .footer-title {
        font-size: clamp(48px, 14vw, 80px);
    }

    .console-title {
        font-size: clamp(48px, 12vw, 80px);
    }

    .status-details {
        grid-template-columns: 1fr;
    }

    .status-item-inline:nth-child(even) {
        border-right: none;
        padding-left: 0;
    }

    .carousel-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .carousel-wrapper {
        padding: 0 50px;
    }

    .timeline-items-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .journey-timeline {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .timeline-items-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   SCROLL-TRIGGERED TYPEWRITER ANIMATION
   ================================================================ */

/* Keep the element hidden until the observer triggers it */
.typewriter-text {
    opacity: 0;
    /* Prevent text wrapping during animation */
    white-space: pre-wrap;
    /* Use monospace/typewriter font to enhance the effect */
    font-family: var(--font-mono);
}

.typewriter-text.typing {
    opacity: 1;
    overflow: hidden;
    /* Keep width at 0 initially */
    width: 0;
    /* The animation steps scale by character count via JS inline styles */
    animation: typing var(--typewriter-duration, 2s) steps(var(--typewriter-steps, 40), end) forwards;
}

/* Optional flashing caret effect at the end of the text */
.typewriter-text.typing::after {
    content: '|';
    animation: blink 0.7s step-end infinite;
    margin-left: 2px;
}

/* Once typing is done, we can remove the caret if desired by removing the class
   or just let it blink. Let's make it fade out after typing. */
.typewriter-text.typing-done {
    width: auto;
    overflow: visible;
}

.typewriter-text.typing-done::after {
    display: none;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ================================================================
/* ================================================================
   TECHNOLOGY STACK (3x3 + 1 GRID, NATIVE THEME)
   ================================================================ */
.technology-section {
    padding: 160px 0;
    /* Uses default var(--paper) background from main styling */
}

.tech-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tech-grid-header-container {
    text-align: center;
    margin-bottom: 80px;
}

.tech-grid-wrapper {
    margin-bottom: 80px;
}

.tech-cards-grid {
    display: grid;
    /* 3 columns of equal width */
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 20px;
}

/* Make the 10th card centered by spanning it or placing it specifically */
.tech-grid-card.item-centered {
    grid-column: 2 / 3;
    /* Centers the 10th item in a 3-column grid */
}

.tech-grid-card {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.tech-grid-card:hover {
    transform: translateY(-4px);
}

.tech-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--paper-deep);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-card-image .img-hint {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    text-align: center;
    padding: 0 16px;
    line-height: 1.5;
}

.tech-card-content {
    padding: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tech-card-label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: var(--track-normal);
    line-height: 1.6;
    margin: 0;
}

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

    .tech-grid-card.item-centered {
        /* Reset spanning for 2-col layout so it just flows normally */
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .tech-cards-grid {
        grid-template-columns: 1fr;
    }

    .tech-container-wide {
        padding: 0 24px;
    }
}

/* ================================================================
   EDGE-ALIGNED HEADINGS (OVERRIDES)
   ================================================================ */
/* Pull headings out of the inner container to align perfectly with the screen edge and 64px padding */
#technology .section-header,
#technology .tech-subtitle,
#viability .status-container>.section-label,
#viability .status-container>.section-title,
#viability .status-phase,
#future .section-header {
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    padding-left: 64px;
    padding-right: 64px;
    box-sizing: border-box;
    text-align: left;
}