/* =========================================================
   TRENDZ CLOSET — Master Stylesheet
   Midnight Couture · A Dark Luxury Atelier System
   ========================================================= */

:root {
    /* === Core dark luxury palette === */
    --night:        #08060A;                /* deepest void, page base */
    --obsidian:     #0E0B12;                /* primary surface */
    --onyx:         #16111A;                /* raised surface */
    --plum:         #1B121F;                /* warm raised surface */
    --smoke:        #221823;                /* hover surface */
    --shadow:       #2B1F2C;                /* line / divider base */

    /* Semantic surface tokens (kept under existing names so
       inline styles across all pages adopt the dark theme) */
    --paper:        var(--night);           /* was light cream */
    --bone:         var(--obsidian);        /* was ivory */
    --bone-warm:    var(--plum);            /* was warm cream */
    --ink:          #050306;                /* deepest panel */
    --ink-soft:     #0F0A12;
    --blush:        #2A1A23;
    --sand:         #2E2128;

    /* Accent jewels */
    --wine:         #6B1A2C;                /* deeper bordeaux */
    --wine-deep:    #3D0915;
    --wine-soft:    #8B2B40;
    --wine-glow:    rgba(143, 38, 64, 0.32);

    /* Champagne gold (the brand's signature) */
    --gold:         #C9A35E;
    --gold-bright:  #E5C887;
    --gold-pale:    #F2DDB0;
    --gold-deep:    #8E6F3A;
    --gold-glow:    rgba(201, 163, 94, 0.28);
    --gold-glow-strong: rgba(229, 200, 135, 0.45);

    /* Text on dark */
    --text:         #EDE3D2;                /* warm ivory body */
    --text-mid:     #B6A89A;                /* secondary */
    --text-soft:    #847363;                /* muted */
    --text-pale:    #5C4F45;                /* placeholder */

    /* Lines / borders on dark */
    --line:         rgba(201, 163, 94, 0.10);
    --line-light:   rgba(201, 163, 94, 0.18);
    --line-strong:  rgba(201, 163, 94, 0.32);
    --line-dark:    rgba(237, 227, 210, 0.08);

    --white:        #FFFFFF;
    --wa-green:     #25D366;

    /* Typography */
    --font-display: 'Italiana', 'Cormorant Garamond', serif;
    --font-serif:   'Cormorant Garamond', serif;
    --font-sans:    'Outfit', system-ui, sans-serif;
    --font-body:    'Outfit', system-ui, sans-serif;

    /* Motion */
    --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elegant: cubic-bezier(0.65, 0, 0.35, 1);

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 9rem;

    /* Layout */
    --nav-h: 78px;
    --nav-h-scrolled: 64px;
    --container: 1440px;

    /* Glow / shadow */
    --shadow-soft: 0 30px 60px -30px rgba(0,0,0,0.7);
    --shadow-deep: 0 50px 100px -40px rgba(0,0,0,0.85);
    --glow-gold: 0 0 50px var(--gold-glow);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--night);
}

body {
    font-family: var(--font-sans);
    background: var(--night);
    color: var(--text);
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.012em;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Atmospheric backdrop: subtle warm wine glow + grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 0%, rgba(107,26,44,0.18), transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 100%, rgba(201,163,94,0.06), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.85 0 0 0 0 0.6 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--night); }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-deep), var(--wine));
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--wine-soft));
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.005em;
    color: var(--text);
}

h1 .italic, h2 .italic, h3 .italic, h4 .italic, .italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}
.eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center {
    justify-content: center;
}
.eyebrow.center::before {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 56px;
}
.eyebrow.center::after {
    content: '';
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 4%;
}
.container-narrow {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 4%;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}
.section-tall { padding: var(--space-2xl) 0; }

.section-head { margin-bottom: 4.5rem; }
.section-head.center { text-align: center; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
    margin-bottom: 1.2rem;
}
.section-head p {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 620px;
    line-height: 1.75;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Surface backgrounds (semantic, all dark) */
.bg-paper {
    background: var(--paper);
}
.bg-bone {
    background:
        linear-gradient(180deg, transparent, rgba(107,26,44,0.04) 50%, transparent),
        var(--obsidian);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.bg-bone-warm {
    background: linear-gradient(180deg, var(--plum), var(--obsidian));
}
.bg-ink {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107,26,44,0.18), transparent 70%),
        var(--ink);
    color: var(--text);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--text); }
