﻿@font-face {
    font-family: 'icomoon';
    src: url('/fonts/icomoon.eot?e09wy2');
    src: url('/fonts/icomoon.eot?e09wy2#iefix') format('embedded-opentype'), url('/fonts/icomoon.ttf?e09wy2') format('truetype'), url('/fonts/icomoon.woff?e09wy2') format('woff'), url('/fonts/icomoon.svg?e09wy2#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-Blue-Teams:before {
    content: "\e900";
}

.icon-Attack-Campaigns:before {
    content: "\e901";
}

.icon-Cyber-Warfighters:before {
    content: "\e902";
}

.icon-Elite-Red-Teams:before {
    content: "\e903";
}

.icon-Purple-Teams:before {
    content: "\e904";
}

.icon-Exploit-Chains:before {
    content: "\e905";
}

.icon-unsecured-Systems:before {
    content: "\e906";
}

.icon-Adversaries:before {
    content: "\e907";
}

@font-face {
    font-family: 'Rostex';
    src: url('fonts/Rostex-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Landing Page Styles */
.landing-wrapper {
    background: #0f1115;
    color: #f2f4f8;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.landing-nav {
    background: rgba(15, 17, 21, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #66ff00;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #66ff00;
    text-shadow: 0 0 20px rgba(102, 255, 0, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #f2f4f8;
        text-decoration: none;
        transition: all 0.3s;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        cursor: pointer;
    }

        .nav-links a:hover {
            color: #66ff00;
            background: rgba(102, 255, 0, 0.1);
        }

        .nav-links a.active {
            color: #66ff00;
            border-bottom: 2px solid #66ff00;
        }

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.landing-wrapper .btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.landing-wrapper .btn-primary {
    background: #66ff00;
    color: #0f1115;
    font-weight: bold;
}

    .landing-wrapper .btn-primary:hover {
        background: #52cc00;
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.5);
        transform: translateY(-2px);
    }

.landing-wrapper .btn-secondary {
    background: transparent;
    color: #66ff00;
    border: 2px solid #66ff00;
}

    .landing-wrapper .btn-secondary:hover {
        background: rgba(102, 255, 0, 0.1);
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.3);
    }

/* Page Container */
.landing-wrapper .page {
    display: none !important;
    animation: fadeIn 0.5s;
}

    .landing-wrapper .page.active {
        display: block !important;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #66ff00, #32ffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.6;
    }

    .hero p {
        font-size: 1.3rem;
        color: #7a808a;
        max-width: 800px;
        margin: 0 auto 2rem;
    }

.highlight {
    color: #66ff00;
}

/* Features Grid - Responsive 3x3, 2x3, 1xN */
.features {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Large screens: 3 columns (3x2 = 6 cards) */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens: 1 column */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(242, 244, 248, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #7a808a;
    transition: all 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: #66ff00;
        box-shadow: 0 10px 30px rgba(102, 255, 0, 0.2);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #66ff00;
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

    .content-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        color: #66ff00;
    }

    .content-section h3 {
        font-size: 1.8rem;
        margin: 2rem 0 1rem;
        color: #32ffff;
    }

    .content-section p {
        color: #f2f4f8;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .content-section ul {
        list-style-position: inside;
    }

/* Services Grid - Responsive 3x3, 2x3, 1xN */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Large screens: 3 columns */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens: 1 column */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(102, 255, 0, 0.05), rgba(50, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #66ff00;
}

    .service-card h4 {
        color: #66ff00;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(242, 244, 248, 0.05);
    border-radius: 8px;
    border: 1px solid #7a808a;
}

    .contact-form .form-group {
        margin-bottom: 1.5rem;
    }

        .contact-form .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #66ff00;
        }

    .form-control-landing,
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        padding: 0.8rem;
        background: #0f1115;
        border: 1px solid #7a808a;
        border-radius: 4px;
        color: #f2f4f8;
        font-size: 1rem;
    }

        .form-control-landing:focus,
        .contact-form input:focus,
        .contact-form textarea:focus,
        .contact-form select:focus {
            outline: none;
            border-color: #66ff00;
            box-shadow: 0 0 10px rgba(102, 255, 0, 0.3);
        }

    .contact-form textarea {
        resize: vertical;
        min-height: 150px;
    }

    .contact-form .validation-message {
        color: #ff4444;
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

.alert-success {
    background: rgba(102, 255, 0, 0.1);
    border: 1px solid #66ff00;
    color: #66ff00;
    padding: 1rem;
    border-radius: 4px;
}

.alert-danger {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 1rem;
    border-radius: 4px;
}

/* Footer */
.landing-footer {
    background: #0f1115;
    border-top: 2px solid #66ff00;
    padding: 2rem;
    text-align: center;
    color: #7a808a;
    margin-top: 4rem;
}

/* Accent colors for variety */
.accent-cyan {
    color: #32ffff;
}

.accent-pink {
    color: #ff19d5;
}

.accent-orange {
    color: #ffa200;
}

/* Avatar Button */
.btn-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #66ff00, #32ffff);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s !important;
}

    .btn-avatar:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.6);
    }

