/* =========================================================
   Paw Protection Alliance - main stylesheet
   Palette, type, layout, components. No build step needed.
   ========================================================= */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --green: #103D2C;
  --green-deep: #0B2B1F;
  --charcoal: #303531;
  --ink: #232724;
  --muted: #5C625D;
  --cream: #F4F0E5;
  --cream-2: #EAE4D3;
  --paper: #FBF9F4;
  --gold: #C6A55B;          /* accents, rules, and text on dark only */
  --gold-ink: #7A5F25;      /* gold for text on light backgrounds (AA) */
  --teal: #287D80;          /* large text and accents */
  --teal-ink: #1F6A6D;      /* links and small text on light (AA) */
  --on-dark-muted: #B9C7BF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 20, .06), 0 12px 32px -12px rgba(16, 24, 20, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--green); margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--green-deep); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.nowrap { white-space: nowrap; }

/* ---------- small type ---------- */
.eyebrow, .kicker, .mini-label {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; line-height: 1.4;
}
.eyebrow { color: var(--gold-ink); display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.kicker { color: var(--teal-ink); }
.mini-label { color: var(--muted); font-size: .72rem; margin: 0 0 .35rem; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--charcoal); max-width: 40em; }
.on-dark { color: var(--cream); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cream); }
.on-dark .lede { color: #DCE3DE; }
.on-dark a:not(.btn) { color: #8FD0CF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: .95rem 1.6rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--green-deep); }
.btn--gold:hover { background: #D6BA78; color: var(--green-deep); }
.btn--ghost { border-color: rgba(244, 240, 229, .75); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-deep); color: var(--cream); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--cream); }
.btn--small { padding: .5rem 1rem; font-size: .9rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 700; color: var(--teal-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- badges ---------- */
.badge { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 3px; vertical-align: middle; }
.badge--demo { background: #FCE9C2; color: #6B4A00; border: 1px solid #E2B95A; }
.badge--draft { background: var(--cream-2); color: var(--charcoal); }

/* ---------- prototype banner ---------- */
.proto-banner { background: var(--charcoal); color: #E9E6DC; font-size: .9rem; line-height: 1.5; padding: .6rem 0; }
.proto-banner strong { color: var(--gold); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 244, .97); border-bottom: 1px solid rgba(16, 61, 44, .12); backdrop-filter: saturate(1.4) blur(6px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--green); flex-shrink: 0; }
.brand__emblem { width: 60px; height: 60px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; }
.brand__tag { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-top: .3rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; flex-wrap: nowrap; }
.site-nav a { display: block; padding: .55rem .7rem; text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: 1rem; border-radius: 4px; position: relative; white-space: nowrap; }
.site-nav a:hover { color: var(--green); background: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(16, 61, 44, .25);
    color: var(--green); font: 700 .95rem var(--sans); padding: .6rem .9rem; border-radius: 999px; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid rgba(16, 61, 44, .15); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); max-height: calc(100vh - 84px); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .5rem var(--gutter) 1.25rem; }
  .site-nav a { font-family: var(--serif); font-size: 1.35rem; padding: .85rem 0; border-bottom: 1px solid rgba(16, 61, 44, .1); border-radius: 0; }
  .site-nav a:hover { background: none; }
  .site-nav a[aria-current="page"]::after { left: 0; right: auto; width: 2rem; bottom: .45rem; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
}
@media (max-width: 520px) {
  .brand__emblem { width: 48px; height: 48px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: .6rem; letter-spacing: .14em; }
  .site-header__inner { min-height: 72px; gap: .75rem; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: .75rem; }
}

/* ---------- photography primitives ---------- */
figure { margin: 0; }
.media { position: relative; overflow: hidden; background: var(--charcoal); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption, .photo-credit { font-size: .75rem; letter-spacing: .02em; color: rgba(244, 240, 229, .85); }
.photo-credit { position: absolute; right: 1rem; bottom: .75rem; z-index: 3; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: no-preference) {
  .zoom img { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
  .zoom:hover img, .zoom:focus-within img { transform: scale(1.045); }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; color: var(--cream); isolation: isolate; overflow: hidden; background: var(--green-deep); }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 19, .88) 0%, rgba(8, 26, 19, .7) 34%, rgba(8, 26, 19, .18) 66%, rgba(8, 26, 19, 0) 100%),
    linear-gradient(0deg, rgba(8, 26, 19, .55) 0%, rgba(8, 26, 19, 0) 35%); }
.hero__content { padding-block: clamp(5rem, 12vh, 9rem); max-width: 46rem; }
.hero__eyebrow { color: var(--gold); }
.hero h1 { color: var(--cream); font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.6rem; }
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; font-weight: 400; color: #E7D9B4; }
.hero__lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: #E4E8E3; max-width: 34em; margin-bottom: 2.4rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); width: 1px; height: 3.5rem; background: linear-gradient(var(--gold), transparent); }
@media (max-width: 760px) {
  .hero { min-height: 88svh; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 26, 19, .94) 0%, rgba(8, 26, 19, .78) 45%, rgba(8, 26, 19, .15) 80%, rgba(8, 26, 19, .05) 100%); }
  .hero__content { padding-block: 0 3rem; margin-top: -3rem; position: relative; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 0; }
  .hero__img { position: relative; inset: auto; height: 58vw; min-height: 260px; max-height: 420px; }
  .hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--green-deep) 0%, rgba(11, 43, 31, 0) 45%); }
  .hero::before { display: none; }
  .hero__scroll { display: none; }
  .hero .btn { flex: 1 1 100%; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); }