.bg-ink p { color: var(--text-mid); }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
    background: linear-gradient(90deg, #050306, var(--ink), #050306);
    color: var(--gold-pale);
    padding: 0.55rem 0;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.announce-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
    opacity: 0.35;
    pointer-events: none;
}
.announce-track {
    display: inline-flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}
.announce-track span {
    flex-shrink: 0;
    color: var(--gold-pale);
    opacity: 0.85;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: all 0.5s var(--ease);
    background: linear-gradient(180deg, rgba(8,6,10,0.55), rgba(8,6,10,0));
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.nav.opaque {
    background: rgba(8,6,10,0.82);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--line);
    height: var(--nav-h-scrolled);
}
.nav-inner {
    height: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2.5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.nav-right { justify-content: flex-end; }

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -2px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: all 0.4s var(--ease);
    transform: translateX(-50%);
}
.nav-link:hover { color: var(--gold-pale); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.1rem;
    transition: opacity 0.3s var(--ease);
}
.nav-brand:hover { opacity: 0.85; }
.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    letter-spacing: 0.42em;
    color: var(--gold-pale);
    line-height: 1;
    padding-left: 0.42em;
    text-shadow: 0 0 24px rgba(201,163,94,0.25);
}
.nav-brand-tag {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.7rem;
    color: var(--text-mid);
    letter-spacing: 0.2em;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-pale);
    border: 1px solid var(--line-light);
    padding: 0.55rem 1rem;
    transition: all 0.3s var(--ease);
    border-radius: 99px;
}
.nav-icon-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.nav-icon-btn:hover {
    color: var(--night);
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 25px var(--gold-glow);
}
.nav-icon-btn.active {
    background: var(--gold);
    color: var(--night);
    border-color: var(--gold);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    cursor: pointer;
}
.nav-burger span {
    height: 1.5px;
    background: var(--gold-pale);
    transition: all 0.3s var(--ease);
}
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1100px) {
    .nav-inner { grid-template-columns: auto 1fr auto; }
    .nav-left .nav-link, .nav-right .nav-link { display: none; }
    .nav-burger { display: flex; }
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 0; left: -100%;
    width: 88%;
    max-width: 440px;
    height: 100vh;
    background: linear-gradient(180deg, var(--ink), var(--obsidian));
    z-index: 200;
    transition: left 0.5s var(--ease);
    padding: 5rem 3rem 3rem;
    overflow-y: auto;
    border-right: 1px solid var(--line-light);
}
.mobile-drawer.open { left: 0; }
.mobile-drawer-close {
    position: absolute;
    top: 1.6rem; right: 1.6rem;
    width: 36px; height: 36px;
    color: var(--gold);
    cursor: pointer;
}
.mobile-drawer-close::before, .mobile-drawer-close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 22px; height: 1px;
    background: currentColor;
}
.mobile-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-drawer-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 3rem;
}
.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--text);
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-nav-links a:hover { color: var(--gold); transform: translateX(6px); }
.mobile-nav-links .num {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.3em;
}
.mobile-drawer-footer {
    border-top: 1px solid var(--line-light);
    padding-top: 1.8rem;
    color: var(--text-mid);
}
.mobile-drawer-footer p {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}
.mobile-drawer-footer a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text);
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    background: var(--night);
}
.hero-media {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 7s var(--ease);
    filter: brightness(0.62) saturate(1.05) contrast(1.05);
}
.hero-slide.active { opacity: 1; }
.hero-slide.active img { transform: scale(1.12); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8,6,10,0.45) 0%, rgba(8,6,10,0.15) 30%, rgba(8,6,10,0.85) 100%),
        radial-gradient(ellipse at 30% 60%, rgba(107,26,44,0.35), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 8rem;
    max-width: 1700px;
    margin: 0 auto;
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: hero-fade 1.2s var(--ease) 0.3s forwards;
}
.hero-eyebrow::before {
    content: '';
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8.5vw, 7.4rem);
    line-height: 0.96;
    color: var(--gold-pale);
    letter-spacing: -0.018em;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    opacity: 0;
    animation: hero-fade 1.4s var(--ease) 0.5s forwards;
}
.hero h1 .italic {
    color: var(--gold);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.hero-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.55;
    max-width: 600px;
    margin-bottom: 2.6rem;
    opacity: 0;
    animation: hero-fade 1.4s var(--ease) 0.8s forwards;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-fade 1.4s var(--ease) 1.1s forwards;
}
@keyframes hero-fade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: var(--gold-pale);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    z-index: 4;
    opacity: 0.6;
}
.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin: 0.7rem auto 0;
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
    50%      { transform: scaleY(1);   opacity: 1;   }
}

