@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --black: #090909;
    --charcoal: #151515;
    --gold: #b99a61;
    --silver: #c4c4c4;
    --blue: #294d83;
    --cream: #e8dfd0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.site-header {
    min-height: 85px;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #29241c;
    background: #090909;
}

.wordmark {
    color: var(--silver);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    letter-spacing: 4px;
}

.wordmark span {
    color: var(--gold);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .3s;
}

nav a:hover {
    color: var(--gold);
}

.hero {
    min-height: 680px;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 50%, #182b46 0%, transparent 38%),
        linear-gradient(110deg, #090909 40%, #11151c 100%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(65px, 9vw, 115px);
    line-height: .95;
    font-weight: 400;
    margin-bottom: 35px;
}

.hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 35px;
    color: var(--silver);
}

.button {
    display: inline-block;
    padding: 17px 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .3s;
}

.button:hover {
    background: var(--gold);
    color: var(--black);
}

.hero-symbol {
    font-size: clamp(180px, 25vw, 350px);
    color: #b99a61;
    opacity: .25;
    font-family: serif;
    padding-right: 5%;
}

.section {
    padding: 110px 10%;
    text-align: center;
}

.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    font-weight: 400;
    margin-bottom: 55px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.collection-card {
    min-height: 280px;
    padding: 40px 25px;
    background: linear-gradient(145deg, #1d1b19, #101010);
    border: 1px solid #3c3020;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .3s;
}

.collection-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card-number {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 30px;
}

.collection-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--silver);
    margin-bottom: 15px;
}

.collection-card p,
.story p,
.contact p {
    font-size: 13px;
    line-height: 2;
    color: #aaa;
}

.story {
    background: #111111;
}

.story h2 {
    max-width: 750px;
    margin: 0 auto 30px;
}

.story p {
    max-width: 650px;
    margin: 15px auto;
}

.contact {
    background:
        radial-gradient(ellipse at center, #1a2940, #090909 70%);
}

.contact h2 {
    margin-bottom: 20px;
}

.contact .button {
    margin-top: 30px;
}

footer {
    text-align: center;
    padding: 55px 20px;
    border-top: 1px solid #332b20;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 3px;
}

footer p {
    margin-bottom: 12px;
}

footer small {
    display: block;
    margin-top: 25px;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        gap: 22px;
    }

    nav {
        gap: 17px;
    }

    nav a {
        font-size: 9px;
    }

    .hero {
        min-height: 550px;
        padding: 80px 7%;
    }

    .hero-symbol {
        position: absolute;
        right: -60px;
        opacity: .12;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 7%;
    }

    .section h2 {
        font-size: 43px;
    }
}

/* Official Tremor & Ash sapphire logo background */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/sapphire-logo.jpeg");
    background-repeat: no-repeat;
    background-position: right 7% center;
    background-size: auto 92%;
    opacity: 0.48;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-symbol {
    display: none;
}

@media (max-width: 700px) {
    .hero::before {
        background-position: center;
        background-size: auto 75%;
        opacity: 0.28;
    }
}

/* Refined sapphire hero composition */

.hero-content {
    flex: 0 1 52%;
    max-width: 560px;
}

.hero h1 {
    font-size: clamp(58px, 7vw, 96px);
}

.hero::before {
    background-position: right center;
    background-size: auto 78%;
    opacity: 0.38;
}

@media (max-width: 700px) {
    .hero-content {
        flex: 1;
    }

    .hero::before {
        background-position: center;
        background-size: auto 75%;
        opacity: 0.24;
    }
}

/* Seamless sapphire artwork integration */

.hero::before {
    background-position: 96% center;
    background-size: auto 68%;
    opacity: 0.85;
    mix-blend-mode: screen;
}

@media (max-width: 700px) {
    .hero::before {
        background-position: center;
        background-size: auto 65%;
        opacity: 0.45;
    }
}

/* =========================================
   TREMOR & ASH — VICTORIAN GOTHIC ATMOSPHERE
   ========================================= */

