:root {
  color-scheme: light;
  --navy: #064f76;
  --navy-deep: #073d5b;
  --ink: #16384b;
  --muted: #557084;
  --berry: #c9155f;
  --pink: #eb116c;
  --pink-soft: #f6d5e3;
  --plum: #79184d;
  --lime: #80b86a;
  --sky: #41b7e4;
  --cream: #f7f4ef;
  --paper: #ffffff;
  --line: #dedbd4;
  --display: "Segoe UI Variable Display", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--pink); color: var(--paper); }
main, footer { position: relative; z-index: 1; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  padding: .75rem 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(6,79,118,.2);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #ffdb62; outline-offset: 4px; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--sky), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  animation: page-progress linear;
  animation-timeline: scroll(root block);
}
@keyframes page-progress { to { transform: scaleX(1); } }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(5,48,72,.12);
}
.utility-bar {
  min-height: 35px;
  background: var(--navy);
  color: var(--paper);
  font-size: .76rem;
  font-weight: 700;
}
.utility-inner,
.main-nav {
  width: 100%;
  margin: 0;
  padding-inline: clamp(1rem, 1.25vw, 1.5rem);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
}
.utility-inner > span { letter-spacing: .06em; }
.utility-inner nav { display: flex; align-items: center; gap: 1.8rem; }
.utility-inner a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color 180ms ease;
}
.utility-inner a:hover { color: #fff; }
.main-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(6,79,118,.09);
  background: rgba(255,255,255,.98);
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--navy);
  text-decoration: none;
}
.brand {
  flex: 0 0 auto;
  transition: color 180ms ease, transform 240ms var(--ease-out);
}
.brand img { width: 50px; height: 50px; transition: transform 300ms var(--ease-out), filter 300ms ease; }
.brand-copy { line-height: 1.05; }
.brand-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.035em;
}
.brand-copy span {
  display: block;
  margin-top: .32rem;
  color: var(--berry);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
  margin-left: auto;
}
.primary-nav a {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}
.primary-nav a:not(.nav-give):hover { color: var(--berry); }
.nav-give,
.mobile-give {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 6px;
  background: var(--berry);
  color: var(--paper) !important;
  padding: .72rem 1.1rem;
  box-shadow: 0 7px 17px rgba(201,21,95,.22);
  transition: transform 220ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}
.nav-give:hover,
.mobile-give:hover { background: var(--plum); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(121,24,77,.24); }
.mobile-give { display: none; margin-left: auto; font-size: .72rem; font-weight: 800; text-decoration: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr);
  gap: clamp(2.5rem, 4.5vw, 5.25rem);
  align-items: center;
  min-height: 930px;
  margin-top: 117px;
  overflow: hidden;
  padding: clamp(4.6rem, 6.5vw, 7rem) max(3rem, 6.5vw) clamp(4.8rem, 7vw, 7.2rem);
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.11), transparent 24%),
    linear-gradient(112deg, #b80f54 0%, #d31862 53%, #ec126c 100%);
  color: var(--paper);
}
.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.hero::before {
  inset: -20% auto -20% 39%;
  width: 29%;
  background: rgba(103,11,79,.28);
  clip-path: polygon(17% 0, 100% 0, 70% 100%, 0 100%);
}
.hero::after {
  inset: -25% -8% -25% auto;
  width: 28%;
  background: rgba(255,255,255,.07);
  clip-path: polygon(35% 0, 100% 0, 72% 100%, 0 100%);
}
.hero-shape {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape-one { width: 360px; height: 360px; right: 36%; bottom: -210px; }
.hero-shape-two { width: 138px; height: 138px; left: 4%; top: 8%; opacity: .6; }
.hero-copy,
.hero-give { position: relative; z-index: 2; }
.hero-copy { max-width: 840px; }
.eyebrow,
.section-label {
  margin: 0 0 1.15rem;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,.88); }