.hero-progress {
    position: absolute;
    bottom: 2.5rem; right: 5%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.hero-counter {
    color: var(--gold-pale);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.18em;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.hero-counter .total { color: var(--text-soft); font-size: 0.7rem; }
.hero-dots { display: flex; gap: 0.6rem; }
.hero-dot {
    width: 28px; height: 1px;
    background: rgba(242, 221, 176, 0.3);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.hero-dot.active {
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
    width: 50px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.05rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.45s var(--ease);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-130%);
    transition: transform 0.7s var(--ease);
    z-index: -1;
}
.btn:hover::before { transform: translateX(130%); }

.btn-primary, .btn-gold {
    background: linear-gradient(120deg, var(--gold), var(--gold-bright));
    color: var(--night);
    border-color: var(--gold);
    box-shadow: 0 14px 40px -14px var(--gold-glow-strong);
}
.btn-primary:hover, .btn-gold:hover {
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    box-shadow: 0 18px 50px -14px var(--gold-glow-strong), 0 0 0 1px var(--gold-bright);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--gold-pale);
    color: var(--night);
    border-color: var(--gold-pale);
}
.btn-light:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    box-shadow: 0 14px 40px -14px var(--gold-glow-strong);
}

.btn-outline-light {
    border-color: var(--gold-pale);
    color: var(--gold-pale);
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--gold-pale);
    color: var(--night);
}

.btn-outline {
    border-color: var(--line-strong);
    color: var(--gold);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--night);
    background: var(--gold);
}

.btn-wa {
    background: var(--wa-green);
    color: white;
    border-color: var(--wa-green);
}
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.btn-wa:hover { background: #1ebd58; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(37,211,102,0.5); }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line-light);
    transition: all 0.3s var(--ease);
}
.btn-link svg { stroke: currentColor; fill: none; transition: transform 0.4s var(--ease); }
.btn-link:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }
.btn-link:hover svg { transform: translateX(5px); }

/* ===== STORY / TRUST STRIP ===== */
.story-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--ink);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.story-item {
    padding: 2.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid var(--line);
    transition: background 0.4s var(--ease);
}
.story-item:last-child { border-right: none; }
.story-item:hover { background: var(--obsidian); }
.story-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    color: var(--gold);
}
.story-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.story-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold-pale);
    letter-spacing: 0.04em;
    font-weight: 400;
}
.story-text span {
    font-size: 0.72rem;
    color: var(--text-soft);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .story-strip { grid-template-columns: repeat(2, 1fr); }
    .story-item:nth-child(2) { border-right: none; }
    .story-item:nth-child(1), .story-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
    .story-strip { grid-template-columns: 1fr; }
    .story-item { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===== CATEGORY GRID ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    padding: 0 4%;
    max-width: 1700px;
    margin: 0 auto;
}
.cat-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--obsidian);
    border: 1px solid var(--line);
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cat-card.span-7  { grid-column: span 7; aspect-ratio: 7/6; }
.cat-card.span-5  { grid-column: span 5; aspect-ratio: 5/6; }
.cat-card.span-4  { grid-column: span 4; }
.cat-card.span-12 { grid-column: span 12; aspect-ratio: 21/8; }
.cat-card.wide    { aspect-ratio: 21/8; }

.cat-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
    filter: brightness(0.7) saturate(1.05);
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8,6,10,0.85) 100%);
    z-index: 1;
    transition: opacity 0.5s var(--ease);
}
.cat-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.2rem;
    z-index: 2;
    color: var(--text);
    transform: translateY(0);
    transition: transform 0.5s var(--ease);
}
.cat-card-info .num {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.7rem;
}
.cat-card-info h3 {
    font-family: var(--font-display);
    font-size: 2.1rem;
    color: var(--gold-pale);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
    line-height: 1;
}
.cat-card-info p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-mid);
    font-size: 1rem;
    transition: color 0.3s var(--ease);
}

