@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
}

:root {
  --paper: #f4f1eb;
  --surface: #fbf9f5;
  --ink: #1c1915;
  --ink-soft: #3f3a34;
  --muted: #6f6a62;
  --line: #e3ddd4;
  --danger: #8d3b32;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, [role="button"], .btn { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; margin: 0; }
p { text-wrap: pretty; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 50;
}
.skip:focus { transform: none; }

.wrap { width: min(80rem, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand { display: flex; align-items: baseline; gap: 0.5rem; }
.brand span:first-child, .brand-mark {
  font-family: var(--serif);
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-note {
  display: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.desktop-nav { display: none; align-items: center; gap: 2rem; }
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}
.bar-end { display: flex; align-items: center; }
.bag-link, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 0.75rem;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}
.bag-link span { font-variant-numeric: tabular-nums; }
.menu-button { display: inline-flex; }

.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(24rem, 100%);
  background: var(--paper);
  padding: 1.5rem;
  box-shadow: -24px 0 48px rgba(28, 25, 21, 0.08);
}
.sheet[hidden] { display: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-nav { margin-top: 2.5rem; display: flex; flex-direction: column; }
.sheet-nav a {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
}

.hero { padding-top: 2.5rem; }
.hero-row { display: flex; flex-direction: column; gap: 2rem; }
.lede { max-width: 36rem; }
h1, .display {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.intro { margin-top: 1rem; color: var(--ink-soft); }
.filters { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.filter {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
}
.filter[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}
.search-row { display: flex; flex-direction: column; gap: 0.75rem; }
.field, .select, .area {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}
.field, .select { height: 2.75rem; padding: 0 0.75rem; }
.area { padding: 0.75rem; }
.field:focus-visible, .select:focus-visible, .area:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.count { margin-top: 2rem; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.lead {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-top: 1.5rem;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.italic { font-family: var(--serif); font-style: italic; font-weight: 500; line-height: 1.05; }
.lead h2 { font-size: 2.5rem; margin-top: 0.5rem; }
.blurb { margin-top: 1rem; color: var(--ink-soft); }
.meta, .price-note { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.price { margin-top: 1rem; font-family: var(--serif); font-size: 1.875rem; font-variant-numeric: tabular-nums; }
.actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
}
.btn:hover { opacity: 0.9; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--surface); opacity: 1; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.quiet-link { color: var(--muted); text-decoration: none; }
.quiet-link:hover { color: var(--ink); }

.masonry { column-gap: 2.5rem; }
.card { break-inside: avoid; margin-bottom: 3.5rem; }
.card h2 { font-size: 1.875rem; margin-top: 0.25rem; }
.card .kicker, .card h2, .card .meta, .card .line-price { margin-top: 0.5rem; }
.card .kicker { margin-top: 1rem; }
.line-price { font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.empty { padding: 4rem 0; }
.empty h2 { font-family: var(--serif); font-size: 2.25rem; }
.empty p { margin-top: 0.75rem; color: var(--ink-soft); }

.page { padding: 2.5rem 0 1rem; }
.narrow { max-width: 48rem; }
.work { display: grid; gap: 2.5rem; margin-top: 1rem; }
.facts { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; font-size: 0.875rem; }
.facts dt { color: var(--muted); }
.story { margin-top: 2rem; display: grid; gap: 1rem; color: var(--ink-soft); }
.work h1 { font-style: italic; }
.related { margin-top: 5rem; }
.related h2 { font-family: var(--serif); font-size: 1.875rem; }
.related-grid { margin-top: 2rem; display: grid; gap: 2.5rem; }

.bag-list { margin-top: 2rem; }
.bag-row {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.thumb { width: 5rem; flex: none; }
.bag-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.bag-title { font-size: 1.5rem; }
.remove {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-align: left;
}
.totals { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.total { font-family: var(--serif); font-size: 2.25rem; font-variant-numeric: tabular-nums; }

.split { display: grid; gap: 3.5rem; }
.form { margin-top: 1.5rem; display: grid; gap: 1rem; }
label span { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.pair { display: grid; gap: 1rem; }
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2rem;
  padding: 1.5rem;
}
.notice p + p { margin-top: 0.5rem; color: var(--ink-soft); }
.error { color: var(--danger); font-size: 0.875rem; }
.stack { display: grid; gap: 1.5rem; }
.muted { color: var(--muted); }
.soft { color: var(--ink-soft); }
.prose { max-width: 36rem; display: grid; gap: 1rem; margin-top: 2rem; color: var(--ink-soft); }
.aside { display: grid; gap: 1.5rem; font-size: 0.875rem; }
.aside dt { color: var(--muted); }
.aside dd { margin: 0.25rem 0 0; }

.site-footer { margin-top: 5rem; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 2.5rem; padding: 3rem 0; }
.foot-brand p + p { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: var(--muted); }
.foot-label { font-size: 0.875rem; font-weight: 500; }
.foot ul { margin-top: 0.75rem; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.foot a { text-underline-offset: 0.25rem; }
.foot a:hover { text-decoration: underline; }
.quiet { color: var(--muted); }
.notes { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.note-title { font-size: 0.875rem; font-weight: 500; }

@media (min-width: 640px) {
  .search-row, .pair, .bag-copy, .totals { align-items: end; }
  .search-row { flex-direction: row; align-items: center; }
  .search-row .field { width: 14rem; }
  .pair { grid-template-columns: 1fr 1fr; }
  .bag-copy { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .thumb { width: 7rem; }
  .totals { align-items: flex-end; }
  .btn-block { width: auto; }
}
@media (min-width: 768px) {
  .wrap { width: min(80rem, calc(100% - 4rem)); }
  .bar { min-height: 5rem; }
  .brand-note { display: inline; }
  h1, .display { font-size: 3.75rem; }
  .hero { padding-top: 3.5rem; }
  .page { padding-top: 3.5rem; }
  .lead h2 { font-size: 3rem; }
  .masonry { columns: 2; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-button { display: none; }
  .hero-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .lead { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .span-8 { grid-column: span 8; }
  .span-5 { grid-column: span 5; }
  .span-4 { grid-column: span 4; }
  .span-7 { grid-column: span 7; }
  .work { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; }
  .buy { position: sticky; top: 6rem; }
  .split { grid-template-columns: repeat(12, 1fr); }
  .split-main { grid-column: span 7; }
  .split-side { grid-column: 9 / span 4; }
  .split-form { grid-column: 7 / span 6; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .masonry { columns: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
