:root {
  color-scheme: light;
  --ink: #252820;
  --muted: #595d51;
  --cream: #f8f5ee;
  --paper: #fffcf6;
  --edge: #ded8c9;
  --accent: #5b2d27;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.55 var(--sans) }
button, input { font: inherit }
button, a { -webkit-tap-highlight-color: transparent }
button { cursor: pointer }
button:disabled { opacity: .6; cursor: wait }
a { color: inherit; text-underline-offset: .25em }
button, input, .primary, .control { border-radius: 6px }
:where(button,a,input):focus-visible { outline: 2px solid #926143; outline-offset: 3px }
.wrap { width: min(1224px, calc(100% - 72px)); margin-inline: auto }
.skip { position: absolute; top: -70px; left: 12px; z-index: 2; padding: 10px; background: white }
.skip:focus { top: 10px }
.header { border-bottom: 1px solid var(--edge); background: var(--paper) }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 14px }
.wordmark { display: flex; align-items: center; gap: 10px; font: 700 22px var(--serif); letter-spacing: .07em; text-decoration: none; white-space: nowrap }
.wordmark small { font: 700 10px var(--sans); letter-spacing: .15em }
.header nav { display: flex; gap: 28px; font-weight: 600 }
.header nav a { text-decoration: none }
.primary, .control { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; font-weight: 650; text-decoration: none }
.primary { background: var(--accent); color: #fff8eb }
.primary:hover { background: #733d32 }
.control { background: transparent; color: inherit; border-color: #b8ad9c }
.control:hover { border-color: currentColor }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 465px; margin: 26px 0 54px; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: #ece6d9 }
.hero-copy { align-self: center; padding: clamp(25px,5vw,77px) }
.eyebrow { margin: 0; font: 700 11px/1.5 var(--sans); letter-spacing: .135em; color: #6b4534 }
h1, h2, h3, p { margin-top: 0 }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.06 }
.hero h1 { margin: 13px 0 16px; font-size: clamp(44px,7vw,87px); letter-spacing: -.055em }
.intro { font-size: clamp(15px,1.6vw,19px); max-width: 33ch; color: #454a3c }
.hero-picture { display: grid; place-items: center; position: relative; min-height: 390px; background: #e7ded0; overflow: hidden }
.hero-picture img { width: 100%; height: 100%; object-fit: contain; position: absolute; mix-blend-mode: multiply }
.hero-note { position: absolute; bottom: 14px; right: 14px; left: 14px; display: flex; justify-content: space-between; color: #faf0db; padding: 9px 13px; background: #2b3129; border-radius: 5px; font: 12px/1.4 var(--mono) }
.collection, .info { scroll-margin-top: 22px }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; margin-bottom: 18px }
.section-head h2, .info h2 { margin: 4px 0 0; font-size: clamp(31px,4vw,49px); letter-spacing: -.04em }
.filters { display: flex; gap: 7px; flex-wrap: wrap }
.filters button, .thumbnails button { color: var(--ink); border: 1px solid var(--edge); background: var(--paper); min-height: 41px; padding: 7px 12px }
.filters button[aria-pressed=true] { background: #303429; color: white; border-color: #303429 }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px }
.card { display: block; min-width: 0; background: var(--paper); border: 1px solid var(--edge); border-radius: 8px; color: inherit; overflow: hidden; text-decoration: none }
.card:hover { border-color: #97846c }
.card-picture { position: relative; aspect-ratio: 1.12; background: #e9e4d8; overflow: hidden }
.card-picture img { width: 100%; height: 100%; display: block; object-fit: cover }
.scan-tag { position: absolute; right: 8px; bottom: 8px; background: #252b22; color: white; border-radius: 4px; padding: 4px 7px; font-size: 11px; font-weight: 650 }
.card-copy { padding: 12px }
.sku-line { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap }
.sku { font: 700 12px var(--mono); color: #62432e }
.pill { padding: 3px 6px; background: #eee8da; color: #514537; border-radius: 4px; font: 650 11px var(--sans); white-space: nowrap }
.pill.available { background: #e3eadb; color: #324634 }
.card h3 { margin: 9px 0 2px; font: 500 19px/1.2 var(--serif) }
.card p, .small { margin: 0 0 7px; font-size: 13px; color: var(--muted) }
.info { border-top: 1px solid var(--edge); margin: 44px 0; padding-top: 20px }
.info p { max-width: 68ch; color: var(--muted); margin-top: 12px }
.info h3 { margin: 24px 0 0 }
.crumb { padding: 20px 0 12px }
.product { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.85fr); gap: clamp(18px,5vw,68px); margin-bottom: 45px }
.photo-stage { display: grid; place-items: center; border: 1px solid var(--edge); border-radius: 8px; background: #e8e3d7; overflow: hidden; aspect-ratio: 1.14 }
.photo-stage img { display: block; width: 100%; height: 100%; object-fit: contain }
.thumbnails { display: flex; gap: 6px; margin: 9px 0; overflow-x: auto }
.thumbnails button { min-width: 50px; padding: 4px }
.thumbnails button[aria-pressed=true] { border-color: var(--accent) }
.thumbnails img { display: block; width: 63px; height: 57px; object-fit: cover; border-radius: 3px }
.scan-button { margin-top: 6px; width: 100% }
.product-summary { padding-top: 15px }
.product-summary h1 { margin: 14px 0 9px; font-size: clamp(32px,5.5vw,65px); letter-spacing: -.04em }
.product-price { font-size: 25px; font-weight: 650; margin: 0 0 16px }
.specs { margin: 12px 0 20px; border-top: 1px solid var(--edge) }
.specs div { display: flex; justify-content: space-between; text-align: right; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--edge) }
.specs dt { color: var(--muted) }
.specs dd { margin: 0 }
.purchase { width: 100%; margin-bottom: 10px }
.availability-note { border: 1px solid var(--edge); border-radius: 6px; padding: 9px; margin-bottom: 10px }
.muted { color: var(--muted) }
.loading { padding-block: 35px; color: var(--muted) }
.footer { margin-top: 35px; padding: 24px 0; border-top: 1px solid var(--edge); color: var(--muted); font-size: 13px }
.footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px }
dialog { width: min(470px,calc(100% - 24px)); padding: 22px; border: 1px solid var(--edge); border-radius: 10px; background: var(--paper); color: var(--ink); max-height: 94dvh }
dialog::backdrop { background: #161a15ba }
dialog form { display: grid; gap: 11px }
dialog label { display: grid; gap: 4px; font-weight: 650 }
dialog input { width: 100%; min-height: 44px; border: 1px solid #b8ad9c; background: white; padding: 8px 11px }
.feedback { color: #96382c; margin: 0 }
.request-list { padding: 0; list-style: none }
.request-list li { display: flex; justify-content: space-between; gap: 7px; padding: 7px 0; border-bottom: 1px solid var(--edge) }
.text-button { color: var(--accent); border: 0; background: transparent; padding: 8px 0; text-decoration: underline }
@media(max-width:940px) { .grid { grid-template-columns: repeat(3,minmax(0,1fr)) } }
@media(max-width:690px) {
  .wrap { width: calc(100% - 28px) }
  .header-inner { min-height: 62px }
  .header nav { gap: 12px; font-size: 13px }
  .wordmark { gap: 5px; font-size: 19px }
  .wordmark img { width: 22px }
  .wordmark small { display: none }
  .account { padding: 7px 11px }
  .hero { grid-template-columns: 1fr; margin: 13px 0 29px }
  .hero-copy { padding: 21px 23px }
  .hero h1 br { display: none }
  .hero h1 { margin: 8px 0; font-size: clamp(38px,10vw,60px) }
  .hero-picture { min-height: 244px }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
  .card-copy { padding: 8px }
  .card h3 { font-size: 16px }
  .card p { font-size: 11px }
  .filters { gap: 4px }
  .filters button { padding: 5px 7px; font-size: 12px }
  .product { grid-template-columns: 1fr; gap: 9px }
  .product-summary { padding-top: 10px }
}
@media(max-width:340px) { .header nav { gap: 7px } .header nav a:nth-child(2) { display: none } }
