:root {
  --navy: #102b35;
  --navy-deep: #091e26;
  --cream: #fffaf1;
  --paper: #f4efe4;
  --amber: #efb45f;
  --terracotta: #bd5c3f;
  --ink: #15313a;
  --muted: #5e6c6f;
  --line: rgba(16, 43, 53, 0.16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(8, 29, 36, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 12px 18px; background: #fff; color: #000; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.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; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(9, 30, 38, .94); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
.nav-shell { width: min(1320px, calc(100% - 48px)); height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--cream); text-decoration: none; line-height: 1.05; }
.brand-mark { width: 46px; height: 46px; color: var(--amber); flex: 0 0 auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.28rem; font-weight: 400; }
.brand small { display: block; margin-top: 5px; color: rgba(255,250,241,.7); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 34px; color: var(--cream); }
.site-nav a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav > a:not(.nav-cta):hover::after, .site-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; transition: background .2s ease, color .2s ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--cream); color: var(--navy); }
.menu-toggle { display: none; border: 0; background: transparent; color: white; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: 790px; height: 92vh; display: grid; align-items: center; isolation: isolate; background: var(--navy); overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -3; background-image: url('./assets/outreach-hero.jpg'); background-size: cover; background-position: center; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,25,32,.96) 0%, rgba(5,25,32,.89) 34%, rgba(5,25,32,.35) 67%, rgba(5,25,32,.16) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 150px; background: linear-gradient(0deg, rgba(8,29,36,.7), transparent); }
.hero-content { padding-top: 84px; color: var(--cream); }
.hero-content > * { max-width: 680px; }
.eyebrow { margin: 0 0 18px; color: var(--amber); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 2px; margin: 0 12px 4px 0; background: currentColor; }
.eyebrow.dark { color: var(--terracotta); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.8rem, 7.2vw, 7.35rem); font-weight: 400; letter-spacing: -.045em; line-height: .86; }
.hero h1 em { display: block; margin-top: .19em; color: var(--amber); font-size: .55em; font-weight: 400; line-height: 1.08; }
.hero-lede { margin: 34px 0 0; color: rgba(255,250,241,.86); font-size: 1.16rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 25px; border: 2px solid transparent; border-radius: 4px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: var(--navy-deep); }
.button-primary:hover, .button-primary:focus-visible { background: #f7c77f; }
.button-light { border-color: rgba(255,255,255,.7); color: white; }
.button-light:hover, .button-light:focus-visible { background: white; color: var(--navy); border-color: white; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover, .button-dark:focus-visible { background: var(--terracotta); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 25px; color: rgba(255,250,241,.7); font-size: .86rem; }
.hero-note span { width: 7px; height: 7px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 5px rgba(239,180,95,.18); }
.hero-side-note { position: absolute; right: 22px; bottom: 164px; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

.welcome-strip { background: var(--navy); color: white; border-top: 1px solid rgba(255,255,255,.12); }
.welcome-grid { min-height: 78px; display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 28px; }
.welcome-grid p, .welcome-grid a { margin: 0; font-size: .86rem; }
.welcome-grid p:nth-child(2) { text-align: center; color: rgba(255,255,255,.65); }
.welcome-grid a { color: var(--amber); text-align: right; text-underline-offset: 4px; }

.section-heading { max-width: 720px; }
.section-heading h2, .donation-copy h2, .about-copy h2, .contact-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.section-heading > p:last-child { max-width: 630px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; }
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 58px; }
.pathway-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 40px 40px; overflow: hidden; }
.pathway-card::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; border: 1px solid currentColor; border-radius: 50%; opacity: .14; }
.need-card { background: var(--amber); color: var(--navy-deep); }
.give-card { background: var(--terracotta); color: white; }
.card-number { align-self: flex-end; font-family: var(--serif); font-size: 3rem; line-height: 1; opacity: .5; }
.card-kicker { margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; opacity: .74; }
.pathway-card h3 { max-width: 480px; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; line-height: 1.04; }
.pathway-card p:not(.card-kicker) { max-width: 520px; margin: 22px 0; font-size: 1rem; }
.text-link { display: inline-block; font-weight: 700; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.text-link:hover, .text-link:focus-visible { text-decoration-color: currentColor; text-decoration-thickness: 4px; }

.donation-section { background: var(--paper); }
.donation-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.donation-copy p:not(.eyebrow) { max-width: 470px; margin: 26px 0 32px; color: var(--muted); font-size: 1.08rem; }
.donation-list { border-top: 1px solid var(--line); }
.donation-item { display: grid; grid-template-columns: 74px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.donation-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(189,92,63,.35); border-radius: 50%; }
.donation-icon svg { width: 30px; fill: none; stroke: var(--terracotta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.donation-item h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.donation-item p { margin: 0; color: var(--muted); }

.about-section { position: relative; background: var(--cream); }
.about-section::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.about-quote { padding-right: 40px; }
.quote-mark { display: block; height: 78px; color: var(--amber); font-family: var(--serif); font-size: 9rem; line-height: .85; }
.about-quote blockquote { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; }
.about-copy { padding-left: 20px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.about-copy p:nth-of-type(2) { margin-top: 28px; }
.dark-link { margin-top: 12px; color: var(--terracotta); }

.contact-section { padding: 110px 0; background: var(--navy); color: var(--cream); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact-intro p:not(.eyebrow) { max-width: 470px; color: rgba(255,250,241,.7); font-size: 1.08rem; }
.contact-card { padding: 8px 36px; background: var(--cream); color: var(--navy); box-shadow: var(--shadow); }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-row span { color: var(--terracotta); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-row a { justify-self: end; text-align: right; font-family: var(--serif); font-size: 1.42rem; line-height: 1.35; text-underline-offset: 5px; }
.contact-footnote { margin: 24px 0; color: var(--muted); font-size: .88rem; }

footer { padding: 38px 0; background: var(--navy-deep); color: rgba(255,255,255,.65); }
.footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-layout p { margin: 0; font-size: .82rem; }
.footer-brand strong { font-size: 1.1rem; }
.footer-brand .brand-mark { width: 39px; height: 39px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .menu-toggle { display: block; z-index: 2; cursor: pointer; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; background: var(--navy-deep); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
  .site-nav .nav-cta { font-family: var(--sans); font-size: 1rem; }
  .menu-open { overflow: hidden; }
  .hero { min-height: 760px; height: 90vh; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,25,32,.94), rgba(5,25,32,.69)); }
  .hero-content > * { max-width: 610px; }
  .hero-side-note { display: none; }
  .welcome-grid { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .welcome-grid p:nth-child(2) { display: none; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 380px; }
  .donation-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 58px; }
  .about-section::before { display: none; }
  .about-quote { padding-right: 0; }
  .about-copy { padding-left: 0; }
}

@media (max-width: 600px) {
  .wrap, .nav-shell { width: min(100% - 32px, 1180px); }
  .nav-shell { height: 76px; }
  html { scroll-padding-top: 76px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 1.12rem; }
  .brand small { font-size: .62rem; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-content { padding-top: 74px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.1rem); }
  .hero h1 em { font-size: .48em; line-height: 1.15; }
  .hero-lede { margin-top: 25px; font-size: 1.02rem; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .button { width: 100%; }
  .hero-note { font-size: .8rem; line-height: 1.4; }
  .welcome-grid { display: block; text-align: center; }
  .welcome-grid a { display: inline-block; margin-top: 7px; text-align: center; }
  .section { padding: 72px 0; }
  .section-heading h2, .donation-copy h2, .about-copy h2, .contact-intro h2 { font-size: 2.8rem; }
  .pathway-grid { margin-top: 40px; }
  .pathway-card { min-height: 410px; padding: 28px 26px 32px; }
  .pathway-card h3 { font-size: 2.15rem; }
  .donation-item { grid-template-columns: 58px 1fr; gap: 16px; }
  .donation-icon { width: 56px; height: 56px; }
  .donation-icon svg { width: 25px; }
  .about-quote blockquote { font-size: 2.45rem; }
  .contact-section { padding: 76px 0; }
  .contact-card { padding: 4px 22px; }
  .contact-row { display: block; padding: 24px 0; }
  .contact-row span { display: block; margin-bottom: 8px; }
  .contact-row a { font-size: 1.2rem; text-align: left; overflow-wrap: anywhere; }
  .footer-layout { flex-direction: column; align-items: flex-start; }
}

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