
:root {
    --navy: #172B49;
    --ivory: #F5F1E8;
    --gold: #B49A65;
    --white: #FFFFFF;
    --grey: #777777;
    --border: #E5E0D6;

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ivory);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.7;
}

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

img {
    display: block;
    width: 100%;
}

button {
    font: inherit;
}

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 17px;
}


/* HEADER */

.header {
    height: 82px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    width: 165px;
    max-height: 55px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 38px;
}

.navigation a {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.bag svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.5;
}

.menu-toggle {
    display: none;
}


/* HERO */

.hero {
    min-height: 620px;
    height: min(720px, calc(100vh - 82px));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            90deg,
            rgba(15, 30, 51, 0.82),
            rgba(15, 30, 51, 0.25)
        ),
        url("../images/hero.jpg");
    background-position: center;
    background-size: cover;
}

.hero-content {
    position: relative;
    max-width: 650px;
    padding: 60px 8%;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(62px, 7vw, 94px);
    font-weight: 500;
    line-height: 0.98;
    margin-bottom: 25px;
}

.hero-content > p {
    max-width: 430px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 47px;
    padding: 0 20px;
    background: var(--ivory);
    color: var(--navy);
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

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

.secondary-link {
    color: var(--white);
    font-size: 11px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}


/* COLLECTION */

.collection {
    max-width: var(--width);
    margin: auto;
    padding: 90px 6% 105px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2,
.bespoke h2 {
    font-family: var(--serif);
    font-size: 49px;
    font-weight: 500;
    line-height: 1.05;
}

.view-all {
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

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

.product {
    min-width: 0;
}

.product-image {
    aspect-ratio: 4 / 5;
    background: #EAE5DB;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product:hover img {
    transform: scale(1.035);
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-top: 15px;
}

.product-details h3 {
    font-size: 13px;
    font-weight: 600;
}

.product-details span {
    font-size: 12px;
    white-space: nowrap;
}

.product > p {
    color: var(--grey);
    font-size: 11px;
    margin-top: 3px;
}


/* BESPOKE */

.bespoke {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #EEE9DF;
}

.bespoke-image {
    min-height: 480px;
    overflow: hidden;
}

.bespoke-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bespoke-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 75px 12%;
}

.bespoke h2 {
    margin-bottom: 22px;
}

.bespoke-content > p {
    max-width: 390px;
    color: var(--grey);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 27px;
}

.bespoke .button {
    background: var(--navy);
    color: var(--white);
}

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


/* FOOTER */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 50px 6% 20px;
}

.footer-top {
    max-width: var(--width);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 45px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 27px;
    letter-spacing: 2px;
}

.footer-top p {
    color: var(--gold);
    font-size: 11px;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--width);
    margin: auto;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.footer-bottom span {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
}


/* MOBILE */

@media (max-width: 700px) {

    .header {
        height: 70px;
        padding: 0 5%;
    }

    .logo img {
        width: 140px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        order: 3;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 21px;
        height: 1px;
        background: var(--navy);
    }

    .navigation {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 6% 20px;
        background: var(--ivory);
        border-bottom: 1px solid var(--border);
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }

    .bag {
        margin-left: auto;
        margin-right: 20px;
    }

    .hero {
        min-height: 580px;
        height: calc(85svh - 70px);
    }

    .hero-content {
        padding: 45px 7%;
    }

    .hero h1 {
        font-size: clamp(57px, 13vw, 76px);
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .collection {
        padding: 65px 5% 75px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .view-all {
        margin-top: 36px;
        white-space: nowrap;
    }

    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 13px;
    }

    .product-details {
        flex-direction: column;
        gap: 2px;
    }

    .product-details h3 {
        font-size: 12px;
    }

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

    .bespoke-image {
        min-height: 0;
        aspect-ratio: 5 / 4;
    }

    .bespoke-content {
        padding: 55px 7%;
    }

    .bespoke h2 {
        font-size: 45px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-top > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

}
