/* FresnoWebCo
   One stylesheet, no framework, no JS anywhere on this site.
   Contrast checked: every text pairing clears WCAG AA (4.5:1). */

:root {
  --soil:   #1B2430;  /* near-black navy, from the logo */
  --crop:   #3D8B37;  /* logo green. 4.25:1 on white -- DECORATION AND LARGE TYPE ONLY */
  --crop-t: #2F6E2A;  /* darker green, 6.20:1 on white -- anything that is text */
  --furrow: #E9EEE7;  /* pale field, section grounds */
  --dust:   #F7F7F5;  /* off-white, barely warm. not cream. */
  --haze:   #5D6771;  /* muted text, 5.76:1 on white */

  --page: min(72rem, 100% - 2.5rem);
  --gap:  clamp(3.5rem, 8vw, 7rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--soil);
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Archivo Black is the only web font. One file, one weight, display only.
   Body text uses the system stack so nothing blocks first paint. */
h1, h2, h3, .wordmark, .num {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1rem; max-width: 62ch; }
a { color: var(--crop-t); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--crop-t);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: var(--page); margin-inline: auto; }
section { padding-block: var(--gap); }

/* ---- skip link ---- */
.skip {
  position: absolute; left: -9999px;
  background: var(--soil); color: #fff;
  padding: .9rem 1.2rem; z-index: 99; text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---- header ---- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.15rem;
  border-bottom: 1px solid var(--furrow);
}
.wordmark {
  font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; color: var(--soil);
}
.wordmark em { font-style: normal; color: var(--crop); }
.bar nav { display: flex; align-items: center; gap: 1.25rem; font-size: .92rem; }
.bar nav a { color: var(--haze); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--soil); }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--crop-t); color: #fff;
  padding: .95rem 1.6rem; border-radius: 3px; font-weight: 600;
  text-decoration: none; font-size: 1rem;
}
.btn:hover { background: #276023; }
.btn.ghost { background: none; color: var(--soil); border: 1.5px solid var(--soil); }
.btn.ghost:hover { background: var(--soil); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---- signature: the furrows ----
   Crop rows converging on a horizon. A repeating conic gradient from a
   vanishing point above the fold does this with no markup and no images.
   Fresno County is the most productive farm county in the United States;
   this is the one thing the landscape actually looks like. */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 8rem) 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero .sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--haze); max-width: 46ch; margin-top: 1.8rem; }
.hero h1 { max-width: 15ch; }
.hero h1 .g { color: var(--crop); }

.rows {
  height: clamp(6rem, 14vw, 11rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  background: repeating-conic-gradient(
    from 158deg at 50% 0%,
    var(--crop) 0 0.55deg, transparent 0.55deg 3.1deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 65%);
          mask-image: linear-gradient(to bottom, transparent, #000 65%);
  opacity: .55;
}

/* Same motif, viewed from directly overhead: a section divider. */
hr.rule {
  border: 0; height: 9px; margin: 0;
  background: repeating-linear-gradient(90deg,
    var(--crop) 0 2px, transparent 2px 9px);
  opacity: .5;
}

/* ---- steps: a real sequence, so the numbers carry information ---- */
.steps { background: var(--dust); }
.steps ol { list-style: none; margin: 2.75rem 0 0; padding: 0;
  display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.num {
  font-size: .95rem; color: var(--crop-t); letter-spacing: .12em;
  display: block; margin-bottom: .9rem;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--haze); margin: 0; }

/* ---- plain lists ---- */
.gets { margin: 2.5rem 0 0; padding: 0; list-style: none; max-width: 44rem; }
.gets li {
  padding: 1.1rem 0 1.1rem 2rem; border-top: 1px solid var(--furrow);
  position: relative;
}
.gets li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 11px; height: 3px; background: var(--crop);
}
.gets li:last-child { border-bottom: 1px solid var(--furrow); }

/* ---- bilingual block: both languages, always, side by side ---- */
.dual { background: var(--soil); color: #fff; }
.dual h2 { max-width: 20ch; }
.dual .pair { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-top: 2rem; }
.dual p { color: #D7DCE2; margin: 0; }
.dual .tag { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--crop); margin-bottom: .6rem; }

/* ---- faq ---- */
.faq { max-width: 46rem; }
.faq h3 { margin: 2.25rem 0 .6rem; font-size: 1.1rem; }
.faq p { color: var(--haze); }

/* ---- book ---- */
.book { background: var(--furrow); text-align: center; }
.book h2 { margin-bottom: 1.2rem; }
.book p { margin-inline: auto; }
.book .actions { justify-content: center; }

/* ---- footer ---- */
footer { padding-block: 3rem; font-size: .88rem; color: var(--haze); }
footer .cols { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; }
footer a { color: var(--haze); }
footer address { font-style: normal; }

@media (max-width: 40rem) {
  .bar nav { gap: .9rem; font-size: .85rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}
