/* ============================================================
   OFF DAY SOLUTIONS — Holding Page
   Dark luxury. Unhurried. Editorial.
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --bg-base:            #050505;
    --bg-card:            #0B0B0B;
    --text-main:          #F0EDE6;
    --text-muted:         rgba(240, 237, 230, 0.38);
    --text-faint:         rgba(240, 237, 230, 0.18);
    --accent-gold:        #C9A84C;
    --accent-gold-dim:    rgba(201, 168, 76, 0.10);
    --accent-gold-glow:   rgba(201, 168, 76, 0.06);
    --ui-border:          rgba(255, 255, 255, 0.055);
    --ui-border-strong:   rgba(255, 255, 255, 0.10);
    --ui-glass:           rgba(5, 5, 5, 0.72);

    --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ:   cubic-bezier(0.85, 0, 0.15, 1);
    --ease-out-quart:     cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── @property — enables conic gradient ring animation ───── */
@property --ring-pos {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: #050505; /* hardcoded fallback in case custom properties fail */
    background: var(--bg-base);
    color: #F0EDE6;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: none; }
html:has(body.custom-cursor-active),
body.custom-cursor-active,
body.custom-cursor-active *,
body.custom-cursor-active *:hover,
body.custom-cursor-active *:focus { cursor: none !important; }

/* ── Noise Grain ──────────────────────────────────────────── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.038;
    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-size: 200px 200px;
}

/* ── Custom Cursor ────────────────────────────────────────── */
#cursor {
    position: fixed;
    top: 0; left: 0;
    width: 7px; height: 7px;
    background: var(--text-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out-expo),
                height 0.35s var(--ease-out-expo),
                background 0.35s;
    will-change: transform;
}
#cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.45s var(--ease-out-expo),
                height 0.45s var(--ease-out-expo),
                border-color 0.45s,
                background 0.45s;
    will-change: transform;
}
#cursor-follower.magnetic-active {
    width: 56px; height: 56px;
    border-color: var(--accent-gold);
    background: var(--accent-gold-dim);
}

/* ── Navigation ───────────────────────────────────────────── */
.store-nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 64px;
    background: transparent;
    transition: background 0.6s, padding 0.5s var(--ease-out-expo),
                transform 0.6s var(--ease-out-expo), border-color 0.6s;
    border-bottom: 1px solid transparent;
}
.store-nav.scrolled {
    background: var(--ui-glass);
    padding: 22px 64px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--ui-border);
}
.store-nav.hidden { transform: translateY(-100%); }

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}
.nav-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: baseline;
    padding-right: 14px;
    margin-right: 14px;
    border-right: 1px solid var(--ui-border);
    letter-spacing: 0.01em;
}
.nav-logo-od {
    color: var(--accent-gold);
}
.nav-logo-sep {
    color: var(--text-faint);
    font-size: 0.65em;
    margin: 0 1px;
}
.nav-logo-s {
    color: rgba(240, 237, 230, 0.70);
    font-size: 0.82em;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-main);
}
.nav-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover { color: var(--text-main); }
.nav-odc-mark {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.nav-link:hover .nav-odc-mark { opacity: 1; }
.nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s var(--ease-out-expo);
}
.nav-link:hover .nav-arrow { transform: translateX(3px); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated gradient blobs */
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}
.hero-orb--1 {
    width: 70vmax;
    height: 70vmax;
    top: -20%;
    left: -15%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 65%);
    animation: orb-drift-1 32s ease-in-out infinite alternate;
}
.hero-orb--2 {
    width: 55vmax;
    height: 55vmax;
    bottom: -25%;
    right: -10%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
    animation: orb-drift-2 42s ease-in-out infinite alternate;
}
.hero-orb--3 {
    width: 40vmax;
    height: 40vmax;
    top: 30%;
    left: 40%;
    background: radial-gradient(circle, rgba(240, 237, 230, 0.025) 0%, transparent 55%);
    animation: orb-drift-3 26s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(8vw, 5vh) scale(1.08); }
    66%  { transform: translate(-4vw, 10vh) scale(0.96); }
    100% { transform: translate(12vw, -6vh) scale(1.04); }
}
@keyframes orb-drift-2 {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(-10vw, -8vh) scale(1.1); }
    80%  { transform: translate(5vw, -14vh) scale(0.93); }
    100% { transform: translate(-6vw, 4vh) scale(1.06); }
}
@keyframes orb-drift-3 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-15vw, -10vh) scale(1.15); }
    100% { transform: translate(10vw, 8vh) scale(0.9); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 960px;
}
.hero-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 36px;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.8rem, 9.5vw, 8.5rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    padding-bottom: 0.06em; /* protect descenders on final line */
}
.hero-title em {
    font-style: italic;
    color: var(--text-muted);
}
.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 52px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-br { display: inline; }

