/* Farm Advisors: the planted row seen at ground level.
 *
 * White ground, the brand navy for the masthead and the farmer-led room, and a leaf-green
 * ramp built from the brand's #7BBA6A. Solway carries the display voice (the sentence a
 * farmer completes, the headings in Farm Advisors' own words); Rubik, the brand's face,
 * carries everything a farmer reads. The motif is the planted row: seeds in a furrow under
 * page openings and section edges, list markers, and the furrow arcs of the client's own
 * badge along the bottom of the field window. Straw lives only in photographs and hairlines.
 */

@font-face { font-family: "Solway"; src: url("fonts/solway-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Solway"; src: url("fonts/solway-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Solway"; src: url("fonts/solway-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-italic-var.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  /* Leaf ramp from the brand green #7BBA6A (OKLCH 0.727 0.128 139.2). */
  --accent-50: #eef6ea;
  --accent-100: #dcf3d6;
  --accent-200: #c0e6b5;
  --accent-300: #95d584;
  --accent-400: #7ebd6d;
  --accent-500: #619f50;
  --accent-600: #458133;
  --accent-700: #2c6818;
  --accent-800: #164d00;
  --accent-900: #0c3200;
  --leaf: #7bba6a;

  --white: #ffffff;
  --ink: #0d2433;
  --ink-soft: #4a5d6b;
  --navy: #074269;
  --navy-deep: #052f4b;
  --navy-text: #c8d6e0;
  --field: #234026;
  --gold: #f2b705;
  --rule: #d5dde2;
  --straw-line: #cdbf96;
  --error: #b3261e;

  --font-display: "Solway", "Rockwell", Georgia, serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.3rem, 1.12rem + 0.85vw, 1.7rem);
  --step-3: clamp(1.5rem, 1.18rem + 1.45vw, 2.2rem);
  --step-4: clamp(1.95rem, 1.35rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.35rem, 1.45rem + 3.9vw, 4.35rem);

  --line: 0.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 76rem;
  --w: min(var(--wrap), 100% - 2 * var(--gutter));
  --radius: 10px;
  --focus: var(--navy);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern";
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-800); text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 calc(var(--line) * 2); text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: var(--step-4); }
h3 { font-weight: 700; font-size: var(--step-2); }
p { margin: 0 0 calc(var(--line) * 2.5); text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }
.wrap { width: var(--w); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: 0.75rem 1rem; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

/* ---- The planted row ------------------------------------------------------------------ */
.row-rule {
  height: 16px;
  background:
    radial-gradient(circle at 50% 62%, var(--leaf) 0 3px, transparent 3.6px) 0 0 / 30px 16px repeat-x,
    linear-gradient(var(--straw-line), var(--straw-line)) 0 100% / 100% 2px no-repeat;
}
.row-rule--head { width: var(--w); margin: calc(var(--line) * 4) auto 0; }
.row-rule--footer { background:
    radial-gradient(circle at 50% 62%, var(--accent-300) 0 3px, transparent 3.6px) 0 0 / 30px 16px repeat-x,
    linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.22)) 0 100% / 100% 2px no-repeat; }

/* ---- Buttons ------------------------------------------------------------------------------ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 var(--step-0) / 1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.button--go { background: var(--accent-700); color: var(--white); }
.button--go:hover { background: var(--accent-800); color: var(--white); }
.button--light { background: var(--accent-300); color: var(--ink); }
.button--light:hover { background: var(--accent-200); color: var(--ink); }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.arrow-link::after { content: ""; width: 0.55em; height: 0.55em; margin-left: 0.5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.arrow-link:hover { text-decoration: underline; }

/* ---- Masthead ----------------------------------------------------------------------------- */
.concept-note { margin: 0; padding: 0.45rem var(--gutter); background: var(--accent-50); color: var(--ink); font-size: var(--step--1); text-align: center; line-height: 1.4; }
.concept-note a { color: var(--accent-800); font-weight: 600; }
.masthead { background: var(--navy); color: var(--white); --focus: var(--gold); }
.masthead__inner { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.brand__logo { width: clamp(178px, 16vw, 236px); height: auto; view-transition-name: fa-lockup; }
.primary-nav ul { display: flex; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; color: var(--white); font-weight: 500; text-decoration: none; border-radius: 6px; }
.primary-nav a:hover { background: rgb(255 255 255 / 0.1); color: var(--white); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent-300); }
.masthead__ask { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--accent-300); border-radius: 999px; color: var(--white); font-weight: 600; text-decoration: none; }
.masthead__ask:hover { background: var(--accent-300); color: var(--ink); }