h1, h2, h3 { margin-top: 0; font-family: var(--display); font-weight: 850; }
h1 {
  max-width: 12ch;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(3.35rem, 4.35vw, 4.9rem);
  letter-spacing: -.075em;
  line-height: .94;
}
h1 span { display: block; white-space: nowrap; }
h1 span + span { margin-top: .12em; }
.hero-lede {
  max-width: 46ch;
  margin: 1.75rem 0 0;
  color: rgba(255,255,255,.96);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.42vw, 1.43rem);
  line-height: 1.5;
}
.hero-profile {
  --portrait-size: clamp(420px, 34vw, 540px);
  display: grid;
  grid-template-columns: var(--portrait-size) minmax(145px, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
  width: min(100%, 780px);
  margin: 2.25rem 0 0;
  transition: transform 420ms var(--ease-out);
}
.hero-profile-portrait {
  position: relative;
  width: var(--portrait-size);
  aspect-ratio: 1;
  transition: transform 420ms var(--ease-out), filter 420ms ease;
}
.hero-profile-portrait::before,
.hero-profile-portrait::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
.hero-profile-portrait::before {
  inset: -14px;
  border: 2px solid rgba(255,255,255,.44);
  box-shadow: 0 0 0 1px rgba(121,24,77,.2), 0 24px 70px rgba(73,7,47,.24);
  transition: inset 420ms var(--ease-out), border-color 300ms ease, box-shadow 420ms ease;
}
.hero-profile-portrait::after {
  inset: 18px -24px -18px 24px;
  z-index: -1;
  background: rgba(73, 9, 58, .34);
  transition: transform 420ms var(--ease-out), background 300ms ease;
}
.hero-profile-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 9px solid rgba(255,255,255,.98);
  border-radius: 50%;
  background: #f5dbe5;
  box-shadow: 0 34px 70px rgba(73,7,47,.34), inset 0 0 0 1px rgba(121,24,77,.1);
}
.hero-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 33%;
  transition: transform 650ms var(--ease-out), filter 450ms ease;
}
.hero-profile figcaption { max-width: 17ch; }
.hero-profile-rule {
  width: 46px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.hero-profile strong,
.hero-profile span,
.hero-profile small { display: block; }
.hero-profile strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.1; }
.hero-profile figcaption > span:not(.hero-profile-rule) { margin-top: .35rem; color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-profile small { margin-top: .8rem; color: rgba(255,255,255,.8); font-family: var(--serif); font-size: .91rem; line-height: 1.45; }

.hero-give {
  isolation: isolate;
  width: min(100%, 570px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.7vw, 2.65rem);
  background:
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(121,8,77,.2) 42%, rgba(88,6,61,.31)),
    rgba(111,8,72,.24);
  box-shadow:
    0 38px 90px rgba(82,5,51,.34),
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -1px 0 rgba(255,255,255,.14),
    0 0 0 1px rgba(121,24,77,.08);
  -webkit-backdrop-filter: blur(26px) saturate(180%) contrast(1.05);
  backdrop-filter: blur(26px) saturate(180%) contrast(1.05);
  transition: transform 420ms var(--ease-out), border-color 300ms ease, box-shadow 420ms ease;
}
.hero-give::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.44), transparent 31%),
    linear-gradient(105deg, rgba(255,255,255,.14), transparent 38%, rgba(255,255,255,.1));
  content: "";
  pointer-events: none;
}
.hero-give::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 19px;
  content: "";
  pointer-events: none;
}
.hero-give > * { position: relative; z-index: 1; }
.give-intro { max-width: 570px; }
.give-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.give-intro .section-label { margin-bottom: 0; color: rgba(255,255,255,.86); }
.checkout-mode {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: .38rem .66rem;
  color: var(--paper);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.give-intro h2 {
  max-width: 11ch;
  margin: 1.35rem 0 1rem;
  color: var(--paper);
  font-size: clamp(2.15rem, 3.2vw, 3.5rem);
  letter-spacing: -.06em;
  line-height: .98;
}
.give-intro > p {
  max-width: 53ch;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}
.donation-status {
  margin: 1.3rem 0 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 10px;
  padding: .72rem .82rem;
  background: rgba(107,7,69,.25);
  color: var(--paper);
  font-size: .82rem;
  line-height: 1.35;
}
.donation-status.is-success { background: rgba(31,111,79,.34); }
.donation-status.is-cancelled { background: rgba(107,7,69,.18); }
.donation-form {
  display: grid;
  gap: 1.45rem;
  margin-top: 1.8rem;
}
.donation-form fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.donation-form legend,
.custom-amount > label {
  display: block;
  margin-bottom: .62rem;
  color: var(--paper);
  font-size: .98rem;
  font-weight: 800;
}
.segmented-control,
.amount-grid { display: grid; gap: .55rem; }
.segmented-control { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amount-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.segmented-control input,
.amount-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.segmented-control label,
.amount-grid label {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 8px;
  background: rgba(87,6,61,.08);
  color: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform 220ms var(--ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}
.segmented-control label:hover,
.amount-grid label:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); box-shadow: 0 9px 20px rgba(73,7,47,.18), inset 0 1px 0 rgba(255,255,255,.26); }
.segmented-control input:checked + label,
.amount-grid input:checked + label {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--berry);
}
.segmented-control input:focus-visible + label,
.amount-grid input:focus-visible + label { outline: 3px solid #ffdb62; outline-offset: 3px; }
.amount-grid label[for="amount-custom"] { grid-column: span 2; }
.custom-amount { margin-top: 1rem; }
.currency-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}
.currency-input > span { padding-left: 1rem; color: var(--paper); font-weight: 900; }
.currency-input input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: .82rem 1rem .82rem .35rem;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 800;
}
.currency-input:focus-within { border-color: #ffdb62; box-shadow: 0 0 0 3px rgba(255,219,98,.26); }
.custom-amount > p { margin: .5rem 0 0; color: rgba(255,255,255,.76); font-size: .75rem; }
.checkout-row { display: grid; gap: .75rem; }
.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: .86rem 1.3rem;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { width: 100%; background: var(--paper); color: var(--berry); box-shadow: 0 10px 22px rgba(115,8,65,.18); }
.button-light:hover { background: #fff5fa; box-shadow: 0 14px 28px rgba(115,8,65,.24); }
.button-dark { border-color: var(--paper); background: var(--navy); color: var(--paper); }
.button-dark:hover { background: var(--navy-deep); }
.button:disabled { cursor: not-allowed; opacity: .64; transform: none; box-shadow: none; }
.donation-link[aria-disabled="true"] { cursor: not-allowed; opacity: .68; pointer-events: none; }
.button-arrow { font-size: 1.15rem; line-height: 1; }
.secure-note { display: flex; align-items: flex-start; gap: .55rem; }
.secure-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: var(--paper);
  font-size: .9rem;
  line-height: 1;
}
.payment-note,
.form-message { margin: 0; font-size: .75rem; line-height: 1.4; }
.payment-note { color: rgba(255,255,255,.76); }
.payment-note strong { color: var(--paper); }
.form-message { min-height: 1.1em; color: #ffe0eb; }

.section-shell { width: min(100% - 3rem, 1260px); margin: 0 auto; }
.legacy {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}
.legacy-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}
.dark-label { color: var(--berry); }
.legacy h2,
.mission h2,
.community h2,
.closing-cta h2 {
  margin-bottom: 1.35rem;
  color: var(--navy);
  font-size: clamp(2.65rem, 5vw, 5rem);
  letter-spacing: -.075em;
  line-height: .97;
}
.legacy h2 { max-width: 10ch; }
.legacy-copy p:not(.section-label) {
  max-width: 60ch;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
}
.drop-cap::first-letter {
  float: left;
  padding: .1rem .5rem 0 0;
  color: var(--berry);
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 900;
  line-height: .76;
}
.upmc-word { color: var(--plum); font-weight: 900; letter-spacing: .03em; }
.legacy-promise {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3.6rem);
  background: var(--navy);
  color: var(--paper);
  box-shadow: 22px 22px 0 rgba(65,183,228,.32);
  transition: transform 420ms var(--ease-out), box-shadow 420ms ease;
}
.legacy-promise::after {
  position: absolute;
  right: -64px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  content: "";
}
.promise-ring {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 850;
  letter-spacing: .05em;
}
.legacy-promise p {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.mission {
  background: var(--paper);
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(6rem, 10vw, 10rem);
}
.section-heading { max-width: 780px; margin: 0 auto; text-align: center; }
.section-heading h2 { max-width: 12ch; margin-inline: auto; }
.section-heading > p:last-child {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.8rem);
  margin-top: clamp(3.8rem, 6vw, 6.5rem);
}
.impact-card {
  min-width: 0;
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.35rem;
  transition: transform 380ms var(--ease-out), background 300ms ease, box-shadow 380ms ease;
}
.impact-circle {
  width: min(100%, 292px);
  aspect-ratio: 1;
  margin: 0 auto 1.65rem;
  padding: 9px;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(6,79,118,.17), 0 0 0 1px rgba(6,79,118,.08);
  transition: transform 480ms var(--ease-out), box-shadow 420ms ease;
}
.impact-circle img {
  width: 100%;
  height: 100%;
  border: 5px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  transition: transform 650ms var(--ease-out), filter 450ms ease;
}
.circle-blue { background: var(--sky); }
.circle-pink { background: var(--pink); }
.circle-lime { background: var(--lime); }
.impact-card-copy { text-align: left; }
.impact-index {
  display: block;
  margin-bottom: .65rem;
  color: var(--berry);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.impact-card h3 {
  max-width: 15ch;
  margin-bottom: .75rem;
  color: var(--navy);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -.045em;
  line-height: 1.04;
}
.impact-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.48;
}

