/* Innovation Club: shared styles for the six static pages. */
:root {
  color-scheme: dark;
  --bg: #060a10;
  --surface: #0c131d;
  --surface-raised: #111d29;
  --text: #f0f3f8;
  --body: #b0bccb;
  --muted: #93a2b5;
  --amber: #f5c438;
  --teal: #55d9c7;
  --border: #25303e;
  --radius: 20px;
  --space-section: clamp(4rem, 8vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1rem/1.75 'DM Sans', sans-serif; }
body::before { content: ''; position: absolute; inset: 0 0 auto; height: 650px; pointer-events: none; background: radial-gradient(ellipse at 85% 0, #f5c4380b, transparent 55%); z-index: -1; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--text); font-family: 'Outfit', sans-serif; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.4rem; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--amber); color: var(--bg); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 4px; }
[hidden] { display: none !important; }
.container { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section-alt { background: var(--surface); border-block: 1px solid #ffffff05; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-head p { max-width: 35rem; margin-top: .9rem; }
.eyebrow { color: var(--teal); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; display: block; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: .65rem; background: currentColor; border-radius: 50%; vertical-align: 1px; }
.amber { color: var(--amber); }
.text-link { color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: .6rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; min-height: 48px; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: 9px; font-weight: 600; line-height: 1.4; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: #101217; }
.button-primary:hover { background: #ffda6b; }
.button-secondary { border-color: #465260; color: var(--text); background: transparent; }
.button-secondary:hover { background: #ffffff08; }
.button-row { display: flex; gap: .85rem; flex-wrap: wrap; }
.skip-link { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 20; background: var(--amber); color: #101217; padding: .65rem 1rem; border-radius: 6px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Shared navigation. Links remain available if JavaScript is unavailable. */
.site-header { position: sticky; top: 0; z-index: 10; background: #060a10f5; border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(16px)) { .site-header { background: #060a10e6; backdrop-filter: blur(16px); } }
.nav-shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font: 500 1.05rem/1.2 'Outfit', sans-serif; white-space: nowrap; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand strong { color: var(--amber); font-weight: 600; }
.brand small { color: var(--muted); font: 400 .75rem/1.4 'DM Sans', sans-serif; display: block; letter-spacing: .03em; margin-top: .3rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; position: relative; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links > li > a:not(.button), .nav-archive > summary { border-bottom: 2px solid transparent; }
.nav-links > li > a[aria-current="page"], .nav-archive.is-current > summary { border-bottom-color: var(--amber); }
.nav-links .button { min-height: 42px; padding: .55rem 1rem; font-size: .85rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-archive-item { position: relative; }
.nav-archive > summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; list-style: none; color: var(--body); font-size: .9rem; }
.nav-archive > summary::-webkit-details-marker { display: none; }
.nav-archive > summary::marker { content: ''; }
/* Two centered strokes draw a decorative plus; opening hides only the vertical stroke. */
.nav-archive > summary::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: var(--muted);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
}
.nav-archive[open] > summary::after { background-size: 12px 1.5px, 0 0; }
.nav-archive[open] > summary::after, .nav-archive.is-current > summary::after { color: var(--amber); }
.nav-archive, .nav-archive > summary, .nav-archive > summary::after, .archive-menu { animation: none; transition: none; transform: none; }
.nav-archive.is-current > summary { color: var(--amber); }
.archive-menu { position: absolute; top: calc(100% + .65rem); right: 0; width: 270px; max-width: calc(100vw - 2rem); padding: .5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 40px #0006; }
.nav-links .archive-menu a { display: flex; padding: .6rem .85rem; border-radius: 6px; white-space: normal; }
.nav-links .archive-menu a:hover, .nav-links .archive-menu a[aria-current] { background: var(--surface-raised); }

/* Home and shared introductions. */
.hero { padding-block: clamp(3rem, 6vw, 6rem) 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; }
.hero-copy > p { max-width: 35rem; margin: 1.6rem 0 2rem; font-size: 1.08rem; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-art { min-width: 0; min-height: 400px; display: grid; place-items: center; position: relative; border: 1px solid #f5c43826; border-radius: 50% 50% 28px 28px; background: radial-gradient(circle at 50% 45%, #f5c4380b, transparent 65%), var(--surface); overflow: hidden; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; width: 270px; height: 270px; border: 1px solid #f5c43817; border-radius: 50%; }
.hero-art::after { width: 350px; height: 350px; border-style: dashed; }
.hero-art svg { width: 230px; height: 250px; position: relative; z-index: 1; }
.art-caption { position: absolute; bottom: 1.6rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); margin-top: 3.5rem; }
.hero-stats div { padding: 1.5rem 0; }
.hero-stats div + div { border-left: 1px solid var(--border); padding-left: 2rem; }
.hero-stats strong { font: 600 2.3rem/1 'Outfit', sans-serif; color: var(--text); display: block; margin-bottom: .6rem; }
.hero-stats span { color: var(--muted); font-size: .82rem; }
.interest-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.5rem; padding-block: 1rem; color: var(--muted); font-size: .75rem; }
.interest-strip span::before { content: '＋'; color: var(--teal); margin-right: .65rem; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5rem; align-items: start; }
.prose p + p { margin-top: 1rem; }
.prose > p { max-width: 66ch; }
.about-grid h2 { margin-bottom: 1.5rem; }
.info-panel { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.info-panel dl { margin-bottom: 0; }
.info-panel dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--border); }
.info-panel dl > div:last-child { border: 0; }
dt { color: var(--muted); font-size: .8rem; }
dd { margin: 0; color: var(--text); }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.vision-card { border-top: 2px solid var(--teal); padding: 1.8rem; background: #ffffff03; border-radius: 0 0 var(--radius) var(--radius); }
.vision-card:first-child { border-color: var(--amber); }
.vision-card h3 { margin-bottom: 1rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pillar-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; background: linear-gradient(145deg, #ffffff03, transparent); }
.pillar-number { display: block; color: var(--teal); font-size: .8rem; margin-bottom: 1.8rem; }
.pillar-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.pillar-card p { font-size: .9rem; }
.feature-story { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.feature-story img { height: auto; width: 100%; aspect-ratio: 1280 / 859; object-fit: contain; align-self: center; }
.feature-story .story-copy { padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.feature-story p { margin: 1rem 0 1.5rem; }
.team-teaser { margin-top: 1.5rem; padding: 1.6rem 2rem; display: flex; justify-content: space-between; gap: 2rem; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); }
.team-teaser h3 { margin-bottom: .4rem; }
.join-panel { text-align: center; max-width: 760px; margin-inline: auto; }
.join-panel > p { max-width: 580px; margin: 1.5rem auto 2rem; }
.join-panel .button-row { justify-content: center; }
.faq { max-width: 760px; margin: 3rem auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding-block: 1.1rem; }
.faq summary { color: var(--text); padding-right: .5rem; font-weight: 500; }
.faq details p { margin-top: .75rem; max-width: 65ch; }
.page-intro { padding-block: 4.5rem 3rem; }
.page-intro h1 { max-width: 850px; }
.page-intro p { max-width: 40rem; margin-top: 1.5rem; font-size: 1.05rem; }
.page-intro .button-row { margin-top: 2rem; }

/* Our Team: four sections, with one profile per person. */
.founder-section { padding-top: 3.5rem; }
.team-page-heading { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.featured-person { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid #f5c43855; border-radius: 28px; background: radial-gradient(ellipse at 0 0, #f5c4380d, transparent 65%), var(--surface); position: relative; overflow: hidden; }
.featured-person::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--amber), transparent); }
.person-avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #55d9c710; color: var(--teal); border: 1px solid #55d9c72c; font: 500 1rem/1 'Outfit', sans-serif; flex-shrink: 0; }
.person-avatar-large { width: 138px; height: 154px; font-size: 2.8rem; border-radius: 80px 80px 22px 22px; color: var(--amber); background: #f5c4380a; border-color: #f5c43855; }
/* Real portraits retain their full content; no facial retouching or face cropping. */
.profile-portrait { position: relative; overflow: hidden; border-radius: 16px; background: var(--bg); }
.featured-person .profile-portrait { width: clamp(160px, 18vw, 210px); height: auto; aspect-ratio: 2 / 3; }
.leader-card .profile-portrait { width: 144px; height: auto; aspect-ratio: 2 / 3; }
.profile-portrait img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.profile-initials { line-height: 1; }
.featured-person h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.featured-person-name { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.featured-person p { margin-top: 1.1rem; max-width: 62ch; }
.featured-person .eyebrow { color: var(--amber); }
.team-section-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.7rem; }
.team-section-nav a { font-size: .85rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.team-section-nav a:hover { color: var(--amber); }
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 3rem; }
.leader-card { padding: 2rem; border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius); }
.leader-card .person-avatar { margin-bottom: 1.5rem; }
.person-role { color: var(--teal); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.person-team { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.teams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.team-card { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); }
.team-card > p { font-size: .9rem; margin-top: .75rem; }
.member-list { margin-top: 1.5rem; }
.member-list li { padding-block: .7rem; border-top: 1px solid var(--border); color: var(--text); display: flex; gap: .75rem; align-items: center; }
.member-list li::before { content: ''; height: 5px; width: 5px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }
.archive-photos { margin-top: 3rem; }
.archive-photos > h3 { margin-bottom: 1.5rem; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.photo-grid img { border-radius: var(--radius); width: 100%; }
.photo-grid figcaption { font-size: .8rem; color: var(--muted); margin-top: .65rem; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.member-card { display: flex; align-items: center; gap: 1rem; padding: 1.3rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); min-width: 0; }
.member-card h3 { font: 500 1rem/1.45 'DM Sans', sans-serif; overflow-wrap: anywhere; }
.past-president { border-color: #55d9c740; background: radial-gradient(ellipse at 0 0, #55d9c709, transparent 70%), var(--surface); }
.past-president::after { background: linear-gradient(90deg, var(--teal), transparent); }
.past-president .eyebrow, .past-president .person-avatar-large { color: var(--teal); }
.past-president .person-avatar-large { border-color: #55d9c740; background: #55d9c70a; }
/* Founder and Past President share equal cards without changing their portraits. */
.featured-leadership-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.featured-leadership-grid .featured-person { min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.featured-leadership-grid .profile-portrait { width: 144px; }
.featured-leadership-grid h2 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
@media (min-width: 1024px) {
  .featured-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-leadership-grid .profile-portrait { width: 180px; }
}
.past-members-section { background: linear-gradient(180deg, #f5c43806, transparent 75%); }
.thank-you { max-width: 710px; padding-left: 1.5rem; border-left: 2px solid var(--amber); margin: 1.5rem 0 2.5rem; color: #d4c9b2; font-size: 1.1rem; }
.past-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 2rem; }
.past-list li { color: var(--text); padding: .8rem 0; border-bottom: 1px solid var(--border); }

/* Archive photos stay readable without JS and become modal buttons when supported. */
.archive-preview { border-bottom: 1px solid var(--border); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.archive-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive-card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.archive-photo-link, .archive-photo-frame { display: block; position: relative; background: var(--bg); }
.archive-photo-link img, .archive-photo-frame img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.archive-photo-button { width: 100%; padding: 0; border: 0; appearance: none; color: inherit; font: inherit; text-align: inherit; }
.archive-photo-button:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; border-radius: 0; }
.archive-photo-link:hover { outline: 1px solid var(--teal); outline-offset: -1px; }
.archive-open-label { position: absolute; bottom: .7rem; right: .7rem; background: #060a10eb; padding: .3rem .65rem; border: 1px solid var(--border); border-radius: 6px; font-size: .8rem; color: var(--text); pointer-events: none; }
.archive-card figcaption { padding: 1.3rem; }
.archive-card h2, .archive-card h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
.archive-card p { font-size: .85rem; margin-top: .7rem; }
.archive-gallery-section { padding-top: 1rem; }
.archive-gallery-section .callout { background: var(--surface); }
.past-members-link { margin-top: 1.8rem; }
.photo-lightbox { width: min(1100px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100svh - 2rem); margin: auto; padding: 1.2rem; color: var(--body); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; }
.photo-lightbox::backdrop { background: #000d; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.lightbox-toolbar h2 { font-size: 1.3rem; }
.lightbox-close { flex-shrink: 0; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 1.5rem; }
.lightbox-media img { width: auto; height: auto; max-width: 100%; max-height: 65vh; margin-inline: auto; object-fit: contain; background: var(--bg); }
.lightbox-caption { margin-top: 1rem; }
.lightbox-status { font-size: .9rem; color: var(--amber); }
.messages-section { padding-top: 1rem; }
.messages-empty { max-width: 850px; margin-inline: auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid #f5c43840; border-radius: 28px; background: radial-gradient(ellipse at top left, #f5c4380b, transparent 70%), var(--surface); }
.messages-empty svg { width: 52px; height: 52px; color: var(--amber); margin-bottom: 1.5rem; }
.messages-empty h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.messages-empty p { max-width: 60ch; margin: 1.3rem 0 2rem; }
.message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.message-card { min-width: 0; padding: clamp(1.4rem, 4vw, 2rem); background: var(--surface); border: 1px solid var(--border); border-top-color: var(--amber); border-radius: var(--radius); }
.message-card:only-child { grid-column: 1 / -1; width: 100%; max-width: 850px; justify-self: center; }
.messages-actions { max-width: 850px; margin: 2rem auto 0; }
.message-author { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.message-author img { width: 64px; height: 80px; object-fit: contain; border-radius: 8px; }
.message-author h3 { font-size: 1.2rem; }
.message-role, .message-date { color: var(--muted); font-size: .8rem; }
.message-card blockquote { margin: 0; color: var(--text); line-height: 1.85; overflow-wrap: anywhere; }
.message-card blockquote p + p { margin-top: 1rem; }
.message-date { display: block; margin-top: 1.5rem; }

/* Events and programs keep their original content, on dedicated pages. */
.filter-links { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--border); border-radius: 30px; color: var(--text); font-size: .85rem; }
.filter-links a:hover { border-color: var(--teal); }
.events-section, .programs-section { padding-top: 1rem; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.event-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); scroll-margin-top: 7rem; }
.event-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event-copy { padding: 1.8rem; }
.event-copy h2 { font-size: 1.65rem; margin-bottom: 1rem; }
.event-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.event-card-featured h2 { font-size: clamp(2rem, 4vw, 3rem); }
.event-card-featured img { height: auto; }
.event-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.event-facts span { padding: .2rem .6rem; font-size: .75rem; border: 1px solid var(--border); border-radius: 5px; color: var(--text); }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 3rem; }
.callout h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.program-list { display: grid; gap: 2rem; }
.program-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 7rem; }
.program-card:nth-child(even) .program-photo { order: 2; }
.program-photo { min-width: 0; height: auto; width: 100%; aspect-ratio: 1280 / 859; object-fit: contain; align-self: center; }
#field-trips .program-photo { aspect-ratio: 1280 / 854; }
.program-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.program-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.program-copy > p { margin-top: 1.2rem; }
.program-copy dl { margin: 1.5rem 0; display: grid; gap: .8rem; }
.program-copy dl > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-bottom: .65rem; }

/* Shared footer. */
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-brand > p { max-width: 350px; margin-top: 1rem; font-size: .9rem; }
.footer-grid h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid li + li { margin-top: .4rem; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 36px; font-size: .9rem; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--amber); }
.footer-bar { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .75rem; color: var(--muted); }

/* Layout changes follow content space, rather than a particular device. */
@media (max-width: 1024px) {
  .hero-grid { gap: 2rem; }
  .hero-art { min-height: 340px; }
  .about-grid { gap: 2.5rem; }
  .nav-links { gap: 1.1rem; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Avoid tall cover crops of group photographs in narrow two-column cards. */
  .feature-story, .program-card { grid-template-columns: minmax(0, 1fr); }
  /* Keep the reserved ratios above, including while lazy images are loading. */
  .feature-story img, .program-photo { height: auto; object-fit: contain; }
  .program-card:nth-child(even) .program-photo { order: 0; }
  .program-copy, .feature-story .story-copy { min-width: 0; }
  .member-list li { overflow-wrap: anywhere; }
  .nav-links .button, .footer-grid li a { min-height: 44px; }
  .faq details { padding-block: .6rem; }
  .faq summary { min-height: 44px; padding-block: .5rem; }
  .lightbox-toolbar { position: sticky; top: 0; z-index: 1; background: var(--surface); }
  .lightbox-toolbar h2 { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 900px) {
  .nav-shell { flex-wrap: wrap; gap: 0; padding-block: .7rem; min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { width: 100%; flex-direction: column; align-items: stretch; padding-block: .75rem; gap: .25rem; max-height: calc(100vh - 90px); max-height: calc(100svh - 90px); overflow-y: auto; }
  .nav-links > li > a { display: flex; width: 100%; }
  .site-header[data-menu-enhanced="true"] .nav-links:not(.is-open) { display: none; }
  .archive-menu { position: static; width: 100%; max-width: none; margin: .3rem 0 .6rem; box-shadow: none; border-left: 2px solid var(--teal); }
  .nav-archive > summary { justify-content: space-between; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 2rem, 1160px); }
  .hero-grid, .about-grid, .event-card-featured { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .hero-art { min-height: 280px; border-radius: 160px 160px 20px 20px; max-width: 430px; width: 100%; margin-inline: auto; }
  .hero-art svg { width: 180px; height: 195px; }
  .hero-art::before { width: 200px; height: 200px; }
  .hero-art::after { width: 260px; height: 260px; }
  .hero-stats { margin-top: 2.5rem; }
  .hero-stats div + div { padding-left: 1rem; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero-stats span { font-size: .75rem; }
  .section-head { display: block; }
  .section-head > a { margin-top: 1.5rem; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid, .leadership-grid, .teams-grid, .photo-grid, .events-grid { grid-template-columns: 1fr; }
  .team-teaser, .callout { align-items: start; flex-direction: column; gap: 1.3rem; }
  .featured-person { grid-template-columns: 1fr; }
  .featured-person .profile-portrait { width: 144px; }
  .leader-card .profile-portrait { width: 128px; }
  .message-grid { grid-template-columns: 1fr; }
  .person-avatar-large { width: 80px; height: 90px; font-size: 1.8rem; }
  .past-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bar { flex-direction: column; }
}
@media (max-width: 480px) {
  .pillar-grid, .people-grid, .past-list, .archive-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-stats div + div { padding-left: .65rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-stats span { font-size: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .info-panel, .leader-card, .team-card { padding: 1.4rem; }
  .brand { font-size: .95rem; }
  .brand small { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
