/* Slow Food Russian River ------------------------------------------------ */

:root {
  --paper: #fbf7f0;
  --paper-2: #f3ebdd;
  --card: #fffdf9;
  --ink: #2a2420;
  --muted: #6b6159;
  --line: #e4d9c6;
  --red: #c42a2f;
  --red-ink: #a32227;
  --leaf: #2f4229;
  --leaf-2: #415a39;
  --leaf-ink: #f3efe4;
  --gold: #d9a43a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --wrap-wide: 1360px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(56px, 35.2px + 5.333vw, 112px);
  --radius: 0;
  --shadow: none;

  /* serrated edge (trial): see "Serrated edge" below */
  --tooth-w: 14px;
  --tooth-h: 7px;

  --focus-ring: var(--ink);
  --focus-halo: var(--paper);
}
@media (min-width: 768px) { :root { --tooth-w: 18px; --tooth-h: 9px; } }
.home-values, .site-footer, .band--leaf { --focus-ring: var(--leaf-ink); --focus-halo: var(--leaf); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-halo); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font: 600 .78rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin: 0 0 .9rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--center { text-align: center; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* Buttons ---------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-align: center;
  min-height: 48px;
  font: 600 .9375rem/1.25 var(--sans);
  padding: 0 20px;
  border-radius: 0;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover, .button:active { background: var(--red-ink); border-color: var(--red-ink); color: #fff; text-decoration: none; }
/* capsule with no link (off-season notices): no hover, no arrow, default cursor */
.button--static { margin: 0; cursor: default; padding-top: 10px; padding-bottom: 10px; }
.button--static:hover, .button--static:active { background: var(--red); border-color: var(--red); color: #fff; }
.button--small { min-height: 44px; }
.button--block { display: flex; width: 100%; }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--ghost:hover, .button--ghost:active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button--ghost.button--static:hover, .button--ghost.button--static:active { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--quiet { background: transparent; color: var(--ink); border-color: var(--muted); margin-top: .6rem; }
.button--quiet:hover, .button--quiet:active { background: var(--paper-2); border-color: var(--muted); color: var(--ink); }
.button--light { background: var(--leaf-ink); border-color: var(--leaf-ink); color: var(--leaf); }
.button--light:hover, .button--light:active { background: #fff; border-color: #fff; color: var(--leaf); }
.button--light.button--static:hover, .button--light.button--static:active { background: var(--leaf-ink); border-color: var(--leaf-ink); color: var(--leaf); }
.button--outline-light { background: transparent; border-color: var(--leaf-ink); color: var(--leaf-ink); }
.button--outline-light:hover, .button--outline-light:active { background: var(--leaf-ink); color: var(--leaf); border-color: var(--leaf-ink); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button-stack { display: grid; gap: .75rem; align-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 .9375rem/1.3 var(--sans); color: var(--red-ink);
  text-decoration: none;
}
.link-arrow::after { content: "→"; content: "→" / ""; margin-left: .4em; transition: transform .15s; }
.link-arrow:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.link-arrow:hover::after { transform: translateX(3px); }
@media (min-width: 561px) { .link-arrow { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .link-arrow:hover::after, .card--link:hover .card-cta::after { transform: none; } }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: none; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav-toggle { display: inline-flex; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3em; min-height: 44px;
  font: 500 .9375rem/1.2 var(--sans); color: var(--ink);
  padding: 0 10px;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-sub a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .9375rem; line-height: 1.3; }
.nav-sub a[aria-current="page"] { color: var(--red-ink); font-weight: 600; }
.nav-item.is-active > .nav-link, .nav-link[aria-current="page"] { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.nav-toggle {
  align-items: center; gap: .55rem; min-height: 44px; min-width: 44px; justify-content: center;
  font: 600 .9375rem/1 var(--sans); color: var(--ink);
  background: none; border: 1px solid var(--ink); border-radius: 0; padding: 0 14px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 0; position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* below 961px: Menu button and drop panel */
@media (max-width: 960px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { display: flex; flex-direction: column; align-items: stretch; padding: 0 var(--gutter) 16px; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; min-height: 48px; justify-content: space-between; padding: 0 4px; font-size: 1.0625rem; }
  .nav-sub { display: none; padding: 0 0 8px 16px; }
  .nav-item.is-open > .nav-sub { display: block; }
  .nav-sub a { padding: 0 4px; }
  .nav-item--donate { border: 0; margin: 16px 0 0; }
  .nav-item--donate .button { width: 100%; min-height: 48px; }
}

/* 961px and up: inline row (site.js uses the same 961px split for dropdown hover) */
@media (min-width: 961px) {
  .header-inner { max-width: var(--wrap-wide); min-height: 76px; }
  .brand img { height: 40px; }
  .nav-toggle { display: none; }
  .nav-list { display: flex; align-items: center; gap: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
  .nav-item.is-active > .nav-link:hover, .nav-link[aria-current="page"]:hover { text-decoration-thickness: 2px; }
  .nav-sub {
    position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
    background: var(--card); border: 1px solid var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
  }
  .nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; }
  .nav-sub a { padding: 0 12px; }
  .nav-sub a:hover { background: var(--paper-2); }
  .nav-item--donate { margin-left: 12px; }
}
@media (min-width: 1101px) { .brand img { height: 46px; } }

/* Layout helpers ---------------------------------------------------------- */
.section, .page-body > .section { max-width: var(--wrap); margin: 0 auto; padding: clamp(26px, 4vw, 48px) var(--gutter); }
.section--narrow { max-width: 860px; }
.page-body { padding-bottom: clamp(26px, 4vw, 54px); }
.page-body > :not(.section):not(.band):not(.facts):not(.prose-page) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-title { margin-bottom: 1.25rem; }
.section-head .section-title { margin: 0; }
.empty-note { color: var(--muted); max-width: 62ch; margin-bottom: 1.75rem; }

/* Page hero (inside pages with a photo) ---------------------------------- */
.page-hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(8px, 1.3vw, 16px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.page-hero-text { order: -1; }
.page-hero-img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow);
}
.page-hero h1 { margin-bottom: .4em; }
.page-hero-figure { margin: 0; }
.page-hero-figure-title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); margin: 0 0 .75rem; }
.page-hero-body > :last-child { margin-bottom: 0; } /* page text beside the photo (hero.body_beside) */
.page-hero--beside { padding-bottom: clamp(22.5px, 3.6vw, 45px); } /* nothing below it, so 50% more room above the footer */
.page-hero-img--natural { aspect-ratio: auto !important; height: auto; }
/* hero with a form or other tall content beside the photo */
.page-hero--tall { align-items: start; }
.page-hero--tall .page-hero-img { aspect-ratio: 1 / 1; }
.page-hero--tall .contact-form { margin: 1.75rem 0 0; }
@media (max-width: 820px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-text { order: 0; }
  .page-hero-img { aspect-ratio: 16 / 10; }
  .page-hero--tall .page-hero-img { aspect-ratio: 16 / 10; }
  .page-hero-figure { order: 1; } /* titled photo goes below the page title on phones */
}

/* Home hero: full-width photo with the headline overlaid in white. Square corners. */
.home-hero {
  --focus-ring: #fff; --focus-halo: var(--ink); /* white ring with a dark halo shows on dark and bright photos */
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  display: flex; align-items: flex-end;
  min-height: clamp(272px, 43.2svh, 478px);
}
.home-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 55%;
}
.home-hero-img--first { object-position: 72% 12%; }
.home-hero-img--booth { object-position: 72% 30%; }
/* darken the lower part so white text stays readable; faces stay clear */
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(20 16 12 / .5) 0%, rgb(20 16 12 / .3) 38%, rgb(20 16 12 / 0) 72%),
    linear-gradient(to right, rgb(20 16 12 / .64) 0%, rgb(20 16 12 / .64) 46%, rgb(20 16 12 / 0) 76%);
}
.home-hero-text {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--wrap-wide); margin: 0 auto;
  padding: clamp(12px, 1.6vw, 20px) var(--gutter) clamp(28px, 4.8vw, 60px);
}
.home-hero h1 {
  color: #fff; max-width: 19ch; margin-bottom: .35em; line-height: 1.05;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem);
}
/* soft dark shadow behind the white text: a tight halo keeps letter edges readable
   over the bright apples and tablecloth (WCAG contrast), a wide blur softens it */
.home-hero h1, .home-hero .eyebrow, .home-hero .lede {
  text-shadow: 0 0 2px rgb(20 16 12 / .7), 0 1px 4px rgb(20 16 12 / .6), 0 2px 22px rgb(20 16 12 / .45);
}
.home-hero .eyebrow { color: #fff; /* small text needs a denser shadow */
  text-shadow: 0 0 2px rgb(20 16 12 / .9), 0 0 6px rgb(20 16 12 / .75), 0 1px 14px rgb(20 16 12 / .55); }
.home-hero .lede { color: #fff; max-width: 46ch; }
.home-hero .button-row { margin-top: 1.3rem; }
.home-hero .button--ghost { color: #fff; border-color: #fff; }
.home-hero .button--ghost:hover { background: #fff; color: var(--ink); }
.home-hero + * { margin-top: clamp(4px, .8vw, 10px); }
/* Header slideshow (home): the next photo dissolves in over the current one.
   Layers: photos 0-1, darkening gradient 2, text and pause button 3. */
.home-hero[data-slideshow] .home-hero-img { opacity: 0; z-index: 0; }
.home-hero[data-slideshow] .home-hero-img.is-current { opacity: 1; z-index: 1; transition: opacity 1.8s ease-in-out; }
.home-hero[data-slideshow] .home-hero-img.is-leaving { opacity: 1; }
.home-hero[data-slideshow]::after { z-index: 2; }
.home-hero[data-slideshow] .home-hero-text { z-index: 3; }
.hero-pause {
  position: absolute; z-index: 4; top: 12px; right: 12px;
  width: 44px; height: 44px; padding: 0; border-radius: 0; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .85); background: rgb(20 16 12 / .55); color: #fff;
  display: grid; place-items: center;
}
.hero-pause[hidden] { display: none; }
@media (max-width: 359px) { .hero-pause { top: auto; bottom: 12px; } }
.hero-pause:hover { background: rgb(20 16 12 / .8); }
.hero-pause:focus-visible { outline-offset: 3px; }
/* two bars for pause, a triangle for play */
.hero-pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.hero-pause.is-paused::before { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 820px) {
  .home-hero { min-height: clamp(368px, 48svh, 446px); }
  .home-hero-img { object-position: 50% 55%; }
  .home-hero-img--first { object-position: 72% 12%; }
  .home-hero-img--booth { object-position: 72% 30%; }
  .home-hero::after {
    background: linear-gradient(to top, rgb(20 16 12 / .74) 0%, rgb(20 16 12 / .64) 55%, rgb(20 16 12 / .6) 100%);
  }
}

/* Home: Stay in the loop keeps a narrow rail with the section name beside the content ---- */
.home-section { max-width: var(--wrap-wide); margin: 0 auto; padding: var(--section-space) var(--gutter) 0; }
.home-section-grid { border-top: 1px solid var(--line); padding-top: 24px; }
.home-subscribe { padding-top: calc((var(--section-space) + 25px) / 2); } /* Stay in the loop: no line, half the old distance from the green block */
.home-subscribe .home-section-grid { border-top: 0; padding-top: 0; }
.home-rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 24px; }
.home-rail .section-title { margin: 0; font-size: clamp(1.5rem, 1.407rem + .381vw, 1.75rem); line-height: 1.2; }
.home-main { min-width: 0; }
@media (min-width: 1200px) {
  .home-section-grid { display: grid; grid-template-columns: 196px minmax(0, 1fr); column-gap: 24px; }
  .home-rail { display: block; margin-bottom: 0; }
  .home-rail > * + * { margin-top: 12px; }
}

/* Serrated edge (TRIAL). To remove: delete this block and the two "serrated-top" classes
   (site footer in templates/base.html, .home-values in content/pages/home.html).
   Teeth point up from the top of a leaf-colored full-width element; needs space above it. */
.serrated-top { position: relative; }
.serrated-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px); /* 1px overlap prevents a hairline gap */
  height: var(--tooth-h);
  background-color: var(--leaf);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' preserveAspectRatio='none'%3E%3Cpath d='M0 8 8 0l8 8z'/%3E%3C/svg%3E") center bottom / var(--tooth-w) var(--tooth-h) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' preserveAspectRatio='none'%3E%3Cpath d='M0 8 8 0l8 8z'/%3E%3C/svg%3E") center bottom / var(--tooth-w) var(--tooth-h) repeat-x;
}
@media (forced-colors: active), print { .serrated-top::before { display: none; } }

/* Plain page heading (no photo) */
.page-head { background: none; }
.page-head-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(8px, 1.3vw, 16px); } /* same spacing as .page-hero */