/* CTA link */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 18px 36px;
    border: 1px solid var(--ui-border-strong);
    position: relative;
    overflow: visible;     /* was: hidden — ring needs to paint 1px outside bounds */
    isolation: isolate;    /* creates stacking context for z-index: -1 ring */
    transition: border-color 0.4s, color 0.4s;
}
.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gold-dim);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
    clip-path: inset(0);   /* replaces overflow:hidden clipping for the fill slide */
}
/* Orbiting gradient ring — @property powers the conic-gradient animation */
.hero-cta::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--ring-pos),
        transparent 0%,
        rgba(201, 168, 76, 0) 12%,
        rgba(201, 168, 76, 0.65) 30%,
        rgba(201, 168, 76, 0.65) 38%,
        rgba(201, 168, 76, 0) 56%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: ring-orbit 5s linear infinite;
    z-index: -1;
    pointer-events: none;
}
@keyframes ring-orbit { to { --ring-pos: 360deg; } }
.hero-cta:hover { border-color: var(--accent-gold); }
.hero-cta:hover::before { transform: translateX(0); }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--accent-gold) 0%, transparent 100%);
    margin: 0 auto;
    animation: scroll-pulse 2.4s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(0.6) translateY(20px); }
}

/* ── Fade-up utility ──────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
                transform 0.9s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    transition-delay: var(--delay, 0s);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero elements: CSS animation as the primary reveal — never stuck invisible */
@keyframes hero-reveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero .fade-up {
    /* 'both' = hidden before delay, stays visible after — no JS required */
    animation: hero-reveal 1s cubic-bezier(0.16, 1, 0.3, 1)
               calc(var(--delay, 0s) + 0.35s) both;
    /* keep transition for any JS-triggered state changes */
    transition: none;
}

/* ── Marquee Band ─────────────────────────────────────────── */
.marquee-band {
    border-top:    1px solid var(--ui-border);
    border-bottom: 1px solid var(--ui-border);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap; /* prevent wrapping at every level */
    background: rgba(201, 168, 76, 0.018);
}
/* Animation lives on the track so -50% is reliably half of both copies */
.marquee-track {
    display: inline-flex; /* shrinks to content width, never stretches to 100vw */
    white-space: nowrap;
    animation: marquee-scroll 55s linear infinite;
    will-change: transform;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }

/* ── Section Label ────────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

/* ── Manifesto ────────────────────────────────────────────── */
.manifesto {
    padding: 160px 64px 140px;
    max-width: 1400px;
    margin: 0 auto;
}
.manifesto-inner { max-width: 900px; }
.manifesto-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 56px;
}
.manifesto-rule {
    flex: 1;
    height: 1px;
    background: var(--ui-border);
    max-width: 200px;
}
.manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 64px;
    overflow: visible;
    padding-bottom: 0.2em; /* space for descenders clipped by previous overflow:hidden */
}

/* Split character animation */
.split-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s var(--ease-out-expo),
                transform 0.75s var(--ease-out-expo);
    transition-delay: calc(var(--i) * 0.022s);
}
.split-reveal .char--space { width: 0.28em; }
.split-reveal .word { display: inline-block; white-space: nowrap; }
.split-reveal.is-visible .char {
    opacity: 1;
    transform: translateY(0);
}
/* Scramble JS takes over — suppress CSS char animation */
.split-reveal.scramble-active .char {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.manifesto-body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.88rem, 1.3vw, 1.05rem);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 48px;
}
.manifesto-footnote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-faint);
    letter-spacing: 0.5px;
}

