:root {
    --ink: #1c1b18;
    --paper: #f8f4ec;
    --cream: #eae1d4;
    --gold: #aa8754;
    --line: #d7cdbd
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6
}

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

.announcement {
    background: #27251f;
    color: #f9f3e8;
    text-align: center;
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase
}

header {
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: auto;
    padding: 0 5%;
    border-bottom: 1px solid var(--line)
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    margin-right: auto
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    transition: color .2s ease
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--gold)
}

.nav-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--ink);
    font-weight: 700;
    padding: 0
}

.bag-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.bag-text {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700
}

.cart-badge {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    line-height: 1;
    font-weight: 700
}

.header-socials,
.social-strip,
.social-link {
    display: none !important
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
    flex-wrap: wrap
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    color: #f5efe9;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    transition: transform .2s ease, color .2s ease
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    transform: translateY(-1px);
    color: var(--gold)
}

.footer-socials svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.footer-socials a:nth-child(3) svg path:first-child {
    fill: none
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    letter-spacing: .09em;
    text-align: center;
    line-height: 1.05
}

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

.brand small {
    display: block;
    font-family: 'DM Sans';
    font-size: 7px;
    letter-spacing: .24em;
    margin-top: 6px
}

nav {
    display: flex;
    gap: 30px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px
}

nav a:hover,
.text-link:hover {
    color: var(--gold)
}

button {
    font: inherit;
    cursor: pointer;
    border: 0
}

.cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    color: var(--ink)
}

.cart .cart-badge {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    margin-left: 2px
}

.hero {
    max-width: 1280px;
    margin: auto;
    min-height: 650px;
    padding: 74px 5%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 7%;
    align-items: center
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .19em;
    color: #7d6240;
    font-weight: 700;
    margin: 0 0 15px
}

.hero h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500
}

.hero h1 {
    font-size: clamp(44px, 5.3vw, 76px);
    line-height: .98;
    letter-spacing: -.05em;
    margin: 0
}

.hero h1 em {
    font-weight: 500;
    color: var(--gold)
}

.lede {
    max-width: 440px;
    margin: 27px 0 0;
    color: #58544e;
    font-size: 17px;
    line-height: 1.7
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px
}

.hero-metric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .35);
    color: var(--ink);
    transition: color .2s ease, border-color .2s ease
}

.hero-metric:hover,
.hero-metric:focus-visible {
    color: var(--gold);
    border-color: var(--gold)
}

.actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 18px
}

.button {
    display: inline-block;
    background: #282720;
    color: white;
    padding: 14px 23px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 10px;
    font-weight: 700;
    transition: .2s
}

.button:hover {
    background: var(--gold);
    transform: translateY(-1px)
}

.text-link {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 5px
}

.text-link span {
    padding-left: 6px;
    font-size: 18px;
    text-decoration: none
}

.hero-image {
    position: relative;
    height: 500px
}

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

.stamp {
    position: absolute;
    bottom: -25px;
    left: -26px;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: #2b2a24;
    color: #fff;
    display: grid;
    place-content: center;
    text-align: center;
    font-family: 'Playfair Display';
    font-size: 12px;
    line-height: 1.4;
    transform: rotate(-14deg)
}

.promise {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 18px;
    align-items: center;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.promise p {
    margin: 0
}

.promise i {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%
}

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 110px 5%
}

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

.section h2 {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.06;
    margin: 0;
    letter-spacing: -.04em
}

.section-head>p {
    font-size: 13px;
    line-height: 1.7;
    color: #706b63;
    margin: 0
}

.curated {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center
}

.curated-copy h2 {
    font-size: clamp(38px, 3.2vw, 58px)
}

.curated-copy p:not(.eyebrow) {
    max-width: 470px;
    color: #5f5a52;
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.75
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

.feature-pills span {
    padding: 10px 12px;
    border: 1px solid var(--line);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    background: rgba(255, 255, 255, .3)
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.mood-card {
    background: #fffdf9;
    border: 1px solid var(--line);
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease
}

.mood-card:hover,
.mood-card:focus-visible,
.mood-card.is-selected {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(28, 27, 24, .08);
    border-color: #b79b70;
    background: #fefaf2
}

.mood-card--dark {
    background: #27251f;
    color: #f8f4ec
}

.mood-card--dark:hover,
.mood-card--dark:focus-visible,
.mood-card--dark.is-selected {
    background: #2f2c27
}

.mood-card img {
    width: 100%;
    height: 220px;
    object-fit: scale-down;
    object-position: center;
    display: block;
    background: #f6f0e7;
    padding: 12px;
    box-sizing: border-box
}

.mood-card div {
    padding: 14px 16px 18px
}

.mood-card p {
    margin: 0 0 6px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: inherit;
    opacity: .7
}

.mood-card strong {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 500;
    font-family: 'Playfair Display', serif
}

.boutique-banner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(234, 225, 212, .7), rgba(255, 255, 255, .3))
}

