@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --ink: #2A2420;
  --ink-soft: #5B524C;
  --berry: #B3323F;
  --berry-dark: #8E2532;
  --leaf: #4D7448;
  --leaf-dark: #3A5A36;
  --wash: #FBF0F1;
  --leafwash: #EFF4EC;
  --line: #E6E1DE;
  --white: #FFFFFF;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --wrap: 1120px;
  --read: 62ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.1rem/1.7 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0 0 .5em; font-variation-settings: "SOFT" 60; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--read); }
.lead { font-size: 1.25rem; color: var(--ink-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.1; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.site-nav a:hover { color: var(--berry); }
.site-nav a[aria-current="page"] { color: var(--berry); }
.site-nav a.btn { color: var(--white); padding: 10px 20px; }
.menu-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px; font: 600 1rem var(--sans); color: var(--ink); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font: 700 1.02rem/1.2 var(--sans); padding: 14px 24px; border-radius: 8px; border: 2px solid var(--leaf); background: var(--leaf); color: var(--white); }
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); color: var(--white); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: var(--white); }
.btn.give, .site-nav a.btn.give { background: var(--berry); border-color: var(--berry); color: var(--white); }
.btn.give:hover, .site-nav a.btn.give:hover { background: var(--berry-dark); border-color: var(--berry-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

section { padding: 96px 0; }
section.mist { background: var(--leafwash); }
section.wash { background: var(--wash); }
.section-head { max-width: 44rem; margin-bottom: 44px; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .kicker { font-family: var(--serif); font-style: italic; color: var(--leaf); font-size: 1.25rem; margin-bottom: 18px; }
.botanical { width: 100%; max-width: 480px; display: block; margin: 0 auto; }
.botanical .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s ease-out forwards; }
.botanical .fill { opacity: 0; animation: bloom .8s ease-out 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bloom { to { opacity: 1; } }

/* Quote */
.quote { text-align: center; padding: 80px 0; }
.quote blockquote { margin: 0 auto; max-width: 46rem; }
.quote p { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.15; margin: 0 auto 16px; max-width: none; }
.quote cite { font-style: normal; color: var(--ink-soft); font-size: 1rem; }
.sprig { width: 120px; height: 40px; display: block; margin: 0 auto 22px; }

/* Circle of reciprocity */
.circle-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.circle { width: 100%; max-width: 580px; display: block; margin: 0 auto; }
.circle text { font-family: var(--serif); font-size: 24px; fill: var(--ink); }
.circle .sub { font-family: var(--sans); font-size: 18px; fill: var(--ink-soft); }

/* Beliefs, programs */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.split h3 { color: var(--leaf-dark); }
.split p { color: var(--ink-soft); }
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program { border: 1px solid var(--line); border-radius: 24px; padding: 30px 30px 26px; background: var(--white); display: flex; flex-direction: column; }
.program h3 { font-size: 1.45rem; }
.program p { color: var(--ink-soft); }
.program a { margin-top: auto; font-weight: 700; }
.status { display: inline-block; align-self: flex-start; font: 600 .85rem var(--sans); color: var(--leaf-dark); background: var(--leafwash); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
section.mist .status { background: var(--white); }
.program-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Partner types */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.partner { text-align: center; }
.partner svg { width: 64px; height: 64px; display: block; margin: 0 auto 10px; }
.partner p { margin: 0 auto; font-weight: 600; font-size: 1rem; }

/* Cols and lists */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--leaf); transform: rotate(-45deg); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 12px; max-width: var(--read); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--berry); transform: rotate(-45deg); }
.callout { border-left: 3px solid var(--berry); padding: 4px 0 4px 22px; margin: 28px 0 0; }
.callout p { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; }

.page-head { padding: 72px 0 32px; border-bottom: 1px solid var(--line); }
.page-head p { font-size: 1.22rem; color: var(--ink-soft); }
.page-head .mission-label { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--leaf); font-size: 1.25rem; margin: 18px 0 4px; }
.page-head .mission { color: var(--ink); }
.note { font-size: 1rem; color: var(--ink-soft); }