.omnibox { position: relative; display: flex; flex: 1 1 18rem; max-width: 24rem; margin-left: auto; }
.omnibox input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 0.9rem;
  border: 0; border-radius: 999px 0 0 999px; background: var(--white); color: var(--ink);
  font: 400 var(--step--1) var(--font-body);
}
.omnibox input::placeholder { color: var(--ink-soft); opacity: 1; }
.omnibox button { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 0 999px 999px 0; background: var(--accent-300); color: var(--ink); font: 600 var(--step--1) var(--font-body); cursor: pointer; }
.omnibox button:hover { background: var(--accent-200); }
.omnibox input:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.omnibox button:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
.omnibox__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; min-width: 20rem;
  max-height: min(70vh, 30rem); overflow: auto; margin: 0; padding: 0.4rem 0; list-style: none;
  background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: 0 18px 40px rgb(5 47 75 / 0.28);
}
.omnibox__group { padding: 0.6rem 1rem 0.2rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.omnibox__option { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 1rem; min-height: 44px; cursor: pointer; }
.omnibox__option[aria-selected="true"], .omnibox__option:hover { background: var(--accent-50); }
.omnibox__option-title { font-weight: 500; }
.omnibox__option-meta { font-size: 0.82rem; color: var(--ink-soft); }
.omnibox__option--ask .omnibox__option-title { font-family: var(--font-display); font-weight: 700; }
.omnibox__option--ask { border-left: 4px solid var(--accent-500); }
.omnibox__empty { padding: 0.7rem 1rem; color: var(--ink-soft); }

.menu { display: none; position: relative; }
.menu summary { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 0.9rem; border: 2px solid rgb(255 255 255 / 0.55); border-radius: 999px; list-style: none; cursor: pointer; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu__bars { position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -6px; }
.menu__bars::after { top: 6px; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 45; min-width: 15rem; padding: 0.5rem; background: var(--white); border-radius: 12px; box-shadow: 0 18px 40px rgb(5 47 75 / 0.3); --focus: var(--navy); }
.menu__panel ul { margin: 0; padding: 0; list-style: none; }
.menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 0.85rem; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 500; }
.menu__panel a:hover, .menu__panel a[aria-current="page"] { background: var(--accent-50); }
.menu__panel .menu__ask { margin-top: 0.3rem; background: var(--accent-700); color: var(--white); justify-content: center; }
.menu__panel .menu__ask:hover { background: var(--accent-800); color: var(--white); }

@media (max-width: 1180px) {
  .masthead__ask { display: none; }
}
@media (max-width: 920px) {
  .primary-nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .masthead__inner { flex-wrap: wrap; padding-block: 0.6rem; row-gap: 0.6rem; }
  .omnibox { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
}

/* ---- Hero: the sentence on white, the field window on navy ------------------------------------ */
.hero {
  --split: calc((100% - var(--w)) / 2 + var(--w) * 0.585);
  background: linear-gradient(90deg, var(--white) 0 var(--split), var(--navy) var(--split));
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 4.5rem); }
/* The text column paints its own white ground inside the split, so the sentence's links are read against white, never the navy stop. */
.hero__text { padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.5rem, 5vw, 4rem); container-type: inline-size; background: var(--white); }
.hero__deck { font-size: var(--step-1); font-weight: 500; color: var(--accent-700); margin-bottom: calc(var(--line) * 2); max-width: 34ch; }
/* Sized to its column, so the title keeps three lines from a phone to a wide screen. */
.hero__title { font-size: min(var(--step-5), 10.4cqi); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: calc(var(--line) * 4); max-width: 15ch; }
.hero__field { color: var(--white); padding-block: clamp(2rem, 4vw, 3.25rem); --focus: var(--gold); }

/* The sentence: two blanks, underlined like a seeded row. */
.sentence { margin: 0; }
.sentence__line {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.95;
  margin: 0 0 calc(var(--line) * 2.5); max-width: 22em;
}
.sentence__clause { display: inline-block; }
/* In the split hero the sentence scales with its column, so each clause keeps its blank. */
@media (min-width: 861px) {
  .hero .sentence__line:not(.sentence__line--more) { font-size: min(var(--step-3), 6.2cqi); }
}
.blank { position: relative; display: inline-block; vertical-align: baseline; }
/* What goes in each blank, printed small under its line like a paper form. */
.blank__hint {
  position: absolute; left: 0.1em; right: 0.1em; top: calc(100% + 0.3em);
  font: 600 0.72rem / 1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center; pointer-events: none; white-space: nowrap;
}
.blank select, .blank input {
  font: inherit; color: var(--accent-700); background-color: transparent;
  border: 0; border-bottom: 3px solid var(--accent-500); border-radius: 0;
  padding: 0 0.15em; margin: 0 0.1em; height: 1.12em; line-height: 1.05; vertical-align: baseline;
}
.blank select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 1.15em; field-sizing: content; min-width: 4.5em;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-700) 50%), linear-gradient(135deg, var(--accent-700) 50%, transparent 50%);
  background-position: calc(100% - 0.6em) 55%, calc(100% - 0.33em) 55%;
  background-size: 0.27em 0.27em, 0.27em 0.27em;
  background-repeat: no-repeat;
}
/* The open list reads at body size. Chrome on macOS draws a select's native menu at the select's
   own font size, here the sentence's display size, so where the browser supports a customizable
   select the list is an in-page picker in the body face; elsewhere each option carries the body
   size, which Safari, Firefox and Chrome on Windows and Linux honor. */
