/* ═══════════════════════════════════════
   SWISS FRAGRANCEE — MOBILE-FIRST CSS
   Base = mobile · min-width = scale up
═══════════════════════════════════════ */

/* === TOKENS === */
:root {
    --black:       #09090A;
    --dark:        #111112;
    --dark-2:      #161617;
    --red:         #D52B1E;
    --dark-red:    #9B1410;
    --white:       #F8F4EE;
    --white-50:    rgba(248,244,238,0.5);
    --white-30:    rgba(248,244,238,0.3);
    --gold:        #C9A84C;
    --gold-light:  #E8C97A;
    --gold-dim:    rgba(201,168,76,0.2);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ──────────────────────────────────────
   NAV  (mobile-first → hamburger menu)
────────────────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 999;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: rgba(9,9,10,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gold-dim);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Hamburger — mobile only */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }

/* Mobile nav — dropdown */
.nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 0.5rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--gold-dim);
    order: 3;
}
.nav.open .nav-links { display: flex; }
.nav-links li a {
    display: block;
    padding: 0.8rem 0;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-50);
    transition: color 0.25s;
}
.nav-links li a:active { color: var(--gold); }

/* ≥ 768 px — horizontal nav, no hamburger */
@media (min-width: 768px) {
    .nav { padding: 1.1rem 2.5rem; flex-wrap: nowrap; }
    .nav-brand { font-size: 1.1rem; }
    .nav-hamburger { display: none; }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        width: auto;
        gap: 2.5rem;
        padding: 0;
        margin-top: 0;
        border-top: none;
        order: 0;
    }
    .nav-links li a { padding: 0; font-size: 0.67rem; }
    .nav-links li a:hover { color: var(--gold); }
}
@media (min-width: 1200px) {
    .nav { padding: 1.2rem 4rem; }
    .nav-brand { font-size: 1.15rem; }
}

/* ──────────────────────────────────────
   HERO  (mobile-first)
────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: min(100vw, 480px);
    height: min(100vw, 480px);
    background: radial-gradient(circle, rgba(213,43,30,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.hero-cross {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
    opacity: 0.04;
    animation: crossPulse 9s ease-in-out infinite;
    pointer-events: none;
}
@keyframes crossPulse {
    0%,100% { opacity: 0.035; transform: translate(-50%,-50%) scale(1); }
    50%      { opacity: 0.06;  transform: translate(-50%,-50%) scale(1.05); }
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem 2rem;
    width: 100%;
}
.hero-eyebrow {
    font-size: 0.59rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 11vw, 9rem);
    font-weight: 300;
    line-height: 0.88;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeUp 0.8s 0.12s ease both;
}
.hero-title .red { color: var(--red); display: block; }
.hero-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
    animation: fadeUp 0.8s 0.26s ease both;
}
.hero-sub {
    font-size: 0.64rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--white-50);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.38s ease both;
}
.hero-cta {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    animation: fadeUp 0.8s 0.52s ease both;
    -webkit-tap-highlight-color: transparent;
}
.hero-cta:active,
.hero-cta:hover { background: var(--gold); color: var(--black); }
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────
   BADGE BAR  (stacked → row)
────────────────────────────────────── */
.badge-bar {
    background: var(--red);
    padding: 0.8rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.59rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.15rem 0;
}
.badge-icon { color: rgba(255,255,255,0.65); flex-shrink: 0; }

@media (min-width: 600px) {
    .badge-bar {
        flex-direction: row;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        gap: 0;
    }
    .badge-item {
        padding: 0 1.75rem;
        font-size: 0.61rem;
        letter-spacing: 0.22em;
    }
    .badge-item:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.25);
    }
}
@media (min-width: 900px) {
    .badge-bar { padding: 1rem 2rem; }
    .badge-item { padding: 0 2.5rem; letter-spacing: 0.24em; }
}

