:root {
    --paper:#f6f3ed;
    --paper-deep:#ece7dd;
    --ink:#20201e;
    --muted:#77736c;
    --line:#dcd6cb;
    --white:#fff;
    --accent:#a58a69;
    --serif:'Playfair Display',Georgia,serif;
    --sans:'DM Sans',Arial,sans-serif;
    --page: min(1320px, calc(100% - 9vw));
    --shadow: 0 20px 60px rgba(30,27,22,.13);
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:100px;
}

body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--sans);
    -webkit-font-smoothing:antialiased;
}

button,input {
    font:inherit;
}

button,a {
    -webkit-tap-highlight-color:transparent;
}

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

.announcement {
    min-height:29px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    background:var(--ink);
    color:#f6f3ed;
    font-size:9px;
    letter-spacing:.17em;
    text-align:center;
}

.site-header {
    height:82px;
    width:var(--page);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    position:relative;
    z-index:5;
}

.brand {
    font-size:22px;
    letter-spacing:.13em;
    font-weight:700;
    white-space:nowrap;
}

.brand span {
    font-weight:400;
    margin-left:5px;
    font-size:10px;
    letter-spacing:.22em;
    vertical-align:middle;
}

.main-nav {
    display:flex;
    gap:36px;
    margin-left:50px;
}

.main-nav a,.footer-links a {
    font-size:11px;
    letter-spacing:.08em;
    color:#514e49;
    transition:color .2s;
}

.main-nav a:hover,.footer-links a:hover {
    color:var(--accent);
}

.header-actions {
    display:flex;
    align-items:center;
    gap:22px;
}

.icon-button,.cart-button,.menu-toggle,.close-button {
    border:0;
    background:none;
    cursor:pointer;
    color:var(--ink);
}

.icon-button {
    width:24px;
    height:24px;
    padding:2px;
}

.icon-button svg {
    width:100%;
    height:100%;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
}

.cart-button {
    font-size:10px;
    letter-spacing:.12em;
}

.cart-button span {
    display:inline-grid;
    place-items:center;
    margin-left:7px;
    width:21px;
    height:21px;
    border:1px solid var(--ink);
    border-radius:50%;
    font-size:10px;
}

.menu-toggle {
    display:none;
}

.hero {
    width:var(--page);
    min-height:590px;
    margin:0 auto;
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    position:relative;
    padding:50px 0 58px;
}

.hero-copy {
    align-self:center;
    padding:0 4vw 25px 4.5vw;
    position:relative;
    z-index:1;
}

.eyebrow {
    font-size:9px;
    letter-spacing:.2em;
    font-weight:700;
    color:var(--accent);
    margin:0 0 21px;
}

.hero h1,.section-heading h2,.editorial h2,.newsletter h2 {
    font-family:var(--serif);
    font-weight:500;
    letter-spacing:-.045em;
}

.hero h1 {
    font-size:clamp(62px,7vw,104px);
    line-height:.99;
    margin:0 0 26px;
}

.hero h1 em,.section-heading h2 em,.editorial h2 em,.newsletter h2 em {
    font-weight:500;
    color:var(--accent);
}

.hero-description {
    max-width:340px;
    color:var(--muted);
    font-size:13px;
    line-height:1.9;
    margin:0 0 32px;
}

.button {
    min-height:49px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:35px;
    padding:0 22px;
    border:1px solid var(--ink);
    font-size:9px;
    font-weight:700;
    letter-spacing:.12em;
    cursor:pointer;
    transition:background .2s,color .2s,transform .2s;
}

.button span {
    font-size:16px;
    font-weight:400;
}

.button-dark {
    background:var(--ink);
    color:var(--paper);
}

.button-dark:hover {
    background:var(--accent);
    border-color:var(--accent);
    transform:translateY(-2px);
}

.hero-note {
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:55px;
    color:var(--muted);
    font-size:8px;
    letter-spacing:.17em;
}

.note-line {
    width:34px;
    height:1px;
    background:var(--accent);
}

.hero-visual {
    position:relative;
    min-height:480px;
    max-height:560px;
    overflow:hidden;
    background:var(--paper-deep);
}

.hero-visual>img {
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    object-fit:cover;
    object-position:center 38%;
    filter:saturate(.78);
}

.hero-stamp {
    position:absolute;
    right:22px;
    bottom:22px;
    background:var(--paper);
    padding:17px 19px;
    font-size:9px;
    line-height:1.65;
    letter-spacing:.14em;
}