.section--deep { background: var(--green-deep); }
.section--charcoal { background: var(--charcoal); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- C: commitment ---------- */
.commit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.commit h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.commit h2 span { display: block; color: var(--teal); font-style: italic; font-weight: 400; }
.commit__media { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }
.commit__media .photo-credit { left: 1rem; right: auto; }
.pillars { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.pillars li { border-top: 1px solid rgba(16, 61, 44, .2); padding-top: 1rem; }
.pillars b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--green); }
.pillars small { display: block; color: var(--muted); font-size: .98rem; line-height: 1.5; margin-top: .25rem; }
.pillars i { font-style: normal; font-family: var(--serif); color: var(--gold-ink); font-size: .9rem; letter-spacing: .08em; }
@media (max-width: 860px) {
  .commit { grid-template-columns: 1fr; }
  .commit__media { aspect-ratio: 3 / 2; order: -1; }
}
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- D: farmed animals mosaic ---------- */
.farm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 22vw, 300px); gap: clamp(.6rem, 1.2vw, 1rem); }
.farm-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.farm-grid > :nth-child(5) { grid-row: span 2; }
.farm-grid > :nth-child(6) { grid-column: span 3; }
.photo-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--cream); text-decoration: none; background: var(--charcoal); isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 22, 16, .95) 0%, rgba(8, 22, 16, .82) 30%, rgba(8, 22, 16, .35) 58%, rgba(8, 22, 16, 0) 78%); transition: opacity .3s; }
.photo-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1rem, 2vw, 1.6rem); }
.photo-card__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; display: block; color: var(--cream); }
.photo-card__text { display: block; font-size: .98rem; color: #DCE3DE; margin-top: .35rem; max-width: 26em; }
.photo-card__cta { display: inline-flex; gap: .4rem; margin-top: .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.photo-card__cta::after { content: "\2192"; transition: transform .2s; }
.photo-card:hover .photo-card__cta::after, .photo-card:focus-visible .photo-card__cta::after { transform: translateX(4px); }
.photo-card:hover, .photo-card:focus-visible { color: var(--cream); }
.photo-card .photo-credit { top: .75rem; bottom: auto; right: .9rem; font-size: .68rem; opacity: .85; }
.farm-grid > :nth-child(1) .photo-card__title { font-size: clamp(2rem, 3.6vw, 3rem); }
@media (max-width: 900px) {
  .farm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .farm-grid > * { aspect-ratio: 4 / 5; }
  .farm-grid > :nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
  .farm-grid > :nth-child(6) { aspect-ratio: 16 / 10; }
  .farm-grid > :nth-child(5) { grid-row: span 1; }
  .farm-grid > :nth-child(6) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .farm-grid { gap: .6rem; }
  .farm-grid > :nth-child(1) { aspect-ratio: 1 / 1; }
  .photo-card__text { display: none; }
  .farm-grid > :nth-child(1) .photo-card__text, .farm-grid > :nth-child(6) .photo-card__text { display: block; }
}

/* ---------- photo band (full-bleed statement) ---------- */
.band { background: var(--green-deep); position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: center; isolation: isolate; color: var(--cream); overflow: hidden; }
.band__img { position: absolute; inset: 0; z-index: -2; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 19, .25), rgba(8, 26, 19, .72) 55%, rgba(8, 26, 19, .82)); }
.band__quote { margin-left: auto; max-width: 36rem; }
.band__quote p { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.2; color: var(--cream); margin-bottom: 1rem; }
.band__quote small { font-size: .95rem; color: #DCE3DE; display: block; }
@media (max-width: 760px) {
  .band { align-items: flex-end; }
  .band::before { background: linear-gradient(0deg, rgba(8, 26, 19, .9), rgba(8, 26, 19, .35) 70%); }
  .band__quote { padding-block: 3rem; }
}

/* ---------- E: beyond the farm ---------- */
.beyond-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.ed-card { grid-column: span 4; text-decoration: none; color: var(--ink); display: block; }
.ed-card:nth-child(1) { grid-column: span 7; }
.ed-card:nth-child(2) { grid-column: span 5; }
.ed-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius); margin-bottom: 1.1rem; }
.ed-card:nth-child(1) .ed-card__media, .ed-card:nth-child(2) .ed-card__media { aspect-ratio: auto; height: clamp(260px, 30vw, 420px); }
.ed-card__title { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; color: var(--green); margin: .35rem 0 .4rem; line-height: 1.15; }
.ed-card__text { color: var(--muted); font-size: 1.02rem; margin: 0; }
.ed-card:hover .ed-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (max-width: 900px) {
  .ed-card, .ed-card:nth-child(1), .ed-card:nth-child(2) { grid-column: span 6; }
}
@media (max-width: 560px) {
  .beyond-grid { gap: 2rem; grid-template-columns: minmax(0, 1fr); }
  .ed-card, .ed-card:nth-child(1), .ed-card:nth-child(2) { grid-column: auto; }
  .ed-card:nth-child(n) .ed-card__media { height: auto; aspect-ratio: 3 / 2; }
}

