:root {
    /* Color Palette */
    --ink: #15161A;
    --concrete: #8C8A84;
    --paper: #F3F1EC;
    --steel: #3C434B;
    --signal: #FFC400; /* Placeholder for Softcut yellow */
    --signal-deep: #C99700;

    /* Typography */
    --font-display: 'Teko', sans-serif;
    --font-body: 'Oswald', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Spacing & Layout */
    --section-pad: 8rem 0;
    --border-thin: 1px solid var(--text-muted-alt);
}

/* -------------------------------------------------------------------------- */
/* Reset & Base Styles                                                        */
/* -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: initial; /* Handled by Lenis */
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--text-secondary);
    /* Subtle noise texture for concrete feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Typography Utilities */
h1, h2, h3, .hero-title, .section-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 10vw, 7rem); /* Made much larger for brutalism, scales down for mobile */
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 0.85;
}

/* Brutalist Outline Text (Pseudo-element approach for perfect alignment) */
.section-title.has-outline {
    position: relative;
    z-index: 1;
}

.section-title.has-outline::before {
    content: attr(data-text);
    position: absolute;
    left: -15px; /* Offset to the left */
    top: -15px;  /* Offset to the top */
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-muted-alt);
    opacity: 0.4;
    pointer-events: none;
    white-space: inherit;
    width: 100%;
}

@media (max-width: 768px) {
    .section-title.has-outline::before {
        left: -8px;
        top: -8px;
    }
}

/* Background Engineering Grid */
.bg-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(140, 138, 132, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(140, 138, 132, 0.1) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
}

.spec-mono {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-muted {
    color: var(--text-muted-alt) !important;
}

/* Common Layout Utilities */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-muted-alt);
    opacity: 0.3;
}

section {
    padding: var(--section-pad);
    position: relative;
}

/* -------------------------------------------------------------------------- */
/* Components                                                                 */
/* -------------------------------------------------------------------------- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 3px solid var(--text-primary); /* Thick border */
    transition: all 0.2s ease;
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--accent); /* Hard brutalist shadow */
    position: relative;
    z-index: 10;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 6px 6px 0 var(--text-primary);
    transform: translate(-2px, -2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-secondary);
    border: 3px solid var(--bg-primary);
    box-shadow: 6px 6px 0 var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
    box-shadow: 6px 6px 0 var(--bg-primary);
    transform: translate(-2px, -2px);
}

/* Magnetic Button Wrapper */
.magnetic-btn {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* 3.1 Navigation                                                             */
/* -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s ease, background-color 0.3s ease, border-bottom 0.3s ease;
}

.site-header.scrolled {
    height: 70px;
    background-color: var(--text-primary);
    border-bottom: 4px solid var(--text-muted);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.brand-logo svg {
    display: block;
}

.main-nav .nav-link {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.nav-dropdown:hover .dropdown-trigger {
    background-color: var(--accent);
    color: #000;
    border-color: #000;
    box-shadow: 4px 4px 0 #000;
    transform: translate(-2px, -2px);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.desktop-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0.5rem;
    background-color: var(--text-primary);
    border: 3px solid var(--text-muted);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.5);
}

.desktop-dropdown-menu.mega-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 600px;
    left: 50%;
    transform: translate(-50%, 10px);
}

.nav-dropdown:hover .desktop-dropdown-menu.mega-menu {
    transform: translate(-50%, 0);
}

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

.desktop-dropdown-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--text-muted);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.desktop-dropdown-link:last-child {
    border-bottom: none;
}

.desktop-dropdown-link:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    padding-left: 2rem;
}

.lang-toggle {
    border-left: 2px solid var(--text-muted);
    padding-left: 1.5rem !important;
}

/* -------------------------------------------------------------------------- */
/* Mobile Menu Overlay                                                        */
/* -------------------------------------------------------------------------- */

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--text-primary);
    z-index: 99;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    border-left: 4px solid var(--accent);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-drawer.is-active {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.mobile-sys-status {
    color: var(--text-muted-alt);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 4rem);
    color: var(--text-secondary);
    line-height: 0.85;
    text-transform: uppercase;
    text-align: left;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
    border-left: 0px solid var(--accent);
}

.mobile-nav-link:active {
    color: var(--accent);
    padding-left: 1rem;
    border-left: 8px solid var(--accent);
}

