/* ============================================================
   Suwanda Perfumes — Custom Styles
   Extends Tailwind v4 CDN with brand-specific overrides
   ============================================================ */

/* ── CSS Variables (Design Tokens) ──────────────────────── */
:root {
    --accent: #C8A96E;
    --accent-dark: #B8953F;
    --accent-light: #F5EFE0;
    --gray-900: #111827;
    --gray-500: #6B7280;
    --gray-100: #F3F4F6;
    --danger: #EF4444;
    --success: #10B981;

    /* Motion — strong custom easings (built-in CSS curves are too soft) */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── Base ───────────────────────────────────────────────── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Accessibility ──────────────────────────────────────── */
/* One branded keyboard focus ring for every interactive element.
   :focus-visible keeps it keyboard-only (no ring on mouse click).
   .lux-input keeps its own gold box-shadow focus (defined below). */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip-to-content — hidden until focused, then pinned top-left */
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--gray-900);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transform: translateY(-150%);
    transition: transform 0.2s var(--ease-out);
}
.skip-link:focus {
    transform: translateY(0);
}

/* Screen-reader-only utility (visually hidden, still announced) */
.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;
}

/* ── Product Card ───────────────────────────────────────── */
.product-card {
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
    will-change: transform;
}
.product-card .product-image {
    transition: transform 0.4s var(--ease-out);
}
/* Hover lift only on real pointers — avoids sticky tap-hover on touch */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
    }
    .product-card:hover .product-image {
        transform: scale(1.05);
    }
}

/* ── Quick Add (product card overlay) ───────────────────── */
.quick-add-btn {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a130a;
    background: linear-gradient(135deg, #e8d1a0 0%, #c8a96e 55%, #b8953f 100%);
    box-shadow: 0 6px 18px -8px rgba(184,149,63,0.7);
    cursor: pointer;
    z-index: 3;
    /* Hidden by default; revealed on card hover (desktop) */
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.quick-add-btn:active { transform: scale(0.95); }
.quick-add-btn:disabled { cursor: default; }
.quick-add-btn--done { background: var(--success); color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .product-card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }
}
/* Touch: no hover to reveal on, so keep it always visible */
@media (hover: none) {
    .quick-add-btn { opacity: 1; transform: none; }
}
.quick-add-face {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 0.22s var(--ease-out), filter 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.quick-add-face svg { width: 0.95rem; height: 0.95rem; }
.quick-add-face--done { position: absolute; inset: 0; justify-content: center; }
.quick-add-face.is-hidden {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.9);
    pointer-events: none;
}
.quick-add-face--done svg { animation: check-pop 0.32s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
    .quick-add-btn { transition: opacity 0.15s linear; }
    .quick-add-face { transition: opacity 0.15s linear; filter: none !important; transform: none !important; }
    .quick-add-face--done svg { animation: none; }
}

/* ── Sale Badge ─────────────────────────────────────────── */
.sale-badge {
    background: linear-gradient(135deg, #e8d1a0, #c8a96e 60%, #b8953f);
    color: #1a130a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px -4px rgba(184,149,63,0.6);
}

/* ── Best Seller Badge (DB: top sellers) ────────────────── */
.bestseller-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.28em;
    /* gold base with a moving sheen overlay driven by shimmer */
    background:
        linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%),
        linear-gradient(135deg, #e8d1a0, #c8a96e 60%, #b8953f);
    background-size: 200% 100%, 100% 100%;
    color: #1a130a;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px -4px rgba(184,149,63,0.7);
    white-space: nowrap;
    animation: shimmer 3.2s linear infinite, badge-breathe 3.2s var(--ease-in-out) infinite;
}
.bestseller-badge svg {
    width: 0.78em;
    height: 0.78em;
    fill: #1a130a;
    flex-shrink: 0;
}

@keyframes badge-breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ── Exclusive Customer label (profile, spend ≥ threshold) ── */
.exclusive-badge {
    position: relative;
    background:
        linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%),
        linear-gradient(135deg, #e8d1a0, #c8a96e 60%, #b8953f);
    background-size: 200% 100%, 100% 100%;
    color: #1a130a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px -4px rgba(184,149,63,0.7);
    white-space: nowrap;
    animation: shimmer 3.2s linear infinite;
}
.exclusive-badge svg {
    width: 0.9em;
    height: 0.9em;
    fill: #1a130a;
    flex-shrink: 0;
}

/* ── People Loving This Badge (DB: favorites count) ─────── */
.love-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    color: #be123c;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px -2px rgba(0,0,0,0.18);
    white-space: nowrap;
}
.love-heart {
    width: 0.85em;
    height: 0.85em;
    fill: #e11d48;
    flex-shrink: 0;
    transform-origin: center;
    animation: heartbeat 1.8s var(--ease-in-out) infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15%      { transform: scale(1.18); }
    30%      { transform: scale(1); }
    45%      { transform: scale(1.1); }
    60%      { transform: scale(1); }
}

