:root {
  color-scheme: light;
  --canvas: #f8f5ef;
  --ink: #211f19;
  --muted: #686054;
  --line: #dad2c4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 4.75rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid #9b6e41; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .8rem 1rem; background: white; color: black; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; padding: 0 var(--gutter); background: var(--canvas); }
.wordmark { display: inline-grid; justify-items: center; align-content: center; width: max-content; min-height: 44px; line-height: 1; text-transform: uppercase; }
.wordmark-label { font-size: .62rem; font-weight: 700; letter-spacing: .24em; padding-left: .24em; }
.wordmark-name { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.075em; padding-right: .075em; }
.nav-links, .header-actions { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2.25rem); }
.nav-links { font-size: .72rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.nav-links a { padding-block: .85rem; white-space: nowrap; }
.nav-links a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-content: flex-end; gap: clamp(.3rem, 1vw, .8rem); }
.icon-button, .bag-toggle, .close-button { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; min-width: 40px; min-height: 40px; border: 0; background: transparent; padding: .4rem; }
.icon-button svg, .bag-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
#bag-count { min-width: .7rem; font-size: .72rem; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(500px, 48vw, 750px); padding: 4.5rem var(--gutter); background: #26211b; color: #f9f4e9; overflow: hidden; }
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(17 14 11 / .58), rgb(17 14 11 / .17) 51%, transparent 77%); }
.hero-copy { max-width: 49rem; }
.hero h1 { font: 400 clamp(4.6rem, 10vw, 10.3rem)/.82 var(--serif); letter-spacing: -.035em; }
.hero h1 em { font-weight: 400; color: #e5ceb2; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid transparent; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.button span { font-size: .95rem; }
.button-light { margin-top: 2.2rem; color: #292218; background: #f5eadd; }
.button-light:hover { background: #d8b594; }
.button-dark, .add-to-bag { background: var(--ink); color: var(--canvas); }
.button-dark:hover, .add-to-bag:hover { background: #53463a; }
.button:disabled { background: #d8d1c5; color: #5f574e; cursor: default; }
.collection { padding: clamp(3.2rem, 6vw, 6.25rem) var(--gutter) 4.5rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-heading h2 { font: 400 clamp(3.2rem, 6.2vw, 6.4rem)/.96 var(--serif); letter-spacing: -.035em; }
#product-count { flex: none; padding-bottom: .2rem; color: var(--muted); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; }
.filter-bar { display: flex; gap: clamp(.9rem, 2.4vw, 2.6rem); margin: 1.4rem 0 1.8rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.filter-bar button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: .75rem 0 .72rem; color: var(--muted); font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; }
.filter-bar button:hover, .filter-bar button[aria-pressed="true"] { color: var(--ink); }
.filter-bar button[aria-pressed="true"] { border-color: var(--ink); }
.filter-bar button:focus-visible { outline-offset: -2px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(.8rem, 1.7vw, 1.75rem); }
.product-card { min-width: 0; }
.product-media { display: block; position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; background: #ebe5da; }
.product-media img, .detail-media img { width: 100%; height: 100%; object-fit: contain; }
.product-media img { transition: transform .35s; }
.product-media:hover img { transform: scale(1.035); }
.product-quick { position: absolute; z-index: 1; right: .6rem; bottom: .6rem; display: grid; place-items: center; min-height: 32px; padding: 0 .65rem; color: var(--ink); background: var(--canvas); font-size: .63rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.product-meta { padding: .95rem .05rem 0; }
.product-category, .detail-category { color: var(--muted); font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.product-title { display: block; border: 0; padding: 0; background: none; margin: .37rem 0; font: 400 clamp(1.2rem, 1.85vw, 1.7rem)/1.07 var(--serif); text-align: left; }
.product-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-price { color: var(--muted); font-size: .76rem; }
.photo-placeholder { width: 100%; height: 100%; min-height: 2rem; display: grid; place-items: center; color: var(--muted); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; background: #ebe5da; }
.collection-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 0 var(--gutter) 4.5rem; }
.collection-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font: 400 clamp(1.8rem, 3.2vw, 3rem)/1 var(--serif); }
.collection-links a:hover { color: #795b3e; }
.collection-links a span:last-child { font: 400 1rem/1 var(--sans); }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; padding: 2.9rem var(--gutter); color: #f5ecdf; background: #24211c; }
.site-footer p, .back-top { font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.back-top { justify-self: end; }
dialog { border: 0; color: var(--ink); background: var(--canvas); }
dialog::backdrop { background: rgb(22 19 15 / .62); }
html:has(dialog[open]) { overflow: hidden; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 480px); height: 100dvh; max-width: 100%; max-height: 100%; margin: 0; padding: clamp(1.2rem, 4vw, 2rem); }
#menu-dialog { inset: 0 auto 0 0; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: 1.15rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font: 400 3rem/.9 var(--serif); }
.close-button { font: 400 1.8rem/1 var(--sans); }
.close-button:hover { background: #eee8de; }
.drawer-links { display: flex; flex-direction: column; font: 400 1.8rem/1 var(--serif); }
.drawer-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
#search-input { width: 100%; min-height: 48px; padding: .8rem .9rem; color: var(--ink); border: 1px solid var(--line); background: #fffdf8; }
#search-results, #bag-items { padding-top: .5rem; }
#search-results > p, #bag-items > p { padding-block: 1rem; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.search-result { display: flex; align-items: center; gap: .85rem; width: 100%; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.search-result:hover { background: #f1ece3; }
.search-result strong { display: block; font: 400 1.24rem/1.1 var(--serif); }
.search-result div > span { display: block; margin-top: .3rem; color: var(--muted); }
.search-image, .bag-image { display: block; flex: 0 0 70px; height: 76px; overflow: hidden; background: #ebe5da; }
.search-image img, .bag-image img { width: 100%; height: 100%; object-fit: contain; }
.product-dialog { width: min(1040px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; }
.product-close { position: absolute; z-index: 2; top: .55rem; right: .55rem; background: var(--canvas); }
#product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-gallery { align-self: start; min-width: 0; background: #eee9df; }
.detail-media { display: grid; place-items: center; aspect-ratio: 1; background: #ebe5da; }
.detail-media img { max-height: 520px; }
.product-media img.catalog-thumbnail, .detail-media img.catalog-thumbnail { object-fit: scale-down; width: 100%; padding: min(22%, 5.5rem); }
.gallery-caption, .detail-photo-note { margin: .75rem 1rem; color: var(--muted); font-size: .77rem; line-height: 1.4; }
.gallery-thumbnails { position: relative; display: flex; gap: .5rem; overflow-x: auto; margin: .65rem .75rem .9rem; padding: .25rem; }
.gallery-thumb { flex: 0 0 62px; height: 62px; padding: 2px; border: 1px solid transparent; background: var(--canvas); }
.gallery-thumb[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumb:focus-visible { outline-offset: 1px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb .photo-placeholder { font-size: .48rem; letter-spacing: 0; }
.detail-copy { align-self: center; padding: 3.25rem clamp(1.2rem, 4vw, 3rem); }
.detail-copy h2 { margin: .5rem 0 .9rem; font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--serif); }
.detail-price { font-size: .95rem; }
.detail-copy p:not(.detail-category, .detail-price) { margin-top: .7rem; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.detail-copy .detail-description { margin-top: 1rem; color: var(--ink); font-size: .92rem; line-height: 1.6; }
.size-label { display: block; margin: 1.25rem 0 .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.size-picker { width: 100%; min-height: 46px; padding: .55rem .65rem; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font: inherit; }
.size-guide { margin-top: .8rem; font-size: .8rem; }
.size-guide summary { cursor: pointer; padding: .35rem 0; text-decoration: underline; text-underline-offset: 4px; }
.size-table-scroll { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .75rem; }
.size-table :is(th, td) { padding: .45rem .55rem .45rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.add-to-bag { min-height: 48px; width: 100%; margin-top: 1.45rem; padding: .75rem 1rem; border: 0; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.add-to-bag:disabled { background: #ded6c9; color: #62584a; cursor: default; }
.detail-bag-link, .bag-remove { display: inline-block; padding: .35rem 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.detail-bag-link { font-size: .82rem; }
.bag-drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
#bag-items { overflow-y: auto; }
.bag-row { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.bag-info { flex: 1; min-width: 0; }
.bag-info h3 { margin: 0 0 .35rem; font: 400 1.25rem/1.1 var(--serif); }
.bag-info p, .bag-info small { font-size: .75rem; color: var(--muted); }
.bag-size { margin-top: .25rem; }
.bag-quantity { display: inline-flex; align-items: center; gap: .45rem; margin-top: .55rem; font-size: .82rem; }
.bag-quantity button { border: 1px solid var(--line); background: transparent; width: 27px; height: 27px; }
.bag-remove { font-size: .7rem; align-self: flex-end; }
.bag-footer { border-top: 1px solid var(--line); padding-top: 1rem; }
.subtotal { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
#bag-status { min-height: 1.25rem; margin: .6rem 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
#checkout-button { width: 100%; }
@media (max-width: 850px) {
  .site-header { height: 66px; }
  .site-header > .nav-links { display: none; }
  .menu-toggle { display: inline-flex; justify-self: start; margin-left: -.35rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .header-actions { gap: 0; }
  .header-actions button { min-width: 36px; }
  .hero { align-items: flex-end; min-height: 560px; padding: 2.4rem var(--gutter) 3rem; }
  .hero > img { object-position: 70% 43%; }
  .hero::after { background: linear-gradient(0deg, rgb(16 13 10 / .82), rgb(16 13 10 / .24) 61%, transparent); }
  .hero h1 { font-size: clamp(4rem, 15vw, 6rem); }
  .button-light { margin-top: 1.55rem; }
  .collection { padding-bottom: 3rem; }
  .section-heading h2 { font-size: 3.15rem; }
  .filter-bar { margin-bottom: 1.15rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
  .collection-links, .site-footer { grid-template-columns: 1fr; }
  .collection-links { gap: 1.4rem; padding-bottom: 3rem; }
  .back-top { justify-self: start; }
  #product-detail { grid-template-columns: 1fr; }
  .detail-media { aspect-ratio: auto; height: min(330px, 52dvh); }
  .detail-copy { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
