/* ============================================
   EMWRAPS — Gemini / Lusion Inspired
   Futuristic HUD + Cinematic Design System
   ============================================ */

:root {
    /* Core palette — dark sci-fi */
    --bg-void: #000000;
    --bg-primary: #050508;
    --bg-secondary: #0a0a10;
    --bg-tertiary: #0e0e16;
    --bg-card: #0c0c14;
    --bg-card-hover: #12121c;

    --text-primary: #e8e8f0;
    --text-secondary: #7a7a90;
    --text-muted: #44445a;
    --text-dim: #2a2a3a;

    /* Accent — warm amber/gold for the HUD feel */
    --accent: #e8a845;
    --accent-dim: rgba(232, 168, 69, 0.15);
    --accent-glow: rgba(232, 168, 69, 0.08);

    /* Secondary accent — cool cyan */
    --cyan: #45c8e8;
    --cyan-dim: rgba(69, 200, 232, 0.15);

    /* Borders */
    --border: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(232, 168, 69, 0.2);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Space Mono', monospace;

    /* Spacing */
    --section-padding: 140px;
    --container-width: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.6s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: none;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: none;
}

input,
select,
textarea {
    cursor: none;
}

.mono {
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -3px;
    transition: transform 0.1s ease;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: transform 0.15s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), top 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: var(--accent);
}

/* ============================================
   Three.js Canvas
   ============================================ */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   Noise / Scanline / Vignette Overlays
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.scanline {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center,
            transparent 50%,
            rgba(0, 0, 0, 0.5) 100%);
}

/* ============================================
   HUD Overlay
   ============================================ */
.hud-overlay {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    padding: 24px;
}

.hud-corner {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hud-tl {
    top: 24px;
    left: 24px;
}

.hud-tr {
    top: 24px;
    right: 24px;
}

.hud-bl {
    bottom: 24px;
    left: 24px;
}

.hud-br {
    bottom: 24px;
    right: 24px;
}

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

.hud-subtext {
    color: var(--text-muted);
    font-size: 0.6rem;
}

.hud-line {
    width: 40px;
    height: 1px;
    background: var(--border-accent);
}

.hud-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    transition: opacity 0.5s;
}

.cross-h,
.cross-v {
    position: absolute;
    background: var(--accent);
}

.cross-h {
    width: 30px;
    height: 1px;
    top: 0;
    left: -15px;
}

.cross-v {
    width: 1px;
    height: 30px;
    top: -15px;
    left: 0;
}

/* ============================================
   Loader
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-void);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease 0.2s, visibility 1s ease 0.2s;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    width: 400px;
}

.loader-hud-top,
.loader-hud-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.loader-hud-top {
    margin-bottom: 40px;
}

.loader-hud-bottom {
    margin-top: 24px;
}

.hud-divider {
    color: var(--text-dim);
}

.hud-coord {
    color: var(--text-muted);
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.loader-logo-wrap {
    margin-bottom: 40px;
    overflow: hidden;
}

.loader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: logoReveal 1.2s var(--ease-out) 0.4s forwards;
    filter: drop-shadow(0 0 0px transparent);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: drop-shadow(0 0 0px transparent);
    }

    60% {
        opacity: 1;
        transform: scale(1.02);
        filter: drop-shadow(0 0 20px rgba(232, 50, 50, 0.3));
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(232, 50, 50, 0.15));
    }
}

/* Subtle glow pulse after logo appears */
.loader-logo-img {
    animation: logoReveal 1.2s var(--ease-out) 0.4s forwards,
        logoPulse 3s ease-in-out 1.6s infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(232, 50, 50, 0.1));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(232, 50, 50, 0.25));
    }
}

.loader-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loader-bar-track {
    flex: 1;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent);
}

.loader-percent {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    min-width: 36px;
    text-align: right;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.6s var(--ease-smooth);
}

#navbar.scrolled {
    padding: 16px 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 101;
}

.logo-bracket {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 400;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.nav-logo:hover .logo-bracket {
    opacity: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all 0.3s var(--ease-smooth);
    letter-spacing: 0.03em;
}

.nav-index {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover .nav-index,
.nav-link.active .nav-index {
    color: var(--accent);
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-accent);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    transition: all 0.4s var(--ease-smooth);
}

.cta-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.nav-cta:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 101;
}

.nav-hamburger span {
    width: 22px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.4s var(--ease-out);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-links {
    text-align: center;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 200;
    color: var(--text-secondary);
    letter-spacing: 6px;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ============================================
   Sections Common
   ============================================ */
.section {
    position: relative;
    z-index: 3;
    padding: var(--section-padding) 0;
}

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 80px;
}

.section-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-index {
    font-size: 0.65rem;
    color: var(--accent);
}

.section-line {
    width: 40px;
    height: 1px;
    background: var(--border-accent);
}

.section-tag {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 200;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: transparent;
    color: var(--bg-void);
    border: 1px solid var(--accent);
}

.btn-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: var(--accent);
    z-index: -1;
    transition: transform 0.5s var(--ease-out);
}