.community {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}
.community-shell {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}
.community .section-label { color: #a4ddf3; }
.community h2 { max-width: 10ch; color: var(--paper); font-size: clamp(2.35rem, 4.2vw, 4.6rem); }
.community-visual {
  margin: 0;
  transition: transform 420ms var(--ease-out), filter 420ms ease;
}
.community-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(135deg, #86ddf8 0%, var(--sky) 52%, #1b8fbc 100%);
  box-shadow:
    0 0 0 1px rgba(65,183,228,.38),
    0 28px 65px rgba(3,37,56,.36),
    inset 0 1px 0 rgba(255,255,255,.72);
}
.community-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 450ms ease;
}
.community-visual:hover img { transform: scale(1.035); }
.community-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.community-visual figcaption strong { font-size: 1.2rem; }
.community-visual figcaption span { max-width: 44ch; color: rgba(255,255,255,.72); font-family: var(--serif); font-size: .88rem; line-height: 1.4; text-align: right; }

.closing-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, #f0eef3 0%, #f7d8e4 100%);
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  text-align: center;
}
.closing-inner { position: relative; z-index: 2; }
.closing-cta .section-label { color: var(--berry); }
.closing-cta h2 { max-width: 10ch; margin-inline: auto; }
.closing-cta p:not(.section-label) { max-width: 48ch; margin: 0 auto 1.8rem; color: var(--muted); font-family: var(--serif); font-size: 1.12rem; }
.closing-orbit {
  position: absolute;
  border: 1px solid rgba(201,21,95,.22);
  border-radius: 50%;
}
.closing-orbit-one { width: 480px; height: 480px; left: -220px; top: -170px; }
.closing-orbit-two { width: 310px; height: 310px; right: -80px; bottom: -170px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 2.5rem max(1.5rem, 5vw);
}
.footer-brand { color: var(--navy); font-size: .86rem; font-weight: 850; line-height: 1.04; text-transform: uppercase; }
.footer-brand { transition: color 180ms ease, transform 220ms var(--ease-out); }
.footer-brand img { width: 52px; height: 52px; }
footer p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-meta { max-width: 52ch; line-height: 1.45; text-align: right; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal:not(.is-visible) { opacity: 0; filter: blur(8px); transform: translate3d(0, 34px, 0); }
.motion-ready .reveal { transition: opacity 700ms ease, filter 700ms ease, transform 800ms var(--ease-out); }
.motion-ready .reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }
.motion-ready .delay-one { transition-delay: 100ms; }
.motion-ready .delay-two { transition-delay: 200ms; }

