/* A Family Affair Foundation — shared styles for every page. */
:root {
  --cream: #F8F5EF;
  --paper: #FFFFFF;
  --sand: #F1EBE1;
  --ink: #1F1712;
  --ink-soft: #5A4D44;
  --accent: #1F1712;
  --accent-hover: #3A2E26;
  --brand: #B8261F;
  --line: rgba(43, 32, 26, .12);
  /* The three leaf colors from the logo's tree. */
  --red: #D92B2B;
  --gold: #E8B511;
  --green: #0F6B37;
  --photo-bg: #E8E0D3;
  --gutter: clamp(16px, 4vw, 44px);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --head-weight: 600;
  --head-tracking: -.015em;
  --r-btn: 3px;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1.55 32 32'%3E%3Cpath d='M16.0 6.9 16.0 6.7 16.1 6.3 16.3 5.6 16.6 4.7 17.2 3.7 18.0 2.6 19.0 1.7 20.2 0.9 21.7 0.3 23.2 0.0 24.8 0.0 26.4 0.4 27.9 1.1 29.3 2.1 30.4 3.3 31.3 4.7 31.8 6.3 32.0 7.9 31.8 9.6 31.3 11.2 30.4 12.8 29.3 14.4 27.9 15.9 26.4 17.4 24.8 18.8 23.2 20.2 21.7 21.5 20.2 22.8 19.0 24.0 18.0 25.2 17.2 26.2 16.6 27.1 16.3 27.9 16.1 28.4 16.0 28.8 16.0 28.9 16.0 28.8 15.9 28.4 15.7 27.9 15.4 27.1 14.8 26.2 14.0 25.2 13.0 24.0 11.8 22.8 10.3 21.5 8.8 20.2 7.2 18.8 5.6 17.4 4.1 15.9 2.7 14.4 1.6 12.8 0.7 11.2 0.2 9.6 0.0 7.9 0.2 6.3 0.7 4.7 1.6 3.3 2.7 2.1 4.1 1.1 5.6 0.4 7.2 0.0 8.8 0.0 10.3 0.3 11.8 0.9 13.0 1.7 14.0 2.6 14.8 3.7 15.4 4.7 15.7 5.6 15.9 6.3 16.0 6.7Z'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: #fff;
  font-weight: 600; font-size: var(--fs-small); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Event banner ---------- */
/* A slim strip above the header for the next event. It scrolls away with the page. */
.event-banner { background: var(--sand); border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.event-banner-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px 14px;
  max-width: 1320px; margin: 0 auto; padding: 9px calc(var(--gutter) + 32px);
  position: relative; line-height: 1.4;
}
.event-banner .heart { font-size: 16px; }
.event-banner p { text-wrap: balance; }
.event-banner strong { font-weight: 600; }
.event-banner-when { color: var(--ink-soft); white-space: nowrap; }
.event-banner-when::before { content: "·"; margin: 0 8px 0 2px; }
.event-banner .text-link { align-self: center; padding-bottom: 0; border-bottom: 0; white-space: nowrap; }
.event-banner-close {
  position: absolute; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink-soft);
}
.event-banner-close:hover { color: var(--ink); }
/* On phones the date drops under the title, and the strip lines up with the page gutter. */
@media (max-width: 640px) {
  .event-banner-inner { justify-content: flex-start; padding-left: var(--gutter); }
  .event-banner p { flex: 1; min-width: 0; }
  .event-banner-when { display: block; }
  .event-banner-when::before { content: none; }
}

/* ---------- Header ---------- */
/* The header stays on screen while the page scrolls, and slims down once it does.
   border-image paints its background past the 1320px column, edge to edge. */