.blank select option { font: 400 1rem/1.4 var(--font-body); color: var(--ink); background-color: var(--white); }
@supports (appearance: base-select) {
  .blank select, .blank select::picker(select) { appearance: base-select; }
  /* The closed blank keeps the classic select's box: no 24px minimum, descenders clipped at the
     underline, and an empty blank still hangs its underline below the line, its baseline at the
     middle of the box as before. */
  .blank select { min-block-size: 0; overflow: clip; }
  .blank select:has(option[value=""]:checked) { vertical-align: calc((3px - 1.12em) / 2); }
  .blank select::picker-icon { display: none; }
  .blank select::picker(select) {
    margin-block: 0.4rem; padding-block: 0.3rem; min-width: 13rem; max-height: min(24rem, 60vh); overflow-y: auto;
    font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--white);
    border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 12px 30px rgb(13 36 51 / 0.18);
  }
  .blank select option { padding: 0.4rem 1rem; min-height: 2.25rem; }
  .blank select option:hover, .blank select option:focus-visible { background-color: var(--accent-100); outline: none; }
  .blank select option:checked { font-weight: 600; color: var(--accent-800); }
}
.blank--county select { min-width: 5.5em; }
.blank--practice select { min-width: 6.5em; }
.blank input { width: 7em; field-sizing: content; min-width: 6em; max-width: 100%; }
@supports (field-sizing: content) { .blank input { width: auto; } }
.blank input::placeholder { color: transparent; }
.blank select:hover, .blank input:hover { border-bottom-color: var(--accent-700); }
.blank select:focus-visible, .blank input:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-bottom-color: var(--accent-700); }
.blank [aria-invalid="true"] { border-bottom-color: var(--error); }
.sentence__more { border: 0; margin: 0; padding: 0; min-width: 0; }
.sentence__line--more { font-size: var(--step-1); line-height: 2.3; max-width: 36em; }
.sentence__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sentence__mentor { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.sentence__status { margin: calc(var(--line) * 2) 0 0; font-weight: 500; }
.sentence__status:empty { display: none; }
.sentence__status.is-error, .match__status.is-error, .join__status.is-error { color: var(--error); }

/* The field window: the client's badge as a frame, a mentor's farm inside it. */
.field { display: grid; gap: calc(var(--line) * 3); }
.field__tiles { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.field__legend { float: left; width: 100%; margin-bottom: 0.65rem; padding: 0; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent-300); }
.field__choice { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.field__tile {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 1rem;
  border: 2px solid rgb(255 255 255 / 0.5); border-radius: 999px;
  color: var(--white); font-weight: 500; font-size: var(--step--1); cursor: pointer; user-select: none;
}
.field__tile:hover { border-color: var(--accent-300); }
.field__choice:checked + .field__tile { background: var(--accent-300); border-color: var(--accent-300); color: var(--ink); }
.field__choice:focus-visible + .field__tile { outline: 3px solid var(--gold); outline-offset: 3px; }
.field__window { position: relative; }
.field__state, .field__words { display: none; }
/* The window and its words show the state whose tile is checked: tiles, photographs and words
   share one order. */
.field:has(.field__choice:nth-of-type(1):checked) :is(.field__state, .field__words):nth-child(1),
.field:has(.field__choice:nth-of-type(2):checked) :is(.field__state, .field__words):nth-child(2),
.field:has(.field__choice:nth-of-type(3):checked) :is(.field__state, .field__words):nth-child(3),
.field:has(.field__choice:nth-of-type(4):checked) :is(.field__state, .field__words):nth-child(4),
.field:has(.field__choice:nth-of-type(5):checked) :is(.field__state, .field__words):nth-child(5),
.field:has(.field__choice:nth-of-type(6):checked) :is(.field__state, .field__words):nth-child(6),
.field:has(.field__choice:nth-of-type(7):checked) :is(.field__state, .field__words):nth-child(7),
.field:has(.field__choice:nth-of-type(8):checked) :is(.field__state, .field__words):nth-child(8) { display: block; }
@supports not selector(:has(*)) {
  :is(.field__state, .field__words):first-child { display: block; }
}
.field__photo {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1.04; width: calc(100% - 14px); max-width: 25rem;
  border-radius: 50% 50% 34% 34% / 36% 36% 20% 20%;
  box-shadow: 0 0 0 5px var(--navy), 0 0 0 7px rgb(255 255 255 / 0.9);
  margin: 7px 7px 0;
}
.field .field__photo { max-width: min(25rem, var(--cap, 25rem)); }
.field__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); }
.field__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none;
  background: radial-gradient(150% 175% at 112% 178%, var(--navy) 0 50%, var(--white) 50.4% 53.2%, var(--navy) 53.6% 58.6%, var(--white) 59% 61.8%, var(--navy) 62.2% 67.2%, var(--white) 67.6% 70.4%, transparent 70.8%);
}
.field__words { max-width: 27rem; }
.field__quote { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.45; margin-bottom: var(--line); }
.field__where { font-size: var(--step--1); color: var(--accent-300); margin-bottom: var(--line); }
.field__report { color: var(--white); font-weight: 500; text-decoration-color: var(--gold); text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 32px; }
.field__report:hover { color: var(--accent-200); }

/* ---- Film ------------------------------------------------------------------------------------- */
.film { background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); --focus: var(--gold); }
.film__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.film__title { font-size: var(--step-4); color: var(--white); }
.film__lede { font-size: var(--step-1); color: var(--navy-text); max-width: 30ch; }
.film__frame { max-width: 960px; }
.film__frame video { width: 100%; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: 14px; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.25); }
.film__frame figcaption { margin-top: calc(var(--line) * 2); }
.transcript summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--white); }
.transcript summary::marker { color: var(--accent-300); }
.transcript p { color: var(--navy-text); max-width: 68ch; }

/* ---- Fewer Failures, More Success ---------------------------------------------------------------- */
.problem { padding-block: clamp(3.5rem, 7vw, 6rem); }
.problem__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.problem__title { grid-column: 1 / -1; font-size: var(--step-5); max-width: 14ch; margin-bottom: calc(var(--line) * 3); }
.problem__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.problem__run { padding-top: var(--line); }
.problem__step { font-size: var(--step-2); color: var(--accent-700); padding-top: calc(var(--line) * 2.5); border-top: 2px solid var(--straw-line); }
.photo figcaption { margin-top: var(--line); font-size: var(--step--1); color: var(--ink-soft); line-height: 1.45; max-width: 60ch; }
.photo .credit { display: block; white-space: nowrap; }
.photo--capped { max-width: var(--cap); }

/* ---- How a match works ---------------------------------------------------------------------------- */
.match-how { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.match-how__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.row-list { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.row-list li { position: relative; padding: calc(var(--line) * 3) 0 calc(var(--line) * 1) 2.6rem; }
.row-list li::before {
  content: ""; position: absolute; left: 0; top: calc(var(--line) * 3 + 0.35rem); width: 1.5rem; height: 1.5rem;
  border-radius: 50% 50% 50% 0; background: var(--leaf); transform: rotate(-45deg);
}
.row-list li + li { border-top: 2px dotted var(--straw-line); }
.row-list h3 { font-size: var(--step-2); margin-bottom: var(--line); }
.row-list p { margin-bottom: calc(var(--line) * 1.5); max-width: 62ch; }
.pull { position: sticky; top: 1.5rem; }
.pull__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius) var(--radius) 0 0; }
.pull__photo { max-width: none; }
.pull__quote { margin: 0; padding: calc(var(--line) * 3) calc(var(--line) * 3) calc(var(--line) * 2); background: var(--navy); color: var(--white); }
.pull__quote p { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.25; margin: 0; }
.pull__quote p::before { content: "“"; color: var(--accent-300); }
.pull__quote p::after { content: "”"; color: var(--accent-300); }
.pull__who { padding: 0 calc(var(--line) * 3) calc(var(--line) * 3); background: var(--navy); color: var(--navy-text); border-radius: 0 0 var(--radius) var(--radius); font-size: var(--step--1); --focus: var(--gold); }
.pull__who a { color: var(--white); text-decoration-color: var(--gold); display: inline-flex; min-height: 32px; align-items: center; }