.btn-primary:hover .btn-bg {
    transform: translateY(-100%);
}

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

.btn-arrow {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--border-accent);
}

.tag-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 200;
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-word {
    display: inline-block;
    font-size: clamp(3rem, 7vw, 6rem);
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-out);
}

.title-word.visible {
    opacity: 1;
    transform: translateY(0);
}

.title-word.accent {
    color: var(--accent);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

/* Telemetry Stats */
.hero-telemetry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.telemetry-item {
    text-align: center;
}

.tele-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.tele-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 200;
    color: var(--text-primary);
    letter-spacing: -2px;
}

.tele-suffix {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    vertical-align: super;
}

.telemetry-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.3em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 1px;
    height: 20px;
    background: var(--accent);
    position: absolute;
    top: 0;
    animation: scroll-travel 2s ease-in-out infinite;
}

@keyframes scroll-travel {
    0% {
        top: -20px;
    }

    100% {
        top: 60px;
    }
}

/* ============================================
   Car Showcase — Scroll-Driven Cinematic
   ============================================ */
.showcase-section {
    position: relative;
    z-index: 3;
    height: 220vh;
    /* Reduced for snappier hero → car transition */
    background: var(--bg-void);
}

.showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main car image */
.showcase-car-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.showcase-car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    opacity: 0.15;
    filter: brightness(0.5) contrast(1.1);
    transition: none;
    will-change: transform, opacity, filter;
}

/* Detail close-up inset */
.showcase-detail-wrapper {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 280px;
    height: 200px;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    transform: translateX(40px);
    transition: none;
    will-change: opacity, transform;
    border: 1px solid rgba(232, 168, 69, 0.2);
}

.showcase-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(232, 168, 69, 0.15);
    pointer-events: none;
}

.detail-border::before {
    content: 'DETAIL';
    position: absolute;
    top: 8px;
    left: 10px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    opacity: 0.7;
}

/* HUD Overlay for showcase */
.showcase-hud {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    padding: 50px;
}

/* Dark gradient scrim for HUD readability */
.showcase-hud::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(0deg, rgba(5, 5, 8, 0.85) 0%, rgba(5, 5, 8, 0.5) 40%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.shud-top-left {
    position: absolute;
    top: 50px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateX(-20px);
    transition: none;
    will-change: opacity, transform;
}

.shud-label {
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.2em;
}

.shud-line {
    width: 60px;
    height: 1px;
    background: var(--border-accent);
}

.shud-center {
    position: absolute;
    bottom: 140px;
    left: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: none;
    will-change: opacity, transform;
}

.shud-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 200;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
}

.shud-subtitle {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-top: 12px;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.8);
}

.shud-data-strip {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: none;
    will-change: opacity, transform;
}

.shud-data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shud-data-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.shud-data-value {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 300;
}

.shud-data-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
    flex-shrink: 0;
}

/* Corner brackets */
.shud-bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: none;
    will-change: opacity;
}

.shud-bracket::before,
.shud-bracket::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.shud-bracket-tl {
    top: 40px;
    left: 40px;
}

.shud-bracket-tl::before {
    width: 20px;
    height: 1px;
    top: 0;
    left: 0;
}

.shud-bracket-tl::after {
    width: 1px;
    height: 20px;
    top: 0;
    left: 0;
}

.shud-bracket-tr {
    top: 40px;
    right: 40px;
}

.shud-bracket-tr::before {
    width: 20px;
    height: 1px;
    top: 0;
    right: 0;
}

.shud-bracket-tr::after {
    width: 1px;
    height: 20px;
    top: 0;
    right: 0;
}

.shud-bracket-bl {
    bottom: 40px;
    left: 40px;
}

.shud-bracket-bl::before {
    width: 20px;
    height: 1px;
    bottom: 0;
    left: 0;
}

.shud-bracket-bl::after {
    width: 1px;
    height: 20px;
    bottom: 0;
    left: 0;
}

.shud-bracket-br {
    bottom: 40px;
    right: 40px;
}

.shud-bracket-br::before {
    width: 20px;
    height: 1px;
    bottom: 0;
    right: 0;
}

.shud-bracket-br::after {
    width: 1px;
    height: 20px;
    bottom: 0;
    right: 0;
}

/* Progress bar */
.showcase-progress {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 20;
    border-radius: 2px;
    overflow: hidden;
}

.showcase-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: height 0.05s linear;
    box-shadow: 0 0 8px var(--accent);
}

