/* ==========================================================================
   GNC Project Pros - Premium Royal Blue Redesign Styling System
   ========================================================================== */

/* ── Typography - Font Faces ── */
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-regular.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-light.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-medium.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-semibold.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-bold.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mugen Grotesk FW';
    src: url('../assets/fonts/mugengroteskfw-extrabold.woff2') format('woff2'),
         url('../assets/fonts/mugengroteskfw-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acumin Variable Concept';
    src: url('../assets/fonts/AcuminVariableConcept.woff2') format('woff2-variations'),
         url('../assets/fonts/AcuminVariableConcept.woff') format('woff'),
         url('../assets/fonts/AcuminVariableConcept.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Fallback fonts (in case they are not installed locally on system) */
@font-face {
    font-family: 'Akira';
    src: url('../assets/fonts/Akira.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CenturyGothic';
    src: url('../assets/fonts/CenturyGothic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CenturyGothic';
    src: url('../assets/fonts/CenturyGothicBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Minimo';
    src: url('../assets/fonts/Minimo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vincendo';
    src: url('../assets/fonts/Vincendo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── 1. Color System & Custom Properties ── */
:root {
    --primary: #8dc100;
    --primary-rgb: 141, 193, 0;
    --primary-hover: #73a000;
    --accent: #8dc100;
    --accent-rgb: 141, 193, 0;
    --text-on-primary: #000000;
    
    --bg-primary: #0b0f17;
    --bg-secondary: #111622;
    --bg-tertiary: #1b2230;
    --bg-card: rgba(17, 22, 34, 0.6);
    
    --text-main: #cbd5e1;
    --text-muted: #64748b;
    --text-light: #ffffff;
    
    --border-color: rgba(141, 193, 0, 0.15);
    --border-hover: rgba(141, 193, 0, 0.35);
    --card-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-heading: 'Mugen Grotesk FW', 'CenturyGothic', 'Funnel Display', sans-serif;
    --font-display: 'Mugen Grotesk FW', 'Akira', 'Funnel Display', sans-serif;
    --font-body: 'Acumin Variable Concept', 'Acumin Pro', 'Manrope', sans-serif;

    /* Architectural Square Theme Radii variables */
    --radius-card: 0px;
    --radius-btn: 0px;
    --radius-badge: 0px;
}

/* ── 2. Reset & Global Styles ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
}

/* ── 3. Typography & Section Titles ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--accent);
}

.section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header.centered .section-label::before {
    display: none;
}

/* ── 4. Animations Base ── */
.blur-reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(22px);
    transition: none !important;
}

/* ── Scroll-In Animation System ──
   Elements start hidden. JS IntersectionObserver adds .is-visible when
   they enter the viewport. CSS keyframes handle all timing — no GSAP
   ScrollTrigger needed, no premature firing on load.
*/

/* Base hidden state for all scroll-animated elements */
.scroll-item,
.scroll-card,
.scroll-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
    will-change: opacity, transform, filter;
}

/* Reveal animation */
@keyframes scrollFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* When .is-visible is added by IntersectionObserver, play the animation */
.scroll-item.is-visible {
    animation: scrollFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger children: each child gets a slightly longer delay via nth-child */
.scroll-stagger.is-visible > *:nth-child(1)  { animation: scrollFadeUp 0.65s 0.00s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(2)  { animation: scrollFadeUp 0.65s 0.07s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(3)  { animation: scrollFadeUp 0.65s 0.14s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(4)  { animation: scrollFadeUp 0.65s 0.21s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(5)  { animation: scrollFadeUp 0.65s 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(6)  { animation: scrollFadeUp 0.65s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(7)  { animation: scrollFadeUp 0.65s 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(8)  { animation: scrollFadeUp 0.65s 0.49s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(9)  { animation: scrollFadeUp 0.65s 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scroll-stagger.is-visible > *:nth-child(10) { animation: scrollFadeUp 0.65s 0.63s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* Card variant — same animation but slightly larger lift */
.scroll-card.is-visible {
    animation: scrollFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Reduced motion: skip animation, just show */
@media (prefers-reduced-motion: reduce) {
    .scroll-item, .scroll-card, .scroll-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}

.hero-headline > span {
    display: block;
    overflow: hidden;
    padding-bottom: 0.25em;
    margin-bottom: -0.25em;
    padding-right: 0.15em;
}

.js .hero-headline.text-split:not(.is-split-ready) > span {
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .js .hero-headline.text-split:not(.is-split-ready) > span {
        visibility: visible;
    }
}

/* Word mask: clips the word as it slides up. padding+margin trick prevents descender clipping */
.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
    padding-right: 0.25em;
}

.hero-word {
    display: inline-block;
    white-space: nowrap;
}

/* split-char: letter-by-letter reveal styling */
.hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px) rotate(6deg) scale(0.85);
    filter: blur(6px);
    -webkit-filter: blur(6px);
    will-change: transform, opacity, filter;
}

.hero-char-space {
    width: 0.28em;
}

.hero-headline.is-split-ready .hero-char {
    animation: heroCharReveal 0.8s var(--char-delay, 0s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCharReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
        filter: blur(0px);
        -webkit-filter: blur(0px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-headline.is-split-ready .hero-char {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
        -webkit-filter: none;
    }
}

.title-split-word {
    display: inline-block;
    will-change: transform;
    background: none;
    color: #ffffff;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #ffffff;
    background-clip: initial;
}

.parallax-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax-img, .hero-parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25);
}

/* ── 5. Site Header Navigation ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.site-header.scrolled {
    padding: .3rem 0;
    background: rgba(4, 8, 20, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="obsidian"] .site-header.scrolled {
    background: rgba(8, 8, 8, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.brand-logo-wrap {
    display: block;
    width: 60px;
    height: 60px;
}

.brand-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.3);
    transform-origin: center center;
}

.logo-dark {
    display: none !important;
}

.logo-light {
    display: block !important;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.is-active {
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-btn);
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide call button while hero is fully visible — fade in once user scrolls */
.site-header:not(.scrolled) .header-call-btn {
    opacity: 0;
    pointer-events: none;
}

.header-call-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35);
}

/* Nav Hamburger Menu Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 0px;
    transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── 6. Mobile Navigation Drawer ── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 1100;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.drawer-brand {
    height: 36px;
}

.drawer-brand .brand-logo {
    height: 100%;
}

.drawer-close {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.drawer-close:hover {
    color: var(--text-light);
}

.drawer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer-main a {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.drawer-main a:hover {
    color: var(--text-light);
    padding-left: 0.5rem;
}

/* Staggered link fade & blur animation when opened */
.nav-drawer.open .drawer-main a {
    animation: drawerLinkFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-drawer.open .drawer-main a:nth-child(1) { animation-delay: 0.12s; }
.nav-drawer.open .drawer-main a:nth-child(2) { animation-delay: 0.18s; }
.nav-drawer.open .drawer-main a:nth-child(3) { animation-delay: 0.24s; }
.nav-drawer.open .drawer-main a:nth-child(4) { animation-delay: 0.30s; }

@keyframes drawerLinkFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.drawer-footer {
    margin-top: auto;
}

.drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    background: var(--primary);
    color: var(--text-on-primary);
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-btn);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.drawer-call-btn:hover {
    background: var(--primary-hover);
    color: var(--text-on-primary);
    transform: translateY(-2px);
}

/* ── 7. Hero Section ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Smooth bottom fade from hero into first section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(9, 10, 10, 0.6) 55%,
        #090a0a 100%
    );
    z-index: 5;
    pointer-events: none;
}

[data-theme="deep-blue"] .hero::after {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(10, 20, 36, 0.55) 55%,
        #0a1424 100%
    );
}

[data-theme="obsidian"] .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 5, 5, 0.6) 55%, #050505 100%);
}

[data-theme="foundry"] .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(8, 8, 7, 0.6) 55%, #080807 100%);
}

[data-theme="safety"] .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(7, 7, 6, 0.6) 55%, #070706 100%);
}

[data-theme="white"] .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(247, 248, 250, 0.6) 55%, #f7f8fa 100%);
}

[data-theme="steel"] .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(11, 15, 23, 0.6) 55%, #0b0f17 100%);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 8, 20, 0.45) 0%, rgb(0 0 0 / 95%) 90%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.hero-headline {
    font-size: clamp(1.9rem, 9.5vw, 3.8rem);
    font-weight: 900;
    line-height: .85;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.hero-headline > span {
    display: block;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-btn);
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-on-primary);
    box-shadow: 0 4px 30px rgba(var(--primary-rgb), 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    pointer-events: none;
}
@media (max-height: 720px) {
    .hero-scroll-hint {
        display: none !important;
    }
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 2s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 8px); opacity: 0; }
}

/* ── 8. Specialties Ticker ── */
.ticker-wrap {
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: tickerAnim 35s linear infinite;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.ticker-content span {
    display: inline-block;
}

.ticker-content span:not(.ticker-dot) {
    color: var(--text-light);
}

.ticker-dot {
    color: var(--accent);
}

@keyframes tickerAnim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ── 9. About Section & Frame Slider ── */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-showcase {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.about-slider-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.about-slider-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(4, 8, 20, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-badge);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    z-index: 10;
}

.about-slider-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-slide.active {
    z-index: 2;
}

.about-slide .parallax-wrap {
    width: 100%;
    height: 100%;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-desc p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-desc p:last-child {
    margin-bottom: 0;
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-badge);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.stat-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ── 10. Services Section & Spotlight Cards ── */
.services-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.svc-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.svc-card:hover,
.svc-card.active-scroll {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.svc-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(var(--accent-rgb), 0.1), transparent 40%);
    z-index: 2;
}

.svc-card:hover .svc-glow,
.svc-card.active-scroll .svc-glow {
    opacity: 1;
}

.svc-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.svc-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 85%));
    z-index: 1;
}

.svc-body {
    padding: 2.25rem;
    position: relative;
    z-index: 3;
}

.svc-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.svc-icon svg,
.stat-icon-wrap svg,
.process-icon svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svc-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.svc-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ── 11. Process Section with Scroll-Driven Line ── */
.process-section {
    padding: 8rem 0;
}

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 6rem;
}

.process-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.process-line-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--primary) 100%);
    box-shadow: 0 0 15px var(--accent);
    transition: height 0.1s ease;
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    z-index: 2;
}

.process-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.process-step:hover .process-card,
.process-step.active-scroll .process-card {
    border-color: var(--border-hover);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--accent-rgb), 0.15);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.process-step:hover .process-num,
.process-step.active-scroll .process-num {
    color: rgba(var(--accent-rgb), 0.35);
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.process-card p {
    color: var(--text-muted);
}

.process-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-badge);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.process-dot {
    position: absolute;
    left: 50%;
    top: 4rem;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--border-color);
    z-index: 10;
    transition: var(--transition-smooth);
}

.process-step.in-view .process-dot {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    background: var(--accent);
}

.process-visual {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.process-visual .parallax-wrap {
    height: 300px;
}

.visual-tag {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(4, 8, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: var(--radius-badge);
}

/* Alternate Left/Right process steps */
.process-step:nth-child(even) .process-card {
    grid-column: 2;
}

.process-step:nth-child(even) .process-visual {
    grid-column: 1;
    grid-row: 1;
}

/* ── 12. Guarantees Marquee ── */
.guarantees-marquee {
    overflow: hidden;
    padding: 1.75rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.guarantees-marquee .marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeTextScroll 35s linear infinite;
}

.guarantees-marquee .marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.guarantees-marquee span {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guarantees-marquee span i {
    color: var(--accent);
    font-size: 0.95rem;
}

.guarantees-marquee .divider {
    color: rgba(var(--accent-rgb), 0.3);
    font-weight: 400;
    font-size: 1.2rem;
}

@keyframes marqueeTextScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ── 13. Gallery Work Section ── */
.projects-section {
    padding: 8rem 0;
}

.projects-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.projects-top h2 {
    margin-bottom: 0;
}

.gallery-pills-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.gallery-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    width: 100%;
}

.gallery-pills::-webkit-scrollbar {
    display: none;
}

.gallery-pill {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-badge);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-pill.active {
    color: var(--text-light);
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.gallery-pill:hover:not(.active) {
    color: var(--text-light);
}

[data-theme="white"] .gallery-pill {
    color: #475569;
    border-color: rgba(15, 23, 42, 0.15);
    background: rgba(15, 23, 42, 0.04);
}
[data-theme="white"] .gallery-pill.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}
[data-theme="white"] .gallery-pill:hover:not(.active) {
    border-color: rgba(15, 23, 42, 0.35);
    background: rgba(15, 23, 42, 0.09);
    color: #1e293b;
}

.gallery-controls {
    display: flex;
    gap: 0.75rem;
}

.gallery-nav {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-nav:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.gallery-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Horizontal Scrolling cards container */
.projects-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2rem;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.project-card:hover,
.project-card.active-scroll {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.project-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-photo .parallax-wrap {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-photo .parallax-wrap {
    transform: scale(1.06);
}

.project-photo-count {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(4, 8, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: var(--radius-badge);
}

.project-view-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--primary);
    color: var(--text-on-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-badge);
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.project-card:hover .project-view-more {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.project-meta {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.project-meta span:first-child {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.project-meta strong {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.project-meta small {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.project-card.is-hidden {
    display: none !important;
}

/* ── 14. Before & After Sliders ── */
.before-after-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ba-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.ba-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.ba-card:hover {
    border-color: var(--border-hover);
}

.ba-media {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.ba-before, .ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-before img, .ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before {
    z-index: 2;
    clip-path: inset(0 48% 0 0);
}

.ba-after {
    z-index: 1;
}

.ba-label {
    position: absolute;
    bottom: 1rem;
    background: rgba(4, 8, 20, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-radius: var(--radius-badge);
    z-index: 5;
    pointer-events: none;
}

.ba-label-before {
    left: 1rem;
}

.ba-label-after {
    right: 1rem;
}

.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 52%;
    width: 2px;
    background: var(--text-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 6;
    pointer-events: none;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--text-light);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle::before, .ba-handle::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
}

.ba-handle::before {
    border-width: 5px 6px 5px 0;
    border-color: transparent var(--bg-primary) transparent transparent;
    left: 9px;
}

.ba-handle::after {
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent var(--bg-primary);
    right: 9px;
}

.ba-media input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    pointer-events: none;
}

.ba-body {
    padding: 2rem;
}

.ba-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.ba-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Video Section */
.videos-container {
    border-top: 1px solid var(--border-color);
    padding-top: 6rem;
}

.videos-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.videos-heading-row h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-light);
}

.videos-track-container {
    overflow: hidden;
    padding-bottom: 1rem;
}

.videos-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.videos-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.video-card video {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
    background: #000;
    border-bottom: 1px solid var(--border-color);
}

.video-card div {
    padding: 1.75rem;
}

.video-card strong {
    display: block;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.video-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── 15. Contact Section & Estimates ── */
.merged-contact-cta {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.merged-contact-cta .cta-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.merged-cta-copy h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.merged-cta-copy p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.merged-cta-actions {
    display: flex;
    gap: 1.5rem;
}

.merged-contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    border-radius: var(--radius-card);
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.merged-contact-card strong {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.merged-contact-card a.contact-card-phone {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.merged-contact-card a.contact-card-phone:hover {
    color: var(--text-light);
}

.contact-card-location {
    font-size: 1rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.merged-contact-card hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 2rem;
}

.contact-card-specialties {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── 16. Footer & Bottom Links ── */
.site-footer {
    background: #020409;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand-block {
    max-width: 320px;
}

.footer-logo {
    height: 120px;
    margin-bottom: 1.5rem;
}

.footer-brand-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.site-footer nav {
    display: flex;
    gap: 3rem;
}

.site-footer nav a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
}

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

.footer-phone {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sticky Mobile CTA Trigger Button */
.sticky-mobile-cta {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-on-primary);
    background: var(--primary);
    border-radius: 0px;
    padding: 1.1rem;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.45);
    /* Double-lock hidden state: translateY keeps it off-screen, opacity:0 ensures
       iOS Safari's dynamic viewport chrome can't accidentally reveal it */
    transform: translateY(120px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-mobile-cta:hover {
    background: var(--primary-hover);
    color: var(--text-on-primary);
    box-shadow: 0 10px 35px rgba(var(--primary-rgb), 0.6);
}

/* ── 17. Premium Lightbox System ── */
.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.34s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.34s, backdrop-filter 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="obsidian"] .project-lightbox {
    background: rgba(0, 0, 0, 0.97);
}

.project-lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.lightbox-close {
    position: absolute;
    top: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(4, 8, 20, 0.62);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, opacity 0.28s ease;
    z-index: 12;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.lightbox-close i {
    transition: transform 0.22s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: var(--text-light);
    border-color: var(--text-light);
    color: var(--bg-primary);
    box-shadow: 0 20px 55px rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.lightbox-close:hover i,
.lightbox-close:focus-visible i {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 5;
    background: rgba(4, 8, 20, 0.5);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--text-light);
    color: var(--bg-primary);
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

.lightbox-img-wrap {
    width: 90%;
    max-width: 1000px;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px) scale(0.965);
    filter: blur(10px);
    transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), filter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-lightbox.open .lightbox-img-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-card);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 2rem;
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.16s, transform 0.3s ease 0.16s;
}

.project-lightbox.open .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

.project-lightbox .lightbox-close,
.project-lightbox .lightbox-nav {
    opacity: 0;
}

.project-lightbox.open .lightbox-close,
.project-lightbox.open .lightbox-nav {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .project-lightbox,
    .lightbox-img-wrap,
    .lightbox-caption,
    .lightbox-close,
    .lightbox-nav,
    .lightbox-close i {
        transition: none !important;
    }

    .lightbox-img-wrap,
    .lightbox-caption {
        transform: none;
        filter: none;
    }
}

/* ── 18. Media Query Viewports ── */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-stats-grid {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step {
        gap: 3rem;
    }
    
    .ba-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ba-card:last-child {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1.25rem 0;
    }
    
    .site-nav, .header-call-btn {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        margin-top: 2rem;
    }
    
    .hero-headline {
        margin-bottom: 1.5rem;
    }
    
    .hero-tagline {
        margin-bottom: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-section {
        padding: 5rem 0;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-section {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-section {
        padding: 5rem 0;
    }
    
    .process-timeline {
        gap: 4rem;
    }
    
    .process-line {
        left: 2rem;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 4.5rem;
    }
    
    .process-dot {
        left: 2rem;
        top: 2rem;
    }
    
    .process-step:nth-child(even) .process-card {
        grid-column: auto;
        grid-row: auto;
    }

    .process-step:nth-child(even) .process-visual {
        grid-column: auto;
        grid-row: auto;
    }
    
    .projects-section {
        padding: 5rem 0;
    }
    
    .projects-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .gallery-pills-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .gallery-pills {
        flex-wrap: nowrap;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15px, #000 calc(100% - 15px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 15px, #000 calc(100% - 15px), transparent 100%);
        padding: 0 15px;
        margin: 0 -15px;
    }
    
    .project-card {
        flex: 0 0 290px;
    }
    
    .before-after-section {
        padding: 5rem 0;
    }
    
    .ba-cards-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ba-card:last-child {
        grid-column: auto;
    }
    
    .videos-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .video-card {
        flex: 0 0 280px;
    }
    
    .merged-contact-cta {
        padding: 5rem 0;
    }
    
    .merged-contact-cta .cta-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .merged-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .merged-contact-card {
        padding: 2rem;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 3rem;
    }
    
    .site-footer nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .sticky-mobile-cta {
        display: flex;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}


/* ==========================================================================
   THEMES
   ========================================================================== */

/* Obsidian: Monochromatic Black & White */
[data-theme="obsidian"] {
    --primary:       #ffffff;
    --primary-rgb:   255, 255, 255;
    --primary-hover: #e5e7eb;
    --accent:        #e5e7eb;
    --accent-rgb:    229, 229, 229;
    --text-on-primary: #050505;

    --bg-primary:    #050505;
    --bg-secondary:  #0d0d0d;
    --bg-tertiary:   #151515;
    --bg-card:       rgba(23, 23, 23, 0.6);

    --border-color:  rgba(255, 255, 255, 0.08);
    --border-hover:  rgba(255, 255, 255, 0.28);
    --card-shadow:   0 16px 40px -12px rgba(0, 0, 0, 0.95);
}

[data-theme="obsidian"] .site-footer {
    background: #050505;
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="obsidian"] .process-line-fill {
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

[data-theme="obsidian"] .process-num {
    color: rgba(255, 255, 255, 0.10);
}

[data-theme="obsidian"] .process-step:hover .process-num,
[data-theme="obsidian"] .process-step.active-scroll .process-num {
    color: rgba(255, 255, 255, 0.28);
}

[data-theme="obsidian"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.04), transparent 60%);
}

/* ── Theme Switcher Widget ── */
.theme-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Lift above sticky mobile CTA when it appears */
.theme-switcher.cta-visible {
    bottom: calc(1.5rem + 68px + 1rem);
}

.theme-switcher-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    transition: border-color 0.25s, color 0.25s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.theme-switcher-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-switcher.open .theme-switcher-toggle {
    transform: rotate(45deg);
    border-color: var(--accent);
    color: var(--accent);
}

.theme-switcher-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    align-items: flex-end;
    transition: opacity 0.18s ease;
}

.theme-switcher.open .theme-switcher-panel {
    opacity: 1;
    pointer-events: all;
}

/* Stagger each button sliding in from the right */
.theme-btn {
    opacity: 0;
    transform: translateX(18px);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.16,1,0.3,1),
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
}

.theme-switcher.open .theme-btn:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.04s; }
.theme-switcher.open .theme-btn:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.08s; }
.theme-switcher.open .theme-btn:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.12s; }
.theme-switcher.open .theme-btn:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.16s; }
.theme-switcher.open .theme-btn:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.20s; }
.theme-switcher.open .theme-btn:nth-child(6) { opacity: 1; transform: translateX(0); transition-delay: 0.24s; }
.theme-switcher.open .theme-btn:nth-child(7) { opacity: 1; transform: translateX(0); transition-delay: 0.28s; }

.theme-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem 0.45rem 0.6rem;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.theme-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-light);
}

.theme-btn.active {
    border-color: var(--accent);
    color: var(--text-light);
    background: rgba(var(--primary-rgb), 0.12);
}

.theme-swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.18);
    flex-shrink: 0;
}

.theme-swatch.obsidian { background: radial-gradient(circle at 35% 35%, #ffffff, #080808); }
.theme-swatch.white  { background: radial-gradient(circle at 35% 35%, #0f172a 0%, #ffffff 100%); border-color: rgba(15, 23, 42, 0.2); }
.theme-swatch.steel    { background: radial-gradient(circle at 35% 35%, #cbd5e1, #0f172a); }
.theme-swatch.deep-blue {
    background: conic-gradient(#d4b78c 0deg 120deg, #1b3b61 120deg 240deg, #0a1424 240deg 360deg);
    border-color: rgba(212, 183, 140, 0.72);
    box-shadow: 0 0 0 1px rgba(10, 20, 36, 0.8);
}
.theme-swatch.foundry  { background: radial-gradient(circle at 35% 35%, #f2b24b, #b95f16 42%, #090806 76%); }
.theme-swatch.contrast { background: conic-gradient(#ffffff 0deg 180deg, #080808 180deg 360deg); }
.theme-swatch.safety   { background: conic-gradient(#eea32b 0deg 180deg, #080706 180deg 360deg); }
.theme-swatch.textured      { background: repeating-linear-gradient(45deg, #1a1a1a 0px, #1a1a1a 3px, #2e2e2e 3px, #2e2e2e 6px); border-color: rgba(255,255,255,0.15); }

/* ── Glacier (Premium Light Mode Redesign Block) ── */
[data-theme="white"] {
    --primary:       #0f172a; /* Slate-900 / Dark Charcoal */
    --primary-rgb:   15, 23, 42;
    --primary-hover: #1e293b; /* Slate-800 */
    --accent:        #334155; /* Slate-700 */
    --accent-rgb:    51, 65, 85;
    --text-on-primary: #ffffff;

    --bg-primary:    #ffffff; /* Clean pure white */
    --bg-secondary:  #f8fafc; /* Slate-50 */
    --bg-tertiary:   #f1f5f9; /* Slate-100 */
    --bg-card:       rgba(255, 255, 255, 0.75); /* Frosted glass white */

    --text-main:     #334155; /* Slate-700 body copy */
    --text-muted:    #64748b; /* Slate-500 secondary text */
    --text-light:    #0f172a; /* Slate-900 heading colors */

    --border-color:  rgba(15, 23, 42, 0.08);  /* Clean subtle dark border */
    --border-hover:  rgba(15, 23, 42, 0.22);  /* Slightly stronger dark border */
    --card-shadow:   0 16px 36px -12px rgba(15, 23, 42, 0.06); /* Soft premium shadow */
}

/* Light switcher overrides so it always presents as dark/glassmorphic interface */
[data-theme="white"] .theme-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
[data-theme="white"] .theme-btn:hover {
    border-color: var(--primary);
    color: #0f172a;
}
[data-theme="white"] .theme-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}
[data-theme="white"] .theme-switcher-toggle {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
[data-theme="white"] .theme-switcher-toggle:hover,
[data-theme="white"] .theme-switcher.open .theme-switcher-toggle {
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="deep-blue"] .theme-switcher-toggle {
    background: rgba(10, 20, 36, 0.94);
    border-color: rgba(212, 183, 140, 0.52);
    color: #d4b78c;
    box-shadow:
        0 6px 20px rgba(3, 8, 16, 0.55),
        0 0 0 1px rgba(212, 183, 140, 0.08) inset;
}

[data-theme="deep-blue"] .theme-switcher-toggle:hover,
[data-theme="deep-blue"] .theme-switcher.open .theme-switcher-toggle {
    background: #d4b78c;
    border-color: #e2c9a3;
    color: #0a1424;
}

/* Force dark theme style for Hero section elements (stands on dark image backgrounds) */
[data-theme="white"] .hero-headline {
    color: #ffffff;
}
[data-theme="white"] .hero-tagline {
    color: rgba(255, 255, 255, 0.7);
}
[data-theme="white"] .hero-btns .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}
[data-theme="white"] .hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}
[data-theme="white"] .hero-scroll-hint {
    color: rgba(255, 255, 255, 0.6);
}
[data-theme="white"] .hero-scroll-hint .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Header transition styling - transparent over hero, white when scrolled */
[data-theme="white"] .site-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.75);
}
[data-theme="white"] .site-header:not(.scrolled) .nav-link:hover,
[data-theme="white"] .site-header:not(.scrolled) .nav-link.is-active {
    color: #ffffff;
}
[data-theme="white"] .site-header:not(.scrolled) .header-call-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}
[data-theme="white"] .site-header:not(.scrolled) .header-call-btn:hover {
    color: #0f172a;
    background: #ffffff;
    border-color: #ffffff;
}

[data-theme="white"] .site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}
[data-theme="white"] .site-header.scrolled .nav-link {
    color: #475569;
}
[data-theme="white"] .site-header.scrolled .nav-link:hover {
    color: #0f172a;
}
[data-theme="white"] .site-header.scrolled .header-call-btn {
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
}
[data-theme="white"] .site-header.scrolled .header-call-btn:hover {
    background: rgba(15, 23, 42, 0.05);
}
[data-theme="white"] .site-header.scrolled .logo-light {
    display: none !important;
}
[data-theme="white"] .site-header.scrolled .logo-dark {
    display: block !important;
}

/* Unscrolled mobile toggle lines */
[data-theme="white"] .site-header:not(.scrolled) .nav-toggle span {
    background-color: #ffffff;
}
/* Scrolled mobile toggle lines */
[data-theme="white"] .site-header.scrolled .nav-toggle span {
    background-color: #0f172a;
}

/* Mobile Nav Drawer panel styling */
[data-theme="white"] .nav-drawer {
    background: #ffffff;
    border-left-color: rgba(15, 23, 42, 0.1);
}
[data-theme="white"] .drawer-brand .logo-light {
    display: none !important;
}
[data-theme="white"] .drawer-brand .logo-dark {
    display: block !important;
}

/* Card details & shadow fixes */
[data-theme="white"] .stat-card {
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}
[data-theme="white"] .project-card {
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}
[data-theme="white"] .ba-card {
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}
[data-theme="white"] .about-showcase {
    border-color: rgba(15, 23, 42, 0.08);
}

/* Spotlight glow card opacity adjustment */
[data-theme="white"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(15, 23, 42, 0.02), transparent 60%);
}

/* Image overlay badges — per-theme overrides
   Base badge uses dark navy bg + var(--text-light). In themes with alternating
   light/orange sections --text-light flips dark, so we force light text here. */

/* Glacier: light frosted glass, dark text */
[data-theme="white"] .about-slider-badge,
[data-theme="white"] .visual-tag,
[data-theme="white"] .project-photo-count,
[data-theme="white"] .ba-label {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

/* Safety: badges always overlay dark images — force cream text regardless of
   section band (orange bands set --text-light to #090806 which breaks contrast) */
[data-theme="safety"] .about-slider-badge,
[data-theme="safety"] .visual-tag,
[data-theme="safety"] .project-photo-count,
[data-theme="safety"] .ba-label {
    color: #fffaf0;
    border-color: rgba(255, 250, 240, 0.28);
}

[data-theme="steel"] .about-slider-badge,
[data-theme="steel"] .visual-tag,
[data-theme="steel"] .project-photo-count,
[data-theme="steel"] .ba-label {
    border-color: rgba(203, 213, 225, 0.22);
}

[data-theme="deep-blue"] .about-slider-badge,
[data-theme="deep-blue"] .visual-tag,
[data-theme="deep-blue"] .project-photo-count,
[data-theme="deep-blue"] .ba-label {
    border-color: rgba(187, 155, 105, 0.25);
}

/* Foundry: amber border too faint at 0.16 — increase a touch */
[data-theme="foundry"] .about-slider-badge,
[data-theme="foundry"] .visual-tag,
[data-theme="foundry"] .project-photo-count,
[data-theme="foundry"] .ba-label {
    border-color: rgba(239, 170, 60, 0.38);
}

/* Timeline grid & scroll fills */
[data-theme="white"] .process-timeline::before {
    background-color: rgba(15, 23, 42, 0.06);
}
[data-theme="white"] .process-num {
    color: rgba(15, 23, 42, 0.05);
}
[data-theme="white"] .process-step:hover .process-num,
[data-theme="white"] .process-step.active-scroll .process-num {
    color: rgba(15, 23, 42, 0.16);
}

/* Before & After comparison visual cleanups */
[data-theme="white"] .ba-divider {
    background: #0f172a;
    box-shadow: none;
}
[data-theme="white"] .ba-handle {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
/* Arrow triangles use var(--bg-primary) which is white in Glacier — override to blue */
[data-theme="white"] .ba-handle::before {
    border-color: transparent #0f172a transparent transparent;
}
[data-theme="white"] .ba-handle::after {
    border-color: transparent transparent transparent #0f172a;
}

/* Keep gallery project media lightbox dark for viewing focus */
[data-theme="white"] .project-lightbox {
    background: rgba(0, 0, 0, 0.96);
}

/* Primary buttons and call elements white text safety */
[data-theme="white"] .btn-primary,
[data-theme="white"] .sticky-mobile-cta {
    color: #ffffff;
}

/* Contact estimate card light mode fixes */
[data-theme="white"] .merged-contact-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--card-shadow);
}

/* Ground page layout with dark weighted footer */
[data-theme="white"] .site-footer {
    background: #090c12;
    border-top-color: rgba(255, 255, 255, 0.06);
}
[data-theme="white"] .site-footer .footer-col h4 {
    color: #ffffff;
}
[data-theme="white"] .site-footer .footer-brand-text,
[data-theme="white"] .site-footer nav a,
[data-theme="white"] .site-footer .footer-phone,
[data-theme="white"] .site-footer .footer-bottom-row {
    color: rgba(255, 255, 255, 0.7);
}
[data-theme="white"] .site-footer nav a:hover,
[data-theme="white"] .site-footer .footer-phone:hover {
    color: #ffffff;
}
[data-theme="white"] .site-footer .footer-logo {
    filter: none;
}

/* Split headings for glacier - dark text on light-bg sections */
[data-theme="white"] .title-split-word {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
}

/* Keep hero and capabilities headings white (dark backgrounds) */
[data-theme="white"] .hero-content .title-split-word,
[data-theme="white"] .hero-headline .hero-char,
[data-theme="white"] .v3-capabilities .title-split-word {
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

/* Section label dot accent - dark slate */
[data-theme="white"] .section-label {
    color: #334155;
}
[data-theme="white"] .section-label::before {
    background: #0f172a;
}
/* Hero sits on dark photo — keep its label white */
[data-theme="white"] .hero-content .section-label {
    color: rgba(255, 255, 255, 0.72);
}
[data-theme="white"] .hero-content .section-label::before {
    background: rgba(255, 255, 255, 0.72);
}

/* Stat icon wrap - slate gray tint */
[data-theme="white"] .stat-icon-wrap {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

/* Stat card - slate top accent line */
[data-theme="white"] .stat-card {
    border-top: 2px solid rgba(15, 23, 42, 0.08);
}
[data-theme="white"] .stat-card:hover {
    border-top-color: #0f172a;
}

/* Service card hover - slate left accent */
[data-theme="white"] .svc-card:hover,
[data-theme="white"] .svc-card.active-scroll {
    border-left: 2px solid #0f172a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Process timeline fill - solid slate */
[data-theme="white"] .process-line-fill {
    background: linear-gradient(to bottom, #475569, #0f172a);
    box-shadow: none;
}
[data-theme="white"] .process-step:hover .process-num,
[data-theme="white"] .process-step.active-scroll .process-num {
    color: rgba(15, 23, 42, 0.22);
}

/* Contact card - slate border accent */
[data-theme="white"] .merged-contact-card {
    border-color: rgba(15, 23, 42, 0.10);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* Glacier theme inputs, dropdowns & calculator overrides */
[data-theme="white"] .form-group input[type="text"],
[data-theme="white"] .form-group input[type="email"],
[data-theme="white"] .form-group input[type="tel"],
[data-theme="white"] .form-group input[type="number"],
[data-theme="white"] .form-group textarea,
[data-theme="white"] .calc-card select {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text-light);
}

[data-theme="white"] .form-group input:focus,
[data-theme="white"] .form-group textarea:focus,
[data-theme="white"] .calc-card select:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(15, 23, 42, 0.08);
}

[data-theme="white"] .calc-results {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}



/* ── Steel (Clean Slate-Steel Theme) ── */
[data-theme="steel"] {
    --primary:       #cbd5e1; /* Clean Slate-300 */
    --primary-rgb:   203, 213, 225;
    --primary-hover: #94a3b8; /* Slate-400 */
    --accent:        #e2e8f0; /* Slate-200 */
    --accent-rgb:    226, 232, 240;
    --text-on-primary: #0b0f17; /* Dark Slate */

    --bg-primary:    #0b0f17; /* Very deep charcoal/slate bg */
    --bg-secondary:  #111622; /* Sleek slate panel */
    --bg-tertiary:   #1e293b; /* Slate-800 card base */
    --bg-card:       rgba(30, 41, 59, 0.65); /* Sleek translucent card */

    --border-color:  rgba(203, 213, 225, 0.1);
    --border-hover:  rgba(203, 213, 225, 0.28);
    --card-shadow:   0 16px 40px -12px rgba(0, 0, 0, 0.8);
}

[data-theme="steel"] .site-header.scrolled {
    background: rgba(17, 22, 34, 0.88);
    border-bottom-color: rgba(203, 213, 225, 0.1);
}

[data-theme="steel"] .site-footer {
    background: #06090f;
    border-top-color: rgba(203, 213, 225, 0.1);
}

[data-theme="steel"] .project-lightbox {
    background: rgba(6, 9, 15, 0.97);
}

[data-theme="steel"] .merged-contact-card {
    border-color: rgba(203, 213, 225, 0.2);
}

[data-theme="steel"] .process-line-fill {
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    box-shadow: 0 0 10px rgba(203, 213, 225, 0.25);
}

[data-theme="steel"] .process-num {
    color: rgba(203, 213, 225, 0.1);
}

[data-theme="steel"] .process-step:hover .process-num,
[data-theme="steel"] .process-step.active-scroll .process-num {
    color: rgba(203, 213, 225, 0.25);
}

[data-theme="steel"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(203, 213, 225, 0.03), transparent 60%);
}

/* ── Deep Blue (Premium Navy & Gold Theme) ── */
[data-theme="deep-blue"] {
    --primary:       #bb9b69; /* Gold/Ochre */
    --primary-rgb:   187, 155, 105;
    --primary-hover: #a38250; /* Darker gold */
    --accent:        #d4b78c; /* Light Cream Gold */
    --accent-rgb:    212, 183, 140;
    --text-on-primary: #ffffff;

    --bg-primary:    #0a1424; /* Deep Navy */
    --bg-secondary:  #101f35; /* Navy panel */
    --bg-tertiary:   #172c4a; /* Navy card base */
    --bg-card:       rgba(23, 44, 74, 0.65); /* Translucent navy card */

    --border-color:  rgba(187, 155, 105, 0.12); /* Gold border */
    --border-hover:  rgba(187, 155, 105, 0.32);
}

[data-theme="deep-blue"] body {
    background-color: transparent !important;
}

[data-theme="deep-blue"] body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: #0a1424;
    background-image: linear-gradient(rgba(10, 20, 36, 0.88), rgba(10, 20, 36, 0.88)), url('../assets/images/textures/sls-swirl-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
}

[data-theme="deep-blue"] .site-header.scrolled {
    background: rgba(16, 31, 53, 0.9);
    border-bottom-color: rgba(187, 155, 105, 0.15);
}

[data-theme="deep-blue"] .site-footer {
    background: #060c16;
    border-top-color: rgba(187, 155, 105, 0.15);
}

[data-theme="deep-blue"] .project-lightbox {
    background: rgba(6, 12, 22, 0.98);
}

[data-theme="deep-blue"] .merged-contact-card {
    border-color: rgba(187, 155, 105, 0.25);
}

[data-theme="deep-blue"] .process-line-fill {
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    box-shadow: 0 0 10px rgba(187, 155, 105, 0.3);
}

[data-theme="deep-blue"] .process-num {
    color: rgba(187, 155, 105, 0.08);
}

[data-theme="deep-blue"] .process-step:hover .process-num,
[data-theme="deep-blue"] .process-step.active-scroll .process-num {
    color: rgba(187, 155, 105, 0.22);
}

[data-theme="deep-blue"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(187, 155, 105, 0.03), transparent 60%);
}

/* ── Foundry (Black + Construction Orange) ── */
[data-theme="foundry"] {
    --primary:       #e59a2f;
    --primary-rgb:   229, 154, 47;
    --primary-hover: #f2b24b;
    --accent:        #efaa3c;
    --accent-rgb:    239, 170, 60;
    --text-on-primary: #100d08;

    --bg-primary:    #080807;
    --bg-secondary:  #11100e;
    --bg-tertiary:   #1a1712;
    --bg-card:       rgba(25, 22, 17, 0.76);

    --text-main:     #e9e2d7;
    --text-muted:    #b9ad9d;
    --text-light:    #fffaf0;

    --border-color:  rgba(239, 170, 60, 0.16);
    --border-hover:  rgba(239, 170, 60, 0.44);
    --card-shadow:   0 18px 44px -14px rgba(0, 0, 0, 0.92);
}

[data-theme="foundry"] .site-header.scrolled {
    background: rgba(8, 8, 7, 0.91);
    border-bottom-color: rgba(239, 170, 60, 0.14);
}

[data-theme="foundry"] .site-footer {
    background: #050504;
    border-top-color: rgba(239, 170, 60, 0.14);
}

[data-theme="foundry"] .process-line-fill {
    background: linear-gradient(to bottom, #f2b24b, #c86c20);
    box-shadow: 0 0 12px rgba(229, 154, 47, 0.3);
}

[data-theme="foundry"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(239, 170, 60, 0.06), transparent 60%);
}

/* ── Contrast (Alternating Black / White Sections) ── */
[data-theme="contrast"] {
    --primary:       #ffffff;
    --primary-rgb:   255, 255, 255;
    --primary-hover: #e5e5e5;
    --accent:        #ffffff;
    --accent-rgb:    255, 255, 255;
    --text-on-primary: #050505;

    --bg-primary:    #050505;
    --bg-secondary:  #0d0d0d;
    --bg-tertiary:   #171717;
    --bg-card:       rgba(24, 24, 24, 0.76);

    --text-main:     #e8e8e8;
    --text-muted:    #b8b8b8;
    --text-light:    #ffffff;

    --border-color:  rgba(255, 255, 255, 0.12);
    --border-hover:  rgba(255, 255, 255, 0.38);
    --card-shadow:   0 18px 44px -14px rgba(0, 0, 0, 0.9);
}

[data-theme="contrast"] .site-header.scrolled {
    background: rgba(5, 5, 5, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

[data-theme="contrast"] .site-footer {
    background: #050505;
}

/* ── Safety (Alternating Black / Construction Orange) ── */
[data-theme="safety"] {
    --primary:       #eda32b;
    --primary-rgb:   237, 163, 43;
    --primary-hover: #f5b84d;
    --accent:        #eda32b;
    --accent-rgb:    237, 163, 43;
    --text-on-primary: #090806;

    --bg-primary:    #070706;
    --bg-secondary:  #100e0b;
    --bg-tertiary:   #19150f;
    --bg-card:       rgba(24, 20, 14, 0.82);

    --text-main:     #eee7dc;
    --text-muted:    #bdb1a1;
    --text-light:    #fffaf0;

    --border-color:  rgba(237, 163, 43, 0.18);
    --border-hover:  rgba(237, 163, 43, 0.52);
    --card-shadow:   0 18px 44px -14px rgba(0, 0, 0, 0.92);
}

[data-theme="safety"] .site-header.scrolled {
    background: rgba(7, 7, 6, 0.93);
    border-bottom-color: rgba(237, 163, 43, 0.18);
}

[data-theme="safety"] .site-footer {
    background: #050504;
    border-top-color: rgba(237, 163, 43, 0.18);
}


/* ==========================================================================
   19. REVIEWS / TESTIMONIALS SECTION
   ========================================================================== */
.reviews-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}


.reviews-slider-container {
    position: relative;
    margin-bottom: 5rem;
    width: 100%;
    overflow: hidden;
}

#testimonials-splide .splide__track {
    overflow: visible;
    clip-path: inset(-15px -15px -15px -15px);
}

#testimonials-splide .splide__slide {
    height: auto;
    display: flex;
}


.review-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.review-stars {
    color: #fbbf24; /* Warm Gold */
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-author strong {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reviews-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.reviews-cta p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Mobile responsive styling for reviews */
@media (max-width: 768px) {
    .reviews-section {
        padding: 5rem 0;
    }
    .reviews-slider-container {
        margin-bottom: 3.5rem;
    }
    .review-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   20. SOUTH LAKE STONE - PREMIUM QUOTE FORM STYLING
   ========================================================================== */
.contact-form-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.contact-form-card:hover {
    border-color: var(--border-hover);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.form-group label.section-sub-label {
    margin-bottom: 0.25rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 1.15rem;
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-badge);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(11, 15, 23, 0.85);
    box-shadow: 0 0 15px rgba(141, 193, 0, 0.15);
}

/* Checkbox Grid and Custom Checkbox */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    height: 20px;
    width: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition-smooth);
    position: relative;
    flex-shrink: 0;
}

[data-theme="white"] .checkbox-custom {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.25);
}

.checkbox-container:hover input ~ .checkbox-custom {
    border-color: var(--primary);
    background: rgba(141, 193, 0, 0.05);
}

[data-theme="white"] .checkbox-container:hover input ~ .checkbox-custom {
    background: rgba(15, 23, 42, 0.04);
}

.checkbox-container input:checked ~ .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-custom::after {
    display: block;
}

/* Submit Button & Animations */
.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.form-feedback-message {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-badge);
    text-align: center;
    display: none;
    transition: var(--transition-smooth);
}

.form-feedback-message.success {
    display: block;
    background: rgba(141, 193, 0, 0.12);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.form-feedback-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* Contact Details List (Left Side) */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    flex-shrink: 0;
}

.contact-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-detail-item strong {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
}

.contact-detail-item span,
.contact-detail-item a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-detail-item a:hover {
    color: var(--primary);
}

/* ── 21. Material Estimator & FAQ Section ── */
.calculator-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.calc-copy h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.calc-copy p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.density-reference {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-card);
}

.density-reference h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.density-reference ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
}

.density-reference li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
}

.density-reference li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: -1px;
}

.calc-card-wrap {
    width: 100%;
}

.calc-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.calc-card:hover {
    border-color: var(--border-hover);
}

.calc-card select {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 1.15rem;
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-badge);
    transition: var(--transition-smooth);
    width: 100%;
}

.calc-card select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(11, 15, 23, 0.85);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

.calc-results {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-badge);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-result-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc-result-item strong {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-light);
}

.calc-result-item.highlighted span {
    color: var(--accent);
    font-weight: 600;
}

.calc-result-item.highlighted strong {
    font-size: 1.5rem;
    color: var(--accent);
}

.calc-apply-btn {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
}

.calc-apply-btn.applied {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35) !important;
    transform: translateY(0) !important;
}

/* Collapsible FAQ Section */
.faq-section {
    padding: 8rem 0 10rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover,
.faq-item[open] {
    border-color: var(--border-hover);
}

.faq-question {
    padding: 1.25rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.faq-answer-inner {
    padding: 0.25rem 2rem 1.4rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    .faq-answer-inner {
        padding: 0.1rem 1.25rem 1.1rem;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   TEXTURED THEME — Obsidian palette + exposed material textures
   ========================================================================== */

[data-theme="textured"] {
    --primary:         #ffffff;
    --primary-rgb:     255, 255, 255;
    --primary-hover:   #e5e7eb;
    --accent:          #e5e7eb;
    --accent-rgb:      229, 229, 229;
    --text-on-primary: #050505;

    --bg-primary:      #050505;
    --bg-secondary:    #0d0d0d;
    --bg-tertiary:     #151515;
    --bg-card:         rgba(23, 23, 23, 0.6);

    --border-color:    rgba(255, 255, 255, 0.08);
    --border-hover:    rgba(255, 255, 255, 0.28);
    --card-shadow:     0 16px 40px -12px rgba(0, 0, 0, 0.95);

    --text-main:       #f0ece4;
    --text-muted:      rgba(246, 241, 232, 0.62);
    --text-light:      #ffffff;
}

[data-theme="textured"] .site-footer {
    background: #050505;
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="textured"] .site-header.scrolled {
    background: rgba(5, 5, 5, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="textured"] .process-line-fill {
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

[data-theme="textured"] .process-num {
    color: rgba(255, 255, 255, 0.10);
}

[data-theme="textured"] .process-step:hover .process-num,
[data-theme="textured"] .process-step.active-scroll .process-num {
    color: rgba(255, 255, 255, 0.28);
}

[data-theme="textured"] .svc-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.04), transparent 60%);
}

[data-theme="textured"] .project-lightbox {
    background: rgba(0, 0, 0, 0.97);
}


