:root {
  --linen: #f3ece1;
  --paper: #faf6ef;
  --ink: #1a1410;
  --muted: #6d645a;
  --line: #ddd2c4;
  --clay: #9c4a32;
  --clay-dark: #7a3422;
  --sage: #4f5d4c;
  --shadow: 0 18px 40px rgba(26, 20, 16, 0.08);
  --frame: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 16px/1.55 "Figtree", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.wrap {
  width: min(100% - 2rem, var(--frame));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--linen) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  font-size: 1.35rem;
  text-decoration: none;
  font-style: italic;
}
.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.bag {
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  gap: 2.5rem;
}
.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  max-width: 14ch;
}
.hero p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
}
.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 600;
}

.collection {
  padding: 0 0 5rem;
}
.collection h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}
.card:hover { transform: translateY(-3px); }
.card .media {
  aspect-ratio: 1;
  background: #ece3d4;
}
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 1.05rem 1.15rem 1.2rem; }
.card h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.note-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding: 3.2rem 0;
}
.note-band p {
  margin: 0;
  max-width: 40rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  font-weight: 400;
}

.site-footer {
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product */
.crumb {
  padding: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--ink); }

.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
  padding: 1.5rem 0 5rem;
}
.product-media {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-copy h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.price {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
}
.product-copy > p { color: var(--muted); }
.specs {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.specs strong { color: var(--ink); font-weight: 600; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: 600 0.95rem/1 "Figtree", system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2a221c; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.toast {
  margin: 0.85rem 0 0;
  min-height: 1.3em;
  font-size: 0.9rem;
  color: var(--sage);
}

@media (max-width: 860px) {
  .grid, .product { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
  .nav { display: none; }
}