.avatar-initials {
    color: #0f1115;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Form button styling for logout */
.auth-buttons form button {
    margin: 0;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: #66ff00;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(102, 255, 0, 0.3);
}

.hamburger-menu:hover .hamburger-line {
    background: #52cc00;
    box-shadow: 0 0 15px rgba(102, 255, 0, 0.5);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu.open {
        display: flex;
        opacity: 1;
        animation: slideDown 0.3s ease;
    }

:root {
    --bg: #242B32;
    --trace-dim: rgba(11,246,208,0.15);
    --trace-glow: #0BF6D0;
    --core-magenta: #D92F94;
    --packet: #F78D36;
    --node-bg: #1b2127;
    --text: #ffffff;
}

.container {
    position: relative;
    width: 1200px;
    height: 700px;
    margin: 40px auto;
}

.node {
    position: absolute;
    width: 200px;
    height: 90px;
    background: var(--node-bg);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 14px;
    gap: 4px;
}

    .node span {
        font-size: 48px;
    }
/* Left nodes - spread across height */
.left1 {
    left: 10px;
    top: 40px;
}

.left2 {
    left: 10px;
    top: 193px;
}

.left3 {
    left: 10px;
    top: 347px;
}

.left4 {
    left: 10px;
    top: 500px;
}

/* Right nodes */
.right1 {
    right: -10px;
    top: 40px;
}

.right2 {
    right: -10px;
    top: 193px;
}

.right3 {
    right: -10px;
    top: 347px;
}

.right4 {
    right: -10px;
    top: 500px;
}

.core {
    position: absolute;
    left: 50%;
    top: calc(50% - 35px);
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid var(--core-magenta);
    box-shadow: 0 0 25px var(--core-magenta);
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(36,43,50,1) 40%, rgba(36,43,50,0.9) 70%);
}

    .core img {
        width: 80%;
        height: auto;
        pointer-events: none;
        margin-left: -5px;
    }

    .core.pulse {
        box-shadow: 0 0 45px #61F229, 0 0 90px #61F229;
    }

.svganimation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.trace-dim {
    stroke: var(--trace-dim);
    stroke-width: 3;
    fill: none;
}

.trace-live {
    stroke: var(--trace-glow);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--trace-glow));
}

