.spoke-container {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* BREADCRUMBS FOR SEO */
.breadcrumbs {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: #e6b34a;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumbs a:hover {
    color: #fff;
    text-shadow: 0 0 10px #e6b34a;
}

/* THE INLINE CALCULATOR UI */
.inline-calculator {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(230, 179, 74, 0.3);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(230, 179, 74, 0.05);
    margin-bottom: 60px;
    position: relative;
    backdrop-filter: blur(10px);
}

.tech-header {
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.tech-title {
    font-family: 'Marcellus', serif;
    color: #fff;
    font-size: 2rem;
    margin-top: 5px;
}

.lab-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.full-width {
    grid-column: span 2;
}

.tech-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #e6b34a;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lab-input,
.lab-select {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    border-radius: 4px;
}

.lab-input:focus,
.lab-select:focus {
    border-color: #e6b34a;
    outline: none;
    background: #161616;
    box-shadow: 0 0 15px rgba(230, 179, 74, 0.1);
}

.lab-btn-action {
    width: 100%;
    background: linear-gradient(135deg, #e6b34a 0%, #c48a26 100%);
    border: none;
    padding: 18px;
    color: #000;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
    font-size: 1.1rem;
}

.lab-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(230, 179, 74, 0.4);
}

.lab-btn-secondary {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 15px;
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    letter-spacing: 2px;
    transition: 0.3s;
    border-radius: 4px;
}

.lab-btn-secondary:hover {
    border-color: #e6b34a;
    color: #e6b34a;
}

.modal-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESULT DATA STYLES */
.result-readout {
    text-align: center;
    margin-bottom: 20px;
}

.big-data {
    display: block;
    font-size: 4rem;
    color: #fff;
    font-family: 'Marcellus', serif;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 0 30px rgba(230, 179, 74, 0.3);
}

.readout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.readout-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

.data-val {
    display: block;
    font-size: 2rem;
    color: #fff;
    font-family: 'Marcellus', serif;
}

.readout-list {
    text-align: left;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #222;
}

.readout-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #333;
    color: #aaa;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
}

.readout-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gold-text {
    color: #e6b34a;
    font-weight: 600;
}

/* SEO CONTENT ARTICLE */
.seo-content {
    font-family: 'Manrope', sans-serif;
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

.seo-content h2 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(230, 179, 74, 0.2);
    padding-bottom: 10px;
}

.seo-content h3 {
    font-family: 'Marcellus', serif;
    color: #e6b34a;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-content p {
    margin-bottom: 20px;
    font-weight: 300;
}

.seo-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 10px;
    font-weight: 300;
}

.seo-content strong {
    color: #fff;
    font-weight: 600;
}

