@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #17243a;
  --ink-soft: #34435a;
  --paper: #f4efe5;
  --paper-deep: #e9e0d1;
  --white: #fffdf9;
  --gold: #aa7d38;
  --gold-light: #d7be89;
  --line: rgba(23, 36, 58, 0.16);
  --line-light: rgba(255, 253, 249, 0.22);
  --shadow: 0 26px 70px rgba(40, 31, 21, 0.14);
  --shadow-small: 0 14px 35px rgba(40, 31, 21, 0.1);
  --container: min(100% - 2rem, 76rem);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Fraunces ships here as a wght-only cut (no opsz axis), so weight is
     stepped down manually as size goes up to keep optical colour even. */
  --wt-display: 520;
  --wt-heading: 560;
  --wt-subhead: 600;
  --wt-label: 650;
  --wt-nav: 600;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(170, 125, 56, 0.1), transparent 30rem),
    radial-gradient(circle at 100% 30%, rgba(85, 106, 138, 0.08), transparent 34rem),
    var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.08rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: 0.055;
  content: "";
  pointer-events: none;
}

body[data-menu-open] {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--ink);
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

/* UA default is `1em 40px`; zeroing only margin-top left every figure inset
   from its column and short of its grid track. */
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 1.55rem + 4.3vw, 5.25rem);
  font-weight: var(--wt-display);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 1.25rem + 2.1vw, 3rem);
  font-weight: var(--wt-heading);
  letter-spacing: -0.025em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 1.1rem + 0.62vw, 1.7rem);
  font-weight: var(--wt-subhead);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p {
  margin-bottom: 1.1rem;
  max-width: 65ch;
  text-wrap: pretty;
}

