:root {
  --paper: #f3ead9;
  --paper-deep: #ebdfc8;
  --card: #fbf6ec;
  --ink: #29311f;
  --ink-soft: #4c543e;
  --moss: #3f5a36;
  --moss-deep: #2c4226;
  --yolk: #e0a429;
  --yolk-soft: #f3cd6e;
  --terracotta: #bd6238;
  --line: #d8c9ab;
  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 217, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.1; }
.nav-loc { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--card);
  background: var(--moss);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--moss-deep); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: 220px;
  background: var(--moss);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
  opacity: 0.08;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--terracotta); border-radius: 2px; }

h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.7rem, 11vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--moss-deep);
}
h1 .accent { color: var(--yolk); font-style: italic; font-weight: 500; }

.hero-sub {
  font-size: clamp(1.05rem, 4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 22px 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary { background: var(--yolk); color: var(--moss-deep); box-shadow: 0 8px 22px -10px rgba(224,164,41,0.9); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(224,164,41,0.95); }
.btn-ghost { color: var(--moss-deep); border: 1.5px solid var(--moss); }
.btn-ghost:hover { background: var(--moss); color: var(--card); }

.hero-art { margin-top: 10px; text-align: center; position: relative; z-index: 2; }
.hero-art svg { width: min(280px, 72vw); height: auto; }

/* staggered intro */
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.8s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.31s; } .d4 { animation-delay: 0.44s; } .d5 { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { padding: 64px 0; position: relative; }
.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 14px;
}
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--moss-deep); margin-bottom: 20px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
p + p { margin-top: 16px; }

.band { background: var(--moss); color: var(--paper); }
.band .section-label { color: var(--yolk-soft); }
.band h2 { color: var(--card); }
.band .lead { color: rgba(243,234,217,0.82); }

/* eggs feature grid */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.feature .ico { width: 40px; height: 40px; flex-shrink: 0; color: var(--moss); }
.feature h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--moss-deep); margin-bottom: 4px; }
.feature p { font-size: 0.98rem; color: var(--ink-soft); }

.price-tag {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1.5px dashed var(--yolk);
  border-radius: 16px; padding: 18px 26px; margin-top: 32px;
}
.price-tag .num { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--terracotta); line-height: 1; }
.price-tag .unit { display: flex; flex-direction: column; gap: 3px; }
.price-tag .unit-label { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--moss-deep); line-height: 1.2; }
.price-tag .unit-sub { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.03em; }
.price-tag .unit { font-size: 0.95rem; color: var(--ink-soft); }

/* goats split */
.split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.goat-art { text-align: center; }
.goat-art svg { width: min(260px, 66vw); height: auto; }

/* contact */
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px 28px; text-align: center; margin-top: 30px;
  box-shadow: 0 24px 50px -34px rgba(44,66,38,0.5);
}
.contact-card h2 { margin-bottom: 12px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; align-items: center; }
.contact-links a {
  font-weight: 600; color: var(--moss-deep); text-decoration: none;
  font-size: 1.1rem; border-bottom: 2px solid var(--yolk); padding-bottom: 2px;
  transition: color 0.2s;
}
.contact-links a:hover { color: var(--terracotta); }
.note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }

/* footer */
footer { background: var(--moss-deep); color: rgba(243,234,217,0.78); padding: 40px 0 48px; }
.foot-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.foot-brand svg { width: 30px; height: 30px; }
.foot-brand span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
footer small { font-size: 0.82rem; opacity: 0.7; }

/* larger screens */
@media (min-width: 720px) {
  .hero { padding: 80px 0 56px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: center; }
  .hero-art { margin-top: 0; }
  .hero-art svg { width: min(360px, 100%); }
  .features { grid-template-columns: 1fr 1fr; gap: 20px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
  .split.reverse > .goat-art { order: 2; }
  .contact-links { flex-direction: row; justify-content: center; gap: 36px; }
  section { padding: 90px 0; }
}
@media (min-width: 980px) {
  h1 { font-size: 5.6rem; }
}