/* ── Word blur-to-sharp reveal (manifesto body) ───────────── */
.word-blur-reveal .word-unit {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(6px);
    transition: opacity  0.7s ease-out calc(var(--wi, 0) * 0.055s),
                filter   0.7s ease-out calc(var(--wi, 0) * 0.055s),
                transform 0.7s ease-out calc(var(--wi, 0) * 0.055s);
}
.word-blur-reveal.is-visible .word-unit {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

/* ── Product Preview ──────────────────────────────────────── */
.preview {
    padding: 0 64px 160px;
    max-width: 1600px;
    margin: 0 auto;
}
.preview-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}
.preview-intro {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Asymmetric 3-col grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: start;
}
.preview-card:nth-child(1) { grid-column: 1 / 7; }
.preview-card:nth-child(2) { grid-column: 8 / 13; margin-top: 180px; }
.preview-card:nth-child(3) { grid-column: 3 / 10; margin-top: 100px; }

/* Card image container */
.preview-img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--ui-border);
    /* Clip-path reveal on scroll */
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path 1.3s var(--ease-in-out-circ),
                transform  0.6s ease-out;
    will-change: transform;
}
.preview-img-wrap.is-visible {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/* Specular light — follows cursor via JS-updated CSS vars */
.preview-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(
        400px circle at var(--spec-x, 50%) var(--spec-y, 50%),
        rgba(201, 168, 76, 0.12) 0%,
        rgba(201, 168, 76, 0.04) 30%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}
.preview-card:hover .preview-img-wrap::after { opacity: 1; }

/* Blurred image — mystery effect */
.preview-img-wrap img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: blur(32px) brightness(0.3) saturate(0.6);
    transform: scale(1.12) translateY(0);
    transition: filter 0.9s ease, transform 0.9s var(--ease-out-expo);
    will-change: transform;
}
.preview-card:hover .preview-img-wrap img {
    filter: blur(5px) brightness(0.55) saturate(0.8);
}

/* Overlay */
.preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.preview-overlay-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.9;
    transition: opacity 0.4s, letter-spacing 0.5s var(--ease-out-expo);
}
.preview-card:hover .preview-overlay-text {
    opacity: 0.5;
    letter-spacing: 8px;
}

/* Card meta */
.preview-meta {
    padding: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.preview-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.54rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.75;
}
.preview-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.preview-detail {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.preview-ordinal {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Waitlist ─────────────────────────────────────────────── */
.waitlist {
    border-top: 1px solid var(--ui-border);
    padding: 140px 64px;
    position: relative;
    overflow: hidden;
}

/* Breathing radial glow behind the waitlist */
.waitlist::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: breathe-glow 9s ease-in-out infinite;
}
@keyframes breathe-glow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.25); }
}

/* Ghost letterform — large decorative OD behind the form */
.waitlist-ghost {
    position: absolute;
    bottom: -0.08em;
    right: -0.04em;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14rem, 22vw, 26rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(201, 168, 76, 0.028);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.waitlist-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.waitlist-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.waitlist-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Form */
.waitlist-form-wrap {
    position: relative;
}
/* Cursor-tracking radial glow */
.waitlist-form-wrap::before {
    content: '';
    position: absolute;
    inset: -80px;
    background: radial-gradient(600px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(201, 168, 76, 0.10), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}
.waitlist-form-wrap:hover::before { opacity: 1; }
.waitlist-form { transition: opacity 0.4s ease; position: relative; z-index: 1; }
.form-row {
    display: flex;
    gap: 0;
    position: relative;
    border-bottom: 1px solid var(--ui-border-strong);
    margin-bottom: 16px;
}
/* Gold underline draw on focus */
.form-row::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.65s var(--ease-out-expo);
}
.form-row:focus-within::after { width: 100%; }
.waitlist-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    padding: 18px 0;
    letter-spacing: 0.3px;
    caret-color: var(--accent-gold);
}
.waitlist-input::placeholder { color: var(--text-faint); }
.waitlist-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 18px 0 18px 24px;
    white-space: nowrap;
    transition: color 0.3s;
    position: relative;
    overflow: hidden;
}
/* Shimmer sweep */
.waitlist-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.14), transparent);
    animation: btn-shimmer 3.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btn-shimmer {
    0%   { left: -120%; }
    60%  { left: 200%; }
    100% { left: 200%; }
}
.waitlist-btn::after {
    content: ' →';
    transition: transform 0.3s var(--ease-out-expo);
    display: inline-block;
}
.waitlist-btn:hover { color: var(--accent-gold); }
.waitlist-btn:hover::after { transform: translateX(4px); }
.waitlist-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.form-error {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    color: #a05040;
    min-height: 1em;
}

