:root {
  --brown-deep: #3b2415;
  --brown: #5c3a24;
  --cream: #faf3e8;
  --surface: #fffdf9;
  --caramel: #c68b59;
  --caramel-dark: #a8703f;
  --text-primary: #2a1810;
  --text-secondary: #71604e;
  --text-muted: #a3927e;
  --text-on-dark: #f5ede1;
  --text-on-dark-muted: #cbb8a4;
  --border: #e4d5c3;
  --radius: 10px;
  --radius-lg: 18px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ---- Top bar: logo only, plus the menu trigger ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(250, 243, 232, 0.9);
  backdrop-filter: blur(6px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown-deep);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brown-deep);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ---- Right-side overlay nav (replaces a horizontal bar entirely) ---- */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brown-deep);
  color: var(--text-on-dark);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-trigger .bars { display: flex; flex-direction: column; gap: 3px; }
.menu-trigger .bars span { display: block; width: 16px; height: 2px; background: var(--text-on-dark); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 7, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 88vw;
  background: var(--brown-deep);
  color: var(--text-on-dark);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
}
.nav-panel.open { transform: translateX(0); }

.nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.nav-close {
  background: none;
  border: 1px solid rgba(245, 237, 225, 0.3);
  color: var(--text-on-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-panel nav a {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 237, 225, 0.12);
  color: var(--text-on-dark);
}
.nav-panel nav a:hover,
.nav-panel nav a.active {
  color: var(--caramel);
}

.nav-panel-footer {
  margin-top: auto;
  padding-top: 24px;
}
.nav-panel-footer p {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-caramel { background: var(--caramel); color: #fff; }
.btn-caramel:hover { background: var(--caramel-dark); }
.btn-outline { background: transparent; border-color: var(--brown-deep); color: var(--brown-deep); }
.btn-outline:hover { background: var(--border); }
.btn-invert { background: transparent; border-color: rgba(245,237,225,0.5); color: var(--text-on-dark); }
.btn-invert:hover { background: rgba(245,237,225,0.12); }

/* ---- Hero ---- */
.hero { padding: 64px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--caramel-dark);
  margin-bottom: 16px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.placeholder-media {
  background: linear-gradient(160deg, var(--brown), var(--brown-deep));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}
.hero-media { aspect-ratio: 4/3.6; }

/* ---- Sections ---- */
section { padding: 60px 0; }
section.dark { background: var(--brown-deep); color: var(--text-on-dark); }
section.dark h2, section.dark h3 { color: var(--text-on-dark); }
section.dark p { color: var(--text-on-dark-muted); }
.section-head { max-width: 600px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-card .placeholder-media { border-radius: 0; aspect-ratio: 4/3; }
.product-card .product-body { padding: 22px; }
.product-card .price-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--caramel-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product-card ul { margin: 12px 0 16px; padding-left: 18px; }
.product-card li { color: var(--text-secondary); margin-bottom: 6px; font-size: 0.92rem; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--brown-deep);
  color: var(--text-on-dark-muted);
  padding: 48px 0 24px;
}
footer.site-footer h4 { color: var(--text-on-dark); font-size: 0.95rem; }
footer.site-footer a { color: var(--text-on-dark-muted); }
footer.site-footer a:hover { color: var(--text-on-dark); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.footer-bottom {
  border-top: 1px solid rgba(245,237,225,0.14);
  padding-top: 18px;
  font-size: 0.8rem;
  opacity: 0.8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px var(--border);
}

@media (max-width: 860px) {
  .hero-grid, .footer-grid, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .menu-trigger span.label { display: none; }
}
