/** Shopify CDN: Minification failed

Line 1697:0 All "@import" rules must come first

**/
/* ============================================
   RFLXNS — Cinematic Luxury Streetwear
   Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-text: #f5f0eb;
    --color-text-muted: #6b6b6b;
    --color-accent: #c8a97e;
    --color-accent-hover: #dbbf96;
    --color-border: #1f1f1f;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slower: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dotted Font Buttons & Nav */
.nav-link,
.nav-cta,
.shop-link,
.hero-cta,
.drop-submit,
.mobile-menu-link,
.mobile-menu-footer-link,
.search-label,
.drop-label,
.section-label,
.mobile-close-text {
    font-family: 'OffBit', monospace, sans-serif !important;
}

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

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

button,
input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ============================================
   Slideshow Panel Base Styles
   ============================================ */
.panel {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    background-color: var(--color-bg);
}

/* ============================================
   Film Grain Overlay
   ============================================ */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    animation: grainShift 0.5s steps(6) infinite;
}

@keyframes grainShift {

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

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -15%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 10%);
    }

    80% {
        transform: translate(3%, -15%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* ============================================

   Navigation
   ============================================ */
/* Ensure Shopify's section wrapper doesn't trap fixed positioning */
#shopify-section-custom-header {
    position: unset !important;
    transform: none !important;
    will-change: auto !important;
    contain: none !important;
    overflow: visible !important;
    height: 0;
    width: 0;
}

.nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
    background: transparent;
}

.nav.scrolled {
    background: transparent;
}

.nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #ffffff;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #ffffff;
    background: transparent;
    padding: 0.5rem 0;
    /* Removed horizontal padding so gap is equal */
    transition: color var(--transition-base), transform var(--transition-base);
}

.nav-cta:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFF0;
    /* Ivory */
    cursor: pointer;
    transition: color var(--transition-base), transform var(--transition-base);
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.nav-icon:hover {
    color: var(--color-text);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.45rem;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Search Overlay (Transparent)
   ============================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    /* Removed dark background */
    backdrop-filter: blur(10px);
    /* Just a subtle blur so it's readable over the site */
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-close {
    position: absolute;
    top: 3rem;
    right: 3rem;
    color: var(--color-text);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: transform var(--transition-base);
}

.search-close:hover {
    transform: scale(1.1);
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    /* Creamy accent */
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    padding: 1rem 0;
    outline: none;
    font-family: var(--font-primary);
}

.search-input::placeholder {
    color: rgba(245, 240, 235, 0.2);
}

.search-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(245, 240, 235, 0.2);
    transform-origin: left;
    transition: background var(--transition-base);
}

.search-input:focus~.search-line {
    background: var(--color-accent);
    /* Highlight cream color on focus */
}

/* ============================================
   Section 1: Hero
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Removing darken effect on wrapper */
.hero-image-wrapper::after {
    display: none;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    /* Moved content down from 100px to 40px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-overline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-accent);
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 0.9;
    color: var(--color-text);
    text-shadow: 0 0 80px rgba(200, 169, 126, 0.08);
}

.hero-subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    color: var(--color-text-muted);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.65rem;
    /* Increased font size for readability */
    font-weight: 600;
    /* Increased font weight slightly for readability */
    letter-spacing: 0.3em;
    color: #ffffff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    /* Added subtle shadow to contrast against image */
    transition: color var(--transition-base), text-shadow var(--transition-base);
    cursor: pointer;
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    animation: floatDown 2s ease-in-out infinite;
}

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

@keyframes floatDown {

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

    50% {
        transform: translateY(6px);
    }
}

.hero-scroll-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-accent));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 60px;
    }

    50% {
        opacity: 0.8;
        height: 80px;
    }
}

/* ============================================
   Section 1.5: Split Categories
   ============================================ */
.split-categories {
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 20;
}