@media (hover: hover) and (pointer: fine) {
  .brand:hover { color: var(--berry); transform: translateY(-2px); }
  .brand:hover img { filter: drop-shadow(0 8px 14px rgba(6,79,118,.2)); transform: rotate(-3deg) scale(1.06); }
  .primary-nav a:not(.nav-give):hover { transform: translateY(-2px); }
  .motion-ready .hero-profile.reveal.is-visible:hover { transform: translateY(-8px); }
  .hero-profile:hover .hero-profile-portrait { filter: saturate(1.07) contrast(1.03); transform: scale(1.018); }
  .hero-profile:hover .hero-profile-portrait::before { inset: -20px; border-color: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(121,24,77,.22), 0 34px 90px rgba(73,7,47,.34); }
  .hero-profile:hover .hero-profile-portrait::after { background: rgba(73,9,58,.42); transform: translate(8px, 8px); }
  .hero-profile:hover .hero-profile-image img { transform: scale(1.04); }
  .motion-ready .hero-give.reveal.is-visible:hover { border-color: rgba(255,255,255,.68); transform: translateY(-7px); box-shadow: 0 48px 110px rgba(82,5,51,.42), inset 0 1px 0 rgba(255,255,255,.72), inset 0 -1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(121,24,77,.1); }
  .motion-ready .legacy-promise.reveal.is-visible:hover { transform: translate(-4px, -6px); box-shadow: 28px 30px 0 rgba(65,183,228,.36), 0 24px 50px rgba(6,79,118,.18); }
  .motion-ready .impact-card.reveal.is-visible:hover { background: rgba(247,244,239,.72); box-shadow: 0 22px 55px rgba(6,79,118,.11); transform: translateY(-10px); }
  .impact-card:hover .impact-circle { box-shadow: 0 28px 58px rgba(6,79,118,.24), 0 0 0 2px rgba(201,21,95,.1); transform: scale(1.045); }
  .impact-card:hover .impact-circle img { filter: saturate(1.07) contrast(1.03); transform: scale(1.035); }
  .motion-ready .community-visual.reveal.is-visible:hover { filter: saturate(1.04); transform: translateY(-9px); }
  .footer-brand:hover { color: var(--berry); transform: translateY(-2px); }
}

