:root {
  --white: #ffffff;
  --blush: #fff3f5;
  --light-pink: #f9e2e9;
  --dusty: #eab2c4;
  --rose: #d97899;
  --deep-rose: #bd587d;
  --ink: #171717;
  --muted: #555555;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --content: 1280px;
  --header: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 28px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-variant-numeric: lining-nums;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--content), calc(100% - 80px));
  margin-inline: auto;
}

.reading {
  width: min(760px, calc(100% - 80px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--deep-rose);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2.6rem, 4vw, 3.35rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-rose {
  background: var(--rose);
  color: var(--ink);
}

.btn-rose:hover {
  background: var(--deep-rose);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--deep-rose);
  color: var(--white);
}

.btn-small {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: var(--white);
  border-bottom: 1px solid rgba(234, 178, 196, 0.85);
}

.header-inner {
  width: min(var(--content), calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  height: 72px;
  width: auto;
}

.brand-text {
  display: none;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--ink);
}

.brand.is-missing img {
  display: none;
}

.brand.is-missing .brand-text {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--deep-rose);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6.5px) rotate(-45deg);
}

#about > .wrap,
#mission > .wrap,
#contact .connect-panel {
  scroll-margin-top: calc(var(--header) + 28px);
}

.hero {
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  padding: 72px 0 108px;
}

.lede {
  margin-top: 22px;
  max-width: 34rem;
  font-size: 1.35rem;
  line-height: 1.45;
}

.support {
  margin-top: 14px;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
}

.photo-shape {
  position: absolute;
  z-index: 0;
  inset: 8% -4% -6% 12%;
  background: var(--light-pink);
  border-radius: 46% 32% 40% 48%;
}

.hero-visual .photo-frame,
.about-visual .photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--light-pink);
}

.hero-visual .photo-frame {
  aspect-ratio: 3 / 4;
}

.about-visual .photo-frame {
  aspect-ratio: 4 / 3;
}

.hero-visual img,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--deep-rose);
  background: var(--light-pink);
}

.photo-placeholder svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.photo-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-frame.is-missing {
  border: 2px solid var(--deep-rose);
}

.photo-frame.is-missing img {
  display: none;
}

.photo-frame.is-missing .photo-placeholder {
  display: flex;
}

.scripture {
  background: var(--blush);
  padding: 108px 0;
  text-align: center;
  color: var(--ink);
}

.scripture blockquote {
  margin: 0;
}

.scripture p {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.mark {
  display: block;
  margin-bottom: 8px;
  color: var(--dusty);
  font-size: 4.5rem;
  font-style: normal;
  line-height: 0.6;
}

.scripture cite {
  display: block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sprig {
  display: block;
  width: 88px;
  height: 20px;
  margin: 22px auto 0;
  color: var(--dusty);
}

.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.about h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 20px;
  background: var(--dusty);
}

.about p {
  margin-top: 22px;
  color: var(--ink);
}

.mission {
  background: var(--blush);
  padding: 120px 0;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-intro p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 36px 32px 40px;
  background: var(--white);
  border: 1px solid var(--dusty);
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.card.reveal.is-in:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(23, 23, 23, 0.06);
}

.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--light-pink);
  color: var(--deep-rose);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
}

.connect {
  padding: 120px 0;
  background: var(--white);
}

.connect-panel {
  max-width: 820px;
  margin-inline: auto;
  padding: 72px 56px;
  background: var(--blush);
  border-radius: 32px;
  text-align: center;
}

.connect-copy {
  max-width: 36rem;
  margin: 18px auto 0;
  color: var(--muted);
}

.connect-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: 36px auto 0;
  text-align: left;
}

.connect-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.connect-form input,
.connect-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid var(--dusty);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 400;
}

.connect-form textarea {
  min-height: 140px;
  resize: vertical;
}

.connect-form .btn {
  justify-self: center;
  margin-top: 6px;
}

.connect-form .form-status {
  margin: 0;
  color: var(--ink);
  text-align: center;
}

.fine-print {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.donate {
  background: var(--dusty);
  padding: 108px 0;
  text-align: center;
}

.donate-mark {
  width: 32px;
  height: 32px;
  margin: 0 auto 18px;
  color: var(--deep-rose);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.donate p {
  max-width: 34rem;
  margin: 18px auto 32px;
  color: var(--ink);
  font-size: 1.15rem;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-top: 72px;
}

.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer input:focus-visible,
.site-footer textarea:focus-visible {
  outline-color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-connect .footer-label {
  margin-right: -0.16em;
}

.footer-name {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.footer-desc {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-label {
  margin-bottom: 16px;
  color: var(--dusty);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-form {
  display: grid;
  gap: 12px;
}

.footer-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.footer-form textarea {
  min-height: 110px;
  resize: vertical;
}

.footer-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-status,
.footer-details {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.footer-details:empty,
.footer-social:empty {
  display: none;
}

.footer-details {
  margin-top: 16px;
}

.footer-details a,
.footer-social a {
  color: var(--white);
  text-decoration: none;
}

.footer-details a:hover {
  color: var(--dusty);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: var(--dusty);
  border-color: var(--dusty);
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .card.reveal {
  transform: translateY(28px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-visual.reveal img,
.about-visual.reveal img {
  transform: scale(1.04);
  transition: transform 0.9s ease;
}

.hero-visual.reveal.is-in img,
.about-visual.reveal.is-in img {
  transform: scale(1);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid {
    gap: 40px;
  }

  .about-visual {
    order: 2;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-connect {
    align-items: center;
  }
}

@media (max-width: 860px) {
  :root {
    --header: 76px;
  }

  .wrap,
  .reading,
  .header-inner {
    width: min(var(--content), calc(100% - 40px));
  }

  .brand img {
    height: 52px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--dusty);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 12px 4px;
  }

  .site-nav .btn {
    margin-top: 8px;
  }

  .hero-grid {
    padding: 48px 0 72px;
  }

  .scripture,
  .about,
  .mission,
  .connect,
  .donate {
    padding: 72px 0;
  }

  .connect-panel {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .hero-actions .btn,
  .connect-form .btn,
  .donate .btn,
  .footer-form .btn,
  .site-nav .btn {
    width: 100%;
  }

  .card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .card.reveal,
  .hero-visual.reveal img,
  .about-visual.reveal img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .site-nav a {
    transition: none;
  }
}