button.mobile-nav-link {
    background: transparent;
    border: none;
    border-left: 0px solid var(--accent); /* Override default button border */
    cursor: pointer;
    width: 100%;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent);
    margin-top: 1rem;
    gap: 1rem;
}

.mobile-dropdown-menu.is-open {
    display: flex;
}

.mobile-sub-link {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    color: var(--text-muted-alt);
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.mobile-sub-link:active {
    color: var(--accent);
    padding-left: 1rem;
}

.mobile-menu-footer {
    margin-top: 4rem;
}

.mobile-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-muted);
    transition: all 0.2s ease;
}

.mobile-action-btn.highlight {
    background-color: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

.mobile-action-btn:active {
    transform: translateY(4px);
}

.mobile-sys-op {
    background: var(--text-muted);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--text-muted-alt);
    letter-spacing: 0.1em;
}

/* Custom Hamburger Toggle */
.mobile-menu-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid transparent;
    cursor: pointer;
    z-index: 101; /* Above mobile menu overlay */
    padding: 0;
    transition: border-color 0.3s ease;
}

.mobile-menu-toggle.is-active {
    border-color: var(--accent);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--accent);
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) { top: 16px; }
.mobile-menu-toggle span:nth-child(2) { top: 26px; }

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.lang-toggle {
    color: var(--text-muted-alt) !important;
}

.nav-phone {
    color: var(--text-secondary);
    margin-right: 2rem;
}

/* -------------------------------------------------------------------------- */
/* 3.2 Hero                                                                   */
/* -------------------------------------------------------------------------- */

.hero {
    width: 100%;
    height: 100vh;
    padding: 0;
    background-color: var(--text-primary);
    color: var(--text-secondary);
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-bg.active {
    opacity: 1;
    visibility: visible;
}

.hero-img {
    width: 100%;
    height: 115%; /* Extra height for parallax */
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 22, 26, 0.8) 0%, rgba(21, 22, 26, 0.2) 100%);
}

/* The Wipe Reveal Cutting Line */
.cutting-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent);
    z-index: 10;
    transform: scaleY(0);
    transform-origin: top;
}

.spec-panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px; /* Aligned with container */
    right: 15px; /* Prevent horizontal overflow */
    max-width: 480px;
    border: 1px solid rgba(243, 241, 236, 0.2);
    background: rgba(21, 22, 26, 0.6);
    backdrop-filter: blur(5px);
    padding: 2rem;
    z-index: 5;
}

@media (min-width: 992px) {
    .spec-panel {
        left: calc((100vw - 960px) / 2 + 15px);
    }
}
@media (min-width: 1200px) {
    .spec-panel {
        left: calc((100vw - 1140px) / 2 + 15px);
    }
}
@media (min-width: 1400px) {
    .spec-panel {
        left: calc((100vw - 1320px) / 2 + 15px);
    }
}

.hero-content {
    display: none;
}

.hero-content.active {
    display: block;
}

.hero-eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Hero Services Ticker (Right Side) */
.hero-services-ticker {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    max-width: 30vw;
    z-index: 6;
}

@media (min-width: 992px) {
    .hero-services-ticker {
        right: calc((100vw - 960px) / 2 + 15px);
    }
}
@media (min-width: 1200px) {
    .hero-services-ticker {
        right: calc((100vw - 1140px) / 2 + 15px);
    }
}
@media (min-width: 1400px) {
    .hero-services-ticker {
        right: calc((100vw - 1320px) / 2 + 15px);
    }
}

.ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ticker-item {
    font-size: 1.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted-alt);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
}

.ticker-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted-alt);
    margin-bottom: 2rem;
    max-width: 450px;
}

.spec-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(243, 241, 236, 0.2);
}