/* THE CTA BLOCK */
.seo-cta {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(230, 179, 74, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(230, 179, 74, 0.4);
    border-radius: 8px;
    text-align: center;
}

.seo-cta h3 {
    font-family: 'Cinzel', serif;
    color: #e6b34a;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 0;
    border: none;
}

.seo-cta p {
    color: #aaa;
    margin-bottom: 30px;
}

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

    .full-width {
        grid-column: auto;
    }

    .inline-calculator {
        padding: 20px;
    }

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

    .seo-content h2 {
        font-size: 1.6rem;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    /* <-- Add this */
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
    /* <-- Add this to fix the warning */
}

/* ============================================================
           SURGICAL OVERRIDE: CARBON GLASS HUD (DARK LAB UNIFORM)
           ============================================================ */

/* 1. The Carbon Glass Pane */
body nav {
    background: rgba(2, 1, 1, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(230, 179, 74, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

/* 2. Standardize Nav Links */
body nav .nav-links a {
    color: #E2E8F0 !important;
    transition: 0.3s ease !important;
}

body nav .nav-links a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

/* 3. The "ATELIER / LAB" Button */
body nav .nav-center-group #labBtn {
    background: transparent !important;
    color: #e6b34a !important;
    border: 1px solid rgba(230, 179, 74, 0.3) !important;
    box-shadow: 0 0 15px rgba(230, 179, 74, 0.1) !important;
    text-shadow: 0 0 10px rgba(230, 179, 74, 0.5) !important;
}

/* 4. The "LuKUL" Button */
body nav .nav-center-group .app-btn-bespoke:not(#labBtn) {
    background: transparent !important;
    color: #E2E8F0 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body nav .nav-center-group .app-btn-bespoke:not(#labBtn):hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

/* 5. The "APPLY" CTA */
body nav .cta-btn {
    background: linear-gradient(135deg, #B89643 0%, #d4b76a 50%, #9e7f32 100%) !important;
    color: #111111 !important;
    border: 1px solid rgba(184, 150, 67, 0.8) !important;
    box-shadow: 4px 4px 0px rgba(184, 150, 67, 0.25) !important;
    text-shadow: none !important;
}

body nav .cta-btn:hover {
    background: linear-gradient(135deg, #d4b76a 0%, #F59E0B 50%, #d4b76a 100%) !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 6px 6px 0px rgba(184, 150, 67, 0.4) !important;
}

/* 6. Language Switcher Base Text */
body nav .lang-dropdown .lang-btn,
body nav .lang-dropdown .lang-btn span {
    color: #E2E8F0 !important;
    text-shadow: none !important;
    opacity: 0.8 !important;
}

body nav .lang-dropdown .lang-btn:hover,
body nav .lang-dropdown .lang-btn:hover span {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 7. Mobile Centering Constraints (NUCLEAR OVERRIDE) */
@media (max-width: 768px) {
    html body nav {
        justify-content: center !important;
        gap: 8px !important;
        padding-left: 2% !important;
        padding-right: 2% !important;
    }

    html body nav .lang-dropdown,
    html body nav .nav-center-group,
    html body nav .cta-btn {
        margin: 0 !important;
        position: static !important;
        transform: none !important;
    }

    html body nav .lang-dropdown {
        margin: 0 !important;
        position: relative !important;
        transform: none !important;
    }

    html body nav .nav-center-group {
        gap: 6px !important;
    }

    /* Absolute dominance over style.css button sizing */
    html body nav .nav-center-group .app-btn-bespoke,
    html body nav .nav-center-group #labBtn,
    html body nav .cta-btn,
    html[lang="en"] body nav .cta-btn.nav-cta {
        white-space: nowrap !important;
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
        padding: 8px 10px !important;
        /* Tighter padding to fit all buttons */
        line-height: 1 !important;
        height: auto !important;
        min-width: 0 !important;
        /* KILLS the 110px wide EN button rule */
    }

    html body nav .nav-links {
        display: none !important;
    }
}

/* ============================================================
           8. STEALTH LANGUAGE DROPDOWN (NUCLEAR OVERRIDE)
           ============================================================ */
html body nav #langDropdown #langMenu {
    background: rgba(2, 1, 1, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(230, 179, 74, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9) !important;
}

html body nav #langDropdown .lang-btn,
html body nav #langDropdown .lang-btn span {
    color: #E2E8F0 !important;
    font-family: 'Space Mono', monospace !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    background: transparent !important;
}

html body nav #langDropdown .lang-btn:hover,
html body nav #langDropdown .lang-btn:hover span {
    color: #ffffff !important;
}

html body nav #langDropdown #langMenu .lang-item,
html body nav #langDropdown #langMenu a.lang-item {
    color: #E2E8F0 !important;
    background: transparent !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important;
    text-shadow: none !important;
    transition: 0.3s ease !important;
    padding: 12px 15px !important;
}

html body nav #langDropdown #langMenu .lang-item:hover,
html body nav #langDropdown #langMenu a.lang-item:hover {
    color: #e6b34a !important;
    background: rgba(230, 179, 74, 0.1) !important;
    text-shadow: 0 0 10px rgba(230, 179, 74, 0.4) !important;
}

/* ============================================================
           9. THE CANVAS OVERRIDE (KINETIC GOLD GRID & DARK VOID)
           ============================================================ */
@keyframes gridFlowLab {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 60px 60px, 60px 60px, 0 0;
    }
}

html body {
    background-color: #020101 !important;
    color: #E6E6E6 !important;
    background-image:
        linear-gradient(rgba(230, 179, 74, 0.15) 2px, transparent 2px),
        linear-gradient(90deg, rgba(230, 179, 74, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 50% 0%, rgba(230, 179, 74, 0.18) 0%, transparent 75%) !important;
    background-size: 60px 60px, 60px 60px, 100% 100% !important;
    background-attachment: fixed !important;
    animation: gridFlowLab 120s linear infinite !important;
}

@media (max-width: 768px) {
    html body {
        background-image:
            linear-gradient(rgba(230, 179, 74, 0.25) 2px, transparent 2px),
            linear-gradient(90deg, rgba(230, 179, 74, 0.25) 2px, transparent 2px),
            radial-gradient(circle at 50% 0%, rgba(230, 179, 74, 0.22) 0%, transparent 75%) !important;
    }
}

html body #preloader {
    background-color: #020101 !important;
    background-image: radial-gradient(circle at 50% 50%, rgba(230, 179, 74, 0.15) 0%, transparent 70%) !important;
}

/* ============================================================
           10. PRELOADER LOGO OVERRIDE (RESTORE DARK MODE SEAL)
           ============================================================ */

/* Re-introduce the slow, deep glowing animation */
@keyframes breatheDark {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(230, 179, 74, 0.4));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 35px rgba(255, 140, 0, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(230, 179, 74, 0.4));
    }
}

/* Nuclear override to kill the small, inverted, transparent clinical stamp */
html body #preloader .breathing-seal {
    width: 225px !important;
    height: auto !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 20px rgba(230, 179, 74, 0.4)) !important;
    /* Kills invert(1) */
    animation: breatheDark 4s infinite ease-in-out !important;
}