:root {
  --cream: #fcf8ee;
  --paper: #fffdf8;
  --moss: #52683d;
  --deep-moss: #35482d;
  --terracotta: #d76643;
  --terracotta-dark: #b94f31;
  --soft-green: #e8edd9;
  --meadow: #849854;
  --sun: #f3d888;
  --line: #e5dece;
  --focus: #8a5a00;
  --shadow: 0 0.5rem 1.5rem rgba(73, 61, 39, 0.08);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  font-family: var(--serif);
  color: var(--deep-moss);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 18rem; margin: 0; background: var(--cream); line-height: 1.5; }
main { overflow-x: clip; }
section, [id] { scroll-margin-top: 1rem; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1120px; margin: 0 auto; padding: 1.2rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--moss); font-size: 1.35rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand-mark { font-size: 1.7rem; line-height: 1; }
nav { display: flex; align-items: center; gap: 1rem; font-family: var(--sans); font-size: .78rem; }
nav a { font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--terracotta); }
.header-love, .button { border: 0; border-radius: 999px; cursor: pointer; font-family: var(--sans); font-size: .8rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.header-love { padding: .65rem 1rem; color: #fff; background: var(--terracotta); }
.header-love:hover, .love-button:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; max-width: 1120px; min-height: 410px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.eyebrow { margin: 0 0 .3rem; color: var(--terracotta); font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1rem; color: var(--moss); font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -.06em; line-height: .95; }
h1 em { color: var(--terracotta); font-style: normal; }
.hero-text { max-width: 28rem; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .8rem 1.15rem; }
.button-primary { color: #fff; background: var(--moss); }
.button-primary:hover { background: var(--deep-moss); transform: translateY(-2px); }
.button-secondary { color: var(--terracotta); border: 1px solid var(--terracotta); background: transparent; }
.button-secondary:hover { color: var(--terracotta-dark); background: #fff4eb; transform: translateY(-2px); }

.hero-art { position: relative; min-height: 320px; overflow: hidden; border-radius: 50% 50% 42% 42%; background: var(--soft-green); }
.sun { position: absolute; top: 2rem; right: 3rem; width: 4rem; height: 4rem; border-radius: 50%; background: var(--sun); }
.cloud { position: absolute; width: 5rem; height: 1.3rem; border-radius: 2rem; background: var(--paper); }
.cloud::before { position: absolute; bottom: 0; left: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); content: ""; }
.cloud-one { top: 4rem; left: 2rem; }
.cloud-two { top: 7rem; right: 1rem; transform: scale(.7); }
.goat { position: absolute; z-index: 2; top: 24%; left: 30%; font-size: clamp(7rem, 18vw, 12rem); filter: drop-shadow(0 8px 2px rgba(53, 72, 45, .12)); }
.hill { position: absolute; bottom: -4rem; width: 120%; height: 9rem; border-radius: 50% 50% 0 0; background: #a9b56c; }
.hill-front { bottom: -6rem; left: -10%; background: var(--meadow); transform: rotate(-3deg); }
.flower { position: absolute; z-index: 3; bottom: 3rem; color: #fff; font-size: 1.6rem; }
.flower-one { left: 15%; }
.flower-two { right: 17%; color: #e27d51; }

.section { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.section-heading { margin-bottom: 1.5rem; text-align: center; }
h2 { color: var(--moss); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.info-card { padding: 1.3rem 1rem; text-align: center; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
.card-icon { display: block; margin-bottom: .5rem; font-size: 2rem; }
.info-card h3, .snack h3 { margin-bottom: .3rem; color: var(--moss); font-size: 1rem; }
.info-card p, .snack p { margin: 0; font-family: var(--sans); font-size: .78rem; }
.snacks-section { max-width: none; padding-right: max(1.25rem, calc((100% - 1120px) / 2)); padding-left: max(1.25rem, calc((100% - 1120px) / 2)); background: #f1f0df; }
.snack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.snack > span { display: block; margin-bottom: .5rem; font-size: 2.5rem; }
.love-panel { display: flex; align-items: center; gap: 1.5rem; max-width: 1120px; margin: 2rem auto; padding: 1.5rem 2rem; color: #fff; border-radius: 1rem; background: var(--terracotta); }
.love-panel h2 { margin-bottom: .2rem; color: #fff; }
.love-panel p { margin-bottom: 0; }
.love-button { flex-shrink: 0; margin-left: auto; color: var(--terracotta); background: #fff; }
.love-status { min-width: 10rem; font-family: var(--sans); font-size: .8rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
footer { padding: 1.5rem; color: var(--moss); text-align: center; font-family: var(--sans); font-size: .75rem; }

@media (max-width: 800px) {
  .hero { gap: 1.5rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
  .header-love { width: 100%; }
  .hero { display: block; padding-top: 2rem; }
  .hero-copy { margin-bottom: 2rem; }
  .hero-art { min-height: 260px; }
  .love-panel { flex-wrap: wrap; gap: .8rem; margin: 1.5rem 1rem; padding: 1.25rem; }
  .love-button { margin-left: 0; }
  .love-status { width: 100%; }
}
@media (max-width: 430px) {
  .site-header { display: block; }
  .site-header nav { justify-content: flex-start; margin-top: .8rem; }
  .hero { padding-top: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { text-align: center; }
  .card-grid, .snack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snack:last-child { grid-column: 1 / -1; }
  .love-panel { display: block; }
  .love-button { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-love, .button { transition: none; }
}
