:root {
  --ink: #192328;
  --navy: #17313d;
  --blue: #244b5b;
  --cream: #f4efe5;
  --paper: #fbfaf6;
  --red: #a84034;
  --muted: #657177;
  --line: #dcd5c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  min-height: 850px;
  height: 100svh;
  max-height: 1020px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url('/images/cathedral-hero.jpg') center 52% / cover no-repeat;
  transform: scale(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 27, 34, .9) 0%, rgba(12, 31, 39, .68) 45%, rgba(10, 25, 32, .2) 78%),
    linear-gradient(0deg, rgba(8, 22, 28, .74) 0%, transparent 48%, rgba(8, 22, 28, .2) 100%);
}
.topbar, .hero-content, .scroll-note { position: relative; z-index: 2; }
.topbar {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 1.25; font-weight: 700; letter-spacing: .02em; }
.logo-wrap { width: 48px; height: 62px; display: grid; place-items: center; background: rgba(255,255,255,.94); border-radius: 4px; overflow: hidden; }
.logo-wrap img { width: 31px; height: auto; }
.year { padding: 10px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero-content { width: min(1180px, calc(100% - 64px)); margin: auto; padding: 82px 0 90px; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #ead1a1; }
.hero h1 { max-width: 780px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(64px, 8.5vw, 118px); font-weight: 400; line-height: .86; letter-spacing: -.055em; }
.lead { max-width: 590px; margin: 34px 0 36px; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; color: rgba(255,255,255,.86); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px; border-radius: 4px; background: var(--red); color: white; font-size: 15px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: #bb4b3e; }
.primary-button:focus-visible, .copy-button:focus-visible, a:focus-visible { outline: 3px solid #f0c675; outline-offset: 3px; }
.scroll-note { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.72); white-space: nowrap; }
.scroll-note span { font-size: 19px; }

.section { padding: 110px max(32px, calc((100% - 1180px) / 2)); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 100px; align-items: start; }
h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.intro h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.02; }
.intro-copy { padding-top: 8px; font-size: 19px; line-height: 1.65; color: #46545a; }
.intro-copy p { margin: 0 0 22px; }
.fact-row { margin-top: 76px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fact-row div { display: flex; align-items: baseline; gap: 15px; }
.fact-row strong { font-family: Georgia, 'Times New Roman', serif; font-size: 50px; font-weight: 400; color: var(--navy); }
.fact-row span { max-width: 150px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.mission { background: var(--navy); color: white; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.mission-image { min-height: 660px; margin-left: min(-32px, calc((1180px - 100vw) / 2)); overflow: hidden; }
.mission-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.65) contrast(1.06); }
.mission-card { padding: 96px 0 96px 86px; align-self: center; }
.section-kicker.light { color: #e2bd78; }
.mission h2 { max-width: 560px; font-size: clamp(42px, 5vw, 66px); line-height: 1.03; }
.mission p { max-width: 580px; margin: 30px 0; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.65; }
.mission ul { margin: 0; padding: 0; list-style: none; max-width: 610px; }
.mission li { position: relative; padding: 17px 0 17px 30px; border-top: 1px solid rgba(255,255,255,.13); font-size: 17px; line-height: 1.45; }
.mission li::before { content: '•'; position: absolute; left: 2px; color: #e2bd78; }

.support { background: var(--cream); }
.support-heading { max-width: 850px; margin-bottom: 56px; }
.support-heading h2 { font-size: clamp(44px, 5.7vw, 76px); line-height: 1; }
.support-heading > p { max-width: 710px; margin: 28px 0 0; color: #526067; font-size: 19px; line-height: 1.6; }
.donation-card { background: white; border: 1px solid #e4ded3; border-radius: 16px; padding: 38px 44px; box-shadow: 0 18px 50px rgba(54, 46, 34, .08); }
.card-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 26px; }
.card-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.card-title-row h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 400; }
.verified { padding: 8px 12px; border-radius: 999px; background: #e9f2ed; color: #286047; font-size: 12px; font-weight: 700; white-space: nowrap; }
.requisites { border-top: 1px solid var(--line); }
.requisite { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.requisite > div { min-width: 0; padding: 14px 0; }
.requisite span, .purpose > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.requisite strong, .purpose strong { display: block; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.copy-button { flex: 0 0 auto; border: 1px solid #cfc7ba; background: white; color: var(--navy); border-radius: 4px; padding: 9px 12px; cursor: pointer; font-size: 12px; font-weight: 700; }
.copy-button:hover { background: #f5f1e9; }
.purpose { position: relative; margin-top: 26px; padding: 21px 145px 21px 22px; background: #f4f0e8; border-radius: 8px; }
.purpose .copy-button { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.payment-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.closing { padding: 105px 32px; text-align: center; color: white; background: var(--red); }
.closing > p { margin: 0 0 20px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.closing h2 { max-width: 850px; margin: 0 auto 32px; font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.text-link { display: inline-flex; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 700; }

footer { padding: 44px max(32px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 36px; align-items: start; background: #101c22; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.5; }
footer strong { display: block; color: white; font-size: 15px; margin-bottom: 5px; }
footer span { display: block; max-width: 370px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a:hover { color: white; }
.legal { text-align: right; white-space: nowrap; }

@media (max-width: 820px) {
  .hero { min-height: 720px; max-height: none; }
  .hero-image { background-position: 59% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,22,28,.86) 0%, rgba(8,22,28,.32) 75%, rgba(8,22,28,.45) 100%); }
  .topbar, .hero-content { width: calc(100% - 36px); }
  .brand span:last-child { display: none; }
  .hero-content { margin-top: auto; margin-bottom: 28px; padding: 80px 0; }
  .hero h1 { font-size: clamp(52px, 16vw, 78px); line-height: .92; }
  .lead { font-size: 18px; margin: 26px 0 30px; }
  .scroll-note { display: none; }
  .section { padding: 74px 20px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro h2 { font-size: 42px; }
  .intro-copy { font-size: 17px; }
  .fact-row { grid-template-columns: 1fr; gap: 12px; margin-top: 45px; }
  .fact-row div { justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .fact-row span { text-align: right; }
  .mission { grid-template-columns: 1fr; padding: 0; }
  .mission-image { min-height: 380px; margin: 0; }
  .mission-card { padding: 70px 20px; }
  .mission h2 { font-size: 43px; }
  .support-heading h2 { font-size: 44px; }
  .donation-card { padding: 27px 20px; border-radius: 10px; }
  .card-title-row { display: block; }
  .verified { display: inline-block; margin-top: 14px; }
  .requisite { align-items: flex-end; }
  .requisite strong { font-size: 14px; }
  .purpose { padding: 19px; }
  .purpose .copy-button { position: static; transform: none; margin-top: 14px; }
  .closing { padding: 76px 20px; }
  footer { grid-template-columns: 1fr; gap: 26px; padding: 38px 20px; }
  .legal { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
