:root {
  --ink: #142433;
  --blue: #173f5f;
  --blue-deep: #0c2c45;
  --gold: #f2b84b;
  --cream: #f7f4ed;
  --white: #fff;
  --muted: #5d6973;
  --line: #d9dedf;
  --shadow: 0 22px 55px rgba(13, 43, 66, .14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 clamp(1.25rem, 5vw, 5rem); background: rgba(247,244,237,.94); border-bottom: 1px solid rgba(20,36,51,.12); backdrop-filter: blur(12px); }
.brand { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; text-decoration: none; }
nav { display: flex; align-items: center; gap: 1.7rem; }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-donate { padding: .65rem 1rem; color: white; background: var(--blue); border-radius: 999px; }
.menu-button { display: none; padding: .5rem .7rem; color: var(--blue); background: transparent; border: 1px solid var(--blue); border-radius: 8px; font: inherit; font-weight: 700; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 74px); background: var(--blue); color: white; }
.hero-copy { align-self: center; max-width: 720px; padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 .8rem; color: #a95b18; font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow, .share .eyebrow { color: var(--gold); }
h1, h2, h3 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; line-height: 1.08; }
h1 { max-width: 680px; margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: -.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 4vw, 3.7rem); letter-spacing: -.025em; }
h3 { margin-bottom: .6rem; font-size: 1.35rem; }
.hero-lead { max-width: 650px; margin: 0 0 2rem; color: #e8edf0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .72rem 1.2rem; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.button:focus-visible, a:focus-visible, .menu-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.button-primary { color: #172331; background: var(--gold); }
.button-direct { color: var(--blue-deep); background: white; }
.button-secondary { color: white; border-color: rgba(255,255,255,.6); }
.button-dark { color: white; background: var(--blue); }
.button-light { color: var(--blue-deep); background: white; }
.button-outline-light { color: white; background: transparent; border-color: rgba(255,255,255,.6); }
.trust-note { margin: 1.5rem 0 0; color: #cbd6dc; font-size: .88rem; }
.hero-photo { position: relative; min-height: 580px; margin: 0; overflow: hidden; background: linear-gradient(145deg, #b7c3c8, #667d8a); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo.image-missing::before { content: 'Add Neal’s main photo'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.8); font-family: Georgia, serif; font-size: 1.5rem; }
.hero-photo figcaption { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .4rem .75rem; color: white; background: rgba(12,44,69,.8); border-radius: 99px; font-size: .82rem; }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7rem); }
.story { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 8rem); max-width: 1450px; margin: auto; }
.story-body { max-width: 760px; font-size: 1.12rem; }
.story-body p:first-child { margin-top: 0; font-size: 1.3rem; }
.needs { background: white; }
.needs > .section-heading { max-width: 1300px; margin: 0 auto 2.2rem; }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1300px; margin: auto; }
.needs-grid article { padding: 2rem; border-top: 4px solid var(--gold); background: var(--cream); }
.needs-grid span { display: block; margin-bottom: 2rem; color: #9e651c; font-weight: 800; }
.needs-grid p { margin-bottom: 0; color: var(--muted); }
.help { background: #e7ecee; }
.help-copy { max-width: 720px; margin-bottom: 2.5rem; }
.help-copy > p:last-child { font-size: 1.12rem; }
.donation-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); gap: 1.2rem; }
.donation-card { padding: clamp(1.8rem, 4vw, 3rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.donation-card.featured { border-top: 6px solid var(--gold); }
.card-label { color: #8f5510; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cash-tag { color: var(--blue); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.payment-handle { overflow-wrap: anywhere; color: var(--blue); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.direct-card { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center; }
.payment-qr { width: 128px; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; }
.donation-note { max-width: 760px; margin: 1.5rem 0 0; color: var(--muted); font-size: .9rem; }
.updates { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; max-width: 1450px; margin: auto; }
.timeline article { position: relative; padding: 0 0 0 2rem; border-left: 3px solid var(--gold); }
.timeline time { display: block; margin-bottom: .7rem; color: #8f5510; font-weight: 800; }
.timeline p { max-width: 720px; font-size: 1.1rem; }
.update-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 2rem; align-items: start; }
.update-photo { position: relative; min-height: 260px; margin: 0; overflow: hidden; background: linear-gradient(145deg, #d8dedf, #8598a2); border-radius: 14px; }
.update-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.update-photo.image-missing::before { content: 'Add a progress photo'; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-family: Georgia, serif; font-size: 1.2rem; }
.update-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .65rem; color: white; background: rgba(12,44,69,.8); border-radius: 99px; font-size: .78rem; }
.share { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: var(--blue-deep); color: white; }
.share p:not(.eyebrow):not(.copy-status) { max-width: 650px; color: #dbe4e8; }
.copy-status { grid-column: 1 / -1; min-height: 1.5rem; margin: 0; color: var(--gold); font-weight: 700; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.4rem, 7vw, 7rem); color: #dbe4e8; background: #071e2f; font-size: .9rem; }

@media (max-width: 850px) {
  .menu-button { display: inline-block; }
  nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .7rem 1.2rem 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(0,0,0,.12); }
  nav.open { display: flex; }
  nav a { padding: .8rem; }
  .nav-donate { margin-top: .4rem; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 4.8rem; padding-bottom: 4.8rem; }
  .hero-photo { min-height: min(110vw, 650px); }
  .story, .updates, .share { grid-template-columns: 1fr; }
  .update-entry { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .button-row .button { width: 100%; }
  .donation-cards { grid-template-columns: 1fr; }
  .direct-card { grid-template-columns: 1fr; }
  .payment-qr { width: 150px; }
  footer { flex-direction: column; }
}

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