/* ---- A community you can count on ------------------------------------------------------------------- */
.community { background: var(--accent-50); padding-block: clamp(3.5rem, 7vw, 6rem); }
.community__title { font-size: var(--step-5); max-width: 16ch; }
.community__meeting { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.community__photos { display: grid; grid-template-columns: 3fr 2fr; gap: 0.9rem; align-items: start; }
.community__photos .photo img { width: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.community__lead { grid-row: span 2; }
.community__lead img { aspect-ratio: auto; }
.community__small img { aspect-ratio: 4 / 3; }
.community__small--tall img { aspect-ratio: 3 / 4; }
.community__kicker { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-700); margin-bottom: var(--line); }
.community__report { font-size: var(--step-3); }
.community__report a { color: var(--ink); text-decoration-color: var(--accent-500); }
.community__more { border-top: 2px solid var(--accent-200); padding-top: calc(var(--line) * 3); }
.community__more-title { font-size: var(--step-2); }
.post-rows { list-style: none; margin: 0 0 calc(var(--line) * 2); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; }

/* ---- Field-report cards ------------------------------------------------------------------------------ */
.post-card { display: grid; gap: calc(var(--line) * 1.5); align-content: start; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.post-card__place::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.55rem; vertical-align: middle; border-radius: 50%; background: var(--leaf); }
.post-card__title { font-size: var(--step-1); line-height: 1.2; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration-color: var(--accent-500); }
.post-card__title a:hover { color: var(--accent-800); }
.post-card__excerpt { margin: 0; color: var(--ink-soft); }
.post-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.post-card__tags li { padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--accent-100); color: var(--accent-800); font-size: 0.8rem; font-weight: 500; }
.post-card--row { padding-top: calc(var(--line) * 1.5); border-top: 2px dotted var(--straw-line); }
.post-card__photo img { width: 100%; aspect-ratio: var(--frame, 4 / 3); object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.post-card__photo .graphic__img { aspect-ratio: auto; object-fit: contain; }
.post-grid { list-style: none; margin: 0 0 calc(var(--line) * 3); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; }

/* ---- The farmer-led room ------------------------------------------------------------------------------- */
.room { background: var(--navy); color: var(--white); padding-block: clamp(3.5rem, 7vw, 6rem); --focus: var(--gold); }
.room a { color: var(--white); text-decoration-color: var(--gold); }
.room a:hover { color: var(--accent-200); }
.room__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem); }
.room__lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.room__title { font-size: var(--step-4); color: var(--white); margin: 0; }
.room__title--statement { font-size: var(--step-3); line-height: 1.18; }
/* The committee's name is the client's own and runs long: it takes the full row above its note. */
.room--about .room__lead { grid-template-columns: minmax(0, 1fr); }
.room--about .room__lead p { max-width: 40rem; margin: 0; }
.room__note { color: var(--navy-text); }
.room__label--next { margin-top: calc(var(--line) * 4); }
.room__list { list-style: none; margin: 0; padding: 0; }
.room__list li { padding: calc(var(--line) * 1.5) 0; border-top: 1px solid rgb(255 255 255 / 0.18); font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.35; }
.roster__note { display: block; margin-top: 0.25rem; font-family: var(--font-body); font-weight: 400; font-size: var(--step--1); color: var(--navy-text); }
.room__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.room .photo figcaption, .film figcaption, .pull__who { color: var(--navy-text); }
.room__lead p { color: var(--navy-text); margin: 0; }
.room__label { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-300); margin-bottom: calc(var(--line) * 2); }
.roster { margin: 0; display: grid; gap: 0; }
.roster div { display: grid; grid-template-columns: minmax(8.5rem, 1fr) 2fr; gap: 1rem; padding: calc(var(--line) * 1.5) 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
.roster dt { color: var(--navy-text); font-size: var(--step--1); padding-top: 0.2rem; }
.roster dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.2; }
.room__advisors { margin-top: calc(var(--line) * 2.5); color: var(--navy-text); font-size: var(--step--1); }
.dates { list-style: none; margin: 0; padding: 0; }
.dates__item { position: relative; padding: calc(var(--line) * 1.5) 0 calc(var(--line) * 1.5) 1.6rem; border-top: 1px solid rgb(255 255 255 / 0.18); }
.dates__item::before { content: ""; position: absolute; left: 0; top: calc(var(--line) * 1.5 + 0.45rem); width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--gold); }
.dates__when { margin: 0 0 0.2rem; color: var(--gold); font-weight: 600; font-size: var(--step--1); }
.dates__title { margin: 0 0 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.dates__kind { margin: 0; color: var(--navy-text); font-size: var(--step--1); }
.dates__empty { color: var(--navy-text); }

/* ---- Become a mentor ----------------------------------------------------------------------------------- */
.mentor { padding-block: clamp(3.5rem, 7vw, 6rem); }
.mentor__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.mentor__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.mentor__title { font-size: var(--step-4); max-width: 14ch; }
.mentor__text p { font-size: var(--step-1); max-width: 34ch; }

/* ---- Supporters ------------------------------------------------------------------------------------------- */
.supporters { background: var(--accent-50); padding-block: clamp(2.5rem, 5vw, 4rem); }
.supporters__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.supporters__title { font-size: var(--step-3); margin: 0; }
.supporters__text { font-size: var(--step-1); margin: 0; }

/* ---- Footer --------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--field); color: var(--white); padding-bottom: calc(var(--line) * 4); --focus: var(--gold); }
.site-footer a { color: var(--accent-200); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer__logo { width: 220px; height: auto; margin-bottom: calc(var(--line) * 1.5); }
.site-footer__tagline { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--step--1); color: var(--accent-300); }
.site-footer__about p { color: #dbe7da; }
.site-footer__heading { font-size: var(--step-2); color: var(--white); }
.site-footer__join p { color: #dbe7da; }
.join label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.join__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.join input { flex: 1 1 14rem; min-height: 48px; padding: 0 1rem; border: 2px solid transparent; border-radius: 999px; font: inherit; color: var(--ink); background: var(--white); }
.join input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.join__status { margin: var(--line) 0 0; color: #dbe7da; }
.join__status:empty { display: none; }
.join__status.is-error { color: #ffd8d4; }
.site-footer__nav ul { list-style: none; margin: 0 0 calc(var(--line) * 2); padding: 0; display: grid; gap: 0.1rem; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-weight: 500; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__small a { font-weight: 400; font-size: var(--step--1); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: calc(var(--line) * 3); border-top: 1px solid rgb(255 255 255 / 0.18); font-size: var(--step--1); color: #dbe7da; }
.site-footer__legal p { margin: 0; }

/* ---- Interior pages --------------------------------------------------------------------------------------------- */
.page-head { padding-top: clamp(2.5rem, 5vw, 4rem); }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.page-head--photo .page-head__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-head h1 { font-size: var(--step-5); max-width: 16ch; margin-bottom: calc(var(--line) * 2); }
.page-head .lede { font-size: var(--step-2); line-height: 1.45; color: var(--ink); max-width: 38ch; font-family: var(--font-display); font-weight: 500; }
.page-head__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section__head { display: grid; gap: calc(var(--line) * 1.5); margin-bottom: calc(var(--line) * 4); max-width: 46rem; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; color: var(--ink-soft); font-size: var(--step-1); }
.prose { max-width: 44rem; }
.prose p, .prose li { font-size: var(--step-1); line-height: 1.65; }

/* ---- Contact: the full request ------------------------------------------------------------------------------------ */
.contact__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.match { display: grid; gap: calc(var(--line) * 4); }
.match__title { font-size: var(--step-3); margin: 0; }
.match__step { position: relative; margin: 0; padding: 0 0 0 2.4rem; border: 0; min-width: 0; }
.match__step::before { content: ""; position: absolute; left: 0.45rem; top: 0.35rem; bottom: -2rem; width: 2px; background: repeating-linear-gradient(var(--straw-line) 0 6px, transparent 6px 12px); }
.match__step:last-of-type::before { bottom: 0; }
.match__step::after { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--white); border: 2px solid var(--accent-500); }
.match__step.is-done::after { background: var(--leaf); border-color: var(--accent-700); }
.match__step legend { float: left; width: 100%; padding: 0; margin-bottom: calc(var(--line) * 2); font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); }
.match__step legend + * { clear: both; }
.match__roles { display: grid; gap: 0.6rem; }
.choice { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0.55rem 1rem; border: 2px solid var(--rule); border-radius: 12px; cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--accent-600); background: var(--accent-50); }
.choice:hover { border-color: var(--accent-500); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent-700); margin: 0; flex: none; }
.choice--small { min-height: 44px; padding: 0.35rem 0.9rem; }
.match__reach { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.match__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--line) * 2.5) 1.25rem; }
.field-row { display: grid; gap: 0.35rem; margin: 0; }
.field-row--wide { grid-column: 1 / -1; }
.field-row label, .field-row__label { font-weight: 600; }
.field-row__optional { font-weight: 400; color: var(--ink-soft); }
.field-row__hint { font-size: var(--step--1); color: var(--ink-soft); }
.field-row input:not([type="radio"]):not([type="checkbox"]), .field-row select, .field-row textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.85rem; border: 2px solid #8d9ba5; border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--white);
}
.field-row textarea { min-height: 7rem; resize: vertical; }
.field-row select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.75rem) 55%; background-size: 0.35rem 0.35rem, 0.35rem 0.35rem; background-repeat: no-repeat; }
.field-row input:not([type="radio"]):focus-visible, .field-row select:focus-visible, .field-row textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.field-row [aria-invalid="true"] { border-color: var(--error); }
.match__send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-left: 2.4rem; }
.match__to { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.match__status { margin: 0; padding-left: 2.4rem; font-weight: 500; }
.match__status:empty { display: none; }
.is-hidden-role { display: none; }
.contact__card { display: grid; gap: calc(var(--line) * 2.5); position: sticky; top: 1.5rem; }
.contact__card-body { padding: calc(var(--line) * 3); background: var(--navy); color: var(--white); border-radius: var(--radius); --focus: var(--gold); }
.contact__card-body a { color: var(--white); text-decoration-color: var(--gold); }
.contact__card-body h2 { font-size: var(--step-2); color: var(--white); }
.contact__card-body p { color: var(--navy-text); }
.contact__card-body p:last-child { margin-bottom: 0; }
.contact__quote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.45; }
.contact__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }

