:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5e5e5e;
  --line: #dedede;
  --soft: #f5f5f5;
  --paper: #fff;
  --gutter: clamp(1rem, 4vw, 4.25rem);
  --measure: 100rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 8rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
main { min-height: 54vh; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { color: inherit; font: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #303030; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 6; padding: .7rem 1rem; background: var(--paper); }
.shell { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small-text, .optional { font-size: .875rem; }
.optional { color: var(--muted); font-weight: 400; }
.display-title { margin: 0; font: 400 clamp(2.35rem, 4.5vw, 4rem)/1.02 var(--serif); letter-spacing: -.044em; }
.text-link { border: 0; padding: .3rem 0; background: none; color: inherit; cursor: pointer; text-underline-offset: .24em; text-decoration: underline; }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--paper); }
.header-main { min-height: 4.8rem; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: var(--measure); margin: auto; }
.brand { display: block; width: clamp(10.5rem, 18vw, 15rem); flex-shrink: 0; }
.brand img, .footer-brand img { width: 100%; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: clamp(.65rem, 2.1vw, 2rem); }
.header-button { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .55rem; background: none; border: 0; padding: .4rem 0; white-space: nowrap; text-decoration: none; font-size: .875rem; }
.header-button:hover, .site-nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.menu-button { justify-self: start; }
.cart-count { margin-inline-start: -.15rem; font-variant-numeric: tabular-nums; }
.cart-count::before { content: "("; }
.cart-count::after { content: ")"; }
.icon-menu { position: relative; display: inline-block; width: 1.3rem; height: .76rem; border-block: 1px solid; }
.icon-menu::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); border-top: 1px solid; }
.icon-search { position: relative; display: inline-block; width: .88rem; height: .88rem; border: 1px solid; border-radius: 50%; margin-right: .15rem; }
.icon-search::after { content: ""; position: absolute; width: .43rem; height: 1px; top: 100%; left: 85%; background: currentColor; transform: rotate(46deg); transform-origin: left; }
.icon-bag { position: relative; display: inline-block; border: 1px solid; width: .98rem; height: .86rem; margin-top: .25rem; }
.icon-bag::before { content: ""; position: absolute; width: .44rem; height: .39rem; left: 50%; bottom: 100%; transform: translateX(-50%); border: 1px solid; border-bottom: 0; border-radius: .35rem .35rem 0 0; }
.site-nav { display: flex; justify-content: center; gap: clamp(1rem, 4.8vw, 4.5rem); align-items: center; min-height: 2.65rem; border-block: 1px solid var(--line); padding-inline: .6rem; overflow-x: auto; }
.site-nav a { min-height: 2.6rem; align-content: center; font-size: .875rem; text-transform: uppercase; letter-spacing: .055em; white-space: nowrap; text-decoration: none; }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(23rem, 40vw, 38rem); margin: 0 auto; width: min(100%, var(--measure)); border-bottom: 1px solid var(--line); }
.hero-copy { align-self: center; padding: clamp(2.5rem, 6vw, 6.2rem) var(--gutter); }
.hero h1 { margin-bottom: 1.3rem; font: 400 clamp(3rem, 6.3vw, 7.15rem)/.92 var(--serif); letter-spacing: -.068em; }
.hero h1 em { font-weight: 400; }
.hero p { margin-bottom: 1.85rem; max-width: 24ch; font-size: 1rem; }
.hero-media { position: relative; align-self: stretch; min-height: 21rem; overflow: hidden; background: #f6ecdf; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.9rem; padding: .7rem 1.08rem; border: 1px solid var(--ink); border-radius: 0; text-align: center; text-decoration: none; font-weight: 500; font-size: .9rem; line-height: 1.25; white-space: normal; transition: background .15s, color .15s; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #363636; }
.button-outline { background: #fff; color: var(--ink); }
.button-outline:hover { background: var(--soft); }
.button-wide { width: 100%; }
.catalog { padding-block: 3.5rem 4.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.35rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.25rem; }
.catalog-count { font-size: .875rem; margin: .5rem 0 0; }
.list-controls { display: flex; gap: .75rem 1rem; flex-wrap: wrap; }
.select-wrap { display: grid; gap: .28rem; font-size: .875rem; }
.select-wrap select { appearance: none; min-height: 2.55rem; padding: .48rem 2rem .48rem .65rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; pointer-events: none; right: .85rem; bottom: 1rem; width: .43rem; height: .43rem; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.search-chip { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 1rem; padding-inline: .65rem .25rem; border: 1px solid var(--line); font-size: .875rem; }
.search-chip button { border: 0; background: none; min-width: 2rem; min-height: 2rem; font-size: 1.25rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem .95rem; }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-image { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid #eee; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .22s ease; }
.product-image:hover img { transform: scale(1.025); }
.product-copy { padding: .78rem 0 .65rem; flex: 1; }
.product-copy h3 { margin: .2rem 0; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.product-copy h3 a { text-decoration: none; text-underline-offset: .22em; }
.product-copy h3 a:hover { text-decoration: underline; }
.product-format { font-size: .875rem; margin: 0; color: var(--muted); }
.product-price { margin: .32rem 0 0; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-card .button { align-self: flex-start; min-height: 2.45rem; }
.demo-note { margin: 2rem 0 0; color: var(--muted); font-size: .875rem; }
.empty-state { padding: 3.5rem .5rem; text-align: center; }
.empty-state h3, .empty-cart h3 { font: 400 1.8rem/1.12 var(--serif); }
.page-content { padding-block: 2.45rem 4.5rem; }
.page-title { margin: .8rem 0 .8rem; }

.product-detail { display: grid; gap: clamp(1.4rem, 5vw, 5rem); grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); margin-top: 1.25rem; align-items: start; }
.detail-media { border: 1px solid var(--line); background: white; }
.detail-media img { width: 100%; }
.detail-info { padding-block: .7rem; }
.detail-info h1 { margin: .3rem 0 .8rem; }
.detail-info .product-price { font-size: 1.22rem; margin: 1.1rem 0 1.4rem; }
.detail-info p { max-width: 43ch; }
.product-note { border-block: 1px solid var(--line); margin: 1.4rem 0 1rem; padding: .75rem 0; font-size: .875rem; color: var(--muted); }
.detail-info .button { padding-inline: 1.55rem; }

.checkout-layout { align-items: start; display: grid; grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr); gap: clamp(2rem, 6vw, 6rem); margin-top: 1.4rem; }
.form-section { border: 0; padding: 0; margin: 0 0 1.45rem; min-inline-size: 0; }
.form-section legend { width: 100%; padding: .8rem 0 .65rem; border-top: 1px solid var(--line); font-size: 1.12rem; font-weight: 600; }
.customer-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.customer-types label { min-height: 3rem; display: flex; align-items: center; gap: .55rem; padding-inline: .7rem; border: 1px solid var(--line); cursor: pointer; }
.customer-types label:has(input:checked) { border-color: var(--ink); background: var(--soft); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ink); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.field { display: block; font-size: .875rem; font-weight: 500; }
.field-full { grid-column: 1 / -1; }
.field input { display: block; width: 100%; min-height: 2.8rem; margin-top: .3rem; padding: .52rem .68rem; background: #fff; border: 1px solid #b7b7b7; border-radius: 0; font-size: 1rem; }
.shipping-toggle { display: flex; align-items: center; gap: .5rem; padding-block: .2rem .7rem; }
.shipping-fields { margin-top: .2rem; }
.order-submit { margin-top: 1rem; }
.order-summary { padding: 1.2rem; border: 1px solid var(--line); }
.order-summary h2 { font: 400 1.85rem/1.13 var(--serif); margin-bottom: .85rem; }
.summary-list, .cart-lines { padding: 0; margin: 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: .9rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.summary-list li span:last-child, .sum-line strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-line { display: flex; justify-content: space-between; gap: .75rem; padding-top: .83rem; margin-top: .35rem; border-top: 1px solid var(--line); }
.order-summary .small-text { margin: .8rem 0 0; }
.confirmation { text-align: center; padding-block: 5rem 6rem; }
.confirmation p { margin: 1.1rem 0 1.5rem; }

.site-footer { border-top: 1px solid var(--line); background: #fafafa; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding-block: 1.75rem; }
.footer-identity { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .9rem; }
.footer-brand { width: 9rem; }
.footer-tagline { color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .09em; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; }
.footer-inner a { text-underline-offset: .25em; font-size: .875rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .875rem; }

dialog { background: var(--paper); border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: #0007; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer { position: fixed; inset: 0 auto 0 0; height: 100dvh; max-height: 100dvh; width: min(100%, 30rem); max-width: 100%; margin: 0; overflow: hidden; }
.drawer-right { left: auto; right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.75rem; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 400 2rem/1.1 var(--serif); letter-spacing: -.03em; }
.drawer-head h2 span { font-family: var(--sans); font-size: 1rem; }
.icon-close { position: relative; display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; flex-shrink: 0; background: transparent; border: 0; }
.icon-close::before, .icon-close::after { content: ""; width: 1.15rem; border-top: 1px solid; position: absolute; transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }
.drawer-nav { padding: .45rem 1.25rem 1.5rem; overflow-y: auto; }
.drawer-nav a { display: block; padding: .96rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.drawer-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: .35rem 1.25rem; }
.drawer-foot { padding: 0 1.25rem 1.25rem; }
.drawer-foot .sum-line { margin-bottom: 1rem; }
.empty-cart { padding: 2.25rem 0; }
.cart-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: start; gap: .7rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-item img { width: 4.5rem; height: 4.5rem; object-fit: contain; border: 1px solid var(--line); }
.cart-item-name { display: block; margin-bottom: .19rem; font-size: .92rem; font-weight: 600; text-decoration: none; }
.cart-item-name:hover { text-decoration: underline; }
.cart-line-total { font-size: .875rem; padding-top: .25rem; white-space: nowrap; }
.cart-format { display: block; font-size: .875rem; color: var(--muted); }
.cart-actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: .5rem; margin-top: .35rem; }
.quantity { display: inline-grid; grid-template-columns: 2rem 1.7rem 2rem; align-items: center; text-align: center; border: 1px solid var(--line); }
.quantity button { min-height: 2.05rem; border: 0; background: white; }
.quantity button:hover:not(:disabled) { background: var(--soft); }
.remove-button { padding: .3rem .1rem; border: none; background: white; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; font-size: .875rem; }
.search-dialog { width: min(calc(100% - 2rem), 42rem); max-width: 100%; max-height: calc(100dvh - 2rem); }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding: 1.15rem 1.25rem .6rem; }
.search-form input { min-width: 0; border: 1px solid #aaa; border-radius: 0; padding: .65rem .75rem; }
.search-suggestions { padding: .3rem 1.25rem 1.3rem; }
.search-suggestions p { margin: .4rem 0 .6rem; }
.search-suggestions a { display: block; padding: .65rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.search-suggestions a:hover { text-decoration: underline; }

@media (max-width: 840px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { padding-block: 2.5rem; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(13rem, .65fr); gap: 1.6rem; }
  .header-actions { gap: .9rem; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 7.25rem; }
  .header-main { min-height: 3.9rem; gap: .45rem; padding-inline: .9rem; }
  .brand { width: clamp(8rem, 39vw, 11rem); }
  .header-button { justify-content: center; min-width: 2.15rem; }
  .header-button.menu-button { gap: .38rem; }
  .header-actions { gap: .25rem; }
  .utility-label { display: none; }
  .cart-count { font-size: .8rem; margin-inline-start: -.2rem; }
  .site-nav { justify-content: space-evenly; gap: .65rem; }
  .site-nav a { font-size: .875rem; text-transform: none; letter-spacing: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.35rem var(--gutter) 1.9rem; }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 4.9rem); margin-bottom: 1rem; }
  .hero p { margin-bottom: 1.2rem; max-width: none; }
  .hero-media { min-height: 0; aspect-ratio: 1.62; }
  .catalog { padding-block: 2.3rem 3rem; }
  .section-head { align-items: stretch; gap: .85rem; }
  .list-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; width: 100%; }
  .select-wrap select { width: 100%; padding-right: 1.5rem; }
  .select-wrap::after { right: .55rem; }
  .product-grid { gap: 1.45rem .65rem; }
  .product-copy { padding-block: .6rem; }
  .product-card .button { width: 100%; font-size: .875rem; }
  .page-content { padding-block: 1.45rem 3rem; }
  .product-detail, .checkout-layout { grid-template-columns: 1fr; gap: 1rem; }
  .checkout-layout .order-summary { grid-row: 1; }
  .field-grid { gap: .65rem; }
  .order-submit { width: 100%; }
  .footer-inner { align-items: flex-start; padding-block: 1.25rem; gap: .85rem; flex-direction: column; }
  .drawer-head { min-height: 4rem; }
}
@media (max-width: 375px) {
  .menu-button span:last-child { display: none; }
  .product-copy h3 { font-size: .93rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
