@font-face {
  font-family: Baskervville;
  src: url("assets/fonts/baskervville.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Rethink;
  src: url("assets/fonts/rethink.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1ede8;
  --pine: #162d2d;
  --ink: #162525;
  --muted: #43514e;
  --on-pine: #fff9ef;
  --on-pine-muted: #e1e6da;
  --line: #a09f94;
  --gutter: clamp(1.125rem, 4.22vw, 4.25rem);
  --frame: 102rem;
  --display: Baskervville, Georgia, serif;
  --text: Rethink, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.52 var(--text); }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { color: inherit; font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.027em; text-wrap: balance; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--focus, #305d58); outline-offset: 4px; }
::selection { background: #d1ddd3; color: var(--pine); }
[id] { scroll-margin-top: 1.2rem; }
[hidden] { display: none !important; }
.frame { width: min(calc(100% - 2 * var(--gutter)), var(--frame)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .6rem; left: .6rem; padding: .6rem 1rem; background: var(--pine); color: var(--on-pine); transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr-only { clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

.masthead-inner { min-height: clamp(4.5rem, 5.73vw, 5.5rem); display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; flex: 0 1 auto; }
.wordmark img { width: clamp(9.25rem, 16.5vw, 17.25rem); }
.masthead nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 3rem); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; font-weight: 550; }
.masthead nav a:hover { text-decoration: underline; }

.hero { --overlap: clamp(4rem, 6.95vw, 7.1rem); }
.hero-scene { position: relative; background: #706453; }
.hero-scene img { width: 100%; height: clamp(27rem, 40.55vw, 45rem); object-fit: cover; object-position: 50% 71%; }
.hero-scene figcaption { position: absolute; right: var(--gutter); bottom: calc(var(--overlap) + .85rem); padding: .32rem .56rem; background: var(--paper); color: var(--ink); font-size: .75rem; line-height: 1.25; }
.hero-caption {
  position: relative;
  width: min(calc(100% - 2 * var(--gutter)), 78.4vw, 85rem);
  margin: calc(-1 * var(--overlap)) auto 0 calc(1.64 * var(--gutter));
  background: var(--pine);
  color: var(--on-pine);
  --focus: #d9e8d8;
  min-height: clamp(8.8rem, 11.1vw, 12rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.35rem, 2.05vw, 2.35rem) clamp(1.4rem, 3.25vw, 3.7rem);
}
.hero-caption h1 { font-size: clamp(2.65rem, 3.98vw, 4.12rem); text-wrap: pretty; }
.hero-caption p { margin-top: .44rem; color: var(--on-pine-muted); font-size: clamp(.95rem, 1.22vw, 1.2rem); }
.text-action { display: inline-flex; align-items: center; gap: .58rem; min-height: 44px; width: fit-content; text-decoration-thickness: 1px; font-weight: 550; white-space: nowrap; }
.text-action svg { flex: none; transition: transform 180ms ease; }
.text-action:hover svg { transform: translateX(.2rem); }
.shop-index { margin-block: clamp(1.6rem, 3.2vw, 3.5rem) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3.5vw, 3.5rem); }
.shop-path { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; grid-template-columns: minmax(5rem, 30%) minmax(0, 1fr) auto; gap: clamp(.9rem, 1.65vw, 1.6rem); align-items: center; text-decoration: none; }
.path-photo { aspect-ratio: 1.38; overflow: hidden; background: #d8d7cc; }
.path-photo img { height: 100%; object-fit: cover; }
.path-brown img { transform: scale(1.25); }
.path-label { display: grid; gap: .28rem; }
.path-title { font: 400 clamp(1.55rem, 2.22vw, 2.2rem)/1.13 var(--display); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.path-detail { color: var(--muted); font-size: .91rem; line-height: 1.32; }
.shop-path svg { transition: transform 180ms ease; }
.shop-path:hover svg { transform: translateX(.18rem); }
.shop-path:hover .path-title { text-decoration-thickness: 2px; }

@media (max-width: 810px) {
  .hero { --overlap: 2.25rem; }
  .hero-scene img { height: clamp(17rem, 60vw, 29rem); object-position: 80% 60%; }
  .hero-caption { margin-inline: auto; width: calc(100% - 2 * var(--gutter)); }
  .hero-caption h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
}
@media (max-width: 565px) {
  .masthead-inner { min-height: 4.1rem; gap: .45rem; }
  .masthead nav { gap: .7rem; font-size: .83rem; }
  .wordmark img { width: clamp(7.6rem, 34vw, 10.3rem); }
  .hero-scene img { height: clamp(17rem, 71vw, 24rem); object-position: 84% 55%; }
  .hero-scene figcaption { right: 1rem; }
  .hero-caption { padding: 1.15rem 1.12rem .8rem; display: grid; gap: .5rem; min-height: 0; }
  .hero-caption h1 { font-size: clamp(2rem, 7.77vw, 2.55rem); }
  .hero-caption p { max-width: 30ch; margin-top: .48rem; font-size: .94rem; }
  .shop-index { grid-template-columns: 1fr; gap: .65rem; }
  .shop-path { grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: .85rem; padding-top: .65rem; }
  .path-title { font-size: 1.63rem; }
  .path-detail { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.singles {
  margin-block: clamp(3.5rem, 6.4vw, 6.6rem) clamp(3.7rem, 7vw, 7.2rem);
  padding-top: clamp(1.45rem, 3.1vw, 3.2rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(15.5rem, 29fr) minmax(0, 71fr);
  align-items: start;
  gap: clamp(1.2rem, 5.2vw, 5.5rem);
}
.singles h2, .set-copy h2 { font-size: clamp(2.4rem, 4.2vw, 4.5rem); text-wrap: pretty; }
.single-directory > p, .set-copy > p { margin-top: .85rem; max-width: 35ch; color: var(--muted); }
.product-menu { display: grid; margin-top: clamp(1.4rem, 2.5vw, 2.4rem); }
.product-link {
  min-height: 4.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-top: 1px solid var(--line);
  padding: .72rem .72rem .72rem .1rem;
  text-decoration: none;
}
.product-link:last-child { border-bottom: 1px solid var(--line); }
.product-link strong { font-size: 1rem; text-decoration: underline; text-underline-offset: .19em; text-decoration-thickness: 1px; }
.product-link small { font-size: .86rem; color: var(--muted); display: block; margin-top: .17rem; }
.product-link:hover, .product-link[aria-current="true"] { background: #e0e1d8; }
.product-link[aria-current="true"] { padding-left: .68rem; }
.product-link svg { flex: none; }
.single-product { min-width: 0; }
.single-product + .single-product { margin-top: 2.4rem; }
.js .single-product + .single-product { margin-top: 0; }
.photo-stage { aspect-ratio: 1.66; overflow: hidden; position: relative; background: #d8d9d2; }
.product-photo { width: 100%; height: 100%; object-fit: cover; }
.photo-options { display: none; }
.js .photo-options { display: flex; flex-wrap: wrap; gap: .25rem .55rem; border-bottom: 1px solid var(--line); }
.photo-options button { min-height: 44px; padding: .48rem .6rem; background: transparent; border: 0; font-size: .9rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.photo-options button:hover { background: #e0e1d8; }
.photo-options button[aria-pressed="true"] { border-color: currentColor; font-weight: 650; }
.product-info { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem 2rem; padding-top: clamp(.95rem, 2vw, 1.75rem); align-items: start; }
.product-info h3, .set-copy h3 { font-size: clamp(1.55rem, 2.65vw, 2.55rem); text-wrap: pretty; }
.product-info p { color: var(--muted); margin-top: .45rem; max-width: 43ch; }
.product-facts { display: grid; font-size: .89rem; font-variant-numeric: tabular-nums; }
.product-facts div { display: grid; grid-template-columns: minmax(5.3rem, 39%) minmax(0, 1fr); align-items: start; gap: .6rem; padding-block: .45rem; border-top: 1px solid var(--line); }
.product-facts dt { font-weight: 650; }
.product-facts dd { margin: 0; color: var(--muted); }

.set-section { background: var(--pine); color: var(--on-pine); --muted: var(--on-pine-muted); --line: #75908a; --focus: #d9e8d8; padding-block: clamp(2.15rem, 5.1vw, 5.4rem); }
.set-layout { display: grid; grid-template-columns: minmax(15rem, 39fr) minmax(0, 61fr); align-items: center; gap: clamp(1.6rem, 6vw, 6rem); }
.set-copy { min-width: 0; }
.set-copy h3 { margin-top: 1.65rem; }
.set-copy .product-facts { margin-top: 1.65rem; max-width: 29rem; }
.set-section .photo-stage { aspect-ratio: 1.46; }
.set-section .photo-options button:hover { background: #294441; }

.footer { padding-block: clamp(1.2rem, 2vw, 2.1rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer nav { display: flex; gap: clamp(.7rem, 2.4vw, 2rem); align-items: center; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; white-space: nowrap; }

@media (max-width: 910px) {
  .singles { gap: 1.25rem; grid-template-columns: minmax(12.2rem, 28fr) minmax(0,72fr); }
  .product-info { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .singles, .set-layout { grid-template-columns: 1fr; }
  .single-directory > p, .set-copy > p { margin-top: .55rem; }
  .product-menu { margin-top: 1rem; }
  .product-link { min-height: 3.76rem; padding-block: .55rem; }
  .singles .photo-stage { aspect-ratio: 1.52; }
  .set-layout .product-media { grid-row: 2; }
  .set-copy h3 { margin-top: .85rem; }
  .set-copy .product-facts { margin-top: 1.05rem; }
  .footer { gap: .58rem; }
  .footer nav a { font-size: .79rem; }
}
@media (max-width: 360px) {
  .masthead nav { gap: .48rem; font-size: .77rem; }
  .photo-options button { padding-inline: .42rem; }
}