/* Car Selector Wheel */
.car-selector {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}

.car-selector.visible {
    opacity: 1;
}

.car-selector-track {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
}

.car-selector-line {
    position: absolute;
    right: 5px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
    z-index: 0;
}

.car-selector-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 12px;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: none;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    z-index: 1;
    font-family: inherit;
    color: inherit;
    min-width: 180px;
}

.car-selector-item:hover {
    border-color: var(--border-hover);
    background: rgba(10, 10, 12, 0.8);
}

.car-selector-item.active {
    border-color: var(--accent);
    background: rgba(10, 10, 12, 0.85);
    box-shadow: 0 0 20px rgba(var(--accent-rgb, 212, 175, 55), 0.15),
        inset 0 0 20px rgba(var(--accent-rgb, 212, 175, 55), 0.05);
}

.car-selector-thumb {
    width: 56px;
    height: 38px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: border-color 0.4s;
}

.car-selector-item.active .car-selector-thumb {
    border-color: var(--accent);
}

.car-selector-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.8);
    transition: filter 0.4s;
}

.car-selector-item.active .car-selector-thumb img,
.car-selector-item:hover .car-selector-thumb img {
    filter: brightness(0.85) saturate(1);
}

.car-selector-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    min-width: 80px;
}

.car-selector-name {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.4s;
    letter-spacing: -0.3px;
}

.car-selector-item.active .car-selector-name {
    color: var(--text-primary);
}

.car-selector-type {
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    transition: color 0.4s;
}

.car-selector-item.active .car-selector-type {
    color: var(--accent);
}

.car-selector-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    transition: all 0.4s;
    margin-left: auto;
}

.car-selector-item.active .car-selector-dot {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Showcase crossfade transition */
.showcase-car-img.crossfade-out {
    animation: showcaseFadeOut 0.4s var(--ease-out) forwards;
}

.showcase-car-img.crossfade-in {
    animation: showcaseFadeIn 0.5s var(--ease-out) forwards;
}

@keyframes showcaseFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@keyframes showcaseFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* HUD text crossfade */
.shud-title.crossfade,
.shud-subtitle.crossfade {
    animation: hudTextSwap 0.5s var(--ease-out);
}

@keyframes hudTextSwap {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.shud-data-value.crossfade {
    animation: hudDataSwap 0.4s var(--ease-out);
}

@keyframes hudDataSwap {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .showcase-section {
        height: 180vh;
    }

    .showcase-hud {
        padding: 16px;
    }

    .showcase-hud::before {
        height: 70%;
        background: linear-gradient(0deg, rgba(5, 5, 8, 0.9) 0%, rgba(5, 5, 8, 0.6) 50%, transparent 100%);
    }

    .shud-top-left {
        top: 20px;
        left: 20px;
    }

    .shud-center {
        bottom: 150px;
        left: 20px;
    }

    .shud-title {
        font-size: 1.6rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .shud-subtitle {
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .shud-data-strip {
        bottom: 80px;
        left: 20px;
        right: 20px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .shud-data-divider {
        display: none;
    }

    .showcase-detail-wrapper {
        width: 120px;
        height: 90px;
        bottom: 160px;
        right: 20px;
    }

    .showcase-progress {
        right: 12px;
    }

    .shud-bracket-tl {
        top: 12px;
        left: 12px;
    }

    .shud-bracket-tr {
        top: 12px;
        right: 12px;
    }

    .shud-bracket-bl {
        bottom: 12px;
        left: 12px;
    }

    .shud-bracket-br {
        bottom: 12px;
        right: 12px;
    }

    .car-selector {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 16px;
        transform: translateX(-50%) translateY(0);
    }

    .car-selector-track {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .car-selector-line {
        display: none;
    }

    .car-selector-item {
        min-width: auto;
        padding: 5px 8px;
        gap: 6px;
        border-radius: 4px;
    }

    .car-selector-info {
        display: none;
    }

    .car-selector-dot {
        display: none;
    }

    .car-selector-thumb {
        width: 36px;
        height: 26px;
        border-radius: 3px;
    }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--bg-primary);
    padding: 40px 32px;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    background: var(--bg-card-hover);
}

.service-card.featured {
    background: rgba(232, 168, 69, 0.02);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.55rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    border: 1px solid var(--border-accent);
    padding: 3px 10px;
    border-radius: 1px;
}

.card-index {
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.card-line {
    width: 24px;
    height: 1px;
    background: var(--border-accent);
    margin-bottom: 24px;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease-out);
    opacity: 0.7;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    opacity: 1;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 1px;
    transition: all 0.3s;
}

.service-card:hover .service-tags span {
    color: var(--text-muted);
    border-color: var(--border-hover);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 1px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-smooth);
}

.filter-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: background 0.3s;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-glow);
}

.filter-btn.active .filter-dot {
    background: var(--accent);
}

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

.gallery-item {
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.gallery-item:hover {
    z-index: 2;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.hidden {
    display: none;
}

.gallery-visual {
    position: relative;
    height: 260px;
    background: linear-gradient(135deg,
            hsl(var(--hue), var(--sat), 8%),
            hsl(var(--hue), var(--sat), 3%));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item.large .gallery-visual {
    height: 300px;
}

.gallery-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
}

.pattern-1 {
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.05) 20px, rgba(255, 255, 255, 0.05) 21px);
}

.pattern-2 {
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.pattern-3 {
    background: repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(255, 255, 255, 0.04) 30px, rgba(255, 255, 255, 0.04) 31px);
}

.pattern-4 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%);
}