/* Success state */
.waitlist-success {
    display: none;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
}
.waitlist-success.visible { opacity: 1; }
.success-mark {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    animation: spin-in 0.6s var(--ease-out-expo) forwards;
}
@keyframes spin-in {
    from { transform: scale(0) rotate(-180deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.waitlist-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 340px;
}

/* ── Footer ───────────────────────────────────────────────── */
.store-footer {
    border-top: 1px solid var(--ui-border);
    padding: 72px 64px 56px;
    position: relative;
    overflow: hidden;
}
/* Ambient gold glow at the top of the footer */
.store-footer::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 280px;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
    position: relative;
    z-index: 1;
}

/* Ecosystem 3-column grid */
.footer-ecosystem {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--ui-border);
}
.footer-eco-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-eco-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-main);
}
.footer-eco-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(240, 237, 230, 0.70);
    line-height: 1.7;
    max-width: 260px;
}
.footer-eco-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-decoration: none;
    margin-top: 4px;
    transition: opacity 0.2s;
}
.footer-eco-link:hover { opacity: 0.7; }
.footer-eco-current {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.6;
    margin-top: 4px;
}
.footer-eco-active .footer-eco-label { color: var(--accent-gold); }

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1;
}
.footer-od { color: var(--accent-gold); }
.footer-sep { color: var(--text-faint); margin: 0 1px; }
.footer-s { color: var(--text-muted); }
.footer-bottom-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    line-height: 1.7;
    text-align: center;
}
.footer-copyright { color: rgba(240, 237, 230, 0.35); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .preview-card:nth-child(1) { grid-column: 1 / 8; }
    .preview-card:nth-child(2) { grid-column: 8 / 13; margin-top: 120px; }
    .preview-card:nth-child(3) { grid-column: 2 / 11; margin-top: 80px; }
}

@media (max-width: 768px) {
    .store-nav,
    .store-nav.scrolled { padding: 20px 24px; }

    /* Language picker — fix rendering on mobile (backdrop-filter stacking context) */
    .lang-btn {
        font-size: 0.65rem;
        padding: 10px 12px;
        min-height: 40px;
        border-color: var(--ui-border-strong);
    }
    .lang-dropdown {
        /* Force own GPU layer to escape backdrop-filter stacking issues on iOS */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        background: #111111;
        border: 1px solid var(--ui-border-strong);
        box-shadow: 0 8px 32px rgba(0,0,0,0.85);
        min-width: 120px;
        z-index: 9999;
        /* Reset the slide-up animation to account for new transform base */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, box-shadow 0.2s ease;
    }
    .lang-dropdown.is-open {
        opacity: 1;
        pointer-events: auto;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .lang-option {
        font-size: 0.68rem;
        padding: 11px 16px;
    }

    .hero-title { font-size: 3.5rem; }
    .hero-sub { font-size: 0.85rem; }
    .hero-br { display: none; }

    .manifesto { padding: 100px 24px 80px; }
    .manifesto-text { font-size: 2.1rem; }

    .preview { padding: 0 24px 100px; }
    .preview-grid { grid-template-columns: 1fr; gap: 48px; }
    .preview-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }

    .waitlist { padding: 100px 24px; }
    .waitlist-inner { grid-template-columns: 1fr; gap: 48px; }

    .store-footer { padding: 56px 24px 40px; }
    .footer-ecosystem { grid-template-columns: 1fr; gap: 36px; }
    .footer-eco-desc { max-width: none; }
    .footer-bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
    .footer-bottom-meta { text-align: left; }

    #cursor, #cursor-follower { display: none; }
}

