/* 
   SNEAKER ZOO // V2.0 CREATIVE OVERHAUL
   AESTHETIC: Midnight Luxury × Industrial Streetwear
   FONTS: Syne (Display) + Plus Jakarta Sans (Body) + Syncopate (Accent)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&family=Syncopate:wght@400;700&display=swap');

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
    /* Core Palette */
    --void: #030303;
    --void-light: #0a0a0a;
    --surface: #111111;
    --surface-elevated: #1a1a1a;
    --line: rgba(255, 255, 255, 0.06);
    --line-strong: rgba(255, 255, 255, 0.12);

    /* Text */
    --text-primary: #f0f0f0;
    --text-secondary: rgba(240, 240, 240, 0.65);
    --text-muted: rgba(240, 240, 240, 0.35);

    /* Accent System */
    --accent: #ff2d2d;
    --accent-glow: rgba(255, 45, 45, 0.15);
    --accent-soft: rgba(255, 45, 45, 0.08);
    --hologram: #e8e8e8;
    --gold: #c9a84c;
    --ice: #7dd3fc;

    /* Typography Scale */
    --font-head: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-cyber: 'Syncopate', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    /* Spacing */
    --pad: 2.5rem;
    --section-gap: 12rem;
    --radius: 0px;
    --radius-sm: 4px;
    --radius-lg: 12px;

    /* Motion */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.4s;
    --duration-slow: 0.8s;

    /* Z-index */
    --z-cursor: 9999;
    --z-toast: 1000;
    --z-header: 999;
    --z-overlay: 900;
    --z-modal: 800;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--void);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--void);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

body {
    background-color: var(--void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading State */
body.loading {
    overflow: hidden;
}

::selection {
    background: var(--accent);
    color: var(--void);
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITY (WCAG 2.1 AA)
   ═══════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    z-index: 10000;
    transition: top var(--duration-fast) ease;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

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

p {
    color: var(--text-secondary);
    max-width: 65ch;
}

.display-huge {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    font-family: var(--font-head);
}

.display-large {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
}

.display-medium {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

.chapter-title {
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
}

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

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

.text-gold {
    color: var(--gold);
}

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

/* ═══════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

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

#loader .loader-brand {
    font-family: var(--font-cyber);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

#loader .loader-bar {
    width: 200px;
    height: 2px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

#loader .loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: loaderSlide 1.2s var(--ease-out-expo) forwards;
}

@keyframes loaderSlide {
    to {
        left: 0;
    }
}

/* ═══════════════════════════════════════════════
   GRAIN / NOISE OVERLAY
   ═══════════════════════════════════════════════ */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: var(--z-overlay);
    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;
    mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════════
   HEADER — GLASS
   ═══════════════════════════════════════════════ */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-header);
    transition: transform var(--duration-base) var(--ease-out-expo),
        background var(--duration-base) ease;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--line);
}

.header-glass.scrolled {
    background: rgba(3, 3, 3, 0.92);
}

#bespoke-header {
    padding: var(--pad);
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.brand {
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    transition: opacity var(--duration-fast);
}

.brand:hover {
    opacity: 0.6;
}

.header-glass nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ─── Hamburger Button ─── */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: calc(var(--z-header) + 2);
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Nav ─── */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-glass nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(3, 3, 3, 0.95);
        backdrop-filter: blur(30px) saturate(1.5);
        -webkit-backdrop-filter: blur(30px) saturate(1.5);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: calc(var(--z-header) + 1);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .header-glass nav.nav-open {
        opacity: 1;
        pointer-events: all;
    }

    .header-glass nav .nav-link {
        font-size: 1.4rem;
        padding: 1rem 2rem;
        letter-spacing: 0.1em;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--line);
    }

    .header-glass nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Nav Links */
.nav-link {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color var(--duration-fast) ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--duration-base) var(--ease-out-expo),
        left var(--duration-base) var(--ease-out-expo);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

/* Primary — Magnetic */
.btn-magnet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out-expo);
    will-change: transform;
}

.btn-magnet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out-expo);
    z-index: -1;
}

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

.btn-magnet:hover::before {
    transform: scaleX(1);
}

.btn-magnet:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Accent Button */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border: none;
    background: var(--accent);
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out-expo);
    z-index: 0;
}

.btn-accent:hover::before {
    transform: scaleX(1);
}

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

.btn-accent span {
    position: relative;
    z-index: 1;
}

/* Ghost / Gallery Button */
.btn-gallery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-base) ease;
}

.btn-gallery:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