.cat-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px var(--gold-glow);
}
.cat-card:hover img { transform: scale(1.08); filter: brightness(0.85) saturate(1.15); }
.cat-card:hover::before { opacity: 0.85; }
.cat-card:hover .cat-card-info p { color: var(--gold); }

/* gold corner mark on cards */
.cat-card::after {
    content: '';
    position: absolute;
    top: 16px; right: 16px;
    width: 20px; height: 20px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    opacity: 0;
    transition: all 0.5s var(--ease);
    z-index: 3;
}
.cat-card:hover::after { opacity: 0.7; transform: translate(4px, -4px); }

@media (max-width: 1000px) {
    .cat-card.span-7, .cat-card.span-5, .cat-card.span-4 { grid-column: span 6; aspect-ratio: 4/5; }
    .cat-card.span-12, .cat-card.wide { grid-column: span 12; aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
    .cat-grid { grid-template-columns: 1fr; }
    .cat-card { grid-column: span 12 !important; aspect-ratio: 5/6 !important; }
    .cat-card.span-12, .cat-card.wide { aspect-ratio: 4/3 !important; }
}

/* ===== MARQUEE BANNER ===== */
.marquee-banner {
    background: linear-gradient(90deg, var(--ink), var(--obsidian) 50%, var(--ink));
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    padding: 1.6rem 0;
    overflow: hidden;
    position: relative;
}
.marquee-banner::before, .marquee-banner::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-banner::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-banner::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    color: var(--gold-pale);
    text-transform: uppercase;
}
.marquee-track .italic { color: var(--gold); font-family: var(--font-serif); font-style: italic; }
.marquee-track .dot { color: var(--gold); margin: 0 1.4rem; opacity: 0.8; }

/* ===== PRODUCTS ===== */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem 1.5rem;
    padding: 0 4%;
    max-width: 1700px;
    margin: 0 auto;
}

.product-card {
    cursor: pointer;
    position: relative;
    transition: transform 0.5s var(--ease);
}
.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--obsidian);
    border: 1px solid var(--line);
}
.product-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter 0.5s var(--ease);
    filter: brightness(0.92) saturate(1.05);
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); filter: brightness(1.02); }
.product-card:hover .product-image-wrap { border-color: var(--line-strong); }

.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gold);
    color: var(--night);
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    padding: 0.4rem 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 16px -6px var(--gold-glow-strong);
}
.product-badge.gold { background: var(--gold); color: var(--night); }
.product-badge.wine { background: var(--wine); color: var(--gold-pale); }

.product-quick {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    gap: 0;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
    z-index: 2;
}
.product-card:hover .product-quick { transform: translateY(0); }

.quick-btn {
    flex: 1;
    background: rgba(8,6,10,0.92);
    color: var(--gold-pale);
    backdrop-filter: blur(10px);
    padding: 0.95rem 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 500;
    border: none;
    border-top: 1px solid var(--line-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease);
}
.quick-btn:hover { background: var(--gold); color: var(--night); }
.quick-btn svg { width: 14px; height: 14px; fill: currentColor; }
.quick-btn.icon-only { flex: 0 0 auto; padding: 0.95rem 1.2rem; border-left: 1px solid var(--line-light); }
.quick-btn.icon-only svg { stroke: currentColor; fill: none; }

.product-info {
    padding: 1.1rem 0.2rem 0;
}
.product-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.4rem;
    font-weight: 400;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.product-price {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.product-cat {
    font-size: 0.65rem;
    color: var(--text-soft);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .products { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

/* loading state */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-soft);
}
.spinner {
    width: 40px; height: 40px;
    border: 1.5px solid var(--line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ===== FEATURE HERO (split image + text) ===== */
.feature-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, var(--ink), var(--plum));
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    overflow: hidden;
    position: relative;
}
.feature-hero-image {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}
.feature-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(1.05);
    transition: transform 1.2s var(--ease);
}
.feature-hero:hover .feature-hero-image img { transform: scale(1.05); }
.feature-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, var(--ink));
}