.packet {
    fill: var(--packet);
    filter: drop-shadow(0 0 8px var(--packet));
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.mobile-menu .nav-link {
    color: #f2f4f8;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

    .mobile-menu .nav-link:hover {
        color: #66ff00;
        background: rgba(102, 255, 0, 0.1);
    }

    .mobile-menu .nav-link.active {
        color: #66ff00;
        background: rgba(102, 255, 0, 0.15);
        border: 2px solid #66ff00;
    }

.mobile-menu-divider {
    width: 80%;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #66ff00, transparent);
    margin: 1rem 0;
}

.mobile-menu .btn {
    max-width: 300px;
}

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav,
.desktop-auth {
    display: flex;
}

.logo img {
    height: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop navigation */
    .desktop-nav,
    .desktop-auth {
        display: none !important;
    }

    /* Adjust nav container for mobile */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        /* Keep logo and hamburger on same line */
        .nav-container .logo {
            flex: 1;
        }

    .animation {
        display: none;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Animation for hamburger when menu is open */
.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Range103 beginner-focused theme. All overrides are scoped so Range403 stays unchanged. */
.landing-wrapper.range103 {
    --range103-primary: #7c6cff;
    --range103-cyan: #43d9ff;
    --range103-pink: #b79cff;
    --range103-orange: #ffbf69;
    background: #10121c;
    color: #f4f3ff;
}

.range103 .landing-nav,
.range103 .landing-footer {
    border-color: rgba(124, 108, 255, 0.35);
}

.range103 .highlight,
.range103 .btn-primary {
    color: #fff;
}

.range103 .highlight {
    color: #b9afff;
}

.range103 .accent-cyan {
    color: var(--range103-cyan);
}

.range103 .accent-pink {
    color: var(--range103-pink);
}

.range103 .accent-orange {
    color: var(--range103-orange);
}

.range103 .btn-primary {
    background: linear-gradient(135deg, #6d5dfc, #8b70ff);
    border-color: #8b70ff;
}

    .range103 .btn-primary:hover {
        background: linear-gradient(135deg, #5b4ae8, #795cf4);
    }

.range103 .btn-secondary {
    border-color: rgba(183, 156, 255, 0.75);
}

    .range103 .btn-secondary:hover {
        border-color: var(--range103-cyan);
        color: var(--range103-cyan);
    }

.range103 .nav-link.active,
.range103 .nav-link:hover {
    color: #b9afff;
}

.range103 .feature-card,
.range103 .service-card {
    border-color: rgba(124, 108, 255, 0.24);
}

    .range103 .feature-card:hover,
    .range103 .service-card:hover {
        border-color: rgba(124, 108, 255, 0.8);
        box-shadow: 0 8px 28px rgba(70, 57, 180, 0.18);
    }

.range103 .range103-wordmark {
    display: inline-block;
    color: #f4f3ff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    text-decoration: none;
}

    .range103 .range103-wordmark span {
        color: #a99aff;
    }

.range103 .contact-form input:focus,
.range103 .contact-form select:focus,
.range103 .contact-form textarea:focus {
    border-color: #8b70ff;
    box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.18);
}

.range103 .container.animation {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .range103 *, .range103 *::before, .range103 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================================
   Range403 "Tactical Obsidian" theme (Stitch redesign)
   Every rule is scoped to .range403 so Range103 is untouched.
   Desktop follows the Stitch desktop export (Montserrat / Open Sans);
   <=768px follows the Stitch mobile export (Space Grotesk / Inter).
   To drop in a hero photo:  .range403 { --r4-hero-image: url('/images/hero.jpg'); }
   ===================================================================== */
.landing-wrapper.range403 {
    --r4-bg: #131313;
    --r4-lowest: #0e0e0e;
    --r4-low: #1c1b1b;
    --r4-cont: #201f1f;
    --r4-high: #2a2a2a;
    --r4-highest: #353535;
    --r4-green: #66ff00;
    --r4-green-dim: #5ae200;
    --r4-on-green: #113800;
    --r4-cyan: #00efef;
    --r4-alert: #ffb4ab;
    --r4-text: #e5e2e1;
    --r4-muted: #bccbaf;
    --r4-outline-variant: #3d4b35;
    --r4-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --r4-body: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
    --r4-mono: ui-monospace, 'Cascadia Code', 'Consolas', 'Menlo', monospace;
    --r4-pad-x: 3rem;
    background: var(--r4-bg);
    color: var(--r4-text);
    font-family: var(--r4-body);
    overflow-x: clip;
}

.range403 ::selection {
    background: var(--r4-green);
    color: var(--r4-on-green);
}

.range403 h1, .range403 h2, .range403 h3, .range403 h4, .range403 h5 {
    font-family: var(--r4-head);
}

.range403 .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
    user-select: none;
}

.range403 .highlight {
    color: var(--r4-green);
}

.range403 .accent-cyan {
    color: var(--r4-cyan);
}

.range403 strong {
    color: var(--r4-text);
    font-weight: 600;
}

@keyframes r4-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ---------- Top navigation ---------- */
.range403 .landing-nav {
    background: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem var(--r4-pad-x);
}

.range403 .nav-container {
    max-width: 1920px;
}

.range403 .logo {
    font-size: inherit;
    text-shadow: none;
}

.range403 .r4-wordmark {
    display: inline-block;
    font-family: var(--r4-head);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    line-height: 1;
    color: var(--r4-green);
    text-decoration: none;
    white-space: nowrap;
}

.range403 .nav-links {
    gap: 3rem;
}

    .range403 .nav-links a {
        font-family: var(--r4-head);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--r4-text);
        padding: 0.5rem 0;
        border-radius: 0;
        border-bottom: none;
    }

        .range403 .nav-links a:hover {
            color: var(--r4-green);
            background: transparent;
        }

        .range403 .nav-links a.active {
            color: var(--r4-green);
            border-bottom: none;
        }

.range403 .auth-buttons {
    gap: 1.5rem;
    align-items: center;
}

/* ---------- Buttons ---------- */
.landing-wrapper.range403 .btn {
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    line-height: 1.2;
    border-radius: 0;
    padding: 1.25rem 2.5rem;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.landing-wrapper.range403 .btn-primary {
    background: var(--r4-green);
    color: var(--r4-on-green);
    border: 1px solid var(--r4-green);
}

    .landing-wrapper.range403 .btn-primary:hover {
        background: #fff;
        color: #000;
        border-color: #fff;
        box-shadow: none;
        transform: none;
    }

.landing-wrapper.range403 .btn-secondary {
    background: transparent;
    color: var(--r4-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .landing-wrapper.range403 .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--r4-text);
        box-shadow: none;
    }

.landing-wrapper.range403 .auth-buttons .btn {
    padding: 0.85rem 2rem;
    font-size: 0.625rem;
}

.landing-wrapper.range403 .btn-avatar {
    padding: 0 !important;
    background: linear-gradient(135deg, var(--r4-green), var(--r4-cyan));
}

    .landing-wrapper.range403 .btn-avatar .avatar-initials {
        font-family: var(--r4-head);
        color: var(--r4-on-green);
        letter-spacing: 0.05em;
    }

/* ---------- Mobile menu overlay + hamburger ---------- */
.range403 .hamburger-line {
    height: 2px;
    background: var(--r4-green);
    box-shadow: none;
}

.range403 .hamburger-menu:hover .hamburger-line {
    background: var(--r4-green-dim);
    box-shadow: none;
}

.range403 .mobile-menu {
    background: rgba(19, 19, 19, 0.98);
}

    .range403 .mobile-menu .nav-link {
        font-family: var(--r4-head);
        font-weight: 700;
        font-size: 1.125rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--r4-text);
        border: 1px solid transparent;
        border-radius: 0.5rem;
    }

        .range403 .mobile-menu .nav-link:hover,
        .range403 .mobile-menu .nav-link.active {
            color: var(--r4-green);
            background: rgba(102, 255, 0, 0.1);
            border: 1px solid rgba(102, 255, 0, 0.25);
        }

.range403 .mobile-menu-divider {
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Bottom tab bar (mobile only) ---------- */
.range403 .r4-tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(32, 31, 31, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.75rem 0.75rem 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.range403 .r4-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem 1rem;
    border-radius: 0.75rem;
    color: var(--r4-muted);
    text-decoration: none;
    font-family: var(--r4-head);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.2s, color 0.2s;
}

    .range403 .r4-tab .material-symbols-outlined {
        font-size: 1.5rem;
    }

    .range403 .r4-tab:hover {
        background: var(--r4-highest);
        color: var(--r4-text);
    }

    .range403 .r4-tab.active {
        background: rgba(102, 255, 0, 0.1);
        color: var(--r4-green);
    }

/* ---------- Hero ---------- */
.range403 .r4-hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.range403 .r4-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, rgba(19, 19, 19, 0.9) 70%, #131313 100%), radial-gradient(ellipse 60% 55% at 72% 28%, rgba(0, 239, 239, 0.14), transparent 70%), radial-gradient(ellipse 50% 50% at 18% 22%, rgba(102, 255, 0, 0.12), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px, var(--r4-hero-image, none) center / cover no-repeat, var(--r4-lowest);
}

    .range403 .r4-hero-bg::after {
        content: "";
        display: none;
        position: absolute;
        top: -6rem;
        left: -6rem;
        width: 16rem;
        height: 16rem;
        border-radius: 50%;
        background: rgba(102, 255, 0, 0.1);
        filter: blur(100px);
    }

.range403 .r4-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 4rem var(--r4-pad-x) 6rem;
}

.range403 .r4-hero-content {
    max-width: 56rem;
}

.range403 .r4-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--r4-green);
}

.range403 .r4-status-rule {
    width: 3rem;
    height: 1px;
    background: var(--r4-green);
}

.range403 .r4-status-dot {
    display: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--r4-green);
    animation: r4-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.range403 .r4-display {
    font-size: clamp(4.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--r4-text);
    margin: 0 0 3rem;
}

.range403 .r4-gradient-text {
    background: linear-gradient(90deg, var(--r4-green), var(--r4-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.range403 .r4-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
}

.range403 .r4-lead {
    font-family: var(--r4-body);
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--r4-muted);
    max-width: 32rem;
    margin: 0;
}

.range403 .r4-hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.range403 .r4-stats {
    display: none;
}

/* ---------- Sections & headings ---------- */
.range403 .r4-section {
    padding: 10rem var(--r4-pad-x);
    background: var(--r4-bg);
}

.range403 .r4-section-alt {
    background: var(--r4-lowest);
}

.range403 .r4-inner {
    max-width: 1920px;
    margin: 0 auto;
}

.range403 .r4-section-head {
    max-width: 48rem;
    margin-bottom: 8rem;
}

.range403 .r4-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.range403 .r4-h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--r4-text);
    margin: 0 0 2.5rem;
}

