:root {
    /* V4 Corporate Light Color Palette (Zeiss/Hexagon inspired) */
    --color-bg-dark: #09111e;
    --color-bg-light: #f8f9fa;
    --color-bg-surface: #ffffff;
    --color-bg-card: #ffffff;
    --color-primary: #00467f;
    --color-primary-hover: #003366;
    --color-accent: #d45500;
    /* Hexagon Orange for technical highlights */
    --color-text-main: #0a0a0b;
    --color-text-muted: #000000;
    --color-border: #d1d5db;
    --color-glass: rgba(255, 255, 255, 0.8);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1400px;
    /* Slightly wider for technical data */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
    --section-padding: 12rem 0;

    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 4px 12px rgba(0, 70, 127, 0.2);
}



/* Technical Vector Background Utility (SVG Grid) */
.bg-tech-grid,
.section.bg-tech-grid {
    background-image:
        radial-gradient(var(--color-primary) 1px, transparent 1px),
        linear-gradient(rgba(0, 70, 127, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 70, 127, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    background-position: center center;
}

.bg-blueprint,
.section.bg-blueprint {
    background-color: #002d52 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 20px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Technical Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border: 2px solid var(--color-bg-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

body {
    background-color: var(--color-bg-surface);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.85;
    letter-spacing: 0.1px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

p {
    margin-bottom: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navbar - Updated for Premium Feel */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 9999;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--color-primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 6px;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.brand-logo-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--color-text-main);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--color-primary);
    transition: width var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all var(--transition-smooth);
}

.mobile-toggle:hover,
.mobile-toggle.active {
    background: rgba(0, 70, 127, 0.05);
    border-color: var(--color-primary);
}

.menu-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.mobile-toggle:hover .menu-label,
.mobile-toggle.active .menu-label {
    color: var(--color-primary);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.mobile-toggle:hover .hamburger-line,
.mobile-toggle.active .hamburger-line {
    background-color: var(--color-primary);
}

/* Dropdown */
.nav-item.dropdown {
    position: relative;
    padding: 10px 0 30px 0;
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 260px;
    box-shadow: var(--shadow-premium);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 1.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a.mega-link {
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dropdown-menu a.mega-link:hover {
    background-color: #f8f9fa;
    color: var(--color-primary);
    padding-left: 15px;
    /* Less left padding for mega links to prevent layout shifts */
    transform: translateX(5px);
}

.dropdown-menu a.mega-link:hover .mega-icon {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    transform: scale(1.1);
}

/* Mega Menu Base Styles */
.mega-menu {
    min-width: 800px;
    padding: 2rem;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Mega Menu Responsive/Mobile Handling */
@media (max-width: 992px) {
    .nav-item.dropdown .dropdown-menu.mega-menu {
        position: static;
        min-width: 100%;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        border: left 2px solid var(--color-accent);
        background: transparent;
        padding: 1rem 0 1rem 1rem;
        transform: translateY(0);
        opacity: 1;
        /* Rely on mobile JS logic/toggle instead of hover */
        visibility: visible;
        display: none;
        /* Hide by default on mobile, handled by potential JS or stack */
    }

    .nav-item.dropdown.active .dropdown-menu.mega-menu {
        display: block;
    }

    .mega-menu .mega-grid {
        grid-template-columns: 1fr;
        /* Stack into single column on iPads/Mobile */
        gap: 1rem;
    }

    .mega-menu h4 {
        margin-bottom: 0.8rem !important;
    }
}

.btn-primary {
    background: var(--color-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    transition: all var(--transition-smooth);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 70, 127, 0.3);
}

/* Sections */
.section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--color-border);
}

.section:nth-of-type(even) {
    background-color: #f9fafb;
}

.section-title-area {
    margin-bottom: var(--spacing-xl);
}

.kicker {
    display: block;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
}

/* Inner Page Global Header Styles */
.inner-header {
    position: relative;
    padding: 240px 0 100px 0;
    text-align: center;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 2px solid var(--color-primary);
}

/* Global Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

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

.lead-text.mx-auto {
    max-width: 900px;
}

/* Technical Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Updated Card styles for sectioning */
.job-card,
.tech-card,
.info-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
    color: var(--color-text-main);
}

/* Ensure text inside sections with dark themes defaults to white */
[style*="background-color: var(--color-bg-dark)"],
[style*="background: var(--color-bg-dark)"],
[style*="background-color: var(--color-primary)"],
[style*="background: var(--color-primary)"] {
    color: #ffffff;
}

.job-card:hover,
.tech-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.inner-header-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 70, 127, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 70, 127, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1.5px;
    color: #052c4e;
    /* Darker than primary for contrast against white grids */
    position: relative;
    z-index: 10;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 450;
}

/* Footer Improvements */
.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: var(--spacing-xl) 0 0 0;
    margin-top: var(--spacing-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #e0e0e0;
    line-height: 2;
    font-size: 1rem;
    max-width: 300px;
}

.footer-locations h4,
.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-locations h4::after,
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.location-card {
    margin-bottom: 2rem;
}

.location-card h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.location-card p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #e0e0e0;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links br {
    display: none;
}

.footer-bottom {
    background: #000;
    padding: 2.5rem 0;
    border-top: 1px solid #222;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        box-shadow: var(--shadow-premium);
        border-top: 1px solid var(--color-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
    }

    .nav-links.active {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 2rem;
    }

    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links .btn-primary {
        margin-top: 1rem;
        text-align: center;
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 1.5rem;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 6rem 0;
    }
}

/* --- Global Interactions --- */
.hover-glow {
    transition: all 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 70, 127, 0.4) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-5px);
}

