:root {
  color-scheme: light;
  --ink: #000;
  --paper: #fcf7f2;
  --muted: #625e5a;
  --display: "Ashcroft Test", "Ashcroft", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Helvetica Neue", Arial, sans-serif;
  --margin: clamp(1.2rem, 6vw, 5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  font: 1rem/1.5 var(--ui);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a, button { color: inherit; }
a { text-decoration: none; }
button { padding: 0; background: transparent; border: 0; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
button:hover, a:hover { text-decoration: underline; text-underline-offset: .24em; }
.skip-link { position: fixed; z-index: 6; top: .5rem; left: .5rem; background: var(--paper); padding: .5rem; }
.skip-link:not(:focus) { clip-path: inset(50%); pointer-events: none; }
.eyebrow { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
h1, .section-heading h2, .cut-copy h2 { font: 400 clamp(2.15rem, 3.8vw, 3.6rem)/1.04 var(--display); letter-spacing: -.045em; }
em { font-weight: 400; }
.site-header { background: var(--ink); color: var(--paper); display: flex; align-items: center; padding: .55rem max(var(--margin), calc((100% - 68rem) / 2)); gap: 2.25rem; }
.signature, .site-header nav, .bag-button { display: flex; align-items: center; }
.signature { gap: .65rem; min-height: 2.75rem; }
.signature img { width: 2.9rem; height: auto; }
.signature span { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.site-header nav { gap: 1.6rem; margin-left: auto; }
.site-header nav a, .bag-button { font-size: .8125rem; min-height: 2.75rem; align-content: center; }
.bag-button { gap: .3rem; }
.bag-button svg { width: .9rem; margin-right: .15rem; }
.campaign {
  position: relative;
  isolation: isolate;
  min-height: clamp(24rem, 41vw, 38rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  padding: clamp(2rem, 4vw, 4.5rem) var(--margin) 1rem;
  background: #171717;
  color: var(--paper);
}
.campaign-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.campaign-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; opacity: 0; transition: opacity .8s ease, transform 1s var(--ease); transform: scale(1.025); }
.campaign-art img.current { opacity: 1; transform: scale(1); }
.campaign h1 { margin: .6rem 0 .35rem; font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
.campaign-shop { min-height: 2.75rem; font-size: .875rem; text-decoration: underline; text-underline-offset: .35em; }
.chapters, .cut-options { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.chapters { margin-top: 1rem; }
.chapters button, .cut-options button, .motion-button { min-height: 2.75rem; font-size: .8125rem; color: var(--muted); }
.chapters button { color: rgb(252 247 242 / .78); }
button[aria-pressed="true"] { font-weight: 600; color: var(--ink); }
.chapters button[aria-pressed="true"] { color: var(--paper); }
.collection { width: min(calc(100% - 2 * var(--margin)), 63rem); margin-inline: auto; padding-block: clamp(2.5rem, 4.5vw, 4.5rem); }
.section-heading { margin-bottom: clamp(1.2rem, 2.2vw, 2rem); text-align: center; }
.section-heading h2, .cut-copy h2 { font-size: clamp(2rem, 2.9vw, 2.8rem); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.4vw, 3.6rem); }
.product-grid:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-still { width: 100%; height: 100%; object-fit: cover; }
.photo-open { position: absolute; inset: 0; width: 100%; }
.product-motion { position: absolute; inset: 0; background-size: 400% 100%; opacity: 0; }
.product-media.is-playing .product-motion { opacity: 1; animation: contact-print 3.2s steps(1) both; }
@keyframes contact-print {
  0%, 90%, 100% { background-position: 0% center; }
  15%, 75% { background-position: 33.3333% center; }
  30%, 60% { background-position: 66.6667% center; }
  45% { background-position: 100% center; }
}
.product-details { margin-top: .8rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .5rem; }
.product-details h3 { font: 400 clamp(1.06rem, 1.45vw, 1.35rem)/1.3 var(--display); }
.quick-view { text-align: start; }
.price { font-size: .8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preview-note { font-size: .75rem; color: var(--muted); margin-top: 1.5rem; }
.construction > .cut-image { aspect-ratio: auto; height: clamp(19rem, 32vw, 31rem); }
.construction .cut-plane img { object-position: var(--detail-x, 50%) var(--detail-y, 50%); transition: object-position 1s var(--ease); }
.cut-copy {
  width: min(calc(100% - 2 * var(--margin)), 63rem);
  margin: auto;
  padding-block: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label details" "title caption";
  align-items: baseline;
  gap: .3rem 2rem;
}
.cut-copy .eyebrow { grid-area: label; }
.cut-copy h2 { grid-area: title; }
.cut-copy .cut-options { grid-area: details; margin: 0; }
.cut-copy .study-description { grid-area: caption; }
.cut-options { margin-top: .9rem; }
.study-description { font-size: .875rem; line-height: 1.6; max-width: 36ch; }
.cut-copy .study-description { width: min(36ch, 100%); min-height: 3.2em; }
.cut-image { overflow: hidden; aspect-ratio: 1.4; }
.cut-plane, .cut-plane img { width: 100%; height: 100%; }
.cut-plane { transition: transform 1s var(--ease); }
.cut-plane img { object-fit: cover; }
.site-footer { color: var(--paper); background: var(--ink); }
.footer-inner { max-width: 65rem; margin: auto; padding: 3.5rem var(--margin) 1.35rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 1.6rem; height: auto; margin-bottom: .8rem; }
.footer-brand p { font: 400 1.3rem var(--display); }
.footer-brand span, .footer-meta { font-size: .75rem; opacity: .78; }
.site-footer nav { display: flex; align-items: start; flex-direction: column; }
.site-footer h2 { font: 400 1.05rem var(--display); margin-bottom: .65rem; }
.site-footer nav :is(a, button) { font-size: .8125rem; line-height: 1.5; padding: .35rem 0; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 26rem); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.drawer[open] { animation: drawer-enter .3s var(--ease); }
.drawer::backdrop { background: rgb(0 0 0 / .4); }
@keyframes drawer-enter { from { transform: translateX(100%); } }
.drawer-bar { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1.6rem; background: var(--paper); }
.drawer-bar h2 { font: 400 1.45rem var(--display); }
.close-button { min-width: 2.75rem; min-height: 2.75rem; font-size: 1.35rem; }
.drawer-body { padding: .65rem 1.6rem 2rem; }
.product-study .cut-image { width: min(100%, 17rem); margin: 0 auto; aspect-ratio: 1; }
.product-study .cut-options { margin-top: 1rem; }
.product-study .study-description { min-height: 3.2em; }
.detail-summary, .bag-total { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin: 1.15rem 0; }
.shade, .size-form legend, .bag-note { font-size: .875rem; }
.size-form fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.size-form legend { padding: 0; }
.size-options { display: flex; gap: .3rem; flex-wrap: wrap; }
.size-option { position: relative; }
.size-option input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.size-option span { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; font-size: .875rem; }
.size-option input:checked + span { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.size-option input:focus-visible + span { outline: 2px solid var(--ink); }
.drawer-body .button { display: block; width: 100%; padding: .9rem 1rem; background: var(--ink); color: var(--paper); font-size: .875rem; }
.drawer-body .button:disabled { opacity: .45; cursor: default; }
.bag-list { margin: 0; padding: 0; list-style: none; }
.bag-item { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: .8rem; padding: .75rem 0; }
.bag-item img { width: 100%; height: auto; }
.bag-item h3 { font: 400 1.05rem var(--display); }
.bag-item p, .remove-item { font-size: .8125rem; }
.remove-item { padding: .5rem 0; text-decoration: underline; }
.bag-note { margin: .75rem 0 1.5rem; }
@media (max-width: 640px) {
  .site-header { gap: 1rem; }
  .site-header nav a:last-child { display: none; }
  .campaign { min-height: clamp(24rem, 100vw, 32rem); padding-bottom: .5rem; }
  .campaign-art img { object-position: 68% 28%; }
  .campaign-art::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .68)); }
  .campaign h1 { font-size: clamp(2.35rem, 8vw, 3rem); }
  .chapters { margin-top: .1rem; }
  .collection { width: 100%; padding-block: 2.25rem; }
  .product-grid { display: flex; gap: 1rem; overflow-x: auto; padding-inline: var(--margin); scroll-padding-inline: var(--margin); scroll-snap-type: x proximity; }
  .product { flex: 0 0 clamp(9rem, 49vw, 17rem); scroll-snap-align: start; min-width: 0; }
  .collection .preview-note { margin-inline: var(--margin); }
  .product-details { display: block; margin-top: .5rem; }
  .product-details .price { margin-top: .1rem; }
  .construction > .cut-image { height: clamp(14rem, 62vw, 21rem); }
  .cut-copy { display: block; }
  .cut-copy h2 { margin-top: .4rem; }
  .cut-copy .cut-options { margin-top: .5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem; padding-top: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .product-media.is-playing .product-motion { background-position: 100% center; }
}