.feature-hero-text {
    padding: 5rem 5rem 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
}
.feature-hero-text .number {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
}
.feature-hero-text h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 1.6rem;
    color: var(--gold-pale);
    line-height: 1.05;
}
.feature-hero-text p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.feature-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.feature-hero-tags span {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    border: 1px solid var(--line-light);
    padding: 0.45rem 0.85rem;
    color: var(--gold-pale);
    border-radius: 99px;
}

@media (max-width: 1000px) {
    .feature-hero { grid-template-columns: 1fr; }
    .feature-hero-image { min-height: 360px; }
    .feature-hero-image::after { background: linear-gradient(180deg, transparent 60%, var(--ink)); }
    .feature-hero-text { padding: 3rem 2rem 4rem; }
}

/* ===== EDITORIAL SPLIT ===== */
.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: var(--space-xl) 5%;
    max-width: 1500px;
    margin: 0 auto;
}
.editorial-split.reverse { direction: rtl; }
.editorial-split.reverse > * { direction: ltr; }

.editorial-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-deep);
}
.editorial-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
    filter: brightness(0.92) saturate(1.05);
}
.editorial-image:hover img { transform: scale(1.04); }
.editorial-image .pin {
    position: absolute;
    top: 1.4rem; left: 1.4rem;
    background: var(--ink);
    color: var(--gold);
    padding: 0.55rem 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--line-light);
    backdrop-filter: blur(8px);
}

.editorial-text .number {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
}
.editorial-text h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    color: var(--gold-pale);
    margin-bottom: 1.6rem;
}
.editorial-text h3 .italic {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
}
.editorial-text p {
    color: var(--text-mid);
    line-height: 1.85;
    font-size: 1.02rem;
    margin-bottom: 1.4rem;
}
.editorial-text .quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold-pale);
    border-left: 2px solid var(--gold);
    padding: 0.4rem 0 0.4rem 1.6rem;
    margin: 2rem 0;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .editorial-split { grid-template-columns: 1fr; gap: 2.5rem; padding: var(--space-lg) 5%; }
    .editorial-split.reverse { direction: ltr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background:
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(107,26,44,0.18), transparent 70%),
        var(--ink);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.testimonials::before, .testimonials::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}
.testimonials::before { top: -150px; left: -100px; }
.testimonials::after  { bottom: -150px; right: -100px; opacity: 0.7; }

.test-quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--gold);
    text-align: center;
    line-height: 0.2;
    margin-bottom: 1rem;
    opacity: 0.55;
}
.test-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1.55;
    color: var(--gold-pale);
    text-align: center;
    margin-bottom: 3rem;
    transition: opacity 0.5s var(--ease);
}
.test-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
}
.test-attribution .line {
    width: 32px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
}
.test-name {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    letter-spacing: 0.34em;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
}
.test-location {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}
.test-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}
.test-dots button {
    width: 30px; height: 1px;
    background: rgba(242, 221, 176, 0.25);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.test-dots button.active {
    background: var(--gold);
    width: 60px;
    box-shadow: 0 0 12px var(--gold-glow);
}

/* ===== MASONRY (lookbook) ===== */
.masonry {
    columns: 3;
    column-gap: 1.4rem;
    padding: 0 4%;
    max-width: 1700px;
    margin: 0 auto;
}
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 600px)  { .masonry { columns: 1; } }

.masonry-item {
    position: relative;
    margin-bottom: 1.4rem;
    break-inside: avoid;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--obsidian);
    transition: border-color 0.4s var(--ease);
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
    filter: brightness(0.86) saturate(1.05);
}
.masonry-item:hover img { transform: scale(1.05); filter: brightness(1); }
.masonry-item:hover { border-color: var(--line-strong); }
.masonry-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.4rem 1.5rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(8,6,10,0.92));
    color: var(--gold-pale);
    transform: translateY(0);
    transition: transform 0.5s var(--ease);
}
.masonry-caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-pale);
    letter-spacing: 0.04em;
    font-weight: 400;
    margin-bottom: 0.2rem;
}
.masonry-caption span {
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ===== JOURNAL CARDS ===== */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.journal-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    transition: transform 0.4s var(--ease);
}
.journal-card:hover { transform: translateY(-6px); }
.journal-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--obsidian);
}
.journal-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
    filter: brightness(0.9) saturate(1.05);
}
.journal-card:hover .journal-image img { transform: scale(1.07); }