.interactive-svg {
    transition: all 0.5s ease;
}

.interactive-svg-container:hover .interactive-svg path,
.interactive-svg-container:hover .interactive-svg line,
.interactive-svg-container:hover .interactive-svg circle,
.interactive-svg-container:hover .interactive-svg rect {
    stroke: var(--color-primary);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(0, 70, 127, 0.4));
    animation: drawSvg 1.5s forwards;
}

.interactive-svg-container:hover .interactive-svg text {
    fill: var(--color-primary);
}

/* Global Scroll Reveal Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

.delay-5 {
    transition-delay: 0.75s;
}

/* Existing Keyframes */
@keyframes drawSvg {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 70, 127, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 85, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-3px);
}

/* Premium Navigation Hover Glow */
.nav-links a:not(.btn-primary) {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(0, 70, 127, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* --- Premium Interactive UX Features --- */
/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--color-accent);
}

/* ===================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL (Stage 12)
   Fixes: inline grid overflows, excessive margins, header bloat,
   footer stacking, SVG sizing, and content readability.
   =================================================================== */

/* --- Tablet Breakpoint (max-width: 992px) --- */
@media (max-width: 992px) {

    /* Force ALL inline grid layouts to single column */
    .section [style*="grid-template-columns"],
    .container [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Reset excessive inline margins used on desktop */
    .section [style*="margin-top: 10rem"],
    .section [style*="margin-bottom: 10rem"],
    .container [style*="margin-top: 10rem"],
    .container [style*="margin-bottom: 10rem"] {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .section [style*="margin-top: 8rem"],
    .section [style*="margin-bottom: 8rem"] {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }

    .section [style*="gap: 8rem"],
    .container [style*="gap: 8rem"] {
        gap: 2rem !important;
    }

    .section [style*="gap: 4rem"],
    .container [style*="gap: 4rem"] {
        gap: 2rem !important;
    }

    /* Inner page header: reduce bloated padding */
    .inner-header {
        padding: 140px 0 60px 0 !important;
    }

    /* Reduce section padding */
    .section {
        padding: 4rem 0;
    }

    /* Reset order on mobile so content flows naturally */
    .section [style*="order: 2"],
    .container [style*="order: 2"] {
        order: 0 !important;
    }

    .section [style*="order: 1"],
    .container [style*="order: 1"] {
        order: 0 !important;
    }

    /* SVG containers: prevent overflow */
    .interactive-svg-container {
        max-width: 100%;
        overflow: hidden;
    }

    .interactive-svg-container svg {
        max-width: 100%;
        height: auto;
    }

    /* Lead text sizing */
    .lead-text {
        font-size: 1.1rem !important;
    }

    /* Title sizing */
    .title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .page-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }

    /* Footer bottom inner stacks vertically */
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- Phone Breakpoint (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Reduce inner header even more */
    .inner-header {
        padding: 120px 0 40px 0 !important;
    }

    /* Reduce hero CTA button padding */
    .section [style*="padding: 1.5rem 4rem"],
    .container [style*="padding: 1.5rem 4rem"] {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    /* Reduce big inline padding on culture cards, about cards, etc. */
    .section [style*="padding: 4rem"],
    .container [style*="padding: 4rem"] {
        padding: 2rem !important;
    }

    .section [style*="padding: 3rem"],
    .container [style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    /* Ensure container never overflows */
    .container {
        padding: 0 1rem;
        overflow-x: hidden;
    }

    /* Body overflow protection */
    body {
        overflow-x: hidden;
    }

    /* Job cards stack properly */
    .job-card {
        padding: 1.5rem;
    }

    .job-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        font-size: 0.75rem;
    }

    /* Section titles on small screens */
    .title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* Culture/About cards inline grid gap */
    [style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }

    /* Brand logo shrink */
    .brand-logo-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .brand-text {
        font-size: 0.9rem !important;
    }

    /* Navbar compact padding */
    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }
}

/* --- Small Phone Breakpoint (max-width: 480px) --- */
@media (max-width: 480px) {
    .inner-header {
        padding: 100px 0 30px 0 !important;
    }

    .page-title {
        font-size: 1.6rem !important;
        letter-spacing: -0.5px !important;
    }

    .page-subtitle {
        font-size: 0.9rem !important;
    }

    .lead-text {
        font-size: 1rem !important;
    }

    .section {
        padding: 3rem 0;
    }

    /* SVG text readability on very small phones */
    .interactive-svg text {
        font-size: 8px !important;
    }

    .kicker {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    /* Scroll to top smaller */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile toggle adjustments */
    .menu-label {
        font-size: 0.8rem;
    }

    .hamburger-icon {
        width: 22px;
        height: 16px;
    }
}