.button:active,
.nav-give:active,
.mobile-give:active { transform: translateY(1px) scale(.985); }

@media (max-width: 1040px) {
  .utility-inner, .main-nav { padding-inline: 1.5rem; }
  .hero { grid-template-columns: 1fr; gap: 4.5rem; padding-inline: max(2rem, 7vw); }
  .hero-copy { max-width: 760px; }
  .hero-give { width: min(100%, 680px); justify-self: start; }
  .hero-profile { --portrait-size: clamp(360px, 50vw, 500px); }
  .impact-grid { gap: 1.4rem; }
}

@media (max-width: 860px) {
  .primary-nav a:not(.nav-give) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3.5rem;
    padding-top: 5.5rem;
    padding-bottom: 5.8rem;
  }
  .hero-copy { max-width: 680px; }
  .hero-give { width: min(100%, 680px); justify-self: start; }
  .legacy-shell, .community-shell { grid-template-columns: 1fr; gap: 3rem; }
  .legacy-promise { max-width: 620px; }
  .community-copy h2 { max-width: 14ch; }
  .community-visual { max-width: 800px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .utility-bar { display: none; }
  .utility-inner, .main-nav { padding-inline: 1rem; }
  .section-shell { width: min(100% - 2rem, 1380px); }
  .main-nav { min-height: 72px; gap: .75rem; }
  .brand img { width: 43px; height: 43px; }
  .brand-copy { display: none; }
  .primary-nav { display: none; }
  .mobile-give { display: inline-flex; }
  .hero { margin-top: 72px; padding: 3.8rem 1rem 4.2rem; gap: 3rem; }
  .hero::before { left: 27%; width: 56%; }
  .hero::after { width: 42%; }
  .hero-shape-one { width: 170px; height: 170px; right: -50px; bottom: 32%; }
  .hero-shape-two { width: 78px; height: 78px; left: auto; right: 8%; top: 7%; }
  .eyebrow, .section-label { font-size: .65rem; }
  h1 { max-width: 10ch; font-size: clamp(2.7rem, 12.3vw, 4.25rem); }
  h1 span { white-space: normal; }
  .hero-lede { margin-top: 1.5rem; font-size: 1.06rem; }
  .hero-profile {
    --portrait-size: min(82vw, 340px);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.45rem;
    margin-top: 2rem;
  }
  .hero-profile-portrait { width: var(--portrait-size); }
  .hero-profile-image { border-width: 6px; }
  .hero-profile figcaption { max-width: 27ch; }
  .hero-profile small { font-size: .86rem; }
  .hero-give { border-radius: 16px; padding: 1.35rem; }
  .give-kicker-row { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .give-intro h2 { margin-top: 1rem; font-size: 2.55rem; }
  .donation-form { margin-top: 1.45rem; gap: 1.2rem; }
  .donation-form legend { font-size: .93rem; }
  .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amount-grid label[for="amount-custom"] { grid-column: 1 / -1; }
  .segmented-control label, .amount-grid label { min-height: 50px; }
  .legacy, .mission, .community, .closing-cta { padding-top: 5rem; padding-bottom: 5rem; }
  .legacy h2, .mission h2, .community h2, .closing-cta h2 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .legacy-promise { min-height: 260px; box-shadow: 12px 12px 0 rgba(65,183,228,.3); }
  .impact-grid { grid-template-columns: 1fr; gap: 3.8rem; }
  .impact-circle { width: min(78vw, 292px); margin-bottom: 1.35rem; }
  .impact-card-copy { max-width: 420px; margin: 0 auto; }
  .community-image-wrap { clip-path: none; }
  .community-visual figcaption { align-items: flex-start; flex-direction: column; }
  .community-visual figcaption span { text-align: left; }
  footer { grid-template-columns: 1fr; align-items: start; gap: 1.3rem; padding: 2rem 1rem; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1 !important; filter: none !important; transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .hero::before, .hero::after, .hero-shape { display: none; }
  .hero-give {
    background: #8e104f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-give::before { display: none; }
  .donation-status { background: var(--plum); }
}