.journal-meta {
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.journal-meta .cat { color: var(--gold); }
.journal-meta .dot { color: var(--gold); opacity: 0.7; }

.journal-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--gold-pale);
    line-height: 1.2;
    transition: color 0.3s var(--ease);
}
.journal-card:hover h3 { color: var(--gold); }
.journal-card p {
    color: var(--text-mid);
    line-height: 1.7;
    font-size: 0.95rem;
}

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

/* ===== NEWSLETTER ===== */
.newsletter {
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,163,94,0.08), transparent 70%),
        linear-gradient(180deg, var(--ink), var(--obsidian));
    padding: var(--space-2xl) 4%;
    text-align: center;
    border-top: 1px solid var(--line-light);
    position: relative;
    overflow: hidden;
}
.newsletter::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--wine-glow), transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}
.newsletter-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.newsletter h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--gold-pale);
}
.newsletter p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.4rem;
}
.newsletter-form {
    display: flex;
    gap: 0.4rem;
    max-width: 540px;
    margin: 0 auto;
    border: 1px solid var(--line-light);
    background: rgba(8,6,10,0.6);
    backdrop-filter: blur(8px);
    padding: 0.4rem;
}
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.95rem 1.2rem;
    color: var(--gold-pale);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    outline: none;
}
.newsletter-form input::placeholder {
    color: var(--text-soft);
    letter-spacing: 0.28em;
}
.newsletter-form button {
    background: var(--gold);
    color: var(--night);
    padding: 0.95rem 1.8rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.newsletter-form button:hover {
    background: var(--gold-bright);
    box-shadow: 0 0 30px var(--gold-glow-strong);
}
.newsletter-disclaimer {
    margin-top: 1.4rem !important;
    font-size: 0.7rem !important;
    color: var(--text-soft) !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, var(--ink), #050306);
    color: var(--text-mid);
    padding: 5rem 0 0;
    border-top: 1px solid var(--line-light);
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-pale);
    letter-spacing: 0.3em;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 20px var(--gold-glow);
}
.footer-brand .tag {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 1.6rem;
}
.footer-brand p { line-height: 1.8; max-width: 380px; color: var(--text-mid); }

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
    font-weight: 500;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
    font-family: var(--font-serif);
    color: var(--text);
    font-size: 1rem;
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
    display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact-line {
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}
.footer-contact-line a {
    color: var(--gold-pale);
    border-bottom: 1px solid var(--line-light);
    transition: color 0.3s var(--ease);
}
.footer-contact-line a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-copy {
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.footer-socials {
    display: flex;
    gap: 1rem;
}
.footer-socials a {
    width: 38px; height: 38px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-pale);
    transition: all 0.4s var(--ease);
}
.footer-socials a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-socials a:hover {
    background: var(--gold);
    color: var(--night);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -10px var(--gold-glow-strong);
}

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== FLOATING BUTTONS ===== */
.floating {
    position: fixed;
    bottom: 1.8rem; right: 1.8rem;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s var(--ease);
    position: relative;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.55);
}
.float-btn svg { width: 26px; height: 26px; fill: currentColor; }
.float-btn.wa  { background: var(--wa-green); }
.float-btn.msg { background: linear-gradient(135deg, #006AFF, #B061FF); }
.float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 40px -10px rgba(0,0,0,0.7);
}
.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: var(--gold-pale);
    padding: 0.55rem 1rem;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    border: 1px solid var(--line-light);
}
.float-btn:hover .float-tooltip { opacity: 1; transform: translateY(-50%) translateX(-3px); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5,3,6,0.92);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-inner {
    background: var(--ink);
    max-width: 1100px;
    width: 100%;
    max-height: 92vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-deep);
    position: relative;
    transform: scale(0.96);
    transition: transform 0.5s var(--ease);
}
.lightbox.active .lightbox-inner { transform: scale(1); }