/* Small pill button */
.btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-pill:hover,
.btn-pill.active {
    background: var(--text-primary);
    color: var(--void);
    border-color: var(--text-primary);
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.card-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-base) ease;
}

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

.card-glass:hover::before {
    opacity: 1;
}

/* Product Card */
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5);
}

.product-card .card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--void-light);
    position: relative;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out-expo);
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

.product-card .card-image .card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    font-family: var(--font-cyber);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
}

.product-card .card-image .quick-add {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.product-card:hover .quick-add {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-brand {
    font-family: var(--font-cyber);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-card .card-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.product-card .card-variant {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: auto;
}

.product-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.product-card .card-price {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-card .card-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   INPUT SYSTEM
   ═══════════════════════════════════════════════ */
.input-bespoke {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    padding: 1.2rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--duration-base);
    outline: none;
}

.input-bespoke:focus {
    border-color: var(--accent);
}

.input-bespoke::placeholder {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
    font-family: var(--font-cyber);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    padding: 0 3rem;
    text-transform: uppercase;
}

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

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

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

.section {
    padding: var(--section-gap) 0;
    position: relative;
}

.full-height {
    min-height: 100vh;
}

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

.grid-base {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: var(--pad);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem var(--pad);
}

.hero-title {
    font-size: clamp(4rem, 14vw, 14rem);
    font-weight: 800;
    line-height: 0.85;
    text-transform: uppercase;
    font-family: var(--font-head);
    position: relative;
    z-index: 2;
}

.hero-title .stroke-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
}

.hero-title .accent-text {
    color: var(--accent);
    -webkit-text-stroke: 0;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 450px;
    margin: 2.5rem auto;
    line-height: 1.7;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(255, 45, 45, 0);
    }
}

/* Floating grid background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

/* Radial glow */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS (reveal on scroll)
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(7) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(8) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(9) {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(10) {
    transition-delay: 0.9s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(11) {
    transition-delay: 1.0s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible>*:nth-child(12) {
    transition-delay: 1.1s;
    opacity: 1;
    transform: translateY(0);
}



/* ═══════════════════════════════════════════════
   ANIMATED SNEAKER LOGO
   ═══════════════════════════════════════════════ */
.sz-brand {
    text-decoration: none;
}

.sz-logo-wrap {
    position: relative;
    width: 52px;
    height: 44px;
    cursor: pointer;
}

.sz-logo {
    display: block;
    overflow: visible;
    transition: filter 0.4s ease;
}

.sz-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 130px;
    pointer-events: none;
    z-index: 1;
}

/* ── Explosion entry: parts scatter in from random offsets ── */
.sz-part {
    opacity: 0;
    transform-origin: center center;
    animation: sz-explode-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sz-sole {
    animation-delay: 0s;
    --sz-from-x: 0px;
    --sz-from-y: 40px;
    --sz-from-rot: 8deg;
}

.sz-upper {
    animation-delay: 0.08s;
    --sz-from-x: -30px;
    --sz-from-y: -25px;
    --sz-from-rot: -12deg;
}

.sz-toe {
    animation-delay: 0.16s;
    --sz-from-x: -40px;
    --sz-from-y: 20px;
    --sz-from-rot: 15deg;
}

.sz-collar {
    animation-delay: 0.24s;
    --sz-from-x: 20px;
    --sz-from-y: -35px;
    --sz-from-rot: -20deg;
}

.sz-stitch {
    animation-delay: 0.5s;
    --sz-from-x: 10px;
    --sz-from-y: -15px;
    --sz-from-rot: 5deg;
}

@keyframes sz-explode-in {
    0% {
        opacity: 0;
        transform: translate(var(--sz-from-x, 0), var(--sz-from-y, 0)) rotate(var(--sz-from-rot, 0deg)) scale(0.3);
        filter: blur(4px);
    }

    60% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1.08);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: blur(0);
    }
}

/* ── Neon stripe: stroke draw-on with glow ── */
.sz-stripe {
    opacity: 0;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: sz-stripe-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes sz-stripe-in {
    0% {
        opacity: 1;
        stroke-dashoffset: 300;
    }

    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

/* ── Laces + treads fade ── */
.sz-laces {
    opacity: 0;
    animation: sz-fade-in 0.4s ease 1.0s forwards;
}

.sz-treads {
    opacity: 0;
    animation: sz-fade-in 0.3s ease 1.2s forwards;
}

@keyframes sz-fade-in {
    to {
        opacity: 0.7;
    }
}

/* ── Cyan eyelet dots pulse ── */
.sz-dot {
    opacity: 0;
    animation: sz-dot-in 0.25s ease forwards, sz-dot-pulse 2s ease-in-out infinite;
}

.sz-dot-1 {
    animation-delay: 0.7s, 0.7s;
}

.sz-dot-2 {
    animation-delay: 0.8s, 0.8s;
}

.sz-dot-3 {
    animation-delay: 0.9s, 0.9s;
}

.sz-dot-4 {
    animation-delay: 1.0s, 1.0s;
}

@keyframes sz-dot-in {
    to {
        opacity: 0.95;
    }
}

@keyframes sz-dot-pulse {

    0%,
    100% {
        r: 3;
        opacity: 0.7;
    }

    50% {
        r: 4.5;
        opacity: 1;
    }
}

/* ── Hover: explode into pieces + neon bloom ── */
.sz-brand .sz-logo {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
}

.sz-brand .sz-part {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.sz-brand:hover .sz-logo {
    filter: drop-shadow(0 0 22px rgba(255, 45, 45, 0.7)) drop-shadow(0 0 50px rgba(255, 0, 128, 0.3));
}

.sz-brand:hover .sz-sole {
    transform: translate(15px, 18px) rotate(12deg) scale(0.9);
}

.sz-brand:hover .sz-upper {
    transform: translate(-12px, -16px) rotate(-8deg) scale(0.92);
}

.sz-brand:hover .sz-toe {
    transform: translate(-18px, 12px) rotate(15deg) scale(0.88);
}

.sz-brand:hover .sz-collar {
    transform: translate(8px, -22px) rotate(-18deg) scale(0.85);
}

.sz-brand:hover .sz-stripe {
    stroke-width: 7;
    opacity: 0.6;
    transition: stroke-width 0.3s ease, opacity 0.3s ease;
}

.sz-brand:hover .sz-stitch {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.sz-brand:hover .sz-laces,
.sz-brand:hover .sz-treads {
    opacity: 0 !important;
    transition: opacity 0.2s ease;
}

/* ── Ambient neon pulse ── */
.sz-logo {
    animation: sz-ambient 3s ease-in-out infinite 1.5s;
}

@keyframes sz-ambient {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(255, 45, 45, 0.15)) drop-shadow(0 0 2px rgba(255, 0, 128, 0.05));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(255, 45, 45, 0.35)) drop-shadow(0 0 20px rgba(255, 0, 128, 0.12));
    }
}

/* ═══════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.bespoke-footer {
    border-top: 1px solid var(--line);
    padding: 6rem var(--pad) 3rem;
    background: var(--void);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-cyber);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--duration-fast);
}

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

.footer-bottom {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-cyber);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* GarnetGrid Signature Badge */
.garnetgrid-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-family: var(--font-cyber);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    border: 1px solid transparent;
}

.garnetgrid-badge:hover {
    color: var(--text-primary);
    border-color: rgba(155, 27, 48, 0.4);
    background: rgba(155, 27, 48, 0.08);
}

.garnetgrid-badge .gem-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.garnetgrid-badge span {
    font-weight: 600;
    color: #9b1b30;
    transition: color 0.3s ease;
}

.garnetgrid-badge:hover span {
    color: #e63946;
}

/* ═══════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════ */
#toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(3, 3, 3, 0.95);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 1rem 2rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transform: translateY(120px);
    transition: transform var(--duration-base) var(--ease-out-expo);
    z-index: var(--z-toast);
    pointer-events: none;
    backdrop-filter: blur(10px);
}

#toast.show {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root {
        --pad: 1.5rem;
        --section-gap: 8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --pad: 1.2rem;
        --section-gap: 6rem;
    }

    body {
        font-size: 15px;
    }

    /* Stack Header */
    .header-glass {
        padding: 1rem !important;
        gap: 0.8rem;
    }

    .header-glass nav {
        gap: 0.3rem;
    }

    .btn-magnet {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
    }

    .btn-pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
    }

    /* Stack Grid */
    .grid-base {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }



    .sz-logo-wrap {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(3rem, 16vw, 6rem);
    }

    .display-large {
        font-size: clamp(2rem, 10vw, 4rem);
    }
}

/* ═══════════════════════════════════════════════
   PAGE-SPECIFIC UTILITIES
   ═══════════════════════════════════════════════ */

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

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

/* Product Detail */
.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* About / Legal */
.prose {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--section-gap) var(--pad);
}

.prose h1 {
    margin-bottom: 3rem;
}

.prose p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.prose strong {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════ */
.full-width {
    width: 100%;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 2rem;
}