.pattern-5 {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.pattern-6 {
    background: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.03) 15px, rgba(255, 255, 255, 0.03) 16px);
}

.gallery-icon {
    position: relative;
    z-index: 2;
    opacity: 0.3;
    transition: all 0.5s var(--ease-out);
}

.gallery-item:hover .gallery-icon {
    opacity: 0.7;
    transform: scale(1.05);
}

.gallery-icon svg {
    width: 80px;
    height: 60px;
}

.gallery-hud {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

.gallery-item:hover .gallery-hud {
    color: rgba(255, 255, 255, 0.6);
}

.gallery-info {
    padding: 20px 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.gallery-tag {
    display: inline-block;
    font-size: 0.55rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    opacity: 0.7;
}

.gallery-info h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* -- Gallery Showcase Items (photo-based) -- */
.gallery-showcase-item {
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s var(--ease-smooth);
}

.gallery-showcase-item:hover {
    z-index: 2;
}

.gallery-showcase-item.large {
    grid-column: span 2;
}

.gallery-showcase-item.hidden {
    display: none;
}

.gallery-showcase-visual {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-card);
}

.gallery-showcase-item.large .gallery-showcase-visual {
    height: 340px;
}

.gallery-showcase-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
    filter: brightness(0.85) saturate(0.9);
}

.gallery-showcase-item:hover .gallery-showcase-visual img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
}

.gallery-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.gallery-showcase-item:hover .gallery-showcase-overlay {
    opacity: 1;
}

.gallery-showcase-tag {
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.15em;
}

.gallery-showcase-arrow {
    font-size: 1.2rem;
    color: var(--accent);
    transform: translateX(-8px);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
}

.gallery-showcase-item:hover .gallery-showcase-arrow {
    transform: translateX(0);
    opacity: 1;
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    background: var(--bg-secondary);
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 56px;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 0.75rem;
    color: var(--accent);
    z-index: 2;
    position: relative;
}

.step-pulse {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    transition: all 0.5s var(--ease-out);
}

.process-step:hover .step-pulse {
    background: var(--accent-dim);
    transform: scale(1.15);
}

.step-connector {
    position: absolute;
    left: 27px;
    top: 56px;
    width: 1px;
    height: calc(100% - 56px);
    background: linear-gradient(to bottom, var(--border-accent), transparent);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    margin-top: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.7s var(--ease-out);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 48px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    margin: 0 12px;
}

.testimonial-stars {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 6px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-smooth);
}

.slider-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: none;
    transition: all 0.3s var(--ease-smooth);
}

.slider-dot.active {
    width: 24px;
    border-radius: 3px;
    background: var(--accent);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info .section-desc {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.contact-item:hover .contact-icon {
    border-color: var(--border-accent);
}

.contact-label {
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    transition: all 0.3s var(--ease-smooth);
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-glow);
}

/* Contact Form */
.contact-form-wrapper {
    border: 1px solid var(--border);
    background: var(--bg-primary);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s var(--ease-smooth);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2344445a' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 3;
    background: var(--bg-void);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
    font-weight: 300;
}

.footer-links-group h4 {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a,
.footer-links-group ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links-group ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

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

/* ============================================
   Scroll Reveal Animations
   ============================================ */
[data-animate="reveal"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-animate="reveal"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-showcase-item.large {
        grid-column: span 1;
    }

    .gallery-showcase-visual,
    .gallery-showcase-item.large .gallery-showcase-visual {
        height: 240px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hud-overlay {
        display: none;
    }
}

@media (max-width: 768px) {

    html,
    body,
    a,
    button,
    input,
    select,
    textarea {
        cursor: auto;
    }

    .cursor {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title .title-word {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-telemetry {
        flex-direction: column;
        gap: 24px;
    }

    .telemetry-divider {
        width: 40px;
        height: 1px;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .step-connector {
        display: none;
    }

    .testimonial-card {
        padding: 32px 20px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .scanline,
    .noise-overlay {
        display: none;
    }
}