/* Motion off, badges stay */
@media (prefers-reduced-motion: reduce) {
    .bestseller-badge,
    .exclusive-badge  { animation: none; background-position: 0 0, 0 0; }
    .love-heart       { animation: none; }
}

/* ── Price Display ──────────────────────────────────────── */
.price-original {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: 0.85rem;
}
.price-sale {
    color: var(--danger);
    font-weight: 700;
}
.price-regular {
    color: var(--gray-900);
    font-weight: 700;
}

/* ── Cart Drawer ────────────────────────────────────────── */
.cart-drawer-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.cart-drawer-panel {
    transition: transform 0.35s var(--ease-drawer);
}

/* ── Slide Animations ───────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.animate-slide-down {
    animation: slideDown 0.3s ease forwards;
}

/* ── Stagger animation for product grids ────────────────── */
.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}
.stagger-item:nth-child(1)  { animation-delay: 0.05s; }
.stagger-item:nth-child(2)  { animation-delay: 0.1s; }
.stagger-item:nth-child(3)  { animation-delay: 0.15s; }
.stagger-item:nth-child(4)  { animation-delay: 0.2s; }
.stagger-item:nth-child(5)  { animation-delay: 0.25s; }
.stagger-item:nth-child(6)  { animation-delay: 0.3s; }
.stagger-item:nth-child(7)  { animation-delay: 0.35s; }
.stagger-item:nth-child(8)  { animation-delay: 0.4s; }
.stagger-item:nth-child(9)  { animation-delay: 0.45s; }
.stagger-item:nth-child(10) { animation-delay: 0.5s; }
.stagger-item:nth-child(11) { animation-delay: 0.55s; }
.stagger-item:nth-child(12) { animation-delay: 0.6s; }

/* ── Button Styles ──────────────────────────────────────── */
.btn-primary {
    background-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover { background-color: var(--accent-dark); transform: translateY(-1px); }
}
.btn-primary:active {
    transform: scale(0.97);
}

/* ── Add-to-cart morph (cart → ✓ Added) ─────────────────── */
.add-cart-btn {
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s var(--ease-out), transform 0.16s var(--ease-out);
}
.add-cart-btn.btn-added {
    background-color: var(--success);
}
/* Stack the two faces; only one is shown at a time */
.add-cart-face {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.22s var(--ease-out), filter 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.add-cart-face--done {
    position: absolute;
    inset: 0;
    justify-content: center;
}
/* Hidden face fades + blurs out so the swap reads as one motion, not two objects */
.add-cart-face.is-hidden {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.92);
    pointer-events: none;
}
.add-cart-face--done svg { animation: check-pop 0.32s var(--ease-out) both; }
@keyframes check-pop {
    0%   { transform: scale(0.4); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .add-cart-face { transition: opacity 0.15s linear; filter: none !important; transform: none !important; }
    .add-cart-face--done svg { animation: none; }
}

.btn-outline {
    border: 1.5px solid var(--gray-900);
    color: var(--gray-900);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
    cursor: pointer;
    background: transparent;
}
@media (hover: hover) and (pointer: fine) {
    .btn-outline:hover { background-color: var(--gray-900); color: white; }
}
.btn-outline:active {
    transform: scale(0.97);
}

/* ── Size Selector ──────────────────────────────────────── */
.size-option {
    border: 1.5px solid #E5E7EB;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
    background: white;
}
@media (hover: hover) and (pointer: fine) {
    .size-option:hover { border-color: var(--accent); }
}
.size-option:active {
    transform: scale(0.97);
}
.size-option.active {
    border-color: var(--accent);
    background-color: var(--accent-light);
    color: var(--accent-dark);
    font-weight: 700;
}

/* ── Fragrance Notes ────────────────────────────────────── */
.note-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.15rem;
}