:root {
    --black: #090608;
    --charcoal: #171014;
    --gold: #b99a61;
    --silver: #c4c4c4;
    --blue: #294d83;
    --cream: #e8dfd0;
}

/* The gothic portrait becomes the page background */

body {
    background:
        linear-gradient(
            rgba(8, 5, 8, 0.52),
            rgba(8, 5, 8, 0.72)
        ),
        url("../images/victorian-portrait.png")
        center top / cover fixed no-repeat;
    background-color: #090608;
}

/* Dark, translucent Victorian header */

.site-header {
    background: rgba(9, 5, 8, 0.88);
    border-bottom: 1px solid rgba(185, 154, 97, 0.35);
    backdrop-filter: blur(8px);
}

/* Remove the old sapphire background from the hero */

.hero {
    background: transparent;
}

.hero::before {
    content: none;
}

/* Let the portrait show through the page sections */

.section {
    background: rgba(12, 7, 11, 0.48);
}

.story {
    background: rgba(12, 7, 11, 0.72);
}

.contact {
    background: rgba(12, 7, 11, 0.78);
}

footer {
    background: rgba(9, 5, 8, 0.90);
    border-top: 1px solid rgba(185, 154, 97, 0.35);
}

/* Preserve readable collection cards */

.collection-card {
    background: linear-gradient(
        145deg,
        rgba(37, 20, 29, 0.96),
        rgba(13, 9, 12, 0.97)
    );
    border-color: rgba(185, 154, 97, 0.45);
}

/* Mobile background adjustment */

@media (max-width: 700px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }
}


/* Header logo sizing */

.site-header {
    min-height: 100px;
    padding: 12px 7%;
}

.site-header .wordmark {
    display: flex;
    align-items: center;
    width: 230px;
    height: 76px;
    overflow: hidden;
}

.site-header .wordmark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Gothic romantic wordmark */

.site-header .wordmark {
    display: inline-block;
    width: auto;
    height: auto;
    overflow: visible;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #e4d9cb;
    text-decoration: none;
    text-shadow: 0 1px 12px rgba(185, 154, 97, 0.18);
}

.site-header .wordmark span {
    color: #bd9861;
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 700px) {
    .site-header .wordmark {
        font-size: 29px;
        letter-spacing: 4px;
    }
}


/* Seven-collection Victorian gallery */

.collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.collection-card {
    min-height: 300px;
    padding: 45px 28px;
    background: linear-gradient(
        145deg,
        rgba(43, 22, 32, 0.94),
        rgba(13, 8, 12, 0.97)
    );
    border: 1px solid rgba(185, 154, 97, 0.42);
}

.collection-card h3 {
    font-size: 34px;
}

.collection-card p {
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 950px) {
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}


/* Center the final seasonal collection card */

.collection-card:nth-child(7) {
    grid-column: 2;
}

