/* Morningstar Farm — based on the original Coming Soon page styles
   (system font, #1c1c1c ink, #f4f3ef / #fbfaf8 warm neutrals, #2d6a4f green accent) */
:root {
  --ink: #1c1c1c;
  --paper: #ffffff;
  --muted: #f4f3ef;
  --soft: #fbfaf8;
  --line: #e2dfda;
  --green: #2d6a4f;
  --grey: #666666;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 { margin-top: 0; line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
a { color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; max-width: 100%; }
.nav-phone { color: var(--green) !important; white-space: nowrap; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--green); }
.nav-cta { background: var(--ink); color: #fff !important; padding: .4rem .9rem; border-radius: 999px; }
.nav-cta:hover { background: var(--green); }

/* Hero (photo from the original site) */
.hero {
  min-height: 85vh;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("../img/hero.jpg") center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 3rem 1.5rem;
}
@media (max-width: 700px) {
  .hero { background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("../img/hero-small.jpg"); min-height: 75vh; }
}
.hero-content { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; font-weight: 600; margin: 0 0 .5rem; opacity: .9; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); margin-bottom: .5rem; }
.tagline { font-size: 1.25rem; margin: 0 0 .75rem; }
.hero-sub { font-size: 1rem; margin: 0 0 2rem; opacity: .92; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: .75rem 1.5rem; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--ink); font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--green); border-color: var(--green); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--muted); border-color: var(--muted); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.15); }

/* Sections */
.band { width: 100%; }
.muted { background: var(--muted); }
#contact.band { background: var(--soft); }
.section { max-width: 900px; margin: 0 auto; padding: 4.5rem 1.5rem; text-align: center; }
.section.wide { max-width: 1100px; }
.lead { font-size: 1.1rem; max-width: 720px; margin: 0 auto 1.5rem; }

.placeholder-note {
  max-width: 720px; margin: 1.5rem auto 0; padding: 1rem 1.25rem;
  border: 2px dashed #c9a227; background: #fff8e1; color: #5c4a00;
  border-radius: 10px; font-size: .95rem; text-align: left;
}

/* Offer cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; margin-top: 2rem; text-align: left;
}
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.08); display: flex; flex-direction: column;
}
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--muted); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body p { margin: 0 0 1rem; }
.share-sizes { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.share-sizes li {
  font-size: .85rem; font-weight: 600; padding: .2rem .7rem;
  border: 1px solid var(--green); color: var(--green); border-radius: 999px;
}
.price { margin-top: auto !important; margin-bottom: .35rem !important; font-weight: 600; color: var(--grey); }
.price .amount { font-size: 1.6rem; font-weight: 800; color: var(--green); margin-right: .2rem; }
.price + .price-note { margin-top: 0 !important; }
.img-credit { font-size: .8rem; color: var(--grey); margin: 1.25rem 0 0; }
.price-note { margin-top: auto !important; font-size: .9rem; color: var(--grey); }
.price-note a { color: var(--green); font-weight: 700; }

/* Shares */
.share-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.step { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 2rem 1.5rem; }
.step p { margin: 0; }
.step-size {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem;
}

/* Contact / order */
.order-steps { max-width: 560px; margin: 0 auto 2rem; text-align: left; padding-left: 1.25rem; }
.order-steps li { margin-bottom: .5rem; }
.contact-lines { font-size: 1.1rem; }
.contact-lines p { margin: .25rem 0; overflow-wrap: anywhere; }
.contact-lines a { font-weight: 700; text-decoration: underline; }

.inquiry-form {
  max-width: 620px; margin: 2rem auto 0; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  background: #fff; padding: 1.75rem; border-radius: 14px; box-shadow: 0 10px 25px rgba(0,0,0,.06);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  padding: .625rem .75rem; border-radius: 8px; border: 1px solid var(--line);
  font-size: 1rem; font-family: inherit; background: #fff; width: 100%;
}
.form-hint { font-size: .85rem; color: var(--grey); margin: .25rem 0 0; }
@media (max-width: 560px) { .inquiry-form { grid-template-columns: 1fr; padding: 1.25rem; } }

.updates { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* Signup form (from original) */
.signup-form { margin-top: 1rem; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.signup-form input[type="email"] {
  padding: .625rem .75rem; border-radius: 8px; border: 1px solid var(--line);
  min-width: 220px; font-size: 1rem;
}
.signup-form button { padding: .6rem 1rem; }
.signup-success { margin-top: .75rem; color: var(--green); font-weight: 600; }

.visually-hidden {
  position: absolute !important; height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Footer */
.site-footer { background: var(--ink); color: #ddd; padding: 2.5rem 1.5rem; text-align: center; font-size: .95rem; }
.site-footer p { margin: .25rem 0; }
.site-footer a { color: #fff; }
.footer-brand { margin-bottom: .75rem !important; }
.footer-brand img { display: inline-block; height: 50px; width: auto; max-width: 100%; }
.copy { color: #999; font-size: .85rem; margin-top: .75rem !important; }

@media (max-width: 640px) {
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .88rem; }
  .section { padding: 3.25rem 1.25rem; }
}

/* Mobile: compact, non-sticky header so it doesn't cover content */
@media (max-width: 640px) {
  .site-header { position: static; }
  .nav-wrap { justify-content: center; padding: .6rem 1rem; gap: .4rem; }
  .brand { width: 100%; justify-content: center; }
  .brand img { height: 40px; }
  .site-nav { justify-content: center; gap: .5rem .9rem; }
  .nav-cta { padding: .25rem .7rem; }
}

/* Goat's milk disclaimer */
.milk-disclaimer { margin: 0 0 .5rem !important; padding: .5rem .7rem; border-left: 4px solid #b45309; background: #fef3c7; color: #78350f; font-size: .92rem; line-height: 1.35; border-radius: 4px; }
.milk-disclaimer + .price-note { margin-top: 0 !important; }
.contact-disclaimer { margin: 1rem 0 !important; }
.footer-disclaimer { font-weight: 700; }
