/* ============================================================
   REGENYX AEROSPACE
   RESPONSIVE MASTER STYLESHEET
============================================================ */

:root {

    --black: #030405;
    --background: #050708;
    --surface: #0a0d0f;
    --surface-2: #0e1214;

    --white: #f4f6f5;
    --text: #e8eceb;

    --grey: #8b9495;
    --grey-dark: #596162;

    --green: #b7ff38;

    --border: rgba(255,255,255,0.10);

    --header-height: 88px;

    --max-width: 1450px;

}


/* ============================================================
   RESET
============================================================ */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    background:
        var(--background);

    color:
        var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}


img,
video,
svg {

    display: block;

    max-width: 100%;

}


img {

    height: auto;

}


video {

    width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea {

    font: inherit;

}


button {

    cursor: pointer;

}


textarea {

    resize: vertical;

}


/* ============================================================
   ACCESSIBILITY
============================================================ */

.skip-link {

    position: fixed;

    left: 15px;

    top: -100px;

    z-index: 100000;

    padding: 12px 18px;

    background:
        var(--green);

    color:
        var(--black);

    font-weight: 700;

}


.skip-link:focus {

    top: 15px;

}


:focus-visible {

    outline:
        2px solid var(--green);

    outline-offset:
        4px;

}


/* ============================================================
   HEADER
============================================================ */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height:
        var(--header-height);

    padding:
        0 clamp(18px, 5vw, 75px);

    display: flex;

    align-items: center;

    z-index: 5000;

    border-bottom:
        1px solid transparent;

    transition:
        background .3s ease,
        border-color .3s ease,
        backdrop-filter .3s ease;

}


.site-header.scrolled {

    background:
        rgba(3,4,5,.88);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--border);

}


/* ============================================================
   LOGO
============================================================ */

.logo-link {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    position: relative;

    z-index: 5002;

}


.site-logo {

    width:
        clamp(125px, 13vw, 190px);

    max-height:
        65px;

    height:
        auto;

    object-fit:
        contain;

}


/* ============================================================
   NAVIGATION
============================================================ */

.desktop-nav {

    margin-left:
        auto;

    display:
        flex;

    align-items:
        center;

    gap:
        clamp(18px, 3vw, 46px);

}


.desktop-nav a {

    color:
        rgba(255,255,255,.70);

    font-size:
        11px;

    letter-spacing:
        .13em;

    text-transform:
        uppercase;

    transition:
        color .25s ease;

}


.desktop-nav a:hover {

    color:
        var(--green);

}


/* ============================================================
   HEADER RIGHT
============================================================ */

.header-right {

    display:
        flex;

    align-items:
        center;

    gap:
        20px;

    margin-left:
        30px;

}


/* ============================================================
   LANGUAGE
============================================================ */

.language-selector {

    position:
        relative;

}


.language-button {

    min-height:
        44px;

    padding:
        8px 4px;

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    border:
        0;

    background:
        transparent;

    color:
        rgba(255,255,255,.75);

    font-size:
        11px;

    letter-spacing:
        .12em;

}


.language-arrow {

    font-size:
        10px;

}


.language-menu {

    position:
        absolute;

    top:
        calc(100% + 10px);

    right:
        0;

    width:
        140px;

    padding:
        6px;

    background:
        rgba(10,13,15,.98);

    border:
        1px solid var(--border);

    box-shadow:
        0 20px 50px rgba(0,0,0,.45);

    opacity:
        0;

    visibility:
        hidden;

    transform:
        translateY(-6px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

}


.language-menu.open {

    opacity:
        1;

    visibility:
        visible;

    transform:
        translateY(0);

}


.language-menu button {

    width:
        100%;

    min-height:
        42px;

    padding:
        10px;

    border:
        0;

    background:
        transparent;

    color:
        rgba(255,255,255,.70);

    text-align:
        left;

}


.language-menu button:hover {

    background:
        rgba(183,255,56,.08);

    color:
        var(--green);

}


/* ============================================================
   CTA
============================================================ */

.header-cta {

    min-height:
        44px;

    padding:
        10px 16px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(183,255,56,.45);

    color:
        var(--green);

    font-size:
        10px;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;

    transition:
        background .25s ease,
        color .25s ease;

}


.header-cta:hover {

    background:
        var(--green);

    color:
        var(--black);

}


/* ============================================================
   HERO
============================================================ */

.hero {

    position:
        relative;

    width:
        100%;

    min-height:
        100svh;

    height:
        100vh;

    overflow:
        hidden;

    isolation:
        isolate;

}


.hero-video-layer {

    position:
        absolute;

    inset:
        0;

    z-index:
        -5;

    background:
        #000;

}


.hero-video {

    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center center;

}


.hero-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        -4;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,.92) 0%,
            rgba(0,0,0,.68) 38%,
            rgba(0,0,0,.25) 100%
        ),

        linear-gradient(
            180deg,
            rgba(0,0,0,.55) 0%,
            transparent 35%,
            rgba(0,0,0,.90) 100%
        );

}


