:root {
  --ink: #1a1410;
  --paper: #f7f1e8;
  --paper-deep: #ebe1d2;
  --gold: #b8892d;
  --gold-bright: #d4af37;
  --forest: #1f3d32;
  --forest-deep: #0f241c;
  --line: rgba(26, 20, 16, 0.12);
  --shadow: 0 18px 40px rgba(15, 36, 28, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212, 175, 55, 0.18), transparent 60%),
    linear-gradient(180deg, #fbf7f0 0%, var(--paper) 40%, #f3ebe0 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--forest); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0; z-index: 100; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 241, 232, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 241, 232, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-text small { opacity: 0.72; font-size: 0.78rem; max-width: 16rem; }
.nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--forest);
  color: #f7f1e8;
}
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-wa {
  background: var(--gold-bright);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 36, 28, 0.88), rgba(26, 20, 16, 0.55)),
    var(--hero-image, linear-gradient(135deg, #1f3d32, #3d2a14));
  background-size: cover;
  background-position: center;
  color: #f7f1e8;
  animation: heroIn 0.9s ease both;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.28), transparent 45%),
    linear-gradient(180deg, transparent 40%, rgba(10, 16, 14, 0.55));
  pointer-events: none;
}
.hero-copy {
  position: relative;
  padding: 5rem 0 3.5rem;
  max-width: 40rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lede { font-size: 1.15rem; line-height: 1.55; opacity: 0.92; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.section { padding: 3.5rem 0; }
.section-head { margin-bottom: 1.5rem; max-width: 36rem; }
.section-head h2, .page-hero h1, .product-detail h1, .article-detail h1 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.section-actions { margin-top: 1.5rem; }
.page-hero { padding-top: 2.5rem; padding-bottom: 0.5rem; }

.product-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.product-card, .article-card {
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: riseIn 0.6s ease both;
}
.product-card:hover, .article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-media { aspect-ratio: 3/4; background: var(--paper-deep); overflow: hidden; }
.product-media img, .product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder {
  width: 100%; height: 100%; min-height: 220px;
  background:
    repeating-linear-gradient(-45deg, rgba(184, 137, 45, 0.12) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #d9c8a8, #b7a078);
}
.product-placeholder.tall { min-height: 420px; }
.product-body, .article-card { padding: 1rem; }
.product-body h2, .product-body h3, .article-card h2, .article-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.price { margin: 0; color: var(--forest); }
.price s { opacity: 0.55; margin-left: 0.4rem; font-weight: 400; }
.price.large { font-size: 1.4rem; margin: 0.75rem 0; }
.empty, .meta-line { opacity: 0.75; }

.about-band {
  background: linear-gradient(135deg, rgba(31, 61, 50, 0.95), rgba(26, 20, 16, 0.92));
  color: #f7f1e8;
  border-radius: 8px;
  padding: 2.5rem;
  width: min(1120px, calc(100% - 2rem));
}
.about-copy { max-width: 42rem; }

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}
.product-detail-media {
  background: var(--paper-deep);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.prose { margin-top: 1.5rem; line-height: 1.7; }
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 34rem;
}
.search-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #fff;
  font: inherit;
}
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.pager a {
  min-width: 2.2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}
.pager a.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  background: var(--forest-deep);
  color: #f7f1e8;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.footer-grid p { opacity: 0.85; line-height: 1.5; }
.footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 241, 232, 0.15);
  opacity: 0.75;
  font-size: 0.9rem;
}
.footer-note a { color: var(--gold-bright); }

@keyframes heroIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .product-detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 4rem; }
  .brand-text small { display: none; }
}
