:root {
  color-scheme: light;
  --paper: #f6f5ed;
  --card: #fffefa;
  --ink: #1b2b23;
  --muted: #526056;
  --forest: #183128;
  --forest-deep: #11251e;
  --lime: #d7ed9f;
  --line: #dedfd4;
  --outer: clamp(1.05rem, 5vw, 4.75rem);
  --display: "Nimbus Sans Narrow", "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button:not(:disabled) { cursor: pointer; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
p { line-height: 1.55; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ad5530;
  outline-offset: 3px;
}
.frame { width: min(82.5rem, calc(100% - var(--outer) * 2)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  inset: .5rem auto auto .5rem;
  background: white;
  padding: .8rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--forest-deep);
  color: #fbfcf5;
  border-bottom: 1px solid #ffffff24;
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.1rem;
  min-height: 5.1rem;
}
.wordmark { display: inline-flex; gap: .75rem; align-items: center; justify-self: start; text-decoration: none; }
.wordmark small, .wordmark strong { display: block; }
.wordmark small { font-size: .68rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.wordmark strong { font-size: 1.8rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.mark { width: 2.45rem; height: 2.45rem; position: relative; flex: none; }
.mark i { position: absolute; background: var(--lime); transform: skewY(-21deg); width: .56rem; }
.mark i:nth-child(1) { left: 0; bottom: .17rem; height: 1.45rem; }
.mark i:nth-child(2) { left: .85rem; bottom: .28rem; height: 1.83rem; }
.mark i:nth-child(3) { left: 1.7rem; bottom: .39rem; height: 2rem; }
.site-nav { display: flex; gap: clamp(1.15rem, 3vw, 2.6rem); font-size: .94rem; font-weight: 650; }
.site-nav a { text-decoration: none; text-underline-offset: .27rem; }
.site-nav a[aria-current] { color: var(--lime); }
.site-nav a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .64rem 1rem;
  border: 1px solid transparent;
  border-radius: .16rem;
  background: var(--forest);
  color: #fff;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.button:hover { background: #2b493d; }
.button:disabled { background: #e7e9e2; color: #59645d; }
.button-lime { background: var(--lime); color: var(--forest-deep); }
.button-lime:hover { background: #e4f4bc; }
.button-outline { border-color: #9bab9f; background: transparent; }
.button-outline:hover { background: #2b493d; border-color: #c3d3c7; }
.button-plain { background: transparent; color: var(--forest-deep); border-color: #a6b0a7; }
.button-plain:hover { background: #e9eee5; }
.selection-button { justify-self: end; background: transparent; color: #fff; border-color: #75867b; white-space: nowrap; }
.selection-button:hover { background: #2b493d; }
.count {
  display: grid;
  place-items: center;
  min-width: 1.54rem;
  min-height: 1.54rem;
  padding-inline: .36rem;
  border-radius: 2rem;
  background: var(--lime);
  color: var(--forest-deep);
  font-size: .8125rem;
}

.hero {
  background: var(--forest-deep);
  color: #fbfcf5;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
  padding-block: clamp(2.55rem, 6.25vw, 5.5rem);
}
.eyebrow {
  margin-bottom: 1rem;
  font-size: .82rem;
  font-weight: 740;
  color: var(--lime);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero h1, .catalog-sidebar h2, .workshop h2, .journal h2, .article-header h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.01;
  letter-spacing: -.028em;
}
.hero h1 { font-size: clamp(2.45rem, 4.75vw, 5rem); }
.hero-description { max-width: 28rem; margin-block: 1.2rem 1.5rem; color: #dfe9e1; }
.hero-actions, .dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-photo { background: #3a493e; min-width: 0; }
.hero-photo img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }

.catalog, .workshop, .journal { scroll-margin-top: 5.2rem; }
.catalog { padding-block: clamp(2.65rem, 5.6vw, 5rem); }
.catalog-layout { display: grid; grid-template-columns: minmax(11.6rem, .76fr) minmax(0, 3fr); gap: clamp(1.4rem, 3.6vw, 3.3rem); }
.catalog-sidebar h2 { font-size: clamp(1.95rem, 3vw, 3rem); }
.workshop h2, .journal h2 { font-size: clamp(2.3rem, 4.3vw, 4.2rem); }
.catalog-sidebar p { margin-block: .9rem 1.25rem; color: var(--muted); }
.sidebar-photo { margin-top: 1.65rem; height: auto; aspect-ratio: .79; object-fit: cover; border-radius: 50% 50% 0 0 / 27% 27% 0 0; }
.search {
  width: min(100%, 22rem);
  display: flex;
  gap: .7rem;
  align-items: center;
  background: var(--card);
  border: 1px solid #cbd0c5;
  border-radius: .4rem;
  padding: .05rem .85rem;
}
.search:focus-within { outline: 3px solid #ad5530; outline-offset: 2px; }
.search input { width: 100%; min-width: 0; height: 2.8rem; border: 0; outline: 0; background: transparent; color: var(--ink); }
.magnifier { position: relative; width: .86rem; height: .86rem; flex: none; border: 1.7px solid #424e44; border-radius: 50%; }
.magnifier::after {
  position: absolute;
  content: "";
  width: .39rem;
  height: 1.7px;
  right: -.29rem;
  bottom: -.13rem;
  background: #424e44;
  transform: rotate(45deg);
}
.facets { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem .75rem; margin-bottom: 1.2rem; }
.chips { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .5rem .85rem;
  min-height: 2.54rem;
  border: 1px solid #cbd0c5;
  border-radius: 2rem;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  font-size: .895rem;
}
.chip:hover { background: #e8eee1; }
.chip[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: #fff; }
.result-count { color: var(--muted); font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.1vw, 1.9rem); }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid #c9cbbf;
}
.product-card img { aspect-ratio: 1; height: auto; object-fit: cover; background: #e4e0d4; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: .95rem 0 1.05rem; }
.product-family { color: var(--muted); font-size: .825rem; font-weight: 680; }
.product-card h3 { margin: .34rem 0 .45rem; font-family: var(--display); font-size: clamp(1.25rem, 1.75vw, 1.65rem); line-height: 1.13; text-transform: uppercase; }
.product-card .product-meta { color: var(--muted); font-size: .92rem; }
.card-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem; padding-top: .8rem; margin-top: auto; }
.price { font-weight: 740; color: var(--forest-deep); font-variant-numeric: tabular-nums; }
.no-results { grid-column: 1 / -1; padding: 1.6rem; border: 1px dashed #a3ad9f; border-radius: .65rem; }

.workshop { background: var(--forest); color: #fbfcf5; }
.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.65rem, 5.4vw, 4.85rem);
}
.workshop-copy > p:not(.eyebrow) { margin-block: .9rem 1.2rem; max-width: 26rem; color: #dce8df; }
.workshop-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: end; gap: .85rem; }
.workshop-photos img { height: auto; aspect-ratio: 1.1; object-fit: cover; background: #3d5147; }
.workshop-photos figcaption { margin-top: .43rem; color: #e1ece1; font-size: .88rem; }

.journal { padding-block: clamp(2.7rem, 5.7vw, 5rem); }
.journal-heading { display: flex; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; margin-bottom: 1.45rem; }
.journal-heading p { color: var(--muted); }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.story-card { background: #efefe3; }
.story-image { display: block; }
.story-card img { height: auto; aspect-ratio: 1.85; object-fit: cover; }
.story-copy { padding: clamp(1rem, 2.45vw, 2rem); }
.story-category { color: #496051; font-weight: 680; font-size: .875rem; }
.story-copy h3 { margin: .36rem 0 .55rem; line-height: 1.14; font-size: clamp(1.45rem, 2.55vw, 2.45rem); }
.story-copy h3 a { text-decoration: none; }
.story-copy h3 a:hover { text-decoration: underline; text-underline-offset: .2rem; }
.story-copy p:not(.story-category) { margin-bottom: .45rem; color: var(--muted); }

.article-frame { width: min(54rem, calc(100% - var(--outer) * 2)); margin-inline: auto; }
.article-header { background: var(--forest-deep); color: #fbfcf5; padding-block: clamp(2.35rem, 5vw, 4.2rem); }
.article-header h1 { margin-bottom: 1.1rem; font-size: clamp(2.45rem, 6vw, 5.15rem); }
.article-header .eyebrow { margin-top: 1.4rem; }
.article-header p:last-child { color: #dce8df; font-size: 1.1rem; max-width: 43rem; }
.article-back { color: #e6ecdf; font-size: .95rem; text-underline-offset: .22rem; }
.article-body { padding-block: clamp(2rem, 4.9vw, 4.2rem); }
.article-body h2 { margin: 1.65rem 0 .62rem; font-size: clamp(1.53rem, 3.1vw, 2.28rem); }
.article-body p, .article-body ul { max-width: 43rem; }
.article-body ul { line-height: 1.65; }
.article-photo img { height: auto; aspect-ratio: 1.65; object-fit: cover; }
.article-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.article-pair img { height: auto; }
.article-photo figcaption, .article-pair figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.article-callout { display: grid; justify-items: start; gap: .75rem; padding: 1.2rem; margin-block: 1.7rem 1.1rem; background: #e8eee1; }
.article-source { color: var(--muted); font-size: .9rem; }
.article-source a { text-underline-offset: .18rem; }

.text-action { display: inline-block; padding: .35rem 0; background: transparent; border: 0; color: var(--forest); font-weight: 720; text-decoration: underline; text-underline-offset: .2rem; }
.footer { background: var(--forest-deep); color: #e4ece4; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 2rem; row-gap: 1rem; padding-block: 2rem; }
.footer p, .footer address, .footer button { font-size: .9rem; }
.footer address { margin-block: .4rem; font-style: normal; color: #c8d6ca; }
.footer a { text-underline-offset: .2rem; overflow-wrap: anywhere; }
.footer-meta .text-action { color: var(--lime); }

.modal {
  width: min(calc(100% - 1.75rem), 53rem);
  max-height: calc(100dvh - 1.75rem);
  padding: 0;
  margin: auto;
  overflow: auto;
  border: 1px solid #cbd0c5;
  border-radius: .85rem;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1.2rem 5rem #0d1d1660;
}
.modal::backdrop { background: #13251db3; }
.selection-dialog { width: min(calc(100% - 1.75rem), 45rem); }
.modal-close {
  position: absolute;
  z-index: 1;
  right: .75rem;
  top: .7rem;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--forest);
  font-size: 1.5rem;
  line-height: 1;
}
.modal-close:hover { background: #e7ebe1; }
.detail-view { display: grid; grid-template-columns: 45% 55%; }
.detail-media { display: grid; align-content: center; margin: 0; background: #eae8dc; }
.detail-photo { height: auto; aspect-ratio: 1; object-fit: contain; }
.detail-media figcaption { padding: .65rem; font-size: .83rem; color: var(--muted); }
.modal-copy { padding: clamp(1rem, 3.2vw, 2.25rem); }
.modal-heading { padding-right: 2.2rem; }
.modal-heading h2 { margin: .2rem 0 .45rem; font-size: clamp(1.7rem, 3.4vw, 2.55rem); line-height: 1.05; }
.modal-note { color: var(--muted); font-size: .91rem; }
.detail-description { margin-block: .75rem 1.1rem; }
.field { display: grid; gap: .35rem; color: var(--forest-deep); font-size: .91rem; font-weight: 650; }
.field input, .field select, .field textarea, .line-quantity {
  width: 100%;
  padding: .6rem .65rem;
  border: 1px solid #aeb8ad;
  border-radius: .35rem;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
}
.field select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 53%, var(--forest) 53%), linear-gradient(135deg, var(--forest) 53%, transparent 53%);
  background-position: calc(100% - 1rem) 50%, calc(100% - .65rem) 50%;
  background-size: .36rem .36rem;
  background-repeat: no-repeat;
}
.detail-data { display: grid; gap: .5rem; margin-block: .85rem; padding-block: .7rem; border-block: 1px solid var(--line); }
.detail-data div { min-width: 0; }
.detail-data dt { color: var(--muted); font-size: .83rem; }
.detail-data dd { margin: .22rem 0 0; font-size: .94rem; font-weight: 650; }
.detail-add { display: flex; flex-wrap: wrap; gap: .65rem; align-items: flex-end; margin-top: .9rem; }
.detail-add input, .order-quantity input { max-width: 8rem; }

.selection-list { list-style: none; margin-block: 1rem; padding: 0; border-top: 1px solid var(--line); }
.selection-line {
  display: grid;
  grid-template-columns: 3.65rem minmax(0, 1fr) 4.8rem auto;
  align-items: center;
  gap: .8rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
}
.selection-line .thumb { aspect-ratio: 1; object-fit: cover; border-radius: .32rem; }
.line-product { font-size: 1rem; font-weight: 720; }
.line-finish { color: var(--muted); font-size: .87rem; }
.line-quantity { padding: .35rem .4rem; }
.remove { color: #8c371e; padding: .35rem .1rem; }
.summary-box { display: grid; gap: .4rem; padding: .9rem; margin-block: .95rem; background: #eaece3; border-radius: .43rem; }
.summary-row { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.form-grid { display: grid; gap: .9rem; margin-block: 1.2rem; }
.local-notice { padding: .54rem 0; font-size: .875rem; color: var(--muted); }
.quote-pieces { margin: .15rem 0; padding-left: 1.15rem; line-height: 1.6; }
[hidden] { display: none !important; }

@media (max-width: 990px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: .7rem; padding-block: .85rem .55rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.55rem; padding-block: .35rem .25rem; }
  .catalog, .workshop, .journal { scroll-margin-top: 7.3rem; }
  .hero-inner, .catalog-layout, .workshop-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.23rem, 8.6vw, 4.55rem); }
  .catalog-sidebar h2 br { display: none; }
  .catalog-sidebar p { max-width: 31rem; }
  .sidebar-photo { display: none; }
  .journal-heading { flex-wrap: wrap; }
}
@media (max-width: 575px) {
  .journal-grid { grid-template-columns: 1fr; }
  .detail-view { grid-template-columns: 1fr; }
  .detail-photo { max-height: 14.5rem; }
}
@media (max-width: 430px) {
  .wordmark { gap: .42rem; }
  .wordmark small { font-size: .57rem; }
  .wordmark strong { font-size: 1.55rem; }
  .mark { transform: scale(.78); transform-origin: left center; width: 1.83rem; }
  .selection-button { font-size: .85rem; padding-left: .55rem; }
  .hero-actions .button { font-size: .875rem; padding-inline: .7rem; }
  .product-grid { gap: .85rem; }
  .product-card h3 { font-size: 1.17rem; }
  .product-card .product-meta { font-size: .875rem; }
  .selection-line { grid-template-columns: 2.85rem minmax(0, 1fr) 4rem; gap: .4rem; }
  .selection-line .remove { grid-column: 2; justify-self: start; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
