/* Ayotte Farms public website. Plain CSS, no scripts, mobile first. */

:root {
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #1e2a22;
  --muted: #5b6b60;
  --green: #1f4d33;
  --green-deep: #173a27;
  --red: #c0272d;
  --red-deep: #9e1f24;
  --line: #e4ddcc;
  --max: 1120px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { 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 { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--green-deep); letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247, 243, 234, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-deep); font-family: var(--serif); font-size: 1.25rem; font-variant: small-caps; letter-spacing: 0.06em; }
.brand img { width: 52px; height: auto; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; order: 3; width: 100%; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 999px; font-size: 0.95rem; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; }

/* Inner pages */
.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.teasers { padding-top: 48px; }
.link-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 42, 34, 0.1); }
.link-card .more { margin-top: auto; padding-top: 12px; color: var(--red); font-weight: 700; }
.actions.centered { justify-content: center; margin-top: 28px; }
@media (max-width: 419px) {
  .brand { font-size: 1.05rem; }
}

.button { display: inline-block; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 2px solid transparent; }
.button.primary { background: var(--red); color: #fff; }
.button.primary:hover { background: var(--red-deep); }
.button.ghost { border-color: var(--green); color: var(--green); background: transparent; }
.button.ghost:hover { background: var(--paper); }

/* Hero */
.hero { padding: 40px 0 28px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 70%, #ece6d6 100%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { font-variant: small-caps; letter-spacing: 0.12em; color: var(--red); font-weight: 700; margin-bottom: 0.6em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-art { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px rgba(30, 42, 34, 0.12); }

/* Facts strip */
.facts { background: var(--green); color: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; padding: 20px 0; }
.facts-row div { display: flex; flex-direction: column; }
.facts-row strong { font-family: var(--serif); font-size: 1.3rem; }
.facts-row span { opacity: 0.85; font-size: 0.95rem; }

/* Sections */
section { padding: 56px 0; }
.label { font-variant: small-caps; letter-spacing: 0.14em; color: var(--red); font-weight: 700; margin-bottom: 0.4em; }
.story { background: var(--paper); }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--muted); }

.buyers { background: var(--paper); }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 18px var(--green); }
.cta { margin-top: 24px; }

.work { background: var(--cream); }

.visit { background: var(--paper); }
address { font-style: normal; line-height: 1.6; margin-bottom: 1em; }

.foot { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: 0.95rem; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot p { margin: 0; }

/* Larger screens */
@media (min-width: 720px) {
  .brand img { width: 64px; }
  .nav { order: 0; width: auto; margin-left: 12px; }
  .hero { padding: 64px 0 40px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .facts-row { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
