:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --ink: #201e1a;
  --muted: #605b52;
  --rule: #d8d1c4;
  --serif: "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.15rem, 4.4vw, 5.25rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid #8d5b32;
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 6; top: .6rem; left: .6rem; padding: .75rem 1rem; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.55rem;
  padding: .5rem var(--gutter);
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  width: max-content;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span { font-weight: 400; }
.navigation { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.navigation a, .bag-button, .footer a:not(.wordmark) {
  font-size: .875rem;
  text-decoration: none;
  font-weight: 550;
}
.navigation a { padding-block: .65rem; }
.navigation a:hover, .footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: .35rem; }
.bag-button {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem 0 .42rem .65rem;
  min-height: 2.75rem;
  background: none;
  border: none;
}
.bag-button span {
  min-width: 1.65rem;
  padding: .24rem .32rem;
  border: 1px solid #bdb4a5;
  border-radius: 100px;
  text-align: center;
  font-size: .75rem;
}
.hero { position: relative; isolation: isolate; background: #2a2823; overflow: hidden; }
.hero-image { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(17deg, #110e0bd9 1%, #1d170e63 21%, transparent 51%);
}
.hero-content {
  position: absolute;
  z-index: 1;
  bottom: clamp(1.8rem, 4.9vw, 5.6rem);
  left: var(--gutter);
  color: #fffaf0;
}
.hero h1, .section-heading h2, .bag-heading h2, .detail-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
}
.hero h1 { font-size: clamp(2.75rem, 6.1vw, 7.6rem); line-height: .89; margin-bottom: clamp(1.05rem, 2.15vw, 2rem); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.9rem;
  padding: .65rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button:hover { background: #433b30; border-color: #433b30; }
.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.light:hover { background: #d6c5ab; border-color: #d6c5ab; }
.section-padding { padding-inline: var(--gutter); }
.catalog { padding-block: clamp(3.7rem, 7.4vw, 7.5rem); }
.catalog-note { margin: -0.7rem 0 1.7rem; color: var(--muted); line-height: 1.5; }
.catalog-note a { text-underline-offset: .2em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 1.8rem; }
.section-heading h2 { font-size: clamp(2.35rem, 4.75vw, 5rem); line-height: .99; }
.filters { display: flex; gap: .4rem; }
.filters button, .sizes button, .emblems button {
  min-height: 2.7rem;
  border: 1px solid var(--rule);
  background: transparent;
  padding: .55rem .85rem;
  font-size: .875rem;
}
.filters button:hover, .sizes button:hover, .emblems button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"], .sizes button[aria-pressed="true"], .emblems button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.15rem clamp(.85rem, 1.65vw, 2rem); }
.product-card { min-width: 0; }
.product-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #aaa097;
}
.product-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-photo:hover img { transform: scale(1.025); }
.card-line { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem .75rem; margin-top: 1rem; }
.card-name { text-align: left; border: 0; padding: 0; background: none; font-weight: 600; font-size: .99rem; }
.card-name:hover { text-decoration: underline; text-underline-offset: .2rem; }
.card-price { white-space: nowrap; font-size: .94rem; }
.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem; padding-block: .32rem; }
.swatch {
  width: 2rem;
  height: 2rem;
  padding: .33rem;
  border: 1px solid transparent;
  background: none;
  border-radius: 100px;
}
.swatch[aria-pressed="true"], .swatch:hover { border-color: var(--ink); }
.swatch::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--swatch);
  border: 1px solid #0002;
}
.layers { padding-block: 3rem clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule); }
.layers-heading { align-items: end; }
.layers-heading p { margin-top: .75rem; max-width: 34rem; color: var(--muted); line-height: 1.5; }
.layer-guide { margin: 0; }
.layer-photo { width: 100%; }
.layer-photo.story img { aspect-ratio: 16 / 9; }
.layer-guide figcaption { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; padding-top: .75rem; text-align: center; color: var(--muted); font-size: .875rem; }
.lookbook { padding-block: 3rem clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule); }
.stories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem clamp(.85rem, 1.7vw, 2rem); }
.story { padding: 0; border: 0; background: none; text-align: left; }
.story img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.stories > .story { grid-column: span 2; }
.stories > .story-feature { grid-column: 1 / -1; }
.stories > .story-pair { grid-column: span 3; }
.story-feature img { aspect-ratio: 16 / 9; }
.story span { display: inline-block; margin-top: .85rem; font-size: .95rem; font-weight: 600; }
.story:hover span { text-decoration: underline; text-underline-offset: .25rem; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 2rem; color: #eee8de; background: #231f1a; }
.footer p { font-size: .875rem; color: #d2c8b9; }

dialog {
  color: var(--ink);
  border: 0;
  padding: 0;
  max-height: calc(100dvh - 2rem);
  background: var(--paper);
}
dialog::backdrop { background: #18140ec2; }
.modal-shell { position: relative; }
.close-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  border-radius: 100%;
  padding: 0 0 .16rem;
  background: var(--paper);
  font-size: 1.65rem;
  line-height: 1;
}
.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 3.5rem;
  padding: .35rem clamp(.55rem, 2vw, 1rem);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.dialog-toolbar > .close-button { grid-column: 3; grid-row: 1; justify-self: end; }
.dialog-navigation { grid-column: 2; grid-row: 1; display: flex; gap: .7rem; align-items: center; }
.dialog-navigation button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 100%;
  background: none;
  font-size: 1.22rem;
}
.dialog-navigation button:hover { background: #eae3d8; border-color: var(--muted); }
.browse-count { min-width: 2.6rem; text-align: center; font-size: .875rem; color: var(--muted); }
.product-dialog { width: min(62rem, calc(100% - 2rem)); margin-block: max(1rem, calc((100dvh - 45rem) / 2)) auto; }
.product-detail { display: grid; grid-template-columns: 1.12fr 1fr; }
.turntable { min-width: 0; background: #ece7df; }
.turntable-frame { height: min(36rem, 68dvh); background: #aaa097; cursor: grab; touch-action: pan-y; }
.turntable-frame:active { cursor: grabbing; }
.turntable-frame:focus-visible { outline: 2px solid #8d5b32; outline-offset: -4px; }
.detail-photo { width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; }
.rotation-controls { display: grid; grid-template-columns: 1fr minmax(5rem, auto) 1fr; align-items: center; text-align: center; padding: .65rem .65rem .35rem; }
.rotation-controls button { justify-self: center; min-height: 2.45rem; border: 1px solid var(--rule); padding: .45rem .65rem; background: var(--paper); font-size: .8rem; }
.rotation-controls button:hover { border-color: var(--ink); }
.rotation-controls span { color: var(--ink); font-size: .84rem; }
.rotation-note { display: flex; flex-wrap: wrap; gap: .4rem .85rem; justify-content: center; padding: 0 .75rem .85rem; color: var(--muted); text-align: center; font-size: .82rem; }
.rotation-note button { color: var(--ink); }
.detail-text { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem clamp(1.2rem, 4vw, 3rem); }
.detail-text h2, .bag-heading h2 { font-size: clamp(2.2rem, 4vw, 3.45rem); line-height: .97; }
.detail-price { font-size: 1.125rem; margin-top: .55rem; }
.detail-copy { color: var(--muted); line-height: 1.5; }
.detail-control-label { display: block; font-weight: 650; font-size: .875rem; margin-bottom: .35rem; }
.detail-control-label span { color: var(--muted); font-weight: 400; }
.sizes, .emblems { display: flex; flex-wrap: wrap; gap: .35rem; }
.size-error { font-size: .875rem; color: #8e301f; margin-top: .5rem; }
.fit-note { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.text-button { padding: 0; background: none; border: 0; text-decoration: underline; text-underline-offset: .22rem; }
.detail-text .button { width: 100%; margin-top: auto; }
.bag-dialog { margin: 0 0 0 auto; width: min(100%, 29rem); height: 100dvh; max-width: 100%; max-height: 100dvh; }
.bag-shell { display: flex; flex-direction: column; padding: 1.6rem; min-height: 100%; }
.bag-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding-bottom: 1.15rem; border-bottom: 1px solid var(--rule); }
#bag-contents { flex: 1; display: flex; flex-direction: column; }
.bag-empty { padding-top: 1.5rem; display: grid; gap: 1rem; justify-items: start; }
.bag-item { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: .85rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.bag-item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.bag-item h3 { font-size: .98rem; line-height: 1.25; }
.bag-item p { margin-top: .4rem; font-size: .875rem; color: var(--muted); }
.bag-item-price { white-space: nowrap; font-size: .875rem; }
.quantity { display: flex; align-items: center; gap: .38rem; margin-top: .4rem; font-size: .875rem; }
.quantity button { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--rule); background: none; }
.quantity .remove { width: auto; border: 0; margin-left: .4rem; text-decoration: underline; text-underline-offset: .22rem; }
.bag-total { margin-top: auto; padding-top: 1.5rem; }
.bag-total div { display: flex; justify-content: space-between; gap: 1rem; font-weight: 650; }
.bag-total p { margin-top: .75rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.story-dialog { max-width: min(68rem, calc(100% - 2rem)); }
.story-dialog:not(.portrait-dialog) { width: min(68rem, calc(100% - 2rem)); }
.story-dialog figure { margin: 0; }
.story-dialog img { width: auto; height: auto; object-fit: contain; max-height: calc(100dvh - 9rem); }
.story-dialog:not(.portrait-dialog) img { width: 100%; height: min(66dvh, 39rem); background: #28241f; }
.story-dialog figcaption { padding: .8rem 1.2rem; font-weight: 600; }
.portrait-dialog { width: min(54rem, calc(100% - 2rem)); }
.portrait-dialog .portrait-frame { max-height: calc(100dvh - 10rem); overflow: auto; overscroll-behavior: contain; background: #938a83; }
.portrait-dialog .portrait-frame img { margin-inline: auto; max-height: calc(100dvh - 10rem); pointer-events: auto; }
.portrait-dialog .portrait-zoomed img { width: max(100%, 840px); max-width: none; max-height: none; }
.portrait-dialog figcaption { display: flex; align-items: center; justify-content: space-between; gap: .85rem; font-size: .9rem; }
.portrait-dialog figcaption button { flex: 0 0 auto; min-height: 2rem; }
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 5.7rem; }
  .header { grid-template-columns: 1fr 1fr; gap: 0 .75rem; min-height: 0; padding-block: .35rem 0; }
  .bag-button { grid-column: 2; grid-row: 1; }
  .navigation { grid-column: 1 / -1; grid-row: 2; gap: 1.5rem; padding-top: .15rem; }
  .navigation a { padding-block: .6rem .75rem; }
  .hero::after { display: none; }
  .hero-content { position: relative; inset: auto; padding: 1.35rem var(--gutter) 1.65rem; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 4.2rem); }
  .hero h1 br { display: none; }
  .section-heading { flex-direction: column; align-items: start; margin-bottom: 1.3rem; }
  .card-line { flex-direction: column; margin-top: .75rem; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.35rem; }
  .stories > .story { grid-column: auto; }
  .stories > .story-feature { grid-column: 1 / -1; }
  .story span { margin-top: .55rem; }
  .product-detail { grid-template-columns: 1fr; }
  .turntable-frame { height: min(26rem, 57dvh); }
  .detail-text { padding: 1.5rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.bag-item img { object-position: center; }
.bag-item img { height: auto; }
.story { align-self: start; }
.story img { height: auto; }
.product-photo { position: relative; }
.product-photo img { position: absolute; inset: 0; }
@media (max-width: 600px) {
  .navigation { gap: clamp(.8rem, 4vw, 1.5rem); }
  .layers-heading { align-items: start; }
  .layer-guide figcaption { font-size: .75rem; gap: .35rem; }
}