/* ============================================================
   HERO CONTENT
============================================================ */

.hero-content {

    position:
        relative;

    z-index:
        10;

    width:
        min(900px, calc(100% - 40px));

    margin-left:
        clamp(20px, 8vw, 135px);

    padding-top:
        clamp(150px, 27vh, 280px);

}


.hero-eyebrow {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin-bottom:
        28px;

}


.hero-eyebrow span {

    width:
        30px;

    height:
        1px;

    flex:
        0 0 auto;

    background:
        var(--green);

}


.hero-eyebrow strong {

    color:
        var(--green);

    font-size:
        10px;

    letter-spacing:
        .18em;

}


.hero h1 {

    max-width:
        900px;

    font-family:
        "Space Grotesk",
        Inter,
        sans-serif;

    font-size:
        clamp(40px, 6.5vw, 92px);

    line-height:
        .98;

    font-weight:
        400;

    letter-spacing:
        -.055em;

}


.hero h1 span,
.hero h1 em {

    display:
        block;

}


.hero h1 em {

    color:
        var(--green);

    font-style:
        normal;

}


.hero-description {

    max-width:
        620px;

    margin-top:
        30px;

    color:
        rgba(255,255,255,.72);

    font-size:
        clamp(14px, 1.4vw, 18px);

}


.hero-buttons {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        38px;

}


.btn {

    min-height:
        50px;

    padding:
        0 22px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid transparent;

    font-size:
        10px;

    letter-spacing:
        .13em;

    text-transform:
        uppercase;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;

}


.btn:hover {

    transform:
        translateY(-2px);

}


.btn-primary {

    background:
        var(--green);

    color:
        var(--black);

}


.btn-primary:hover {

    background:
        #d0ff78;

}


.btn-outline {

    border:
        1px solid rgba(255,255,255,.30);

    color:
        var(--white);

}


.btn-outline:hover {

    border-color:
        var(--green);

    color:
        var(--green);

}


/* ============================================================
   HERO STATUS
============================================================ */

.hero-status {

    position:
        absolute;

    right:
        clamp(20px, 5vw, 75px);

    bottom:
        55px;

    z-index:
        10;

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    color:
        rgba(255,255,255,.52);

    font-size:
        9px;

    letter-spacing:
        .16em;

}


.status-light {

    width:
        7px;

    height:
        7px;

    flex:
        0 0 auto;

    border-radius:
        50%;

    background:
        var(--green);

    box-shadow:
        0 0 12px var(--green);

    animation:
        statusPulse 2s infinite;

}


@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }

}


/* ============================================================
   HERO SCROLL
============================================================ */

.hero-scroll {

    position:
        absolute;

    left:
        clamp(20px, 5vw, 75px);

    bottom:
        50px;

    z-index:
        10;

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    color:
        rgba(255,255,255,.40);

    font-size:
        8px;

    letter-spacing:
        .18em;

}


.hero-scroll div {

    width:
        50px;

    height:
        1px;

    background:
        rgba(255,255,255,.35);

}


/* ============================================================
   SECTIONS
============================================================ */

.section {

    position:
        relative;

    width:
        min(100%, var(--max-width));

    margin:
        0 auto;

    padding:
        145px clamp(25px, 6vw, 90px);

    border-bottom:
        1px solid var(--border);

}


.section-number {

    position:
        absolute;

    top:
        150px;

    left:
        20px;

    color:
        rgba(255,255,255,.15);

    font-size:
        10px;

    letter-spacing:
        .15em;

}


.section-heading {

    max-width:
        950px;

    margin-left:
        5%;

}


.section-label {

    margin-bottom:
        18px;

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        600;

    letter-spacing:
        .18em;

}