.boutique-banner__content {
    max-width: 760px
}

.boutique-banner__content h2 {
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1.04;
    margin: 0;
    letter-spacing: -.04em
}

.boutique-banner__content p:not(.eyebrow) {
    color: #5f5a52;
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.7
}

@media (max-width: 900px) {
    header {
        gap: 12px
    }

    .main-nav {
        gap: 12px
    }
}

#productGrid {
    display: block
}

.product-category {
    margin-bottom: 34px;
    display: block
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line)
}

.category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    margin: 0;
    letter-spacing: -.04em
}

.category-header span {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #706b63
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 18px
}

.product-grid--category {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 18px
}

.product {
    position: relative;
    padding: 8px 8px 0;
    transition: transform .25s ease, opacity .25s ease
}

.product:hover {
    transform: translateY(-2px)
}

.product-image {
    background: linear-gradient(180deg, #f7f1e8, #f0e8dd);
    aspect-ratio: 1/1.18;
    overflow: hidden;
    border: 1px solid rgba(38, 37, 32, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 8px 8px
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
    padding: 16px;
    background: transparent;
    box-sizing: border-box;
    transition: transform .5s ease, filter .3s ease
}

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

.product-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    align-items: flex-end
}

.product h3 {
    font-family: 'DM Sans';
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .01em;
    margin: 0
}

.product p {
    color: #746d62;
    font-size: 11px;
    line-height: 1.6;
    margin: 3px 0
}

.price {
    font-size: 13px;
    white-space: nowrap;
    font-weight: 700
}

.quick-add {
    width: 100%;
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--ink);
    padding: 11px 10px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .14em;
    transition: all .2s ease;
    border-radius: 999px;
    color: var(--ink)
}

.quick-add:hover {
    background: var(--ink);
    color: white;
    transform: translateY(-1px)
}

.product-dialog .button.quick-add,
.product-dialog .button.quick-add:hover {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink)
}

.custom {
    max-width: none;
    background: #282720;
    color: #f8f4ec;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    padding: 0 12.5%;
    align-items: center
}

.custom>div {
    padding: 80px 0
}

.custom .eyebrow {
    color: #d6b985
}

.custom h2 {
    font-size: clamp(38px, 3.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -.04em
}

.custom p:not(.eyebrow) {
    color: #ddd4c7;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.75
}

.custom ul {
    list-style: none;
    padding: 0;
    margin: 25px 0
}

.custom li {
    border-top: 1px solid #575449;
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.7
}

.custom li:before {
    content: '✦';
    color: #d6b985;
    padding-right: 10px
}

.button.light {
    background: #f8f4ec;
    color: #26251f
}

.custom img {
    width: 100%;
    height: 445px;
    object-fit: scale-down;
    object-position: center;
    border-radius: 28px;
    background: #f5efe6;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 22px 42px rgba(34, 29, 21, .12)
}

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: center;
    max-width: 1040px
}

.story img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: scale-down;
    object-position: center;
    background: #f6f0e7;
    padding: 12px;
    box-sizing: border-box
}

.story p:not(.eyebrow) {
    max-width: 400px;
    color: #5d5952;
    font-size: 16px;
    line-height: 1.8
}

.details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    border-top: 1px solid var(--line);
    padding-top: 65px;
    padding-bottom: 65px
}

.details h3 {
    font-size: clamp(22px, 1.8vw, 28px);
    line-height: 1.2;
    margin: 0 0 10px
}

.details p {
    font-size: 13px;
    line-height: 1.8;
    color: #5f5a52;
    margin: 0
}

.details a {
    text-decoration: underline;
    text-underline-offset: 3px
}

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

footer {
    background: #25241f;
    color: #eee7dc;
    padding: 52px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center
}

footer .brand {
    justify-self: start
}

footer div {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .12em
}

footer p {
    justify-self: end;
    color: #bbb2a4;
    font-size: 10px
}

.drawer {
    background: var(--paper);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    width: min(430px, 100%);
    height: 100%;
    transform: translateX(100%);
    transition: .3s;
    padding: 27px;
    display: flex;
    flex-direction: column
}

.drawer.open {
    transform: none
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line)
}

.drawer h2 {
    font-size: 28px;
    margin: 0 0 18px
}

.close {
    font-size: 30px;
    background: none;
    line-height: 1
}

.scrim {
    position: fixed;
    inset: 0;
    background: #17161277;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: .2s
}

