:root {
  --cream: #f7f1e7;
  --cream-dark: #efe6d6;
  --paper: #fffaf3;
  --kraft: #b08958;
  --kraft-deep: #8a6240;
  --sage: #6f8268;
  --sage-deep: #4f5d4a;
  --lavender: #8d7c9a;
  --honey: #c49a46;
  --orange: #c4622d;
  --orange-soft: #e08a4a;
  --ink: #2f2a24;
  --ink-soft: #5c5348;
  --line: rgba(47, 42, 36, 0.14);
  --shadow: 0 18px 40px rgba(47, 42, 36, 0.1);
  --radius: 18px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --body-serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--kraft-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h4 { font-size: 1.35rem; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 100; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.section-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kraft-deep);
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.fine-print { font-family: var(--sans); font-size: 0.88rem; color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid transparent;
  border-radius: 999px; padding: 0.85rem 1.4rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary { background: var(--sage-deep); color: var(--paper); }
.btn-primary:hover { background: #3f4b3b; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,250,243,0.7); }
.btn-ghost:hover { background: rgba(255,250,243,0.12); }
.hero-actions .btn-ghost { color: var(--cream); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.4rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; min-width: 0; }
.logo-mark { flex: none; display: flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-script { font-family: var(--script); font-size: 1.85rem; color: var(--ink); letter-spacing: 0.01em; }
.logo-tag { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.28rem; }

.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-soft); font-weight: 600;
}
.site-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  padding: 10px; cursor: pointer; position: relative; z-index: 2;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 86vh; display: grid; align-items: end; color: var(--paper); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,42,36,0.15) 0%, rgba(47,42,36,0.28) 40%, rgba(47,42,36,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto 0  max(1rem, calc((100% - var(--max)) / 2));
  padding: 6rem 0 3.5rem;
}
.hero .eyebrow { color: #f1d3a6; }
.hero h1 { color: var(--paper); text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero-lede { font-size: 1.15rem; max-width: 38rem; color: #f4eadc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.1rem; }
.name-note { font-family: var(--sans); font-size: 0.85rem; color: rgba(247,241,231,0.8); max-width: 32rem; }
.name-note em { font-family: var(--script); font-size: 1.25rem; font-style: normal; color: #f1d3a6; padding: 0 0.18em; }

/* Citrus divider */
.citrus-rule { margin: 0; overflow: hidden; height: clamp(7rem, 16vw, 11rem); }
.citrus-rule img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.95); }

/* About */
.about, .ingredients { padding: 4.5rem 0; }
.about-grid, .ingredients-grid, .order-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
  .ingredients-grid { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.about-photo, .ingredients-photo { margin: 0; }
.about-photo img, .ingredients-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-photo figcaption, .ingredients-photo figcaption {
  font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.7rem;
}
.placeholder-block {
  background: #f3e6cc;
  border-left: 3px solid var(--kraft);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  font-family: var(--sans); font-size: 0.95rem;
}
blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--lavender);
  font-style: italic; color: var(--ink-soft); font-size: 1.12rem;
}

/* Shop */
.shop { padding: 4.5rem 0 3rem; background: var(--paper); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-lede { color: var(--ink-soft); }
.shop-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem;
  position: sticky; top: 4.4rem; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.7rem 0;
}
.shop-nav a {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; color: var(--sage-deep);
  border: 1px solid var(--line); background: var(--cream);
  padding: 0.4rem 0.85rem; border-radius: 999px;
}
.shop-nav a:hover { background: var(--cream-dark); }

.collection { margin-bottom: 3.2rem; scroll-margin-top: 7.5rem; }
.collection h3 { margin-bottom: 0.3rem; }
.collection-intro { color: var(--ink-soft); max-width: 40rem; margin-bottom: 1.3rem; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 42, 36, 0.06);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.product-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-body { padding: 1.15rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-body p { color: var(--ink-soft); font-size: 1rem; }
.price {
  margin-top: auto; padding-top: 0.9rem;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600;
}
.price span {
  display: block;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 0.15rem;
}

/* Ingredients */
.ingredients { background: linear-gradient(180deg, var(--cream) 0%, #efe8d8 100%); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.chip-list li {
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--sage-deep);
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.ingredients-copy h3 { font-size: 1.25rem; margin-top: 0.4rem; }

/* Order */
.order { padding: 4.5rem 0 5rem; background: #ece4d2; }
.contact-details { margin: 1.4rem 0; }
.contact-details div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.6rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.contact-details dt { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--kraft-deep); }
.contact-details dd { margin: 0; font-style: italic; color: var(--ink-soft); }

.order-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.order-form h3 { margin-bottom: 1rem; }
.order-form label {
  display: block; font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 0.95rem; color: var(--ink-soft);
}
.order-form input, .order-form textarea {
  display: block; width: 100%; margin-top: 0.35rem;
  font-family: var(--body-serif); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.order-form textarea { resize: vertical; min-height: 8rem; }
.order-form input:focus, .order-form textarea:focus {
  outline: 2px solid var(--sage); outline-offset: 1px; background: #fff;
}
.order-form .btn { width: 100%; margin-top: 0.3rem; }
.form-status {
  margin-top: 1rem; font-family: var(--sans); font-size: 0.95rem;
  background: #f3e6cc; border-radius: 10px; padding: 0.8rem 0.9rem;
}

/* Footer */
.site-footer {
  background: #2f2a24; color: #e8dcc8; padding: 3rem 0 2.4rem; text-align: center;
}
.footer-script { font-family: var(--script); font-size: 2.4rem; color: #f1d3a6; margin-bottom: 0.6rem; }
.footer-inner p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.footer-meta { font-family: var(--sans); font-size: 0.82rem; color: #b9ab96; margin-top: 1.2rem; }

/* Mobile */
@media (max-width: 799px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; box-shadow: 0 12px 24px rgba(47,42,36,0.08); }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.4rem 0 0.8rem; }
  .site-nav a { display: block; padding: 0.85rem 1.2rem; }
  .hero { min-height: auto; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(47,42,36,0.18) 0%, rgba(47,42,36,0.42) 38%, rgba(47,42,36,0.84) 100%);
  }
  .hero-lede, .name-note { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
  .hero-content { margin-left: 1rem; padding: 8.5rem 0 2.4rem; width: calc(100% - 2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .contact-details div { grid-template-columns: 1fr; gap: 0.2rem; }
  .shop-nav { top: 4.4rem; margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; overflow-x: auto; flex-wrap: nowrap; }
  .shop-nav a { flex: none; }
}

@media (min-width: 800px) {
  .hero { min-height: 88vh; }
}
