@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #4d4d4d;
  --line: #e4e4e4;
  --paper: #efefef;
  --white: #ffffff;
  --promo: #f3f3f3;
  --hero: #1c2420;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  --top-h: 108px;
  --font: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 450;
}
body[data-page="item"],
body[data-page="buy"] { background: var(--white); }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: var(--shadow);
}

.promo {
  display: block;
  background: var(--promo);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 16px;
}
.promo:hover { text-decoration: underline; text-underline-offset: 3px; }

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 8px 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.brand-rest {
  font-weight: 450;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn:hover { background: #f3f3f3; }
.icon-btn:focus-visible,
.btn:focus-visible,
.menu a:focus-visible,
.product:focus-visible,
.tile:focus-visible,
.promo:focus-visible,
.brand:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.burger {
  width: 18px;
  height: 2px;
  background: #111;
  position: relative;
  display: block;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #111;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }
[aria-expanded="true"] .burger { background: transparent; }
[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.searchbar {
  display: flex;
  gap: 8px;
  padding: 0 20px 16px;
  background: #fff;
}
.searchbar[hidden],
.menu[hidden] { display: none; }
.searchbar input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
}
.searchbar button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-radius: 4px;
}
.btn-light {
  background: #fff;
  color: #111;
}
.btn-light:hover { background: #f4f4f4; }
.btn-dark:hover { background: #2a2a2a; }

.menu {
  position: fixed;
  z-index: 30;
  top: var(--top-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow: auto;
  padding: 8px 28px 48px;
}
.menu a {
  display: block;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1;
}
.menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-quiet { margin-top: 28px; }
.menu-quiet a {
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 12px 0;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(900px 480px at 78% 42%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(160deg, #1a2420 0%, #24312b 48%, #171c1a 100%);
  background-size: cover;
  background-position: center;
}
.hero-copy {
  padding: 64px 6vw;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.92;
}
.hero p {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 450;
  max-width: 40ch;
}
.hero .btn { margin-top: 28px; }

.wrap {
  padding: 16px 16px 72px;
  max-width: 1440px;
  margin: 0 auto;
}
.wrap-narrow { max-width: 760px; }

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 36px 8px 14px;
}

.mosaic {
  display: grid;
  gap: 16px;
}
.mosaic-lead { grid-template-columns: 1fr 1fr; }
.mosaic-rest { grid-template-columns: repeat(4, 1fr); margin-top: 16px; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 28px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #24352c;
  background-size: cover;
  background-position: center;
}
.mosaic-rest .tile { min-height: 280px; padding: 20px; }
.tile.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08) 58%);
}
.tile > * { position: relative; }
.tile h2 {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 8px;
}
.mosaic-rest .tile h2 { font-size: clamp(22px, 2vw, 28px); }
.tile p { font-size: 18px; max-width: 22ch; margin-bottom: 18px; }
.tile[data-tone="forest"] { background-color: #24352c; }
.tile[data-tone="moss"] { background-color: #3e5144; }
.tile[data-tone="sand"] { background-color: #cfc3b2; color: #1a1a1a; }
.tile[data-tone="ink"] { background-color: #232323; }
.tile[data-tone="stone"] { background-color: #6d6862; }
.tile[data-tone="fox"] { background-color: #7d342f; }
.tile[data-tone="sand"] .btn { background: #1a1a1a; color: #fff; }
.tile[data-tone="sand"].has-photo { color: #fff; }
.tile[data-tone="sand"].has-photo .btn { background: #fff; color: #111; }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 16px;
}
.product {
  text-decoration: none;
  color: inherit;
}
.product-photo {
  position: relative;
  aspect-ratio: 1;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product:hover .product-photo img { transform: scale(1.02); }
.product-photo img { transition: transform 0.25s ease; }
.product h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.product .price {
  margin-top: 2px;
  font-size: 14px;
  color: #333;
}
.photo-fallback {
  padding: 16px;
  text-align: center;
  color: #666;
  font-size: 14px;
}
.flag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 2px;
}
.product.is-muted .product-photo img,
.product.is-muted .photo-fallback { opacity: 0.55; }

.empty, .query {
  margin: 8px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: #fff;
  border-radius: 12px;
  min-height: 230px;
  padding: 28px 24px 32px;
}
.step .num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.step h3 {
  margin: 28px 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.step p { color: var(--muted); }

.cat-hero {
  color: #fff;
  padding: 48px 6vw 42px;
  background: #24352c;
}
.cat-hero[data-tone="moss"] { background: #3e5144; }
.cat-hero[data-tone="sand"] { background: #cfc3b2; color: #1a1a1a; }
.cat-hero[data-tone="ink"] { background: #232323; }
.cat-hero[data-tone="stone"] { background: #6d6862; }
.cat-hero[data-tone="fox"] { background: #7d342f; }
.crumb {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cat-hero h1,
.page-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}
.cat-hero p:last-child { margin-top: 10px; font-size: 20px; }
.page-title { margin: 12px 8px 8px; }

.lede {
  font-size: 20px;
  max-width: 40ch;
  margin: 12px 8px 28px;
}

.item-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}
.gallery { display: grid; gap: 12px; }
.gallery img,
.gallery-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 8px;
}
.gallery img { cursor: zoom-in; }
.gallery-fallback {
  display: grid;
  place-items: center;
  color: #777;
}
.buybox .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.item-title {
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.amount {
  margin: 14px 0 8px;
  font-size: 22px;
  font-weight: 650;
}
.status-note {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.description { font-size: 17px; max-width: 42ch; }
.facts {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.buybox .btn { width: 100%; text-align: center; }
.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 42ch;
}
.editor {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.editor h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.editor label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.editor input,
.editor textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}
.editor textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}
.editor .btn { width: 100%; }
.editor .btn:disabled { opacity: 0.55; }
.editor-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 14px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.buybox { align-self: start; }
@media (min-width: 900px) {
  .buybox { position: sticky; top: calc(var(--top-h) + 20px); }
}

.prose { padding-top: 18px; }
.prose h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 8px 0 18px;
}
.prose .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prose p { font-size: 18px; margin: 0 0 16px; max-width: 46ch; }
.buy-list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}
.buy-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.buy-list h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prose a { font-weight: 650; }

.foot {
  background: #fff;
  color: #222;
  padding: 48px 24px 28px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.foot-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.foot-name span { font-weight: 450; }
.foot p { margin-top: 10px; max-width: 32ch; color: var(--muted); }
.foot h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal {
  max-width: 1440px;
  margin: 36px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 13px;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(960px, 92vw);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.78); }
dialog img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #111;
}
dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .gallery img {
    width: auto;
    max-width: 100%;
    max-height: 46vh;
    aspect-ratio: auto;
    margin-inline: auto;
  }
  .mosaic-lead,
  .mosaic-rest,
  .products,
  .steps,
  .foot-grid,
  .item-layout {
    grid-template-columns: 1fr 1fr;
  }
  .mosaic-rest { grid-template-columns: 1fr 1fr; }
  .tile, .mosaic-rest .tile { min-height: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .item-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mosaic-lead,
  .mosaic-rest,
  .products,
  .steps,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 70vh; }
  .head { padding-inline: 12px; }
  .menu { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-photo img { transition: none; }
}