.nav {
  position: sticky; top: 0; z-index: 40; background: var(--cream);
  border-image: linear-gradient(var(--cream) 0 0) fill 0 // 0 100vmax;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter);
  transition: padding .25s ease, margin .25s ease;
}
.brand { display: block; line-height: 0; }
.brand img { height: 64px; width: auto; mix-blend-mode: multiply; transition: height .25s ease; }
/* The bar gives back the height it loses as bottom margin, so the page below never jumps. */
.nav.is-scrolled {
  padding-top: 8px; padding-bottom: 8px; margin-bottom: 28px;
  border-image: linear-gradient(to top, #E3DED6 1px, var(--cream) 1px) fill 0 // 0 100vmax;
}
.nav.is-scrolled .brand img { height: 48px; }
/* 16px in full ink, one step up from the small size, so the links hold their own beside the logo and the Donate button. */
.nav-links { display: flex; gap: 32px; font-size: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink-soft); }
.nav-links a.is-current { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 9px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid var(--ink); border-radius: var(--r-btn); background: transparent; cursor: pointer;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s, background-color .2s;
}
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -5px; }
.menu-toggle .bars::after { top: 5px; }
.nav.menu-open .menu-toggle .bars { background: transparent; }
.nav.menu-open .menu-toggle .bars::before { transform: translateY(5px) rotate(45deg); }
.nav.menu-open .menu-toggle .bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-btn); cursor: pointer;
  font: 600 var(--fs-small)/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #fff; border: 1.5px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(31, 23, 18, .06); }
