/* ============================================================
   Little Garden — stylesheet
   Palette: carta calda, verde salvia, verde bosco, bruno, oro
   Type: Fraunces (display) + Work Sans (testo)
   ============================================================ */

:root {
  --cream: #F7F2E6;
  --cream-deep: #EFE6CE;
  --forest: #4A5D33;
  --forest-deep: #2E3B1F;
  --sage: #8FA35A;
  --sage-light: #C9D69C;
  --sage-soft: #D3E0AA;
  --brown: #8A6A45;
  --brown-deep: #5C4128;
  --gold: #C79A3B;
  --coral: #B3563A;
  --ink: #2A231A;
  --ink-soft: #5B5347;

  --serif: "Fraunces", "Iowan Old Style", serif;
  --sans: "Work Sans", -apple-system, sans-serif;

  --measure: 62ch;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: var(--gold); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { max-width: var(--measure); margin: 0 0 1.1em; color: var(--ink-soft); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Header ---------- */

.site-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--cream-deep);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--forest-deep);
  font-weight: 600;
}
.brand svg { width: 34px; height: 34px; }
.brand img.logo-mark { width: 40px; height: 40px; object-fit: contain; }

nav.main-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 6vw, 4rem);
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 214, 156, 0.45), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(199, 154, 59, 0.16), transparent 50%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.hero .eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brown);
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero .lede { font-size: 1.1rem; max-width: 34ch; }
.hero-art { justify-self: center; }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--forest-deep); color: var(--cream); }
.btn-primary:hover { background: var(--forest); }
.btn-outline { border-color: var(--forest-deep); color: var(--forest-deep); }
.btn-outline:hover { background: var(--cream-deep); }

/* ---------- Sections ---------- */

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.band-sage { background: linear-gradient(135deg, var(--sage-soft) 0%, #E4E9C3 100%); }
.band-forest {
  background: var(--forest-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.band-forest::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='104' viewBox='0 0 90 104'%3E%3Cpolygon points='45,2 88,26 88,78 45,102 2,78 2,26' fill='none' stroke='%23C9D69C' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 90px 104px;
}
.band-forest .wrap { position: relative; z-index: 1; }
.band-forest h2, .band-forest h3 { color: var(--cream); }
.band-forest p { color: #D9E2D1; }
.band-forest a { color: var(--cream); text-decoration-color: var(--gold); }

.section-head { max-width: 46ch; margin-bottom: 2.2rem; }

/* editorial list (varieties, values) — not cards */
.editorial-list {
  display: grid;
  gap: 2rem;
}
.editorial-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--cream-deep);
}
.editorial-item:last-child { border-bottom: none; }
.editorial-item .swatch {
  width: 90px; height: 90px;
  border-radius: 50%;
}

/* process sequence — numbering justified: it's an actual sequence */
.process {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.process-step .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--sage);
  display: block;
  margin-bottom: 0.3rem;
}

/* two-column info block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.contact-card + .contact-card { margin-top: 1.2rem; }
.contact-card h3 { margin-bottom: 0.4rem; }

dl.hours { margin: 0; }
dl.hours div { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed var(--cream-deep); max-width: 320px; }
dl.hours dt { color: var(--ink-soft); }
dl.hours dd { margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--forest-deep);
  color: #C7D2BF;
  padding: 2.8rem 0 2rem;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='104' viewBox='0 0 90 104'%3E%3Cpolygon points='45,2 88,26 88,78 45,102 2,78 2,26' fill='none' stroke='%23C79A3B' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 90px 104px;
}
footer.site-footer a { color: #E7EDDF; }
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
footer.site-footer .legal { color: #93A48A; font-size: 0.82rem; max-width: 60ch; }
footer.site-footer .footer-logo { width: 96px; height: auto; opacity: 0.95; margin-bottom: 0.5rem; }

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; }
  .split { grid-template-columns: 1fr; }
  .editorial-item { grid-template-columns: 70px 1fr; }
  .editorial-item .swatch { width: 60px; height: 60px; }
  nav.main-nav ul { gap: 1rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Photos ---------- */

.photo-frame {
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-deep);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

figcaption.cap {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.6rem;
}

.hero-photo { position: relative; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid var(--cream);
  outline: 1px solid var(--sage-soft);
  border-radius: 4px;
  pointer-events: none;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
}
.person-photo {
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid var(--sage-soft);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

/* small hexagon-dot divider between sections */
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
}
.divider span {
  width: 7px; height: 7px;
  background: var(--sage);
  clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
}
.divider span:nth-child(1) { background: var(--coral); }
.divider span:nth-child(2) { background: var(--gold); width: 9px; height: 9px; }
.divider span:nth-child(3) { background: var(--forest); }

/* leaf-sprig divider, echoing the logo's leaf shapes */
.divider-leaf {
  display: flex;
  justify-content: center;
  padding: 0.6rem 0;
}
.divider-leaf svg { width: 64px; height: 40px; }

/* small bee accent, used inline before eyebrow labels on honey pages */
.bee-mark { width: 18px; height: 18px; flex-shrink: 0; }

/* accent badge for callouts, using the coral drawn from the logo's warmth */
.badge-coral {
  display: inline-block;
  background: var(--coral);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