.range403 .r4-head-link {
    display: none;
    margin-bottom: 0.2rem;
    font-family: var(--r4-head);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--r4-green);
    text-decoration: none;
    white-space: nowrap;
}

.range403 .r4-bar {
    width: 6rem;
    height: 4px;
    background: var(--r4-green);
    margin-bottom: 2.5rem;
}

.range403 .r4-section-head .r4-lead {
    max-width: none;
}

.range403 .r4-eyebrow {
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--r4-green);
}

/* ---------- Training architecture (asymmetric grid) ---------- */
.range403 .r4-arch {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6rem;
    align-items: start;
}

.range403 .r4-card {
    position: relative;
    transition: background-color 0.3s;
}

.range403 .r4-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.range403 .r4-icon .material-symbols-outlined {
    font-size: 3.75rem;
    color: var(--r4-green);
}

.range403 .r4-icon-cyan .material-symbols-outlined {
    color: var(--r4-cyan);
}

.range403 .r4-icon-alert .material-symbols-outlined {
    color: var(--r4-alert);
}

.range403 .r4-card-arrow {
    display: none;
    color: var(--r4-muted);
    transition: color 0.3s;
}

.range403 .r4-card h3 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--r4-text);
    margin: 0 0 2rem;
}

.range403 .r4-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--r4-muted);
    margin: 0 0 3rem;
}

    .range403 .r4-card p:last-child {
        margin-bottom: 0;
    }

.range403 .r4-card-feature {
    grid-column: span 6;
    background: var(--r4-low);
    padding: 5rem;
    border-left: 4px solid var(--r4-green);
}

.range403 .r4-arch-side {
    grid-column: span 5;
    margin-top: 8rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.range403 .r4-card-raised {
    background: var(--r4-high);
    padding: 3rem;
}

    .range403 .r4-card-raised:hover {
        background: var(--r4-highest);
    }

    .range403 .r4-card-raised .r4-card-top {
        margin-bottom: 2rem;
    }

    .range403 .r4-card-raised .r4-icon .material-symbols-outlined {
        font-size: 3rem;
    }

    .range403 .r4-card-raised h3 {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .range403 .r4-card-raised p {
        font-size: 1rem;
    }

.range403 .r4-card-accent-top {
    border-top: 1px solid rgba(102, 255, 0, 0.2);
}

.range403 .r4-arch-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--r4-cont);
    padding: 6rem;
}

    .range403 .r4-arch-wide > * {
        flex: 1 1 50%;
        min-width: 0;
    }

    .range403 .r4-arch-wide p {
        font-size: 1.25rem;
    }

.range403 .r4-terminal {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    font-family: var(--r4-mono);
    font-size: 0.75rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    overflow-x: auto;
    white-space: nowrap;
}

.range403 .r4-term-comment {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.range403 .r4-term-alert {
    color: var(--r4-cyan);
}

.range403 .r4-term-ok {
    margin-top: 1rem;
    color: var(--r4-green);
    font-weight: 700;
    letter-spacing: 0.2em;
}

.range403 .r4-arch-pair {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Square-bullet list (feature card + service cards) */
.range403 .r4-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--r4-text);
}

    .range403 .r4-checklist li {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .range403 .r4-checklist li::before {
            content: "";
            flex-shrink: 0;
            width: 0.5rem;
            height: 0.5rem;
            background: var(--r4-green);
        }

/* ---------- Sector directory (tall tiles) ---------- */
.range403 .r4-section-head-center {
    max-width: 60rem;
    margin: 0 auto 8rem;
    text-align: center;
}

    .range403 .r4-section-head-center .r4-eyebrow {
        color: var(--r4-cyan);
        letter-spacing: 0.5em;
    }

    .range403 .r4-section-head-center .r4-lead {
        max-width: 42rem;
        margin: 0 auto;
    }

.range403 .r4-h2-xl {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.range403 .r4-italic-cyan {
    font-style: italic;
    color: var(--r4-cyan);
}

.range403 .r4-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.range403 .r4-tile {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--r4-bg);
}

.range403 .r4-tile-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    filter: grayscale(1);
    transition: filter 1s, transform 1s, opacity 1s;
}

    .range403 .r4-tile-art .material-symbols-outlined {
        font-size: 16rem;
        color: rgba(255, 255, 255, 0.09);
        font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
        transform: translateY(-15%);
    }

.range403 .r4-tile:hover .r4-tile-art,
.range403 .r4-tile:focus-within .r4-tile-art {
    filter: none;
    opacity: 0.75;
    transform: scale(1.05);
}

.range403 .r4-art-edu {
    background: radial-gradient(circle at 30% 30%, rgba(102, 255, 0, 0.35), transparent 60%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px), #101410;
}

.range403 .r4-art-corp {
    background: radial-gradient(circle at 65% 30%, rgba(0, 239, 239, 0.35), transparent 60%), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px, #0e1414;
}

.range403 .r4-art-def {
    background: radial-gradient(circle at 45% 25%, rgba(255, 180, 171, 0.28), transparent 60%), radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px) 0 0 / 16px 16px, #141111;
}