.split-pane {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pane-left {
    background-image: var(--bg-men);
    background-color: #0a0a0a;
}

.pane-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.pane-right {
    background-image: var(--bg-women);
    background-color: #dbe4ea;
}

.pane-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.pane-right h2 {
    color: #fff;
}

.pane-right .shop-link {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.pane-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Spacing between title and SHOP */
    z-index: 2;
}

.split-pane h2 {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-family: 'OffBit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
}

.pane-left h2 {
    color: #fff;
}



.shop-link {
    font-size: 11px;
    /* Very small text based on ALMOST GODS screenshot */
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.pane-left .shop-link {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}



.shop-link:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .split-categories {
        flex-direction: column;
    }
}

/* ============================================
   Section 2: Product Collection
   ============================================ */
.collection {
    padding: var(--space-2xl) var(--space-lg);
    min-height: 100vh;
    z-index: 20;
    position: relative;
    background: var(--bg-site) center / cover no-repeat fixed;
}

.collection::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    z-index: 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    cursor: pointer;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--color-surface);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: saturate(0.3) brightness(0.9);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: saturate(0.5) brightness(1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-cta {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--color-bg);
    background: #ffffff;
    padding: 0.7rem 1.75rem;
    transition: background var(--transition-base), transform var(--transition-base);
}

.product-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.product-info {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.product-detail {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.product-price {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

/* ============================================
   Section 4: Press Marquee
   ============================================ */
.press {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    z-index: 40;
}

.press-marquee {
    position: relative;
}

.press-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
}

.press-quote {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.press-quote em {
    color: var(--color-text);
    font-style: normal;
    font-weight: 500;
}

.press-divider {
    color: var(--color-accent);
    font-size: 0.6rem;
    flex-shrink: 0;
    opacity: 0.5;
}

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

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

/* ============================================
   Section 5: Founder Story (Full-screen Overlay)
   ============================================ */
.story {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.story.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.story-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--color-text);
    cursor: pointer;
    z-index: 4001;
    padding: 10px;
    background: transparent;
    transition: transform 0.3s ease;
}

.story-close:hover {
    transform: rotate(90deg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.story-image-col {
    position: relative;
    overflow: hidden;
}

.story-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: saturate(0) brightness(0.8) contrast(1.1);
    transition: filter var(--transition-slow);
}

.story-image-col:hover .story-image {
    filter: saturate(0.2) brightness(0.9) contrast(1.05);
}

.story-text-col {
    padding-left: var(--space-lg);
}

.story-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    margin: var(--space-md) 0;
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.story-body p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.story-body em {
    color: var(--color-text);
    font-style: italic;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: var(--space-lg);
}

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

.signature-name {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

/* ============================================
   Section 6: Limited Drop CTA
   ============================================ */
.drop {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(165deg, var(--color-bg) 0%, #0f0e0c 50%, var(--color-bg) 100%);
    position: relative;
    z-index: 60;
}

.drop::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.drop-content {
    text-align: center;
    max-width: 600px;
}

.drop-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.drop-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.drop-sub {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.drop-form {
    margin-bottom: var(--space-md);
}

.drop-input-group {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-base);
}

.drop-input-group:focus-within {
    border-color: var(--color-accent);
}

.drop-input {
    flex: 1;
    padding: 1.1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-text);
    background: transparent;
}

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

.drop-submit {
    padding: 0.75rem 1.4rem;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-bg);
    background: #ffffff;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.drop-submit:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.drop-disclaimer {
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
    z-index: 70;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

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

.footer-copy {
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .story-text-col {
        padding-left: 0;
    }

    .story-image {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1.25rem 1.5rem;
    }

    .nav-left,
    .nav-right {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.45rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }



    .collection {
        padding: var(--space-xl) var(--space-md);
    }

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

    .product-overlay {
        opacity: 1;
    }

    .story {
        padding: var(--space-xl) var(--space-md);
    }

    .drop {
        padding: var(--space-xl) var(--space-md);
    }

    .drop-input-group {
        flex-direction: column;
    }

    .drop-submit {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 0.08em;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.6rem;
    }

}

/* ============================================
   Intro Loading Animation
   ============================================ */
/* Base overlay properties now applied inline in theme.liquid for guaranteed visibility */

body.intro-active {
    overflow: hidden;
}

body.intro-active #intro-overlay {
    opacity: 1 !important;
    z-index: 2147483646 !important;
    /* Drop below nav once JS is ready */
    pointer-events: auto !important;
}

body.intro-animating #intro-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

body.intro-active .nav,
body.intro-animating .nav {
    z-index: 2147483647 !important;
}

body.intro-active .nav-left,
body.intro-active .nav-right {
    opacity: 0;
}

body.intro-animating .nav-left,
body.intro-animating .nav-right {
    opacity: 1;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.intro-active .nav-logo {
    /* Manual JS transforms will handle scale/position here */
    transition: none;
}

body.intro-animating .nav-logo {
    /* Smooth cinematic shrinking & traveling */
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

/* ============================================
   Mobile Navigation Menu
   ============================================ */
.mobile-only {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    transition: left 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
    left: 0;
}

/* Header: X close + centered logo */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #111;
    display: flex;
    align-items: center;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-image {
    height: 40px;
    width: auto;
    filter: brightness(0);
    /* Force black logo on white bg */
}

.mobile-menu-header-spacer {
    width: 36px;
    /* Balance the X button width */
}

/* Primary Nav Links */
.mobile-menu-primary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 2.5rem 1.75rem 2rem;
    align-items: flex-start;
}

.mobile-menu-link--primary {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111;
    text-decoration: none;
    line-height: 2;
    transition: color 0.2s;
}

.mobile-menu-link--primary:hover {
    color: #888;
}

/* Category Links with + icons */
.mobile-menu-categories {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
    border-top: 1px solid #eee;
}

.mobile-menu-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #333;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.mobile-menu-category:last-child {
    border-bottom: none;
}

.mobile-menu-category:hover {
    color: #000;
}

.mobile-menu-plus {
    font-size: 1.2rem;
    font-weight: 300;
    color: #999;
}

/* Footer Links */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 2rem 1.75rem;
    margin-top: auto;
    /* Push to bottom */
    align-items: flex-start;
}

.mobile-menu-footer-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #111;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.2s;
}

.mobile-menu-footer-link:hover {
    color: #888;
}

/* Close Bar at bottom */
.mobile-menu-close-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-close-line {
    width: 32px;
    height: 2px;
    background: #111;
    border-radius: 1px;
}

.mobile-close-text {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #888;
    text-transform: none;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex;
    }

    .logo-image {
        height: 52px;
        /* ~15% smaller than the original 62px */
    }

    .nav,
    .nav.scrolled {
        padding: 1.5rem 1.5rem !important;
    }

    .mobile-menu {
        padding: 1.5rem 1.5rem;
    }

    .nav-left,
    .nav-right {
        gap: 1.25rem;
    }
}

