@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600&display=swap');
:root {
  --cream: #f7f1e8;
  --paper: #fffdf9;
  --navy: #16273a;
  --coral: #d96851;
  --coral-dark: #bd4f3b;
  --peach: #f2c9b9;
  --sage: #a9b8aa;
  --line: #dfd5c9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "DM Sans", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 56px;
  padding: 0 clamp(18px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: white; background: var(--coral); font-family: "Fraunces", serif; font-size: 14px;
}
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.nav a { position: relative; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--coral); transition: width .2s ease; }
.nav a:hover::after { width: 100%; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 26px; border-radius: 999px; background: var(--coral); color: white;
  font-weight: 700; border: 2px solid var(--coral); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--coral-dark); border-color: var(--coral-dark); box-shadow: 0 12px 28px rgba(217, 104, 81, .2); }
.button-small { min-height: 38px; padding-inline: 18px; font-size: 14px; }
.button-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-outline:hover { color: white; background: var(--navy); border-color: var(--navy); box-shadow: none; }

.hero {
  height: calc(100vh - 128px);
  height: calc(100svh - 128px);
  min-height: 430px;
  max-height: 650px;
  padding: clamp(18px, 2.5vw, 30px) clamp(24px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .76fr); align-items: center; gap: clamp(26px, 3.5vw, 50px);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: .23em; }
h1, h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
h1 { max-width: 620px; font-size: clamp(42px, 4vw, 56px); line-height: 1; }
.hero-lead { max-width: 560px; margin: 16px 0 22px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.45; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.portrait-wrap { position: relative; min-height: min(52vh, 410px); display: grid; place-items: center; }
.portrait { position: relative; z-index: 2; width: min(100%, 390px); aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 50% 38%; border-radius: 0% 50% 0% 50%; box-shadow: 0 24px 60px rgba(22, 39, 58, .12); }
.shape { position: absolute; display: block; }
.shape-coral { width: 56%; aspect-ratio: 1; top: 1%; right: -3%; border-radius: 58% 42% 62% 38%; background: var(--coral); transform: rotate(13deg); }
.shape-peach { width: 80%; aspect-ratio: .9; left: -1%; bottom: -6%; border-radius: 58% 42% 62% 38%; background: var(--peach); transform: rotate(-12deg); }

.trust-bar {
  height: 72px;
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(242, 201, 185, .72), rgba(247, 241, 232, .96) 52%, rgba(169, 184, 170, .46));
}
.trust-bar div {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 253, 249, .85);
  border-radius: 14px;
  background: rgba(255, 253, 249, .72);
  box-shadow: 0 5px 18px rgba(22, 39, 58, .06);
}
.trust-bar strong { font-size: 14px; line-height: 1.2; }
.trust-bar span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--coral);
  font-size: 18px;
  font-weight: 700;
}

.section { padding: 72px clamp(24px, 7vw, 104px); }
.section-heading h2 { max-width: 720px; font-size: clamp(38px, 3.7vw, 54px); line-height: 1.06; }
.section-heading > p:last-child { max-width: 670px; margin: 16px auto 0; font-size: 17px; line-height: 1.55; }
.centered { text-align: center; margin-inline: auto; }
.centered h2 { margin-inline: auto; }

.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 6vw, 90px); background: var(--paper); }
.story-copy { max-width: 720px; font-size: 17px; line-height: 1.62; }
.story-copy > p:first-child { margin-top: 0; }
.quote { margin-top: 24px; padding: 20px 24px; border-left: 5px solid var(--coral); background: var(--cream); font-family: "Fraunces", serif; font-size: 24px; }

.donate { background: var(--cream); }
.donation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 38px auto 0; }
.donation-card { min-height: 240px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 16px 45px rgba(22, 39, 58, .05); }
.card-number { color: var(--coral); font-weight: 700; letter-spacing: .12em; }
.donation-card h3 { margin: 26px 0 9px; font-family: "Fraunces", serif; font-size: 25px; }
.donation-card p { margin: 0 0 28px; line-height: 1.65; }
.donation-card a { margin-top: auto; font-weight: 700; color: var(--coral-dark); }
.security-note { max-width: 790px; margin: 24px auto 0; padding: 16px 22px; border-radius: 16px; display: flex; gap: 18px; align-items: baseline; background: rgba(169, 184, 170, .22); }
.security-note p { margin: 0; line-height: 1.5; }