.stat-val {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.stat-val .count-up {
    color: var(--accent);
}

/* -------------------------------------------------------------------------- */
/* 3.3 Trust Strip                                                            */
/* -------------------------------------------------------------------------- */

.trust-strip {
    padding: 1.5rem 0;
    background-color: var(--text-primary);
    border-bottom: var(--border-thin);
    overflow: hidden;
    position: relative;
    color: var(--text-muted-alt);
}

.marquee-wrapper {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    padding-right: 4rem;
    animation: marquee 30s linear infinite;
}

.trust-strip:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content span.divider {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 2rem;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* -------------------------------------------------------------------------- */
/* 3.3.5 Pioneering Legacy & Equipment                                        */
/* -------------------------------------------------------------------------- */

.legacy-equipment {
    background-color: var(--text-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.legacy-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.9;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.equipment-grid {
    position: relative;
    z-index: 2;
}

.equip-card {
    position: relative;
    background: rgba(243, 241, 236, 0.03);
    border: 2px solid var(--text-muted);
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.equip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.equip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 241, 236, 0.2);
}

.equip-card:hover::before {
    transform: scaleX(1);
}

.equip-bg {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 8rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
}

.equip-card > * {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* 3.4 What We Do (Horizontal Scroller)                                       */
/* -------------------------------------------------------------------------- */

.services {
    background-color: var(--text-primary);
    color: var(--text-secondary);
    overflow: hidden;
}

.services .section-title {
    color: var(--text-secondary);
}

.services-scroll-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.services-track {
    display: flex;
    gap: 2rem;
    padding: 0 5vw;
    width: max-content;
}

.service-card {
    width: 85vw;
    max-width: 450px; /* Slightly narrower to fit well */
    flex-shrink: 0;
    border: 3px solid var(--text-muted); /* Brutal border */
    background-color: var(--text-primary);
    box-shadow: 12px 12px 0 rgba(60, 67, 75, 0.3); /* Hard shadow */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 17px 17px 0 var(--accent);
}

.card-img-wrap {
    width: 100%;
    height: 220px; /* Reduced from 300px so text isn't pushed off-screen */
    overflow: hidden;
    border-bottom: 1px solid var(--text-muted);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem; /* Reduced padding */
    flex-grow: 1;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(243, 241, 236, 0.1);
}

.spec-tag {
    color: var(--accent);
    font-size: 1rem;
}

.card-diff {
    color: var(--text-muted-alt);
}

.card-title {
    font-size: 1.6rem; /* Scaled down slightly */
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.card-desc {
    color: var(--text-muted-alt);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* -------------------------------------------------------------------------- */
/* 3.4 Capabilities (Horizontal Scroller)                                     */
/* -------------------------------------------------------------------------- */

.services {
    background-color: var(--text-primary);
    padding-top: 6rem;
    overflow-x: hidden;
    position: relative;
}

.services-header {
    margin-bottom: 2rem;
}

.services-scroll-container {
    width: 100vw;
    overflow: hidden;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.services-scroll-container::-webkit-scrollbar {
    display: none;
}

.services-track {
    display: flex;
    width: max-content;
    padding: 0 15px 4rem 15px;
    gap: 30px;
}

.service-card {
    width: 85vw;
    max-width: 500px;
    background-color: var(--text-primary);
    border: 3px solid var(--text-muted);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 17px 17px 0 var(--accent);
}

.card-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 3px solid var(--text-muted);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--text-muted);
}

.spec-tag {
    color: var(--accent);
    font-size: 1rem;
}

.card-diff {
    color: var(--text-muted-alt);
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    color: var(--text-secondary);
}

.card-desc {
    color: var(--text-muted-alt);
    font-size: 1rem;
    line-height: 1.4;
}

/* Fallback for mobile if JS horizontal scroll isn't active */
@media (max-width: 991.98px) {
    .services-track {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
    }
    .service-card {
        width: 100%;
        max-width: none;
    }
}

/* -------------------------------------------------------------------------- */
/* 3.4.5 Complete Service Directory                                           */
/* -------------------------------------------------------------------------- */

.service-directory {
    background-color: var(--text-secondary);
    padding: 8rem 0;
    color: var(--text-primary);
}

.directory-list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 3px solid var(--text-primary);
}

@media (min-width: 992px) {
    .directory-list {
        grid-template-columns: 1fr 1fr;
    }
}

.dir-row {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: transparent;
}

@media (min-width: 992px) {
    .dir-row:nth-child(odd) {
        border-right: 3px solid var(--text-primary);
    }
}

.dir-row:hover {
    background-color: var(--hover-bg);
    color: var(--hover-text);
}

.dir-row:hover .dir-title, .dir-row:hover .dir-num {
    color: var(--hover-text);
    transform: translateX(10px);
}

.dir-num {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 2rem;
    transition: transform 0.3s ease;
    color: var(--text-primary);
}

.dir-title {
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    transition: transform 0.3s ease;
    color: var(--text-primary);
    font-family: var(--font-display);
}

/* -------------------------------------------------------------------------- */
/* 3.5 Why Softcut (Value Grid) & 3.7 Who We Are                              */
/* -------------------------------------------------------------------------- */

.spec-list {
    border-top: var(--border-thin);
}

.spec-list-item {
    padding: 2rem 1.5rem 2rem 0;
    border-bottom: var(--border-thin);
}

.spec-list-item h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.spec-list-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.highlight {
    color: var(--accent-deep);
    font-weight: 500;
}

.mission-vision h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted-alt);
    text-transform: uppercase;
}

.mission-vision .lead {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

/* -------------------------------------------------------------------------- */
/* 3.6 Our Impact                                                             */
/* -------------------------------------------------------------------------- */

.impact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.impact-tile {
    position: relative;
    overflow: hidden;
    background-color: var(--text-muted);
}

.impact-tile img {
    width: 100%;
    height: 120%; /* For parallax */
    object-fit: cover;
}

.tile-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Asymmetric Layout */
.tile-large { grid-column: span 8; grid-row: span 2; }
.tile-tall { grid-column: span 4; grid-row: span 2; }
.tile-wide { grid-column: span 7; grid-row: span 1; }
.tile-small { grid-column: span 5; grid-row: span 1; }

@media (max-width: 991.98px) {
    .tile-large, .tile-tall, .tile-wide, .tile-small {
        grid-column: span 12;
    }
    .tile-large { grid-row: span 2; }
    .tile-tall { grid-row: span 1; }
}

.logo-wall-title {
    color: var(--text-muted-alt);
}

.client-logo-placeholder {
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo-placeholder:hover {
    opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* 3.8 Sustainability                                                         */
/* -------------------------------------------------------------------------- */

.sustain-img-wrapper {
    border: 1px solid var(--text-muted-alt);
    padding: 1rem;
}

.spec-overlay {
    position: absolute;
    top: 2rem;
    right: -1rem;
    background-color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--text-primary);
    z-index: 2;
}

/* -------------------------------------------------------------------------- */
/* 3.9 Testimonials                                                           */
/* -------------------------------------------------------------------------- */

.testimonials {
    background-color: var(--text-muted);
    color: var(--text-secondary);
}

.testimonial-card {
    padding: 3rem;
    border: 1px solid rgba(243, 241, 236, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.author {
    color: var(--accent);
}

.swiper-pagination-bullet {
    background-color: var(--text-secondary);
}

.swiper-pagination-bullet-active {
    background-color: var(--accent);
}

/* -------------------------------------------------------------------------- */
/* 3.10 Contact                                                               */
/* -------------------------------------------------------------------------- */

.contact {
    background-color: var(--text-primary);
    color: var(--text-secondary);
}

.contact-title {
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--text-secondary);
}

.contact-info a:hover {
    color: var(--accent);
}

.spec-form .form-group {
    margin-bottom: 2rem;
}

.spec-form label {
    display: block;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.spec-form input,
.spec-form select,
.spec-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(243, 241, 236, 0.3);
    color: var(--text-secondary);
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
}

.spec-form input:focus,
.spec-form select:focus,
.spec-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.spec-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23F3F1EC%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.65rem auto;
}

/* -------------------------------------------------------------------------- */
/* 3.11 Footer                                                                */
/* -------------------------------------------------------------------------- */

.site-footer {
    background-color: var(--text-primary);
    color: var(--text-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(243, 241, 236, 0.1);
}

.footer-nav a {
    color: var(--text-muted-alt);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-right: 1.5rem;
}

.footer-nav a:hover {
    color: var(--text-secondary);
}

.footer-social a {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    border: 1px solid var(--text-muted-alt);
    padding: 0.5rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* -------------------------------------------------------------------------- */
/* Brutalist Enhancements (Cursor, Hazard, HUD)                               */
/* -------------------------------------------------------------------------- */

/* Custom Crosshair Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.custom-cursor::before,
.custom-cursor::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
}

.custom-cursor::before {
    top: 50%;
    left: -10px;
    right: -10px;
    height: 2px;
    transform: translateY(-50%);
}

.custom-cursor::after {
    left: 50%;
    top: -10px;
    bottom: -10px;
    width: 2px;
    transform: translateX(-50%);
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 196, 0, 0.2);
}

/* Hazard Stripes */
.hazard-stripe {
    background-image: repeating-linear-gradient(
        -45deg,
        var(--accent),
        var(--accent) 10px,
        var(--text-primary) 10px,
        var(--text-primary) 20px
    );
}

.hazard-divider {
    width: 100%;
    height: 8px;
    opacity: 1;
}

/* Hero HUD Overlay */
.hud-overlay {
    position: absolute;
    inset: 20px;
    pointer-events: none;
    z-index: 10;
    border: 2px solid rgba(255, 196, 0, 0.3);
}

.hud-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent);
    border-style: solid;
}

.hud-tl { top: 0; left: 0; border-width: 4px 0 0 4px; }
.hud-tr { top: 0; right: 0; border-width: 4px 4px 0 0; }
.hud-bl { bottom: 0; left: 0; border-width: 0 0 4px 4px; }
.hud-br { bottom: 0; right: 0; border-width: 0 4px 4px 0; }

.hud-text {
    position: absolute;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.hud-text.top-center {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    padding: 0 10px;
}

.hud-text.bottom-right {
    bottom: 10px;
    right: 15px;
}

.hud-rec {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* -------------------------------------------------------------------------- */
/* Accessibility & Reduces Motion                                             */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .cutting-line {
        display: none;
    }
    .hero-bg {
        opacity: 1;
        visibility: visible;
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile & Tablet Specific Responsive Fixes                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    /* Reduce HUD clutter on small screens */
    .hud-corner { display: none; }
    .hud-text { font-size: 0.65rem; }
    
    .hero { aspect-ratio: 3 / 4; }
    
    /* Hero Panel Tweaks */
    .spec-panel {
        padding: 1.5rem;
        bottom: 2vh;
    }
    .hero-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .spec-stats {
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }
    .stat-val { font-size: 1rem; }
    
    /* Demo stage resizing */
    .demo-stage { height: 250px; }
    .demo-hud { font-size: 0.65rem; }
    .demo-hud-left { left: 10px; top: 10px; }
    .demo-hud-right { right: 10px; top: 10px; }
    .pulley { width: 30px; height: 30px; }
    
    /* Ensure impact tiles don't overflow */
    .impact-tile { padding: 1.5rem; }
    
    /* Footer tweaks */
    .footer-col { margin-bottom: 2rem; }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 991px) {
    .hero { 
        height: auto;
        aspect-ratio: 3 / 4; 
    }
}

.text-paper { color: var(--text-secondary) !important; }
.text-ink { color: var(--text-primary) !important; }

/* -------------------------------------------------------------------------- */
/* Theme Switcher FAB                                                         */
/* -------------------------------------------------------------------------- */

.theme-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.theme-options.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.theme-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--text-primary);
    color: var(--text-secondary);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.theme-fab:hover {
    transform: scale(1.1);
}

.theme-fab svg {
    width: 24px;
    height: 24px;
}

.theme-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.15);
}

/* -------------------------------------------------------------------------- */
/* Custom Theme Modal                                                         */
/* -------------------------------------------------------------------------- */

.custom-theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-panel {
    position: relative;
    background: var(--bg-primary);
    border: 2px solid var(--text-primary);
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    z-index: 1;
    box-shadow: 15px 15px 0 var(--text-primary);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.custom-theme-modal.active .modal-panel {
    transform: translateY(0);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-muted-alt);
    margin-bottom: 2rem;
}

.color-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.picker-group {
    display: flex;
    flex-direction: column;
}

.picker-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.picker-group label span {
    color: var(--text-muted);
    font-size: 0.7rem;
    display: block;
    margin-top: 2px;
}

.picker-group input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 50px;
    border: 2px solid var(--text-primary);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.picker-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.picker-group input[type="color"]::-webkit-color-swatch {
    border: none;
}

.picker-group input[type="color"]::-moz-color-swatch {
    border: none;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--text-muted-alt);
    padding-top: 1.5rem;
}