/* ============================================
   Interactive Card Gallery
   ============================================ */
.card-gallery {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.card-gallery-stage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.gallery-card {
    position: absolute;
    width: 260px;
    height: 347px;
    /* 3:4 ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.85) rotate(0deg) translate(0px, 0px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s ease;
    will-change: transform, opacity;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-card--center {
    width: 300px;
    height: 400px;
    z-index: 5;
}

/* Fan-out states */
.card-gallery.is-visible .gallery-card {
    opacity: 1;
}

.card-gallery.is-visible .gallery-card[data-card="0"] {
    z-index: 1;
    transition-delay: 0.4s;
}

.card-gallery.is-visible .gallery-card[data-card="1"] {
    z-index: 3;
    transition-delay: 0.2s;
}

.card-gallery.is-visible .gallery-card[data-card="2"] {
    z-index: 5;
    transition-delay: 0s;
}

.card-gallery.is-visible .gallery-card[data-card="3"] {
    z-index: 3;
    transition-delay: 0.2s;
}

.card-gallery.is-visible .gallery-card[data-card="4"] {
    z-index: 1;
    transition-delay: 0.4s;
}

.gallery-card:hover {
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .card-gallery {
        min-height: 500px;
        height: 80vh;
    }

    .card-gallery-stage {
        height: 380px;
        max-width: 100vw;
    }

    .gallery-card {
        width: 140px;
        height: 187px;
        border-radius: 8px;
    }

    .gallery-card--center {
        width: 170px;
        height: 227px;
    }
}

/* ============================================
   GSAP Initial States
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

/* ============================================
   Mock Products Grid (Inspirational)
   ============================================ */
.mock-products {
    padding: var(--space-2xl) var(--space-lg);
    background: #0a0a0a;
    position: relative;
    z-index: 20;
}

.mock-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5vw;
    max-width: 1400px;
    margin: 0 auto;
}

.mock-card {
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.03);
    will-change: transform, box-shadow;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.5s ease;
}