/* Cards ------------------------------------------------------------------- */
.cards { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
}
.card > img, .card-placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.card-placeholder { background: var(--paper-2) url("/uploads/2024/02/SFRR-snail-only-150x150.png") center / 72px no-repeat; opacity: .9; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-body h3, .card-body h4 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .97rem; margin-bottom: .8em; }
.card-body .card-kicker { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); margin-bottom: .55em; }
.card-body .card-meta { font-size: .92rem; }
.card-cta { margin-top: auto; font-weight: 600; color: var(--red-ink); font-size: .9375rem; }
.card-cta::after { content: " →"; content: " →" / ""; display: inline-block; white-space: pre; transition: transform .15s; }
.card--link { text-decoration: none; }
.card--link:hover { border-color: var(--muted); color: var(--ink); text-decoration: none; }
.card--link:hover .card-cta::after { transform: translateX(3px); }
.card--link:hover h3, .card--link:hover h4 { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.card--brand > img { object-fit: contain; padding: 2rem; background: var(--paper-2); }
.card--event > img { aspect-ratio: 16 / 10; object-fit: contain; background: var(--paper-2); }

/* Home: Events and What we do. Flat cards (no box, no shadow, square): the image and text
   define each card. Every card in a group is the same size. ------------------------------ */
.home-cards { max-width: var(--wrap-wide); margin: 0 auto; padding: var(--section-space) var(--gutter) 0; }
.home-cards.section--events { padding-top: clamp(28px, 5vw, 56px); } /* first section under the header: keep its heading on screen */
.home-cards .section-head { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 1.25rem; }
.home-cards.section--events .section-head { border-top: 0; padding-top: 0; } /* no line under the header: Events sits where the line was */
.section--events + .home-cards { padding-top: calc(var(--section-space) / 2); } /* What we do: line halfway up toward the events row */
.section--events + .home-cards .section-head { padding-top: calc(10px + var(--section-space) / 4); }
.home-cards .section-title { font-size: clamp(1.5rem, 1.407rem + .381vw, 1.75rem); line-height: 1.2; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.home-grid > * { min-width: 0; }
.home-cards .card { background: none; border: 0; overflow: visible; height: 100%; }
.home-cards .card > img, .home-cards .card-placeholder { width: 100%; }
.home-cards .card-body { padding: 14px 0 0; }
.home-cards .card-body > * { margin-top: 0; }
.home-cards .card--link:hover { border-color: transparent; }
.home-cards .card--link:hover > img, .home-cards .card--link:hover > .card-placeholder { outline: 2px solid var(--ink); outline-offset: -2px; }
.home-cards .card-cta { padding-top: 4px; }

/* Events: one row of four equal cards (two on tablets, one on phones) */
.card-cell { display: flex; flex-direction: column; min-width: 0; }
.card-cell > .card { flex: 1; }
.card-group-label { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 12px; min-height: 1.2em; }
.card-group-label.is-repeat { visibility: hidden; }
.home-events .card > img, .home-events .card-placeholder { aspect-ratio: 4 / 3; object-fit: contain; background-color: var(--paper-2); }
.home-events .card-body h4 { font-size: 1.125rem; line-height: 1.3; overflow-wrap: break-word; }
.home-events .card-body .card-kicker { font-size: .8125rem; margin-bottom: .5em; }
.home-events .card-body .card-meta { font-size: .9375rem; margin-bottom: 0; }
.home-events .card-body > .tag { margin-bottom: .6rem; }
@media (max-width: 560px) { .card-group-label.is-repeat { display: none; } .home-events .card-cell:has(> .card-group-label:not(.is-repeat)):not(:first-child) { margin-top: 12px; } }
/* two columns: repeat the group name above the first card of each row so past events never sit under "Upcoming" */
@media (min-width: 561px) and (max-width: 1020px) { .home-events .card-cell:nth-child(odd) > .card-group-label.is-repeat { visibility: visible; } }
/* four columns: date and time stack so every title starts at the same height; the dot is dropped */
.card-time { white-space: nowrap; }
@media (min-width: 1021px) {
  .home-events .card-date, .home-events .card-time { display: block; }
  .home-events .card-sep { display: none; }
  .home-events .card-kicker { min-height: 2.6em; }
}
@media (min-width: 561px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; } }
@media (min-width: 1021px) {
  .home-events { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
  .home-work { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 48px; }
}

/* What we do: six equal cards, larger than the event cards */
.home-work .card > img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 1020px) { .home-work .card > img { aspect-ratio: 5 / 4; } }
.home-work-item:nth-child(1) > img { object-position: 35% 50%; }
.home-work-item:nth-child(2) > img { object-position: 60% 50%; }
.home-work-item:nth-child(3) > img { object-position: 50% 55%; }
.home-work-item:nth-child(4) > img { object-position: 50% 45%; }
.home-work .card--brand > img { object-fit: contain; padding: 24px; background: var(--paper-2); }
.home-work .card-body h3 { font-size: clamp(1.25rem, 1.204rem + .19vw, 1.375rem); line-height: 1.2; margin: 0 0 8px; }
.home-work .card-body p { font-size: 1rem; line-height: 1.55; margin: 0 0 12px; }

/* Facts strip ------------------------------------------------------------- */
.page-body > .facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  width: min(100% - 2 * var(--gutter), var(--wrap) - 2 * var(--gutter));
  margin: clamp(16px, 3vw, 32px) auto 0;
  padding: 0;
  border-top: 3px solid var(--red); border-bottom: 1px solid var(--line);
}
.facts > div { padding: 1.1rem 1.25rem 1.2rem 0; }
.facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.facts dt { font: 600 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }
@media (max-width: 820px) {
  .page-body > .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .page-body > .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding-left: 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}