/* ──────────────────────────────────────
   ABOUT  (stacked → 2-col)
────────────────────────────────────── */
.about-section {
    padding: 4rem 1.25rem;
    max-width: 1300px;
    margin: 0 auto;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    max-width: 180px;
    margin: 0 auto;
}
.eyebrow {
    font-size: 0.61rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.body-text {
    font-size: 0.8rem;
    line-height: 1.9;
    color: var(--white-50);
    margin-bottom: 1rem;
}

@media (min-width: 900px) {
    .about-section { padding: 6rem 2.5rem; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .about-visual { order: 0; max-width: 260px; margin: 0; }
}
@media (min-width: 1200px) {
    .about-section { padding: 8rem 4rem; }
    .about-grid { gap: 8rem; }
    .about-visual { max-width: 320px; }
}

/* ──────────────────────────────────────
   COLLECTION  (1-col → 2-col → 3-col)
   Touch: CTA always visible
   Hover device: hover reveals CTA
────────────────────────────────────── */
.collection-section {
    background: var(--dark-2);
    padding: 4rem 0 5rem;
}
.collection-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.collection-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
}
.product-card {
    background: #000;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Overlay: always partially visible on touch */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,9,10,0.92) 0%, transparent 55%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.4s;
}
/* CTA: always visible on touch */
.product-cta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 1.1rem;
    transform: translateY(0);
    transition: transform 0.4s ease;
}
.product-cta span {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.55rem 1.4rem;
    transition: background 0.25s, color 0.25s;
    -webkit-tap-highlight-color: transparent;
}
.product-cta span:active { background: var(--gold); color: var(--black); }

/* Real photos */
.product-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.8rem 0.5rem 2.2rem;
    display: block;
    transition: transform 0.5s ease;
}
.product-photo-transparent {
    object-fit: contain;
    padding: 0.8rem 0.5rem 2.2rem;
}

/* Hover-capable devices: hide CTA until hover */
@media (hover: hover) and (pointer: fine) {
    .product-overlay { opacity: 0; }
    .product-cta { transform: translateY(100%); }
    .product-card:hover .product-overlay { opacity: 1; }
    .product-card:hover .product-cta { transform: translateY(0); }
    .product-card:hover .product-photo { transform: scale(1.06); }
    .product-cta span:hover { background: var(--gold); color: var(--black); }
}

.collection-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-30);
}
/* Show touch/hover label based on device capability */
.note-hover { display: none; }
.note-touch { display: inline; }
@media (hover: hover) and (pointer: fine) {
    .note-hover { display: inline; }
    .note-touch { display: none; }
}

/* Grid breakpoints */
@media (min-width: 540px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .collection-section { padding: 6rem 0 7rem; }
    .collection-inner { padding: 0 2.5rem; }
    .collection-header { margin-bottom: 3.5rem; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .collection-inner { padding: 0 4rem; }
}

/* ──────────────────────────────────────
   IG STRIP
────────────────────────────────────── */
.ig-strip {
    background: var(--red);
    padding: 1.2rem 1.25rem;
    display: flex;
    justify-content: center;
}
.ig-strip a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: white;
    transition: opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.ig-strip a:hover { opacity: 0.8; }

/* ──────────────────────────────────────
   CONTACT  (stacked → row)
────────────────────────────────────── */
.contact-section {
    padding: 4rem 1.25rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}
.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}
.contact-card {
    width: 100%;
    max-width: 340px;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--gold-dim);
    background: var(--dark-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.contact-card:active { border-color: rgba(201,168,76,0.45); }
.contact-label {
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}
.contact-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}
.contact-value a { transition: color 0.25s; }
.contact-value a:active,
.contact-value a:hover { color: var(--gold); }

@media (min-width: 768px) {
    .contact-section { padding: 6rem 2rem; }
    .contact-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 1.25rem;
        margin-top: 3.5rem;
    }
    .contact-card {
        flex: 1;
        min-width: 200px;
        max-width: 260px;
        padding: 2rem 1.5rem;
    }
    .contact-card:hover { border-color: rgba(201,168,76,0.45); }
}
@media (min-width: 1200px) {
    .contact-section { padding: 8rem 4rem; }
    .contact-card { max-width: 280px; padding: 2.5rem 2rem; }
    .contact-value { font-size: 1.2rem; }
}

/* ──────────────────────────────────────
   FOOTER  (stacked → row)
────────────────────────────────────── */
footer {
    background: var(--dark-2);
    border-top: 1px solid var(--gold-dim);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-ig {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.63rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-50);
    transition: color 0.25s;
    -webkit-tap-highlight-color: transparent;
}
.footer-ig:hover { color: var(--gold); }
.footer-copy {
    font-size: 0.58rem;
    color: var(--white-30);
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    footer {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 1.75rem 2.5rem;
        gap: 0.5rem;
    }
}
@media (min-width: 1200px) {
    footer { padding: 2rem 4rem; }
}

/* ──────────────────────────────────────
   ACCESSIBILITY
────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero-cross { animation: none; }
    .hero-eyebrow, .hero-title, .hero-divider,
    .hero-sub, .hero-cta { animation: none; }
}