.scrim.show {
    opacity: 1;
    visibility: visible
}

#cartItems {
    overflow: auto;
    flex: 1
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item img {
    width: 64px;
    height: 75px;
    object-fit: cover
}

.cart-item h3 {
    font-family: 'DM Sans';
    font-size: 13px;
    margin: 0
}

.cart-item p {
    font-size: 12px;
    margin: 4px 0
}

.remove {
    font-size: 11px;
    background: none;
    text-decoration: underline
}

.empty {
    text-align: center;
    color: #827a70;
    padding: 42px 20px
}

.cart-foot {
    border-top: 1px solid var(--line);
    padding-top: 18px
}

.cart-foot>div {
    display: flex;
    justify-content: space-between
}

.cart-foot small {
    display: block;
    color: #766f66;
    margin: 7px 0 16px;
    font-size: 11px
}

.cart-foot .button {
    width: 100%;
    text-align: center
}

.product-dialog {
    border: 0;
    background: var(--paper);
    max-width: 700px;
    width: min(92vw, 700px);
    padding: 30px;
    position: relative
}

.product-dialog__content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 26px;
    align-items: center
}

.product-dialog__image-wrap {
    background: linear-gradient(180deg, #f7f1e8, #f0e8dd);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden
}

.product-dialog__image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 540px;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    box-sizing: border-box
}

.product-dialog__meta {
    display: grid;
    gap: 12px
}

.product-dialog__meta h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: .96;
    letter-spacing: -.05em;
    margin: 0
}

.product-dialog__meta p {
    margin: 0;
    color: #5f5a52
}

.product-dialog__price {
    font-size: 24px;
    letter-spacing: -.03em;
    font-weight: 700
}

.dialog-close {
    position: absolute;
    right: 20px;
    top: 15px
}

.dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 12, 0.52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 40
}

.dialog-backdrop.is-visible {
    opacity: 1;
    visibility: visible
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 540px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow: auto;
    background: var(--paper);
    padding: 40px;
    border: 0;
    box-shadow: 0 26px 50px rgba(20, 17, 15, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 50;
    transition: opacity .2s ease, visibility .2s ease
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.modal h2 {
    font-size: 35px;
    margin: 0
}

.modal>p:not(.eyebrow) {
    color: #625d54
}

form {
    display: grid;
    gap: 14px;
    margin-top: 25px
}

label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em
}

input,
select,
textarea {
    display: block;
    width: 100%;
    font: inherit;
    font-size: 14px;
    background: #fffdf8;
    border: 1px solid var(--line);
    padding: 11px;
    margin-top: 5px
}

textarea {
    height: 88px;
    resize: vertical
}

.dialog-close {
    position: absolute;
    right: 20px;
    top: 15px
}

@media(max-width:760px) {
    header {
        height: auto;
        padding: 12px 18px;
        gap: 8px
    }

    .brand {
        font-size: 15px;
        letter-spacing: .05em;
        flex-shrink: 0
    }

    .brand small {
        font-size: 6px;
        letter-spacing: .15em;
        margin-top: 4px
    }

    .main-nav {
        gap: 8px;
        margin: 0;
        flex-shrink: 1
    }

    .nav-link {
        gap: 4px;
        font-size: 8px;
        letter-spacing: .08em
    }

    .nav-icon {
        width: 11px;
        height: 11px
    }

    .cart {
        gap: 6px;
        font-size: 9px;
        letter-spacing: .1em;
        flex-shrink: 0
    }

    .bag-text {
        font-size: 9px;
        letter-spacing: .12em
    }

    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 9px
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 50px;
        gap: 40px
    }

    .hero-image {
        height: 410px
    }

    .hero h1 {
        font-size: 49px
    }

    .promise {
        gap: 13px;
        font-size: 8px;
        white-space: nowrap
    }

    .section {
        padding: 75px 6%
    }

    .section-head {
        display: block
    }

    .section-head>p {
        margin-top: 13px
    }

    .curated {
        grid-template-columns: 1fr
    }

    .mood-grid {
        grid-template-columns: 1fr 1fr
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px
    }

    .custom {
        grid-template-columns: 1fr;
        padding: 0 6%;
        gap: 0
    }

    .custom>div {
        padding: 70px 0 35px
    }

    .custom img {
        height: 350px
    }

    .story {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .story img {
        max-height: 400px
    }

    .details {
        grid-template-columns: 1fr;
        gap: 27px
    }

    .section h2 {
        font-size: 38px
    }

    footer {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center
    }

    footer .brand,
    footer p {
        justify-self: center
    }

    footer div {
        flex-wrap: wrap
    }

    .hero-image .stamp {
        left: 10px
    }

    .announcement {
        font-size: 8px
    }
}