/* Early Roots how it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.receipt { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 24px; transform: rotate(1.5deg); font-size: .98rem; box-shadow: 0 18px 36px -24px rgba(42,36,32,.45); }
.receipt-farm { font-family: var(--serif); font-size: 1.15rem; text-align: center; }
.receipt-sub { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-bottom: 14px; }
.receipt ul { list-style: none; margin: 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.receipt li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.receipt-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 12px; }
.stamp { margin: 16px auto 0; width: max-content; padding: 5px 14px; border: 2px solid var(--berry); color: var(--berry); border-radius: 999px; font-weight: 700; transform: rotate(-4deg); }
.receipt-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin: 14px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--leaf); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2rem; color: var(--leaf); line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Where to buy */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.place h3 { font-size: 1.12rem; margin-bottom: 10px; }
.place p { margin: 0 0 10px; font-size: 1rem; }
.place .when { font-weight: 600; }
.place .where { color: var(--ink-soft); }
.place .heads-up { background: var(--wash); border-radius: 12px; padding: 8px 12px; font-size: .92rem; }
.map-link { margin-top: auto; padding-top: 8px; font-weight: 700; }

/* Fresh Sheet and banner */
.fresh { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--leafwash); border-radius: 28px; padding: 44px 52px; }
.fresh h2 { margin-bottom: .3em; }
.fresh p { margin: 0; color: var(--ink-soft); }
.banner { background: var(--leaf-dark); color: var(--white); }
.banner h2, .banner p { color: var(--white); }
.banner .btn { background: var(--white); color: var(--leaf-dark); border-color: var(--white); }
.banner .btn:hover { background: var(--leafwash); }
.banner .btn.outline { background: transparent; color: var(--white); }
.banner .btn.outline:hover { background: var(--leaf); }

/* Footer */
.site-footer { padding: 56px 0 40px; font-size: .98rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; font-size: .9rem; max-width: none; }