.hero-stamp strong {
    display:block;
    margin-top:8px;
    color:var(--accent);
    font-size:9px;
}

.hero-index {
    position:absolute;
    right:0;
    bottom:23px;
    color:var(--muted);
    font-size:9px;
    letter-spacing:.15em;
}

.benefits {
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    min-height:86px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:clamp(35px,9vw,150px);
    padding:20px 5vw;
}

.benefits div {
    display:flex;
    align-items:center;
    gap:13px;
}

.benefits span {
    font-family:var(--serif);
    font-size:16px;
    color:var(--accent);
}

.benefits p {
    font-size:9px;
    letter-spacing:.14em;
    margin:0;
}

.section-wrap {
    width:var(--page);
    margin:auto;
}

.collection {
    padding:110px 0 105px;
}

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

.section-heading .eyebrow {
    margin-bottom:14px;
}

.section-heading h2,.newsletter h2 {
    font-size:clamp(42px,5vw,64px);
    line-height:1.08;
    margin:0;
}

.section-intro {
    max-width:310px;
    margin:0 0 5px;
    color:var(--muted);
    font-size:12px;
    line-height:1.8;
}

.catalog-toolbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

.filters {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.filter-chip {
    background:transparent;
    border:1px solid var(--line);
    padding:10px 15px;
    color:var(--muted);
    font-size:9px;
    letter-spacing:.08em;
    cursor:pointer;
    transition:.2s;
}

.filter-chip:hover,.filter-chip.active {
    background:var(--ink);
    border-color:var(--ink);
    color:var(--paper);
}

.search-field {
    display:flex;
    align-items:center;
    width:190px;
    border-bottom:1px solid var(--line);
    gap:8px;
}

.search-field input {
    width:100%;
    padding:10px 0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--ink);
    font-size:11px;
}

.search-field span {
    font-size:22px;
    color:var(--muted);
}

.product-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px 17px;
}

.product-card {
    min-width:0;
}

.product-image {
    position:relative;
    overflow:hidden;
    background:var(--paper-deep);
    aspect-ratio:3/4;
}

.product-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-image img {
    transform:scale(1.045);
}

.product-tag {
    position:absolute;
    top:12px;
    left:12px;
    background:var(--paper);
    padding:7px 9px;
    font-size:8px;
    letter-spacing:.1em;
}

.quick-add {
    position:absolute;
    bottom:12px;
    left:12px;
    right:12px;
    min-height:40px;
    border:0;
    background:rgba(246,243,237,.95);
    color:var(--ink);
    font-size:9px;
    font-weight:700;
    letter-spacing:.1em;
    cursor:pointer;
    transform:translateY(60px);
    opacity:0;
    transition:.25s;
}

.product-card:hover .quick-add,.quick-add:focus {
    transform:translateY(0);
    opacity:1;
}

.product-info {
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding-top:13px;
}

.product-name {
    font-size:11px;
    font-weight:600;
    margin:0 0 6px;
}

.product-category {
    font-size:9px;
    color:var(--muted);
    margin:0;
}

.product-price {
    font-size:11px;
    font-weight:600;
    white-space:nowrap;
    margin:0;
}

.demo-note {
    text-align:center;
    margin:32px 0 0;
    color:var(--muted);
    font-size:9px;
    letter-spacing:.05em;
}

.no-results {
    grid-column:1/-1;
    text-align:center;
    padding:60px 10px;
    color:var(--muted);
    font-size:13px;
}

.editorial {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    min-height:520px;
    background:var(--paper-deep);
}

.editorial-image {
    min-height:520px;
    overflow:hidden;
}

.editorial-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 40%;
    filter:saturate(.75);
}

.editorial-copy {
    align-self:center;
    padding:70px clamp(35px,8vw,120px);
}

.editorial-copy .eyebrow {
    margin-bottom:22px;
}

.editorial h2 {
    font-size:clamp(47px,5.4vw,72px);
    line-height:1.05;
    margin:0 0 25px;
}

.editorial-copy>p:not(.eyebrow) {
    font-size:12px;
    color:var(--muted);
    line-height:1.9;
    max-width:350px;
    margin-bottom:32px;
}

.text-link {
    font-size:9px;
    font-weight:700;
    letter-spacing:.13em;
    border-bottom:1px solid var(--accent);
    padding-bottom:9px;
}