.range403 .r4-tile-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, #131313 0%, rgba(19, 19, 19, 0.2) 55%, transparent 100%);
}

.range403 .r4-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem;
}

.range403 .r4-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.range403 .r4-tag {
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--r4-green);
    color: var(--r4-green);
}

.range403 .r4-tag-cyan {
    border-color: var(--r4-cyan);
    color: var(--r4-cyan);
}

.range403 .r4-tag-alert {
    border-color: var(--r4-alert);
    color: var(--r4-alert);
}

.range403 .r4-tag-muted {
    border-color: transparent;
    color: rgba(255, 255, 255, 0.4);
}

.range403 .r4-tile h4 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--r4-text);
    margin: 0 0 1rem;
}

.range403 .r4-tile p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--r4-muted);
    margin: 0 0 2.5rem;
}

.range403 .r4-tile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: #fff;
    color: #000;
    border: 0;
    cursor: pointer;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.5s, transform 0.5s, background-color 0.3s, color 0.3s;
}

    .range403 .r4-tile-btn .material-symbols-outlined {
        display: none;
        font-size: 14px;
    }

.range403 .r4-tile:hover .r4-tile-btn,
.range403 .r4-tile:focus-within .r4-tile-btn {
    opacity: 1;
    transform: none;
}

.range403 .r4-tile-btn:hover {
    background: var(--r4-green);
    color: var(--r4-on-green);
}

@media (hover: none) {
    .range403 .r4-tile-btn {
        opacity: 1;
        transform: none;
    }
}

/* ---------- CTA ---------- */
.range403 .r4-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 15rem var(--r4-pad-x);
    text-align: center;
    background: var(--r4-bg);
}

    .range403 .r4-cta::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: -1;
        width: 1200px;
        max-width: 100%;
        height: 600px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: rgba(102, 255, 0, 0.06);
        filter: blur(180px);
    }

    .range403 .r4-cta h2 {
        font-size: clamp(4rem, 9vw, 9rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.05em;
        text-transform: uppercase;
        color: var(--r4-text);
        margin: 0 0 3rem;
    }

    .range403 .r4-cta p {
        max-width: 48rem;
        margin: 0 auto 5rem;
        font-size: 1.5rem;
        font-weight: 300;
        font-style: italic;
        line-height: 1.6;
        color: var(--r4-muted);
    }

.landing-wrapper.range403 .r4-cta .btn {
    padding: 2rem 5rem;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.landing-wrapper.range403 .r4-cta .btn-primary:hover {
    transform: scale(1.05);
}

.range403 .r4-cta-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.3);
}

    .range403 .r4-cta-note::before,
    .range403 .r4-cta-note::after {
        content: "";
        width: 2rem;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

/* ---------- Footer ---------- */
.range403 .r4-footer {
    background: var(--r4-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.range403 .r4-footer-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 6rem var(--r4-pad-x);
}

.range403 .r4-footer-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.range403 .r4-footer-brand .r4-wordmark {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

.range403 .r4-footer-brand p {
    max-width: 20rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}

.range403 .r4-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.range403 .r4-footer h5 {
    margin: 0 0 2rem;
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--r4-text);
}

.range403 .r4-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.range403 .r4-footer form {
    margin: 0;
}

.range403 .r4-footer-link {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--r4-head);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

    .range403 .r4-footer-link:hover {
        color: var(--r4-green);
    }

.range403 .r4-footer-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--r4-green);
}

    .range403 .r4-footer-status .r4-status-dot {
        display: inline-block;
    }

.range403 .r4-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.range403 .r4-copyright {
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
}

.range403 .r4-footer-icons {
    display: flex;
    gap: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ---------- About / Services / Contact pages ---------- */
.range403 .content-section {
    max-width: 1400px;
    padding: 8rem var(--r4-pad-x);
}

.range403 .r4-page-head {
    margin-bottom: 4rem;
}

.range403 .content-section h3 {
    margin: 5rem 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--r4-text);
}

.range403 .content-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--r4-muted);
}

.range403 .r4-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

    .range403 .r4-split h3 {
        margin: 0;
    }

    .range403 .r4-split p {
        margin: 0;
    }

.range403 .services-grid {
    gap: 1.5rem;
    margin: 3rem 0;
}

.range403 .service-card {
    background: var(--r4-high);
    padding: 3rem;
    border-radius: 0;
    border-left: none;
    border-top: 1px solid rgba(102, 255, 0, 0.2);
    transition: background-color 0.3s;
}

    .range403 .service-card:hover {
        background: var(--r4-highest);
    }

    .range403 .service-card .r4-icon {
        margin-bottom: 2rem;
    }

        .range403 .service-card .r4-icon .material-symbols-outlined {
            font-size: 3rem;
        }

    .range403 .service-card h4 {
        margin: 0 0 1rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--r4-text);
    }

    .range403 .service-card p {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .range403 .service-card .r4-checklist {
        margin-top: 2rem;
        gap: 1rem;
    }

.range403 .r4-serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.range403 .r4-serve {
    background: var(--r4-low);
    padding: 2.5rem;
    border-left: 4px solid var(--r4-green);
}

    .range403 .r4-serve h4 {
        margin: 0 0 1rem;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: var(--r4-green);
    }

    .range403 .r4-serve p {
        margin: 0;
        font-size: 1rem;
    }

.range403 .r4-serve-cyan {
    border-left-color: var(--r4-cyan);
}

    .range403 .r4-serve-cyan h4 {
        color: var(--r4-cyan);
    }

.range403 .r4-serve-alert {
    border-left-color: var(--r4-alert);
}

    .range403 .r4-serve-alert h4 {
        color: var(--r4-alert);
    }

.range403 .r4-disciplines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.range403 .r4-discipline {
    padding: 1.5rem;
    background: var(--r4-lowest);
    border-left: 3px solid var(--r4-green);
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--r4-text);
}

