:root {
  color-scheme: light;
  --ink: #18372e;
  --muted: #455b51;
  --paper: #faf9f5;
  --white: #fffefa;
  --sage: #edf1e9;
  --rule: #cbd4c9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.8vw, 6rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
.wrap { width: min(76rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
h1 { font-size: clamp(3.4rem, 7.6vw, 7rem); }
h2 { font-size: clamp(2.65rem, 5.5vw, 5rem); }
a { color: inherit; text-underline-offset: .24em; }
button, select { font: inherit; color: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:where(a, button, select, summary):focus-visible { outline: 3px solid #49765a; outline-offset: 4px; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 9; background: white; padding: .6rem 1rem; }
.skip:not(:focus), .giving-filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead, .brand, .masthead nav, .footer-brand, .menu-trigger { display: flex; align-items: center; }
.masthead { min-height: 5rem; justify-content: space-between; gap: 1rem; }
.brand, .footer-brand { width: fit-content; gap: .8rem; text-decoration: none; font: 1.09rem/1.1 var(--serif); letter-spacing: -.018em; }
.foundation-mark { width: 2.95rem; height: 2.95rem; object-fit: contain; }
.masthead nav { gap: clamp(.9rem, 2.8vw, 2.6rem); }
.masthead nav a { position: relative; display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; font-size: .9375rem; font-weight: 500; }
.masthead nav a::after { content: ""; position: absolute; inset: auto 0 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; }
.masthead nav a:is(:hover, [aria-current="page"])::after { transform: scaleX(1); }
.menu-trigger { justify-content: center; gap: .6rem; min-height: 44px; border: 0; background: transparent; font-size: .9375rem; }
.menu-icon { width: 18px; height: 14px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; }
.menu-icon::before { top: 4px; }
.menu-icon::after { bottom: 3px; }
.menu-trigger[aria-expanded="true"] .menu-icon::before { top: 6px; transform: rotate(45deg); }
.menu-trigger[aria-expanded="true"] .menu-icon::after { bottom: 6.5px; transform: rotate(-45deg); }

.hero { position: relative; isolation: isolate; text-align: center; overflow: hidden; background: var(--paper); }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 50% 56%; }
.hero::after {
  content: ""; z-index: -1;
  background: linear-gradient(180deg, #faf9f5 0%, rgb(250 249 245 / .97) 12%, rgb(250 249 245 / .91) 30%, rgb(250 249 245 / .72) 46%, rgb(250 249 245 / .19) 65%, transparent 80%);
}
.hero-inner { padding-block: clamp(3.4rem, 5.7vw, 6.6rem) clamp(12rem, 19vw, 21rem); }
.hero h1 { font-size: clamp(2.65rem, 6.6vw, 6.9rem); line-height: 1.01; }
.hero h1 span, .hero h1 i { display: block; }
.hero h1 i { font-weight: 400; letter-spacing: -.055em; }
.hero p { max-width: 43ch; margin: 1.45rem auto 0; font-size: clamp(1rem, 1.4vw, 1.23rem); line-height: 1.5; text-wrap: balance; }
.hero-link { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; min-width: 7.5rem; margin-top: 1.5rem; padding: .65rem 1.45rem; border-radius: 3rem; color: #fff; background: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 550; }
.hero-link:hover { background: #2e5042; }
.about, .pillars, .document { padding-block: clamp(3.75rem, 7.8vw, 7.5rem); }
.about { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(2rem, 7vw, 7rem); }
.about-copy { max-width: 41rem; }
.about-copy p, .pillar-content p, .document p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.72; }
.about-copy p + p, .pillar-content p + p, .document p + p { margin-top: 1.05rem; }
.about-copy .about-lead { max-width: 32ch; margin-bottom: 1.65rem; color: var(--ink); font: clamp(1.65rem, 2.8vw, 2.7rem)/1.19 var(--serif); letter-spacing: -.035em; }
.focus { background: var(--sage); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.text-link, .giving-profile > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 550; }
.pillar { border-top: 1px solid #bbc8b9; }
.pillar:last-child { border-bottom: 1px solid #bbc8b9; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.pillar summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.8vw, 2.8rem); min-height: 5.5rem; padding-block: clamp(.9rem, 1.5vw, 1.35rem); }
.pillar summary > span:first-of-type { font: clamp(1.36rem, 2.55vw, 2.55rem)/1.15 var(--serif); letter-spacing: -.033em; text-wrap: balance; }
.toggle { display: grid; place-items: center; position: relative; width: 2.5rem; height: 2.5rem; border: 1px solid #94a798; border-radius: 50%; }
.toggle::before, .toggle::after { content: ""; position: absolute; width: .85rem; height: 1.5px; background: currentColor; }
.toggle::after { transform: rotate(90deg); }
details[open] > summary .toggle::after { transform: rotate(0); }
.pillar summary:hover .toggle, .pillar[open] .toggle { color: white; background: var(--ink); border-color: var(--ink); }
.pillar-content { max-width: 46rem; padding-block: .7rem clamp(1.7rem, 3.5vw, 3.5rem); }
.pillar-content .text-link { margin-top: .8rem; }

.giving-intro { padding-block: clamp(3.25rem, 6.9vw, 6.75rem) clamp(2.5rem, 4.25vw, 4rem); }
.giving-lead { max-width: 34ch; margin-top: 1.15rem; font: clamp(1.38rem, 2.4vw, 2.2rem)/1.28 var(--serif); letter-spacing: -.025em; }
.giving-directory { border-top: 1px solid var(--rule); padding-bottom: clamp(3.75rem, 7vw, 7rem); }
.giving-filters { margin-block: 1.35rem 1.75rem; }
.giving-filter-row { display: none; }
.giving-filter-mobile { max-width: 32rem; }
.giving-filter-mobile label { display: block; margin-bottom: .45rem; font-size: .9375rem; font-weight: 600; }
.giving-select-wrap { position: relative; }
.giving-select-wrap::after { content: ""; position: absolute; inset: 50% 1.1rem auto auto; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.giving-filter-mobile select { appearance: none; width: 100%; min-height: 50px; padding: .6rem 2.35rem .6rem 1rem; border: 1px solid #92a296; border-radius: .55rem; background: var(--white); }
@media (min-width: 62em) {
  .giving-filter-mobile { display: none; }
  .giving-filter-row { display: flex; align-items: center; justify-content: space-between; gap: .15rem; width: fit-content; max-width: 100%; padding: .28rem; border: 1px solid #d6ded3; border-radius: 2rem; background: #edf0e9; }
  .giving-filter-row button { min-height: 44px; padding: .55rem clamp(.65rem, 1.4vw, 1.4rem); border: 0; border-radius: 2rem; background: transparent; font: 550 .9rem/1.2 var(--sans); white-space: nowrap; }
  .giving-filter-row button:hover { background: #dce5db; }
  .giving-filter-row button[aria-pressed="true"] { color: white; background: var(--ink); }
}
.giving-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.4rem); list-style: none; padding: 0; margin: 0; }
.giving-grid > li { min-width: 0; }
.giving-card, .profile-trigger { width: 100%; height: 100%; border: 1px solid #d6ded4; border-radius: .8rem; background: white; }
.giving-card summary, .profile-trigger { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: center; gap: .7rem; padding: clamp(.8rem, 1.45vw, 1.45rem); text-align: left; }
.profile-trigger:hover, .giving-card:has(summary:hover) { border-color: #859a8c; box-shadow: 0 5px 16px rgb(23 47 37 / .07); }
.giving-mark { grid-column: 1 / -1; display: grid; place-items: center; width: 100%; height: clamp(5.2rem, 8.5vw, 8rem); padding: .7rem; }
.giving-mark img { display: block; width: min(100%, 10.5rem); height: 100%; min-height: 0; object-fit: contain; }
.giving-mark-dark { background: #1a372d; border-radius: .4rem; }
.giving-name { font-weight: 550; font-size: .9375rem; line-height: 1.33; overflow-wrap: anywhere; }
.giving-grid .toggle { width: 1.65rem; height: 1.65rem; border-color: #bbc8bd; }
.giving-grid .toggle::before, .giving-grid .toggle::after { width: .6rem; }
.giving-profile { padding: .25rem 1rem 1rem; overflow-wrap: anywhere; }
.giving-profile p + p { margin-top: .6rem; }
.giving-profile > a { margin-top: .8rem; }
.giving-category { color: var(--muted); font-size: .9375rem; }
.profile-dialog { width: min(35rem, calc(100% - 3rem)); max-height: calc(100dvh - 3rem); padding: 0; border: 1px solid #cbd4c9; border-radius: 1.1rem; color: var(--ink); background: var(--white); box-shadow: 0 20px 80px rgb(10 30 20 / .22); overscroll-behavior: contain; }
.profile-dialog::backdrop { background: rgb(12 30 23 / .55); }
html:has(.profile-dialog) { scrollbar-gutter: stable; }
body:has(.profile-dialog[open]) { overflow: hidden; }
.dialog-layout { position: relative; padding: 2.5rem; }
.dialog-close { position: absolute; inset: .85rem .85rem auto auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; font: 1.65rem/1 var(--sans); background: var(--white); }
.dialog-close:hover { background: var(--sage); }
.dialog-logo { padding-right: 3rem; }
.dialog-logo .giving-mark { width: fit-content; min-width: 7rem; max-width: 100%; height: 5.25rem; padding: .55rem .8rem; }
.dialog-logo .giving-mark:not(.giving-mark-dark) { background: white; }
.dialog-logo img { width: 9rem; }
.dialog-layout h2 { margin: 1.5rem 0 .7rem; font-size: clamp(2.05rem, 3.5vw, 3.05rem); text-wrap: balance; }
.dialog-copy .giving-profile { padding: 0; }
.dialog-copy .giving-category { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }

.document { width: min(46rem, calc(100% - var(--gutter) * 2)); min-height: 55vh; }
.document h1 { margin-bottom: 1.65rem; font-size: clamp(3rem, 6vw, 5.2rem); }
.document h2 { margin: 2.4rem 0 .7rem; font-size: clamp(1.6rem, 2.9vw, 2.15rem); letter-spacing: -.025em; }
.document h1 + p { color: var(--ink); font-size: clamp(1.12rem, 1.65vw, 1.35rem); }
footer { color: #f5f6ee; background: #18372e; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.footer-brand { font-size: clamp(1.22rem, 2vw, 1.75rem); }
.footer-brand img { width: 3.6rem; height: 3.6rem; filter: brightness(0) invert(92%) sepia(10%) saturate(190%); }
.registration, .copyright { font-size: .875rem; color: #d2dfd1; }
.registration { margin-top: 1rem; }
.registration span { white-space: nowrap; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.footer-inner nav a[aria-current] { text-decoration-thickness: 2px; }
footer a:focus-visible { outline-color: #cedfc9; }
.copyright { border-top: 1px solid #546f60; padding-block: 1.1rem 1.4rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .masthead nav a::after, .toggle::after { transition: transform .17s ease; }
  .hero-link, .toggle, .profile-trigger { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
  .profile-dialog[open] { animation: reveal .18s ease-out; }
  @keyframes reveal { from { opacity: 0; transform: translateY(.45rem); } to { opacity: 1; transform: none; } }
}
@media (max-width: 62em) { .giving-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 45em) {
  .masthead { min-height: 4.3rem; flex-wrap: wrap; gap: .15rem .8rem; padding-block: .5rem; }
  .masthead:has(.menu-trigger:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
  .menu-trigger { padding-inline: .2rem; }
  .brand { gap: .55rem; font-size: 1rem; }
  .foundation-mark { width: 2.55rem; height: 2.55rem; }
  .masthead nav { width: 100%; flex-wrap: wrap; gap: .25rem 1.25rem; }
  .menu-trigger:not([hidden]) + nav { position: absolute; inset: 100% 0 auto; display: grid; gap: 0; padding: .25rem var(--gutter) 1rem; border-block: 1px solid var(--rule); background: var(--paper); box-shadow: 0 12px 18px rgb(23 47 37 / .08); }
  .menu-trigger:not([hidden]) + nav a { width: fit-content; min-height: 48px; }
  .hero-inner { padding-block: clamp(2.8rem, 7vw, 4rem) clamp(12rem, 36vw, 17rem); }
  .hero-photo { object-position: 58% center; }
  .hero h1 { font-size: clamp(2.2rem, 8.8vw, 3.9rem); }
  .hero p { max-width: 34ch; margin-top: 1.1rem; }
  .hero-link { margin-top: 1.15rem; }
  .about { grid-template-columns: 1fr; }
  .about { gap: 1.7rem; }
  .section-heading { flex-wrap: wrap; margin-bottom: 1.4rem; }
  .pillar summary { gap: .8rem; }
  .toggle { width: 2rem; height: 2rem; }
  .giving-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .giving-lead { margin-top: .85rem; }
  .giving-filters { margin-block: 1.1rem 1.35rem; }
  .giving-filter-mobile { max-width: none; }
  .giving-card summary, .profile-trigger { gap: .45rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (max-width: 35em) {
  .profile-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto 0 0; border-radius: 1.15rem 1.15rem 0 0; }
  .dialog-layout { padding: 1.65rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom)); }
  .giving-name { font-size: .875rem; }
  .giving-card summary, .profile-trigger { padding: .75rem; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .giving-grid .toggle { display: none; }
  .giving-mark { height: 5.5rem; padding: .5rem; }
  .giving-grid .giving-name { padding-block: .25rem; text-decoration: underline; text-decoration-color: #a2b2a4; text-underline-offset: .2em; }
}
@media (max-width: 22em) {
  .brand { font-size: .94rem; gap: .4rem; }
  .foundation-mark { width: 2.15rem; height: 2.15rem; }
  .giving-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; }
}
@media (forced-colors: active) {
  .toggle::before, .toggle::after, .menu-icon::before, .menu-icon::after { background: ButtonText; }
  .giving-filter-row button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

.contact-email { overflow-wrap: anywhere; }
