:root {
  color-scheme: light;
  --base:#f6f1e8; --panel:#eee5d8; --stone:#d8cabb; --ink:#30271f; --accent:#76543d;
  --accent-text:#f6f1e8; --muted:#6e5d4f; --line:#d8cabb; --bright:#fff9ed;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --base:#201e1b; --panel:#2b2824; --stone:#3b3732; --ink:#f1e6d4; --accent:#b58c60;
  --accent-text:#201e1b; --muted:#c9baa7; --line:#51483d; --bright:#f1e6d4;
}
@media (prefers-color-scheme:dark) {
  :root:not([data-theme]) {
    color-scheme:dark;
    --base:#201e1b; --panel:#2b2824; --stone:#3b3732; --ink:#f1e6d4; --accent:#b58c60;
    --accent-text:#201e1b; --muted:#c9baa7; --line:#51483d; --bright:#f1e6d4;
  }
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--base); color:var(--ink); font:16px/1.55 var(--sans); }
button,input { font:inherit; }
button { color:inherit; cursor:pointer; }
a { color:inherit; text-decoration:none; }
:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
img { display:block; max-width:100%; object-fit:cover; }
h1,h2,h3,p { margin:0; }
[hidden] { display:none !important; }
.skip { position:fixed; z-index:10; left:16px; top:8px; background:var(--base); padding:12px; transform:translateY(-150%); }
.skip:focus { transform:none; }
.wrap { width:min(1320px, calc(100% - clamp(36px, 9vw, 148px))); margin-inline:auto; }
.masthead { min-height:76px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding-inline:clamp(20px,4.2vw,72px); border-bottom:1px solid var(--line); }
.wordmark { width:max-content; font:400 clamp(25px, 3vw, 38px)/1 var(--serif); letter-spacing:.105em; }
.wordmark span { color:var(--accent); }
.main-nav { display:flex; gap:clamp(18px,3vw,48px); color:var(--muted); font-size:.83rem; }
.main-nav a:hover,.footer-links a:hover { text-decoration:underline; text-underline-offset:5px; }
.tools { justify-self:end; display:flex; align-items:center; gap:12px; }
.contact-link { color:var(--muted); font-size:.83rem; padding-block:12px; }
.contact-link:hover { text-decoration:underline; text-underline-offset:5px; }
.theme,.bag,.close { background:transparent; border:0; min-height:44px; }
.theme { width:44px; display:grid; place-items:center; }
.theme-icon { width:16px; height:16px; border-radius:50%; border:1.5px solid currentColor; box-shadow:inset 5px -3px 0 currentColor; }
.theme[aria-pressed="true"] .theme-icon { box-shadow:none; background:currentColor; outline:1px dashed currentColor; outline-offset:3px; width:12px;height:12px; }
.bag { display:flex; align-items:center; gap:8px; font-size:.85rem; }
.bag span { border-radius:50%; min-width:22px; display:grid; place-items:center; aspect-ratio:1; background:var(--panel); font-size:.74rem; }
.hero { position:relative; isolation:isolate; min-height:clamp(545px, 74svh, 780px); display:flex; align-items:center; overflow:hidden; color:#fff6e8; background:#453023; }
.hero-image { position:absolute; width:100%; height:100%; z-index:-2; object-position:center 45%; }
.hero::after { position:absolute; z-index:-1; content:""; inset:0; background:linear-gradient(90deg,rgba(35,24,18,.87),rgba(42,28,20,.63) 32%,rgba(42,28,20,.13) 61%,transparent 80%); }
.hero-content { padding:64px max(5vw,24px); }
.eyebrow { font-size:.73rem; font-weight:650; letter-spacing:.17em; color:var(--accent); }
.hero .eyebrow { color:#eacdb1; }
.hero h1 { margin:20px 0; font:400 clamp(3.1rem, 6.65vw, 7rem)/.97 var(--serif); letter-spacing:-.057em; }
.hero h1 em { color:#e3bd99; font-weight:400; }
.hero-text { max-width:32ch; margin-bottom:30px; color:#f1dec9; }
.primary { display:inline-flex; justify-content:center; align-items:center; min-height:46px; padding:12px 20px; border:1px solid transparent; background:var(--accent); color:var(--accent-text); font-weight:600; font-size:.85rem; }
.primary:hover { filter:brightness(.91); }
.hero-link { --accent:#f6f1e8; --accent-text:#30271f; }
.hero-product { position:absolute; right:5vw; bottom:30px; color:#fff6e8; background:#36251edb; border:1px solid #d6bda981; padding:10px 15px; text-align:left; font-size:.76rem; letter-spacing:.12em; }
.hero-product span { display:block; color:#f1dec9; letter-spacing:normal; }
.section { padding-top:clamp(56px,8.2vw,118px); scroll-margin-top:30px; }
.section h2,.drawer-head h2 { font:400 clamp(2.5rem,4.6vw,5rem)/1.04 var(--serif); letter-spacing:-.05em; margin-top:9px; }
.collections { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,2vw,28px); margin-top:25px; }
.collection { position:relative; aspect-ratio:1.24; padding:0; text-align:left; border:0; overflow:hidden; background:#76543d; }
.collection img { width:100%; height:100%; object-position:50% 48%; transition:transform .3s; }
.collection:hover img { transform:scale(1.055); }
.collection span { position:absolute; inset:auto 0 0; padding:30px 14px 13px; color:#fff8ec; background:linear-gradient(transparent,#281a13e8); font:400 clamp(1.12rem,2.1vw,1.8rem)/1.05 var(--serif); }
.catalog { padding-bottom:clamp(60px,8vw,114px); }
.catalog-head { display:flex; align-items:end; justify-content:space-between; gap:16px; }
.product-count { color:var(--muted); font-size:.86rem; }
.filters { display:flex; flex-wrap:wrap; gap:7px; margin:22px 0 26px; }
.filters button { background:transparent; border:1px solid var(--line); padding:9px 13px; min-height:42px; font-size:.83rem; }
.filters button[aria-pressed="true"] { color:var(--accent-text); background:var(--accent); border-color:var(--accent); }
.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px clamp(12px,2.25vw,30px); }
.product { min-width:0; }
.image-button { display:block; width:100%; background:var(--stone); border:0; padding:0; overflow:hidden; }
.image-button img { width:100%; height:auto; aspect-ratio:6/7; transition:transform .3s; }
.image-button:hover img { transform:scale(1.04); }
.product-info { display:flex; align-items:start; justify-content:space-between; gap:4px 8px; flex-wrap:wrap; margin:12px 0 10px; }
.product h3 { font:400 clamp(1.14rem,2.1vw,1.7rem)/1.1 var(--serif); letter-spacing:.04em; }
.product-name { border:0; padding:0; background:transparent; text-align:left; font:inherit; }
.product-name:hover { text-decoration:underline; text-underline-offset:4px; }
.product-type { color:var(--muted); font-size:.8rem; margin-top:3px; }
.price { font-size:.86rem; white-space:nowrap; font-weight:600; }
.add { border:1px solid var(--line); background:transparent; min-height:42px; padding:8px 12px; width:100%; font-size:.82rem; text-align:left; display:flex; justify-content:space-between; align-items:center; }
.add:hover,.secondary:hover { background:var(--panel); }
.add span { font-size:1.1rem; line-height:1; }
.footer { background:var(--panel); border-top:1px solid var(--line); }
.footer-inner { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-block:36px; }
.footer-inner p,.footer-links { color:var(--muted); font-size:.85rem; }
.footer-inner p { margin-top:9px; }
.footer-links { display:flex; align-items:center; gap:20px; }
dialog { color:var(--ink); background:var(--base); border:1px solid var(--line); padding:0; }
dialog::backdrop { background:#21170f9e; }
body:has(dialog[open]) { overflow:hidden; }
.detail-dialog { width:min(830px,calc(100% - 30px)); max-height:calc(100% - 24px); }
.detail-grid { display:grid; grid-template-columns:1fr 1fr; }
.detail-grid img { width:100%; height:100%; max-height:600px; object-fit:cover; }
.detail-copy { display:grid; align-content:center; justify-items:start; gap:13px; padding:55px clamp(20px,4vw,50px) 33px; }
.detail-copy h2 { font:400 clamp(2.25rem,6vw,4.4rem)/1 var(--serif); }
.detail-copy .price { font-size:1rem; }
.detail-copy .primary { margin-top:5px; }
.close { min-width:44px; padding:4px; font-size:1.8rem; line-height:1; }
.close:disabled { opacity:.5; cursor:default; }
.detail-dialog .close { position:absolute; top:9px; right:9px; background:var(--base); }
.cart-dialog { inset:0 0 0 auto; margin:0 0 0 auto; height:100%; max-height:none; width:min(100%,485px); max-width:none; overscroll-behavior:contain; }
.drawer-head { display:flex; justify-content:space-between; align-items:start; border-bottom:1px solid var(--line); padding:24px; }
.drawer-head h2 { font-size:2.9rem; }
#cart-contents { padding:24px; }
.cart-items { display:grid; gap:15px; list-style:none; padding:0; margin:0; }
.cart-row { display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:12px; align-items:center; border-bottom:1px solid var(--line); padding-bottom:14px; }
.cart-row img { width:64px; height:74px; }
.cart-row strong { display:block; font:400 1.2rem var(--serif); }
.quantity { display:flex; align-items:center; gap:5px; }
.quantity button { min-width:38px; min-height:42px; background:transparent; border:0; padding:0; }
.quantity button:hover { background:var(--panel); }
.quantity button:disabled { opacity:.42; cursor:default; }
.quantity span { min-width:1.3em; text-align:center; }
.subtotal { display:flex; justify-content:space-between; gap:15px; padding:20px 0; font-weight:600; }
.form-note { color:var(--muted); font-size:.85rem; }
.order-form { display:grid; gap:10px; }
.secondary { display:grid; place-items:center; min-height:46px; border:1px solid var(--line); padding:10px; background:transparent; font-size:.84rem; }
.order-form { margin-top:9px; }
.order-form label { display:grid; gap:4px; font-size:.84rem; }
.order-form .order-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.order-form input { width:100%; min-height:43px; border:1px solid var(--line); padding:8px; color:var(--ink); background:var(--panel); }
.order-form button:disabled { opacity:.6; }
.form-status { font-size:.85rem; }
#feedback { position:fixed; z-index:4; inset:auto 20px 20px auto; background:var(--ink); color:var(--base); box-shadow:0 4px 20px #0003; }
#feedback:not(:empty) { padding:10px 14px; }
@media (max-width:950px) { .products { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:670px) {
  .masthead { grid-template-columns:1fr auto; min-height:63px; gap:10px; }
  .main-nav { display:none; }
  .tools { gap:6px; }
  .hero { min-height:600px; align-items:end; }
  .hero-image { object-position:68% 19%; }
  .hero::after { background:linear-gradient(0deg,#241913 0%,#2b1d16b8 42%,#2b1d1610 75%); }
  .hero-content { padding:175px 20px 79px; }
  .hero h1 { font-size:clamp(2.65rem, 10vw, 4.5rem); }
  .hero-product { bottom:15px; right:18px; }
  .collections,.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .products { row-gap:27px; }
  .detail-grid { grid-template-columns:1fr; }
  .detail-grid img { height:auto; max-height:43svh; object-position:center; }
  .detail-copy { padding:24px; }
  .bag { padding:0; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