.range403 .r4-discipline-cyan {
    border-left-color: var(--r4-cyan);
}

.range403 .r4-discipline-alert {
    border-left-color: var(--r4-alert);
}

/* Core Offerings animation: retint nodes to the new palette */
.range403 .node {
    background: var(--r4-high);
    border-radius: 0.5rem;
    font-family: var(--r4-head);
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--r4-text);
}

    .range403 .node span {
        color: var(--r4-green);
    }

    .range403 .node[class*="right"] span {
        color: var(--r4-cyan);
    }

/* Contact form */
.range403 .contact-form {
    max-width: 720px;
    margin: 0;
    padding: 3rem;
    background: var(--r4-low);
    border: 1px solid rgba(61, 75, 53, 0.25);
    border-radius: 0;
}

    .range403 .contact-form .form-group label {
        font-family: var(--r4-head);
        font-weight: 700;
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: var(--r4-muted);
    }

    .range403 .contact-form input,
    .range403 .contact-form select,
    .range403 .contact-form textarea {
        padding: 1rem;
        background: var(--r4-lowest);
        border: 0;
        border-bottom: 1px solid var(--r4-outline-variant);
        border-radius: 0;
        color: var(--r4-text);
        font-family: var(--r4-body);
    }

        .range403 .contact-form input:focus,
        .range403 .contact-form select:focus,
        .range403 .contact-form textarea:focus {
            border-color: transparent;
            border-bottom-color: var(--r4-cyan);
            box-shadow: none;
        }

        .range403 .contact-form select option {
            background: var(--r4-cont);
        }

/* ---------- Core Offerings diagram (scaled to fit) ---------- */
.range403 .r4-offerings .r4-section-head {
    margin-bottom: 4rem;
}

