/*
  Design accents layered over the base site styles.
  Uses only the existing palette tokens (plum, brass, stone, gold) so the
  look stays consistent while adding ornament, texture and layout variety.
*/

/* Gallery styles shared with the Press page */
.gallery[data-astro-cid-rj65ajc3]{grid-template-columns:1fr;gap:2.25rem 1.5rem;margin:0;padding:0;list-style:none;display:grid}
@media (width>=600px){.gallery[data-astro-cid-rj65ajc3]{grid-template-columns:repeat(2,1fr)}}
@media (width>=900px){.gallery[data-astro-cid-rj65ajc3]{grid-template-columns:repeat(3,1fr);gap:2.75rem 2rem}}
figure[data-astro-cid-rj65ajc3]{margin:0}
.frame[data-astro-cid-rj65ajc3]{border-radius:var(--radius);aspect-ratio:4/3;background:var(--green-800);overflow:hidden}
.frame[data-astro-cid-rj65ajc3] img[data-astro-cid-rj65ajc3]{object-fit:cover;width:100%;height:100%;transition:transform 1.2s var(--ease)}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.tile[data-astro-cid-rj65ajc3]:hover img[data-astro-cid-rj65ajc3]{transform:scale(1.04)}}
figcaption[data-astro-cid-rj65ajc3]{border-top:1px solid var(--line);font-family:var(--font-serif);color:var(--heading);margin-top:1rem;padding-top:.9rem;font-size:1.35rem;line-height:1.2}
.meta[data-astro-cid-rj65ajc3]{font-family:var(--font-sans);letter-spacing:.2em;text-transform:uppercase;color:var(--brass-text);margin-bottom:.35rem;font-size:.72rem;font-weight:600;display:block}


:root {
  --plum-wash: #342e290d;
  --brass-soft: #b89f7259;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.18 0 0 0 0 0.2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Shared ---------- */



/* Fine paper grain on tinted bands */
.section--tint,
.page-hero {
  background-image: var(--grain);
}

/* Eyebrow lines: one solid color (the two-tone brass tip read as overlapping lines) */
.eyebrow::before {
  background: currentColor;
}

/* ---------- Home: hero ---------- */

.hero.photo-band::after {
  content: "";
  position: absolute;
  inset: clamp(.75rem, 2vw, 1.5rem);
  border: 1px solid #e6d8b847;
  pointer-events: none;
  z-index: 0;
}
.hero.photo-band .hero-inner {
  position: relative;
  z-index: 1;
}
.hero.photo-band h1 {
  text-shadow: 0 2px 30px #1e1a1759;
}
.hero-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: var(--brass-light);
  border-style: solid;
  border-width: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-corner--tl { top: clamp(.75rem, 2vw, 1.5rem); left: clamp(.75rem, 2vw, 1.5rem); border-top-width: 2px; border-left-width: 2px; }
.hero-corner--br { bottom: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Home: stats ---------- */

.stats[data-astro-cid-lcdefpme] {
  background-color: var(--gold-100);
  position: relative;
}
.stats[data-astro-cid-lcdefpme]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent);
}

/* ---------- Home: founder & photo frames ---------- */

.founder[data-astro-cid-lcdefpme]::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  right: -1.1rem;
  height: calc(100% - 3rem);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  z-index: -1;
}
.founder[data-astro-cid-lcdefpme] {
  isolation: isolate;
}

.where-photo[data-astro-cid-lcdefpme] {
  isolation: isolate;
}
.where-photo[data-astro-cid-lcdefpme]::before {
  content: "";
  position: absolute;
  inset: -1.25rem 1.25rem 1.25rem -1.25rem;
  background: var(--green-900);
  border-radius: var(--radius);
  z-index: -1;
}
.where-photo[data-astro-cid-lcdefpme]::after {
  content: "";
  position: absolute;
  right: -.75rem;
  bottom: -.75rem;
  width: 72px;
  height: 72px;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  pointer-events: none;
}
@media (width <= 600px) {
  .where-photo[data-astro-cid-lcdefpme]::before { inset: -.75rem .75rem .75rem -.75rem; }
  .where-photo[data-astro-cid-lcdefpme]::after { right: -.4rem; bottom: -.4rem; width: 48px; height: 48px; }
}

/* States are plain text, not buttons: no borders, no fills */
.states[data-astro-cid-lcdefpme] {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.75rem;
  max-width: none;
}
.states[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  display: block;
  text-align: left;
  color: var(--heading);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ---------- Home: quote band ---------- */


/* ---------- Home: areas of interest as icon cards ---------- */

.areas.areas--wide[data-astro-cid-lcdefpme] {
  border-top: 0;
  gap: 1rem;
}
@media (width >= 560px) {
  .areas.areas--wide[data-astro-cid-lcdefpme] { gap: 1.25rem; }
}
@media (width >= 900px) {
  .areas.areas--wide[data-astro-cid-lcdefpme] { column-gap: 1.5rem; row-gap: 1.5rem; }
}
.areas.areas--wide li {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.areas.areas--wide li::before {
  position: absolute;
  top: clamp(1.4rem, 2.6vw, 2rem);
  right: clamp(1.4rem, 2.6vw, 2rem);
  transition: color .4s var(--ease);
}
.areas.areas--wide li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-900);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.area-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--brass-text);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.area-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (width < 560px) {
  .areas.areas--wide li {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .areas.areas--wide li::before {
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
  }
  .area-icon { width: 46px; height: 46px; flex: none; }
}
@media (hover: hover) {
  .areas.areas--wide li:hover {
    color: #fff;
    border-color: var(--green-900);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .areas.areas--wide li:hover::after { transform: none; }
  .areas.areas--wide li:hover::before { color: var(--brass-light); }
  .areas.areas--wide li:hover .area-icon { background: #ffffff14; color: var(--brass-light); }
}

/* ---------- Home: gallery mosaic ---------- */

@media (width >= 900px) {
  .gallery[data-astro-cid-rj65ajc3] {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.75rem 1.5rem;
  }
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(1),
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(6) {
    grid-column: span 2;
  }
  .gallery[data-astro-cid-rj65ajc3] .frame[data-astro-cid-rj65ajc3] {
    aspect-ratio: auto;
    height: clamp(240px, 22vw, 300px);
  }
}
.frame[data-astro-cid-rj65ajc3] {
  position: relative;
}
.frame[data-astro-cid-rj65ajc3]::after {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid #e6d8b8;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .tile:hover .frame[data-astro-cid-rj65ajc3]::after { opacity: .85; transform: none; }
}
figcaption[data-astro-cid-rj65ajc3] {
  border-top-color: var(--line);
  background: none;
}

/* Staggered reveals */
@media (prefers-reduced-motion: no-preference) {
  .gallery .tile.reveal:nth-child(3n+2) { transition-delay: .1s; }
  .gallery .tile.reveal:nth-child(3n+3) { transition-delay: .2s; }
}

/* ---------- Home: news card ---------- */

.news-card[data-astro-cid-lcdefpme] {
  position: relative;
  overflow: hidden;
}
.news-card[data-astro-cid-lcdefpme]::before {
  content: "\201C";
  position: absolute;
  top: -1.5rem;
  right: 1rem;
  font-family: var(--font-serif);
  font-size: 11rem;
  line-height: 1;
  color: var(--gold-100);
  pointer-events: none;
  z-index: 0;
}
.news-card[data-astro-cid-lcdefpme] > * {
  position: relative;
}

/* ---------- Inner page heroes ---------- */

.page-hero-photo.photo-band::after {
  content: "";
  position: absolute;
  right: clamp(-6rem, -4vw, -2rem);
  top: 50%;
  width: clamp(220px, 34vw, 420px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url(/_astro/logo-circular-white.bzjqnlgi_edbjs.webp) center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
}
.page-hero-photo .inner {
  position: relative;
  z-index: 1;
}
.page-hero-photo .inner h1 {
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--brass);
}
.page-hero-photo.photo-band {
  border-bottom: 3px solid var(--brass);
}

/* ---------- About ---------- */

.portrait-1[data-astro-cid-ta2fbyqs] {
  outline: 1px solid var(--brass);
  outline-offset: 10px;
}
.board[data-astro-cid-ta2fbyqs] li[data-astro-cid-ta2fbyqs] {
  position: relative;
  transition: color .3s var(--ease);
}
.board[data-astro-cid-ta2fbyqs] li[data-astro-cid-ta2fbyqs]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--brass-text);
  transition: width .4s var(--ease), left .4s var(--ease);
}
.board[data-astro-cid-ta2fbyqs] li[data-astro-cid-ta2fbyqs]:hover::after {
  left: 0;
  width: 100%;
}
.board-band[data-astro-cid-ta2fbyqs] {
  background-image:
    radial-gradient(circle at 12% 0%, #b89f7224, transparent 40%),
    radial-gradient(circle at 88% 100%, #342e2914, transparent 45%);
}

/* ---------- Press: numbered entries ---------- */

.press-list[data-astro-cid-l25eav4w] {
  counter-reset: press;
}
.press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w] {
  counter-increment: press;
  position: relative;
}
@media (width >= 1000px) {
  .press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w]::before {
    content: counter(press, decimal-leading-zero);
    position: absolute;
    left: -6.5rem;
    top: 2.5rem;
    font-family: var(--font-serif);
    font-size: 3.4rem;
    font-style: italic;
    line-height: 1;
    color: var(--brass-light);
    transition: color .3s var(--ease);
  }
  .press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w]:first-child::before {
    top: -.25rem;
  }
  .press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w]:hover::before {
    color: var(--brass);
  }
}
.press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w]:first-child article {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--stone-100);
  background-image: var(--grain);
  border-left: 3px solid var(--brass);
}
.press-list[data-astro-cid-l25eav4w] li[data-astro-cid-l25eav4w]:first-child .meta::after {
  content: "Latest";
  margin-left: .75rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .18em;
  vertical-align: middle;
}