small {
  line-height: 1.5;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 53rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.35rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header[data-scrolled],
body[data-menu-open] .site-header {
  border-color: var(--line);
  background: rgba(244, 239, 229, 0.91);
  box-shadow: 0 7px 28px rgba(40, 31, 21, 0.06);
  backdrop-filter: blur(18px) saturate(140%);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 6rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__seal {
  position: relative;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.06em;
}

.brand__seal::before {
  position: absolute;
  top: -0.43rem;
  left: 50%;
  width: 1px;
  height: 0.85rem;
  background: var(--gold);
  content: "";
}

.brand__seal::after {
  position: absolute;
  top: -0.18rem;
  left: calc(50% - 0.24rem);
  width: 0.48rem;
  height: 1px;
  background: var(--gold);
  content: "";
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: var(--wt-subhead);
  letter-spacing: -0.02em;
}

.brand__place {
  margin-top: 0.24rem;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: var(--wt-nav);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: clamp(0.9rem, 2vw, 1.75rem);
  list-style: none;
}

.site-nav a {
  position: relative;
  padding-block: 0.6rem;
  font-size: 0.8rem;
  font-weight: var(--wt-nav);
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 230ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__donate {
  min-width: max-content;
}

.nav__mobile-donate {
  display: none;
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.25rem auto;
  background: currentColor;
  content: "";
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(0.31rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-0.31rem) rotate(-45deg);
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 230ms ease,
    background-color 230ms ease,
    border-color 230ms ease,
    transform 230ms var(--ease);
}

.button {
  padding: 0.9rem 1.35rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0.3rem;
}

.button:hover {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.button:active,
.text-link:active {
  transform: translateY(1px) scale(0.99);
}

.button--gold {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button--gold:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.button--light {
  color: var(--white);
  background: transparent;
  border-color: var(--line-light);
}

.button--light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  min-height: auto;
  padding-block: 0.45rem;
  border-bottom: 1px solid currentColor;
}

.text-link::after {
  content: "↗";
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: translate(0.18rem, -0.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
  gap: 0.9rem 1.35rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(6rem, 11vw, 10rem);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -8rem;
  width: clamp(20rem, 45vw, 43rem);
  aspect-ratio: 1;
  border: 1px solid rgba(170, 125, 56, 0.22);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(23rem, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__lead {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 0.98rem + 0.42vw, 1.2rem);
  line-height: 1.5;
}

.hero__visual {
  position: relative;
  min-height: clamp(32rem, 48vw, 43rem);
}

.hero__photo {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo--main {
  top: 0;
  right: 0;
  width: 85%;
  height: 72%;
  border-radius: 0.4rem 7rem 0.4rem 0.4rem;
}

.hero__photo--card {
  bottom: 0;
  left: 0;
  width: 46%;
  height: 49%;
  border: 0.6rem solid var(--white);
  border-radius: 0.25rem;
  transform: rotate(-2.2deg);
}

.hero__caption {
  position: absolute;
  right: 0;
  bottom: 4.5%;
  width: 48%;
  padding: 1.15rem 1.35rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-small);
  font-size: 0.75rem;
  line-height: 1.45;
}

.hero__caption strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: var(--wt-subhead);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4rem, -6vw, -2.6rem);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 9rem;
  padding: 1.65rem;
  color: rgba(255, 253, 249, 0.74);
  border-left: 1px solid var(--line-light);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 0.62vw, 1.6rem);
  font-weight: var(--wt-heading);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.trust-item--lead {
  display: grid;
  align-content: center;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4.5rem, 3rem + 5.6vw, 7rem) 0;
}

.section--compact {
  padding-block: clamp(3.5rem, 2.5rem + 3.7vw, 5.5rem);
}

.section--ink {
  position: relative;
  overflow: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 30%, rgba(170, 125, 56, 0.16), transparent 27rem),
    var(--ink);
}

.section--ink::before {
  position: absolute;
  top: -18rem;
  right: -15rem;
  width: 40rem;
  height: 40rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  content: "";
}

.section--ink p {
  color: rgba(255, 253, 249, 0.73);
}

.section--paper-deep {
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.75rem + 2.8vw, 4rem);
  gap: 2rem 5rem;
}

.section-heading h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.section--ink .section-heading p {
  color: rgba(255, 253, 249, 0.7);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.mission-aside {
  position: sticky;
  top: 8rem;
  padding-top: 0.5rem;
}

.mission-aside__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.15rem + 1.25vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

.mission-aside__quote footer {
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-stack {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.story-card {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  min-height: 16rem;
  background: var(--paper);
}

.story-card__image {
  overflow: hidden;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.story-card:hover .story-card__image img {
  transform: scale(1.035);
}

.story-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.7rem, 4vw, 3rem);
}

.story-card__number {
  margin-bottom: auto;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: var(--wt-subhead);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.story-card__body p {
  color: var(--ink-soft);
}

.story-card__body .text-link {
  margin-top: auto;
}

.legacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1fr);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.legacy-panel__image {
  min-height: 37rem;
}

.legacy-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.legacy-panel__body {
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.legacy-panel__body h2 {
  max-width: 13ch;
}

.legacy-panel__body p {
  color: rgba(255, 253, 249, 0.74);
}

/* Fraunces loads here as a normal-only face, so `font-style: italic` would be
   a synthesised slant. Differentiate with colour, size and tracking instead. */
.legacy-script {
  margin: 0 0 1.1rem;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1.15rem, 0.98rem + 0.62vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  background: var(--line);
}

.path-card {
  position: relative;
  display: flex;
  min-height: 28rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
}

.path-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 22rem;
}

.path-card__image {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.path-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 36, 58, 0.03) 20%, rgba(23, 36, 58, 0.92) 100%);
  content: "";
}

.path-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.path-card:hover .path-card__image img {
  transform: scale(1.04);
}

.path-card__content {
  position: relative;
  z-index: 1;
}

.path-card h3 {
  max-width: 16ch;
  font-size: clamp(1.6rem, 1.2rem + 1.35vw, 2.3rem);
  font-weight: var(--wt-heading);
  letter-spacing: -0.022em;
  line-height: 1.1;
}

.path-card p {
  color: rgba(255, 253, 249, 0.78);
}

.path-card__arrow {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-top: 1.5rem;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms var(--ease);
}

.path-card:hover .path-card__arrow {
  color: var(--ink);
  background: var(--gold-light);
  transform: translate(0.25rem, -0.25rem);
}

.donation-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  gap: 2rem;
  color: var(--ink);
  background: var(--gold-light);
}

.donation-band h2 {
  max-width: 18ch;
  margin-bottom: 0.7rem;
  font-size: clamp(1.55rem, 1.2rem + 1.55vw, 2.25rem);
}

.donation-band p {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  padding: 0;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: var(--wt-nav);
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumbs li + li::before {
  margin-right: 0.6rem;
  color: var(--gold);
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  align-items: end;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.page-hero__grid--solo {
  grid-template-columns: minmax(0, 52rem);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.7rem);
}

.page-hero__lead {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 0.98rem + 0.42vw, 1.2rem);
  line-height: 1.5;
}

.page-hero__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(19rem, 5rem + 24vw, 27rem);
  border-radius: 0.35rem 6rem 0.35rem 0.35rem;
  box-shadow: var(--shadow);
}

/* Absolute fill: a percentage height against a min-height-only parent is
   indeterminate, which left the image short of the box. */
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tall photographs: bias the crop toward the upper third so faces survive. */
.page-hero__media--portrait img {
  object-position: center 20%;
}

/* The prayer card is a document, not a scene — mount it whole rather than
   cropping it to the frame. */
.page-hero__media--card {
  background: var(--paper-deep);
}