/* ── Stock Indicator ────────────────────────────────────── */
.stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.stock-dot.in-stock    { background: var(--success); }
.stock-dot.low-stock   { background: #F59E0B; animation: pulse-soft 1.5s infinite; }
.stock-dot.out-of-stock { background: var(--danger); }

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

/* ── Price Range Slider ─────────────────────────────────── */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #E5E7EB;
    border-radius: 999px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── Quantity Input ─────────────────────────────────────── */
.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s var(--ease-out), transform 0.12s var(--ease-out);
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    .qty-btn:hover { background: var(--gray-100); }
}
.qty-btn:active {
    transform: scale(0.96);
}

/* ── Google sign-in button ──────────────────────────────── */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0.65rem;
    background: #fff;
    color: #3c4043;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.12s var(--ease-out);
}
.google-btn:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
    .google-btn:hover { background: #f8f9fa; border-color: #d2d5da; }
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* ── Skeleton Loader ────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Toast Notification ─────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    min-width: 280px;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.25s var(--ease-out);
    animation: slideUp 0.35s var(--ease-out), fadeOut 0.25s var(--ease-out) 2.75s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exit on the same axis it entered (downward) — spatial consistency */
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* ============================================================
   Hero — Editorial Noir-Gold
   Aesthetic: luxury fragrance campaign. Dark warm band with
   drifting golden scent-mist, a shimmer-swept serif headline,
   and a floating glass trust card. CSS-only, accessible.
   ============================================================ */
.hero-noir {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(120% 120% at 75% 10%, #241b10 0%, #140f0a 45%, #0c0a09 100%);
    color: #f4ecdd;
}

/* Optional background video + poster + legibility scrim.
   z-index order (back→front): video(-4) → scrim(-3) → spotlight(-2) → mist(-1) → content(2).
   If the media is absent the dark section gradient simply shows through — never broken. */
.hero-noir__video,
.hero-noir__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -4;
}
.hero-noir__poster { display: none; } /* shown only on mobile / reduced-motion */
.hero-noir__scrim {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient(105deg,
        rgba(12,10,9,0.92) 0%, rgba(12,10,9,0.62) 45%, rgba(12,10,9,0.80) 100%);
}
/* Mobile: don't download/play video — show the still poster instead (saves data) */
@media (max-width: 1023px) {
    .hero-noir__video  { display: none; }
    .hero-noir__poster { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-noir__video  { display: none; }
    .hero-noir__poster { display: block; }
}
/* Admin-set PHOTO background — always visible (not just a mobile video poster) */
.hero-noir__photo { display: block; }

/* Warm spotlight that breathes behind the headline */
.hero-noir__spotlight {
    position: absolute;
    top: -25%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    max-width: 820px;
    max-height: 820px;
    background: radial-gradient(circle, rgba(200,169,110,0.30) 0%, rgba(200,169,110,0.08) 35%, transparent 65%);
    filter: blur(20px);
    z-index: -2;
    animation: noir-breathe 9s ease-in-out infinite;
}
@keyframes noir-breathe {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.08); }
}

