:root {
  --ink: #16241f;
  --mute: #5c675f;
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --card: #faf7f1;
  --pine: #183d32;
  --pine-deep: #10241e;
  --clay: #d97835;
  --clay-deep: #b25d22;
  --line: #d9d0c0;
  --gold: #8d6b32;
  --focus: #d97835;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 72rem;
  --header: 4.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--pine);
  color: white;
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

.banner {
  background: var(--pine-deep);
  color: #f4efe4;
  font-size: 0.92rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.banner a { color: #f2c39a; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(243 238 228 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-text { display: grid; }
.brand strong {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand small { color: var(--mute); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; gap: 0.85rem; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28em; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: transparent;
}
.cart-link b {
  min-width: 1.25rem;
  text-align: center;
  background: var(--clay);
  color: white;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.05rem 0.35rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.5rem 0 1.5rem;
}
.kicker {
  margin: 0 0 0.6rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 5vw, 5rem); margin: 0 0 0.8rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.4rem; }
.lede { font-size: 1.15rem; max-width: 38rem; margin: 0 0 1.2rem; }
.hero-actions, .buy-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.btn {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #f6f1e7;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn.clay { background: var(--clay); border-color: var(--clay-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.fine { color: var(--mute); font-size: 0.92rem; }

.dept-nav { display: flex; gap: 0.45rem; flex-wrap: wrap; padding: 0.5rem 0 1.25rem; }
.dept-nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.92rem;
}
.dept-nav a[aria-current="page"] { background: var(--pine); color: white; border-color: var(--pine); }

.section { padding: 0.5rem 0 2rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card a.stretch { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.stage {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 8%;
}
.stage svg { width: 100%; height: 100%; }
.art { color: #f4efe4; }
.art--light { color: #143028; }
.card-body { padding: 0.9rem 1rem 1.1rem; display: grid; gap: 0.25rem; }
.card-body h3 { font-size: 1.45rem; margin: 0; }
.kind { color: var(--mute); font-size: 0.88rem; }
.price { font-weight: 700; }
.save { color: var(--clay-deep); font-size: 0.88rem; font-weight: 700; }

.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 1.5rem 0 2.5rem;
  align-items: start;
}
.product .stage { border-radius: 22px; border: 1px solid var(--line); }
.crumbs { color: var(--mute); font-size: 0.9rem; margin: 1rem 0 0; }
.crumbs a { color: inherit; }
.options { display: grid; gap: 0.75rem; margin: 1rem 0; }
label { font-weight: 700; font-size: 0.92rem; display: grid; gap: 0.3rem; }
select, input[type="text"], input[type="number"], textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  width: 100%;
}
textarea { min-height: 5rem; resize: vertical; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.swatches button {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid white;
  outline: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
}
.swatches button[aria-checked="true"] { outline: 2px solid var(--ink); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); }
.note {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.status { min-height: 1.4rem; font-weight: 700; }
.status.error { color: #8d2d1f; }

.cart-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line .stage { aspect-ratio: 1; border-radius: 12px; padding: 6%; }
.totals { margin-left: auto; max-width: 22rem; display: grid; gap: 0.35rem; padding-top: 1rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals .grand { font-size: 1.3rem; font-weight: 800; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 2.5rem;
}
.trust article {
  background: var(--pine);
  color: #f4efe4;
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.trust h3 { margin: 0 0 0.35rem; font-size: 1.4rem; }
.trust p { margin: 0; color: #e4ddd0; }

.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
}
.foot a { color: var(--ink); }
.prose { max-width: 42rem; padding-bottom: 3rem; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 900px) {
  .hero, .product, .grid, .trust { grid-template-columns: 1fr; }
  .nav .desk { display: none; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 4.2rem 1fr; }
  .cart-line .qty { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
