@font-face {
    font-family: "DM Sans";
    src: url("dm-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: Playfair;
    src: url("playfair.woff2") format("woff2");
    font-weight: 500 600;
    font-display: swap;
}

@font-face {
    font-family: Playfair;
    src: url("playfair-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}

:root {
    --ink: #35142c;
    --plum: #38142e;
    --deep-plum: #2d1026;
    --paper: #fdf8ee;
    --cream: #f9edd5;
    --peach: #f2dfca;
    --gold: #eabb6c;
    --rust: #a44333;
    --muted: #705b64;
    --line: #e4d7cc;
    --white: #fffdf8;
    --sans: "DM Sans", system-ui, sans-serif;
    --serif: Playfair, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a74534; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); letter-spacing: -.048em; }
h2 { font-size: clamp(2.3rem, 4.3vw, 3.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.53rem; letter-spacing: -.025em; }
[hidden] { display: none !important; }

.shell { width: min(100% - 6rem, 77.5rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--white); }

.site-header { background: var(--cream); border-bottom: 1px solid #541c351b; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 5.25rem; gap: 1.5rem; align-items: center; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 2.9rem; height: 2.9rem; border-radius: 50%; }
.brand span { display: grid; gap: .075rem; }
.brand strong { font: 600 1.35rem/1.05 var(--serif); letter-spacing: -.04em; }
.brand small { font-size: .72rem; font-weight: 700; line-height: 1.2; letter-spacing: .26em; text-transform: uppercase; }
.site-nav, .footer-inner nav { display: flex; gap: clamp(1.1rem, 3.1vw, 2.6rem); align-items: center; }
.site-nav a, .footer-inner nav a { text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .footer-inner nav a:hover, .text-link:hover { text-decoration: underline; }
.mast-cta { justify-self: end; }

.button {
    display: inline-flex;
    min-height: 2.8rem;
    justify-content: center;
    align-items: center;
    padding: .7rem 1.28rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
    font-size: .91rem;
    text-decoration: none;
    line-height: 1.25;
    transition: background-color .18s, color .18s, border-color .18s;
}
.button-plum { color: var(--white); background: var(--plum); }
.button-plum:hover { background: #542344; }
.button-gold { color: var(--deep-plum); background: var(--gold); }
.button-gold:hover { background: #f5cb86; }
.button-outline { color: var(--ink); background: transparent; border-color: var(--line); }
.button-outline:hover { background: var(--cream); border-color: #bd9f9d; }

.hero { overflow: hidden; background: var(--plum); color: var(--cream); }
.hero-inner { display: grid; grid-template-columns: 46% 54%; max-width: 105rem; margin-inline: auto; min-height: clamp(28rem, 39vw, 37rem); }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 3.75rem 1.75rem 4rem max(3rem, calc((min(100vw, 105rem) - 77.5rem) / 2)); }
.hero-kicker, .eyebrow { margin-bottom: .9rem; font-size: .875rem; line-height: 1.35; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; }
.hero-kicker { color: #f0c786; display: flex; align-items: center; gap: .6rem; }
.hero-kicker span { color: #ea8169; font-size: 1.05rem; }
.hero h1 { margin: 0 0 1.45rem; font-size: clamp(3.45rem, 6.1vw, 6rem); line-height: .99; letter-spacing: -.059em; }
.hero h1 em { font-weight: 500; color: var(--gold); }
.hero-copy > p { max-width: 24rem; margin-bottom: 1.55rem; color: #f1e0d6; font-size: 1.08rem; line-height: 1.55; }
.hero-copy .button { min-height: 3.18rem; padding-inline: 1.5rem; }
.hero-art { position: relative; min-width: 0; }
.hero-art::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(90deg, var(--plum), #38142e00 30%); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.catalog { padding-top: 3.9rem; padding-bottom: 5.7rem; }
.section-heading { text-align: center; margin-bottom: 2.1rem; }
.heading-mark { display: block; color: var(--rust); font-size: 1.45rem; margin-bottom: .6rem; line-height: 1; }
.eyebrow { color: var(--rust); }
.section-heading .eyebrow { margin-bottom: .55rem; }
.section-heading h2 { margin: 0; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters a { display: inline-flex; align-items: center; min-height: 2.6rem; border: 1px solid var(--line); border-radius: 999px; padding: .48rem .96rem; text-decoration: none; font-size: .9rem; font-weight: 600; background: var(--white); }
.filters a:hover { border-color: #965e70; }
.filters a[aria-current="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.search { display: flex; width: min(100%, 16rem); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.search input { flex: 1; min-width: 0; min-height: 2.6rem; border: none; border-radius: 999px; padding: .42rem .25rem .42rem .95rem; color: var(--ink); background: transparent; }
.search input::placeholder { color: var(--muted); }
.search-button { display: grid; flex: 0 0 2.6rem; place-items: center; border: none; border-radius: 50%; background: transparent; color: var(--ink); }
.search-button span { position: relative; width: .82rem; height: .82rem; margin-right: .15rem; margin-bottom: .15rem; border: 1.7px solid currentColor; border-radius: 50%; }
.search-button span::after { position: absolute; content: ""; top: .59rem; left: .57rem; width: .41rem; height: 1.7px; transform-origin: left; transform: rotate(45deg); background: currentColor; }
.menu-note { font-size: .82rem; font-weight: 600; color: var(--muted); margin: -.35rem 0 .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { border: 1px solid var(--line); border-radius: .9rem; background: var(--white); min-width: 0; }
.card-link { display: block; height: 100%; border-radius: inherit; text-decoration: none; }
.card-photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; background: var(--peach); border-radius: .85rem .85rem 0 0; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .27s ease; }
.card-link:hover img { transform: scale(1.035); }
.empty-photo { font-size: 2.5rem; color: var(--rust); }
.card-copy { position: relative; padding: 1.2rem 3.6rem 1.45rem 1.25rem; }
.card-copy .eyebrow { margin-bottom: .35rem; font-size: .83rem; letter-spacing: .105em; }
.card-copy h3 { margin-bottom: .45rem; overflow-wrap: anywhere; }
.card-description { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 0; color: var(--muted); overflow-wrap: anywhere; }
.card-plus { position: absolute; top: 1.22rem; right: 1.05rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 50%; font-size: 1.26rem; line-height: 1; transition: background-color .18s, color .18s; }
.card-link:hover .card-plus { color: var(--cream); background: var(--plum); }
.card-price { margin: .55rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.empty-menu { margin: 2rem 0 0; padding: 2.4rem 1.2rem; text-align: center; border: 1px solid var(--line); border-radius: .8rem; }

.story { background: #f2e2ce; border-block: 1px solid #e6d2ba; }
.story-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; padding-block: 4.2rem; }
.story-art { padding: clamp(.6rem, 3vw, 1.9rem); border: 1px solid #bd946f; border-radius: 48% 48% .8rem .8rem / 36% 36% .8rem .8rem; background: #f9ebcf; }
.story-art img { width: 100%; height: auto; border-radius: inherit; }
.story-copy { max-width: 32rem; }
.story-copy h2 { margin-bottom: 1.2rem; }
.story-copy p:not(.eyebrow) { color: #624955; }
.story-copy p:last-child { margin-bottom: 0; }
.contact { padding-block: 4rem; }
.contact h2 { margin-bottom: 1.5rem; }
.contact dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.contact dt, .product-facts dt { font-weight: 700; }
.contact dd, .product-facts dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.site-footer { background: var(--deep-plum); color: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 7rem; padding-block: 1.2rem; }
.footer-inner p { margin: 0; color: #dec8d1; font-size: .875rem; }

.product-page { min-height: 64vh; padding-block: 3rem 5rem; }
.back-link { display: inline-block; font-size: .94rem; font-weight: 700; margin-bottom: 1.25rem; }
.product-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); overflow: hidden; }
.detail-photo { width: 100%; height: 100%; min-height: 20rem; max-height: 38rem; object-fit: cover; align-self: stretch; }
.detail-copy { padding: clamp(1.55rem, 4vw, 3.9rem); overflow-wrap: anywhere; }
.detail-copy:only-child { grid-column: 1 / -1; }
.detail-copy h1 { font-size: clamp(2.15rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.product-description { color: var(--muted); }
.product-price { font-weight: 700; margin-bottom: .55rem; }
.product-notice { padding: .8rem .9rem; margin-bottom: 0; color: var(--ink); background: var(--cream); border-radius: .55rem; }
.product-facts { margin: 1.1rem 0 0; }
.product-facts div { padding: .9rem 0; border-top: 1px solid var(--line); }
.product-facts div:last-child { padding-bottom: 0; }

#product-dialog { width: min(calc(100% - 2rem), 55rem); padding: 0; max-height: calc(100% - 2rem); border: 0; border-radius: 1rem; color: var(--ink); background: var(--white); box-shadow: 0 1rem 4rem #2d102660; }
#product-dialog::backdrop { background: #241021bf; }
#product-dialog .product-detail { border: none; }
.dialog-close { position: absolute; z-index: 1; top: .7rem; right: .7rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 1.5rem; line-height: 1; }
.dialog-close:hover { background: var(--cream); }
.dialog-loading { padding: 3rem; margin: 0; }

@media (max-width: 850px) {
    .shell { width: calc(100% - 3rem); }
    .hero-copy { padding-left: 1.5rem; }
    .product-grid { gap: .9rem; }
    .card-copy { padding: 1rem 2.65rem 1.1rem .9rem; }
    .card-plus { right: .6rem; width: 1.65rem; height: 1.65rem; }
}

@media (max-width: 640px) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { min-height: 4.2rem; grid-template-columns: 1fr auto; gap: .7rem; }
    .brand img { width: 2.45rem; height: 2.45rem; }
    .brand strong { font-size: 1.22rem; }
    .site-nav { gap: .75rem; }
    .site-nav a { font-size: .875rem; }
    .mast-cta { display: none; }
    .hero-inner { display: flex; flex-direction: column; }
    .hero-copy { align-self: stretch; padding: 2.6rem 1.15rem 1.85rem; }
    .hero h1 { margin-bottom: 1rem; font-size: clamp(2.9rem, 11vw, 4.4rem); }
    .hero-copy > p { margin-bottom: 1.15rem; }
    .hero-art { min-height: 14rem; aspect-ratio: 1.65; }
    .hero-art::after { background: linear-gradient(180deg, var(--plum), #38142e00 25%); }
    .catalog { padding-block: 2.6rem 3.4rem; }
    .section-heading { margin-bottom: 1.4rem; }
    .catalog-tools { flex-direction: column; align-items: stretch; gap: .75rem; }
    .search { width: 100%; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-copy h3 { font-size: 1.25rem; }
    .card-description { font-size: .93rem; }
    .story-inner { padding-block: 2.8rem; grid-template-columns: 1fr; gap: 1.6rem; }
    .story-art { max-width: 25rem; }
    .contact dl, .product-detail { grid-template-columns: 1fr; }
    .detail-photo { min-height: initial; max-height: 15rem; }
    .footer-inner { gap: 1.05rem 1.4rem; }
}

@media (max-width: 375px) {
    .site-nav { gap: .5rem; }
    .brand { gap: .35rem; }
    .site-nav a { font-size: .81rem; }
    .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; }
}