@media (max-width: 950px) {
    .collection-card:nth-child(7) {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .collection-card:nth-child(7) {
        grid-column: 1;
        width: 100%;
    }
}


/* GONE, BUT NEVER FORGOTTEN — SOLD ARCHIVE */

.archive {
    position: relative;
    background: rgba(12, 7, 11, 0.72);
    border-top: 1px solid rgba(185, 154, 97, 0.35);
    border-bottom: 1px solid rgba(185, 154, 97, 0.25);
}

.archive h2 {
    margin-bottom: 24px;
}

.archive-intro {
    color: #b9aaa0;
    font-size: 14px;
    margin: 0 auto 45px;
    line-height: 1.8;
}

.archive-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.archive-card {
    position: relative;
    width: min(100%, 420px);
    min-height: 230px;
    padding: 55px 35px 40px;
    background: linear-gradient(145deg, #28131f, #100b10);
    border: 1px solid #705637;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sold-label {
    display: inline-block;
    margin-bottom: 25px;
    padding: 7px 18px;
    border: 1px solid #a77d55;
    color: #d0aa78;
    font-size: 10px;
    letter-spacing: 4px;
}

.archive-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 14px;
}

.archive-card p {
    max-width: 290px;
    color: #b9aaa0;
    font-size: 12px;
    line-height: 1.9;
}

@media (max-width: 700px) {
    .archive-card {
        width: 100%;
    }
}

/* Down the Rabbit Hole — Product Gallery */

.product-section {
    background: #0c0b0b;
    border-top: 1px solid rgba(185, 154, 97, 0.2);
}

.product-intro {
    max-width: 650px;
    margin: -30px auto 45px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: linear-gradient(145deg, #1d1a17, #101010);
    border: 1px solid #493b29;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 20px;
}

.product-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 400;
    color: var(--silver);
    margin-bottom: 10px;
}

.product-card p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

\n\n
/* Policies & Materials */
.policy-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.policy-copy h3 {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
    font-weight: 400;
    margin: 35px 0 12px;
}

.policy-copy p {
    color: #ccc;
    font-size: 13px;
    line-height: 2;
    margin-bottom: 16px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

footer a:hover {
    color: var(--cream);
}



/* Individual collection pages and clickable collection cards */
.collection-card-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.collection-card-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px;
}

.collection-page-hero {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collection-page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 7vw, 78px);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 22px;
}

.collection-page-intro {
    max-width: 720px;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    line-height: 1.5;
}

.collection-page-description {
    max-width: 680px;
    color: #bbb;
    font-size: 13px;
    line-height: 2;
    margin: 20px auto 30px;
}

.collection-coming {
    background: rgba(12, 7, 11, 0.65);
}

.collection-coming p {
    max-width: 650px;
    margin: 0 auto;
    color: #bbb;
    line-height: 2;
}

.material-note {
    margin: 14px 0;
    font-size: 11px;
    color: var(--gold);
}

.product-card .button {
    margin-top: 14px;
    font-size: 9px;
    padding: 12px 14px;
}

@media (max-width: 700px) {
    .collection-page-hero {
        min-height: 380px;
    }
}


/* Meet the Maker */
.maker-section h2 {
    margin-bottom: 45px;
}

.maker-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
    gap: 55px;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.maker-portrait img {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    border: 1px solid var(--gold);
    padding: 7px;
    background: rgba(9, 6, 8, 0.85);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    filter: grayscale(100%);
}

.maker-caption {
    max-width: 390px;
    margin-top: 16px;
    text-align: center;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    letter-spacing: 1px;
}

.maker-bio h3 {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 31px;
    font-weight: 400;
    margin-bottom: 22px;
}

.maker-bio p {
    color: #d0c5bd;
    font-size: 13px;
    line-height: 2;
    margin-bottom: 18px;
}

.maker-bio .maker-quote {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    margin: 30px 0;
}

.maker-bio .maker-signature {
    margin-top: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
}

.maker-signature strong {
    color: var(--gold);
    font-size: 25px;
}

@media (max-width: 700px) {
    .maker-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .maker-portrait img {
        max-width: 320px;
        margin: 0 auto;
    }

    .maker-bio h3 {
        text-align: center;
    }
}