.page-hero__media--card img {
  padding: 1.25rem 1.25rem 5rem;
  object-fit: contain;
  object-position: center;
}

/* Full-width label bar so the note sits below the card, not across it. */
.page-hero__media--card .page-hero__note {
  right: 0;
  left: 0;
  max-width: none;
}

.page-hero__note {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 17rem;
  padding: 1.25rem 1.4rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  line-height: 1.5;
}

.prose {
  font-size: clamp(1.02rem, 0.99rem + 0.13vw, 1.1rem);
  line-height: 1.68;
}

.prose > p:first-of-type {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.15rem + 0.72vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.32;
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.7rem, 1.35rem + 1.35vw, 2.4rem);
}

.prose h3 {
  margin-top: 2.25rem;
}

.prose ul,
.prose ol {
  max-width: 65ch;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.7rem;
  padding-left: 0.4rem;
}

.prose a:not(.button):not(.text-link) {
  color: #715019;
  font-weight: 700;
}

.prose address {
  margin-bottom: 1.5rem;
  font-style: normal;
}

.virtue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  gap: 1px;
  background: var(--line);
}

.virtue {
  min-height: 13rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  background: var(--paper);
}

.virtue span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: var(--wt-subhead);
  letter-spacing: 0.02em;
}

/* `ul.` so it outranks `.prose ul`, whose padding-left exposed a strip of the
   hairline background down the left edge. */
ul.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: 3rem 0;
  padding: 0;
  gap: 1px;
  background: var(--line);
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 8rem;
  margin: 0;
  padding: 2rem 2rem 2rem 3.5rem;
  background: var(--paper);
}

.feature-list li::before {
  position: absolute;
  top: 2.45rem;
  left: 1.7rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.availability {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin: 2.5rem 0 4.5rem;
  padding: 1.35rem 1.5rem;
  gap: 1rem 1.5rem;
  border: 1px solid rgba(170, 125, 56, 0.45);
  background: rgba(215, 190, 137, 0.22);
}

.availability__dot {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0.4rem rgba(170, 125, 56, 0.12);
}

.availability strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: var(--wt-subhead);
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.availability span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 17rem;
  gap: 0.8rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.gallery__item:first-child {
  grid-row: span 2;
}

.gallery__item:nth-child(4) {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 750ms var(--ease),
    opacity 250ms ease;
}

.gallery__item::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.9);
  border-radius: 50%;
  content: "+";
  place-items: center;
  transition: transform 220ms var(--ease);
}

.gallery__item:hover img {
  opacity: 0.9;
  transform: scale(1.035);
}

.gallery__item:hover::after {
  transform: rotate(90deg);
}

.gallery-dialog {
  width: min(92vw, 72rem);
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgba(10, 17, 29, 0.82);
  backdrop-filter: blur(6px);
}

.gallery-dialog img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #0d1624;
}

.gallery-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  gap: 1rem;
}

.gallery-dialog__bar p {
  margin: 0;
  font-size: 0.82rem;
}

.gallery-dialog__close {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  cursor: pointer;
}

.timeline {
  position: relative;
  display: grid;
  margin-top: 2rem;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 19rem;
}

.timeline__item:nth-child(even) .timeline__content {
  grid-column: 2;
}

.timeline__item:nth-child(even) .timeline__number {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.timeline__content {
  padding: 3rem clamp(2rem, 6vw, 6rem);
}

.timeline__content p {
  color: var(--ink-soft);
}

.timeline__number {
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 2rem;
  color: var(--gold);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--display);
  place-items: center;
  position: relative;
  z-index: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.split--reverse > :first-child {
  grid-column: 2;
  grid-row: 1;
}

.split--reverse > :last-child {
  grid-column: 1;
  grid-row: 1;
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(27rem, 48vw, 40rem);
  border-radius: 0.35rem 6rem 0.35rem 0.35rem;
  box-shadow: var(--shadow);
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.contact-card {
  min-height: 21rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
}

.contact-card:nth-child(3) {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--ink);
}

.contact-card:nth-child(3) p {
  color: rgba(255, 253, 249, 0.72);
}

.contact-card__label {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card__value {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.15rem + 1.05vw, 1.95rem);
  font-weight: var(--wt-heading);
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-decoration: none;
}

.contact-card__value:hover {
  color: var(--gold);
}

.legal-note {
  padding: 1.5rem;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.55);
  border-left: 3px solid var(--gold);
  font-size: 0.84rem;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-top: clamp(5rem, 9vw, 8rem);
  color: var(--white);
  background: #111d30;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.7fr);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  gap: 3rem 6rem;
}

.footer__brand h2 {
  max-width: 15ch;
  font-size: clamp(1.9rem, 1.5rem + 1.55vw, 2.7rem);
}