/* ---- About -------------------------------------------------------------------------------------------------------- */
.about-what { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.about-what__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.about-what__list li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: calc(var(--line) * 2) 0; border-top: 2px dotted var(--straw-line); }
.about-what__list strong { font-family: var(--font-display); font-weight: 700; color: var(--accent-700); }
.about-what__list span { font-size: var(--step-1); }
.gain { padding: calc(var(--line) * 3); background: var(--accent-50); border-radius: var(--radius); }
.gain h3 { font-size: var(--step-2); }
.gain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--line) * 1.5); }
.gain li { position: relative; padding-left: 1.6rem; font-size: var(--step-1); }
.gain li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.75rem; height: 0.75rem; border-radius: 50% 50% 50% 0; background: var(--leaf); transform: rotate(-45deg); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.person { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: calc(var(--line) * 2); border: 1px solid var(--rule); border-radius: var(--radius); }
.person .photo img { width: 88px; height: 88px; object-fit: cover; object-position: var(--fp, 50% 30%); border-radius: 50%; }
.person--text { grid-template-columns: minmax(0, 1fr); }
.contact__manager { padding-top: calc(var(--line) * 2); border-top: 1px solid rgb(255 255 255 / 0.2); }
.person__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.person__role { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.press { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.press li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: calc(var(--line) * 2) 0; border-top: 2px dotted var(--straw-line); }
.press__who { color: var(--ink-soft); font-size: var(--step--1); }
.press a { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }

/* ---- The sentence band: the home page's ask at the foot of an interior page ----------------------------------- */
.band { background: var(--navy); color: var(--white); padding-block: clamp(2.75rem, 6vw, 4.5rem); --focus: var(--gold); }
.band__inner { display: grid; gap: calc(var(--line) * 2); justify-items: start; }
.band__title { font-size: var(--step-2); color: var(--accent-300); margin: 0; }
.band__line { margin: 0; color: var(--white); max-width: 26em; }
.band .blank select { color: var(--white); border-bottom-color: var(--accent-300);
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-300) 50%), linear-gradient(135deg, var(--accent-300) 50%, transparent 50%); }
.band .blank select option { color: var(--ink); background: var(--white); }
.band .blank select:hover { border-bottom-color: var(--white); }
.band .blank select:focus-visible { outline-color: var(--gold); border-bottom-color: var(--white); }
.band .blank__hint { color: var(--navy-text); }
.band__go { margin-top: calc(var(--line) * 2); }