.section-heading h2 {

    font-family:
        "Space Grotesk",
        Inter,
        sans-serif;

    font-size:
        clamp(34px, 5vw, 72px);

    line-height:
        1.02;

    font-weight:
        400;

    letter-spacing:
        -.045em;

}


.section-heading h2 span {

    display:
        inline;

}


.section-heading h2 em {

    color:
        rgba(255,255,255,.37);

    font-style:
        normal;

}


.section-heading > p {

    max-width:
        650px;

    margin-top:
        25px;

    color:
        var(--grey);

}


/* ============================================================
   THESIS
============================================================ */

.thesis-layout {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, .7fr);

    gap:
        90px;

    margin:
        95px 5% 0;

}


.thesis-text {

    max-width:
        800px;

}


.large-paragraph {

    margin-bottom:
        28px;

    color:
        rgba(255,255,255,.88);

    font-size:
        clamp(21px, 2.4vw, 33px);

    line-height:
        1.35;

}


.thesis-text > p:not(.large-paragraph) {

    color:
        var(--grey);

}


.thesis-metrics {

    border-left:
        1px solid var(--border);

    padding-left:
        32px;

}


.metric {

    padding:
        25px 0;

    border-bottom:
        1px solid var(--border);

}


.metric-code {

    color:
        var(--green);

    font-size:
        29px;

}


.metric-title {

    margin-top:
        7px;

    color:
        var(--grey);

    font-size:
        11px;

}


/* ============================================================
   TECHNOLOGY
============================================================ */

.technology-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        18px;

    margin:
        90px 5% 0;

}


.technology-card {

    position:
        relative;

    min-height:
        430px;

    padding:
        42px;

    display:
        flex;

    flex-direction:
        column;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid var(--border);

    overflow:
        hidden;

    transition:
        transform .3s ease,
        border-color .3s ease;

}


.technology-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(183,255,56,.35);

}


.card-number {

    color:
        rgba(255,255,255,.25);

    font-size:
        10px;

    letter-spacing:
        .15em;

}


.technology-symbol {

    margin:
        45px 0 25px;

    color:
        var(--green);

    font-size:
        45px;

}


.technology-card h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        32px;

}


.technology-card h4 {

    margin-top:
        10px;

    color:
        var(--grey);

    font-size:
        13px;

    font-weight:
        400;

}


.technology-card p {

    margin-top:
        20px;

    color:
        rgba(255,255,255,.65);

}


.card-bottom {

    margin-top:
        auto;

    padding-top:
        30px;

    display:
        flex;

    justify-content:
        space-between;

    color:
        var(--green);

    font-size:
        9px;

    letter-spacing:
        .15em;

}


/* ============================================================
   MECHANISM
============================================================ */

.mechanism-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        14px;

    margin:
        90px 5% 0;

}


.mechanism-card {

    min-height:
        290px;

    padding:
        30px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid var(--border);

}


.mechanism-card > span {

    color:
        rgba(255,255,255,.30);

    font-size:
        10px;

}


.mechanism-card h3 {

    margin-top:
        75px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        20px;

}


.mechanism-card p {

    margin-top:
        15px;

    color:
        var(--grey);

    font-size:
        13px;

}


/* ============================================================
   SIMULATION
============================================================ */

.simulation-section {

    width:
        min(100%, var(--max-width));

    margin:
        auto;

    padding:
        120px clamp(20px, 6vw, 90px);

}


.simulation-heading {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        40px;

}


.simulation-heading h2 {

    margin-top:
        10px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(34px, 5vw, 65px);

}


.simulation-heading p {

    max-width:
        650px;

    margin-top:
        18px;

    color:
        var(--grey);

}


.simulation-warning {

    flex:
        0 0 auto;

    padding:
        10px 14px;

    border:
        1px solid rgba(255,255,255,.15);

    color:
        var(--grey);

    font-size:
        9px;

    letter-spacing:
        .12em;

}


.simulation-layout {

    margin-top:
        55px;

}


.simulation-visual {

    width:
        100%;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.018);

}


.simulation-topbar {

    min-height:
        55px;

    padding:
        0 20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    border-bottom:
        1px solid var(--border);

    color:
        var(--grey);

    font-size:
        9px;

    letter-spacing:
        .14em;

}


.simulation-topbar strong {

    color:
        var(--green);

}


