:root {
  color-scheme: light;
  --paper: #faf8f2;
  --cream: #eee8db;
  --ink: #23241f;
  --muted: #5e5d52;
  --olive: #474d3d;
  --line: #d8d2c4;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #8e6941; outline-offset: 4px; }
.wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 12px auto auto 12px; z-index: 5; padding: 9px 13px; background: white; }
.topline { background: var(--ink); color: #faf5eb; }
.topline-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .16em; }
.topline a span { margin-left: 4px; }
.header { border-bottom: 1px solid var(--line); }
.navigation { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.wordmark { display: inline-block; }
.wordmark img { height: auto; }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: 26px; font-size: 14px; }
.nav-links a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { justify-content: flex-end; gap: 9px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 40px; min-height: 42px; padding: 5px; background: transparent; border: 0; font-size: 13px; }
.icon-button svg, .search svg { width: 22px; height: 22px; flex: none; }
.icon-button:hover { background: var(--cream); }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; margin-top: 22px; background: var(--cream); }
.hero-copy { min-width: 0; position: relative; padding: 62px clamp(32px, 6vw, 88px) 77px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.kicker { margin: 0 0 16px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.5; }
.kicker > span { display: inline-block; width: 18px; height: 1px; vertical-align: middle; margin-right: 7px; background: currentColor; }
h1,h2,h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(62px, 8.5vw, 124px); letter-spacing: -.075em; line-height: .91; }
h1 em { color: var(--olive); font-weight: inherit; }
.hero-intro { max-width: 28ch; margin: 24px 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; border: 1px solid transparent; padding: 10px 16px; font-size: 13px; font-weight: 700; text-align: left; }
.dark { color: var(--paper); background: var(--ink); }
.dark:hover { background: var(--olive); }
.hero-index { position: absolute; bottom: 15px; margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
#hero-index { margin-right: 4px; color: #856c50; }
#hero-category { text-transform: uppercase; }
.hero-photo { margin: 0; min-width: 0; min-height: 540px; position: relative; overflow: hidden; isolation: isolate; background: #e4ddd7; }
.hero-frame { position: absolute; inset: 0 0 47px; overflow: hidden; opacity: 0; transform: translateX(6%); transition: opacity .7s ease, transform .9s ease; }
.hero-frame.is-current { opacity: 1; transform: translateX(0); z-index: 1; }
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 16px; }
.hero-frame-flat { background: #efd6bd; }
.hero-photo.is-enhanced .hero-frame.is-current img { animation: hero-drift 3.5s ease-out both paused; }
.hero-photo.is-playing .hero-frame.is-current img { animation-play-state: running; }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.025); } }
.hero-photo figcaption { position: absolute; z-index: 2; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 12px 4px 17px; min-height: 47px; background: #e9e2d9f5; color: var(--ink); }
.hero-caption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 14px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#hero-style { color: var(--muted); }
.hero-toggle { flex: none; min-width: 61px; min-height: 36px; padding: 5px 9px; border: 1px solid #a4978a; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; }
.hero-toggle:hover { background: var(--paper); }
.collection { padding-block: clamp(62px, 8vw, 105px); scroll-margin-top: 18px; }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(38px, 5.1vw, 69px); line-height: 1.04; letter-spacing: -.052em; }
.search { display: flex; align-items: center; gap: 7px; width: min(100%, 240px); flex: none; padding: 0 10px; border: 1px solid var(--line); }
.search:focus-within { border-color: var(--ink); }
.search input { min-width: 0; width: 100%; min-height: 44px; background: transparent; border: 0; outline: none; font-size: 14px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.category-filters button { min-height: 44px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 700; }
.category-filters button:hover { border-color: var(--olive); }
.category-filters button[aria-pressed="true"] { border-color: var(--olive); background: var(--olive); color: var(--paper); }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px 17px; color: var(--muted); font-size: 13px; }
.category { color: var(--ink); font-weight: 700; }
.collection-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 4vw, 62px); align-items: start; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.card-photo { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: #e5ded8; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 9%; transition: transform .28s; }
.card-photo:hover img { transform: scale(1.035); }
.card-photo span { position: absolute; right: 12px; bottom: 12px; padding: 8px 11px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; }
.card-info { padding-top: 12px; }
.card-info .kicker { margin-bottom: 5px; }
.card-info h3 { font-size: clamp(23px, 3.3vw, 37px); line-height: 1.1; letter-spacing: -.032em; }
.card-price, .product-price { margin: 8px 0 0; font-size: 16px; font-weight: 700; }
.stock-badge { width: fit-content; margin: 8px 0 0; padding: 2px 8px; background: #f0e6df; color: #683b2d; font-size: 12px; font-weight: 700; }
.product-color { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.card-sizes, .empty-results { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.card-variants { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.card-variants button { flex: 0 0 44px; width: 44px; height: 48px; padding: 2px; border: 1px solid var(--line); background: var(--paper); }
.card-variants button:hover, .card-variants button:focus-visible { border-color: var(--ink); }
.card-variants img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.empty-results { padding: 32px 16px; border: 1px solid var(--line); }
.collection-feature { margin: 0; position: relative; overflow: hidden; min-width: 0; background: #e3dccc; aspect-ratio: 1.05 / 1; }
.collection-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.collection-feature figcaption { position: absolute; inset: auto 0 0; padding: clamp(15px, 3vw, 28px); color: #fffaf0; background: linear-gradient(transparent, #1e211ddd 65%); }
.collection-feature .kicker { color: inherit; margin-bottom: 6px; }
.collection-feature figcaption > p:last-child { margin: 0; font: clamp(26px, 4.3vw, 54px)/.98 var(--serif); letter-spacing: -.05em; }
.visit { background: var(--cream); }
.visit-inner { display: flex; justify-content: space-between; align-items: end; gap: 26px; padding-block: 53px; }
.visit-inner p:last-child { margin: 12px 0 0; color: var(--muted); }
.visit-links { display: grid; gap: 6px; min-width: 200px; }
.visit-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #b8b09f; padding: 7px 0; font-size: 12px; }
.visit-links strong { display: block; margin-top: 2px; font-size: 14px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 18px; color: var(--muted); font-size: 12px; }
dialog { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-height: calc(100% - 30px); }
dialog::backdrop { background: #23241fb3; }
body:has(dialog[open]) { overflow: hidden; }
.product-dialog { width: min(865px, calc(100% - 32px)); }
.product-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.close-button { z-index: 1; position: absolute; right: 11px; top: 10px; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper); font-size: 25px; line-height: 1; }
.product-gallery { min-width: 0; }
.product-gallery > img { width: 100%; height: auto; }
.gallery-options { display: flex; gap: 7px; padding: 8px 12px 12px; }
.gallery-options:not(:has(button:nth-child(2))) { display: none; }
.gallery-options button { width: 48px; height: 49px; padding: 2px; background: transparent; border: 1px solid var(--line); }
.gallery-options button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-options img { width: 100%; height: 100%; object-fit: cover; }
.product-details { align-self: center; padding: 48px 28px 25px; }
.product-details h2, .bag-panel h2 { font-size: clamp(34px, 5vw, 54px); }
.description { margin: 12px 0 8px; color: var(--muted); }
.delivery-note { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.delivery-note strong { color: var(--ink); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 700; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 44px; min-height: 43px; border: 1px solid var(--line); font-size: 13px; }
.sizes label:hover span, .sizes input:focus-visible + span { border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid #8e6941; outline-offset: 2px; }
.sizes input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.variant-field { margin-bottom: 12px; }
#color-options span { padding-inline: 10px; }
.sizes input:disabled + span { color: #6e6259; background: #f1ece6; cursor: not-allowed; }
.add-button:disabled { opacity: .45; cursor: not-allowed; }
#stock-message:empty { display: none; }
.add-button { width: 100%; margin-top: 14px; }
.preview-note { color: var(--muted); margin: 12px 0 0; font-size: 12px; }
.bag-dialog { position: fixed; inset: 0 0 0 auto; height: 100%; max-height: 100%; margin: 0; width: min(100%, 430px); max-width: 100%; }
.bag-panel { position: relative; padding: 46px 22px 24px; }
.bag-panel > .button { width: 100%; margin-top: 17px; }
.bag-panel > .button[hidden] { display: none; }
.bag-entry { display: grid; grid-template-columns: 62px 1fr auto; align-items: start; gap: 11px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 13px; }
.bag-entry:first-child { margin-top: 11px; border-top: 1px solid var(--line); }
.bag-entry img { width: 62px; aspect-ratio: 4 / 5; object-fit: cover; }
.bag-entry p { margin: 3px 0 0; color: var(--muted); }
.bag-entry button { background: transparent; padding: 4px; border: 0; text-decoration: underline; font-size: 12px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero-photo { min-height: 465px; }
  .hero-copy { padding-inline: 30px; }
  .collection-heading { align-items: start; flex-direction: column; gap: 12px; }
}
@media (min-width: 601px) {
  .collection-layout { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
  .collection-feature { width: min(100%, 520px); }

  .product-dialog { width: min(1000px, calc(100% - 32px), max(560px, calc((100svh - 100px) * 1.9))); }
  .product-panel { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .product-gallery > img { display: block; }
  .product-details {
    align-self: stretch;
    contain: size;
    min-height: 0;
    padding: 22px 24px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .product-details .kicker { margin: 0 48px 8px 0; }
  .product-details h2 { font-size: clamp(25px, 3vw, 36px); }
  .product-details .description { margin-block: 8px 12px; font-size: 14px; }
  .product-details .sizes { gap: 6px; }
  .product-details .sizes span { min-height: 36px; }
  .product-details .variant-field { margin-bottom: 8px; }
  .product-panel > .close-button { right: 22px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 30px); }
  .topline-inner { justify-content: center; font-size: 9px; letter-spacing: .11em; }
  .topline-inner > a { display: none; }
  .navigation { min-height: 69px; gap: 5px; }
  .wordmark img { width: 74px; }
  .nav-links { font-size: 12px; }
  .nav-links a:last-child { display: none; }
  .nav-actions { gap: 0; }
  .icon-button { min-width: 33px; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero-copy { padding: 29px 23px 52px; }
  h1 { font-size: clamp(60px, 15vw, 90px); }
  .hero-intro { margin-block: 16px; }
  .hero-photo { min-height: 0; aspect-ratio: 1 / 1; }
  .collection-layout { grid-template-columns: 1fr; }
  .search { width: 100%; }
  .visit-inner { align-items: start; flex-direction: column; padding-block: 39px; }
  .visit-links { width: 100%; }
  .product-panel { grid-template-columns: 1fr; }
  .product-gallery > img {
    display: block;
    height: min(300px, 38svh);
    object-fit: contain;
  }
  .gallery-options { justify-content: center; flex-wrap: wrap; padding-block: 6px; }
  .product-details { padding: 14px 17px 20px; }
  .product-details h2 { font-size: clamp(21px, 5.7vw, 29px); }
  .product-details .kicker { font-size: 9px; margin-bottom: 10px; }
  .product-details .product-price { font-size: 15px; }
  .product-details .product-color { font-size: 12px; }
  .product-details .description { margin-block: 8px; font-size: 13px; }
  .footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-photo img { transition: none; }
  .hero-frame { transition: none; }
  .hero-photo.is-enhanced .hero-frame.is-current img { animation: none; }
}

.size-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-top: 14px; font-size: 13px; font-weight: 700; }
.size-filter select, #product-link { min-height: 44px; padding: 7px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
#product-link { width: 100%; margin-top: 8px; }
.shop-details { margin-top: 14px; padding-block: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.shop-details summary { cursor: pointer; font-weight: 700; }
.shop-details dl { display: grid; gap: 7px; margin: 10px 0 0; }
.shop-details dt { font-weight: 700; }
.shop-details dd { margin: 0; color: var(--muted); }
.shop-details p { margin-block: 8px; color: var(--muted); }
.shop-details a { text-decoration: underline; }
.copy-product-link { min-height: 44px; padding: 0; border: 0; background: transparent; text-decoration: underline; font-size: 13px; font-weight: 700; }
#copy-status { margin: 0; }
.bag-subtotal { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 0; font-size: 14px; }