/* ---------- F: legislation ---------- */
.legis { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legis__intro { position: sticky; top: 7rem; }
.legis__media { aspect-ratio: 4 / 3; border-radius: var(--radius); margin: 2rem 0 1.25rem; }
.legis__list { display: grid; gap: 1.25rem; }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; }
@media (max-width: 960px) { .legis { grid-template-columns: 1fr; } .legis__intro { position: static; } }

.bill-card { background: #fff; border: 1px solid rgba(16, 61, 44, .14); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.9rem); box-shadow: 0 1px 0 rgba(16, 61, 44, .05); }
.bill-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.bill-card__id { font-family: var(--sans); font-weight: 800; letter-spacing: .06em; font-size: .9rem; color: var(--green); background: var(--cream); padding: .25rem .6rem; border-radius: 3px; }
.bill-card__title { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 1rem; }
.bill-card__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .85rem 1.5rem; margin: 0 0 1.1rem; padding: 1rem 0; border-block: 1px solid rgba(16, 61, 44, .1); }
.bill-card__meta dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bill-card__meta dd { margin: .15rem 0 0; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.bill-card__summary p { margin-bottom: 1rem; }
.bill-card__foot, .dir-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; font-size: .95rem; }
.verified { color: var(--muted); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.verified::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); }
.status-pill { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; background: #E3EEEC; color: #1A5658; }
.status-pill[data-status="signed-into-law"] { background: #DDEBDF; color: #1D5631; }
.status-pill[data-status="did-not-pass"], .status-pill[data-status="vetoed"] { background: #EFE4E0; color: #7A3524; }
.commentary { background: var(--cream); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; margin: 0 0 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.commentary .mini-label span { text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: .4rem; }
.commentary p { margin: 0; font-style: italic; }

/* ---------- G: research cards ---------- */
.research-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.art-card { grid-column: span 4; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.art-card__media { aspect-ratio: 3 / 2; }
.art-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.art-card__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.18; color: var(--green); margin: 0; }
.art-card__summary { color: var(--muted); font-size: 1rem; margin: 0; }
.art-card__meta { margin-top: auto; padding-top: .9rem; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.art-card:hover .art-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.art-card--feature { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.art-card--feature .art-card__media { aspect-ratio: auto; min-height: 420px; }
.art-card--feature .art-card__body { padding: clamp(1.75rem, 4vw, 3.25rem); justify-content: center; }
.art-card--feature .art-card__title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.art-card--feature .art-card__summary { font-size: 1.1rem; }
@media (max-width: 960px) {
  .art-card { grid-column: span 6; }
  .art-card--feature { grid-column: span 12; grid-template-columns: 1fr; }
  .art-card--feature .art-card__media { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 620px) { .art-card { grid-column: span 12; } }

/* ---------- H: make a difference ---------- */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { position: relative; min-height: clamp(460px, 64vh, 620px); display: flex; align-items: flex-end; isolation: isolate; color: var(--cream); overflow: hidden; }
.panel > .media { position: absolute; inset: 0; z-index: -2; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 19, .93) 0%, rgba(8, 26, 19, .55) 45%, rgba(8, 26, 19, .1) 80%); }
.panel__body { padding: clamp(1.75rem, 4.5vw, 4rem); max-width: 34rem; }
.panel h2 { color: var(--cream); font-size: clamp(2rem, 3.4vw, 2.9rem); }
.panel p { color: #DCE3DE; }
.panel .photo-credit { top: .9rem; bottom: auto; }
.mad-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.mad-head .eyebrow { justify-content: center; }
.mad-head .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
@media (max-width: 860px) { .split-panels { grid-template-columns: 1fr; } }

/* ---------- I: resources ---------- */
.res { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.res__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.res-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.res-list li { border-top: 2px solid var(--gold); padding-top: .9rem; }
.res-list b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--cream); }
.res-list span { display: block; color: var(--on-dark-muted); font-size: .98rem; line-height: 1.5; margin-top: .2rem; }
.alert { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid rgba(198, 165, 91, .55); background: rgba(198, 165, 91, .08); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 1rem; line-height: 1.5; }
.alert strong { color: var(--gold); display: block; }
.alert--light { background: #FFF8E6; border-color: #E2C27A; color: var(--ink); }
.alert--light strong { color: #6B4A00; }
.alert__icon { flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-weight: 800; font-size: .95rem; line-height: 1; color: var(--gold); }
.alert--light .alert__icon { color: #8A6A1F; }
@media (max-width: 860px) {
  .res { grid-template-columns: 1fr; }
  .res__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 480px) { .res-list { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #D6DDD8; padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: 1rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 1fr); gap: 3rem; }
.emblem-disc { display: inline-grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--cream); margin-bottom: 1.25rem; box-shadow: 0 0 0 4px rgba(198, 165, 91, .35); }
.emblem-disc img { width: 112px; height: 112px; }
.site-footer__name { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin: 0; font-weight: 600; }
.site-footer__tag { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: .35rem 0 1rem; }
.site-footer__mission { max-width: 30em; }
.site-footer__heading { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__links { margin-top: 1rem !important; }
.site-footer__info p { font-size: .95rem; }
.site-footer__base { border-top: 1px solid rgba(244, 240, 229, .14); margin-top: 3.5rem; padding-block: 1.5rem 2rem; font-size: .88rem; color: var(--on-dark-muted); }
.site-footer__base p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: span 2; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__brand { grid-column: auto; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; min-height: clamp(360px, 52vh, 520px); display: flex; align-items: flex-end; color: var(--cream); isolation: isolate; overflow: hidden; background: var(--green-deep); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 19, .92) 0%, rgba(8, 26, 19, .55) 45%, rgba(8, 26, 19, .2) 100%); }
.page-hero__content { padding-block: 4rem 3.25rem; max-width: 52rem; }
.page-hero h1 { color: var(--cream); margin-bottom: .9rem; }
.page-hero p { color: #E1E6E2; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40em; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero--plain { min-height: 0; background: var(--green); }
.page-hero--plain::before { display: none; }
.page-hero--plain .page-hero__content { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.aside-box { background: var(--cream); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 7rem; }
.aside-box h2, .aside-box h3 { font-size: 1.35rem; }
.aside-box p, .aside-box li { font-size: 1rem; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); } .aside-box { position: static; } }

/* filter bar + directories */
.filter-bar { display: grid; grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; align-items: end; background: #fff; border: 1px solid rgba(16, 61, 44, .14); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.filter-bar label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.filter-bar input, .filter-bar select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid #A9B1AB; border-radius: 4px; padding: .7rem .8rem; min-height: 48px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--green); outline: 3px solid rgba(198, 165, 91, .6); outline-offset: 1px; }
.filter-bar__count { grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--muted); }
.filter-empty { display: none; padding: 2rem; text-align: center; background: var(--cream); border-radius: var(--radius); color: var(--muted); }
.filter-empty.is-visible { display: block; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.bill-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
[data-item][hidden] { display: none !important; }
.dir-card { background: #fff; border: 1px solid rgba(16, 61, 44, .14); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.dir-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.dir-card__title { font-size: 1.35rem; margin-bottom: .25rem; }
.dir-card__org { font-weight: 700; color: var(--charcoal); margin: 0 0 .5rem; font-size: 1rem; }
.dir-card__text { color: var(--muted); font-size: 1rem; }
.dir-card__facts { list-style: none; margin: 0 0 1.1rem; padding: .85rem 0 0; border-top: 1px solid rgba(16, 61, 44, .1); display: grid; gap: .3rem; font-size: .95rem; }
.dir-card__facts span { display: inline-block; min-width: 7.5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dir-card__foot { margin-top: auto; }
.dir-card__links { display: inline-flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.type-pill { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; background: var(--cream-2); color: var(--charcoal); }
.type-pill--active { background: #DDEBDF; color: #1D5631; }

.legend { display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: .95rem; color: var(--muted); margin: 0 0 2rem; }
.intro-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.5rem; align-items: start; }
@media (max-width: 900px) { .intro-row { grid-template-columns: 1fr; } }

/* research library */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.chip { font: 700 .92rem var(--sans); padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(16, 61, 44, .3); background: #fff; color: var(--green); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }

/* article page */
.article-hero { position: relative; min-height: clamp(380px, 60vh, 600px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--green-deep); }
.article-hero .media { position: absolute; inset: 0; z-index: -2; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 19, .94), rgba(8, 26, 19, .35) 65%, rgba(8, 26, 19, .1)); }
.article-hero__content { padding-block: 4rem 3rem; max-width: 52rem; }
.article-hero h1 { color: var(--cream); font-size: clamp(2.3rem, 5vw, 4rem); }
.article-hero .kicker { color: var(--gold); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: #DCE3DE; }
.article-body { font-family: var(--serif); font-size: 1.22rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.5rem; }
.references { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--gold); font-family: var(--sans); font-size: 1rem; }
.references h2 { font-size: 1.4rem; margin-top: 0; }
.references ol { padding-left: 1.25rem; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumbs a { color: #DCE3DE; }

/* contact */
.form-shell { background: #fff; border: 1px solid rgba(16, 61, 44, .14); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-shell fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.form-shell fieldset[disabled] { opacity: .62; }
.form-shell label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: .35rem; color: var(--charcoal); }
.form-shell input, .form-shell textarea, .form-shell select { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #A9B1AB; border-radius: 4px; background: var(--paper); min-height: 48px; }
.form-shell textarea { min-height: 150px; resize: vertical; }
.form-shell .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.form-shell .check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: .25rem; flex-shrink: 0; }
.form-status { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: #6B4A00; background: #FFF4D6; border: 1px solid #E2C27A; padding: .7rem 1rem; border-radius: 4px; margin-bottom: 1.5rem; font-size: .98rem; }
.tally-frame { display: block; width: 100%; min-height: 420px; border: 0; }

/* data check */
.check-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; margin-bottom: 2.5rem; }
.check-table th, .check-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid rgba(16, 61, 44, .12); vertical-align: top; }
.check-table th { background: var(--cream); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.check-ok { color: #1D5631; font-weight: 700; }
.check-bad { color: #8A2E1C; font-weight: 700; }
.check-warn { color: #6B4A00; font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* stats strip (labels only, no figures invented) */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.principles li { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.principles b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--green); margin-bottom: .35rem; }
.principles span { color: var(--muted); font-size: 1rem; }

.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .75rem; height: clamp(240px, 32vw, 420px); }
.photo-strip .media { border-radius: var(--radius); }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr 1fr; height: auto; } .photo-strip .media { aspect-ratio: 1; } .photo-strip .media:first-child { grid-column: span 2; aspect-ratio: 3 / 2; } }

.credits-table td:first-child { white-space: nowrap; }

@media print {
  .site-header, .proto-banner, .site-footer, .hero__scroll { display: none; }
}
.legis .bill-card__meta { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) {
  .photo-card__cta { font-size: .7rem; letter-spacing: .1em; white-space: nowrap; }
  .farm-grid > :nth-child(n+2):nth-child(-n+5) .photo-credit { display: none; }
}
.art-card--text { border-top: 3px solid var(--gold); box-shadow: none; border-left: 1px solid rgba(16, 61, 44, .12); border-right: 1px solid rgba(16, 61, 44, .12); border-bottom: 1px solid rgba(16, 61, 44, .12); }
@media (max-width: 960px) { .art-card--text { grid-column: span 12; } }
@media (max-width: 560px) { .form-shell { padding: 1rem .75rem; } }
/* Keep the featured research image to the card's height (portrait images otherwise stretch the card) */
@media (min-width: 961px) {
  .art-card--feature .art-card__media { position: relative; }
  .art-card--feature .art-card__media img { position: absolute; inset: 0; }
}