.svg-wrapper {

    width:
        100%;

    overflow:
        hidden;

}


#loadVisualization {

    width:
        100%;

    height:
        auto;

    min-height:
        320px;

}


.svg-title {

    fill:
        white;

    font-size:
        20px;

}


.svg-caption {

    fill:
        rgba(255,255,255,.45);

    font-size:
        11px;

}


.svg-label {

    fill:
        var(--green);

    font-size:
        12px;

    letter-spacing:
        2px;

}


.path {

    fill:
        none;

    stroke-width:
        5;

}


.path.primary {

    stroke:
        rgba(255,255,255,.22);

}


.path.camlr {

    stroke:
        rgba(183,255,56,.45);

}


.path.pttlr {

    stroke:
        rgba(183,255,56,.25);

}


.frame-member {

    stroke:
        rgba(255,255,255,.12);

    stroke-width:
        3;

}


.node {

    fill:
        #111;

    stroke:
        rgba(255,255,255,.55);

    stroke-width:
        3;

}


.critical-node {

    fill:
        rgba(183,255,56,.08);

    stroke:
        var(--green);

    stroke-width:
        2;

}


.node-center {

    fill:
        var(--green);

}


.input-box {

    fill:
        rgba(255,255,255,.025);

    stroke:
        rgba(255,255,255,.18);

}


/* ============================================================
   APPLICATIONS
============================================================ */

.applications-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        18px;

    margin:
        80px 5% 0;

}


.application-card {

    min-height:
        330px;

    padding:
        40px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        flex-end;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid var(--border);

    transition:
        transform .3s ease,
        border-color .3s ease;

}


.application-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(183,255,56,.35);

}


.application-card h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(24px, 3vw, 36px);

}


.application-card p {

    max-width:
        650px;

    margin-top:
        15px;

    color:
        var(--grey);

}


/* ============================================================
   ROADMAP
============================================================ */

.roadmap-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        15px;

    margin:
        80px 5% 0;

}


.roadmap-card {

    padding:
        30px;

    min-height:
        260px;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.025);

}


.roadmap-card > span {

    color:
        var(--green);

    font-size:
        11px;

}


.roadmap-card h3 {

    margin-top:
        55px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        23px;

}


.roadmap-card p {

    margin-top:
        15px;

    color:
        var(--grey);

    font-size:
        13px;

}


/* ============================================================
   LEADERSHIP
============================================================ */

.leadership-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        20px;

    margin:
        80px 5% 0;

}


.leader-card {

    padding:
        35px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid var(--border);

}


.leader-card img {

    width:
        100%;

    aspect-ratio:
        4 / 3;

    object-fit:
        cover;

    margin-bottom:
        30px;

}


.leader-card h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        27px;

}


.leader-card h4 {

    margin-top:
        7px;

    color:
        var(--green);

    font-size:
        10px;

    letter-spacing:
        .10em;

    text-transform:
        uppercase;

}


.leader-card p {

    margin-top:
        20px;

    color:
        var(--grey);

}


/* ============================================================
   CONTACT
============================================================ */

.contact-section {

    border-bottom:
        none;

}


.contact-box {

    max-width:
        900px;

    margin:
        80px auto 0;

    padding:
        clamp(25px, 5vw, 55px);

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.025);

}


.contact-box > p {

    max-width:
        700px;

    margin-bottom:
        40px;

    color:
        var(--grey);

}


.input-group {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        15px;

}


.contact-box input,
.contact-box textarea {

    width:
        100%;

    margin-bottom:
        15px;

    padding:
        15px 16px;

    border:
        1px solid var(--border);

    background:
        rgba(0,0,0,.30);

    color:
        white;

    outline:
        none;

}


.contact-box input:focus,
.contact-box textarea:focus {

    border-color:
        rgba(183,255,56,.60);

}


.contact-box textarea {

    min-height:
        170px;

}


.contact-box button {

    border:
        none;

}


/* ============================================================
   SUCCESS POPUP
============================================================ */

.success-popup {

    position:
        fixed;

    inset:
        0;

    z-index:
        100000;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    padding:
        20px;

    background:
        rgba(0,0,0,.80);

}


.popup-box {

    width:
        min(500px, 100%);

    padding:
        45px;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    text-align:
        center;

}


.popup-box h2 {

    color:
        var(--green);

    font-family:
        "Space Grotesk",
        sans-serif;

}