/* ---- Blog: the field log ------------------------------------------------------------------------------------------ */
.field-log__inner { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.topic-filter { position: sticky; top: 1.5rem; }
.topic-filter__label { margin: 0 0 var(--line); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.topic-filter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.topic-filter a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 44px; padding: 0.35rem 0.85rem; border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; }
.topic-filter a:hover { background: var(--accent-50); color: var(--accent-800); }
.topic-filter a[aria-current="page"] { background: var(--accent-700); color: var(--white); }
.topic-filter__n { font-size: var(--step--1); font-variant-numeric: tabular-nums; opacity: 0.85; }
.field-log__title { font-size: var(--step-2); margin-bottom: calc(var(--line) * 2); }
.field-log__list { list-style: none; margin: 0; padding: 0; }
.field-log__list > li { border-top: 2px dotted var(--straw-line); }
.field-log__list > li:last-child { border-bottom: 2px dotted var(--straw-line); }
.post-card--log { grid-template-columns: minmax(0, 1fr) 12.5rem; grid-template-areas: "text photo"; gap: 0.75rem clamp(1rem, 3vw, 2.25rem); padding-block: calc(var(--line) * 3); }
.post-card--log .post-card__text { grid-area: text; display: grid; gap: calc(var(--line) * 1.25); align-content: start; }
.post-card--log .post-card__photo { grid-area: photo; }
.post-card--log:not(:has(.post-card__photo)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text"; }
.post-card--log .post-card__title { font-size: var(--step-2); line-height: 1.2; }
.post-card--log .post-card__photo .graphic__img { width: 100%; height: auto; border-radius: var(--radius); }
.post-card__photo figcaption { margin-top: 0.35rem; font-size: 0.75rem; line-height: 1.35; }
.post-card__photo .credit { white-space: normal; }

/* ---- A field report --------------------------------------------------------------------------------------------- */
.report__head { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: calc(var(--line) * 3); }
.report__head-text { max-width: 50rem; }
.report__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin-bottom: calc(var(--line) * 2); color: var(--ink-soft); font-size: var(--step--1); }
.report__meta a { font-weight: 600; }
/* A field report's title is a headline over a short post, one step under a page title, so the
   longest of them holds to three lines and the photograph stays on the first screen. */
.report__title { font-size: var(--step-4); margin-bottom: calc(var(--line) * 2); }
.report__topics { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.report__topics a { display: inline-flex; align-items: center; min-height: 32px; padding: 0.1rem 0.8rem; border-radius: 999px; background: var(--accent-100); color: var(--accent-800); font-size: var(--step--1); font-weight: 500; text-decoration: none; }
.report__topics a:hover { background: var(--accent-200); }
.report__spread { display: grid; grid-template-columns: minmax(0, 1fr); }
.report__lead { margin-bottom: calc(var(--line) * 4); }
/* A phone-sized original paints at half its width (two source pixels per CSS pixel), so on a
   wide screen it sits beside the words instead of alone on a row with white space beside it. */
@media (min-width: 961px) {
  .report__spread--side { grid-template-columns: min(var(--lead-cap, 40rem), 48%) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
  .report__spread--side .report__lead { margin-bottom: 0; }
}
.report__photo { max-width: 64rem; }
.report__photo--tall { max-width: 30rem; }
.report__photo.photo--capped { max-width: min(var(--cap), 64rem); }
.report__photo--tall.photo--capped { max-width: min(var(--cap), 30rem); }
.report__photo img { width: 100%; height: auto; border-radius: var(--radius); }
.report__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.report__body--graphic { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.report__text { max-width: 42rem; }
.report__text p { font-size: var(--step-1); line-height: 1.65; }
.report__quote { margin: calc(var(--line) * 3) 0; padding-left: clamp(1rem, 3vw, 1.75rem); border-left: 6px solid var(--leaf); }
.report__quote p { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.3; color: var(--navy); }
.report__video { padding-top: calc(var(--line) * 2); border-top: 2px dotted var(--straw-line); color: var(--ink-soft); }
.graphic { margin: 0; }
.graphic__img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--rule); }
.graphic__words { margin-top: calc(var(--line) * 1.5); }
.graphic__words summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent-700); cursor: pointer; }
.graphic__words ul { margin: var(--line) 0 0; padding-left: 1.2rem; display: grid; gap: var(--line); font-size: var(--step-0); }
.report__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; align-items: start; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.report__more-photo img { width: 100%; aspect-ratio: var(--frame, 4 / 3); object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.related { background: var(--accent-50); }
.related__title { font-size: var(--step-3); }

/* ---- Resources ---------------------------------------------------------------------------------------------------- */
.upcoming__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1.5rem; }
.event { position: relative; display: grid; gap: var(--line); align-content: start; padding: calc(var(--line) * 3); padding-top: calc(var(--line) * 4); border: 2px solid var(--rule); border-radius: var(--radius); }
.event::before { content: ""; position: absolute; left: calc(var(--line) * 3); right: calc(var(--line) * 3); top: calc(var(--line) * 1.5); height: 10px;
  background: radial-gradient(circle at 50% 50%, var(--leaf) 0 3px, transparent 3.6px) 0 0 / 22px 10px repeat-x; }