/* ---------- Past grants ---------- */

.year[data-astro-cid-fdji77b5] {
  position: relative;
  overflow: hidden;
}
.year[data-astro-cid-fdji77b5]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.year[data-astro-cid-fdji77b5][open]::before,
.year[data-astro-cid-fdji77b5]:hover::before {
  transform: none;
}
.year-total {
  margin-left: auto;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-text);
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.year-total + .chev[data-astro-cid-fdji77b5] {
  margin-left: .5rem;
}
@media (width <= 480px) {
  .year-count[data-astro-cid-fdji77b5] { display: none; }
}
tbody tr[data-astro-cid-fdji77b5] {
  transition: background .2s;
}
tbody tr[data-astro-cid-fdji77b5]:hover {
  background: var(--plum-wash);
}

/* ---------- Grant requests & contact cards ---------- */

.deadline[data-astro-cid-mvfpx3xt],
.apply-card[data-astro-cid-6bfsojfh] {
  position: relative;
  overflow: hidden;
}
.deadline[data-astro-cid-mvfpx3xt]::after,
.apply-card[data-astro-cid-6bfsojfh]::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 14px var(--surface), 0 0 0 15px #b89f7233;
  pointer-events: none;
}
.deadline[data-astro-cid-mvfpx3xt] > *,
.apply-card[data-astro-cid-6bfsojfh] > * {
  position: relative;
  z-index: 1;
}

/* ---------- Forms ---------- */

.form-card {
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(1.25rem, 4vw, 3rem);
  width: 64px;
  height: 3px;
  background: var(--brass);
}

/* ---------- Footer ---------- */

.site-footer[data-astro-cid-jo6i4kqk] {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.site-footer[data-astro-cid-jo6i4kqk]::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green-800), var(--brass) 50%, var(--green-800));
}

/* ---------- Forms: more color and contrast ---------- */