@media (max-width: 480px) {
    .store-nav { padding: 18px 20px; }
    .hero-title { font-size: 2.8rem; }
    .manifesto-text { font-size: 1.8rem; }
    .hero-cta { padding: 16px 24px; }
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    /* Styled state (shown on :focus) */
    background: var(--accent-gold);
    color: var(--bg-base);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 99999;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    padding: 8px 16px;
}

/* ── Screen Reader Only ───────────────────────────────────── */
.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;
}

/* ── Focus Indicators ─────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

/* ── Footer Legal ─────────────────────────────────────────── */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.footer-legal-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
}
.footer-legal-link:hover,
.footer-legal-link:focus-visible {
    color: var(--text-main);
}

/* ── Before You Go Card ───────────────────────────────────── */
.byg-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease-out-expo);
}
.byg-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.byg-card {
    position: relative;
    background: #0e0e0e;
    border: 1px solid var(--ui-border-strong);
    border-radius: 4px;
    padding: 48px 52px 44px;
    max-width: 480px;
    width: 100%;
    transform: translateY(28px);
    transition: transform 0.5s var(--ease-out-expo);
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.byg-overlay.is-visible .byg-card {
    transform: translateY(0);
}
.byg-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color 0.2s;
}
.byg-close:hover { color: var(--text-main); }
.byg-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}
.byg-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 12px;
    padding-bottom: 0.05em;
}
.byg-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}
.byg-form-row {
    display: flex;
    gap: 0;
    border: 1px solid var(--ui-border-strong);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.25s;
}
.byg-form-row:focus-within { border-color: var(--accent-gold); }
.byg-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-main);
    min-width: 0;
}
.byg-input::placeholder { color: var(--text-muted); }
.byg-btn {
    background: var(--accent-gold);
    color: #050505;
    border: none;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.byg-btn:hover { opacity: 0.85; }
.byg-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.byg-error {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    color: #a05040;
    min-height: 1em;
    margin-top: 8px;
}
.byg-success {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 20px 0 4px;
}
.byg-success.visible { display: flex; }
.byg-success-mark {
    color: var(--accent-gold);
    font-size: 1.1rem;
}
.byg-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .byg-card { padding: 40px 28px 36px; }
    .byg-overlay { align-items: flex-end; padding: 0; }
    .byg-card { border-radius: 4px 4px 0 0; max-width: 100%; }
}

/* ── Gold Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.28);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.55); }

/* ── Reduced Motion — disable decorative animations ──────── */
@media (prefers-reduced-motion: reduce) {
    .waitlist::before           { animation: none; }
    .waitlist-btn::before       { animation: none; }
    .form-row::after            { transition: none; }
    .waitlist-form-wrap::before { transition: none; }
    /* Portfolio features */
    .hero-cta::after            { animation: none; opacity: 0; }
    .preview-img-wrap           { transition: clip-path 1.3s var(--ease-in-out-circ); }
    .preview-img-wrap::after    { display: none; }
    .word-blur-reveal .word-unit { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track { animation: none; }
    .parallax-img { transform: none !important; }
}

/* ── Nav Right + Lang Picker ──────────────────────────────── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lang-picker { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--ui-border);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 2px;
    transition: color 0.3s, border-color 0.3s;
    line-height: 1;
}
.lang-btn:hover { color: var(--text-main); border-color: var(--ui-border-strong); }
.lang-chevron {
    font-size: 0.75em;
    display: inline-block;
    transition: transform 0.25s var(--ease-out-expo);
}
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    list-style: none;
    background: #0e0e0e;
    border: 1px solid var(--ui-border);
    border-radius: 2px;
    padding: 6px 0;
    min-width: 130px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.22s var(--ease-out-expo);
    z-index: 2000;
}
.lang-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lang-option {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 9px 16px;
    transition: color 0.2s, background 0.2s;
    list-style: none;
}
.lang-option:hover { color: var(--text-main); background: rgba(255,255,255,0.04); }
.lang-option.active { color: var(--accent-gold); }