.footer__brand p {
  color: rgba(255, 253, 249, 0.66);
}

.footer__heading {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: var(--wt-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: rgba(255, 253, 249, 0.78);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding-block: 1rem;
  gap: 1.5rem;
  color: rgba(255, 253, 249, 0.55);
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal a {
  text-decoration: none;
}

.error-page {
  display: grid;
  min-height: calc(100dvh - 6rem);
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.error-page h1 {
  max-width: none;
  margin-inline: auto;
  color: var(--gold);
  font-size: clamp(5rem, 2rem + 12vw, 11rem);
  line-height: 0.8;
}

.error-page h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.5rem);
}

.error-page p {
  margin-inline: auto;
}

.error-page .button-row {
  justify-content: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js [data-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal]:nth-child(2) {
  transition-delay: 80ms;
}

.js [data-reveal]:nth-child(3) {
  transition-delay: 150ms;
}

@media (max-width: 68rem) {
  .header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-small);
    justify-self: stretch;
  }

  .site-nav[data-open] {
    display: block;
  }

  .site-nav ul {
    width: var(--container);
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    display: block;
    padding-block: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav li:last-child {
    margin-top: 1rem;
    border: 0;
  }

  .site-nav .nav__mobile-donate {
    display: block;
  }

  /* `.site-nav a` outranks `.button`, so restore the button's own type here. */
  .site-nav .button {
    display: flex;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.065em;
  }

  .header__donate {
    display: none;
  }

  .hero__grid,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 46rem;
  }

  /* Below the desktop layout there is not enough room for three overlapping
     absolute layers — the prayer card in particular got cropped top and
     bottom. Lay the collage out as a grid instead. */
  .hero__visual {
    display: grid;
    width: min(100%, 43rem);
    min-height: 0;
    margin-left: auto;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: end;
    gap: 0.9rem;
  }

  .hero__photo,
  .hero__caption {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero__photo--main {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .hero__photo--card {
    aspect-ratio: 618 / 800;
    transform: rotate(-1.6deg);
  }

  .trust-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item--lead {
    grid-column: 1 / -1;
    min-height: 4.8rem;
    text-align: center;
  }

  .trust-item:nth-child(2) {
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-aside {
    position: static;
  }

  .legacy-panel {
    grid-template-columns: 1fr;
  }

  .legacy-panel__image {
    min-height: 28rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child,
  .split--reverse > :last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 46rem) {
  :root {
    --container: min(100% - 1.3rem, 76rem);
  }

  .header__inner {
    min-height: 5.35rem;
  }

  .brand__place {
    display: none;
  }

  /* `balance` has little room at phone widths and tends to strand a single
     short word mid-heading; greedy wrapping gives a cleaner descending rag. */
  h1 {
    text-wrap: wrap;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero__visual {
    gap: 0.75rem;
  }

  .hero__photo--main {
    border-radius: 0.35rem 4rem 0.35rem 0.35rem;
  }

  .hero__photo--card {
    border-width: 0.4rem;
  }

  .hero__caption {
    padding: 0.9rem 1rem;
    font-size: 0.72rem;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    min-height: auto;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .trust-item--lead {
    border-top: 0;
    text-align: left;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card__image {
    min-height: 15rem;
  }

  .story-card__number {
    margin-bottom: 1.5rem;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card:nth-child(3) {
    grid-column: auto;
  }

  .path-card {
    min-height: 23rem;
  }

  .donation-band {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 2.5rem;
  }

  .page-hero__media {
    min-height: 25rem;
    border-radius: 0.35rem 4rem 0.35rem 0.35rem;
  }

  .virtue-grid,
  ul.feature-list {
    grid-template-columns: 1fr;
  }

  .availability {
    grid-template-columns: auto 1fr;
  }

  .availability .button {
    grid-column: 1 / -1;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 13rem;
  }

  .gallery__item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery__item:nth-child(4) {
    grid-column: auto;
  }

  .timeline::before {
    left: 2.5rem;
  }

  .timeline__item {
    grid-template-columns: 5rem 1fr;
  }

  .timeline__item:nth-child(even) .timeline__content,
  .timeline__content {
    grid-column: 2;
    grid-row: 1;
    padding: 2.5rem 1rem 2.5rem 1.5rem;
  }

  .timeline__item:nth-child(even) .timeline__number,
  .timeline__number {
    grid-column: 1;
    grid-row: 1;
    width: 4rem;
    height: 4rem;
    margin: 1rem 0.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Stacked cards no longer need to match each other's height. */
  .contact-card {
    min-height: auto;
  }

  .contact-card:nth-child(3) {
    grid-column: auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .gallery-dialog {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding-block: 2rem;
  }

  a {
    text-decoration: none;
  }
}