.text-link span {
    font-size:15px;
    margin-left:20px;
}

.newsletter {
    padding:105px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.newsletter .eyebrow {
    margin-bottom:16px;
}

.newsletter h2 {
    font-size:clamp(40px,4.5vw,59px);
}

.newsletter-form {
    width:min(420px,45%);
}

.newsletter-form>label {
    font-size:11px;
    color:var(--muted);
}

.newsletter-input {
    display:flex;
    border-bottom:1px solid var(--ink);
    margin-top:17px;
}

.newsletter-input input {
    flex:1;
    min-width:0;
    padding:14px 0;
    border:0;
    outline:0;
    background:transparent;
    font-size:11px;
}

.newsletter-input button {
    width:45px;
    border:0;
    background:transparent;
    font-size:22px;
    cursor:pointer;
}

.form-message {
    font-size:9px;
    color:var(--muted);
    margin-top:10px;
}

.site-footer {
    min-height:220px;
    background:var(--ink);
    color:var(--paper);
    padding:45px max(4.5vw,24px) 25px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.brand-footer {
    font-size:20px;
}

.site-footer>p {
    font-family:var(--serif);
    font-style:italic;
    color:#b8aa98;
    font-size:14px;
    margin:10px 0 22px;
}

.footer-links {
    display:flex;
    gap:28px;
    margin-bottom:30px;
}

.footer-links a {
    color:#c4bfb6;
    font-size:9px;
}

.site-footer small {
    font-size:8px;
    letter-spacing:.13em;
    color:#8f8b84;
}

.overlay {
    position:fixed;
    inset:0;
    background:rgba(20,19,17,.42);
    z-index:10;
    opacity:0;
    visibility:hidden;
    transition:.25s;
}

.overlay.open {
    opacity:1;
    visibility:visible;
}

.cart-drawer {
    position:fixed;
    z-index:11;
    right:0;
    top:0;
    height:100dvh;
    width:min(470px,100%);
    background:var(--paper);
    transform:translateX(102%);
    transition:transform .3s ease;
    display:flex;
    flex-direction:column;
    padding:30px;
}

.cart-drawer.open {
    transform:translateX(0);
}

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

.drawer-header .eyebrow {
    margin-bottom:9px;
}

.drawer-header h2 {
    font-family:var(--serif);
    font-size:30px;
    font-weight:500;
    margin:0;
}

.drawer-header h2 span {
    font-family:var(--sans);
    font-size:12px;
    color:var(--muted);
}

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

.cart-items {
    overflow:auto;
    flex:1;
    padding:15px 0;
}

.empty-cart {
    text-align:center;
    color:var(--muted);
    font-size:12px;
    line-height:2;
    margin-top:55px;
}

.empty-cart a {
    display:inline-block;
    color:var(--ink);
    border-bottom:1px solid var(--accent);
    margin-top:12px;
}

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

.cart-item img {
    width:76px;
    height:94px;
    object-fit:cover;
    background:var(--paper-deep);
}

.cart-item h3 {
    font-size:11px;
    margin:4px 0 7px;
}

.cart-item .item-price {
    font-size:10px;
    color:var(--muted);
    margin:0;
}

.quantity-control {
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:12px;
}

.quantity-control button {
    border:1px solid var(--line);
    background:transparent;
    width:24px;
    height:24px;
    cursor:pointer;
}

.quantity-control span {
    font-size:10px;
}

.remove-item {
    align-self:start;
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:17px;
    cursor:pointer;
}

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

.subtotal {
    display:flex;
    justify-content:space-between;
    font-size:12px;
}

.subtotal strong {
    font-size:14px;
}

.cart-footer>p,.cart-footer>small {
    font-size:9px;
    color:var(--muted);
    line-height:1.6;
}

.checkout-button {
    width:100%;
    margin:15px 0 8px;
}

.toast {
    position:fixed;
    z-index:20;
    bottom:25px;
    left:50%;
    transform:translate(-50%,20px);
    background:var(--ink);
    color:var(--paper);
    padding:13px 18px;
    font-size:10px;
    letter-spacing:.04em;
    opacity:0;
    visibility:hidden;
    transition:.25s;
}

.toast.show {
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}

.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

@media(max-width:900px) {

    :root {
        --page:calc(100% - 7vw);
    }

    .main-nav {
        gap:20px;
        margin-left:20px;
    }

    .hero {
        min-height:510px;
        grid-template-columns:.9fr 1.1fr;
    }

    .hero-copy {
        padding-left:2vw;
        padding-right:2vw;
    }

    .hero-visual {
        min-height:420px;
    }

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

    .quick-add {
        transform:none;
        opacity:1;
    }

    .editorial-copy {
        padding:55px 6vw;
    }

    .benefits {
        gap:5vw;
    }

    .benefits p {
        font-size:8px;
    }
}

@media(max-width:640px) {

    :root {
        --page:calc(100% - 36px);
    }

    .announcement {
        font-size:7px;
        letter-spacing:.1em;
    }

    .site-header {
        height:68px;
    }

    .brand {
        font-size:19px;
    }

    .brand span {
        font-size:8px;
    }

    .menu-toggle {
        display:flex;
        flex-direction:column;
        gap:5px;
        position:absolute;
        left:0;
        top:25px;
        padding:5px 0;
    }

    .menu-toggle span {
        display:block;
        width:20px;
        height:1px;
        background:var(--ink);
    }

    .main-nav {
        display:none;
        position:absolute;
        top:68px;
        left:-18px;
        right:-18px;
        margin:0;
        padding:22px 24px;
        background:var(--paper);
        border-bottom:1px solid var(--line);
        flex-direction:column;
        gap:20px;
    }

    .main-nav.open {
        display:flex;
    }

    .main-nav a {
        font-size:12px;
    }

    .site-header>.brand {
        position:absolute;
        left:50%;
        transform:translateX(-50%);
    }

    .header-actions {
        margin-left:auto;
        gap:12px;
    }

    .icon-button {
        display:none;
    }

    .cart-button {
        font-size:9px;
    }

    .hero {
        display:flex;
        flex-direction:column;
        padding:42px 0 38px;
        min-height:0;
    }

    .hero-copy {
        padding:0 5px 30px;
    }

    .hero h1 {
        font-size:67px;
    }

    .hero-description {
        font-size:12px;
        max-width:300px;
    }

    .hero-note {
        margin-top:30px;
    }

    .hero-visual {
        height:390px;
        min-height:0;
    }

    .hero-stamp {
        right:12px;
        bottom:12px;
        padding:12px;
        font-size:8px;
    }

    .hero-index {
        bottom:12px;
        right:0;
    }

    .benefits {
        min-height:0;
        display:grid;
        grid-template-columns:1fr;
        gap:14px;
        padding:20px 28px;
    }

    .benefits div {
        gap:12px;
    }

    .benefits p {
        font-size:8px;
    }

    .collection {
        padding:75px 0;
    }

    .section-heading {
        display:block;
        margin-bottom:30px;
    }

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

    .section-intro {
        margin-top:15px;
        font-size:11px;
    }

    .catalog-toolbar {
        align-items:flex-start;
        flex-direction:column;
    }

    .filters {
        gap:6px;
    }

    .filter-chip {
        padding:9px 11px;
        font-size:8px;
    }

    .search-field {
        width:100%;
    }

    .product-grid {
        gap:25px 10px;
    }

    .product-name,.product-price {
        font-size:10px;
    }

    .product-category {
        font-size:8px;
    }

    .product-tag {
        top:8px;
        left:8px;
        font-size:7px;
    }

    .quick-add {
        left:7px;
        right:7px;
        bottom:7px;
        min-height:34px;
        font-size:8px;
    }

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

    .editorial-image {
        min-height:390px;
        height:390px;
    }

    .editorial-copy {
        padding:55px 28px 65px;
    }

    .editorial h2 {
        font-size:58px;
    }

    .newsletter {
        padding:75px 0;
        display:block;
    }

    .newsletter h2 {
        font-size:48px;
    }

    .newsletter-form {
        width:100%;
        margin-top:35px;
    }

    .site-footer {
        min-height:205px;
        padding-top:38px;
    }

    .footer-links {
        gap:18px;
    }

    .footer-links a {
        font-size:8px;
    }

    .cart-drawer {
        padding:23px 20px;
    }

    .drawer-header h2 {
        font-size:26px;
    }
}

@media(prefers-reduced-motion:reduce) {

    \*,\*::before,\*::after {
        scroll-behavior:auto!important;
        transition:none!important;
        animation:none!important;
    }
}