/* Hairline gold vignette frame for an editorial print feel */
.hero-noir::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(200,169,110,0.18);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

/* Film grain to kill the flat "AI gradient" look */
.hero-noir__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Drifting scent-mist particles — the signature anchor */
.hero-noir__mist {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.hero-noir__mist span {
    position: absolute;
    bottom: -10%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(232,209,160,0.9);
    box-shadow: 0 0 12px 2px rgba(200,169,110,0.55);
    opacity: 0;
    animation: noir-rise linear infinite;
}
@keyframes noir-rise {
    0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-115vh) translateX(40px) scale(0.4); opacity: 0; }
}
/* Scatter the 14 motes across the band with varied pace & size */
.hero-noir__mist span:nth-child(1)  { left: 6%;  animation-duration: 13s; animation-delay: 0s;   }
.hero-noir__mist span:nth-child(2)  { left: 14%; animation-duration: 17s; animation-delay: 3s;  width: 4px; height: 4px; }
.hero-noir__mist span:nth-child(3)  { left: 22%; animation-duration: 11s; animation-delay: 6s;  }
.hero-noir__mist span:nth-child(4)  { left: 30%; animation-duration: 19s; animation-delay: 1s;  width: 3px; height: 3px; }
.hero-noir__mist span:nth-child(5)  { left: 38%; animation-duration: 14s; animation-delay: 8s;  }
.hero-noir__mist span:nth-child(6)  { left: 46%; animation-duration: 21s; animation-delay: 4s;  width: 5px; height: 5px; }
.hero-noir__mist span:nth-child(7)  { left: 54%; animation-duration: 12s; animation-delay: 9s;  width: 3px; height: 3px; }
.hero-noir__mist span:nth-child(8)  { left: 62%; animation-duration: 18s; animation-delay: 2s;  }
.hero-noir__mist span:nth-child(9)  { left: 70%; animation-duration: 15s; animation-delay: 7s;  width: 4px; height: 4px; }
.hero-noir__mist span:nth-child(10) { left: 78%; animation-duration: 20s; animation-delay: 5s;  }
.hero-noir__mist span:nth-child(11) { left: 85%; animation-duration: 13s; animation-delay: 10s; width: 3px; height: 3px; }
.hero-noir__mist span:nth-child(12) { left: 90%; animation-duration: 16s; animation-delay: 1.5s;}
.hero-noir__mist span:nth-child(13) { left: 95%; animation-duration: 22s; animation-delay: 6.5s; width: 5px; height: 5px; }
.hero-noir__mist span:nth-child(14) { left: 50%; animation-duration: 24s; animation-delay: 11s; width: 4px; height: 4px; }

/* Layout */
.hero-noir__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}
@media (min-width: 1024px) {
    .hero-noir__inner {
        grid-template-columns: 1.35fr 0.65fr;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.hero-noir__copy { max-width: 40rem; }

/* Eyebrow with a drawing-in gold rule */
.hero-noir__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: noir-reveal 0.7s ease forwards;
}
.hero-noir__rule {
    display: inline-block;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: noir-rule 1s ease forwards 0.35s;
}
@keyframes noir-rule { to { width: 3rem; } }

/* Editorial serif headline */
.hero-noir__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.9rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: #fbf6ec;
    opacity: 0;
    animation: noir-reveal 0.8s ease forwards 0.12s;
}
.hero-noir__shimmer {
    display: block;
    font-style: italic;
    background: linear-gradient(100deg,
        #b8953f 0%, #e8d1a0 25%, #fff6e2 42%, #e8d1a0 60%, #b8953f 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: noir-sweep 6s ease-in-out infinite 1.2s;
}
@keyframes noir-sweep {
    0%, 100% { background-position: 180% 0; }
    50%      { background-position: -20% 0; }
}

.hero-noir__lede {
    margin-top: 1.6rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(244,236,221,0.62);
    max-width: 30rem;
    opacity: 0;
    animation: noir-reveal 0.8s ease forwards 0.24s;
}

.hero-noir__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.4rem;
    opacity: 0;
    animation: noir-reveal 0.8s ease forwards 0.36s;
}
.hero-noir__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.hero-noir__btn:active { transform: scale(0.97); }
.hero-noir__btn--gold {
    position: relative;
    color: #1a130a;
    background: linear-gradient(135deg, #e8d1a0 0%, #c8a96e 55%, #b8953f 100%);
    box-shadow: 0 10px 30px -10px rgba(200,169,110,0.6);
}
.hero-noir__btn--gold svg { transition: transform 0.25s ease; }
.hero-noir__btn--ghost {
    color: #f4ecdd;
    border: 1px solid rgba(244,236,221,0.28);
    background: rgba(244,236,221,0.02);
}
/* Hover-transforms gated so taps don't leave sticky hover state on touch */
@media (hover: hover) and (pointer: fine) {
    .hero-noir__btn--gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 38px -10px rgba(200,169,110,0.75);
    }
    .hero-noir__btn--gold:hover svg { transform: translateX(4px); }
    .hero-noir__btn--ghost:hover {
        transform: translateY(-2px);
        border-color: var(--accent);
        color: #fff6e2;
        background: rgba(200,169,110,0.08);
    }
}