.event__kind { margin: 0; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-700); }
.event__title { font-size: var(--step-2); margin: 0; }
.event__facts { margin: 0; display: grid; gap: 0.35rem; }
.event__facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; }
.event__facts dt { font-weight: 600; color: var(--ink-soft); }
.event__facts dd { margin: 0; }
.event__note { margin: 0; color: var(--ink-soft); }
.event__links { list-style: none; margin: var(--line) 0 0; padding: 0; display: grid; gap: 0.25rem; }
.event__links a { font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.event__size { color: var(--ink-soft); font-size: var(--step--1); }
.upcoming__empty { max-width: 40rem; font-size: var(--step-1); }
.resources__inner--photo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.resources__photo { position: sticky; top: 1.5rem; }
.resources__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--fp, 50% 50%); border-radius: var(--radius); }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0 2rem; }
.resource { display: grid; gap: 0.35rem; align-content: start; padding: calc(var(--line) * 2.5) 0; border-top: 2px dotted var(--straw-line); }
.resource__title { font-size: var(--step-1); margin: 0; line-height: 1.3; }
.resource__who { margin: 0; color: var(--ink-soft); font-size: var(--step--1); font-weight: 500; }
.resource__what { margin: 0; }
.resource__where { justify-self: start; margin: 0.25rem 0 0; padding: 0.05rem 0.6rem; border-radius: 999px; background: var(--accent-100); color: var(--accent-800); font-size: 0.8rem; font-weight: 500; }

/* ---- Search and Ask ----------------------------------------------------------------------------------------------- */
.search-app { padding-block: calc(var(--line) * 4) clamp(3rem, 6vw, 5rem); }
.search-form { display: grid; gap: var(--line); max-width: 48rem; }
.search-form > * { min-width: 0; }
.search-form__label { font-weight: 600; }
.search-form__row { display: flex; }
.search-form__row input { flex: 1 1 auto; width: 0; min-width: 0; min-height: 56px; padding: 0.6rem 1.25rem; border: 2px solid var(--navy); border-right: 0; border-radius: 999px 0 0 999px; background: var(--white); font: inherit; font-size: var(--step-1); color: var(--ink); }
.search-form__row input:focus-visible { outline: 3px solid var(--navy); outline-offset: -7px; }
.search-form__row .button { min-height: 56px; border-radius: 0 999px 999px 0; }
.search-form__row .button:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.search-form--compact { margin-top: calc(var(--line) * 3); max-width: 36rem; }
.search-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--line) 0 0; padding: 0; list-style: none; }
.search-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border: 2px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 var(--step--1) / 1.25 var(--font-body); cursor: pointer; }
.search-chip:hover { border-color: var(--accent-600); color: var(--accent-800); }
.search-answer:not(:empty) { margin-top: calc(var(--line) * 4); max-width: 52rem; }
.search-answer:focus { outline: none; }
.ask-answer[tabindex]:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 4px; }
.ask-answer { padding: calc(var(--line) * 3) calc(var(--line) * 3.5); border-radius: var(--radius); background: var(--accent-50); box-shadow: inset 6px 0 0 var(--leaf); }
.ask-answer .eyebrow { margin: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-700); }
.ask-answer h2, .ask-answer h3 { margin: 0.35rem 0 0; font-size: var(--step-2); }
.ask-a-text { margin: var(--line) 0 0; font-size: var(--step-1); max-width: 42em; }
.ask-hedge { margin: 0 0 var(--line); color: var(--ink-soft); }
.ask-empty { box-shadow: inset 6px 0 0 var(--straw-line); background: #f6f7f8; }
.ask-sources, .ask-suggest { margin-top: calc(var(--line) * 2.5); }
.ask-sources h3, .ask-sources h4, .ask-suggest h3, .ask-suggest h4 { margin: 0; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.ask-source-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: var(--line) 0 0; padding: 0; list-style: none; }
.source-card { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.4rem 0.9rem 0.4rem 0.5rem; border: 2px solid var(--rule); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; }
.source-card:hover { border-color: var(--accent-600); }
.sc-ico { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.35rem; border-radius: 8px; background: var(--accent-100); color: var(--accent-800); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.sc-t { display: grid; line-height: 1.25; }
.sc-t b { font-weight: 600; }
.sc-t span { font-size: 0.8rem; color: var(--ink-soft); }
.ask-suggest ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--line) 0 0; padding: 0; list-style: none; }
.ask-suggest button { min-height: 44px; padding: 0 1rem; border: 2px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 var(--step--1) / 1.25 var(--font-body); cursor: pointer; }
.ask-suggest button:hover { border-color: var(--accent-600); }
.search-results { margin-top: calc(var(--line) * 5); }
.search-results__title { font-size: var(--step-3); margin: 0; }
.search-results__summary { margin: var(--line) 0 0; color: var(--ink-soft); font-weight: 500; }
.search-results__groups { display: grid; gap: calc(var(--line) * 4); margin-top: calc(var(--line) * 3); }
.result-group__title { margin: 0; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-700); }
.result-group__count { font-weight: 500; color: var(--ink-soft); }
.result-group__list { list-style: none; margin: var(--line) 0 0; padding: 0; border-top: 2px solid var(--navy); }
.result { padding: calc(var(--line) * 2) 0; border-bottom: 1px solid var(--rule); }
.result__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.result__meta { margin: 0.25rem 0 0; font-size: var(--step--1); color: var(--ink-soft); font-weight: 500; }
.result__text { margin: 0.25rem 0 0; max-width: 52em; }
.search-results__empty p + p { margin-top: var(--line); }
.search-noscript { margin-top: calc(var(--line) * 3); color: var(--ink-soft); }
.ask-browse { margin-top: calc(var(--line) * 7); }
.ask-browse h2 { font-size: var(--step-3); }
.ask-browse__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: calc(var(--line) * 4) 2.5rem; margin-top: calc(var(--line) * 2); align-items: start; }
.ask-browse__group h3 { margin: 0 0 var(--line); padding-bottom: var(--line); font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-700); border-bottom: 3px solid var(--leaf); }
.ask-item { border-bottom: 1px solid var(--rule); }
.ask-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.5rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.ask-item summary::-webkit-details-marker { display: none; }
.ask-item summary::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ask-item[open] summary::after { transform: rotate(-135deg); }
.ask-item p { margin: 0 0 var(--line); }
.ask-item__sources { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0 0 calc(var(--line) * 2); list-style: none; }
.ask-item__sources a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 500; }