/* Dark Devotion — cathedral atmosphere */
body.collection-dark-devotion {
    background-image:
        linear-gradient(rgba(8, 4, 7, 0.38), rgba(8, 4, 7, 0.58)),
        url('../images/dark-devotion-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-dark-devotion .collection-coming,
body.collection-dark-devotion .policies {
    background: rgba(9, 5, 8, 0.78);
}


/* Dark Devotion — brighter, warmer lettering */
body.collection-dark-devotion .collection-page-hero .eyebrow {
    color: #e4c58f;
}
body.collection-dark-devotion .collection-page-intro {
    color: #f0d29c;
}
body.collection-dark-devotion .collection-page-description {
    color: #eee2d5;
}
body.collection-dark-devotion .collection-coming h2,
body.collection-dark-devotion .policies h2 {
    color: #f2dfc5;
}
body.collection-dark-devotion .collection-coming p,
body.collection-dark-devotion .policy-copy p {
    color: #e0d4c8;
}
body.collection-dark-devotion .policy-copy h3 {
    color: #e8c58f;
}

/* Vows & Veils — moonlit vampiric wedding */
body.collection-vows-and-veils {
    background-image:
        linear-gradient(rgba(8, 4, 7, 0.32), rgba(8, 4, 7, 0.52)),
        url('../images/vows-and-veils-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
body.collection-vows-and-veils .collection-coming,
body.collection-vows-and-veils .policies {
    background: rgba(9, 5, 8, 0.72);
}


/* Poetry in Pink — soft gothic romance */
body.collection-poetry-in-pink {
    background-image:
        linear-gradient(rgba(12, 5, 10, 0.30), rgba(12, 5, 10, 0.50)),
        url('../images/poetry-in-pink-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-poetry-in-pink .collection-page-hero .eyebrow {
    color: #e8b5c4;
}

body.collection-poetry-in-pink .collection-page-intro {
    color: #f0c5d0;
}

body.collection-poetry-in-pink .collection-page-description {
    color: #f0e1e5;
}

body.collection-poetry-in-pink .collection-coming,
body.collection-poetry-in-pink .policies {
    background: rgba(15, 7, 12, 0.72);
}

body.collection-poetry-in-pink .collection-coming h2,
body.collection-poetry-in-pink .policies h2 {
    color: #f0d3dc;
}

body.collection-poetry-in-pink .collection-coming p,
body.collection-poetry-in-pink .policy-copy p {
    color: #e5d6dc;
}

body.collection-poetry-in-pink .policy-copy h3 {
    color: #e8b5c4;
}


/* Tragically Proud — dark royal vampire romance */
body.collection-tragically-proud {
    background-image:
        linear-gradient(rgba(8, 3, 7, 0.28), rgba(8, 3, 7, 0.50)),
        url('../images/tragically-proud-background.jpg');
    background-size: cover;
    background-position: 70% top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-tragically-proud .collection-page-hero .eyebrow {
    color: #d9b7c2;
}

body.collection-tragically-proud .collection-page-intro {
    color: #edc9d1;
}

body.collection-tragically-proud .collection-page-description {
    color: #eee0e2;
}

body.collection-tragically-proud .collection-coming,
body.collection-tragically-proud .policies {
    background: rgba(12, 5, 9, 0.72);
}

body.collection-tragically-proud .collection-coming h2,
body.collection-tragically-proud .policies h2 {
    color: #f0d6d8;
}

body.collection-tragically-proud .collection-coming p,
body.collection-tragically-proud .policy-copy p {
    color: #e5d6d8;
}

body.collection-tragically-proud .policy-copy h3 {
    color: #d9b7c2;
}


/* Down the Rabbit Hole — dark enchanted Wonderland */
body.collection-down-the-rabbit-hole {
    background-image:
        linear-gradient(rgba(8, 8, 12, 0.30), rgba(8, 8, 12, 0.52)),
        url('../images/down-the-rabbit-hole-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-down-the-rabbit-hole .collection-page-hero .eyebrow {
    color: #d8c4a0;
}

body.collection-down-the-rabbit-hole .collection-page-intro {
    color: #e8d6b5;
}

body.collection-down-the-rabbit-hole .collection-page-description {
    color: #eee5d8;
}

body.collection-down-the-rabbit-hole .collection-coming,
body.collection-down-the-rabbit-hole .policies {
    background: rgba(9, 8, 13, 0.72);
}

body.collection-down-the-rabbit-hole .collection-coming h2,
body.collection-down-the-rabbit-hole .policies h2 {
    color: #eee0c8;
}

body.collection-down-the-rabbit-hole .collection-coming p,
body.collection-down-the-rabbit-hole .policy-copy p {
    color: #e1d8cb;
}

body.collection-down-the-rabbit-hole .policy-copy h3 {
    color: #d8c4a0;
}


/* Muerte y Devoción — sacred remembrance atmosphere */
body.collection-muerte-y-devocion {
    background-image:
        linear-gradient(rgba(8, 5, 6, 0.32), rgba(8, 5, 6, 0.54)),
        url('../images/muerte-y-devocion-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-muerte-y-devocion .collection-page-hero .eyebrow {
    color: #e5c49a;
}

body.collection-muerte-y-devocion .collection-page-intro {
    color: #f0d5b2;
}

body.collection-muerte-y-devocion .collection-page-description {
    color: #eee2d5;
}

body.collection-muerte-y-devocion .collection-coming h2,
body.collection-muerte-y-devocion .policies h2 {
    color: #f2dfc5;
}

body.collection-muerte-y-devocion .collection-coming p,
body.collection-muerte-y-devocion .policy-copy p {
    color: #e0d4ca;
}


/* The Turning Season — autumnal atmosphere */
body.collection-the-turning-season {
    background-image:
        linear-gradient(rgba(12, 7, 5, 0.32), rgba(12, 7, 5, 0.54)),
        url('../images/the-turning-season-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-the-turning-season .collection-page-hero .eyebrow {
    color: #e9bd82;
}

body.collection-the-turning-season .collection-page-intro {
    color: #f1d1a0;
}

body.collection-the-turning-season .collection-page-description {
    color: #eee2d5;
}

body.collection-the-turning-season .collection-coming h2,
body.collection-the-turning-season .policies h2 {
    color: #f2dfc5;
}

body.collection-the-turning-season .collection-coming p,
body.collection-the-turning-season .policy-copy p {
    color: #e0d4ca;
}

/* Homepage collection card artwork — first card preview */
.collection-grid .collection-card:nth-child(1) {
    background-image:
        linear-gradient(
            rgba(8, 5, 8, 0.48),
            rgba(8, 5, 8, 0.70)
        ),
        url('../images/dark-devotion-background.jpg');
    background-size: cover;
    background-position: center;
    border-color: rgba(210, 174, 112, 0.75);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.collection-grid .collection-card:nth-child(1) h3 {
    color: #f2dfc5;
    text-shadow: 0 2px 8px #000;
}

.collection-grid .collection-card:nth-child(1) p {
    color: #eee2d5;
    text-shadow: 0 2px 6px #000;
}

.collection-grid .collection-card:nth-child(1) .card-number {
    color: #e8c58f;
}

/* Fine-tune Dark Devotion card artwork */
.collection-grid .collection-card:nth-child(1) {
    background-image:
        linear-gradient(
            rgba(8, 5, 8, 0.25),
            rgba(8, 5, 8, 0.58)
        ),
        url('../images/dark-devotion-background.jpg');
}

/* Correct homepage image path */
.collection-grid .collection-card:nth-child(1) {
    background-image:
        linear-gradient(
            rgba(8, 5, 8, 0.25),
            rgba(8, 5, 8, 0.58)
        ),
        url('../images/dark-devotion-background.jpg');
    background-size: cover;
    background-position: center;
}

/* Final corrected image path for Dark Devotion */
.collection-grid .collection-card:nth-child(1) {
    background-image:
        linear-gradient(
            rgba(8, 5, 8, 0.25),
            rgba(8, 5, 8, 0.58)
        ),
        url('../images/dark-devotion-background.jpg');
    background-size: cover;
    background-position: center;
}

/* Remaining homepage collection card artwork */

.collection-grid .collection-card:nth-child(2) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.28), rgba(8, 5, 8, 0.62)),
        url('../images/vows-and-veils-background.jpg');
}

.collection-grid .collection-card:nth-child(3) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.22), rgba(8, 5, 8, 0.58)),
        url('../images/poetry-in-pink-background.jpg');
}

.collection-grid .collection-card:nth-child(4) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.25), rgba(8, 5, 8, 0.60)),
        url('../images/tragically-proud-background.jpg');
}

.collection-grid .collection-card:nth-child(5) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.25), rgba(8, 5, 8, 0.60)),
        url('../images/down-the-rabbit-hole-background.jpg');
}