.range403 .r4-diagram {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

    .range403 .r4-diagram .container.animation {
        display: block;
        position: absolute;
        top: 0;
        left: max(0px, calc((100% - 1200px) / 2));
        width: 1200px;
        max-width: none;
        height: 700px;
        margin: 0;
        padding: 0;
        transform-origin: top left;
    }

.range403 .content-section .r4-diagram {
    margin: 1rem 0 2rem;
}

/* Home: three cards under the asymmetric pair */
.range403 .r4-arch-trio {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* ---------- Tablet / small laptop ---------- */
@media (max-width: 1200px) and (min-width: 769px) {
    .range403 .r4-section {
        padding: 6rem var(--r4-pad-x);
    }

    .range403 .r4-section-head {
        margin-bottom: 4rem;
    }

    .range403 .r4-arch {
        gap: 3rem;
    }

    .range403 .r4-card-feature {
        grid-column: span 7;
        padding: 3rem;
    }

    .range403 .r4-arch-side {
        grid-column: span 5;
        margin-top: 4rem;
    }

    .range403 .r4-arch-wide {
        flex-direction: column;
        align-items: stretch;
        padding: 3rem;
    }

    .range403 .r4-tiles {
        grid-template-columns: 1fr;
    }

    .range403 .r4-tile {
        aspect-ratio: 16 / 9;
    }

    .range403 .r4-disciplines {
        grid-template-columns: repeat(2, 1fr);
    }

    .range403 .r4-arch-trio {
        gap: 1.5rem;
    }

        .range403 .r4-arch-trio .r4-card-raised {
            padding: 2rem;
        }

    .range403 .r4-cta {
        padding: 8rem var(--r4-pad-x);
    }

    .range403 .r4-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .range403 .r4-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------- Mobile (Stitch mobile export) ---------- */
@media (max-width: 768px) {
    .landing-wrapper.range403 {
        --r4-head: 'Space Grotesk', system-ui, sans-serif;
        --r4-body: 'Inter', system-ui, sans-serif;
        --r4-pad-x: 1.5rem;
        padding-bottom: 6.5rem;
    }

    .range403 .landing-nav {
        padding: 1rem var(--r4-pad-x);
    }

    .range403 .r4-wordmark {
        font-size: 1.125rem;
        letter-spacing: 0.15em;
    }

    .range403 .r4-tabbar {
        display: flex;
    }

    /* Hero */
    .range403 .r4-hero {
        min-height: 0;
        align-items: flex-start;
        overflow: visible;
    }

    .range403 .r4-hero-bg {
        background: none;
        overflow: hidden;
    }

        .range403 .r4-hero-bg::after {
            display: block;
        }

    .range403 .r4-hero-inner {
        padding: 2.5rem var(--r4-pad-x) 1rem;
    }

    .range403 .r4-status {
        display: inline-flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0.25rem 0.75rem;
        background: var(--r4-low);
        border: 1px solid rgba(61, 75, 53, 0.2);
        border-radius: 0.25rem;
        font-weight: 500;
        font-size: 0.625rem;
        letter-spacing: 0.2em;
        color: var(--r4-muted);
    }

    .range403 .r4-status-rule {
        display: none;
    }

    .range403 .r4-status-dot {
        display: inline-block;
    }

    .range403 .r4-display {
        font-size: 3rem;
        line-height: 0.9;
        letter-spacing: -0.05em;
        margin-bottom: 1.5rem;
    }

    .range403 .r4-gradient-text {
        background: none;
        -webkit-text-fill-color: var(--r4-green);
        color: var(--r4-green);
        text-shadow: 0 0 10px rgba(0, 239, 239, 0.5);
    }

    .range403 .r4-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .range403 .r4-lead {
        font-size: 0.875rem;
        max-width: 85%;
    }

    .range403 .r4-hero-actions {
        gap: 0.75rem;
    }

    .landing-wrapper.range403 .r4-hero-actions .btn {
        flex: 1 1 0;
        padding: 0.9rem 1rem;
        font-size: 0.625rem;
        text-align: center;
        border-radius: 0.5rem;
    }

    .range403 .r4-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .range403 .r4-stat {
        padding: 1rem;
        background: var(--r4-cont);
        border-left: 2px solid var(--r4-green);
        border-radius: 0.5rem;
    }

    .range403 .r4-stat-cyan {
        border-left-color: var(--r4-cyan);
    }

    .range403 .r4-stat-label {
        display: block;
        margin-bottom: 0.25rem;
        font-family: var(--r4-head);
        font-size: 0.625rem;
        text-transform: uppercase;
        color: var(--r4-muted);
    }

    .range403 .r4-stat-value {
        font-family: var(--r4-head);
        font-weight: 700;
        font-size: 1.25rem;
        color: var(--r4-text);
    }

        .range403 .r4-stat-value small {
            font-size: 0.75rem;
            color: var(--r4-green);
        }

    /* Sections */
    .range403 .r4-section,
    .range403 .r4-section-alt {
        padding: 2.5rem var(--r4-pad-x);
        background: var(--r4-bg);
    }

    .range403 .r4-section-head {
        max-width: none;
        margin-bottom: 1.5rem;
    }

    .range403 .r4-h2 {
        font-size: 1.25rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin: 0;
    }

        .range403 .r4-h2 br {
            display: none;
        }

    .range403 .r4-section-head-compact .r4-h2 .highlight {
        color: inherit;
    }

    .range403 .r4-head-link {
        display: inline-block;
    }

    .range403 .r4-section-head-compact .r4-bar,
    .range403 .r4-section-head-compact .r4-lead,
    .range403 .r4-section-head-compact .r4-eyebrow {
        display: none;
    }

    /* Architecture cards -> stacked cards */
    .range403 .r4-arch {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .range403 .r4-card-feature,
    .range403 .r4-arch-side,
    .range403 .r4-arch-wide,
    .range403 .r4-arch-pair,
    .range403 .r4-arch-trio {
        grid-column: auto;
        margin-top: 0;
    }

    .range403 .r4-arch-side,
    .range403 .r4-arch-pair,
    .range403 .r4-arch-trio {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .range403 .r4-card,
    .range403 .r4-card-feature,
    .range403 .r4-card-raised {
        padding: 1.5rem;
        background: var(--r4-cont);
        border: 1px solid rgba(61, 75, 53, 0.08);
        border-radius: 0.5rem;
    }

        .range403 .r4-card:hover {
            background: var(--r4-high);
        }

            .range403 .r4-card:hover .r4-card-arrow {
                color: var(--r4-green);
            }

        .range403 .r4-card-top,
        .range403 .r4-card-raised .r4-card-top {
            margin-bottom: 2rem;
        }

    .range403 .r4-icon {
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--r4-highest);
        border-radius: 0.25rem;
    }

        .range403 .r4-icon .material-symbols-outlined,
        .range403 .r4-card-raised .r4-icon .material-symbols-outlined,
        .range403 .service-card .r4-icon .material-symbols-outlined {
            font-size: 1.5rem;
        }

    .range403 .r4-card-arrow {
        display: block;
    }

    .range403 .r4-card h3,
    .range403 .r4-card-raised h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .range403 .r4-card p,
    .range403 .r4-card-raised p,
    .range403 .r4-arch-wide p {
        font-size: 0.75rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .range403 .r4-arch-wide {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .range403 .r4-terminal {
        padding: 1rem;
        font-size: 0.625rem;
        line-height: 1.8;
    }

    /* Bullet list -> tactical chips */
    .range403 .r4-card .r4-checklist,
    .range403 .service-card .r4-checklist {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
        font-weight: 500;
        font-size: 0.5625rem;
        letter-spacing: 0.05em;
        color: var(--r4-muted);
    }

        .range403 .r4-card .r4-checklist li,
        .range403 .service-card .r4-checklist li {
            padding: 0.15rem 0.5rem;
            background: var(--r4-low);
            border: 1px solid rgba(61, 75, 53, 0.3);
            border-radius: 0.25rem;
        }

            .range403 .r4-card .r4-checklist li::before,
            .range403 .service-card .r4-checklist li::before {
                display: none;
            }

    /* Sector tiles -> horizontal course cards */
    .range403 .r4-section-head-center {
        margin: 0 0 1.5rem;
        text-align: left;
    }

    .range403 .r4-h2-xl {
        letter-spacing: -0.01em;
    }

    .range403 .r4-section-head-compact .r4-italic-cyan {
        font-style: normal;
        color: inherit;
    }

    .range403 .r4-tiles {
        grid-template-columns: 1fr;
        gap: 1rem;
        background: none;
    }

    .range403 .r4-tile {
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem;
        background: var(--r4-low);
        border: 1px solid rgba(61, 75, 53, 0.15);
        border-radius: 0.5rem;
        transition: transform 0.15s;
    }

        .range403 .r4-tile:active {
            transform: scale(0.98);
        }

        .range403 .r4-tile-art,
        .range403 .r4-tile:hover .r4-tile-art,
        .range403 .r4-tile:focus-within .r4-tile-art {
            position: relative;
            inset: auto;
            flex-shrink: 0;
            width: 5rem;
            height: 6rem;
            border-radius: 0.25rem;
            overflow: hidden;
            opacity: 0.7;
            filter: none;
            transform: none;
        }

            .range403 .r4-tile-art .material-symbols-outlined {
                font-size: 2.25rem;
                color: rgba(255, 255, 255, 0.4);
                transform: none;
            }

    .range403 .r4-tile-shade {
        display: none;
    }

    .range403 .r4-tile-body {
        position: static;
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
    }

    .range403 .r4-tags {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        margin: 0;
    }

    .range403 .r4-tag {
        padding: 0.15rem 0.5rem;
        font-size: 0.5625rem;
        border-radius: 0.25rem;
        background: rgba(102, 255, 0, 0.1);
        border-color: rgba(102, 255, 0, 0.25);
    }

    .range403 .r4-tag-cyan {
        background: rgba(0, 239, 239, 0.1);
        border-color: rgba(0, 239, 239, 0.25);
    }

    .range403 .r4-tag-alert {
        background: rgba(255, 180, 171, 0.1);
        border-color: rgba(255, 180, 171, 0.25);
    }

    .range403 .r4-tag-muted {
        padding: 0;
        background: none;
        border: 0;
        font-family: var(--r4-body);
        font-weight: 400;
        font-size: 0.625rem;
        letter-spacing: 0;
        text-transform: none;
        color: var(--r4-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .range403 .r4-tile h4 {
        font-size: 0.875rem;
        margin: 0;
    }

    .range403 .r4-tile p {
        display: none;
    }

    .range403 .r4-tile-btn {
        opacity: 1;
        transform: none;
        padding: 0.5rem;
        font-size: 0.625rem;
        border-radius: 0.5rem;
        background: var(--r4-highest);
        color: var(--r4-text);
        border: 1px solid rgba(61, 75, 53, 0.3);
    }

        .range403 .r4-tile-btn .material-symbols-outlined {
            display: inline-block;
        }

    .range403 .r4-tile:first-child .r4-tile-btn {
        background: var(--r4-green);
        color: var(--r4-on-green);
        border-color: var(--r4-green);
        box-shadow: 0 0 15px rgba(102, 255, 0, 0.3);
    }

    /* CTA -> rounded card */
    .range403 .r4-cta {
        margin: 1rem var(--r4-pad-x) 2.5rem;
        padding: 2rem 1.5rem;
        background: var(--r4-cont);
        border: 1px solid rgba(61, 75, 53, 0.15);
        border-radius: 1.5rem;
    }

        .range403 .r4-cta::before {
            inset: 0;
            top: 0;
            left: 0;
            width: auto;
            max-width: none;
            height: auto;
            transform: none;
            filter: none;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(102, 255, 0, 0.06), transparent 60%);
        }

        .range403 .r4-cta h2 {
            font-size: 1.875rem;
            font-weight: 700;
            font-style: italic;
            margin-bottom: 1rem;
        }

        .range403 .r4-cta p {
            max-width: 20rem;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            font-weight: 400;
            font-style: normal;
        }

    .landing-wrapper.range403 .r4-cta .btn {
        width: 100%;
        padding: 1rem;
        font-weight: 900;
        font-size: 0.875rem;
        letter-spacing: 0.1em;
        border-radius: 0.75rem;
        box-shadow: 0 8px 32px rgba(102, 255, 0, 0.2);
    }

    .landing-wrapper.range403 .r4-cta .btn-primary:hover {
        transform: none;
    }

    .range403 .r4-cta-note {
        margin-top: 1rem;
        font-weight: 500;
        font-size: 0.5625rem;
        letter-spacing: 0.2em;
        color: rgba(229, 226, 225, 0.5);
    }

        .range403 .r4-cta-note::before,
        .range403 .r4-cta-note::after {
            display: none;
        }

    /* Footer */
    .range403 .r4-footer-inner {
        padding: 3rem var(--r4-pad-x) 2rem;
    }

    .range403 .r4-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .range403 .r4-footer-brand .r4-wordmark {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .range403 .r4-footer-cols {
        grid-template-columns: 1fr 1fr;
    }

    .range403 .r4-footer h5 {
        margin-bottom: 1rem;
    }

    .range403 .r4-footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    /* Diagram: the original hid it on phones; Range403 now shows it scaled,
       with larger labels so they survive the scale-down. */
    .range403 .r4-diagram .container.animation {
        display: block;
    }

    .range403 .r4-offerings .r4-section-head {
        margin-bottom: 1.5rem;
    }

    .range403 .r4-diagram .node {
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: 0.02em;
        text-align: center;
        padding: 0 8px;
    }

        .range403 .r4-diagram .node span {
            font-size: 36px;
        }

    /* Content pages */
    .range403 .content-section {
        padding: 2.5rem var(--r4-pad-x);
    }

    .range403 .r4-page-head {
        margin-bottom: 2rem;
    }

        .range403 .r4-page-head .r4-h2 {
            font-size: 2rem;
            margin-bottom: 1.25rem;
        }

        .range403 .r4-page-head .r4-bar {
            margin-bottom: 1.25rem;
            height: 3px;
            width: 4rem;
        }

        .range403 .r4-page-head .r4-lead {
            font-size: 0.9375rem;
            max-width: none;
        }

    .range403 .r4-eyebrow {
        margin-bottom: 1rem;
        font-size: 0.625rem;
    }

    .range403 .content-section h3 {
        margin: 2.5rem 0 1rem;
        font-size: 1.125rem;
    }

    .range403 .content-section p {
        font-size: 0.9375rem;
    }

    .range403 .r4-split {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }

    .range403 .services-grid {
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .range403 .service-card {
        padding: 1.5rem;
        background: var(--r4-cont);
        border: 1px solid rgba(61, 75, 53, 0.08);
        border-radius: 0.5rem;
    }

        .range403 .service-card .r4-icon {
            margin-bottom: 1.5rem;
        }

        .range403 .service-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        .range403 .service-card p {
            font-size: 0.8125rem;
        }

    .range403 .r4-serve-grid {
        gap: 1rem;
    }

    .range403 .r4-serve {
        padding: 1.5rem;
        border-radius: 0.5rem;
    }

    .range403 .r4-disciplines {
        grid-template-columns: 1fr 1fr;
    }

    .range403 .r4-discipline {
        padding: 1rem;
        font-size: 0.625rem;
    }

    .range403 .contact-form {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .range403 *, .range403 *::before, .range403 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