.popup-box p {

    margin:
        15px 0 25px;

    color:
        var(--grey);

}


.popup-box button {

    min-height:
        46px;

    padding:
        0 25px;

    border:
        1px solid var(--green);

    background:
        transparent;

    color:
        var(--green);

}


/* ============================================================
   FOOTER
============================================================ */

footer {

    padding:
        80px 25px 45px;

    border-top:
        1px solid var(--border);

    text-align:
        center;

}


footer img {

    width:
        min(180px, 50vw);

    margin:
        0 auto 25px;

}


footer h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    letter-spacing:
        .08em;

}


footer p {

    margin-top:
        8px;

    color:
        var(--grey);

}


footer small {

    display:
        block;

    margin-top:
        25px;

    color:
        var(--grey-dark);

}


/* ============================================================
   REVEAL
============================================================ */

.reveal {

    opacity:
        1;

    transform:
        translateY(0);

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .desktop-nav {

        gap:
            18px;

    }


    .header-right {

        margin-left:
            15px;

    }


    .mechanism-grid,
    .roadmap-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    :root {

        --header-height:
            74px;

    }


    .site-header {

        height:
            var(--header-height);

        padding:
            0 18px;

    }


    .site-logo {

        width:
            135px;

        max-height:
            50px;

    }


    .desktop-nav {

        display:
            none;

    }


    .header-right {

        margin-left:
            auto;

        gap:
            8px;

    }


    .header-cta {

        padding:
            8px 11px;

        font-size:
            8px;

    }


    .language-button {

        min-height:
            44px;

    }


    .hero {

        height:
            100svh;

        min-height:
            620px;

    }


    .hero-video {

        object-position:
            center center;

    }


    .hero-content {

        width:
            calc(100% - 36px);

        margin-left:
            18px;

        padding-top:
            145px;

    }


    .hero-eyebrow {

        margin-bottom:
            20px;

    }


    .hero-eyebrow strong {

        font-size:
            8px;

    }


    .hero h1 {

        font-size:
            clamp(36px, 11vw, 58px);

        line-height:
            1.02;

        letter-spacing:
            -.045em;

    }


    .hero-description {

        margin-top:
            22px;

        font-size:
            14px;

        line-height:
            1.6;

    }


    .hero-buttons {

        margin-top:
            28px;

        flex-direction:
            column;

        align-items:
            stretch;

        width:
            min(100%, 330px);

    }


    .btn {

        width:
            100%;

        min-height:
            50px;

    }


    .hero-status {

        left:
            18px;

        right:
            auto;

        bottom:
            24px;

        font-size:
            7px;

        letter-spacing:
            .10em;

    }


    .hero-scroll {

        display:
            none;

    }


    .section {

        padding:
            90px 20px;

    }


    .section-number {

        display:
            none;

    }


    .section-heading {

        margin-left:
            0;

    }


    .section-heading h2 {

        font-size:
            clamp(32px, 10vw, 48px);

    }


    .section-heading > p {

        font-size:
            14px;

    }


    .thesis-layout {

        grid-template-columns:
            1fr;

        gap:
            45px;

        margin:
            55px 0 0;

    }


    .large-paragraph {

        font-size:
            21px;

    }


    .thesis-metrics {

        padding-left:
            20px;

    }


    .technology-grid,
    .applications-grid,
    .leadership-grid {

        grid-template-columns:
            1fr;

        margin:
            55px 0 0;

    }


    .technology-card {

        min-height:
            0;

        padding:
            30px;

    }


    .technology-symbol {

        margin:
            30px 0 20px;

    }


    .mechanism-grid,
    .roadmap-grid {

        grid-template-columns:
            1fr;

        margin:
            55px 0 0;

    }


    .mechanism-card {

        min-height:
            0;

        padding:
            28px;

    }


    .mechanism-card h3 {

        margin-top:
            35px;

    }


    .simulation-section {

        padding:
            80px 18px;

    }


    .simulation-heading {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .simulation-warning {

        width:
            100%;

        line-height:
            1.5;

    }


    .simulation-topbar {

        min-height:
            50px;

        padding:
            0 12px;

        font-size:
            7px;

    }


    #loadVisualization {

        min-width:
            0;

        min-height:
            0;

    }


    .application-card {

        min-height:
            0;

        padding:
            30px;

    }


    .roadmap-card {

        min-height:
            0;

    }


    .leader-card {

        padding:
            25px;

    }


    .input-group {

        grid-template-columns:
            1fr;

    }


    .contact-box {

        margin-top:
            50px;

        padding:
            25px 18px;

    }


    footer {

        padding:
            60px 20px 35px;

    }

}


