* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f7f4ef;
    --text: #171411;
    --muted: #6f675f;
    --line: rgba(23, 20, 17, 0.12);
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================
   DEFAULT HEADER
========================= */

.top-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: #f3efe8;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* =========================
   TRANSPARENT / WHITE HEADER MODE
   Works when HTML uses .header-shell wrapper
========================= */

.header-shell {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.header-shell .top-bar,
.header-shell .site-header {
    background: transparent;
    color: #fff;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header-shell .top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.header-shell .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    top: auto;
}

.header-shell:hover .top-bar,
.header-shell:hover .site-header,
.header-shell.scrolled .top-bar,
.header-shell.scrolled .site-header {
    background: #fff;
    color: var(--text);
}

.header-shell:hover .top-bar,
.header-shell.scrolled .top-bar {
    border-bottom: 1px solid var(--line);
}

.header-shell:hover .site-header,
.header-shell.scrolled .site-header {
    border-bottom: 1px solid var(--line);
}

.header-shell.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* =========================
   OLD HEADER STRUCTURE SUPPORT
========================= */

.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 18px 28px;
}

.plain-btn {
    background: transparent;
    border: none;
    font-size: 13px;
    cursor: pointer;
    justify-self: start;
    color: inherit;
}

.header-icons {
    justify-self: end;
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: inherit;
}

/* =========================
   NEW HEADER STRUCTURE SUPPORT
========================= */

.lux-header {
    padding: 0 28px;
}

.header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-left {
    justify-self: start;
}

.header-right {
    justify-self: end;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    letter-spacing: 0.05em;
    text-align: center;
    color: inherit;
}

.icon-link,
.search-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.icon-link svg,
.search-wrap svg {
    width: 22px;
    height: 22px;
    display: block;
}

.search-wrap {
    gap: 0;
}

.count-icon {
    position: relative;
}

.count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: currentColor;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    padding: 14px 24px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.main-nav a {
    color: inherit;
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
}

.hero-media video {
    width: 100%;
    height: 100vh;
    min-height: 520px;
    object-fit: cover;
    display: block;
    background: #e9e3d9;
}

.hero-media img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100vh;
    min-height: 520px;
}

/* =========================
   REST OF PAGE
========================= */

.collection-banner {
    text-align: center;
    padding: 56px 20px 38px;
}

.collection-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
    color: var(--muted);
}

.collection-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.03em;
}

.double-feature {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px 70px;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 20px;
}

.feature-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: #ddd;
}

.large-card {
    min-height: 760px;
}

.small-card {
    min-height: 370px;
}

.feature-card img {
    height: 100%;
    transition: transform 0.8s ease;
}

.feature-card:hover img {
    transform: scale(1.04);
}

.overlay {
    position: absolute;
    left: 24px;
    bottom: 22px;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.collection-intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 28px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.small-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}

.intro-heading p {
    font-size: 17px;
    line-height: 1.8;
    color: #403934;
    margin-bottom: 20px;
}

.text-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.intro-quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.2vw, 3.5rem);
    line-height: 1.08;
}

.quote-author {
    margin-top: 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
}

.quick-links {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 28px 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.quick-links a {
    border-bottom: 1px solid var(--text);
    padding-bottom: 3px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.editorial-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.editorial-card {
    display: block;
}

.editorial-card img {
    height: 540px;
}

.editorial-caption {
    padding-top: 14px;
}

.editorial-caption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 500;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 55px 28px 28px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-grid h4 {
    margin-bottom: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .double-feature,
    .collection-intro,
    .editorial-grid,
    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .double-feature {
        display: block;
    }

    .large-card,
    .small-card {
        min-height: 420px;
        margin-bottom: 20px;
    }

    .editorial-grid {
        display: grid;
    }

    .editorial-card img {
        height: 420px;
    }
}

@media (max-width: 700px) {
    .top-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .header-top,
    .header-row {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .plain-btn,
    .header-icons {
        justify-self: center;
    }

    .header-left,
    .header-right {
        justify-content: center;
    }

    .logo {
        font-size: 30px;
    }

    .collection-banner h1 {
        font-size: 2.5rem;
    }

    .hero-media img,
    .hero-media video {
        height: 62vh;
    }

    .main-nav {
        gap: 14px;
        padding: 12px 12px 16px;
    }
}
