@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #172d3d;
  --muted: #465660;
  --navy: #10283c;
  --navy-soft: #1b4257;
  --paper: #fffcf6;
  --cream: #f7eedc;
  --white: #fffdf8;
  --blue: #08739b;
  --red: #ab1633;
  --red-dark: #86132a;
  --green: #1d5a44;
  --gold: #f6cc4e;
  --gold-hover: #ffdc70;
  --sage: #e2ede4;
  --edge: #ddd8ca;
  --focus: #126b8c;
  --gutter: clamp(1rem, 4.2vw, 4.5rem);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.62 var(--sans);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, p, ul, ol, dl, dd { margin: 0; }
figure { min-width: 0; }
button, summary { font: inherit; }
h1, h2, h3 {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(4rem, 7.25vw, 7.55rem); }
h2 { font-size: clamp(2.85rem, 5.05vw, 5rem); }
h3 { font-size: clamp(2rem, 3vw, 2.75rem); }
em { font-weight: 400; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus { outline: 0; }
[id] { scroll-margin-top: 7rem; }

.shell {
  width: min(100% - 2 * var(--gutter), 82rem);
  margin-inline: auto;
}
.section-space { padding-block: clamp(3.9rem, 8vw, 8.15rem); }
.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  transform: translateY(-165%);
  padding: .65rem .9rem;
  color: var(--ink);
  background: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: linear-gradient(110deg, #fff8eaf5 0%, #fffdf8f2 57%, #e8f3f2f5 100%);
  border-bottom: 1px solid #b9cfcd;
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: 4.85rem;
  gap: clamp(.82rem, 1.85vw, 1.8rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .63rem;
  color: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 3.75rem; height: 3.75rem; object-fit: contain; border-radius: .18rem; }
.brand-second { display: block; margin-top: .18em; font-weight: 500; font-size: .84em; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.18rem, .48vw, .55rem);
  margin-left: auto;
}
.primary-nav a, .mobile-menu a { text-decoration: none; font-size: .94rem; font-weight: 600; }
.primary-nav a { padding: .56rem .67rem; border-radius: .5rem; white-space: nowrap; }
.primary-nav a:hover, .primary-nav [aria-current], .mobile-menu a:hover, .mobile-menu [aria-current] {
  color: #0d4a42;
  background: #dceee6;
}
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.3rem;
  justify-content: center;
  align-items: center;
  gap: .9rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button > span, .text-link > span { font: 1em/1 var(--sans); }
.button-primary { color: var(--navy); background: var(--gold); }
.button-primary:hover { background: var(--gold-hover); }
.button-nav { color: var(--white); background: var(--red); white-space: nowrap; }
.button-nav:hover, .button-nav[aria-current] { background: var(--red-dark); }
.button-outline { border-color: #758776; color: var(--navy); }
.button-outline:hover { background: var(--sage); }
.text-link {
  display: inline;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .24em;
}
.text-link > span { margin-left: .5em; }
.text-link:hover { text-decoration-thickness: .15em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.65rem; }
.eyebrow {
  color: var(--blue);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .145em;
  line-height: 1.35;
  text-transform: uppercase;
}
.lede { color: var(--muted); max-width: 42rem; font-size: clamp(1.1rem, 1.5vw, 1.31rem); }
.email { overflow-wrap: anywhere; }
figcaption { margin-top: .68rem; color: var(--muted); font-size: .88rem; }

.home-hero {
  --focus: var(--gold);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  overflow: clip;
  color: var(--white);
  background: radial-gradient(ellipse at 16% 130%, #276e6a, transparent 65%), #112a37;
}
.hero-copy {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: center;
  padding: clamp(3.25rem, 6.8vw, 8rem) clamp(1.25rem, 3vw, 3.5rem) clamp(3.4rem, 6.8vw, 8rem)
    max(var(--gutter), calc((100vw - 82rem) / 2));
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 {
  margin-block: 1rem 1.15rem;
  font-size: clamp(4.1rem, 6.55vw, 8rem);
  line-height: .9;
}
.hero-copy h1 em { color: var(--gold); white-space: nowrap; }
.page-lead h1 em { color: var(--blue); }
.hero-copy .lede { max-width: 28rem; color: #eff6f8; font-size: clamp(1rem, 1.42vw, 1.2rem); }
.hero-copy .actions { margin-top: clamp(1.2rem, 2.3vw, 2.1rem); }
.hero-copy .text-link { min-height: 2.75rem; align-content: center; }
.location-dot {
  display: inline-block;
  width: .6rem;
  height: .6rem;
  margin-right: .65rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.hero-figure {
  position: relative;
  grid-area: 1 / 1 / 2 / -1;
  justify-self: end;
  width: 72%;
  min-height: clamp(33rem, 45vw, 48rem);
}
.hero-figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 48%;
  mask-image: linear-gradient(to right, transparent 1%, rgb(0 0 0 / .05) 9%, rgb(0 0 0 / .3) 17%, rgb(0 0 0 / .74) 27%, rgb(0 0 0 / .95) 36%, #000 43%);
}

.hero-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 92%;
  margin: 0;
  padding: .65rem clamp(1rem, 2.4vw, 2.25rem);
  z-index: 1;
  color: var(--white);
  text-shadow: 0 1px 5px #071a23;
  font-size: .79rem;
}
.home-impact {
  position: relative;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(105deg, #fbefce, #fffcf6 69%);
}
.home-impact::before {
  display: block;
  height: .3rem;
  content: "";
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--gold) 50% 77%, var(--green) 77% 92%, var(--red) 92%);
}
.impact-strip {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 3.4fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.8rem, 4.3vw, 4.35rem);
}
.impact-heading h2 { font-size: clamp(2.2rem, 3.5vw, 3.45rem); }
.impact-heading p { margin-top: .44rem; color: var(--muted); font-size: .83rem; font-weight: 600; }
.impact-strip dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.impact-strip dl > div { min-width: 0; padding-inline: clamp(.85rem, 2.2vw, 2.3rem); border-left: 1px solid #c4bdac; }
.impact-strip dt { color: var(--blue); font: 400 clamp(3.2rem, 5.4vw, 5.75rem)/.87 var(--serif); }
.impact-strip dd { max-width: 21ch; margin-top: .62rem; font-size: .94rem; line-height: 1.35; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, .55fr);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(1.7rem, 4vw, 3.25rem);
}
.section-heading h2, .feature-copy h2, .home-story h2 { margin-top: .52rem; }
.section-heading > p { max-width: 27rem; margin-bottom: .32rem; color: var(--muted); font-size: 1.13rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.8vw, 1.5rem); }
.work-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--edge);
  border-radius: .85rem;
  background: var(--card-tint);
  text-decoration: none;
}
.work-card--school { --card-accent: var(--blue); --card-tint: #e8f5f9; }
.work-card--homes { --card-accent: var(--green); --card-tint: #e8f1e8; }
.work-card--skills { --card-accent: var(--red); --card-tint: #f9ece9; }
.work-image { overflow: hidden; border-bottom: .3rem solid var(--card-accent); }
.work-image img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
}
.work-image img { transition: transform .45s ease; }
.work-card:hover .work-image img { transform: scale(1.045); }
.work-card-copy {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .8rem;
  padding: clamp(1.03rem, 2vw, 1.55rem);
}
.work-card h3 { font-size: clamp(1.92rem, 3vw, 2.65rem); }
.work-card p { margin-top: .52rem; color: var(--muted); font-size: .94rem; }
.round-arrow {
  display: grid;
  flex: 0 0 2.45rem;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--card-accent);
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}
.work-card:hover .round-arrow { color: var(--white); background: var(--card-accent); }

.feature { padding-block: clamp(3.4rem, 7vw, 7.05rem); }
.feature-grid, .home-story, .story-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6.5rem);
}
.feature-grid img, .home-story img, .story-feature img, .program img { width: 100%; border-radius: .38rem; }
.feature-copy > p:not(.eyebrow), .home-story p:not(.eyebrow), .story-feature p:not(.eyebrow) {
  margin-top: .8rem;
  color: var(--muted);
  font-size: 1.09rem;
}
.feature-copy .text-link, .home-story .text-link, .story-feature .text-link { display: inline-block; margin-top: 1.1rem; }
.feature-wash { background: var(--sage); }
.feature-founder {
  --focus: var(--gold);
  color: var(--white);
  background:
    radial-gradient(ellipse at 0% 104%, #237855, transparent 59%),
    radial-gradient(ellipse at 100% -100%, #28799a, transparent 78%),
    #103a33;
}
.feature-founder .feature-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.feature-founder img { max-height: 37rem; object-fit: cover; object-position: center 12%; }
.feature-founder .eyebrow, .feature-founder em { color: var(--gold); }
.feature-founder figcaption, .feature-founder .feature-copy > p:not(.eyebrow) { color: #dce6db; }
.home-story-copy { max-width: 32rem; }


.page-lead {
  background: radial-gradient(ellipse at 94% 0%, #e3f3f9, transparent 75%), var(--paper);
  border-bottom: 1px solid var(--edge);
}
.page-lead-inner { padding-block: clamp(3.55rem, 7.7vw, 8rem) clamp(2.9rem, 6vw, 5.8rem); }
.page-lead h1 { max-width: 15ch; margin-block: .65rem .9rem; }
.page-lead .lede { max-width: 38rem; }
.history-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 93% -5%, #a8dcec, transparent 70%), #edf5f3;
}
.history-hero::before {
  position: absolute;
  z-index: -1;
  right: -11rem;
  bottom: -23rem;
  width: 68rem;
  aspect-ratio: 1.6;
  content: "";
  transform: rotate(-14deg);
  background: repeating-radial-gradient(ellipse, #2e799f22 0 1px, transparent 2px 23px);
  pointer-events: none;
}
.history-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.4rem, 7.2vw, 7rem);
}
.history-intro h1 { margin-block: .7rem 1rem; font-size: clamp(4.8rem, 7.15vw, 8rem); line-height: .91; }
.history-intro em { color: var(--blue); white-space: nowrap; }
.history-intro .button { margin-top: 1.35rem; border-color: #196687; color: #174f69; }
.history-intro .button:hover { background: #d1ebf1; }
.history-hero figure {
  min-width: 0;
  padding: clamp(.5rem, 1.25vw, 1rem);
  border: 1px solid #d4e5e6;
  border-radius: .85rem .85rem 3.2rem .85rem;
  background: var(--white);
  box-shadow: 0 1.3rem 3rem #173c4c20;
}
.history-hero img { width: 100%; aspect-ratio: 1.76; object-fit: cover; object-position: center; border-radius: .48rem .48rem 2.45rem .48rem; }
.history-hero figcaption { margin: .6rem .3rem .15rem; }
.history-timeline {
  padding-block: clamp(3rem, 6.7vw, 6.55rem);
  background: linear-gradient(113deg,#f9f1df9e,#eaf0dfa6),url('/assets/archive-paper.webp') center / cover;
}
.chapter-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2.25rem; margin-bottom: 1.2rem; }
.chapter-heading p { max-width: 32rem; color: #425b4d; font-size: 1.07rem; }
.history-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(1.1rem, 5vw, 4.7rem);
  padding: clamp(1.2rem, 3.7vw, 3.25rem);
  border: 1px solid #a3b7a0;
  border-radius: 1rem;
  background: #fffcf2;
}
.history-chapter h3 { max-width: 21ch; font-size: clamp(2.45rem, 4.4vw, 4.15rem); }
.history-chapter dl { margin-top: 1.18rem; }
.history-chapter dl > div { border-top: 1px solid #c7cec0; padding-block: .78rem; }
.history-chapter dt { font-weight: 700; }
.history-chapter dt span { display: block; margin-bottom: .25rem; color: #2e6853; font-size: .82rem; }
.history-chapter dd { margin-top: .2rem; color: var(--muted); }
.history-chapter figure img { width: 100%; aspect-ratio: 1.34; object-fit: cover; border-radius: .65rem; }
.history-chapter figure figcaption { margin-top: .44rem; }
.history-today { --focus: var(--gold); padding-block: clamp(3.3rem, 7vw, 6.6rem); color: var(--white); background: linear-gradient(120deg, #0f2c41, #14566f); }
.history-today-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; gap: clamp(1.4rem, 5vw, 5rem); }
.history-today img { width: 100%; aspect-ratio: 1.53; object-fit: cover; border-radius: .95rem; }
.history-today figcaption { color: #e0eff2; }
.history-today .eyebrow { color: var(--gold); }
.history-today h2 { margin-top: .55rem; }
.history-today p:not(.eyebrow) { max-width: 31rem; margin-top: .88rem; color: #eff9fc; font-size: 1.13rem; }
.history-today .text-link { display: inline-block; margin-top: .95rem; }

.founder-hero {
  --focus: #ffde98;
  padding-block: clamp(3.35rem, 6.25vw, 6.7rem);
  color: #fff9f0;
  background:
    radial-gradient(ellipse at 0% 0%, #a55757 0%, transparent 60%),
    radial-gradient(ellipse at 95% 115%, #7c3d47 0%, transparent 74%),
    #3f2134;
}
.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}
.founder-hero h1 { margin-block: .7rem 1.2rem; font-size: clamp(4.6rem, 7vw, 8.15rem); line-height: .91; }
.founder-hero h1 em { display: block; }
.founder-hero .eyebrow, .founder-hero h1 em { color: #ffde98; }
.founder-hero .lede { max-width: 31rem; color: #f7e8e3; }
.founder-hero .text-link { display: inline-block; margin-top: 1.2rem; }
.founder-hero figure {
  grid-area: 1 / 1;
  width: min(100%, 28rem);
  margin-inline: auto;
  padding: clamp(.45rem, 1.2vw, .95rem);
  border: 1px solid #fce0b47b;
  border-radius: 48% 48% .8rem .8rem / 17% 17% .8rem .8rem;
  background: #fbe0aa1d;
  box-shadow: 0 1.25rem 3rem #240f2147, 0 0 0 .45rem #f4d4ad16;
}
.founder-hero img { width: 100%; aspect-ratio: .88; object-fit: cover; object-position: center top; border-radius: 48% 48% .5rem .5rem / 17% 17% .5rem .5rem; }
.founder-hero figcaption { margin: .6rem .25rem .12rem; color: #fff4dc; text-align: center; }
.founder-profile { padding-block: clamp(3.45rem, 7vw, 7rem); background: radial-gradient(ellipse at 90% 15%, #f4d9c7, transparent 62%), #fff6e9; }
.founder-profile-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); gap: clamp(2rem, 8vw, 8.5rem); align-items: center; }
.founder-profile-copy { max-width: 41rem; }
.founder-profile p { margin-top: .95rem; color: var(--muted); font-size: 1.09rem; }
.founder-profile .text-link { display: inline-block; margin-top: 1.1rem; }
.founder-profile figure { width: min(100%, 23rem); margin-inline: auto; padding: .7rem; border: 1px solid #dabba4; border-radius: .75rem; background: var(--white); box-shadow: 0 1.1rem 2rem #66493818; }
.founder-profile img { width: 100%; aspect-ratio: .86; object-fit: cover; border-radius: .48rem; }
.founder-profile figcaption { margin: .6rem .27rem .18rem; }
.founder-tribute {
  --focus: #ffde98;
  color: #fff9f0;
  background: radial-gradient(ellipse at 6% 4%, #9c4e4b, transparent 70%), #512b3b;
}
.founder-tribute .eyebrow, .founder-tribute .founder-note { color: #ffde98; }
.founder-tribute figcaption, .founder-tribute .feature-copy > p:not(.eyebrow), .founder-tribute .founder-note footer { color: #f7e8e3; }
.founder-tribute .founder-note { border-color: #ffc783; }
.founder-tribute img { border: 1px solid #fff0d9b8; box-shadow: 0 1rem 2rem #2d17245e; }
@media (max-width: 53rem) {
  .history-hero-grid, .history-chapter, .history-today-grid, .founder-hero-grid, .founder-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .history-hero-grid { padding-block: 2.8rem 3rem; }
  .history-intro h1, .founder-hero h1 { font-size: clamp(3.35rem, 10.3vw, 6.4rem); }
  .founder-hero { padding-block: 2.3rem 3.1rem; }
  .founder-hero-grid { gap: 1.85rem; }
  .founder-hero figure { width: min(76%, 22rem); }
  .founder-hero img { aspect-ratio: 1.04; }
  .founder-profile figure { width: min(84%, 21rem); }
}

.work-hero {
  --focus: var(--gold);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(31rem, 43vw, 43rem);
  align-items: center;
  overflow: clip;
  color: var(--white);
  background: #102a3f;
}
.work-hero figure {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 23%;
}
.work-hero figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #102a3f, #102a3fe0 20%, #102a3f37 59%, transparent 81%),
    linear-gradient(0deg, #102a3f9e, transparent 47%);
}
.work-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 49%; }
.work-hero figcaption {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 1.4rem;
  padding: .25rem .6rem;
  border-radius: .3rem;
  color: var(--white);
  background: #102a3f;
  font-size: .8rem;
}
.work-hero-copy { padding-block: clamp(3.2rem, 7vw, 7rem); }
.work-hero .eyebrow, .work-hero em { color: var(--gold); }
.work-hero em { white-space: nowrap; }
.work-hero h1 {
  max-width: 13ch;
  margin-block: .8rem 1rem;
  font-size: clamp(4.6rem, 7.6vw, 8.6rem);
  line-height: .9;
}
.work-hero .lede { max-width: 28rem; color: #eef6f9; }
.work-index { --focus: var(--gold); color: var(--white); background: #0c2134; }
.work-index-links { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: .85rem; gap: .65rem; }
.work-index a {
  --chapter-accent: #79cae9;
  display: flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .62rem .9rem;
  border: 1px solid #ffffff30;
  border-radius: .42rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.work-index a:nth-child(2) { --chapter-accent: #a1d3a7; }
.work-index a:nth-child(3) { --chapter-accent: #f5ad9a; }
.work-index a:nth-child(4) { --chapter-accent: var(--gold); }
.work-index a:hover { border-color: var(--chapter-accent); background: #ffffff12; }
.work-index a span { color: var(--chapter-accent); font-size: 1.05rem; }

.program {
  --program-title: var(--ink);
  --program-text: var(--muted);
  --program-accent: var(--blue);
  --program-card: var(--white);
  --program-shadow: #242f3c26;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(3.7rem, 8vw, 8rem);
  color: var(--program-title);
  background: var(--program-backdrop);
}
.program--school {
  --program-backdrop: #fcf0d6;
  --program-art: radial-gradient(ellipse at 89% 8%, #b9dfed 0%, transparent 70%);
}
.program--homes {
  --focus: #f5d27b;
  --program-title: #fffdf5;
  --program-text: #e3f1e8;
  --program-accent: #c2efbc;
  --program-card: #153f34;
  --program-shadow: #071b175c;
  --program-backdrop: #164334;
  --program-art:
    repeating-radial-gradient(ellipse at 1% 110%, #bbe7ca23 0 1px, transparent 2px 22px),
    radial-gradient(ellipse at 8% 95%, #276247, transparent 73%);
}
.program--solar {
  --focus: var(--gold);
  --program-title: #fffcf5;
  --program-text: #e5eef4;
  --program-accent: var(--gold);
  --program-card: #172e40;
  --program-shadow: #050e18a3;
  --program-backdrop: #102439;
  --program-art:
    radial-gradient(ellipse at 92% 26%, #eab66433, transparent 53%),
    radial-gradient(ellipse at 91% 70%, #365879, transparent 65%);
}
.program--skills {
  --focus: #ffe09c;
  --program-title: #fffaf2;
  --program-text: #fff0e7;
  --program-accent: #ffdb93;
  --program-card: #692738;
  --program-shadow: #411b2c70;
  --program-backdrop: #732b3b;
  --program-art:
    repeating-linear-gradient(127deg, #ffccba13 0 1px, transparent 2px 28px),
    radial-gradient(ellipse at 82% 5%, #a64a47, transparent 76%);
}
.program::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--program-art);
  content: "";
  pointer-events: none;
}
.program-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}
.program--homes .program-grid, .program--skills .program-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
}
.program--homes .program-media, .program--skills .program-media { grid-area: 1 / 1; }
.program-copy { max-width: 31rem; }
.program-copy .eyebrow { color: var(--program-accent); }
.program-copy h2 { margin-block: .65rem .95rem; font-size: clamp(3.7rem, 6.4vw, 6.8rem); line-height: .92; }
.program-copy > p:not(.eyebrow) { color: var(--program-text); font-size: clamp(1.02rem, 1.45vw, 1.18rem); }
.program-copy .text-link { display: inline-block; margin-top: 1.15rem; }
.program-pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.program-photo, .program-detail { min-width: 0; }
.program-pair .program-photo { grid-area: 1 / 1 / 2 / 11; align-self: start; margin-block-end: 2.65rem; }
.program-detail {
  position: relative;
  grid-area: 1 / 8 / 2 / -1;
  align-self: end;
  padding: clamp(.4rem, 1.05vw, .75rem);
  border-radius: .72rem;
  background: var(--program-card);
  box-shadow: 0 .75rem 2rem var(--program-shadow);
}
.program img {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
  border-radius: .73rem;
}
.program--school .program-photo img { aspect-ratio: 1.58; }
.program--skills .program-photo img { aspect-ratio: 1.38; object-position: center 60%; }
.program-detail img { aspect-ratio: 1.16; border-radius: .4rem; }
.program--homes .program-detail img { aspect-ratio: 1.03; object-position: center 69%; }
.program--solar .program-detail img { object-position: 38% center; }
.program-pair .program-photo figcaption { max-width: 66%; }
.program figcaption { color: var(--program-text); line-height: 1.4; }
.program-detail figcaption { margin: .4rem .08rem .1rem; }
.program[id], .program-care[id] { scroll-margin-top: 5.34rem; }
.program-care {
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background: radial-gradient(ellipse at bottom left, #ffe5a8, transparent 72%), #fff5da;
}
.care-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.8rem, 6vw, 6rem); }
.care-grid h2 { margin-top: .65rem; font-size: clamp(3.2rem, 5.5vw, 6rem); }
.care-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; padding: 0; list-style: none; }
.care-outcomes li { display: grid; gap: .5rem; align-content: start; padding: 1rem 1.25rem; border: 1px solid #c7a65b; border-radius: .6rem; background: #fffdf3a8; }
.care-outcomes strong { color: var(--blue); font: 400 clamp(3rem, 5vw, 4.8rem)/.9 var(--serif); }
.care-outcomes span { color: var(--ink); line-height: 1.37; }

@media (max-width: 56rem) {
  .work-hero { min-height: 0; }
  .work-hero figure { position: relative; z-index: auto; inset: auto; }
  .work-hero figure::after { background: linear-gradient(0deg, #102a3f8a, transparent 35%); }
  .work-hero img { height: auto; max-height: 25rem; aspect-ratio: 1.75; object-position: center 52%; }
  .work-hero figcaption { right: var(--gutter); bottom: .7rem; }
  .work-hero-copy { padding-block: 1.6rem 2.4rem; }
  .work-break { display: none; }
  .work-hero h1 { max-width: 13ch; font-size: clamp(3.58rem, 10vw, 6.5rem); }
  .work-index-links { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .program-grid, .program--homes .program-grid, .program--skills .program-grid, .care-grid { grid-template-columns: minmax(0, 1fr); }
  .program-grid { gap: clamp(1.6rem, 5vw, 2.55rem); }
  .program--homes .program-media, .program--skills .program-media { grid-area: auto; }
  .program-copy h2 { font-size: clamp(3.2rem, 9.8vw, 5.4rem); }
}

@media (max-width: 41rem) {
  .work-hero .lede { font-size: 1.04rem; }
  .work-index a { padding-inline: .65rem; font-size: .83rem; }
  .program, .program-care { padding-block: 2.75rem; }
  .program[id], .program-care[id] { scroll-margin-top: 4.5rem; }
  .program figcaption { font-size: .76rem; }
  .care-outcomes { gap: .55rem; }
  .care-outcomes li { padding: .8rem; }
  .care-outcomes span { font-size: .85rem; }
}
.success-hero {
  --focus: var(--gold);
  color: var(--white);
  background:
    radial-gradient(ellipse at 95% 105%, #713c32, transparent 65%),
    linear-gradient(125deg, #16483f, #102e31 65%);
}
.success-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 6rem);
  padding-block: clamp(3rem, 7vw, 7.3rem);
}
.success-hero .eyebrow, .success-hero h1 em { color: var(--gold); }
.success-hero h1 { margin-block: .75rem 1rem; font-size: clamp(4.55rem, 7.5vw, 8rem); line-height: .89; }
.success-hero h1 em { display: block; }
.success-hero .lede { max-width: 27rem; color: #f4eee0; }
.success-hero .button { margin-top: 1.25rem; }
.success-hero figure {
  padding: clamp(.45rem, 1.5vw, 1rem);
  border: 1px solid #fbecd180;
  border-radius: .8rem .8rem .8rem 3rem;
  background: #fff3da13;
}
.success-hero img { width: 100%; aspect-ratio: 1.7; border-radius: .4rem .4rem .4rem 2.35rem; object-fit: cover; object-position: 47% 58%; }
.success-hero figcaption { margin: .66rem .4rem .23rem 1.45rem; color: #f7e8cb; }
.success-index { color: #21483e; background: #e1eddf; }
.success-index .shell { display: flex; flex-wrap: wrap; gap: .3rem clamp(1.1rem, 4vw, 3rem); padding-block: .65rem; }
.success-index .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; }
.library-story {
  padding-block: clamp(3.3rem, 7.7vw, 7.8rem);
  background: radial-gradient(ellipse at 20% 0%, #f4d89f, transparent 66%), #fff4db;
}
.library-story .story-feature h2 { margin-top: .48rem; }
.library-story .story-feature img { aspect-ratio: 1.86; object-fit: cover; }
.archive-credit { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.hero-film { min-width: 0; align-self: center; color: var(--white); }
.hero-film-label { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-bottom: .68rem; }
.hero-film-label h2 { font: 700 clamp(.96rem, 1.6vw, 1.2rem)/1.35 var(--sans); letter-spacing: -.015em; }
.hero-film-label span { flex: none; color: #f7e5b6; font-size: .88rem; font-variant-numeric: tabular-nums; }
.film-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: .75rem;
  background: #0b1626;
}
.film-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-player .film-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); white-space: nowrap; box-shadow: 0 .4rem 1.35rem #10253e69; }
.hero-film .film-status, .hero-film .film-error { margin: .65rem 0 0; font-size: .93rem; }
.film-giving { margin-top: .78rem; }
.hero-with-film .film-player { box-shadow: 0 1.4rem 3rem #100b222f; }
.founder-hero.hero-with-film {
  background: linear-gradient(106deg, #412631fa 8%, #542e3deb 43%, #38243acd),
    url('/assets/founder-library-portrait-820.webp') center 40% / cover;
}
.success-hero.hero-with-film {
  background: linear-gradient(104deg, #14332d 9%, #153b34ee 53%, #193b32c7),
    url('/assets/library-bookshelves.webp') 70% center / cover;
}
.work-film-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero-with-film .work-hero-copy { padding-block: clamp(3rem, 6vw, 6rem); }
.hero-with-film figure::after { background: linear-gradient(90deg, #102a3f, #102a3fc2 57%, #102a3f9e); }
.hero-with-film figcaption { right: var(--gutter); bottom: .55rem; }
.hero-with-film .founder-hero-grid, .hero-with-film .success-hero-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.hero-with-film h1 { font-size: clamp(3.9rem, 6vw, 7rem); }
@media (max-width: 53rem) {
  .work-film-grid, .hero-with-film .founder-hero-grid, .hero-with-film .success-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-with-film .work-hero-copy { grid-row: 1; padding-block: 2.65rem 3rem; }
  .hero-with-film h1 { font-size: clamp(3.25rem, 10.1vw, 5.9rem); }
  .hero-with-film .film-content { width: 100%; }
  .work-hero.hero-with-film figure { position: absolute; z-index: -1; inset: 0; height: auto; max-height: none; }
}
@media (max-width: 47.99rem) {
  .hero-film { width: min(100%, 22rem); margin-inline: auto; }
  .film-player { aspect-ratio: 9 / 16; }
  .hero-film .film-play { top: min(52%, 14.5rem); }
  .film-giving .button { width: 100%; justify-content: center; }
}
.program--classrooms {
  --program-backdrop: #e6f2f3;
  --program-art: radial-gradient(ellipse at 5% 120%, #afd7df, transparent 68%);
}
.program--solar-story {
  --focus: var(--gold);
  --program-title: var(--white);
  --program-text: #e5eef4;
  --program-accent: var(--gold);
  --program-card: #172e40;
  --program-shadow: #050e18a3;
  --program-backdrop: #102439;
  --program-art: radial-gradient(ellipse at 95% 13%, #4b5870, transparent 68%);
}
@media (max-width: 53rem) {
  .success-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .success-hero h1 { font-size: clamp(3.5rem, 10.2vw, 6.4rem); }
}

.founder-note {
  margin: 1.3rem 0;
  padding: .2rem 0 .2rem 1.25rem;
  border-inline-start: 3px solid #678771;
}
.founder-note p { font: italic 400 clamp(1.7rem, 3vw, 2.45rem)/1.1 var(--serif); }
.founder-note footer { margin-top: .45rem; color: var(--muted); font-size: .87rem; }

.donate-hero {
  --focus: var(--gold);
  color: var(--white);
  background:
    radial-gradient(ellipse at 93% 110%, #64503f, transparent 63%),
    radial-gradient(ellipse at 9% 100%, #254859, transparent 70%),
    #142c3c;
}
.donate-hero-grid, .contact-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 5.5vw, 6rem);
  align-items: center;
  padding-block: clamp(3.1rem, 6.7vw, 7rem);
}
.donate-hero h1, .contact-hero h1 { margin-block: .65rem 1rem; font-size: clamp(4.35rem, 7.1vw, 8rem); line-height: .9; }
.donate-hero h1 em, .contact-hero h1 em { display: block; }
.donate-hero .eyebrow, .donate-hero h1 em { color: var(--gold); }
.donate-hero .lede { max-width: 30rem; color: #eef2f3; }
.donate-hero .actions { margin-top: 1.45rem; }
.donate-hero .button-outline { border-color: #d9d3be; color: var(--white); }
.donate-hero .button-outline:hover { background: #fff5db1f; }
.donate-hero .actions .text-link { min-height: 2.75rem; align-content: center; }
.donate-hero .giving-registration { margin-top: 1.2rem; color: #e8dbc2; font-size: .85rem; }
.donate-hero figure {
  padding: clamp(.44rem, 1.2vw, .85rem);
  border: 1px solid #f7d28380;
  border-radius: .9rem .9rem 3rem .9rem;
  background: #fff1ce18;
}
.donate-hero img { width: 100%; aspect-ratio: 1.44; object-fit: cover; object-position: 48% 63%; border-radius: .52rem .52rem 2.35rem .52rem; }
.donate-hero figcaption { margin: .55rem .35rem .15rem; color: #fff3da; }
.donate-options { padding-block: clamp(3rem, 6.5vw, 6.6rem); background: radial-gradient(ellipse at 15% 0%, #f6e1b2, transparent 82%), #fffaee; }
.donate-options-heading { margin-bottom: clamp(1.15rem, 3vw, 2.45rem); }
.giving-alternatives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.5vw, 2rem); }
.giving-method {
  padding: clamp(1.25rem, 3.6vw, 2.85rem);
  border: 1px solid var(--method-border);
  border-top: .3rem solid var(--method-accent);
  border-radius: .75rem;
  background: var(--method-background);
}
.giving-method--transfer { --method-border: #b8d0bd; --method-accent: var(--green); --method-background: #ecf4eb; }
.giving-method--cheque { --method-border: #e3c3b7; --method-accent: var(--red); --method-background: #fdf0ea; }
.giving-method h3 { font-size: clamp(2.3rem, 3.75vw, 3.65rem); }
.giving-method p { margin-top: .6rem; color: var(--muted); }
.giving-method .text-link, .giving-method .button { display: inline-flex; align-items: center; margin-top: .68rem; min-height: 2.75rem; }
.receipt-band { --focus: var(--gold); padding-block: clamp(2.8rem, 6vw, 5.5rem); color: var(--white); background: linear-gradient(125deg, #182f46, #22546a); }
.receipt-band p { max-width: 42rem; color: #e8f2f6; }

.contact-hero { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 92% 0%, #a6dcea, transparent 66%), #ebf5f3; }
.contact-hero::before {
  position: absolute;
  z-index: -1;
  right: -12rem;
  bottom: -17rem;
  width: 62rem;
  aspect-ratio: 1.7;
  transform: rotate(-12deg);
  background: repeating-radial-gradient(ellipse, #287c9d2b 0 1px, transparent 2px 23px);
  content: "";
  pointer-events: none;
}
.contact-hero h1 em { color: var(--blue); }
.contact-card {
  max-width: 35rem;
  margin-top: clamp(1.4rem, 3vw, 2.55rem);
  padding: clamp(1rem, 2.45vw, 2rem);
  border: 1px solid #b8d3d9;
  border-radius: .75rem;
  background: #fffdf8;
  box-shadow: 0 .65rem 1.55rem #2d617019;
}
.contact-card h2 { font-size: clamp(2rem, 3.3vw, 3.05rem); }
.contact-card p { margin-top: .5rem; color: var(--muted); }
.contact-card .contact-address { margin-top: .6rem; overflow-wrap: anywhere; }
.contact-card .button { margin-top: .85rem; }
.contact-hero figure { padding: clamp(.45rem, 1.2vw, .8rem); border-radius: .75rem .75rem .75rem 3rem; background: #fffdf8; box-shadow: 0 1.1rem 2.25rem #2c586d20; }
.contact-hero img { width: 100%; aspect-ratio: 1.72; object-fit: cover; border-radius: .35rem .35rem .35rem 2.4rem; }
.contact-hero figcaption { margin: .56rem .42rem .28rem 1rem; }
.contact-details { padding-block: clamp(2.8rem, 6vw, 5.5rem); background: #fbf0d9; }
.contact-details h2 { font-size: clamp(2.2rem, 3.75vw, 3.95rem); }
.contact-details p { margin-top: .65rem; color: var(--muted); }
@media (max-width: 54rem) {
  .donate-hero-grid, .contact-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .donate-hero h1, .contact-hero h1 { font-size: clamp(3.35rem, 10vw, 6rem); }
  .donate-hero img { aspect-ratio: 1.57; }
}
@media (max-width: 41rem) {
  .donate-hero-grid, .contact-hero-grid { padding-block: 2.45rem 3.05rem; }
  .giving-alternatives { grid-template-columns: minmax(0, 1fr); }
  .contact-card { margin-top: 1.25rem; }
}
.copy-button {
  display: block;
  width: fit-content;
  min-height: 2.75rem;
  margin-top: .65rem;
  padding: .4rem .8rem;
  cursor: pointer;
  color: var(--navy);
  border: 1px solid #889782;
  border-radius: .32rem;
  background: transparent;
}
.copy-button:hover { background: var(--sage); }
.giving-method .copy-status:empty { margin: 0; }
.copy-status { font-size: .86rem; }
.contact-band, .callout-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 3rem;
}
.contact-band p:not(.eyebrow), .callout-inner p { margin-top: .55rem; }
.contact-band .button, .callout-inner .button { flex: 0 0 auto; }
.giving-callout {
  padding-block: clamp(1.8rem, 4.7vw, 4.5rem);
  background: linear-gradient(105deg, #e1eee5b7, #f6f0de8a), url('/assets/archive-paper.webp') center / cover;
}
.giving-callout .callout-inner {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  gap: 0;
  overflow: hidden;
  border-radius: .9rem;
  background: #203e34;
  color: #fffdf5;
}
.giving-message { --focus: var(--gold); padding: clamp(1.35rem, 4vw, 3.6rem); }
.giving-message .button { margin-top: 1rem; }
.giving-callout figure { align-self: stretch; min-height: 15rem; position: relative; }
.giving-callout figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.giving-callout h2 { max-width: 15ch; font-size: clamp(2.6rem, 4.6vw, 4.25rem); }
@media (max-width: 49rem) {
  .giving-callout .callout-inner { grid-template-columns: minmax(0, 1fr); }
  .giving-callout figure { grid-row: 1; min-height: 0; aspect-ratio: 1.8; }
}
.error-actions { padding-block: 2rem 4rem; }

.site-footer {
  --focus: var(--gold);
  color: var(--white);
  background:
    linear-gradient(95deg, #102933 14%, #102933f6 39%, #112b35d9 73%, #112b35b5),
    linear-gradient(0deg, #102933 0%, transparent 66%),
    url('/assets/campus-evening-1360.webp') 85% 54% / cover,
    #102933;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .85fr)) minmax(0, 1.05fr);
  gap: clamp(1.3rem, 3vw, 3rem);
  padding-block: clamp(1.65rem, 3.4vw, 2.9rem) clamp(1.35rem, 2.6vw, 2.2rem);
}
.footer-about .brand { font-size: 1.12rem; }
.footer-about .brand img { width: 3.2rem; height: 3.2rem; }
.footer-about > p { max-width: 17rem; margin-block: .85rem; color: #e4eee9; }
.footer-location { color: #b7d9d1; font-size: .83rem; }
.footer-main nav, .footer-contact { display: grid; align-content: start; justify-items: start; gap: .56rem; }
.footer-main h2 { margin-bottom: .22rem; color: #f7d68b; font: 700 1rem/1.25 var(--sans); letter-spacing: 0; }
.footer-main nav a, .footer-contact > a:not(.button) { font-size: .93rem; text-decoration: none; }
.footer-main nav a:hover, .footer-contact > a:not(.button):hover { text-decoration: underline; text-underline-offset: .22em; }
.footer-contact p { color: #c6dcd5; font-size: .83rem; line-height: 1.4; }
.footer-contact p span { display: block; }
.footer-contact .button { margin-top: .42rem; min-height: 2.7rem; padding-inline: 1rem; font-size: .85rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  padding-block: .7rem .85rem;
  border-top: 1px solid #b7d9d15e;
  color: #bcd3d0;
  font-size: .81rem;
}
.footer-bottom a { text-underline-offset: .23em; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
@media (max-width: 65rem) {
  .header-inner { gap: .55rem; }
  .primary-nav { display: none; }
  .button-nav { margin-left: auto; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    display: flex;
    min-height: 3.3rem;
    align-items: center;
    gap: .56rem;
    padding: .54rem .8rem;
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--edge);
    border-radius: .36rem;
    font-size: .93rem;
    font-weight: 700;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-lines {
    display: inline-block;
    width: .96rem;
    height: .58rem;
    border-block: 2px solid currentColor;
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    display: grid;
    width: min(16rem, 85vw);
    gap: .1rem;
    padding: .55rem;
    border: 1px solid #c1d8cd;
    border-radius: .85rem;
    box-shadow: 0 1rem 2.6rem #102a3740;
    background: var(--white);
  }
  .mobile-menu a { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .7rem; border-radius: .48rem; }
}

@media (max-width: 54rem) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-figure {
    grid-area: 1 / 1;
    width: 100%;
    min-height: 0;
    max-height: 27rem;
    aspect-ratio: 1.42;
  }
  .hero-figure figcaption { bottom: .28rem; }
  .hero-figure img {
    object-position: center;
    mask-image: linear-gradient(to top, transparent, rgb(0 0 0 / .11) 5%, rgb(0 0 0 / .46) 12%, rgb(0 0 0 / .9) 23%, #000 33%);
  }
  .hero-break { display: none; }
  .hero-copy {
    grid-area: 2 / 1;
    padding: clamp(1.05rem, 3vw, 2.1rem) var(--gutter) clamp(2.35rem, 6vw, 4.15rem);
  }

  .hero-copy h1 { max-width: 13ch; margin-block: .65rem .85rem; font-size: clamp(3.55rem, 9vw, 6.1rem); }
}

@media (max-width: 52rem) {
  .feature-grid, .feature-founder .feature-grid, .home-story,
  .story-feature { grid-template-columns: 1fr; }
  .impact-strip { grid-template-columns: 1fr; }
  .impact-strip dl > div:first-child { padding-left: 0; border: 0; }
  .work-grid { gap: .72rem; }
  .work-card-copy { align-items: start; flex-direction: column; }
  .feature-founder figure { max-width: 34rem; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
}

@media (max-width: 41rem) {
  .header-inner { min-height: 4.48rem; }
  .brand { font-size: .85rem; gap: .38rem; }
  .brand img { width: 2.86rem; height: 2.86rem; }
  .button-nav, .mobile-menu summary { min-height: 2.81rem; padding-inline: .65rem; font-size: .89rem; gap: .35rem; }
  .button-nav > span { display: none; }
  .menu-lines { width: .72rem; height: .47rem; }
  h1 { font-size: clamp(3.4rem, 12vw, 5rem); }
  h2 { font-size: clamp(2.7rem, 10vw, 3.9rem); }
  .hero-copy h1 { font-size: clamp(3.3rem, 12vw, 5rem); }
  .hero-copy .actions { margin-top: 1.18rem; }
  .actions { gap: .65rem 1.1rem; }
  .actions .button { min-height: 3.1rem; padding-inline: 1rem; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 br { display: none; }
  .work-grid { grid-template-columns: 1fr; gap: .95rem; }
  .work-card-copy { flex-direction: row; align-items: end; }
  .impact-strip dl { grid-template-columns: 1fr; }
  .impact-strip dl > div, .impact-strip dl > div:first-child {
    display: grid;
    grid-template-columns: 5.08rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .7rem 0;
    border: 0;
    border-top: 1px solid #c4bdac;
  }
  .impact-strip dt { font-size: 3.25rem; }
  .impact-strip dd { margin: 0; }
  .feature-founder figure { max-width: min(100%, 27rem); }
  .feature-founder img { max-height: 30rem; }
  .contact-band, .callout-inner { align-items: flex-start; flex-direction: column; }
  .footer-about, .footer-contact { grid-column: 1 / -1; }
  .footer-contact { border-top: 1px solid #b7d9d154; padding-top: 1rem; }
  .footer-bottom { row-gap: .5rem; }
  [id] { scroll-margin-top: 5.4rem; }
}

@media (max-width: 22rem) {
  :root { --gutter: .8rem; }
  .brand img { width: 2.45rem; height: 2.45rem; }
  .header-inner { gap: .35rem; }
  .mobile-menu summary { padding-inline: .5rem; }
  .menu-lines { display: none; }
  .button-nav { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.photo-library {
  --focus: var(--gold);
  padding-block: clamp(1.9rem, 4.6vw, 4.65rem) clamp(3rem, 6vw, 6rem);
  color: var(--white);
  background: radial-gradient(ellipse 70rem 34rem at 77% 0%, #203e45, transparent), #102535;
}
.photo-library-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
}
.photo-library-heading .eyebrow { margin-bottom: .45rem; color: var(--gold); }
.photo-library-heading h1 { font-size: clamp(3.4rem, 7.9vw, 7.25rem); }
.photo-library-heading > p { max-width: 25ch; margin-bottom: .32rem; color: #e0e9e7; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.photo-library-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .55rem 1rem;
  margin-block: clamp(1.25rem, 2.6vw, 2.2rem) .85rem;
  padding-bottom: .82rem;
  border-bottom: 1px solid #ffffff30;
}
.photo-library-toolbar > p { color: #d6e2de; font-size: .86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.photo-filters { display: flex; flex-wrap: wrap; gap: .38rem; }
.photo-filters button {
  min-height: 2.75rem;
  padding: .36rem .78rem;
  border: 1px solid #a6bfb481;
  border-radius: 10rem;
  color: inherit;
  background: transparent;
  font-size: .83rem;
  font-weight: 650;
  cursor: pointer;
}
.photo-filters button:hover { background: #ffffff18; }
.photo-filters [aria-pressed="true"] { border-color: var(--gold); color: #172d3d; background: var(--gold); }
.photo-filters [aria-pressed="true"]:hover { background: var(--gold-hover); }
.atlas-places button {
  min-height: 2.75rem;
  padding: .42rem .86rem;
  border: 1px solid #80938a;
  border-radius: 10rem;
  cursor: pointer;
  color: #173932;
  background: #fffdf6;
  font-weight: 700;
  font-size: .86rem;
}
.atlas-places button:hover { border-color: #244e42; background: #eef4e8; }
.atlas-places [aria-pressed="true"] { border-color: #20493c; color: #fffdf7; background: #20493c; }
.atlas-places [aria-pressed="true"]:hover { background: #12382d; }
.photo-library-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.38rem, .85vw, .85rem);
  padding: 0;
  list-style: none;
}
.photo-library-grid > li { grid-column: span 4; min-width: 0; }
.photo-tile { position: relative; height: 100%; }
.photo-tile a {
  display: block;
  height: clamp(12rem, 19vw, 18rem);
  overflow: hidden;
  border-radius: .3rem;
  background: #213641;
}
.photo-tile a:focus-visible { outline-offset: -4px; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-focus, center); }
.photo-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 1.6rem .7rem .58rem;
  border-radius: 0 0 .3rem .3rem;
  color: var(--white);
  background: linear-gradient(transparent, #101f2aeb);
  font-size: .79rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.photo-tile:hover figcaption, .photo-tile:focus-within figcaption { opacity: 1; }
@media (min-width: 56rem) {
  .photo-library-grid:not([data-filtered]) > li { grid-column: span var(--photo-span, 4); }
  .photo-library-grid:not([data-filtered]) > li:nth-child(-n + 3) a { height: clamp(17rem, 24vw, 24rem); }
}
@media (max-width: 55.99rem) {
  .photo-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-library-grid > li { grid-column: auto; }
  .photo-library-grid:not([data-filtered]) > li:nth-child(5n + 1) { grid-column: 1 / -1; }
  .photo-tile a { height: clamp(9.7rem, 42vw, 22rem); }
  .photo-library-grid:not([data-filtered]) > li:nth-child(5n + 1) a { height: auto; aspect-ratio: 1.58; }
}
@media (max-width: 40rem) {
  .photo-library-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .photo-library-heading > p { max-width: none; margin: 0; }
  .photo-library-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (hover: none) {
  .photo-tile figcaption { display: none; }
}

.photo-dialog {
  --focus: var(--gold);
  width: min(calc(100% - 1.25rem), 66rem);
  max-height: calc(100% - 1.25rem);
  padding: 0;
  color: var(--white);
  background: var(--navy);
  border: 1px solid #5c7668;
  border-radius: .65rem;
}
.photo-dialog::backdrop { background: #07121bee; }
.photo-dialog-inner { padding: .75rem clamp(.65rem, 2vw, 1.4rem) 1rem; }
.photo-dialog-top, .photo-dialog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.photo-dialog-top { margin-bottom: .65rem; }
.photo-dialog-controls { margin-top: .8rem; }
.photo-dialog button {
  min-height: 2.75rem;
  padding: .35rem .7rem;
  color: var(--white);
  background: transparent;
  border: 1px solid #788d80;
  border-radius: .32rem;
  cursor: pointer;
}
.photo-dialog button:hover { background: var(--navy-soft); }
.photo-dialog figure { text-align: center; }
.photo-dialog img {
  width: auto;
  max-height: min(68dvh, 46rem);
  margin-inline: auto;
  object-fit: contain;
}
.photo-dialog figcaption { color: #eef4e9; }
@media (max-width: 41rem) {
  .photo-dialog img { max-height: min(65dvh, 40rem); }
}

.archive-feature {
  --focus: var(--gold);
  padding-block: clamp(3.15rem, 7vw, 6.6rem);
  background: radial-gradient(ellipse at 88% 7%, #235452, transparent 65%), #132e3a;
  color: var(--white);
}
.archive-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .7rem 1.7rem; }
.archive-heading .text-link { color: #fadd8e; }
.photo-rail { margin-top: clamp(1.15rem, 2.8vw, 2.15rem); }
.rail-window {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9db9a9 transparent;
}
.rail-window:focus-visible { outline-offset: .15rem; }
.rail-list {
  --rail-gap: clamp(.7rem, 2vw, 1.35rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.5 * var(--rail-gap)) / 2.68);
  gap: var(--rail-gap);
  padding: .16rem .16rem .65rem;
  list-style: none;
}
.rail-list > li { min-width: 0; scroll-snap-align: start; }
.rail-list figure { height: 100%; overflow: hidden; border-radius: .85rem; background: #fffdf8; color: var(--ink); }
.rail-list figure img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.rail-list figcaption { margin: 0; padding: .75rem .9rem; color: inherit; font-size: .9rem; }
.rail-controls { display: flex; gap: .48rem; justify-content: end; margin-top: .75rem; }
.rail-controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  cursor: pointer;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-size: 1.25rem;
}
.rail-controls button:hover:not(:disabled) { color: var(--navy); background: var(--gold); }
.rail-controls button:disabled { cursor: default; opacity: .45; }
.archive-feature .rail-list figure { background: #f6f1e5; }
.library-story .rail-list img { object-position: center 48%; }
.donate-impact { padding-block: clamp(3.35rem, 6.8vw, 6.3rem); background: linear-gradient(136deg, #faf4df, #f4f7ed 65%, #dcece1); }
.donate-impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.4vw, 1.65rem); margin-top: 1.65rem; }
.donate-impact-grid article { overflow: hidden; border: 1px solid #c8d8cd; border-radius: .9rem; background: var(--white); }
.donate-impact-grid img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.donate-impact-grid article > div { padding: clamp(1rem, 2.15vw, 1.55rem); }
.donate-impact-grid p { margin-block: .62rem .75rem; color: var(--muted); }
.contact-place { padding-block: clamp(3rem, 7vw, 6rem); background: #e7f0e8; }
.contact-place .shell { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); align-items: center; gap: clamp(1.4rem, 4.7vw, 4rem); }
.contact-place img { width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: .9rem; }
.contact-place p { margin-top: .7rem; color: var(--muted); }
.contact-place .contact-registration { font-weight: 700; }
@media (max-width: 53rem) {
  .rail-list { grid-auto-columns: min(78%, 23.5rem); }
  .donate-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-place .shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 37rem) {
  .rail-list { grid-auto-columns: 84%; }
  .donate-impact-grid { grid-template-columns: minmax(0, 1fr); }
}


.library-feature {
  padding-block: clamp(2.85rem, 7vw, 6.75rem);
  background: linear-gradient(135deg, #f6e4c27a, #fcf7e19d), url('/assets/archive-paper.webp') center / cover;
}
.library-feature-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(1.45rem,4.5vw,4.8rem); align-items: center; }
.library-feature h2 { margin-block: .55rem .8rem; }
.library-feature h2 em { display: block; color: #356451; }
.library-feature .text-link { display: inline-block; margin-top: .8rem; }
.library-comparison { min-width: 0; }
.comparison-images {
  --reveal: 50%;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.68;
  border-radius: .8rem;
  background: var(--navy);
}
.comparison-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-images img:nth-of-type(2) { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); object-position: 50% 57%; }
.comparison-images img:first-child { object-position: 50% 50%; }
.compare-before, .compare-after {
  position: absolute;
  top: .65rem;
  color: #fffdf7;
  background: #182e28ea;
  border-radius: .35rem;
  padding: .33rem .55rem;
  font-size: clamp(.68rem, 1.3vw, .84rem);
  line-height: 1.2;
  font-weight: 700;
}
.compare-before { left: .7rem; }
.compare-after { right: .7rem; }
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(0px,var(--reveal),calc(100% - 2px));
  width: 2px;
  background: #fffdf8;
  box-shadow: 0 0 8px #102a37;
}
.compare-divider > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: #fffdf4;
  color: #203d33;
  box-shadow: 0 .22rem .8rem #162d3452;
  white-space: nowrap;
  font-weight: 700;
}
.comparison-images input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.comparison-images:focus-within { outline: 3px solid #005a52; outline-offset: .25rem; }
.work-atlas {
  padding-block: clamp(2.8rem, 6.25vw, 6.15rem);
  background: linear-gradient(110deg,#e7efe2e6,#f3e9d48c),url('/assets/archive-paper.webp') center / cover;
}
.atlas-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: center; gap: clamp(1.3rem, 5vw, 5rem); }
.atlas-copy > p { margin-top: .72rem; color: #344f44; }
.atlas-places { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.05rem .9rem; }
.atlas-detail { min-height: 10.5rem; padding: 1rem 1.2rem; border-left: 3px solid #658f75; background: #fffdf999; border-radius: 0 .55rem .55rem 0; }
.atlas-detail h3 { font-size: 2rem; }
.atlas-detail p { margin-block: .48rem .6rem; }
.atlas-detail .text-link { display: inline-block; margin-right: .78rem; font-size: .88rem; }
.atlas-map-art { position: relative; overflow: hidden; border: 1px solid #b5c5ad; border-radius: .85rem; }
.atlas-map img { width: 100%; }
.atlas-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .2rem;
  transform: translate(-.38rem,-50%);
  color: #153d33;
  font-size: clamp(.69rem, 1.42vw, .98rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.atlas-marker::before { content: ''; width: .76rem; height: .76rem; background: #fff9ed; border: 2px solid #25584a; border-radius: 50%; }
.atlas-marker.is-current::before { background: #f6cc4e; box-shadow: 0 0 0 .26rem #f6cc4e54; }
.atlas-marker { padding-right: .3rem; background: #fff9eddc; border-radius: .8rem; }
.atlas-musanze { left: 38.32%; top: 23.58%; }
.atlas-kigali { left: 55.69%; top: 46.66%; }
@media (max-width: 53rem) {
  .library-feature-grid, .atlas-grid { grid-template-columns: minmax(0,1fr); }
  .comparison-images { aspect-ratio: 1.3; }
  .atlas-detail { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-tile img { transition: none; }
}

.school-day, .solar-explainer { padding-block: clamp(2.5rem, 6.5vw, 6.2rem); }
.school-day {
  background: linear-gradient(115deg, #f0f4e6c9, #f9eacba8), url('/assets/archive-paper.webp') center / cover;
  color: #153635;
}
.school-day-lead, .solar-lead { margin-bottom: clamp(1rem, 2vw, 1.55rem); }
.school-day-lead p, .solar-lead p { margin-top: .65rem; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.story-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  width: fit-content;
  min-inline-size: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}
.story-choices legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.story-choices label { position: relative; display: block; }
.story-choices input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.story-choices span {
  display: grid;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem .92rem;
  border: 1px solid #6b8d7d;
  border-radius: .5rem;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
}
.story-choices label:hover span { background: #1d5a4415; }
.story-choices input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.story-choices input:checked + span { color: #fffdf7; background: #204c42; border-color: #204c42; }
.school-day-panel, .solar-state {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  column-gap: clamp(1.2rem, 4.5vw, 4rem);
}
[data-story-switch] [data-story-panel]:not([hidden]) + [data-story-panel]:not([hidden]) { margin-top: 1.55rem; }
[data-story-panel]:not([hidden]) { animation: story-appear .25s ease-out both; }
@keyframes story-appear { from { opacity: .5; } to { opacity: 1; } }
.school-day-panel figure {
  padding: .63rem;
  border-radius: .85rem;
  background: #fffdf7;
  box-shadow: 0 .6rem 1.9rem #233f2e1c;
}
.school-day-panel figure img { width: 100%; aspect-ratio: 1.74; object-fit: cover; border-radius: .47rem; }
.school-day-panel figcaption { margin: .42rem .2rem .13rem; }
.school-day-copy h3, .solar-readout h3 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); text-wrap: balance; }
.school-day-copy p, .solar-readout p { margin-top: .72rem; max-width: 32rem; }
.school-day-copy .text-link { display: inline-block; margin-top: .65rem; }

.solar-explainer {
  --focus: #ffd881;
  color: #fffdf6;
  background: radial-gradient(ellipse at 15% 0%, #29575b, transparent 66%), #142f3c;
  transition: background-color .4s ease;
}
.solar-explainer:has([data-story-switch][data-current-story="evening"]) { background-color: #08172d; }
.solar-lead p { color: #dcece9; }
.solar-explainer .story-choices span { color: #eff9f4; border-color: #9aafb0; }
.solar-explainer .story-choices label:hover span { background: #ffffff18; }
.solar-explainer .story-choices input:checked + span { color: #1e302b; background: #f7d27c; border-color: #f7d27c; }
.solar-state { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
.solar-photo {
  --photo-wash: #a2793b;
  padding: clamp(.55rem, 1.5vw, 1rem);
  border: 1px solid #d7d6b859;
  border-radius: .9rem;
  background: radial-gradient(ellipse at 34% 17%, color-mix(in srgb, var(--photo-wash) 60%, transparent), transparent 77%), #142934;
}
.solar-state--evening .solar-photo { --photo-wash: #3a5485; background-color: #111f35; }
.solar-photo img {
  width: 100%;
  height: clamp(20rem, 34vw, 32rem);
  object-fit: cover;
  object-position: center 35%;
  border-radius: .48rem;
}
.solar-state--evening .solar-photo img { object-position: center 69%; }
.solar-photo figcaption { margin: .5rem .12rem .15rem; color: #e3ece6; }
.solar-readout p { color: #e4eeeb; }
.solar-flow {
  --wire-colour: #adc0bf;
  --wire-active: #ffdb8a;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .5rem;
  margin-top: 1.55rem;
  padding: clamp(.8rem, 2.4vw, 1.34rem) .5rem;
  border: 1px solid #718e927d;
  border-radius: .68rem;
  background: #0a1b2ebd;
  list-style: none;
}
.solar-node { position: relative; display: grid; gap: .55rem; justify-items: center; color: #bacece; }
.solar-node strong { font-size: clamp(.77rem, 1.45vw, .98rem); }
.solar-node:not(:last-child)::after {
  position: absolute;
  top: 1.03rem;
  left: calc(50% + 1.48rem);
  width: calc(100% - 2.46rem);
  height: .55rem;
  background: var(--wire-colour);
  clip-path: polygon(0 38%, calc(100% - 8px) 38%, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, calc(100% - 8px) 62%, 0 62%);
  content: "";
}
.solar-state--daylight .solar-node--panel::after, .solar-state--evening .solar-node--battery::after {
  background: linear-gradient(90deg, var(--wire-active) 20%, #fff9da 48%, var(--wire-active) 72%) 0 / 200% 100%;
  animation: solar-flow 2.2s linear 2;
}
@keyframes solar-flow { to { background-position: -200% 0; } }
.solar-state--daylight .solar-node--panel, .solar-node--battery, .solar-state--evening .solar-node--lamp { color: var(--wire-active); }
.solar-icon { display: block; position: relative; width: 2.45rem; height: 2.45rem; }
.solar-icon--panel::before {
  position: absolute;
  inset: .44rem .08rem .48rem;
  border: 2px solid currentColor;
  background:
    repeating-linear-gradient(90deg, transparent 0 29%, currentColor 30% 34%, transparent 35% 40%),
    linear-gradient(transparent 46%, currentColor 47% 53%, transparent 54%);
  transform: skewX(-11deg);
  content: "";
}
.solar-icon--battery::before {
  position: absolute;
  inset: .48rem .24rem .52rem .01rem;
  border: 2px solid currentColor;
  border-radius: .25rem;
  background: linear-gradient(90deg, currentColor 0 68%, transparent 68%) center / 76% 55% no-repeat;
  content: "";
}
.solar-icon--battery::after { position: absolute; right: 0; top: .92rem; width: .25rem; height: .59rem; background: currentColor; content: ""; }
.solar-icon--lamp::before {
  position: absolute;
  inset: .25rem .48rem .6rem;
  border: 2px solid currentColor;
  border-radius: 50% 50% 44% 44%;
  box-shadow: 0 .95rem 0 -.54rem currentColor;
  content: "";
}
.solar-state--evening .solar-icon--lamp::before { background: #fbd3736b; }
@media (max-width: 53rem) {
  .school-day-panel, .solar-state { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .school-day-panel figure img { aspect-ratio: 1.58; }
  .solar-photo img { height: clamp(12.8rem, 60vw, 21rem); }
}
@media (max-width: 34rem) {
  .school-day .story-choices { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solar-photo { grid-row: 2; }
  .solar-readout h3 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .solar-flow { margin-top: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-story-panel]:not([hidden]), .solar-node:not(:last-child)::after { animation: none !important; }
  .solar-explainer { transition: none; }
}

.founder-profile img { object-position: center 16%; }
.founder-award {
  padding-block: clamp(2.8rem, 7vw, 6.7rem);
  background: radial-gradient(ellipse at 91% 13%, #334869, transparent 63%), #1c263b;
}
.founder-award-grid, .founder-library-grid, .spelling-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: center;
  gap: clamp(1.45rem, 5vw, 5rem);
}
.founder-award h2, .spelling-story h2 { margin-block: .48rem .88rem; }
.founder-award > div > div > p:not(.eyebrow) { color: #eedfd7; max-width: 29rem; }
.award-photos {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.38fr);
  align-items: end;
  gap: .8rem;
}
.award-photos img { width: 100%; border-radius: .68rem; }
.award-photos:not(:has(.award-medallion)) { grid-template-columns: minmax(0,1fr); }
.award-medallion img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 53%; }
.award-medallion figcaption { font-size: .82rem; }
.founder-library {
  padding-block: clamp(2.6rem, 6.2vw, 6.2rem);
  color: #263e33;
  background: linear-gradient(123deg,#e5eee0b3,#f2e6c99c),url('/assets/archive-paper.webp') center / cover;
}
.founder-library-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.founder-library figure { width: min(100%, 23rem); margin-inline: auto; }
.founder-library img { width: 100%; aspect-ratio: .92; object-fit: cover; object-position: center 18%; border-radius: .9rem; }
.founder-library p { max-width: 32rem; margin-top: .8rem; font-size: 1.08rem; }
.founder-library a { display: inline-block; margin-top: .7rem; }
.spelling-story {
  --focus: var(--gold);
  padding-block: clamp(2.8rem, 6.55vw, 6rem);
  color: var(--white);
  background: radial-gradient(ellipse at 80% 5%,#a6503c,transparent 71%), #6d303e;
}
.spelling-story .eyebrow { color: #ffe3a3; }
.spelling-story p:not(.eyebrow), .spelling-story figcaption { color: #fff0e4; }
.spelling-story p:not(.eyebrow) { max-width: 32rem; font-size: 1.08rem; }
.spelling-story figure { padding: .63rem; border: 1px solid #f4c19c73; border-radius: .86rem; background: #652d38; }
.spelling-story figure img { width: 100%; aspect-ratio: 1.51; object-fit: cover; object-position: center 54%; border-radius: .5rem; }
.spelling-story .text-link { display: inline-block; margin-top: .72rem; }
.donate-hero img { object-position: 50% 52%; }
.donate-hero .actions { gap: .68rem .8rem; }
.receipt-band .contact-band { display: grid; grid-template-columns: minmax(0,.73fr) minmax(0,1.27fr); gap: 1.45rem clamp(1.55rem, 5vw, 4.75rem); align-items: start; }
.receipt-band .button { margin-top: .8rem; }
.receipt-routes { display: grid; gap: .7rem; }
.receipt-routes > div { padding: 1rem 1.16rem; border: 1px solid #84bdc083; border-radius: .65rem; background: #102a3d8f; }
.receipt-routes dt { color: #ffdc85; font-weight: 700; }
.receipt-routes dd { margin-top: .24rem; color: #eaf5f5; }
.contact-hero img { object-position: center 48%; }
.contact-details { background: linear-gradient(115deg,#f9efd9aa,#e7eeddad),url('/assets/archive-paper.webp') center / cover; }
.contact-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.65rem, 2vw, 1.22rem); margin-top: 1.22rem; }
.contact-topic-grid a {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: .5rem .5rem;
  padding: clamp(.9rem, 2.3vw, 1.5rem);
  min-height: 9.8rem;
  text-decoration: none;
  border: 1px solid #a9bba9;
  border-radius: .7rem;
  background: #fffdf5;
}
.contact-topic-grid h3 { font-size: clamp(1.82rem, 3vw, 2.7rem); }
.contact-topic-grid p { margin: 0; grid-column: 1 / -1; font-size: .93rem; }
.contact-topic-grid span { grid-column: 2; grid-row: 1; color: #145a49; font-weight: 700; }
.contact-topic-grid a:hover { background: #edf3e5; border-color: #4d816a; }
.contact-place .text-link { display: inline-block; margin-top: .62rem; }
.contact-place .contact-registration { color: #3a5d51; font-size: .86rem; }
@media (max-width: 53rem) {
  .founder-award-grid, .founder-library-grid, .spelling-grid, .receipt-band .contact-band { grid-template-columns: minmax(0,1fr); }
  .founder-library figure { margin-inline: 0; }
  .contact-topic-grid { grid-template-columns: minmax(0,1fr); }
  .contact-topic-grid a { min-height: 0; }
}
@media (max-width: 33rem) {
  .history-chapters .story-choices { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .donate-hero .actions .button { width: 100%; justify-content: space-between; }
  .award-photos { grid-template-columns: minmax(0,1fr) minmax(0,.44fr); align-items: start; }
}