/* Bands ------------------------------------------------------------------- */
.band { padding: 0 var(--gutter); margin: clamp(5px, 1.3vw, 16px) 0; }
.band-inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; border-radius: 0; padding: clamp(32px, 5vw, 64px); }
.band--leaf .band-inner { background: var(--leaf); color: var(--leaf-ink); }
.band--leaf h2 { color: #fff; }
.band--leaf p { color: rgb(243 239 228 / .85); max-width: 60ch; margin: 0; }
.page-body > .band--leaf:last-child { margin-bottom: var(--section-space); } /* keeps the green band clear of the green footer */
.band--leaf p.button--light { color: var(--leaf); max-width: none; } /* off-season capsule */
.band--paper .band-inner { background: var(--paper-2); }
/* Good/Clean/Fair: 15% less padding above and below than other bands (sides unchanged) */
.band--paper .band-inner { padding-top: clamp(27px, 4.25vw, 54px); padding-bottom: clamp(27px, 4.25vw, 54px); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Good · Clean · Fair: the page's one framed color panel */
.home-values {
  margin-top: var(--section-space);
  padding: 28px 0;
  background: var(--leaf); color: var(--leaf-ink);
}
.home-values-inner { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 var(--gutter); }
.values { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--leaf-ink); }
.value { padding: 24px; }
.value + .value { border-top: 1px solid var(--leaf-ink); }
.value-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.value h3 { font-size: clamp(2.5rem, 2.221rem + 1.143vw, 3.25rem); line-height: 1; color: var(--leaf-ink); font-weight: 700; margin: 0; }
.value p { color: var(--leaf-ink); margin: 0; font-size: 1rem; line-height: 1.6; }

/* Good / Clean / Fair icons (from the original site) */
.value-icon {
  display: block; flex: none; width: 40px; height: 40px;
  background: var(--gold); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.value--good  .value-icon { --icon: url("/img/icons/good.svg"); }
.value--clean .value-icon { --icon: url("/img/icons/clean.png"); }
.value--fair  .value-icon { --icon: url("/img/icons/fair.png"); }
@media (min-width: 768px) {
  .home-values { padding: 36px 0; }
  .value { padding: 32px; display: grid; grid-template-columns: 176px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .value-head { margin-bottom: 0; flex-direction: column; align-items: flex-start; }
  .value p { font-size: 1.0625rem; }
}
@media (min-width: 1200px) {
  .home-values { padding: 48px 0; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value { display: block; padding: 40px; }
  .value + .value { border-top: 0; border-left: 1px solid var(--leaf-ink); }
  .value-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 16px; }
}

/* Scroll reveal. Put data-reveal on a container: its children fade in and rise a
   little, one after another, when it scrolls into view. site.js adds .is-waiting
   only to containers below the fold, so nothing hides without JS. */
[data-reveal] > * { transition: opacity .4s ease, transform .4s ease; }
[data-reveal] > :nth-child(2) { transition-delay: .1s; }
[data-reveal] > :nth-child(3) { transition-delay: .2s; }
[data-reveal] > :nth-child(4) { transition-delay: .3s; }
@media screen { [data-reveal].is-waiting > * { opacity: 0; transform: translateY(12px); } }
/* data-reveal="staged" (home Events): the cells of each data-reveal-group arrive
   together; group 2 (Recent) waits until group 1 (Upcoming) is in place. */
[data-reveal="staged"] > :nth-child(n) { transition-delay: 0s; } /* outranks the one-by-one delays above */
@media screen and (prefers-reduced-motion: no-preference) {
  /* hidden from the first paint (only with JS), so a row already on screen animates without a flash */
  .js [data-reveal="staged"] > :not(.is-shown) { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] > * { transition: none !important; }
}

/* Home: Stay in the loop */
.home-subscribe { padding-bottom: calc((var(--section-space) + 25px) / 2 - clamp(21px, 3.3vw, 42px) + var(--tooth-h)); } /* gap down to the footer teeth matches the gap above this section */
.newsletter-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.newsletter-panel p { color: var(--ink); }
.newsletter-panel .join-note { color: var(--muted); }
.signup-box { background: var(--paper-2); padding: 20px; }
.join-note { font-size: .9375rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }
@media (min-width: 768px) { .newsletter-panel { gap: 32px; } .signup-box { padding: 32px; } }
@media (min-width: 1200px) { .newsletter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.js .signup-box:has(.ctct-inline-form:empty) { padding: 0; background: none; }
.js .signup-box:has(.ctct-inline-form:empty) .recaptcha-note { display: none; }
/* Constant Contact form: match the site */
.signup-box .ctct-form-defaults { background: transparent !important; padding: 0 !important; }
.signup-box .ctct-form-header { font-family: var(--serif) !important; font-weight: 600 !important; color: var(--ink) !important; font-size: 1.4rem !important; }
.signup-box .ctct-form-text, .signup-box .ctct-form-label { font-family: var(--sans) !important; color: var(--ink) !important; }
.signup-box .ctct-form-element { border-radius: 0 !important; border: 1px solid var(--muted) !important; background: var(--card) !important; font-family: var(--sans) !important; }
.signup-box .ctct-form-element:hover { border-color: var(--ink) !important; }
.signup-box .ctct-form-button { background: var(--red) !important; border-color: var(--red) !important; border-radius: 0 !important; min-height: 48px; font: 600 .9375rem/1.25 var(--sans) !important; padding: 0 20px !important; }
.signup-box .ctct-form-button:hover { background: var(--red-ink) !important; border-color: var(--red-ink) !important; }
.signup-box .ctct-form-errorMessage { color: var(--red-ink) !important; font-size: .875rem !important; }
/* reCAPTCHA badge from the Constant Contact form floats over content on phones; hidden,
   with Google's required notice under the form instead (.recaptcha-note) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { font-size: .8125rem; line-height: 1.45; color: var(--muted); margin: .9rem 0 0; }
.recaptcha-note a { color: inherit; text-decoration: underline; }
.newsletter-panel > * { min-width: 0; overflow-wrap: anywhere; }
/* stacked links: tall enough to tap (WCAG 2.5.8) */
.stack-links a { display: inline-block; padding: 3px 0; }

/* Prose & asides ------------------------------------------------------------ */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose h3.h3-even { margin-top: 1.1em; } /* same space above each subheading in a list of programs */
/* heading level fixed for screen readers, size kept as it was */
.prose h2.look-h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose h3.look-h4 { font-size: 1rem; margin-top: 0; }
.prose > :first-child, .prose > figure:first-child + * { margin-top: 0; }
.prose :is(h2, h3, h4) + :is(h2, h3, h4) { margin-top: .25em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose img { border-radius: 0; margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.15rem; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 5vw, 56px) !important; }
.aside-card {
  position: sticky; top: 100px;
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.aside-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.glance { margin: 0 0 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: .7rem 1rem; font-size: .95rem; line-height: 1.45; }
.glance dt { font: 600 .74rem/1.9 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 0; }
.aside-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.aside-callout { text-align: center; font: 700 1.15rem/1.4 var(--sans); color: var(--ink); margin: 1.25rem 0 0; }
/* the side card comes first in the page source (so keyboard and screen reader order matches
   the phone layout) and is placed in column 2 on wide screens */
.with-aside > .aside-card { grid-column: 2; grid-row: 1; }
.with-aside > :not(.aside-card) { grid-column: 1; grid-row: 1; }
@media (max-width: 900px) {
  .with-aside { grid-template-columns: 1fr; }
  .with-aside > .aside-card, .with-aside > :not(.aside-card) { grid-column: auto; grid-row: auto; }
  .aside-card { position: static; }
}
.aside-card > :last-child { margin-bottom: 0; }

/* Contact form ------------------------------------------------------------ */
.contact-form { margin: 0 0 2.5rem; display: grid; gap: 1.1rem; max-width: 620px; }
.field { display: grid; gap: .4rem; }
.field label { font: 600 .9rem/1.3 var(--sans); color: var(--ink); }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: var(--card); border: 1px solid var(--muted); border-radius: 0;
  padding: .7em .85em; width: 100%;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-halo); border-color: var(--ink); }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { justify-self: start; }
.contact-form .button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2f6a2a; }
.form-status.is-error { color: var(--red-ink); }
.contact-form.is-sent .field, .contact-form.is-sent .button { display: none; }
/* A form inside a side card (School Visits): the card is too tall to stay pinned while
   scrolling, and needs 300px inside for the Cloudflare check box */
.aside-card--form { position: static; padding: 1.25rem; }
.aside-card .form-title { font-size: 1.25rem; margin: 1.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-form--aside { margin: 0; gap: .9rem; }
.contact-form--aside .button { justify-self: stretch; }
/* the Cloudflare check box is a fixed 300px; on the narrowest phones let it trim its logo edge
   rather than widen the page */
.cf-turnstile { max-width: 100%; overflow: hidden; }

/* Events ----------------------------------------------------------------- */
.event-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.event-row { border-bottom: 1px solid var(--line); }
.event-row a { display: flex; align-items: center; gap: 1.1rem; padding: 1rem .5rem; color: var(--ink); text-decoration: none; border-radius: 0; transition: background .15s; }
.event-row a:hover { background: var(--paper-2); }
.event-row a:hover .event-row-title { color: var(--red-ink); }
.datebox {
  flex: none; width: 58px; text-align: center; border-radius: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); line-height: 1;
}
.datebox-m { display: block; background: var(--red); color: #fff; font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .38rem 0 .32rem; }
.datebox-d { display: block; font: 600 1.5rem/1 var(--serif); padding: .35rem 0 .4rem; }
.is-past .datebox-m { background: var(--muted); }
.event-row-text { flex: 1; min-width: 0; }
.event-row-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.event-row-meta { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.tag { flex: none; display: inline-block; font: 600 .75rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px; border-radius: 0; border: 1px solid currentColor; white-space: nowrap; }
.tag--slow-food-russian-river { color: var(--red-ink); }
.tag--other-events { color: var(--leaf-2); }
.card-body > .tag { align-self: flex-start; margin-bottom: .8rem; white-space: normal; }
@media (max-width: 560px) {
  .event-row a { flex-wrap: wrap; row-gap: .5rem; }
  .event-row-text { flex: 1 1 calc(100% - 58px - 1.1rem); }
  .event-row .tag { margin-left: calc(58px + 1.1rem); }
}

/* Event type filter (links to /events/ and /events/category/...) */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.filter-tabs a {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .95rem/1 var(--sans); color: var(--ink); text-decoration: none;
  min-height: 44px; padding: .7em 1.1em; border: 1px solid var(--muted); border-radius: 0; background: var(--card);
  transition: background .15s, border-color .15s;
}
.filter-tabs a:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.filter-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-tabs .count { font-weight: 500; font-size: .8rem; padding: .25em .55em; border-radius: 0; background: var(--paper-2); color: var(--muted); }
.filter-tabs a[aria-current="page"] .count { background: rgb(255 255 255 / .16); color: var(--paper); }

.test-banner { background: var(--gold); color: var(--ink); font: 600 .8125rem/1.4 var(--sans); text-align: center; padding: 8px var(--gutter); }
.year-label { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 .6rem; }

.event-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.event-head h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); max-width: 24ch; }
.event-when { font-family: var(--serif); font-size: 1.2rem; color: var(--muted); margin: 0; }
.notice { display: inline-block; margin: 1.25rem 0 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: 0; padding: .6rem 1rem; font-size: .95rem; }
.event .with-aside { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.event-image { margin: 0 0 1.75rem; }
.event-image img { margin: 0; width: 100%; max-height: 640px; object-fit: contain; background: var(--paper-2); }
.event-body h2 { text-align: left; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--leaf); color: var(--leaf-ink); margin-top: clamp(21px, 3.3vw, 42px); }
.footer-inner {
  max-width: var(--wrap-wide); margin: 0 auto; padding: 48px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--leaf-ink); font-size: .9375rem; max-width: 42ch; margin: 0; }
.site-footer h2 { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-ink); margin: 0 0 12px; }
.site-footer h2:not(:first-child) { margin-top: 24px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { display: inline-block; padding: 4px 0; color: var(--leaf-ink); text-decoration: none; }
.site-footer a:hover { color: var(--leaf-ink); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .9375rem; color: var(--leaf-ink); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-base { max-width: var(--wrap-wide); margin: 0 auto; padding: 32px var(--gutter) 24px; font-size: .8125rem; line-height: 1.45; color: var(--leaf-ink); }
.footer-base p { margin: 0; text-align: center; border-top: 1px solid var(--leaf-ink); padding-top: 16px; }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; padding-top: 64px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 44px; }
  .footer-base { padding-bottom: 24px; }
  .footer-base p { padding-top: 20px; }
}
@media (min-width: 1200px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; column-gap: 64px; padding-top: 80px; }
  .footer-brand { grid-column: auto; }
  .footer-base { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .aside-card .button { display: none; } }