/* Floating glass trust card with an abstract decanter glow */
.hero-noir__card {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 21rem;
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    border: 1px solid rgba(200,169,110,0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7);
    opacity: 0;
    animation:
        noir-reveal 0.9s ease forwards 0.5s,
        noir-float 7s ease-in-out infinite 1.4s;
}
@media (max-width: 1023px) { .hero-noir__card { display: none; } }
@keyframes noir-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.hero-noir__decanter {
    position: absolute;
    top: -38px;
    right: 22px;
    width: 70px;
    height: 70px;
    border-radius: 50% 50% 48% 52% / 55% 55% 45% 45%;
    background: radial-gradient(circle at 35% 30%, #fff6e2, #c8a96e 55%, #8a6d36 100%);
    box-shadow: 0 0 40px 6px rgba(200,169,110,0.45);
}
.hero-noir__stars {
    color: var(--accent);
    letter-spacing: 0.2em;
    font-size: 0.9rem;
}
.hero-noir__card-quote {
    margin-top: 0.75rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.4;
    color: #fbf6ec;
}
.hero-noir__card-meta {
    margin-top: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(244,236,221,0.5);
}

@keyframes noir-reveal {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Respect users who prefer reduced motion: keep it elegant, kill movement */
@media (prefers-reduced-motion: reduce) {
    .hero-noir__spotlight,
    .hero-noir__mist span,
    .hero-noir__shimmer,
    .hero-noir__rule,
    .hero-noir__card {
        animation: none !important;
    }
    .hero-noir__mist { display: none; }
    .hero-noir__rule { width: 3rem; }
    .hero-noir__eyebrow,
    .hero-noir__title,
    .hero-noir__lede,
    .hero-noir__actions,
    .hero-noir__card {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-noir__shimmer { background-position: 50% 0; }
}

/* ============================================================
   Scroll Engine — Apple-style reveals, parallax, progress
   Reusable site-wide. Activated by JS adding `.is-visible`.
   ============================================================ */

/* Thin gold scroll-progress bar pinned to the very top */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, #b8953f, #e8d1a0, #fff6e2);
    z-index: 100;
    will-change: transform;
}

/* IMPORTANT: every "hidden" rule below is gated on `.reveal-ready`,
   a class the scroll engine (app.js) adds to <html> on load. If that
   JS is missing or fails, the class is never added → content stays
   fully visible (no animation) instead of disappearing. This makes a
   blank page impossible even if app.js doesn't load. */

/* Base reveal: hidden until it scrolls into view */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(38px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-ready [data-reveal="left"]  { transform: translateX(-48px); }
.reveal-ready [data-reveal="right"] { transform: translateX(48px); }
.reveal-ready [data-reveal="scale"] { transform: scale(0.92); }
.reveal-ready [data-reveal="blur"]  { filter: blur(14px); transform: translateY(24px); }

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Staggered groups — children cascade in. JS sets --i per child. */
.reveal-ready [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
    will-change: opacity, transform;
}
.reveal-ready [data-reveal-group].is-visible > * {
    opacity: 1;
    transform: none;
}
/* When a product card lives inside a reveal group, let the group drive
   the motion instead of the card's own on-load stagger animation.
   (Only disable the animation — the group's > * rules own opacity.) */
.reveal-ready [data-reveal-group] .stagger-item {
    animation: none;
}

/* Parallax — JS writes --py (px). Drifts slower than scroll. */
.parallax { will-change: transform; }

/* ============================================================
   Section: Category Gallery — dark luxury cards
   ============================================================ */
.lux-section-dark {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(120% 120% at 20% 0%, #1b150d 0%, #100c08 50%, #0c0a09 100%);
    color: #f4ecdd;
}
.lux-glow {
    position: absolute;
    width: 60vw;
    max-width: 640px;
    height: 60vw;
    max-height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,110,0.16), transparent 65%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

.lux-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
}
.lux-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.lux-heading--light { color: #fbf6ec; }
.lux-heading--dark  { color: #14110c; }
.lux-sub {
    font-size: 0.95rem;
    line-height: 1.6;
}
.lux-sub--light { color: rgba(244,236,221,0.6); }
.lux-sub--dark  { color: #6B7280; }

/* Category card */
.lux-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 2.4rem 2rem;
    min-height: 17rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    border: 1px solid rgba(200,169,110,0.18);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, box-shadow 0.5s ease;
}
.lux-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 0%, rgba(200,169,110,0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
    .lux-card:hover {
        transform: translateY(-8px);
        border-color: rgba(200,169,110,0.5);
        box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
    }
    .lux-card:hover::before { opacity: 1; }
}
.lux-card__icon {
    width: 2.6rem;
    height: 2.6rem;
    color: var(--accent);
    opacity: 0.85;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}
.lux-card__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: #fbf6ec;
    position: relative;
    z-index: 1;
}
.lux-card__desc {
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: rgba(244,236,221,0.55);
    position: relative;
    z-index: 1;
}
.lux-card__browse {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    position: relative;
    z-index: 1;
}
.lux-card__browse svg { transition: transform 0.35s ease; }
@media (hover: hover) and (pointer: fine) {
    .lux-card:hover .lux-card__browse svg { transform: translateX(5px); }
}

/* ============================================================
   Section: Sticky Brand Story — Apple-style pinned scroll
   ============================================================ */
.story {
    position: relative;
    background: radial-gradient(130% 90% at 80% 20%, #241b10 0%, #130e09 55%, #0c0a09 100%);
    color: #f4ecdd;
}
.story__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .story__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}
/* Left column pins while right column scrolls past */
.story__sticky {
    position: relative;
}
@media (min-width: 1024px) {
    .story__sticky {
        position: sticky;
        top: 18vh;
        height: fit-content;
    }
}
.story__kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.story__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
    color: #fbf6ec;
}
.story__title em {
    font-style: italic;
    color: var(--accent);
}
.story__steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.story__step {
    padding: 2rem;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
    border: 1px solid rgba(200,169,110,0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.story__step-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}
.story__step-title {
    margin-top: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbf6ec;
}
.story__step-text {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(244,236,221,0.6);
}

/* ============================================================
   Section: Trust — unified gold/charcoal (no rainbow)
   ============================================================ */
.lux-trust-item {
    text-align: center;
    padding: 1.75rem 1rem;
}
.lux-trust-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(160deg, var(--accent-light), #fbf3e2);
    border: 1px solid rgba(200,169,110,0.35);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .lux-trust-item:hover .lux-trust-icon {
        transform: translateY(-5px) rotate(-3deg);
        box-shadow: 0 14px 28px -12px rgba(200,169,110,0.55);
    }
}
.lux-trust-icon svg { color: var(--accent-dark); width: 1.6rem; height: 1.6rem; }
.lux-trust-title { font-size: 0.9rem; font-weight: 600; color: #14110c; margin-bottom: 0.25rem; }
.lux-trust-text  { font-size: 0.78rem; color: #6B7280; line-height: 1.5; }

/* ============================================================
   Section: CTA bookend — noir with rising mist
   ============================================================ */
.lux-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(120% 120% at 50% 120%, #241b10 0%, #130e09 55%, #0a0807 100%);
    color: #f4ecdd;
    text-align: center;
}
.lux-cta__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    color: #fbf6ec;
}
.lux-cta__title em { font-style: italic; color: var(--accent); }
.lux-cta__sub {
    margin: 1.2rem auto 0;
    max-width: 30rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(244,236,221,0.6);
}

/* Scroll-engine reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal-group] > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .scroll-progress { display: none; }
    .parallax { transform: none !important; }
}

/* Hide x-cloak elements until Alpine initialises (prevents flash) */
[x-cloak] { display: none !important; }

/* ============================================================
   Tubelight Navbar — 21st.dev style, adapted for the light header
   Frosted pill capsule + glowing gold "tube" lamp over active link.
   Active state is server-rendered (.is-active), so no JS needed.
   ============================================================ */
.tube-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(200, 169, 110, 0.07);
    border: 1px solid rgba(200, 169, 110, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.tube-link {
    position: relative;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6B7280;
    white-space: nowrap;
    transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), transform 0.16s var(--ease-out);
}
.tube-link:hover {
    color: #14110c;
    background: rgba(200, 169, 110, 0.12);
}
.tube-link:active { transform: scale(0.96); }
.tube-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.tube-link.is-active {
    color: var(--accent-dark);
    font-weight: 600;
    background: #fff;
    box-shadow: 0 2px 12px -4px rgba(200, 169, 110, 0.55);
}
/* The "tube" — a thin gold bar pinned to the top edge of the active pill */
.tube-link.is-active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 56%;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    transform: translateX(-50%);
    animation: tube-glow-in 0.5s ease both;
}
/* The lamp glow blooming above the tube */
.tube-link.is-active::after {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    width: 50%;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(200, 169, 110, 0.6), transparent 70%);
    filter: blur(6px);
    transform: translateX(-50%);
    pointer-events: none;
    animation: tube-glow-in 0.5s ease both;
}
@keyframes tube-glow-in {
    from { opacity: 0; transform: translateX(-50%) scaleX(0.4); }
    to   { opacity: 1; transform: translateX(-50%) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .tube-link.is-active::before,
    .tube-link.is-active::after { animation: none; }
}

/* ============================================================
   Inner-page helpers — reused across all customer pages
   ============================================================ */

/* Standard inner-page header (eyebrow + serif heading + sub) */
.lux-page-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}
.lux-page-head .lux-eyebrow { display: block; margin-bottom: 0.85rem; }
.lux-page-head .lux-sub { margin-top: 1rem; }
.lux-page-head--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Refined form fields — gold focus, no motion (form-safe) */
.lux-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 0.6rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.9rem;
    color: var(--gray-900);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lux-input::placeholder { color: #9CA3AF; }
.lux-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,169,110,0.18);
}
.lux-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 0.45rem;
}

/* Breadcrumb (product page) */
.lux-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #9CA3AF;
}
.lux-breadcrumb a { color: #6B7280; transition: color 0.18s ease; }
.lux-breadcrumb a:hover { color: var(--accent-dark); }
.lux-breadcrumb .sep { color: #D1D5DB; }

/* FAQ / accordion polish (works with Alpine x-collapse) */
.lux-accordion {
    border: 1px solid #ECE7DC;
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.lux-accordion:hover {
    border-color: rgba(200,169,110,0.45);
    box-shadow: 0 12px 30px -18px rgba(200,169,110,0.4);
}
.lux-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    text-align: left;
    background: transparent;
}
.lux-accordion__icon { color: var(--accent-dark); transition: transform 0.25s var(--ease-out); }
.lux-accordion__body {
    padding: 0 1.35rem 1.2rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #6B7280;
}

/* Glass card on a LIGHT background (gold-framed) */
.lux-card-light {
    position: relative;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #fffdf8, #fbf6ec);
    border: 1px solid rgba(200,169,110,0.3);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .lux-card-light:hover {
        transform: translateY(-5px);
        border-color: rgba(200,169,110,0.6);
        box-shadow: 0 24px 50px -28px rgba(200,169,110,0.55);
    }
}

/* ============================================================
   Legal / policy pages — readable prose
   ============================================================ */
.legal { color: #4a4438; font-size: 0.95rem; line-height: 1.75; }
.legal h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #14110c;
    margin: 2.2rem 0 0.6rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; list-style: disc; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent-dark); text-decoration: underline; }
.legal strong { color: #14110c; }
.legal__updated {
    font-size: 0.78rem;
    color: #9b937f;
    margin-bottom: 2rem;
}

/* ============================================================
   Dark luxury footer
   ============================================================ */
.lux-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(120% 120% at 50% 0%, #1b150d 0%, #110c08 55%, #0a0807 100%);
    color: #f4ecdd;
    border-top: 1px solid rgba(200,169,110,0.2);
}
.lux-footer__brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fbf6ec;
}
.lux-footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(244,236,221,0.55);
}
.lux-footer__heading {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
}
.lux-footer__link {
    font-size: 0.88rem;
    color: rgba(244,236,221,0.62);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.lux-footer__link:hover { color: #fff6e2; padding-left: 0.25rem; }
.lux-footer__contact { font-size: 0.88rem; color: rgba(244,236,221,0.62); }
.lux-footer__contact svg { color: var(--accent); }
.lux-footer__divider { border-top: 1px solid rgba(200,169,110,0.18); }
.lux-footer__fine { font-size: 0.72rem; color: rgba(244,236,221,0.4); }

/* ── Preloader (arc-reveal curtain, once per session) ───── */
/* Dark full-screen overlay over everything (header is z-50). Default state is
   visible so it paints before app.js runs — no flash of unstyled page. */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #140f0a;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    /* Gold-on-dark atmospheric glow behind the wordmark */
    background-image: radial-gradient(120% 80% at 50% 50%, rgba(200,169,110,0.10), transparent 60%);
}
/* Reveal: the whole curtain lifts up and out, exposing the page beneath. */
.preloader.is-hiding {
    transform: translateY(-105%);
    transition: transform 1.4s cubic-bezier(0.85, 0, 0.15, 1);
}
.preloader__stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 0 1.5rem;
    text-align: center;
}
/* Cycled conversion words */
.preloader__word {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.75rem, 9vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: #f7efe0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.42s var(--ease-out), transform 0.42s var(--ease-out);
}
.preloader__word.is-in { opacity: 1; transform: translateY(0); }
.preloader__word.is-out { opacity: 0; transform: translateY(-10px); transition-duration: 0.3s; }
/* Brand wordmark — revealed on the final frame */
.preloader__brand {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s var(--ease-out) 0.05s, transform 0.5s var(--ease-out) 0.05s;
}
.preloader__brand em { font-style: normal; color: rgba(200,169,110,0.6); }
.preloader.is-finale .preloader__brand { opacity: 1; transform: translateY(0); }
/* Curved bottom edge of the curtain — a dark bulge hanging below the overlay so
   the lift reveals the page along a concave arc, not a flat line. */
.preloader__curtain {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14vh;
    display: block;
}
.preloader__curtain path { fill: #140f0a; }

/* No motion: never show the overlay; keep the page instantly usable. */
@media (prefers-reduced-motion: reduce) {
    .preloader { display: none !important; }
}