.mock-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

/* Inspiration Gradients */
.mock-card-1 {
    background: radial-gradient(circle at top left, #1a2a1f 0%, #0d0d0d 100%);
}

.mock-card-2 {
    background: radial-gradient(circle at right, #1a1a24 0%, #0a0a0a 100%);
}

.mock-card-3 {
    background: radial-gradient(circle at bottom, #111a22 0%, #090b10 100%);
}

/* Glowing Orb */
.mock-glow-orb {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e88d30;
    filter: blur(18px);
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    z-index: 1;
}

.mock-card:hover .mock-glow-orb {
    opacity: 1;
    transform: scale(1.4);
    filter: blur(25px);
}

/* Typography elements */
.mock-text-wrapper {
    position: relative;
    z-index: 2;
}

.mock-title {
    font-family: 'OffBit', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: 0.05em;
}

.mock-price {
    font-family: 'OffBit', -apple-system, sans-serif;
    font-size: 0.95rem;
    color: #b86e27;
    margin: 0;
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .mock-products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mock-card {
        aspect-ratio: 1 / 1;
    }
}

/* ============================================
   Interactive Cinematic Footer
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Herr+Von+Muellerhoff&display=swap');

.footer-interactive {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 800px;
    background-color: #000;
    overflow: hidden;
    z-index: 50;
    display: flex;
    align-items: center;
}

.footer-interactive-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: filter 0.8s ease;
}

.footer-interactive-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Script Logo Style */
.footer-brand-script-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-brand-script {
    font-family: 'Herr Von Muellerhoff', cursive;
    font-size: clamp(8rem, 20vw, 18rem);
    line-height: 1;
    color: #8b0000;
    /* Dark Crimson */
    margin: 0;
    cursor: pointer;
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
    will-change: color, text-shadow, transform;
    /* Subtle initial shadow to separate from background */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    padding-bottom: 2rem;
}

/* Hover: The Electric Glow */
.footer-brand-script:hover {
    color: #ffffff;
    transform: scale(1.02);
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ffb3c6,
        0 0 40px #ff0055,
        0 0 80px #ff0055,
        0 0 90px #ff0055,
        0 0 100px #ff0055,
        0 0 150px #ff0055;
}

/* Hover Effect: Lower opacity of background behind it slightly */
.footer-interactive:has(.footer-brand-script:hover) .footer-interactive-bg {
    filter: brightness(0.6) saturate(1.2);
}

/* Secondary Digital Text */
.footer-secondary-text {
    display: flex;
    gap: 3vw;
    padding-right: 2vw;
    margin-top: 5rem;
}

.glitch-target {
    font-family: 'OffBit', monospace, sans-serif;
    font-size: 0.9rem;
    color: #d1d5db;
    /* Pale grey */
    letter-spacing: 0.15em;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: opacity 0.1s;
}

@media (max-width: 900px) {
    .footer-interactive-content {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    .footer-secondary-text {
        margin-top: 0;
        padding-right: 0;
        gap: 4vw;
    }

    .footer-brand-script {}
}

/* ============================================
   Reference Visual Section
   ============================================ */
.reference-visual {
    padding: 0;
    margin: 0;
    background: #000;
}

.reference-image-container {
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.full-width-reference {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.footer-static {
    width: 100vw;
    margin: 0;
    /* Cinematic black border on top and bottom */
    padding: 7vw 0;
    background: #000;
}

.full-width-footer {
    width: 100%;
    /* Crop the image evenly from top and bottom for a widescreen feel */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
}