/* Contact band: plum wash over the photo so the white form card pops */
.contact-band[data-astro-cid-vekgkm42] {
  color: #fff;
  border-top: 3px solid var(--brass);
}
.contact-band[data-astro-cid-vekgkm42]::before {
  background: linear-gradient(160deg, #342e29e6 0%, #453d36c7 55%, #342e29e0 100%);
}
.contact-band[data-astro-cid-vekgkm42] h2,
.contact-band[data-astro-cid-vekgkm42] h3 {
  color: #fff;
}
.contact-band[data-astro-cid-vekgkm42] .eyebrow[data-astro-cid-vekgkm42] {
  color: var(--brass-light);
}
.contact-band[data-astro-cid-vekgkm42] .form-card[data-astro-cid-vekgkm42] {
  border: 0;
  border-top: 3px solid var(--brass);
  box-shadow: 0 40px 80px -30px #1e1a17cc;
}

/* All form cards: brass top rule (matches the apply card), plum labels, tinted fields */
.form-card {
  border-top: 3px solid var(--brass);
}
.form-card::before {
  display: none;
}
.form-card .field label,
.form-card .field legend {
  color: var(--green-900);
}
.contact-band[data-astro-cid-vekgkm42] .form-card .field label {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.form-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
.form-card select,
.form-card textarea {
  background: #faf6ef;
  border-color: #8a7e6c;
}
.form-card input:not([type=checkbox]):not([type=radio]):not([type=file]):hover,
.form-card select:hover,
.form-card textarea:hover {
  border-color: var(--green-900);
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  background: #fff;
  border-color: var(--green-900);
  box-shadow: 0 0 0 3px #b89f7266;
}
.form-card .hint {
  color: var(--brass-text);
}

/* Footer: brass rule pinned to the top edge, base rule aligned to content */
.site-footer[data-astro-cid-jo6i4kqk]::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.footer-base[data-astro-cid-jo6i4kqk] {
  border-top: 0;
  background: linear-gradient(#ffffff2e, #ffffff2e) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* Stats: four across on desktop, 2 x 2 on tablets */
@media (width >= 720px) and (width < 1024px) {
  .stats-inner[data-astro-cid-lcdefpme] { grid-template-columns: repeat(2, 1fr); }
  .stat[data-astro-cid-lcdefpme]:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat[data-astro-cid-lcdefpme]:nth-child(n+3) { border-top: 1px solid #7a5f3333; }
}
@media (width >= 1024px) {
  .stats-inner[data-astro-cid-lcdefpme] { grid-template-columns: repeat(4, 1fr); }
}
.stat[data-astro-cid-lcdefpme]:nth-child(4) { transition-delay: .36s; }

/* ---------- Home: hero (sunset sky, not tied to one city) ---------- */

.hero.photo-band[data-astro-cid-lcdefpme] .bg[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  object-position: center 70%;
  filter: none;
}
.hero.photo-band[data-astro-cid-lcdefpme]::before {
  background: linear-gradient(100deg, #342e29e6 0%, #342e29a6 45%, #342e2933 100%);
}

/* ---------- Home: mission ---------- */

.mission {
  padding-bottom: 0;
}
.mission-head {
  margin-bottom: var(--space-3);
}
.mission-body {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.mission-body .lead-serif {
  margin-bottom: 1.5rem;
}
.mission-body p:not(.lead-serif) {
  color: var(--ink);
  font-size: 1.075rem;
  line-height: 1.75;
}

/* Home quote band: solid plum, no photo */
.quote-band--solid {
  background:
    radial-gradient(circle at 15% 20%, #453d36 0%, transparent 55%),
    radial-gradient(circle at 85% 80%, #453d36 0%, transparent 50%),
    var(--green-900);
}
.quote-band--solid::before {
  display: none;
}

/* ---------- Contact page: its own layout (no photo hero, no boxed form) ---------- */

.contact-hero {
  background-color: var(--gold-100);
  background-image: var(--grain);
  border-bottom: 1px solid #7a5f332e;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.contact-hero-inner > * {
  max-width: 820px;
}
.contact-hero .eyebrow {
  color: var(--brass-text);
}
.contact-hero h1 {
  color: var(--heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.contact-hero-sub {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  max-width: 40ch;
  margin: 0 0 1.75rem;
}
.contact-hero-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--green-900);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: .15rem;
}
.contact-hero-email:hover {
  color: var(--brass-text);
}

.contact-main {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  background: var(--bg);
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (width >= 900px) {
  .contact-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.contact-aside {
  background: radial-gradient(circle at 85% 0%, #453d36 0%, transparent 60%), var(--green-900);
  color: #ece7e3;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
}
.contact-aside-label {
  margin: 0 0 1.5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.contact-aside-item {
  padding: 1.5rem 0;
  border-top: 1px solid #ffffff24;
}
.contact-aside-item:last-child {
  padding-bottom: 0;
}
.contact-aside-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 .5rem;
}
.contact-aside p {
  margin: 0 0 1rem;
  color: #ece7e3;
  line-height: 1.65;
}
.contact-aside-item:last-child p {
  margin-bottom: 0;
}
.contact-aside a:not(.btn) {
  color: #fff;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

.contact-form-wrap h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin: 0 0 1.75rem;
}
@media (width < 900px) {
  .contact-form-wrap { order: -1; }
}
.contact-form-intro {
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

/* Open, underlined fields: deliberately different from the boxed grant form */
.form--line .form-grid {
  gap: 1.75rem 2rem;
}
.form--line .field label {
  color: var(--brass-text);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.form--line input:not([type=hidden]),
.form--line textarea {
  background: transparent;
  border: 0;
  border-bottom: 2px solid #bfb3a2;
  border-radius: 0;
  padding: .7rem 0;
  font-size: 1.1rem;
  transition: border-color .2s;
}
.form--line textarea {
  min-height: 170px;
  padding: .9rem 1rem;
  background: var(--gold-100);
  border-bottom-color: #bfb3a2;
}
.form--line input:not([type=hidden]):hover,
.form--line textarea:hover {
  border-bottom-color: var(--green-900);
}
.form--line input:focus,
.form--line textarea:focus {
  border-bottom-color: var(--brass);
  box-shadow: none;
}
.form--line input:focus-visible,
.form--line textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.form--line .btn {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

/* Contact hero: text left, photo bleeding to the right edge on desktop */
.contact-hero {
  position: relative;
  overflow: hidden;
}
.contact-hero-photo {
  display: none;
}
@media (width >= 900px) {
  .contact-hero-inner > * { max-width: 560px; }
  .contact-hero-photo {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44%;
  }
  .contact-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
  }
  .contact-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--gold-100) 0%, #f3ede200 35%);
  }
}

/* Home contact band: hands on the table */
.contact-band .bg img[src*="hands-table"] {
  object-position: 60% 60%;
}

/* ================= 2026-10-02 design pass ================= */

/* Eyebrows: no leading rule anywhere */
.eyebrow::before { display: none !important; }
.eyebrow { gap: 0; }

/* Buttons: no trailing dash */
.btn::after, .btn:hover::after { display: none !important; }

/* Where We Give: heading gets room, photo lines up with the top of the copy */
.where[data-astro-cid-lcdefpme] { align-items: start; }
.where[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] { max-width: 22ch; }
@media (width >= 900px) {
  .where[data-astro-cid-lcdefpme] { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .where-photo[data-astro-cid-lcdefpme] { margin-top: 3.25rem; }
}

/* News card: it is a headline, not a quotation */
.news-card[data-astro-cid-lcdefpme]::before { display: none; }

/* Areas of Interest: plain cards, no hover lift (they are not links) */
.areas.areas--wide li::after { display: none; }
@media (hover: hover) {
  .areas.areas--wide li:hover { color: inherit; border-color: var(--line); transform: none; box-shadow: none; }
  .areas.areas--wide li:hover::before { color: var(--brass-text); }
  .areas.areas--wide li:hover .area-icon { background: var(--gold-100); color: var(--brass-text); }
}

/* Mobile menu: comfortable tap targets */
@media (width < 900px) {
  .nav-list[data-astro-cid-wpvy4v7s] a[data-astro-cid-wpvy4v7s],
  .sub-toggle[data-astro-cid-wpvy4v7s] { min-height: 44px; }
}

/* File upload buttons match the form */
input[type="file"] { font: inherit; color: var(--ink); cursor: pointer; }
input[type="file"]::file-selector-button {
  font: 600 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--green-900); border: 0; border-radius: var(--radius);
  padding: .7rem 1rem; margin-right: .9rem; cursor: pointer; transition: background .25s var(--ease);
}
input[type="file"]::file-selector-button:hover { background: var(--green-800); }

/* Quote band: less empty space */
.quote-band[data-astro-cid-lcdefpme] { padding: clamp(4rem, 8vw, 6rem) 0; }

/* Footer: tighter, columns balanced */
.site-footer[data-astro-cid-jo6i4kqk] { padding-top: clamp(2.75rem, 5vw, 3.75rem); padding-bottom: 1.5rem; }
@media (width >= 720px) {
  .footer-inner[data-astro-cid-jo6i4kqk] { grid-template-columns: 1.4fr 1.6fr 1fr; gap: 3rem; }
  .footer-nav[data-astro-cid-jo6i4kqk] { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}
.footer-base[data-astro-cid-jo6i4kqk] { margin-top: 2rem; }

/* Contact form: optional marker */
.field .optional { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .75; }

/* Gallery: wider slot for the Wheeling for Healing photo so faces are not cropped; sign above cropped out cleanly */
@media (width >= 900px) {
  .gallery[data-astro-cid-rj65ajc3] { grid-template-columns: repeat(12, 1fr); }
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(1) { grid-column: span 5; }
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(2) { grid-column: span 4; }
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(3),
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(4),
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(5) { grid-column: span 3; }
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(6) { grid-column: span 6; }
}
.gallery[data-astro-cid-rj65ajc3] .tile:nth-child(2) .frame[data-astro-cid-rj65ajc3] img[data-astro-cid-rj65ajc3] { transform: scale(1.16); transform-origin: 48% 100%; }
@media (hover: hover) {
  .gallery[data-astro-cid-rj65ajc3] .tile:nth-child(2):hover .frame[data-astro-cid-rj65ajc3] img[data-astro-cid-rj65ajc3] { transform: scale(1.2); }
}

/* ---------- Type scale tidy-up: one size per role ---------- */
/* Small uppercase labels were 11.5 / 12 / 12.2 / 12.5 / 12.8px; all now match the eyebrow (12.5px) */
.meta, .photo-tag, .news-meta, .contact-aside-label, .board-label, .footer-label, .stat-label,
form[name="contact"] label, table th { font-size: .78rem !important; }
/* Body copy was 17 / 17.2 / 17.6px; all 17px */
.mission-body p:not(.lead-serif), .prose p:not(.eyebrow), .prose .drop { font-size: 1.0625rem !important; }
/* Sub-headings were 32 / 33.6 / 36.8px; all 33.6px */
.news-card h3, .press-list h2, h2.h3 { font-size: 2.1rem !important; line-height: 1.15; }
/* Contact page headings match the other inner pages */
.contact-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem) !important; }
#contact-heading { font-size: clamp(2.1rem, 4vw, 3.1rem) !important; }
/* Text fields: one size everywhere */
.form input:not([type=file]):not([type=checkbox]):not([type=radio]), .form textarea, .form select { font-size: 1.0625rem !important; }

/* ---------- Primary serif: Source Serif 4 (replaces Cormorant Garamond) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; size-adjust: 84%;
  src: url(/fonts/source-serif-4-latin-var-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; size-adjust: 84%;
  src: url(/fonts/source-serif-4-latin-var-italic.woff2) format("woff2"); }
:root { --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif; }
/* Source Serif is sturdier than Cormorant: regular weight for headings, slightly tighter tracking */
h1, h2, h3, h4, .quote-band p, .stat-num { font-weight: 400 !important; letter-spacing: -.01em; }
h1 { line-height: 1.08; }

/* Photo swaps 2026-10-02 */
.page-hero-photo img[src*="hands-stack"] { object-position: 50% 58%; filter: brightness(.72) saturate(.85); }
.contact-band .bg img[src*="family-arms"] { object-position: 50% 30%; }
.contact-band .bg img[src*="hands-family-sunset"] { object-position: 50% 50%; }

/* Inner page hero styles, shared so Grant Requests matches Past Grants */
.page-hero-photo[data-astro-cid-75ysl5lo]{align-items:flex-end;min-height:clamp(340px,48vh,520px);display:flex}
.inner[data-astro-cid-75ysl5lo]{padding-top:clamp(4.5rem,10vw,8rem);padding-bottom:clamp(2.75rem,6vw,4.5rem)}
.inner[data-astro-cid-75ysl5lo] h1[data-astro-cid-75ysl5lo]{max-width:16ch;margin-bottom:.75rem}
.lede[data-astro-cid-75ysl5lo]{font-family:var(--font-serif);color:#ffffffe0;max-width:40ch;margin:0;font-size:clamp(1.25rem,2.3vw,1.6rem);line-height:1.35}

/* ---------- Areas of Interest: richer cards ---------- */
.areas.areas--wide li {
  align-items: center; text-align: center; gap: 1.1rem;
  padding: clamp(2rem, 3vw, 2.6rem) 1.5rem clamp(1.8rem, 3vw, 2.3rem);
  background: #fff; border: 1px solid #7a5f3326; border-top: 3px solid var(--brass);
  box-shadow: 0 10px 30px #342e2912;
  font-size: 1.6rem;
}
.areas.areas--wide li::before {            /* the 01–06 numerals become a quiet watermark */
  top: .6rem; right: 1rem; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 400;
  letter-spacing: 0; color: #7a5f331f;
}
.area-icon {
  width: 76px; height: 76px; background: var(--green-900); color: var(--brass-light);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--brass-soft);
}
.area-icon svg { width: 34px; height: 34px; stroke-width: 1.3; }
@media (hover: hover) {
  .areas.areas--wide li:hover { border-color: #7a5f3326; border-top-color: var(--brass); }
  .areas.areas--wide li:hover::before { color: #7a5f331f; }
  .areas.areas--wide li:hover .area-icon { background: var(--green-900); color: var(--brass-light); }
}
@media (width < 560px) {
  .areas.areas--wide li { flex-direction: row; text-align: left; padding: 1.1rem 1.25rem; font-size: 1.3rem; border-top-width: 1px; border-left: 3px solid var(--brass); }
  .areas.areas--wide li::before { display: none; }
  .area-icon { width: 52px; height: 52px; box-shadow: none; }
  .area-icon svg { width: 26px; height: 26px; }
}

/* ---------- Logo: out of the header, into the home hero as a seal ---------- */
.brand-logo { width: auto !important; height: 38px !important; }
.hero.photo-band .hero-inner::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  top: 50%;
  width: clamp(200px, 24vw, 340px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url(/_astro/logo-seal-white-640.png) center / contain no-repeat;
  opacity: .88;
  filter: drop-shadow(0 4px 24px #1e1a1766);
  pointer-events: none;
}
@media (width < 900px) {
  .hero.photo-band .hero-inner::after { position: static; display: block; transform: none; width: 92px; margin: 0 0 1.5rem; order: -1; }
  .hero.photo-band .hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
}

/* Inner page heroes: logo watermark fully in frame, crisp, and clearly visible */
.page-hero-photo.photo-band::after {
  right: clamp(1rem, 6vw, 6rem);
  width: clamp(170px, 20vw, 280px);
  background-image: url(/_astro/logo-seal-white-640.png);
  opacity: .55;
  filter: drop-shadow(0 4px 20px #1e1a1759);
}
@media (width < 700px) { .page-hero-photo.photo-band::after { width: 110px; top: 1.25rem; right: 1.25rem; transform: none; opacity: .5; } }

/* Areas of Interest cards: larger icon and title */
@media (width >= 560px) {
  .areas.areas--wide li { font-size: 2rem; gap: 1.4rem; padding: clamp(2.4rem, 3.4vw, 3rem) 1.5rem clamp(2.2rem, 3.2vw, 2.7rem); }
  .area-icon { width: 104px; height: 104px; }
  .area-icon svg { width: 48px; height: 48px; stroke-width: 1.2; }
}
@media (width < 560px) {
  .areas.areas--wide li { font-size: 1.5rem; }
  .area-icon { width: 60px; height: 60px; }
  .area-icon svg { width: 30px; height: 30px; }
}

/* Home hero: circular logo as a large design element */
@media (width >= 900px) {
  .hero.photo-band .hero-inner::after { width: clamp(300px, 36vw, 520px); right: clamp(0rem, 4vw, 5rem); opacity: .92; }
}

/* ---------- Where We Give: two equal columns, photo fills its column ---------- */
.where-photo[data-astro-cid-lcdefpme]::before,
.where-photo[data-astro-cid-lcdefpme]::after { display: none; }
@media (width >= 900px) {
  .where[data-astro-cid-lcdefpme] { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: stretch; }
  .where-photo[data-astro-cid-lcdefpme] { margin-top: 0; order: -1; min-height: 520px; }
  .where-photo[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 38% 50%; }
  .where-copy[data-astro-cid-lcdefpme] { align-self: center; padding: 1rem 0; }
}
.where[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] { max-width: 20ch; }
.where-copy .lead-serif { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.5; }
.states-label[data-astro-cid-lcdefpme] { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.states[data-astro-cid-lcdefpme] { gap: .35rem 0; }
.states[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] { font-size: 1.15rem; font-weight: 400; }
.states[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme]:not(:last-child)::after { content: "·"; margin: 0 .8rem; color: var(--brass); }

/* Footer brand: same lockup as the header (monogram + wordmark), in white and brass */
.footer-brand[data-astro-cid-jo6i4kqk] img.footer-logo { width: auto !important; height: 44px !important; }
.footer-name[data-astro-cid-jo6i4kqk] { display: flex; flex-direction: column; line-height: 1.05; }
.footer-name-main { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .02em; color: #fff; }
.footer-name-sub { font-family: var(--font-sans); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); margin-top: .3rem; }

/* Where We Give photo: brass corner brackets, like the hero frame */
.where-photo[data-astro-cid-lcdefpme]::before,
.where-photo[data-astro-cid-lcdefpme]::after {
  display: block; content: ""; position: absolute; width: 64px; height: 64px; background: none; inset: auto;
  border: 0 solid var(--brass); border-radius: 0; z-index: 1; pointer-events: none;
}
.where-photo[data-astro-cid-lcdefpme]::before { top: -.8rem; left: -.8rem; border-top-width: 2px; border-left-width: 2px; }
.where-photo[data-astro-cid-lcdefpme]::after { bottom: -.8rem; right: -.8rem; border-bottom-width: 2px; border-right-width: 2px; }
@media (width <= 600px) {
  .where-photo[data-astro-cid-lcdefpme]::before, .where-photo[data-astro-cid-lcdefpme]::after { width: 44px; height: 44px; inset: auto; }
  .where-photo[data-astro-cid-lcdefpme]::before { top: -.5rem; left: -.5rem; }
  .where-photo[data-astro-cid-lcdefpme]::after { bottom: -.5rem; right: -.5rem; }
}

/* ---------- Home: mission statement + founder band (Option A) ---------- */
.mission-a { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.mission-a-grid { display: grid; gap: 2rem; }
.mission-statement { font-size: clamp(1.9rem, 3.6vw, 3.1rem) !important; line-height: 1.16 !important; margin: 0; max-width: 20ch; }
.mission-statement em { font-style: italic; color: var(--brass-text); }
.mission-a-copy { position: relative; padding-top: 1.75rem; }
.mission-a-copy::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 2px; background: var(--brass); }
.mission-a-copy p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); margin: 0 0 1.2rem; }
@media (width >= 900px) {
  .mission-a-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
  .mission-a-copy { margin-top: 2.6rem; }
}
.founder-band { background: var(--green-900); color: #e9e2dc; }
.founder-band-grid { display: grid; }
.founder-band-photo { background: #1e1a17; }
.founder-band-photo img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.04); }
.founder-band-text { padding: clamp(2.75rem, 7vw, 5rem) var(--gutter, 1.5rem); max-width: 46rem; }
.founder-band-text .eyebrow { color: var(--brass-light); }
.founder-band-text h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0 0 1.5rem; line-height: 1.1; }
.founder-band-text p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1.1rem; color: #e9e2dc; }
.founder-band-text .btn { margin-top: 1rem; }
@media (width >= 900px) {
  .founder-band-grid { grid-template-columns: minmax(300px, 34%) 1fr; align-items: stretch; }
  .founder-band-photo { position: relative; min-height: 640px; }
  .founder-band-photo img { position: absolute; inset: 0; max-height: none; object-position: 50% 20%; }
  .founder-band-text { align-self: center; padding: clamp(4rem, 6vw, 5.5rem) clamp(2.5rem, 6vw, 6rem); }
}

/* Founder band: show the whole portrait (zoomed out), framed on the plum band */
.mission-statement { max-width: 24ch; }
.founder-band-photo { background: none; display: grid; place-items: center; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter, 1.5rem) 0; }
.founder-band-photo img { position: static !important; width: auto; height: auto; max-width: min(100%, 300px); max-height: none; object-fit: contain;
  border: 1px solid var(--brass-soft); box-shadow: 0 20px 50px #0000004d, 14px 14px 0 -1px var(--green-900), 14px 14px 0 0 var(--brass); }
@media (width >= 900px) {
  .founder-band-grid { grid-template-columns: minmax(320px, 36%) 1fr; }
  .founder-band-photo { min-height: 0; padding: clamp(4rem, 6vw, 5.5rem) 0 clamp(4rem, 6vw, 5.5rem) clamp(2rem, 6vw, 6rem); justify-items: end; }
  .founder-band-photo img { max-width: 340px; }
  .founder-band-text { padding-left: clamp(3rem, 5vw, 5rem); }
}
/* Founder portrait: no offset outline box behind it */
.founder-band-photo img { box-shadow: 0 20px 50px #0000004d; }

.where-cta { margin: 2rem 0 0; }

/* Where We Give: Capitol photo on the right (founder portrait sits on the left above) */
@media (width >= 900px) {
  .where-photo[data-astro-cid-lcdefpme] { order: 0; }
  .where-photo[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] { object-position: 47% 50%; }
}

/* Hero: no thin frame line; the two corner brackets stay */
.hero.photo-band::after { display: none; }
.hero-corner { width: 56px; height: 56px; }

/* Areas of Interest: darker number watermarks */
.areas.areas--wide li::before, .areas.areas--wide li:hover::before { color: #7a5f3373; }

/* ---------- Site-wide polish: spacing, hanging words ---------- */
/* Less dead space between sections (was up to 120px top and bottom) */
:root { --space-5: clamp(3rem, 6vw, 5rem); }
.mission-a { padding-bottom: clamp(3rem, 5vw, 4.25rem); }
.founder-band-photo { padding-top: clamp(2.5rem, 5vw, 4.25rem); }
@media (width >= 900px) {
  .founder-band-photo { padding-top: clamp(3.25rem, 5vw, 4.5rem); padding-bottom: clamp(3.25rem, 5vw, 4.5rem); }
  .founder-band-text { padding-top: clamp(3.25rem, 5vw, 4.5rem); padding-bottom: clamp(3.25rem, 5vw, 4.5rem); }
}
.page-hero-photo + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.years[data-astro-cid-fdji77b5] { margin-top: 0; }
@media (width < 700px) { .contact-hero { padding-bottom: 2.5rem; } }

/* No single words left hanging on a last line */
h1, h2, h3, .lede, .lead-serif, .hero-sub, .mission-statement, blockquote p, figcaption { text-wrap: balance; }
p, li, dd, td, summary, label { text-wrap: pretty; }

/* Heading sizes: one section-heading size per screen, sub-headings always smaller */
.founder-band-text h2, #contact-heading, .mission-statement { font-size: clamp(2rem, 4.2vw, 3.1rem) !important; }
.news-card h3, .press-list h2, h2.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important; }

/* ================= Micro-animations (slow, smooth, transform/opacity only) ================= */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* Button states: lift on hover, settle on press, ripple from the pointer */
.btn { position: relative; overflow: hidden; isolation: isolate;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #1e1a172e; } }
.btn:active { transform: translateY(0) scale(.985); box-shadow: 0 2px 8px #1e1a1724; transition-duration: .12s; }
.btn .ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; z-index: -1; animation: tj-ripple .9s var(--ease-out) forwards; }
@keyframes tj-ripple { to { transform: scale(1); opacity: 0; } }

/* Header: soft shadow and slightly smaller logo after scrolling */
.site-header { transition: box-shadow .5s var(--ease-out), background-color .5s var(--ease-out); }
.site-header .brand-logo { transition: transform .5s var(--ease-out); transform-origin: left center; }
.site-header.is-scrolled { box-shadow: 0 8px 28px #1e1a1714; }
.site-header.is-scrolled .brand-logo { transform: scale(.88); }

/* Form fields: animated focus and filled states */
.field input, .field textarea, .field select { transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s var(--ease-out); }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: 0 0 0 4px #b89f7240; border-color: var(--brass); }
.field label { transition: color .35s var(--ease-out); }
.field:focus-within label, .field.is-filled label { color: var(--brass-text); }

/* Links and cards */
.footer-nav a, .footer-contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); text-decoration: none !important; }
.footer-nav a:hover, .footer-contact a:hover { background-size: 100% 1px; }
.news-card { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
@media (hover: hover) { .news-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px #342e2926; } }
.area-icon { transition: transform .7s var(--ease-out); }
@media (hover: hover) { .areas.areas--wide li:hover .area-icon { transform: scale(1.06); } }

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveals: slower and softer than before */
  .js .reveal { transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transform: translateY(22px); }

  /* Staggered groups: children follow one another */
  .js .stats-inner > .reveal, .js .footer-inner > .reveal, .js .years > .reveal, .js .press-list > .reveal, .js .board .reveal, .js .gallery > .reveal { transition-delay: calc(var(--i, 0) * 110ms); }
  .js .areas.reveal > li { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js .areas.reveal.in > li { opacity: 1; transform: none; }
  .js .areas.reveal .area-icon svg { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 450ms); }
  .js .areas.reveal.in .area-icon svg { stroke-dashoffset: 0; }
  .js .areas.reveal > li:nth-child(1) .area-icon svg { --i: 0; } .js .areas.reveal > li:nth-child(2) .area-icon svg { --i: 1; }
  .js .areas.reveal > li:nth-child(3) .area-icon svg { --i: 2; } .js .areas.reveal > li:nth-child(4) .area-icon svg { --i: 3; }
  .js .areas.reveal > li:nth-child(5) .area-icon svg { --i: 4; } .js .areas.reveal > li:nth-child(6) .area-icon svg { --i: 5; }
  .js .states li { opacity: 0; transition: opacity 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 400ms); }
  .js .where-copy.in .states li { opacity: 1; }

  /* Photos settle into place as they appear */
  .js .where-photo.reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-out), opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
  .js .where-photo.reveal.in { clip-path: inset(-2rem); }

  /* Mission rule and quote draw in */
  .js .mission-a-copy.reveal::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .3s; }
  .js .mission-a-copy.reveal.in::before { transform: none; }
  .js .quote-band .reveal .quote-mark { opacity: 0; transform: translateY(10px) scale(.9); transition: opacity 1s var(--ease-out) .2s, transform 1s var(--ease-out) .2s; display: inline-block; }
  .js .quote-band .reveal.in .quote-mark { opacity: 1; transform: none; }

  /* Hero entrance on load, then a very slow drift on the photo */
  .hero .hero-inner > *, .page-hero-photo .inner > * { animation: tj-rise 1.3s var(--ease-out) both; }
  .hero .hero-inner > :nth-child(1), .page-hero-photo .inner > :nth-child(1) { animation-delay: .15s; }
  .hero .hero-inner > :nth-child(2), .page-hero-photo .inner > :nth-child(2) { animation-delay: .3s; }
  .hero .hero-inner > :nth-child(3), .page-hero-photo .inner > :nth-child(3) { animation-delay: .45s; }
  .hero .hero-inner > :nth-child(4) { animation-delay: .6s; }
  @keyframes tj-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero .bg img, .page-hero-photo .bg img { animation: tj-drift 28s ease-in-out infinite alternate; will-change: transform; }
  @keyframes tj-drift { from { transform: scale(1); } to { transform: scale(1.08); } }
  .hero-corner { animation: tj-fade 1.6s var(--ease-out) .7s both; }
  @keyframes tj-fade { from { opacity: 0; } to { opacity: 1; } }
  @media (width >= 900px) {
    .hero.photo-band .hero-inner::after { animation: tj-seal 2.2s var(--ease-out) .5s both; }
    @keyframes tj-seal { from { opacity: 0; transform: translateY(-50%) scale(.92) rotate(-8deg); } to { opacity: .92; transform: translateY(-50%); } }
  }
  .page-hero-photo.photo-band::after { animation: tj-fade-wm 2s var(--ease-out) .5s both; }
  @keyframes tj-fade-wm { from { opacity: 0; } }

  /* Past Grants: years open smoothly where the browser supports it */
  :root { interpolate-size: allow-keywords; }
  details.year::details-content { block-size: 0; overflow: hidden; transition: block-size .7s var(--ease-out), content-visibility .7s allow-discrete; }
  details.year[open]::details-content { block-size: auto; }
}

/* Photo swaps: sky on About, stacked hands on Press, oak tree behind the home quote */
.page-hero-photo img[src*="sky-panorama"] { object-position: 50% 40%; filter: brightness(.82) saturate(.9); }
.quote-band--photo { position: relative; background: var(--green-900); }
.quote-band--photo .bg img { object-position: 50% 62%; filter: saturate(.8); }
.quote-band--photo::before { display: block !important; background: linear-gradient(180deg, #342e29d9 0%, #342e29b8 50%, #342e29e0 100%) !important; }
.quote-band--photo blockquote p { text-shadow: 0 2px 24px #1e1a1780; }

/* ---------- Palette: warm espresso neutrals in place of eggplant purple ---------- */
:root { --green-950: #1e1a17; --green-900: #342e29; --green-800: #453d36; --green-050: #f5f1ea; }
.site-footer[data-astro-cid-jo6i4kqk] { background: #2a2521; }
.photo-band::before { background: linear-gradient(100deg, #1e1a17b3 0%, #1e1a177a 45%, #1e1a1738 100%); }

/* Founder band: light cream section instead of a dark block */
.founder-band { background-color: var(--gold-100); background-image: var(--grain); color: var(--ink); border-top: 1px solid #7a5f3326; border-bottom: 1px solid #7a5f3326; }
.founder-band-text .eyebrow { color: var(--brass-text); }
.founder-band-text h2 { color: var(--heading); }
.founder-band-text p:not(.eyebrow) { color: var(--ink); }
.founder-band-photo img { border-color: #fff; border-width: 6px; box-shadow: 0 18px 44px #342e2933; }
.areas-section { background: var(--bg); }

/* No animation in the site header, the footer, or on the hero's circular logo */
.site-header, .site-header .brand-logo { transition: none !important; }
.site-header.is-scrolled { box-shadow: none; }
.site-header.is-scrolled .brand-logo { transform: none; }
.site-header *, .site-header *::after, .site-header *::before { transition: none !important; animation: none !important; }
.site-footer *, .site-footer .reveal { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
.footer-nav a, .footer-contact a { background: none !important; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline !important; }
.hero.photo-band .hero-inner::after { animation: none !important; }

/* One tint site-wide: tinted sections use the same cream as the stats and founder bands */
.section--tint { background-color: var(--gold-100); }

/* ---------- Palette tidy-up ---------- */
/* Two darks only: espresso for surfaces, ink for all text. Warm divider lines (no pink cast). */
:root { --heading: #262220; --line: #e6dfd3; --green-950: #342e29; }
.site-footer[data-astro-cid-jo6i4kqk] { background: var(--green-900); }

/* ================= Type system: one scale, two families =================
   Serif (Source Serif 4, regular):  Display 72 · H1 60 · H2 42 · H3 28 · H4 22 · Lead 20 · Small 16
   Sans  (Source Sans 3):            Body 17 · Small 15 · Fine 14 · Caps 13 (labels .2em, actions .15em)
   Serif values below are written 19% larger because the font is scaled to 84% (size-adjust). */
:root {
  --fs-h2: clamp(2rem, 4.2vw, 3.1rem);
  --fs-h3: clamp(1.55rem, 2.6vw, 2.1rem);
  --fs-h4: clamp(1.4rem, 2vw, 1.625rem);
  --fs-lead: clamp(1.3rem, 1.9vw, 1.5rem);
  --fs-serif-sm: 1.19rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-fine: .875rem;
  --fs-caps: .8125rem;
}
/* Serif tiers */
h1 { line-height: 1.08 !important; }
.stat-num { font-size: var(--fs-h2) !important; line-height: 1.12 !important; font-weight: 400 !important; }
main .quote blockquote p { font-size: clamp(2.1rem, 4.8vw, 3.6rem) !important; line-height: 1.2 !important; font-weight: 400 !important; }
.year-num, .areas.areas--wide li, .deadline-text, .news-card h3, .press-list h2, h2.h3 { font-size: var(--fs-h3) !important; line-height: 1.18 !important; font-weight: 400 !important; }
.prose h3, legend, .contact-aside-title { font-size: var(--fs-h4) !important; line-height: 1.2 !important; font-weight: 400 !important; }
.lede, .hero-sub, .contact-hero-sub, .contact-hero-email, .lead-serif, .where-copy .lead-serif, .gallery figcaption, .board li { font-size: var(--fs-lead) !important; line-height: 1.45 !important; font-weight: 400 !important; }
.gallery figcaption, .board li { line-height: 1.3 !important; }
.states li, .caption, .board-note, .founder figcaption { font-size: var(--fs-serif-sm) !important; font-weight: 400 !important; }
/* Sans tiers */
main p:not([class]):not(blockquote p), .prose p:not(.eyebrow), main td, .contact-aside-item p, .contact-aside-item a:not(.btn) { font-size: var(--fs-body) !important; line-height: 1.75 !important; }
.upload-help, form[name="grant-request"] label, .press-list .read { font-size: var(--fs-small) !important; }
.hint, .note, .footer-base p { font-size: var(--fs-fine) !important; }
/* Caps: labels */
.eyebrow, .stat-label, .states-label, .news-meta, .meta, .gallery .meta, .photo-tag, form[name="contact"] label, .footer-label, .press-list time, table th,
.contact-aside-label, .board-label, .year-count, .quote figcaption {
  font-size: var(--fs-caps) !important; letter-spacing: .2em !important; font-weight: 600 !important; text-transform: uppercase; }
form[name="contact"] label .optional { letter-spacing: 0 !important; }
/* Caps: actions (buttons and navigation) */
.btn, .nav-list a, .sub-toggle, .nav-cta { font-size: var(--fs-caps) !important; letter-spacing: .15em !important; font-weight: 600 !important; }
.year-total { font-size: var(--fs-caps) !important; }
.menu-label { font-size: var(--fs-caps) !important; letter-spacing: .15em !important; }

/* Quote attribution: smaller */
.quote figcaption { font-size: .6875rem !important; letter-spacing: .22em !important; }


/* Home: Giving in Action teaser */
.impact-grid { display: grid; gap: 2.5rem; align-items: center; }
.impact-copy h2 { margin: 0 0 1rem; }
.impact-copy .lead-serif { max-width: 34ch; margin: 0 0 2rem; }
.impact-photos { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; height: clamp(300px, 34vw, 440px); }
.impact-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 14px 34px #342e2924; }
.impact-photos img:first-child { grid-row: span 2; }
@media (width >= 900px) { .impact-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5.5rem); } }

/* Press page: Giving in Action above the coverage */
.press-intro { max-width: 46ch; margin: .75rem 0 0; }
.press-impact .section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.press-news-head { margin-bottom: 1.5rem; }

.press-intro { max-width: 60ch; text-wrap: pretty; }
.impact-copy .lead-serif { text-wrap: pretty; }

/* ---------- Grant Requests: at-a-glance facts and numbered guide ---------- */
.grant-facts { display: grid; gap: 0; margin: 0 0 clamp(2.5rem, 5vw, 4rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brass); box-shadow: 0 10px 30px #342e2912; }
.grant-facts > div { padding: 1.5rem 1.6rem; border-top: 1px solid var(--line); }
.grant-facts > div:first-child { border-top: 0; }
.grant-facts dt { font: 600 var(--fs-caps)/1.3 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 .6rem; }
.grant-facts dd { margin: 0; font-family: var(--font-serif); font-size: var(--fs-lead); line-height: 1.35; color: var(--heading); text-wrap: balance; }
@media (width >= 640px) { .grant-facts { grid-template-columns: 1fr 1fr; } .grant-facts > div { border-top: 0; border-left: 1px solid var(--line); } .grant-facts > div:nth-child(odd) { border-left: 0; } .grant-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (width >= 1024px) { .grant-facts { grid-template-columns: 1fr 1fr 1fr 1.5fr; } .grant-facts > div:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); } .grant-facts > div:first-child { border-left: 0; } }
.grant-guide { padding-top: clamp(2.5rem, 5vw, 4rem); }
.guide-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: step; }
.guide-steps > li { counter-increment: step; position: relative; padding: 1.4rem 0 1.4rem 3.25rem; border-top: 1px solid var(--line); }
.guide-steps > li::before { content: counter(step); position: absolute; left: 0; top: 1.35rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: var(--brass-light); font: 600 .9rem/1 var(--font-sans); }
.guide-steps h3 { margin: 0 0 .5rem !important; }
.guide-steps p { margin: 0; }
.guide-steps .checklist { margin: .25rem 0 0; }

/* Past Grants: a year with no grants */
.year--none .year-row { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; padding: 1.3rem 1.6rem; }
.year-none { font-size: var(--fs-body); color: var(--ink-soft); }

/* Home copy update: longer mission statement, shorter founder and Where We Give text */
.mission-statement { font-size: clamp(1.7rem, 3vw, 2.5rem) !important; line-height: 1.25 !important; max-width: 32ch; }
@media (width >= 900px) { .mission-a-grid { grid-template-columns: 1.6fr 1fr; align-items: center; } .mission-a-copy { margin-top: 0; } }
.mission-a-copy p { font-family: var(--font-serif); font-size: var(--fs-lead) !important; line-height: 1.5 !important; color: var(--heading); margin: 0; }
.where-intro { font-size: var(--fs-body) !important; line-height: 1.75 !important; margin: 0; }
.mission-statement { max-width: 36ch; text-wrap: pretty; }
main .mission-a .mission-a-copy p:not(.eyebrow) { font-family: var(--font-serif); font-size: var(--fs-lead) !important; line-height: 1.5 !important; color: var(--heading); margin: 0; padding-top: .25rem; }

/* Contact page: photo banner matching the other inner pages */
.contact-banner .bg img { object-position: 50% 45%; filter: saturate(.45) sepia(.25) brightness(.8); }
.contact-banner.photo-band::before { background: linear-gradient(100deg, #342e29e6 0%, #342e29b3 50%, #342e2980 100%); }
.contact-banner .inner h1 { max-width: 18ch; }
.contact-banner-email { display: inline-block; margin-top: 1.1rem; color: var(--brass-light); font-family: var(--font-serif); font-size: var(--fs-lead); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.contact-banner-email:hover { color: #fff; }
.contact-banner .bg img { filter: saturate(.5) sepia(.3) brightness(.92); }
.contact-banner.photo-band::before { background: linear-gradient(100deg, #342e29d9 0%, #342e298c 50%, #342e2947 100%); }

/* Form fields: one look on every form (cream fill, thin warm border, 2px corners) */
.form input:not([type=hidden]):not([type=file]):not([type=checkbox]):not([type=radio]),
.form select, .form textarea,
.form--line input:not([type=hidden]), .form--line textarea,
.form-card input:not([type=checkbox]):not([type=radio]):not([type=file]), .form-card select, .form-card textarea {
  background: var(--gold-100) !important;
  border: 1px solid #cfc4b2 !important;
  border-radius: var(--radius) !important;
  padding: .8rem .95rem !important;
  box-shadow: none;
}
.form input:not([type=hidden]):not([type=file]):hover, .form select:hover, .form textarea:hover { border-color: var(--brass) !important; }
.form input:not([type=hidden]):not([type=file]):focus, .form select:focus, .form textarea:focus { border-color: var(--brass) !important; box-shadow: 0 0 0 4px #b89f7240 !important; outline: none; }
.form [aria-invalid="true"] { border-color: #a8322a !important; }
.form--line .form-grid { align-items: start; }

/* Home Giving in Action: photos on the left, text on the right (desktop) */
@media (width >= 900px) {
  .impact-grid { grid-template-columns: 7fr 5fr; }
  .impact-photos { order: -1; }
}

/* ================= Home layout: Mission with photo, Giving band with cards, Contact strip ================= */
/* Mission: generations photo left, statement right */
.mission-b-grid { display: grid; gap: 2.5rem; align-items: center; }
.mission-b-photo { position: relative; }
.mission-b-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 44px #342e2926; }
.mission-b-photo::before, .mission-b-photo::after { content: ""; position: absolute; width: 56px; height: 56px; border: 0 solid var(--brass); pointer-events: none; }
.mission-b-photo::before { top: -.7rem; left: -.7rem; border-top-width: 2px; border-left-width: 2px; }
.mission-b-photo::after { bottom: -.7rem; right: -.7rem; border-bottom-width: 2px; border-right-width: 2px; }
.mission-b-text .mission-statement { max-width: 30ch; }
main .mission-b .mission-b-sub { position: relative; margin: 2rem 0 0; padding-top: 2rem; font-family: var(--font-serif); font-size: var(--fs-lead) !important; line-height: 1.5 !important; color: var(--heading); max-width: 40ch; }
.mission-b-sub::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 2px; background: var(--brass); }
@media (width >= 900px) {
  .mission-b-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .mission-b-photo img { aspect-ratio: 4 / 5; }
}

/* Founder band: portrait on the right, so photos alternate down the page */
@media (width >= 900px) {
  .founder-band-grid { grid-template-columns: 1fr minmax(320px, 36%); }
  .founder-band-photo { order: 2; justify-items: start; padding-left: 0; padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .founder-band-text { justify-self: end; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: clamp(3rem, 5vw, 5rem); }
}

/* Giving in Action: photo band with three story cards overlapping its lower edge */
.impact-band { position: relative; isolation: isolate; background: var(--gold-100); color: #fff; padding: var(--space-5) 0 0; }
.impact-band-bg { position: absolute; inset: 0 0 110px 0; z-index: -1; overflow: hidden; background: var(--green-900); }
.impact-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.8); }
.impact-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #342e29d9 0%, #342e29c2 100%); }
.impact-band-head { text-align: center; max-width: 44rem; margin: 0 auto; }
.impact-band-head .eyebrow { color: var(--brass-light); }
.impact-band-head h2 { color: #fff; margin: 0 0 1rem; }
.impact-band-head .lead-serif { color: #f1ebe6; margin: 0 auto 2rem; max-width: 40ch; }
.impact-cards { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 1.25rem; }
.impact-card { background: #fff; color: var(--heading); padding: .6rem .6rem 1.2rem; border-radius: var(--radius); box-shadow: 0 18px 44px #1e1a1740; text-align: center; }
.impact-card-photo { height: clamp(180px, 17vw, 230px); overflow: hidden; border-radius: var(--radius); }
.impact-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.impact-card-photo--zoom img { transform: scale(1.16); transform-origin: 48% 100%; }
.impact-card .meta { display: block; margin-top: 1rem; color: var(--brass-text); }
.impact-card-title { margin: .4rem 0 0; font-family: var(--font-serif); font-size: var(--fs-h4) !important; line-height: 1.25 !important; color: var(--heading); }
@media (width >= 760px) { .impact-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (prefers-reduced-motion: no-preference) { .js .impact-cards > .reveal:nth-child(2) { transition-delay: .12s; } .js .impact-cards > .reveal:nth-child(3) { transition-delay: .24s; } }

/* Contact strip (the form itself lives on the Contact page) */
.contact-strip { background: var(--gold-100); background-image: var(--grain); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.contact-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; border-top: 1px solid #7a5f3333; padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.contact-strip h2 { margin: 0; max-width: 24ch; }

/* Founder band, rebuilt: content sits inside the same page width as every other section,
   text on the left edge, portrait on the right edge, both vertically centered. */
.founder-band-grid { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: var(--space-5) var(--gutter); display: grid; gap: 2.5rem; align-items: center; }
.founder-band-photo { padding: 0 !important; min-height: 0 !important; display: block; justify-self: center; }
.founder-band-photo img { position: static !important; display: block; width: 100%; max-width: 300px !important; height: auto; }
.founder-band-text { padding: 0 !important; max-width: 40rem; justify-self: start !important; align-self: center; }
@media (width >= 900px) {
  .founder-band-grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 7vw, 6.5rem); }
  .founder-band-photo { order: 2; justify-self: end; }
  .founder-band-photo img { max-width: 360px !important; width: clamp(280px, 28vw, 360px); }
}
.founder-band-photo { width: min(300px, 100%); }
.founder-band-photo img { width: 100% !important; max-width: none !important; }
@media (width >= 900px) { .founder-band-photo { width: clamp(280px, 28vw, 360px); } }

/* Hero: no corner brackets */
.hero-corner { display: none !important; }

/* Founder portrait: left-aligned on phones and tablets */
@media (width < 900px) { .founder-band-photo { justify-self: start; } }

/* Giving in Action cards: photos keep a 3:2 shape at every width, so faces are never cropped */
.impact-card-photo { height: auto; aspect-ratio: 3 / 2; }