.collection-grid .collection-card:nth-child(6) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.25), rgba(8, 5, 8, 0.60)),
        url('../images/muerte-y-devocion-background.jpg');
}

.collection-grid .collection-card:nth-child(7) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.25), rgba(8, 5, 8, 0.60)),
        url('../images/the-turning-season-background.jpg');
}

/* Consistent artwork presentation across all collection cards */
.collection-grid .collection-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: rgba(210, 174, 112, 0.65);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.collection-grid .collection-card:hover {
    border-color: #d2ae70;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.collection-grid .collection-card h3 {
    color: #f2dfc5;
    text-shadow: 0 2px 8px #000;
}

.collection-grid .collection-card p {
    color: #eee2d5;
    text-shadow: 0 2px 6px #000;
}

.collection-grid .collection-card .card-number {
    color: #e8c58f;
}

/* Let Wonderland fill its collection card */
.collection-grid .collection-card:nth-child(5) {
    background-size: 130% 130%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove pale side edges from Muerte y Devoción */
.collection-grid .collection-card:nth-child(6) {
    background-size: 120% 120%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Final Wonderland card sizing */
.collection-grid .collection-card:nth-child(5) {
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
}


body.collection-gone-but-never-forgotten {
    background-image:
        linear-gradient(rgba(12, 4, 8, 0.30), rgba(12, 4, 8, 0.56)),
        url('../images/gone-but-never-forgotten-background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-gone-but-never-forgotten .collection-page-hero .eyebrow {
    color: #e8c58f;
}

body.collection-gone-but-never-forgotten .collection-page-intro {
    color: #f1d5c1;
}

body.collection-gone-but-never-forgotten .collection-page-description {
    color: #eee2d5;
}

body.collection-gone-but-never-forgotten .collection-coming h2,
body.collection-gone-but-never-forgotten .policies h2 {
    color: #f2dfc5;
}

body.collection-gone-but-never-forgotten .collection-coming p,
body.collection-gone-but-never-forgotten .policy-copy p {
    color: #e0d4ca;
}


/* Gone, But Never Forgotten — dedicated masquerade feature */
.archive {
    background:
        linear-gradient(rgba(10, 5, 9, 0.48), rgba(10, 5, 9, 0.76)),
        url('../images/gone-but-never-forgotten-background.jpg') center 35% / cover no-repeat;
}

.archive-feature-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 720px);
    min-height: 260px;
    margin: 0 auto 48px;
    padding: 45px 30px;
    text-align: center;
    text-decoration: none;
    color: #f2dfc5;
    background: linear-gradient(rgba(12, 5, 10, 0.30), rgba(12, 5, 10, 0.72));
    border: 1px solid rgba(210, 174, 112, 0.75);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.archive-feature-link:hover {
    border-color: #e8c58f;
    transform: translateY(-4px);
}

.archive-feature-eyebrow {
    color: #e8c58f;
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.archive-feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px #000;
}

.archive-feature-caption {
    color: #eee2d5;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.archive-feature-button {
    padding: 12px 24px;
    border: 1px solid #c49b62;
    color: #e8c58f;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* TREMOR & ASH HAMBURGER NAVIGATION */

.site-header {
    position: relative;
    z-index: 1002;
}

.menu-toggle {
    width: 46px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(190, 155, 99, 0.65);
    background: transparent;
    cursor: pointer;
    padding: 9px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--gold);
    transition: transform .3s, opacity .3s;
}

.menu-toggle:hover {
    background: rgba(190, 155, 99, 0.12);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header nav.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(390px, 88vw);
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding: 100px 38px 45px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: linear-gradient(155deg, #17100f, #080808 72%);
    border-left: 1px solid rgba(190, 155, 99, 0.55);
    box-shadow: -18px 0 55px rgba(0, 0, 0, 0.55);
    z-index: 1003;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s ease;
}

.site-header nav.site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
}

.site-header nav.site-nav a {
    display: block;
    padding: 10px 0;
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    letter-spacing: 1px;
    text-transform: none;
    border-bottom: 1px solid rgba(190, 155, 99, 0.13);
    transition: color .25s, padding-left .25s;
}

.site-header nav.site-nav a:hover {
    color: var(--gold);
    padding-left: 7px;
}

.menu-divider {
    display: block;
    margin: 23px 0 8px;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    letter-spacing: 2.5px;
}

.menu-close {
    position: absolute;
    top: 28px;
    right: 30px;
    color: var(--gold);
    background: transparent;
    border: 0;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 200;
    cursor: pointer;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .site-header {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        padding: 20px 6%;
    }

    .wordmark {
        font-size: 23px;
    }

    .site-header nav.site-nav {
        flex-direction: column;
        align-items: stretch;
    }
}


/* CUTE AS SIN — collection artwork */
.collection-grid .collection-card:nth-child(8) {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.22), rgba(8, 5, 8, 0.62)),
        url('../images/cute-as-sin-card.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.collection-cute-as-sin {
    background-image:
        linear-gradient(rgba(8, 5, 8, 0.28), rgba(8, 5, 8, 0.58)),
        url('../images/cute-as-sin-background.jpg') !important;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body.collection-cute-as-sin .collection-page-hero .eyebrow {
    color: #e8b9c5;
}

body.collection-cute-as-sin .collection-page-intro {
    color: #f0dce3;
}

body.collection-cute-as-sin .collection-page-description {
    color: #eee2e8;
}

body.collection-cute-as-sin .collection-coming,
body.collection-cute-as-sin .policies {
    background: rgba(12, 7, 13, 0.78);
}

body.collection-cute-as-sin .collection-coming h2 {
    color: #f1d7e1;
}

/* Balanced eight-collection gallery */
@media (min-width: 951px) {
    .collection-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .collection-grid .collection-card {
        grid-column: span 2;
    }

    .collection-grid .collection-card:nth-child(7) {
        grid-column: 2 / span 2;
        width: 100%;
    }

    .collection-grid .collection-card:nth-child(8) {
        grid-column: 4 / span 2;
        width: 100%;
    }
}

@media (max-width: 950px) {
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-grid .collection-card {
        grid-column: span 1;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid .collection-card {
        grid-column: 1;
        width: 100%;
    }
}

/* Center the final two Cute as Sin cards on desktop */
@media (min-width: 901px) {
    .collection-cute-as-sin .product-grid > .product-card:nth-child(13) {
        grid-column: 2;
    }

    .collection-cute-as-sin .product-grid > .product-card:nth-child(14) {
        grid-column: 3;
    }
}


/* UNIVERSAL PRODUCT PHOTO LIGHTBOX */
.product-card img[data-lightbox="product"] {
    cursor: zoom-in;
}

.product-card img[data-lightbox="product"]:focus-visible {
    outline: 2px solid var(--gold, #c6a15b);
    outline-offset: 4px;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 5vh 5vw;
    background: rgba(8, 6, 7, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.product-lightbox img {
    display: block;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--gold, #c6a15b);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.65);
}

.product-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold, #c6a15b);
    border-radius: 50%;
    background: #171112;
    color: var(--gold, #c6a15b);
    font: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .product-lightbox {
        transition: none;
    }
}

/* Center the final Muerte y Devoción product card */
body.collection-muerte-y-devocion .product-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 320px);
}


/* Center the final two Down the Rabbit Hole products */
@media (min-width: 901px) {
    body.collection-down-the-rabbit-hole .product-card:nth-last-child(2) {
        grid-column: 2;
    }

    body.collection-down-the-rabbit-hole .product-card:last-child {
        grid-column: 3;
    }
}