/* ============================================================
   SMALL PHONES
============================================================ */

@media (max-width: 480px) {

    .site-logo {

        width:
            120px;

    }


    .header-cta {

        display:
            none;

    }


    .language-menu {

        right:
            -5px;

    }


    .hero {

        min-height:
            600px;

    }


    .hero-content {

        padding-top:
            125px;

    }


    .hero h1 {

        font-size:
            clamp(34px, 11.5vw, 48px);

    }


    .hero-description {

        font-size:
            13px;

    }


    .hero-buttons {

        width:
            100%;

    }


    .section {

        padding:
            75px 18px;

    }


    .section-heading h2 {

        font-size:
            31px;

    }


    .technology-card,
    .application-card,
    .leader-card {

        padding:
            24px;

    }


    .simulation-heading h2 {

        font-size:
            32px;

    }


    .contact-box input,
    .contact-box textarea {

        font-size:
            16px;

    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }


    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;

    }

}


/* ============================================================
   TOUCH DEVICES
============================================================ */

@media (hover: none) {

    .technology-card:hover,
    .application-card:hover {

        transform:
            none;

    }

}

/* ============================================================
   FINAL MOBILE / MULTILINGUAL / VIDEO PATCH
   ============================================================ */

/* Prevent media and long translated words from creating horizontal scroll. */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    overflow-wrap: anywhere;
}

img, video, svg, iframe {
    max-width: 100%;
}

/* Google Translate: keep its UI out of the visible design. */
.google-translate-hidden {
    position: fixed !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Multilingual menu: scroll instead of overflowing the screen. */
.language-menu {
    max-height: min(70vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* Mobile navigation */
.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5,7,8,.55);
    color: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 auto;
}

.mobile-menu-button span {
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-button.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: inline-flex;
        order: 1;
    }

    .header-right {
        order: 2;
    }

    .mobile-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: 4999;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 10px 18px 18px;
        background: rgba(3,4,5,.97);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mobile-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 8px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        color: rgba(255,255,255,.82);
        font-size: 11px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        color: var(--green);
    }

    .site-header {
        gap: 10px;
    }

    .site-logo {
        width: min(135px, 34vw);
    }

    .header-right {
        margin-left: auto;
    }

    .language-menu {
        right: 0;
        width: min(260px, calc(100vw - 36px));
        columns: 2;
        column-gap: 6px;
    }

    .language-menu button {
        break-inside: avoid;
    }

    .hero {
        height: 100svh;
        min-height: 580px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-content {
        padding-top: clamp(120px, 18vh, 165px);
    }

    .hero h1 {
        max-width: 100%;
    }

    .hero-status {
        max-width: calc(100% - 36px);
        white-space: normal;
    }

    .simulation-layout,
    .simulation-visual,
    .svg-wrapper {
        min-width: 0;
        width: 100%;
    }

    #loadVisualization {
        width: 100%;
        height: auto;
        min-width: 0 !important;
    }

    .contact-box {
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 12px;
    }

    .site-logo {
        width: 112px;
    }

    .language-button {
        min-height: 42px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .header-right {
        gap: 2px;
    }

    .language-menu {
        right: -4px;
        width: min(250px, calc(100vw - 24px));
        max-height: 65vh;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        width: calc(100% - 28px);
        margin-left: 14px;
        padding-top: 115px;
    }

    .hero h1 {
        font-size: clamp(32px, 10.5vw, 46px);
    }

    .hero-description {
        max-width: 100%;
        font-size: 13px;
    }

    .hero-buttons {
        width: 100%;
    }

    .section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-heading h2 {
        font-size: clamp(30px, 9vw, 42px);
    }
}

/* Arabic / Persian direction support when Google Translate is active. */
html[lang="ar"],
html[lang="fa"] {
    direction: rtl;
}

html[lang="ar"] .hero-content,
html[lang="fa"] .hero-content {
    margin-left: 0;
    margin-right: clamp(20px, 8vw, 135px);
}

@media (max-width: 768px) {
    html[lang="ar"] .hero-content,
    html[lang="fa"] .hero-content {
        margin-right: 18px;
        margin-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none !important;
    }

    .mobile-nav,
    .mobile-menu-button span {
        transition: none !important;
    }
}