.btn-light { background: var(--cream); color: var(--ink); border: 1.5px solid var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-outline-light { color: var(--cream); border: 1.5px solid rgba(248, 245, 239, .55); background: transparent; }
.btn-outline-light:hover { background: rgba(248, 245, 239, .1); border-color: var(--cream); }
.btn .arrow, .text-link .arrow { transition: transform .25s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow.down, .text-link:hover .arrow.down { transform: translateY(3px); }
/* 13px top and bottom brings the header button to the 44px of the menu toggle beside it. */
.btn-small { padding: 13px 20px; }
/* The Donate button: the one filled red button on the site. A white heart leaf leads the word
   and beats on hover, so it reads as the foundation's own wherever it sits, cream or dark band. */
.btn-donate { background: var(--brand); color: #fff; border: 1.5px solid var(--brand); padding-left: 22px; }
.btn-donate::before {
  content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: var(--heart) center / contain no-repeat;
          mask: var(--heart) center / contain no-repeat;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.btn-donate:hover { background: #A21F19; border-color: #A21F19; box-shadow: 0 12px 24px -14px rgba(184, 38, 31, .7); }
.btn-donate:hover::before { transform: scale(1.18); }
.btn-donate.btn-small { padding-left: 17px; gap: 8px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 600; font-size: var(--fs-small); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1.5px solid currentColor;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Type ---------- */
.kicker { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
h2 { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.lead { color: var(--ink-soft); max-width: 31em; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.note { font-size: var(--fs-small); color: var(--ink-soft); text-wrap: pretty; }

/* A heart leaf from the logo, colored with --c. */
.heart {
  display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.12em;
  background: var(--c, var(--red));
  -webkit-mask: var(--heart) center / contain no-repeat;
          mask: var(--heart) center / contain no-repeat;
}

/* ---------- Layout ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(64px, 8vw, 104px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > p:last-child { color: var(--ink-soft); text-wrap: pretty; }
.section.flush-top { padding-top: 0; }
.band-paper { background: var(--paper); }
.band-sand { background: var(--sand); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.card { border-top: 1px solid var(--ink); padding-top: 22px; }
.card h3 { font-size: var(--fs-body); font-weight: 600; margin-bottom: 6px; }
.card h3 .heart { margin-right: 10px; font-size: 15px; }
.card p { color: var(--ink-soft); max-width: 28em; }
.card .card-link { margin-top: 16px; }

/* ---------- Inner page header ---------- */
/* Both columns start at the top, so the eyebrow and the label beside it share a line. */
.page-head {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(32px, 6vw, 84px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(36px, 6vw, 104px); align-items: start;
}
.page-head h1 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: var(--head-tracking);
  margin: 22px 0; text-wrap: balance;
}
.page-head .lead { font-size: 19px; max-width: 32em; }
.page-head .btn-row { margin-top: 32px; }

/* The column beside an inner page's title sits flat on the page, like the Our Family index:
   a label with its leaf-colored heart, ruled off above the details. */
.panel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.panel-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.panel > .panel-label { align-self: stretch; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ink); }
.panel-title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.panel-text { color: var(--ink-soft); font-size: var(--fs-small); text-wrap: pretty; }
.panel .btn { margin-top: 8px; }

.stats { list-style: none; padding: 0; }
.stats li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 18px 0 20px; border-top: 1px solid var(--ink); }
.stats strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.stats span { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.45; }

/* ---------- Statement ---------- */
.statement { max-width: 980px; margin: 0 auto; padding: clamp(64px, 8.5vw, 112px) var(--gutter); text-align: center; }
.statement .hearts { display: inline-flex; gap: 8px; font-size: 18px; margin-bottom: 26px; }
.statement blockquote {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}
.statement p { color: var(--ink-soft); max-width: 40em; margin: 28px auto 0; text-wrap: pretty; }
.statement .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Dark call to action ---------- */
.cta-band { background: var(--ink); color: var(--cream); }
.cta-inner {
  max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end;
}
.cta-band .kicker { color: rgba(248, 245, 239, .7); }
.cta-band h2 { color: #fff; max-width: 15em; }
.cta-band p { color: rgba(248, 245, 239, .74); max-width: 34em; margin-top: 18px; }

/* ---------- Members ---------- */
.group + .group { margin-top: clamp(64px, 8vw, 104px); }
.group-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px;
  padding-bottom: 18px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--ink);
}
.group-head .text-link { align-self: baseline; }
.group-title {
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.015em;
}
.group-title .heart { font-size: .62em; margin-right: 12px; vertical-align: -.02em; }

.member-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 44px) clamp(16px, 2.2vw, 28px);
}
.member-grid > li { display: flex; min-width: 0; }

.member { flex: 1; display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; cursor: zoom-in; }
.member-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--photo-bg); }
.member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.member-photo::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231F1712' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9.5 2.5h4v4M13.5 2.5 9 7M6.5 13.5h-4v-4M2.5 13.5 7 9'/%3E%3C/svg%3E");
  box-shadow: 0 4px 14px rgba(31, 23, 18, .18);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.member:hover .member-photo img { transform: scale(1.035); }
.member:hover .member-photo::after, .member:focus-visible .member-photo::after { opacity: 1; transform: none; }
.member:focus-visible { outline: none; }
.member:focus-visible .member-photo { outline: 2px solid var(--brand); outline-offset: 3px; }
.member-name { display: block; margin-top: 16px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 21px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.member-role { display: block; margin-top: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.member-quote { display: block; margin-top: 12px; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.member:hover .member-name { text-decoration: underline; text-decoration-color: var(--c, var(--brand)); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.member.is-link { cursor: pointer; }
.member.is-link .member-photo::after {
  background-size: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231F1712' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E");
}

.page-index ul { list-style: none; padding: 0; margin-top: 14px; }
.page-index a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--ink); color: inherit; text-decoration: none;
}
.page-index li:last-child a { border-bottom: 1px solid var(--line); }
.page-index .heart { font-size: 16px; }
.page-index-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.page-index .arrow { transition: transform .25s; }
.page-index a:hover .page-index-name { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.page-index a:hover .arrow { transform: translateY(3px); }

/* Portrait viewer */
.viewer {
  width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .55);
}
.viewer::backdrop { background: rgba(24, 17, 13, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* A fixed size, so the dialog holds still while paging between members. */
.viewer[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: min(800px, calc(100dvh - 32px)); animation: viewer-in .4s cubic-bezier(.2, .7, .2, 1); }
.viewer[open]::backdrop { animation: fade-in .3s ease; }
@keyframes viewer-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
.viewer-photo { position: relative; min-height: 0; background: var(--photo-bg); touch-action: pan-y; }
.viewer-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.viewer-photo img.is-swapping { opacity: 0; }
.viewer-info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(28px, 4vw, 52px); padding-top: clamp(28px, 4vw, 60px); }
.viewer-group { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.viewer-group .heart { font-size: 15px; }
.viewer-name { margin-top: 18px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.viewer-role { margin-top: 12px; padding-bottom: 32px; font-size: 18px; color: var(--ink-soft); }
.viewer-quote { margin: 0 0 32px; }
.viewer-quote blockquote { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
/* Longer statements step down a size so they still read as one piece beside the photo. */
.viewer-quote.is-long blockquote { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.45; }
.viewer-quote blockquote::before { content: "“"; }
.viewer-quote blockquote::after { content: "”"; }
.viewer-bio { margin-bottom: 32px; color: var(--ink-soft); text-wrap: pretty; }
.viewer-peers { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.viewer-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.peers { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.peer {
  display: block; width: 52px; height: 52px; padding: 0; overflow: hidden; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--photo-bg);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line); transition: transform .2s, box-shadow .2s;
}
.peer img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--fy, 22%); transform: scale(1.35); transform-origin: 50% var(--fy, 22%); }
.peer:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--c, var(--brand)); }
.viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 32px; }
.viewer-count { font-size: var(--fs-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.icon-btn {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; transition: background .2s;
}
.icon-btn:hover { background: rgba(31, 23, 18, .06); }
.icon-btn svg { width: 18px; height: 18px; }
.viewer-close { position: absolute; top: 14px; right: 14px; z-index: 2; border: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 16px rgba(31, 23, 18, .2); }
.viewer-close:hover { background: #fff; }

/* Home: a cluster of the members' faces */
.family { background: var(--paper); overflow: hidden; }
.family-inner {
  max-width: 1320px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 104px); align-items: center;
}
.family-copy p:not(.kicker) { color: var(--ink-soft); margin-top: 20px; max-width: 30em; text-wrap: pretty; }
.family-copy .btn { margin-top: 32px; }
.faces { display: flex; flex-direction: column; align-items: center; --size: clamp(58px, 7.4vw, 104px); }
.faces-row { display: flex; gap: clamp(6px, 1vw, 12px); }
.faces-row + .faces-row { margin-top: calc(var(--size) * -0.12); }
.face {
  position: relative; display: block; width: var(--size); height: var(--size); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper), 0 10px 24px -12px rgba(31, 23, 18, .45);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% var(--fy, 22%); background: var(--photo-bg); }
.face::after {
  content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  padding: 6px 10px; border-radius: 3px; background: var(--ink); color: #fff; white-space: nowrap;
  font-size: 13px; font-weight: 600; line-height: 1.2; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s;
}
.face:hover, .face:focus-visible { transform: translateY(-4px); z-index: 1; }
.face:hover::after, .face:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* Home: get involved */
.involve { background: var(--ink); color: var(--cream); }
.involve-inner { max-width: 1320px; margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.involve .kicker { color: rgba(248, 245, 239, .7); }
.involve h2 { color: #fff; }
.involve .section-head > p:last-child { color: rgba(248, 245, 239, .74); }
.involve-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.involve-link {
  display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 30px;
  border: 1px solid rgba(248, 245, 239, .18); border-radius: 4px; text-decoration: none; color: var(--cream);
  transition: background .25s, border-color .25s;
}
.involve-link:hover { background: rgba(248, 245, 239, .06); border-color: rgba(248, 245, 239, .4); }
.involve-link .heart { font-size: 22px; margin-bottom: 14px; }
.involve-title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 28px; line-height: 1.15; color: #fff; }
.involve-text { color: rgba(248, 245, 239, .72); text-wrap: pretty; }
.involve-cta { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: var(--fs-small); display: inline-flex; gap: 8px; }
.involve-cta .arrow { transition: transform .25s; }
.involve-link:hover .involve-cta .arrow { transform: translateX(3px); }

/* ---------- Scholarship ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.step-num { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 46px; line-height: 1; color: var(--brand); margin-bottom: 18px; }
.steps h3 { font-size: var(--fs-body); font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.split-copy p:not(.kicker) { color: var(--ink-soft); margin-top: 20px; max-width: 32em; text-wrap: pretty; }
.split-copy .btn-row, .split-copy .text-link { margin-top: 28px; }
.mini-members { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0;
  list-style: none; cursor: pointer; font-weight: 600; font-size: 18px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; transition: transform .25s;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 46em; text-wrap: pretty; }
.faq details p a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Events ---------- */
.event-list { border-top: 1px solid var(--ink); }
.event {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.event-date { display: flex; flex-direction: column; align-items: center; padding: 12px 0 14px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper); line-height: 1; }
.event-date .m { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.event-date .d { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 44px; margin: 8px 0 6px; }
.event-date .y { font-size: 13px; color: var(--ink-soft); }
.event-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.event-type .heart { font-size: 14px; }
.tag { padding: 3px 8px; border-radius: 3px; background: var(--sand); color: var(--ink); letter-spacing: .08em; font-size: 11px; }
.event h3 { margin-top: 10px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.01em; }
.event-meta { margin-top: 10px; display: grid; gap: 4px; color: var(--ink-soft); }
.event-meta a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.event-desc { margin-top: 14px; color: var(--ink-soft); max-width: 40em; text-wrap: pretty; }
.event-flyer { display: inline-flex; flex-direction: column; gap: 8px; margin-top: 18px; color: var(--ink); font-size: var(--fs-small); font-weight: 600; text-underline-offset: 3px; }
.event-flyer img { width: 180px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 18px rgba(43, 32, 26, .18); transition: transform .2s; }
.event-flyer:hover img { transform: translateY(-2px); }
/* Pictures from a past event, in a row under its flyer. */
.event-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.event-photos img { display: block; width: 120px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; background: var(--photo-bg); box-shadow: 0 6px 18px rgba(43, 32, 26, .18); }
.event-flyer + .event-photos { margin-top: 14px; }
.event-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.event.is-past .event-date { border-color: var(--line); background: transparent; }
.event.is-past .event-date .m { color: var(--ink-soft); }

/* "Add to calendar": a ghost button that drops a short list of calendars below it. */
.cal-menu { position: relative; }
.cal-menu summary { list-style: none; width: 100%; }
.cal-menu summary::-webkit-details-marker { display: none; }
.cal-menu .caret { font-size: .8em; transition: transform .2s; }
.cal-menu[open] .caret { transform: rotate(180deg); }
.cal-options {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 100%;
  display: grid; padding: 6px; border: 1.5px solid var(--ink); border-radius: var(--r-btn);
  background: var(--paper); box-shadow: 0 14px 30px -14px rgba(43, 32, 26, .35);
}
.cal-options a, .cal-options button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 12px; border: 0; border-radius: 2px; background: none; cursor: pointer;
  font: 600 var(--fs-small)/1.2 var(--font-body); color: var(--ink); text-align: left; text-decoration: none; white-space: nowrap;
}
.cal-options a:hover, .cal-options button:hover, .cal-options :focus-visible { background: var(--sand); }
.cal-options button span { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.event-actions .cal-options { left: auto; right: 0; }

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px dashed rgba(43, 32, 26, .22); border-radius: 6px;
}
.empty .hearts { display: inline-flex; gap: 8px; font-size: 18px; margin-bottom: 10px; }
.empty h3 { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 28px; line-height: 1.2; }
.empty p { color: var(--ink-soft); max-width: 30em; }
.empty .btn-row { justify-content: center; margin-top: 14px; }

[data-next-event] { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
[data-next-event] .btn-row { align-self: stretch; margin-top: 8px; }
.next-when { font-size: var(--fs-small); font-weight: 600; color: var(--brand); }

/* ---------- Donate ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.way {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(26px, 3vw, 36px);
  background: var(--paper); border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(31, 23, 18, .3);
}
.way .heart { font-size: 20px; margin-bottom: 6px; }
.way h3 { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.way p { color: var(--ink-soft); text-wrap: pretty; }
.way .btn, .way .text-link { margin-top: auto; }
.way > :last-child { margin-top: auto; }
.address { font-style: normal; white-space: pre-line; color: var(--ink); font-weight: 600; }
.promise { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: clamp(36px, 5vw, 56px); padding: 30px 30px 32px; border-radius: 4px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.promise .heart { font-size: 30px; --c: var(--gold); }
.promise p { color: var(--ink-soft); max-width: 46em; text-wrap: pretty; }
.promise strong { color: var(--ink); }
.tax { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.tax .muted { margin-top: 20px; max-width: 32em; text-wrap: pretty; }
.tax-facts { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.tax-facts li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tax-facts span:first-child { color: var(--ink-soft); }
.tax-facts span:last-child { font-weight: 600; text-align: right; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.foot-main {
  max-width: 1320px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
}
.foot-org { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 18px; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); text-wrap: balance; }
.foot-about p:not(.foot-org) { margin-top: 14px; max-width: 26em; color: var(--ink-soft); font-size: var(--fs-small); }
.foot-label { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.foot-links { list-style: none; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); }
.foot-links a, .foot-col a { color: var(--ink); text-decoration: none; }
.foot-links a:hover, .foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-col p { font-size: var(--fs-small); color: var(--ink-soft); }
.foot-col p + p { margin-top: 10px; }
.foot-base {
  max-width: 1320px; margin: 0 auto; padding: 22px var(--gutter) 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: var(--fs-small); color: var(--ink-soft);
}
.foot-base::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: 10px; background: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .brand img { height: 54px; }
  .nav.is-scrolled { margin-bottom: 22px; }
  .nav.is-scrolled .brand img { height: 44px; }
  .menu-toggle { display: inline-grid; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 4px var(--gutter) 28px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(31, 23, 18, .3);
  }
  .nav.menu-open .nav-links { display: flex; animation: menu-in .25s ease; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
  .nav-links a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-weight: var(--head-weight); font-size: 26px; color: var(--ink);
  }
  .nav-links a.is-current { text-decoration: none; color: var(--brand); }
  .section-head, .page-head, .split, .tax, .family-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-head { gap: 40px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .involve-links { grid-template-columns: minmax(0, 1fr); }
  .involve-link { min-height: 0; }
  .involve-link .heart { margin-bottom: 4px; }
  .family-inner { gap: 48px; }
  .faces { order: 2; }
  .foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-about { grid-column: 1 / -1; }
  .viewer[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: calc(100dvh - 32px); overflow-y: auto; }
  .viewer-photo { height: min(54dvh, 118vw); }
  .viewer-info { overflow: visible; padding: 24px 22px 0; }
  .viewer-name { margin-top: 10px; }
  .viewer-role { padding-bottom: 22px; }
  .viewer-quote, .viewer-bio { margin-bottom: 22px; }
  .viewer-peers { padding-top: 18px; }
  .peers { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -4px -22px; padding: 4px 22px; }
  .peers::-webkit-scrollbar { display: none; }
  .peer { flex: none; width: 46px; height: 46px; }
  /* Keep the previous / next buttons in reach while the sheet scrolls. */
  .viewer-nav { position: sticky; bottom: 0; margin: 22px -22px 0; padding: 12px 22px; background: var(--paper); border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .member-name { font-size: 18px; margin-top: 12px; }
  .member-role { font-size: 12px; letter-spacing: .06em; }
  .member-quote { margin-top: 8px; font-size: 14px; line-height: 1.5; }
  .member-photo::after { display: none; }
  .cards.cols-4, .steps, .ways, .mini-members { grid-template-columns: minmax(0, 1fr); }
  .mini-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .event-date .d { font-size: 34px; }
  .event-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
  .event-actions .cal-options { left: 0; right: auto; }
  .page-head .lead { font-size: 18px; }
  .stats strong { font-size: 34px; }
  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .viewer { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .viewer[open] { height: calc(100dvh - 20px); }
}
@media (max-width: 420px) {
  .btn-row .btn, .btn-row .cal-menu, .cta-inner .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