@media (max-width: 960px) {
  .hero .wrap, .cols, .how, .circle-wrap, .program-detail { grid-template-columns: 1fr; gap: 36px; }
  .botanical { max-width: 340px; }
  .receipt { max-width: 340px; margin: 0 auto; }
  .steps, .places, .split { grid-template-columns: 1fr 1fr; }
  .programs { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .fresh { grid-template-columns: 1fr; padding: 34px 28px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .site-header { position: relative; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 84px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 18px 16px; gap: 16px; z-index: 5; }
  .site-nav.open { display: flex; }
  .steps, .places, .split { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .botanical .draw, .botanical .fill { animation: none; stroke-dashoffset: 0; opacity: 1; } }

.pull { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); border-left: 3px solid var(--berry); padding-left: 20px; margin-top: 18px; }

/* Resource library */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.res { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; }
a.res:hover { border-color: var(--leaf); box-shadow: 0 2px 0 var(--leaf); }
.res h2 { font-size: 1.45rem; margin: 6px 0 10px; }
.res p { color: var(--ink-soft); margin: 0; }
.res-kind { font: 700 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-dark); }
.res.soon { background: var(--leafwash); border-style: dashed; }
.source { font-size: .95rem; color: var(--ink-soft); }
.steps-plain { padding-left: 1.3em; }
.steps-plain li { margin-bottom: 8px; }

/* Recipes */
.recipe-tools { padding: 24px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 5; }
.recipe-tools .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.recipe-tools .actions { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .98rem/1 var(--sans); padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); cursor: pointer; }
.chip.on { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.btn { cursor: pointer; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; align-items: start; }
.recipe { border: 1px solid var(--line); border-radius: 12px; padding: 0 0 20px; overflow: hidden; position: relative; }
.recipe[hidden] { display: none; }
.recipe > *:not(img):not(.pick) { margin-left: 22px; margin-right: 22px; }
.recipe img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 16px; }
.recipe h2 { font-size: 1.4rem; margin: 4px 0 8px; }
.recipe .lede { color: var(--ink-soft); }
.recipe.selected { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf); }
.pick { position: absolute; top: 12px; left: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; font: 600 .92rem/1 var(--sans); display: flex; gap: 8px; align-items: center; cursor: pointer; }
.pick input { width: 18px; height: 18px; accent-color: var(--leaf); }
.recipe details summary { cursor: pointer; font-weight: 700; color: var(--leaf-dark); padding: 8px 0; }
.rsec h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.rsec ul, .rsec ol { padding-left: 1.3em; margin: 0; }
.rsec li { margin-bottom: 4px; }
.rsec.age { background: var(--wash); border-radius: 8px; padding: 4px 16px 14px; margin: 16px 0; }
.recipe .credit { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.print-one { margin-top: 16px; }

/* Purchase slip */
.slip { max-width: 760px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 8px; padding: 32px; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.slip-head h2 { margin: 0 0 8px; }
.slip-head p { margin: 0 0 8px; color: var(--ink-soft); }
.slip-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; margin: 18px 0; }
.slip-row.two { grid-template-columns: auto 1fr auto 1fr; }
.slip-row .line { border-bottom: 1.5px solid var(--ink); height: 1.4em; }
.slip-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.slip-table th, .slip-table td { border: 1.5px solid var(--ink); padding: 0 10px; height: 40px; text-align: left; }
.slip-table th { background: var(--leafwash); }
.slip-table td:last-child { font-size: .85rem; color: var(--ink-soft); width: 34%; }
.slip-table tfoot td { font-weight: 700; }
.slip-attest, .slip-foot { font-size: .95rem; }
@media (max-width: 640px) { .slip { padding: 18px; } .slip-row.two { grid-template-columns: auto 1fr; } }

@media print {
  .site-header, .site-footer, .skip, .recipe-tools, .no-print, .actions, .pick, .print-one, .banner { display: none !important; }
  body { font-size: 11pt; }
  section { padding: 0 !important; }
  .page-head { border: 0; padding: 0 0 12pt !important; }
  .recipe-grid { display: block; }
  .recipe { border: 0; box-shadow: none !important; break-after: page; padding: 0; }
  .recipe > *:not(img):not(.pick) { margin-left: 0; margin-right: 0; }
  .recipe img { width: 2.4in; float: right; margin: 0 0 8pt 16pt; border-radius: 6pt; }
  .recipe p, .recipe li { max-width: none; }
  .recipe h2 { font-size: 20pt; }
  .rsec h3 { font-size: 12pt; margin: 10pt 0 3pt; }
  .rsec li { margin-bottom: 1pt; }
  .rsec { break-inside: avoid; }
  .rsec.age { background: none; border: 1.5pt solid #B3323F; padding: 2pt 10pt 8pt; }
  .recipe details > summary { display: none; }
  body.printing-recipes .page-head, body.printing-recipes .recipe:not(.to-print) { display: none !important; }
  .slip { border: 2px solid #000; }
  a { color: inherit; }
  .source a::after { content: " (" attr(href) ")"; font-size: 8.5pt; word-break: break-all; }
}

/* Login */
.login { max-width: 640px; }
.login-form { display: grid; gap: 10px; max-width: 420px; margin: 28px 0; }
.login-form label { font-weight: 700; }
.login-form input[type=password] { font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink-soft); border-radius: 8px; }
.login-form input:focus { outline: 3px solid var(--leafwash); border-color: var(--leaf); }
.login-form .btn { justify-self: start; margin-top: 6px; }
.login-error { color: var(--berry-dark); font-weight: 700; margin: 0; }
.site-nav a.signout { font-size: .9rem; }

/* Photo-led layout */
.hero-photo { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; padding: 0 0 72px; background: #2A2420 center / cover no-repeat; color: var(--white); isolation: isolate; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,22,19,.80) 0%, rgba(26,22,19,.55) 45%, rgba(26,22,19,.10) 100%), linear-gradient(0deg, rgba(26,22,19,.45) 0%, rgba(26,22,19,0) 45%); }
.hero-photo .wrap { width: 100%; }
.hero-text { max-width: 640px; padding-top: 120px; }
.hero-photo h1, .hero-photo .lead, .hero-photo .kicker { color: var(--white); }
.hero-photo .kicker { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-bottom: 14px; opacity: .95; }
.hero-photo .lead { opacity: .95; }
.btn.light { background: var(--white); border-color: var(--white); color: var(--leaf-dark); }
.btn.light:hover { background: var(--leafwash); border-color: var(--leafwash); color: var(--leaf-dark); }
.btn.outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn.outline-light:hover { background: rgba(255,255,255,.14); color: var(--white); }

.photo-trio { padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo-trio figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.photo-trio img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.photo-trio figure:hover img { transform: scale(1.03); }
.photo-trio figcaption { position: absolute; left: 24px; bottom: 20px; color: var(--white); font: italic 500 1.6rem/1 var(--serif); text-shadow: 0 1px 12px rgba(0,0,0,.45); }

.program { padding: 0 0 26px; overflow: hidden; }
.program > *:not(.program-img) { margin-left: 30px; margin-right: 30px; }
.program-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 22px; }
.program .status { align-self: flex-start; }

.fresh { grid-template-columns: 160px 1fr auto; }
.botanical.small { max-width: 160px; margin: 0; }

.page-head.has-photo { position: relative; min-height: 420px; display: flex; align-items: center; }
.page-head.has-photo .wrap { width: 100%; }
.page-head.has-photo .wrap > * { max-width: 52%; }
.page-head.has-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40vw; background: var(--photo) center / cover no-repeat; }

@media (max-width: 960px) {
  .fresh { grid-template-columns: 1fr; }
  .botanical.small { display: none; }
  .page-head.has-photo { display: block; padding-top: 0; }
  .page-head.has-photo::after { position: static; display: block; width: 100%; height: 240px; }
  .page-head.has-photo { display: flex; flex-direction: column-reverse; }
  .page-head.has-photo .wrap { padding-top: 40px; }
  .page-head.has-photo .wrap > * { max-width: none; }
}
@media (max-width: 760px) {
  .hero-photo { min-height: 78vh; padding-bottom: 48px; background-position: 30% center; }
  .hero-photo::before { background: linear-gradient(0deg, rgba(26,22,19,.85) 0%, rgba(26,22,19,.55) 60%, rgba(26,22,19,.25) 100%); }
  .photo-trio { grid-template-columns: 1fr; }
  .photo-trio figure { aspect-ratio: 16 / 10; }
  .program > *:not(.program-img) { margin-left: 22px; margin-right: 22px; }
}
@media print { .page-head.has-photo::after, .hero-photo::before { display: none; } .page-head.has-photo .wrap > * { max-width: none; } }
.fresh { overflow: hidden; padding: 0 52px 0 0; grid-template-columns: 220px 1fr auto; }
.fresh-img { width: 220px; height: 100%; min-height: 220px; object-fit: cover; display: block; }
@media (max-width: 960px) { .fresh { padding: 0 0 34px; grid-template-columns: 1fr; } .fresh > div, .fresh > .btn { margin: 0 28px; justify-self: start; } .fresh-img { width: 100%; height: 200px; min-height: 0; } }

/* Produce cards */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 28px; }
.pc { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.pc[hidden] { display: none; }
.pc.selected { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf); }
.pc-front { padding: 46px 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; border-right: 1px dashed var(--line); }
.pc-front img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; margin: 4px 0 10px; }
.pc-front img.photo { object-fit: cover; border-radius: 10px; }
.pc-front h2 { font-size: 1.6rem; margin: 0 0 6px; }
.pc-line { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; margin: 0 0 12px; }
.pc-foot { margin-top: auto; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.pc-season { position: absolute; top: 14px; right: calc(50% + 14px); margin: 0; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: var(--leafwash); color: var(--leaf-dark); }
.s-summer, .s-fall { background: var(--wash); color: var(--berry-dark); }
.pc-back { padding: 20px 22px 16px; font-size: .95rem; line-height: 1.45; }
.pc-back h3 { font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-dark); margin: 14px 0 6px; }
.pc-back h3:first-child { margin-top: 0; }
.pc-back ul { margin: 0; padding-left: 1.1em; }
.pc-back li { margin-bottom: 3px; }
.pc-back .wonder { list-style: none; padding: 0; font-family: var(--serif); font-style: italic; }
.pc-back p { margin: 0; }
.pc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-pair .young { background: var(--wash); border-radius: 8px; padding: 8px 10px; }
.pc-pair .young h3 { margin-top: 0; color: var(--berry-dark); }
.pc-cook { margin-top: 12px !important; }
.pc-cook b { font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-dark); margin-right: 6px; }
.pc-credit { margin-top: 10px !important; font-size: .7rem; color: var(--ink-soft); }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } .pc { grid-template-columns: 1fr; } .pc-front { border-right: 0; border-bottom: 1px dashed var(--line); } .pc-season { right: 14px; } }
@media print {
  .card-lib { display: block; }
  .card-lib .pc { break-after: page; border: 0; border-radius: 0; box-shadow: none !important; width: 10in; height: 7.4in; grid-template-columns: 5in 5in; }
  .card-lib .pc-front { border-right: 1px dashed #bbb; padding: .5in .4in .3in; }
  .card-lib .pc, .card-lib .pc * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card-lib .pc-front img { max-width: 3.7in; margin-top: .2in; }
  .card-lib .pc-front h2 { font-size: 32pt; }
  .card-lib .pc-line { font-size: 15pt; }
  .card-lib .pc-back { padding: .5in .45in .3in; font-size: 14pt; line-height: 1.4; display: flex; flex-direction: column; }
  .card-lib .pc-back h3 { font-size: 10pt; margin: 20pt 0 6pt; }
  .card-lib .pc-back h3:first-child { margin-top: 0; }
  .card-lib .pc-back li { margin-bottom: 5pt; }
  .card-lib .pc-pair { margin-top: 6pt; }
  .card-lib .pc-credit { margin-top: auto !important; font-size: 7.5pt; }
  .card-lib .pc-season { font-size: 9pt; }
  .card-lib .pc-season { right: auto; left: .4in; top: .35in; }
  body.printing-recipes .card-lib .pc:not(.to-print) { display: none !important; }
}

/* Books and resources */
.bk-group { font-size: 1.35rem; margin: 40px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.bk-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bk { border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 18px; background: var(--white); display: flex; flex-direction: column; }
.bk h3 { font-size: 1.25rem; margin: 0 0 2px; }
.bk-by { margin: 0 0 8px; color: var(--ink-soft); font-size: .98rem; }
.bk-tag { align-self: flex-start; font: 700 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--leafwash); color: var(--leaf-dark); padding: 6px 9px; border-radius: 6px; margin-bottom: 8px; }
.bk p { font-size: 1rem; line-height: 1.55; }
.bk-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.bk-link { font: 700 .92rem/1 var(--sans); padding: 10px 12px; border-radius: 8px; background: var(--leaf); color: var(--white); text-decoration: none; }
.bk-link:hover { background: var(--leaf-dark); color: var(--white); }
.bk-link.quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.bk-link.quiet:hover { border-color: var(--ink); color: var(--ink); }
.res-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px 40px; }
.res-list a { font: 600 1.2rem/1.3 var(--serif); }
.res-list p { margin: 4px 0 0; color: var(--ink-soft); font-size: 1rem; }
.read-band { padding: 56px 0; border-top: 1px solid var(--line); }
.read-wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.read-wrap h2 { margin-bottom: .3em; }
.read-wrap p:last-child { margin: 0; color: var(--ink-soft); }
.read-band .kicker { font-family: var(--serif); font-style: italic; color: var(--leaf); margin: 0 0 6px; }
@media (max-width: 760px) { .read-wrap { grid-template-columns: 1fr; } }