.lb-image {
    background: var(--night);
    overflow: hidden;
    aspect-ratio: 4/5;
    max-height: 92vh;
}
.lb-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: var(--obsidian);
}
.lb-body {
    padding: 3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.lb-body .eyebrow { margin-bottom: 1.4rem; }
.lb-body h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-pale);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.lb-body .price {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-bottom: 1.4rem;
}
.lb-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
    margin: 1.6rem 0;
}
.lb-body .desc {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    white-space: pre-line;
}
.lb-buy { margin-top: auto; }
.lb-note {
    margin-top: 1rem;
    font-size: 0.66rem !important;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-soft) !important;
    text-align: center;
}
.lb-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 38px; height: 38px;
    background: rgba(8,6,10,0.85);
    color: var(--gold);
    z-index: 10;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.lb-close::before, .lb-close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 1px;
    background: currentColor;
}
.lb-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lb-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.lb-close:hover { background: var(--gold); color: var(--night); transform: rotate(90deg); }

@media (max-width: 800px) {
    .lightbox-inner { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .lb-image { aspect-ratio: 1; max-height: 60vh; }
    .lb-body { padding: 2rem; }
}

/* ===== PAGE HEADER (interior pages) ===== */
.page-header {
    padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(107,26,44,0.25), transparent 70%),
        linear-gradient(180deg, var(--ink), var(--obsidian));
    border-bottom: 1px solid var(--line-light);
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.breadcrumb a { color: var(--gold); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { color: var(--text-soft); }
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7.5vw, 6rem);
    color: var(--gold-pale);
    line-height: 1;
    margin-bottom: 1.4rem;
    text-shadow: 0 0 40px rgba(201,163,94,0.18);
}
.page-header h1 .italic {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
}
.page-header p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-mid);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== TIMELINE (about page) ===== */
.timeline {
    position: relative;
    margin: 4rem auto 0;
    max-width: 880px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 3rem 3rem 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 3rem 3rem;
    text-align: left;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 8px; right: -7px;
    width: 13px; height: 13px;
    background: var(--gold);
    border: 3px solid var(--night);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--gold-glow-strong);
    z-index: 2;
}
.timeline-item:nth-child(even)::before { left: -7px; right: auto; }

.timeline-year {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
}
.timeline-item h4 {
    font-family: var(--font-display);
    color: var(--gold-pale);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}
.timeline-item p {
    color: var(--text-mid);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.6rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold-pale);
    transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q::after {
    content: '+';
    color: var(--gold);
    font-size: 1.6rem;
    transition: transform 0.4s var(--ease);
    font-family: var(--font-sans);
    font-weight: 200;
}
.faq-item.open .faq-q { color: var(--gold); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
    color: var(--text-mid);
    line-height: 1.8;
    font-size: 0.98rem;
}
.faq-item.open .faq-a {
    max-height: 600px;
    padding: 0 0 1.8rem;
}

/* ===== CTA STRIP ===== */
.cta-strip {
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(107,26,44,0.22), transparent 70%),
        linear-gradient(180deg, var(--ink), var(--obsidian));
    padding: var(--space-2xl) 4%;
    text-align: center;
    border-top: 1px solid var(--line-light);
    position: relative;
    overflow: hidden;
}
.cta-strip-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-strip h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--gold-pale);
    line-height: 1.05;
    margin-bottom: 1.2rem;
}
.cta-strip p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.4rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1.in { transition-delay: 0.12s; }
.reveal.delay-2.in { transition-delay: 0.24s; }
.reveal.delay-3.in { transition-delay: 0.36s; }

/* ===== UTILITIES & HEADINGS WITHIN INLINE STYLES ===== */
/* Make sure inline-styled cards inherit dark colors properly */
h2, h3, h4 { color: var(--gold-pale); }
p { color: var(--text-mid); }
strong { color: var(--gold-pale); font-weight: 500; }

/* Form inputs (used in contact, etc) */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    background: rgba(8,6,10,0.6);
    border: 1px solid var(--line-light);
    color: var(--gold-pale);
    padding: 1rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: all 0.3s var(--ease);
    width: 100%;
    outline: none;
}
input::placeholder, textarea::placeholder {
    color: var(--text-soft);
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    text-transform: uppercase;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    background: rgba(8,6,10,0.85);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Tables */
table { border-collapse: collapse; width: 100%; color: var(--text); }
th, td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
thead th {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--line-light);
    background: rgba(8,6,10,0.5);
}
tbody tr:hover { background: rgba(201,163,94,0.04); }

/* Map filter (contact) */
iframe { background: var(--obsidian); }

/* Helper alignment */
.center { text-align: center; }

/* Print friendly fallback */
@media print {
    body { background: white; color: black; }
    body::before, body::after { display: none; }
}