/* ============================================================
   SIMULATION CONTROLS + READOUTS — FINAL FIX
============================================================ */
.simulation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: 22px;
    align-items: stretch;
}

.simulation-controls {
    min-width: 0;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.018);
    padding: 22px;
}

.simulation-panel-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.simulation-control {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.control-row,
.readout-line,
.readout-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.control-row label,
.readout-line,
.readout-state {
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.control-row output {
    color: var(--green);
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.simulation-slider {
    display: block;
    width: 100%;
    height: 28px;
    margin: 12px 0 4px;
    accent-color: var(--green);
    cursor: pointer;
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.3);
    font-size: 9px;
    letter-spacing: .08em;
}

.simulation-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    cursor: pointer;
}

.simulation-toggle strong,
.simulation-toggle small {
    display: block;
}

.simulation-toggle strong {
    color: rgba(255,255,255,.8);
    font-size: 11px;
    letter-spacing: .12em;
}

.simulation-toggle small {
    margin-top: 5px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    line-height: 1.5;
}

.simulation-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-track {
    width: 48px;
    height: 26px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    transition: .2s ease;
}

.toggle-track span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transition: transform .2s ease, background .2s ease;
}

.simulation-toggle input:checked + .toggle-track {
    border-color: rgba(183,255,56,.6);
    background: rgba(183,255,56,.12);
}

.simulation-toggle input:checked + .toggle-track span {
    transform: translateX(20px);
    background: var(--green);
}

.simulation-toggle:focus-within .toggle-track {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.simulation-reset {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,.18);
    background: transparent;
    color: rgba(255,255,255,.72);
    font: inherit;
    font-size: 10px;
    letter-spacing: .13em;
    cursor: pointer;
    transition: .2s ease;
}

.simulation-reset:hover,
.simulation-reset:focus-visible {
    border-color: var(--green);
    color: var(--green);
}

.simulation-readout,
.simulation-events {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.simulation-readout-title {
    margin-bottom: 14px;
    color: rgba(255,255,255,.4);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.readout-state {
    padding-bottom: 12px;
    margin-bottom: 4px;
    color: rgba(255,255,255,.45);
}

.readout-state strong {
    color: var(--green);
    font-size: 10px;
    letter-spacing: .08em;
}

.readout-line {
    padding: 7px 0;
}

.readout-line strong {
    margin-left: auto;
    color: rgba(255,255,255,.85);
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}

.event-log {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 30px;
}

.event {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255,255,255,.52);
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .06em;
}

.event i {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--green);
}

