/* Gold Leaf Premium Foods — Stage 1 marketing site
   Hand-authored CSS (no build step). Palette + type derived from the brand mark:
   gold seed-ring, green sprouts, olive grow-bed bars, sky water-dots. */

:root {
  --paper:      #FBFCF8;
  --mint:       #E9F2DE;
  --mint-2:     #F3F7EC;
  --ink:        #15261A;
  --ink-soft:   #45564A;
  --forest:     #0B6B2E;
  --forest-deep:#084C20;
  --leaf:       #3E9B45;
  --sprout:     #6FBE44;
  --gold:       #C0992B;
  --gold-soft:  #E7D69B;
  --olive:      #6E6B2C;
  --sky:        #5FB6D4;
  --line:       rgba(21,38,26,0.12);
  --line-soft:  rgba(21,38,26,0.07);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(60px, 9vw, 120px); }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  /* --leaf on paper measures 3.41:1, and this is 12.5px: small text needs 4.5. */
  text-transform: uppercase; color: var(--forest);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; color: var(--ink); }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); max-width: 54ch; }
em.accent { font-style: italic; color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 100px; font-weight: 600; font-size: 15.5px;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 8px 20px -10px rgba(110,107,44,.5); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,252,248,.82); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .18s ease; }
.nav a:hover { color: var(--forest); }
.nav .btn { padding: 9px 18px; font-size: 14.5px; }
/* CTA in the nav must stay white — beats the `.nav a` color rule on specificity */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); margin: 22px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.hero-meta b { color: var(--ink); font-weight: 600; }

/* hero image panel — the pink-stem radish, framed premium */
.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(21,38,26,.45);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-photo .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(251,252,248,.94); color: var(--ink);
  border-radius: 100px; padding: 8px 15px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 0 rgba(111,190,68,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,190,68,.55);} 70%{ box-shadow: 0 0 0 10px rgba(111,190,68,0);} 100%{ box-shadow:0 0 0 0 rgba(111,190,68,0);} }

/* ---------- grow-bed divider (signature) ---------- */
.growbed {
  height: 26px; position: relative;
  background:
    repeating-linear-gradient(90deg, var(--olive) 0 46px, transparent 46px 74px) center/100% 4px no-repeat;
  opacity: .9;
}
.growbed::before, .growbed::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
}
.growbed::before { left: calc(50% - 30px); background: var(--sky); }
.growbed::after  { left: calc(50% + 20px); background: var(--gold); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold); }

/* ---------- crops ---------- */
.crops { background: var(--mint-2); }
.section-head { max-width: 60ch; margin-bottom: 46px; }
.section-head h2 { margin: 14px 0 12px; }
.crop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.crop {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.crop:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(21,38,26,.5); border-color: var(--line); }
.crop-photo { aspect-ratio: 5 / 4; overflow: hidden; position: relative; background: var(--mint); }
.crop-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
/* olive "soil line" the greens sit on */
.crop-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--olive); opacity: .85; }
.crop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.crop h3 { font-size: 22px; }
.crop .flavor { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.crop-data { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: 4px; }
.crop-days { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--olive); text-transform: uppercase; }
.spice { display: inline-flex; gap: 4px; align-items: center; }
.spice .seed { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); }
.spice .seed.on { background: var(--gold); }
.spice .label { font-size: 12px; color: var(--ink-soft); margin-left: 4px; }
/* sunflower placeholder tile */
.crop-photo.soon { display: grid; place-items: center; background: linear-gradient(150deg, var(--mint) 0%, #F6EFD5 100%); }
.crop-photo.soon .seedmark { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--gold); position: relative; }
.crop-photo.soon .seedmark::after { content:""; position:absolute; inset: 15px; border-radius:50%; background: var(--gold); }
.crop-photo.soon .soon-label { position: absolute; bottom: 12px; font-size: 12px; font-weight: 600; color: var(--olive); letter-spacing: .03em; }

/* ---------- why living ---------- */
.why .why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-points { display: flex; flex-direction: column; gap: 26px; }
.why-point { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.why-num { font-family: var(--font-display); font-size: 19px; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 10px; width: 46px; height: 46px; display: grid; place-items: center; }
.why-point h3 { font-size: 20px; margin-bottom: 5px; }
.why-point p { font-size: 15px; color: var(--ink-soft); }
.why-photo .frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; box-shadow: 0 26px 50px -30px rgba(21,38,26,.45); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }

/* ---------- next (forest band) ---------- */
.next { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.next h2, .next h3 { color: #fff; }
.next .eyebrow { color: var(--gold-soft); }
.next .eyebrow::before { background: var(--gold-soft); }
.next .lead { color: rgba(255,255,255,.82); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.next-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px; }
.next-card .k { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.next-card h3 { margin: 12px 0 8px; }
.next-card p { color: rgba(255,255,255,.78); font-size: 15px; }

/* ---------- contact ---------- */
.contact .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 6vw, 76px); }
.contact-copy .lead { margin-top: 14px; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.contact-list a { color: var(--forest); font-weight: 500; }
.contact-list .row { display: flex; gap: 10px; align-items: center; }
.contact-list .row span:first-child { color: var(--olive); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; min-width: 92px; }

form.card { background: var(--mint-2); border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(24px, 3vw, 34px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font-size: 15.5px; font-family: inherit; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(11,107,46,.12); }
.field textarea { resize: vertical; min-height: 104px; }
.field input.invalid, .field textarea.invalid { border-color: #c44030; box-shadow: 0 0 0 3px rgba(196,64,48,.1); }
.field .err-msg { display: none; font-size: 12.5px; color: #9a2f22; margin-top: 5px; }
.field.has-error .err-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.form-status { font-size: 14.5px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: rgba(62,155,69,.12); color: #1f6b2b; border: 1px solid rgba(62,155,69,.3); }
.form-status.err { display: block; background: rgba(196,64,48,.1); color: #9a2f22; border: 1px solid rgba(196,64,48,.3); }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.8); padding-block: 54px 30px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { height: 40px; margin-bottom: 16px; }
.site-footer .tagline { font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,.9); font-size: 18px; }
.site-footer h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; font-weight: 600; }
.site-footer a { color: rgba(255,255,255,.82); font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footcol { display: flex; flex-direction: column; gap: 9px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 380px; }
  .why .why-grid, .contact .contact-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 420px; }
  .crop-grid { grid-template-columns: repeat(2, 1fr); }
  .next-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 24px; gap: 18px; }
  .menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: transparent; }
}
@media (max-width: 540px) {
  .crop-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* A quiet doorway to the founder story, under the three "why" points. Deliberately
   not a button: it is an aside, not a call to action, and the page already has two. */
.why-aside { margin: 22px 0 0; font-size: 15px; }
.why-aside a { color: var(--forest); text-decoration: none; border-bottom: 1px solid rgba(11,107,46,.28); padding-bottom: 1px; }
.why-aside a:hover { border-bottom-color: var(--forest); }
.why-aside .arrow { display: inline-block; transition: transform .2s ease; }
.why-aside a:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .why-aside .arrow { transition: none; } }