.updates { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; background: var(--paper); }
.campaign-info { display: grid; gap: 18px; }
.fundraising-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 24px;
  color: white;
  background: var(--navy);
  box-shadow: 0 18px 50px rgba(22, 39, 58, .16);
}
.fundraising-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: rgba(217, 104, 81, .24);
}
.fundraising-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.fundraising-label { color: var(--peach); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.fundraising-percent { font-size: 16px; font-weight: 700; }
.fundraising-amount { position: relative; z-index: 1; margin: 12px 0 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fundraising-amount strong { font-family: "Fraunces", Georgia, serif; font-size: clamp(38px, 4.2vw, 58px); line-height: 1; letter-spacing: -.035em; }
.fundraising-amount span { color: rgba(255,255,255,.72); font-size: 16px; font-weight: 600; }
.fundraising-progress { position: relative; z-index: 1; height: 14px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }
.fundraising-progress span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--peach), var(--coral)); transition: width .6s ease; }
.fundraising-message { position: relative; z-index: 1; margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }

.update-card { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.status-dot { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 8px rgba(217, 104, 81, .13); }
.update-date { margin: 0; color: var(--coral-dark); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.update-card h3 { margin: 10px 0; font-family: "Fraunces", serif; font-size: 30px; }
.update-card p:last-child { margin-bottom: 0; line-height: 1.6; }

.share { text-align: center; color: white; background: var(--navy); }
.share .eyebrow { color: var(--peach); }
.share h2 { font-size: clamp(40px, 4vw, 58px); }
.share > p:not(.eyebrow) { max-width: 660px; margin: 18px auto 28px; font-size: 17px; line-height: 1.55; }
.button-light { color: var(--navy); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: white; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px clamp(24px, 6vw, 88px); background: #101e2d; color: rgba(255,255,255,.78); }
.footer-brand { color: white; }
.footer-note { text-align: right; }

@media (max-width: 820px) {
  .site-header { gap: 18px; }
  .nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; width: 100%; height: auto; max-height: none; min-height: auto; padding-top: 42px; }
  .portrait-wrap { min-height: auto; margin-top: 12px; }
  .portrait { width: min(100%, 420px); aspect-ratio: 4 / 3; border-radius: 24% 16% 22% 15%; }
  .trust-bar {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 20px;
  }
  .trust-bar div {
    min-height: 58px;
    justify-content: flex-start;
    padding: 10px 16px;
    border: 1px solid rgba(255, 253, 249, .92);
  }
  .trust-bar strong { font-size: 15px; }
  .story, .updates { grid-template-columns: 1fr; gap: 36px; }
  .donation-grid { grid-template-columns: 1fr; max-width: 680px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-note { text-align: center; }
}

@media (max-width: 600px) {
  .site-header { height: 60px; padding-inline: 14px; }
  .brand { font-size: 12px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 14px; }
  .button-small { min-height: 38px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: auto; padding: 38px 20px 48px; gap: 24px; }
  h1 { font-size: clamp(42px, 12vw, 54px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .portrait-wrap { padding: 8px; }
  .section { padding: 58px 20px; }
  .section-heading h2 { font-size: 38px; }
  .donation-card { min-height: 220px; padding: 24px; }
  .security-note { align-items: flex-start; flex-direction: column; gap: 5px; }
  .update-card { padding: 28px 24px; }
  .fundraising-card { padding: 24px; }
  .fundraising-amount { gap: 8px; }
  .fundraising-amount strong { font-size: 40px; }

  .share { padding-inline: 22px; }
  footer { padding-block: 28px; }
}

@media (min-width: 821px) and (max-height: 760px) {
  .hero { padding-block: 14px; }
  .portrait-wrap { min-height: 330px; }
  .portrait { width: min(100%, 330px); }
  h1 { font-size: clamp(38px, 3.7vw, 50px); }
  .hero-lead { margin-block: 13px 18px; }
  .button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
