:root {
  --paper: #fffdf9;
  --card: #ffffff;
  --ink: #1b1916;
  --mute: #6f6a64;
  --line: #eadfd4;
  --berry: #c2302a;
  --berry-dark: #9a221e;
  --sage: #5d7a5a;
  --cream: #f6efe6;
  --product-surface: #f7f1ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Karla, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: inherit; cursor: pointer; }

.wrap {
  width: min(1160px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 25, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 72px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 42px; width: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #ff8a84; }
.header-actions { display: flex; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 0;
  padding: 0.7rem 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}
.btn-solid { background: var(--berry); color: #fff; }
.btn-solid:hover { background: var(--berry-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 72vh;
  border-bottom: 1px solid var(--line);
}
.hero-photo {
  background: var(--product-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}
.hero-photo img {
  width: min(520px, 100%);
  height: auto;
  object-fit: contain;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem 3.5rem 2.4rem;
}
.kicker {
  font-family: Barlow, sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--berry);
  margin: 0 0 0.9rem;
}
.hero h1, .page-head h1, .section h2, .chapter h2 {
  font-family: Barlow, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lede, .sub {
  color: var(--mute);
  max-width: 36rem;
}
.hero .lede { margin: 0 0 1.5rem; font-size: 1.05rem; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
}
.meta-row b { font-family: "IBM Plex Mono", monospace; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.section { padding: 3.6rem 0; }
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.section .sub { margin: 0 0 1.6rem; }

.map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}
.map-card {
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.map-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--product-surface);
  padding: 0.6rem;
}
.map-card .pad { padding: 0.85rem 0.85rem 1rem; }
.map-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--berry);
  letter-spacing: 0.04em;
}
.map-card h3 {
  font-family: Barlow, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0.25rem 0 0.35rem;
}
.map-card p { margin: 0; color: var(--mute); font-size: 0.86rem; }

.chapter {
  padding: 2.4rem 0 1rem;
  border-top: 1px solid var(--line);
}
.chapter-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.chapter h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
}
.chapter .sub { margin: 0.25rem 0 0; }

.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.sku-card {
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.sku-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--product-surface);
}
.sku-photo img {
  position: absolute;
  inset: 0.65rem;
  width: calc(100% - 1.3rem);
  height: calc(100% - 1.3rem);
  max-width: none;
  object-fit: contain;
}
.sku-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 2.5rem 1.2rem var(--product-surface);
}
.sku-meta {
  display: grid;
  grid-template-rows: auto minmax(2.6em, auto) auto;
  padding: 0.8rem 0.85rem 1rem;
}
.sku-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--berry);
  letter-spacing: 0.03em;
}
.sku-card h3 {
  font-size: 1rem;
  font-weight: 600;
  min-height: 2.6em;
  margin: 0.2rem 0 0.3rem;
  line-height: 1.3;
}
.sku-note { margin: 0; color: var(--mute); font-size: 0.86rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.42rem 0.72rem;
  font-size: 0.82rem;
  text-decoration: none;
}
.filter.is-on, .filter:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.stat {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.1rem 1rem;
}
.stat b {
  display: block;
  font-family: Barlow, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}
.stat span { color: var(--mute); font-size: 0.88rem; }

.factory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.factory figure { margin: 0; }
.factory img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.factory figcaption {
  font-family: Barlow, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  color: var(--mute);
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.step {
  border: 1px solid var(--line);
  padding: 1.1rem;
  background: var(--card);
}
.step b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--berry);
}
.step h3 {
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
  font-size: 0.98rem;
  margin: 0.35rem 0;
}
.step p { margin: 0; color: var(--mute); font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-grid h3 {
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 1.1rem 0 0.25rem;
}
.contact-grid p { margin: 0; color: var(--mute); }
form { display: grid; gap: 0.65rem; }
label { font-size: 0.88rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 0.8rem;
  font: inherit;
  margin-top: 0.25rem;
}
textarea { min-height: 140px; resize: vertical; }

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.2rem 0;
  color: #c9c4be;
  font-size: 0.9rem;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 1.4rem;
}
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot h4 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.28rem 0; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-head { padding: 2.6rem 0 0.8rem; }
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
#count { color: var(--mute); font-size: 0.9rem; margin: 0 0 0.8rem; }

@media (max-width: 980px) {
  .hero, .map, .sku-grid, .steps, .factory, .stats, .foot, .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .header-inner { flex-wrap: wrap; }
  .nav { width: 100%; order: 3; padding-bottom: 0.4rem; }
}
@media (max-width: 640px) {
  .hero, .map, .sku-grid, .steps, .factory, .stats, .foot, .contact-grid, .chapter-head { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 0 2.4rem; }
  .sku-meta { display: block; }
  .sku-card h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