/* ---- Not found: the end of the row ------------------------------------------------------------------------------------ */
.row-rule--end { width: var(--w); margin: calc(var(--line) * 4) auto 0;
  background:
    radial-gradient(circle at 50% 62%, var(--leaf) 0 3px, transparent 3.6px) 0 0 / 30px 16px repeat-x,
    linear-gradient(var(--straw-line), var(--straw-line)) 0 100% / 100% 2px no-repeat;
  -webkit-mask: linear-gradient(90deg, #000 0 72%, transparent 92%); mask: linear-gradient(90deg, #000 0 72%, transparent 92%); }
.notfound__ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.notfound__ways a { display: grid; gap: 0.35rem; height: 100%; padding: calc(var(--line) * 2.5); border: 2px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.notfound__ways a:hover { border-color: var(--accent-600); background: var(--accent-50); }
.notfound__label { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--accent-800); }
.notfound__note { color: var(--ink-soft); }

/* ---- Accessibility, privacy, photo credits ------------------------------------------------------------------------- */
.prose h2 { font-size: var(--step-3); margin-top: calc(var(--line) * 5); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; display: grid; gap: var(--line); }
.match-sent { padding: calc(var(--line) * 4); border-radius: var(--radius); background: var(--accent-50); box-shadow: inset 6px 0 0 var(--leaf); }

/* ---- Responsive ----------------------------------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { background: var(--white); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero__text { width: var(--w); margin-inline: auto; padding-bottom: clamp(2rem, 6vw, 3rem); }
  .hero__field { background: var(--navy); padding-inline: var(--gutter); }
  .field { max-width: 30rem; margin-inline: auto; }
  /* Stacked, the photograph leads the navy band, directly under the sentence. */
  .field__window { order: -1; }
}
/* The room's statement is the client's own 99-character sentence: under 1100px it takes the full
   row so it holds to three lines, and the board note follows it. */
@media (max-width: 1100px) {
  .room__lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .film__inner, .problem__inner, .match-how__inner, .community__meeting, .room__inner, .room__lead, .mentor__inner, .supporters__inner, .contact__inner, .about-what, .page-head--photo .page-head__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__about { grid-column: 1 / -1; }
  .post-rows { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pull, .contact__card { position: static; }
  .field-log__inner, .report__body--graphic, .resources__inner--photo { grid-template-columns: minmax(0, 1fr); }
  .topic-filter { position: static; }
  .topic-filter ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .topic-filter a { border: 2px solid var(--rule); }
  .topic-filter a[aria-current="page"] { border-color: var(--accent-700); }
  .resources__photo { position: static; max-width: 28rem; }
}
@media (max-width: 600px) {
  .hero__text { padding-block: 1rem; }
  .hero__deck { font-size: var(--step-0); margin-bottom: 0.25rem; }
  .hero__title { margin-bottom: calc(var(--line) * 1.5); }
  .sentence__line { font-size: clamp(1.4rem, 1.05rem + 2.2vw, 1.75rem); line-height: 2.05; }
  .sentence__clause { display: inline; }
  .sentence__line--more { font-size: var(--step-1); line-height: 2.5; }
  .blank--county select { min-width: 4em; }
  .blank--practice select { min-width: 4.2em; }
  /* Row gap stays wider than the focus ring's reach (offset 3px + width 3px), so the mentor link's ring never lands on the button above it. */
  .sentence__actions { gap: 0.625rem 1.5rem; }
  .sentence__mentor { min-height: 36px; }
  .hero__field { padding-block: 0.75rem 2.25rem; }
  .match__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .about-what__list li, .press li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .roster div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .community__photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .community__lead { grid-column: 1 / -1; grid-row: auto; }
  .community__lead img { aspect-ratio: 4 / 5; }
  .post-card--log { grid-template-columns: minmax(0, 1fr) 6.5rem; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card--log .post-card__title { font-size: var(--step-1); }
  .post-card--log .post-card__excerpt { display: none; }
  .event__facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .search-form__row input { font-size: var(--step-0); }
}

/* ---- Motion, only when welcome --------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .field__state, .field__words { animation: fa-rise 0.45s ease both; }
  .sentence__more:not([hidden]) { animation: fa-rise 0.4s ease both; }
  .button, .field__tile, .primary-nav a, .masthead__ask, .choice { transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
  .match__step::after { transition: background-color 0.25s ease, border-color 0.25s ease; }
}
@keyframes fa-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (forced-colors: active) {
  .field__photo::after, .row-rule { forced-color-adjust: none; }
  .field__choice:checked + .field__tile { outline: 2px solid CanvasText; }
  .button { border-color: ButtonText; }
}

@media print {
  .site-header, .site-footer, .film, .sentence__more { display: none; }
  .hero { background: none; }
  .hero__field { color: var(--ink); background: none; }
}