.more-link { margin-top: 1.5rem; text-align: right; }
.year-label:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- inside pages */
/* Simple text page: one readable column */
.page-body > .prose-page { max-width: 760px; margin: 0 auto; padding: clamp(26px, 4vw, 48px) var(--gutter) 0; }

/* Row of photos */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); margin: 1.75rem 0; }
.photo-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; margin: 0 !important; }
@media (max-width: 560px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img:nth-child(3) { display: none; } }
.prose figure { margin: 1.75rem 0; }
.prose figure img { margin: 0; max-width: 100%; height: auto; }
.figure--right img { width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.figure--right { float: right; width: min(42%, 300px); margin: .3rem 0 1rem 1.5rem !important; }
@media (max-width: 560px) { .figure--right { float: none; width: 100%; margin: 1.5rem 0 !important; } }
.prose::after { content: ""; display: table; clear: both; }
.aside-logo { display: block; max-width: 160px; margin: 0 auto 1.25rem; }
.aside-card + .aside-card { margin-top: 1.25rem; }

/* Lists of plain links (newsletter archive etc.) */
.link-list, .prose .link-list { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.prose .link-list li { padding: 0; margin: 0; }
.prose .link-list li::before, .prose .link-list li::marker { content: none; }
.link-list li { border-bottom: 1px solid var(--line); margin: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem .25rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.link-list a:hover { color: var(--red-ink); background: var(--paper-2); }
.link-list .meta { color: var(--muted); font-size: .85rem; font-weight: 400; }

/* Feature box (latest newsletter, donate options) */
.feature-box { background: var(--card); border: 1px solid var(--line); border-radius: 0; padding: clamp(20px, 3vw, 32px); }
.feature-box h2, .feature-box h3 { margin-top: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 28px); margin: 1.75rem 0; }
@media (max-width: 680px) { .options { grid-template-columns: 1fr; } }
.options .feature-box { display: flex; flex-direction: column; }
.options .feature-box .button { margin-top: auto; align-self: flex-start; }
address { font-style: normal; line-height: 1.6; }

/* Apples of Sonoma County chart */
.apple-key { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0; background: var(--card); }
.apple-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.apple-table th, .apple-table td { padding: .55rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.apple-table thead th { font: 600 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); position: sticky; top: 0; }
.apple-table tbody tr:last-child td, .apple-table tbody tr:last-child th { border-bottom: 0; }
.apple-table tbody th { font-family: var(--serif); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.apple-table tr.is-star { background: #eef3e7; }
.fav { color: var(--red); margin-left: .25em; }
.ripe { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; width: 160px; height: 10px; }
.ripe span { background: var(--paper-2); border-radius: 0; }
.ripe span.on { background: var(--leaf-2); }
.is-star .ripe span.on { background: #4e7d3a; }
.ripe-head { display: grid; grid-template-columns: repeat(4, 1fr); width: 160px; letter-spacing: .04em; }
.ripe-head span { padding-left: 1px; }
.ripe-label { display: block; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.uses { display: flex; flex-wrap: wrap; gap: .25rem; }
.use { font: 600 .66rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .35em .55em; border-radius: 0; background: var(--paper-2); color: var(--ink); }
.use--fresh { background: #e3eedb; color: #3b6a2a; }
.use--baking { background: #fbe5d6; color: #a14a12; }
.use--cooking { background: #faefd3; color: #8a6510; }
.use--juice { background: #e1e7fb; color: #3446a0; }
.map-embed { border-radius: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.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; }

.page-hero-img--contain { object-fit: contain !important; background: var(--paper-2); }

/* skip-link target: no outline on the main area itself */
main:focus { outline: none; }