/* Program levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.level { border: 1px solid var(--line); border-radius: 12px; padding: 28px 26px 22px; background: var(--white); position: relative; }
.level-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--leaf); color: var(--white); font: 600 1.2rem/1 var(--serif); margin-bottom: 14px; }
.level h3 { font-size: 1.45rem; margin: 0 0 6px; }
.level-for { color: var(--ink-soft); font-size: 1rem; margin: 0 0 14px; }
.level .checks li { font-size: 1rem; }
@media (max-width: 960px) { .levels { grid-template-columns: 1fr; } }

/* Farm directory */
.farm-grid { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.farm { border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.farm[hidden] { display: none; }
.farm h3 { font-size: 1.3rem; margin: 0 0 2px; }
.farm-town { color: var(--ink-soft); font-size: .95rem; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buy { font: 700 .74rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; background: var(--wash); color: var(--berry-dark); padding: 5px 8px; border-radius: 6px; }
.farm p { font-size: 1rem; line-height: 1.5; }
.tags { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tg { font: 600 .85rem/1 var(--sans); padding: 7px 10px; border-radius: 8px; border: 1.5px solid var(--line); display: inline-flex; gap: 6px; align-items: center; }
.tg span { font-size: .95rem; }
.tg.org-c { background: var(--leafwash); border-color: var(--leafwash); color: var(--leaf-dark); }
.tg.org-p { color: var(--leaf-dark); }
.tg.small { color: var(--ink); }
.tg.climate { color: var(--leaf-dark); border-color: #CFE0C9; }
.tg.owner { background: var(--wash); border-color: var(--wash); color: var(--berry-dark); }
.tg.owner a { color: inherit; }
.farm-link { margin-top: auto; font-weight: 700; color: var(--leaf-dark); }
.farm-key { border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; }
.farm-key summary { cursor: pointer; font-weight: 700; }
.tags.key { flex-direction: column; align-items: flex-start; margin-top: 12px; }
.tags.key .tg { font-weight: 400; line-height: 1.4; }
.tags.key b { margin-right: 4px; }
.town-pick { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.town-pick select { font: inherit; padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--line); }

/* Local impact */
.impact { background: var(--leaf-dark); color: var(--white); }
.impact h2, .impact h3, .impact p, .impact li { color: var(--white); }
.impact .kicker { font-family: var(--serif); font-style: italic; opacity: .9; margin: 0 0 10px; }
.impact-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.impact .source { font-size: .92rem; opacity: .85; }
.impact .source a { color: var(--white); }
.impact-list { background: rgba(255,255,255,.08); border-radius: 12px; padding: 26px 28px; }
.impact .checks li::before { filter: brightness(1.6); }
@media (max-width: 960px) { .impact-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Photo replacements for drawings */
.photo-quote { position: relative; background: #2A2420 var(--photo) center / cover no-repeat; padding: 120px 0; isolation: isolate; }
.photo-quote::before { content: ""; position: absolute; inset: 0; background: rgba(26,22,19,.55); z-index: -1; }
.photo-quote blockquote p, .photo-quote cite { color: var(--white) !important; }
.cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.cycle figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.cycle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cycle figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--white); font-size: .92rem; line-height: 1.3; background: linear-gradient(0deg, rgba(26,22,19,.75), rgba(26,22,19,0)); }
.cycle figcaption b { display: block; font: 500 1.15rem/1.2 var(--serif); }
.partner-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 8px; }
.partner-ph { margin: 0; }
.partner-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: block; }
.partner-ph figcaption { font-weight: 700; text-align: center; margin-top: 8px; font-size: .98rem; }
.photo-fig { margin: 0; }
.photo-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.pd-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 18px; }
@media (max-width: 760px) { .partner-photos { grid-template-columns: 1fr 1fr; } }
.bk { flex-direction: row; gap: 16px; align-items: flex-start; }
.bk-cover { width: 96px; flex: 0 0 96px; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(42,36,32,.18); }
.bk-body { display: flex; flex-direction: column; min-height: 100%; flex: 1; }
.bk-links { flex-direction: column; align-items: flex-start; }
.how .photo-fig { width: 100%; max-width: none; align-self: stretch; }
.how .photo-fig img { aspect-ratio: 4 / 3; height: 100%; }

/* Help shape it box on Our programs */
.shape-box { margin-top: 40px; padding: 28px 32px; border: 1px solid var(--line, #dde5dc); border-radius: 14px; background: #fff; }
.shape-box h3 { margin-top: 0; }
.shape-box .actions { flex-wrap: wrap; }

/* Phone layout, tighter home page */
@media (max-width: 760px) {
  section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .photo-trio { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .photo-trio figure { aspect-ratio: 3 / 4; }
  .photo-trio figcaption { left: 10px; bottom: 10px; font-size: 1.05rem; }
  .split { gap: 18px; }
  .split h3 { margin-bottom: 4px; }
  .programs { gap: 16px; }
  .program-img { aspect-ratio: 5 / 2; margin-bottom: 14px; }
  .program { padding-bottom: 18px; }
  .program p { margin: 6px 0 10px; }
  .cycle { gap: 6px; }
  .cycle figure { aspect-ratio: 4 / 3; }
  .partner-photos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .partner-ph img { aspect-ratio: 1; }
  .partner-ph figcaption { font-size: .82rem; line-height: 1.25; }
  .partner-ph:nth-child(n+4) img { aspect-ratio: 1; }
  .actions .btn { width: 100%; justify-content: center; text-align: center; }
}
