/* ============ Tokens ============ */
:root {
  --clay: #bf5c37;
  --clay-dark: #9c4a2c;
  --beige: #f3e9d9;
  --cream: #fbf6ee;
  --olive: #7c8a5d;
  --charcoal: #2b2620;
  --charcoal-soft: #4d443a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', Arial, sans-serif;

  --radius: 6px;
  --wrap: 1140px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

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

section { padding: 72px 0; }

.section-lead {
  max-width: 46ch;
  color: var(--charcoal-soft);
  margin-bottom: 40px;
}

h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--clay);
  color: var(--cream);
}
.btn-primary:hover { background: var(--clay-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(43, 38, 32, 0.1);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
}
.brand span { color: var(--clay); }

.primary-nav {
  display: flex;
  gap: 32px;
}
.primary-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--charcoal); border-bottom-color: var(--clay); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { padding-top: 64px; padding-bottom: 64px; }
.hero-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  max-width: 14ch;
}
.hero-sub {
  max-width: 46ch;
  color: var(--charcoal-soft);
  font-size: 1.05rem;
}
.hero-art { max-width: 280px; margin: 0 auto; }

/* ============ About ============ */
.about { background: var(--beige); }
.about-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.about-text { max-width: 60ch; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
}
.stat {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--clay);
}
.stat span {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

/* ============ Process ============ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.process-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(43, 38, 32, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font-display);
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.step-icon {
  width: 40px;
  height: 40px;
  color: var(--olive);
  margin: 14px 0 10px;
}
.process-card h3 { font-size: 1.15rem; }
.process-card p { color: var(--charcoal-soft); margin-bottom: 0; }

/* ============ Shop ============ */
.shop { background: var(--beige); }
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(43, 38, 32, 0.08);
  display: flex;
  flex-direction: column;
}
.product-img {
  background: var(--beige);
  padding: 24px 24px 0;
}
.product-img svg { max-height: 220px; margin: 0 auto; }
.product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.product-body p { color: var(--charcoal-soft); font-size: 0.95rem; }
.price {
  font-family: var(--font-display);
  color: var(--clay-dark);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-body .btn { align-self: flex-start; }

/* ============ Contact ============ */
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-intro p { color: var(--charcoal-soft); max-width: 42ch; }

.contact-form { display: grid; gap: 18px; max-width: 480px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.9rem; font-weight: 500; color: var(--charcoal-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid rgba(43, 38, 32, 0.25);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--charcoal);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--olive);
}
.contact-form .btn { justify-self: start; }
.form-note {
  font-size: 0.9rem;
  color: var(--olive);
  min-height: 1.2em;
  margin: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--charcoal);
  color: var(--beige);
  padding-top: 48px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(251, 246, 238, 0.15);
}
.footer-brand .brand { color: var(--beige); }
.footer-brand .brand span { color: var(--clay); }
.footer-brand p, .footer-info p { color: rgba(251, 246, 238, 0.7); margin: 0 0 4px; font-size: 0.92rem; }
.footer-social { display: flex; gap: 18px; align-items: start; }
.footer-social a { text-decoration: none; font-size: 0.92rem; color: rgba(251, 246, 238, 0.85); }
.footer-social a:hover { color: var(--clay); }
.copyright {
  padding: 20px 0;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(251, 246, 238, 0.55);
}

/* ============ Tablet / Desktop ============ */
@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-row { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 900px) {
  section { padding: 96px 0; }

  .nav-toggle { display: none; }

  .hero-row { grid-template-columns: 1.1fr 0.9fr; }
  .hero-art { max-width: 100%; }

  .about-row { grid-template-columns: 1.3fr 1fr; align-items: center; }

  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-row { grid-template-columns: 0.8fr 1.2fr; }
}

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(43, 38, 32, 0.1);
    transition: max-height 0.25s ease;
  }
  .primary-nav.is-open { max-height: 260px; }
  .primary-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(43, 38, 32, 0.06);
  }
}