.path.active {
    stroke: var(--green);
    filter: url(#pathGlow);
    opacity: 1;
}

.critical-node.active {
    fill: rgba(183,255,56,.12);
    stroke: var(--green);
    filter: url(#pathGlow);
}

.load-particle {
    fill: var(--green);
    opacity: .95;
}

.pttlr-particle {
    fill: #fff;
}

@media (max-width: 980px) {
    .simulation-layout {
        grid-template-columns: 1fr;
    }

    .simulation-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .simulation-panel-heading,
    .simulation-readout,
    .simulation-events {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .simulation-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .simulation-heading {
        display: block;
    }

    .simulation-warning {
        display: inline-block;
        margin-top: 18px;
    }

    .simulation-controls {
        display: block;
        padding: 16px;
    }

    #loadVisualization {
        min-height: 240px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .toggle-track,
    .toggle-track span,
    .simulation-reset {
        transition: none;
    }
}

/* ============================================================
   REGENYX — ENGINEERING SIMULATION MODEL
   Visual states, load distribution and adaptive routing
============================================================ */

.simulation-model-note {
    margin: 12px 0 0;
    max-width: 48ch;
    color: rgba(255,255,255,.42);
    font-size: 10px;
    line-height: 1.65;
}

.engineering-grid line {
    stroke: rgba(255,255,255,.045);
    stroke-width: 1;
    stroke-dasharray: 3 9;
}

.force-arrow {
    fill: var(--green);
}

#forceArrow {
    stroke: var(--green);
    stroke-width: 4;
    opacity: .85;
}

.svg-force-value {
    fill: var(--green);
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: .04em;
}

.svg-title.small {
    font-size: 17px;
}

.svg-micro {
    fill: rgba(255,255,255,.28);
    font-size: 8px;
    letter-spacing: 1.3px;
}

.path.inbound,
.path.decision {
    stroke: rgba(255,255,255,.18);
    stroke-width: 4;
}

.path.inbound.active,
.path.decision.active {
    stroke: var(--green);
}

.path.approach-active {
    stroke-dasharray: 9 7;
    animation: simulationPulse 1.1s linear infinite;
}

.path.caml-active {
    stroke-width: 7;
}

.path.pttlr-active {
    stroke-width: 6;
}

.path.primary {
    transition: stroke-width .25s ease, opacity .25s ease, stroke .25s ease;
}

.path.camlr,
.path.pttlr {
    transition: stroke-width .25s ease, opacity .25s ease, stroke .25s ease;
    opacity: .16;
}

.path.camlr.active {
    opacity: 1;
}

.path.pttlr.active {
    opacity: 1;
}

.critical-node {
    fill: rgba(255,255,255,.025);
    stroke: rgba(255,255,255,.24);
    stroke-width: 2;
    transition: fill .25s ease, stroke .25s ease, transform .25s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.critical-node.active {
    fill: rgba(183,255,56,.06);
    stroke: rgba(183,255,56,.75);
}

.critical-node.transition {
    fill: rgba(183,255,56,.14);
    stroke: var(--green);
    stroke-width: 3;
    animation: nodePulse 1.25s ease-in-out infinite;
}

.svg-status-box rect {
    fill: rgba(255,255,255,.018);
    stroke: rgba(255,255,255,.10);
    stroke-width: 1;
}

.svg-status-box.right rect {
    fill: rgba(0,0,0,.12);
}

.svg-status-label {
    fill: rgba(255,255,255,.35);
    font-size: 8px;
    letter-spacing: 1.4px;
}

.svg-status-value {
    fill: var(--green);
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .04em;
}

.output-node {
    transition: opacity .25s ease, stroke .25s ease;
}

.simulation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    color: rgba(255,255,255,.45);
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.simulation-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
}

.legend-dot.primary { background: var(--green); }
.legend-dot.caml { background: rgba(183,255,56,.65); }
.legend-dot.pttlr { background: rgba(255,255,255,.65); }

.simulation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 18px;
}

.simulation-run,
.simulation-reset {
    min-height: 46px;
    margin-top: 0;
}

.simulation-run {
    border: 1px solid rgba(183,255,56,.5);
    background: rgba(183,255,56,.06);
    color: var(--green);
    font: inherit;
    font-size: 9px;
    letter-spacing: .11em;
    cursor: pointer;
    transition: .2s ease;
}

.simulation-run:hover,
.simulation-run:focus-visible,
.simulation-run.running {
    background: rgba(183,255,56,.12);
    border-color: var(--green);
}

.simulation-metrics {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.metric-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 8px 0;
    color: rgba(255,255,255,.46);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.metric-row strong {
    max-width: 190px;
    color: rgba(255,255,255,.82);
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    text-align: right;
}

.distribution-row {
    display: grid;
    grid-template-columns: 55px minmax(0,1fr) 45px;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    letter-spacing: .07em;
}

.distribution-row > strong {
    color: rgba(255,255,255,.8);
    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    text-align: right;
}

.distribution-track {
    height: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.distribution-track i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--green);
    transition: width .3s ease;
}

.distribution-row:nth-of-type(3) .distribution-track i {
    background: rgba(183,255,56,.62);
}

.distribution-row:nth-of-type(4) .distribution-track i {
    background: rgba(255,255,255,.62);
}

.load-particle {
    fill: var(--green);
    opacity: .9;
}

.load-particle.caml-particle {
    fill: rgba(183,255,56,.7);
}

.load-particle.pttlr-particle {
    fill: #fff;
}

@keyframes simulationPulse {
    to { stroke-dashoffset: -32; }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (max-width: 980px) {
    .simulation-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .simulation-actions {
        grid-template-columns: 1fr;
    }

    .simulation-legend {
        gap: 10px 16px;
        padding: 13px 15px;
    }

    .distribution-row {
        grid-template-columns: 50px minmax(0,1fr) 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .path.approach-active,
    .critical-node.transition {
        animation: none;
    }

    .path.primary,
    .path.camlr,
    .path.pttlr,
    .distribution-track i {
        transition: none;
    }
}
