/* Upeo wa Macho — site styles
   Colors come from the logo: the navy tree and the rising gold sun.
   Change the values in :root to retune the whole site. */
:root {
  --navy: #234d62;        /* logo tree */
  --navy-deep: #1a3a4b;
  --teal: #2b8aa8;        /* brighter companion to the navy */
  --sun: #fcb040;         /* logo sun */
  --sun-deep: #f29a1f;
  --sun-soft: #ffe2b0;
  --amber-text: #b8680a;  /* gold dark enough to read as small text */
  --cream: #fff8ec;
  --peach: #fff0d9;
  --ink: #23343e;
  --muted: #5c6c74;
  --paper: #ffffff;
  --max: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--sun);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 10px; padding-bottom: 10px;
}
.brand img { height: 74px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--navy);
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem;
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sun); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none;
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 1rem;
  padding: 13px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 4px 14px rgba(242,154,31,.35); }
.btn-sun:hover { background: var(--sun-deep); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 9px 22px; border-bottom: 2px solid transparent; }
.nav .btn:hover, .nav .btn[aria-current="page"] { border-bottom-color: transparent; }

/* Eyebrow labels */
.eyebrow, .tagline {
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85rem;
  color: var(--amber-text); margin-bottom: 10px;
}

/* Hero: a sunrise */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%);
  padding: 96px 0 120px;
}
.hero::before {
  /* the rising sun */
  content: ""; position: absolute; right: -120px; bottom: -330px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0%, var(--sun) 55%, rgba(252,176,64,.35) 56%, rgba(252,176,64,0) 72%);
}
.hero::after {
  /* horizon */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--navy);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero .lede { font-size: 1.25rem; max-width: 56ch; color: var(--ink); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--cream); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.pillar {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border-top: 6px solid var(--sun);
  box-shadow: 0 6px 24px rgba(35,77,98,.08);
}
.pillar:nth-child(2) { border-top-color: var(--teal); }
.pillar:nth-child(3) { border-top-color: var(--navy); }
.pillar h3 { margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); }
.callout {
  border-left: 6px solid var(--sun); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 28px 0; font-size: 1.1rem; color: var(--navy);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 32px 22px; text-align: center;
  box-shadow: 0 6px 24px rgba(35,77,98,.08);
}
.stat .num {
  display: inline-block; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600;
  font-size: 3rem; color: var(--navy); line-height: 1; padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 5px solid var(--sun);
}
.stat .label { display: block; color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* Page intro band */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--peach));
  padding: 64px 0 52px; border-bottom: 6px solid var(--sun);
}
.page-head::before {
  content: ""; position: absolute; right: 6%; bottom: -150px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0%, var(--sun) 50%, rgba(252,176,64,0) 70%); opacity: .8;
}
.page-head .wrap { position: relative; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--ink); margin: 0; max-width: 60ch; font-size: 1.15rem; }

/* Donate */
.quote {
  font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy);
  text-align: center; margin: 0 auto 40px; max-width: 24ch;
}
.quote::after { content: ""; display: block; width: 70px; height: 5px; background: var(--sun); margin: 18px auto 0; border-radius: 3px; }
.donate-box {
  background: #fff; border-radius: 14px; border-top: 8px solid var(--sun);
  padding: 40px 36px; text-align: center; max-width: 560px; margin: 36px auto 0;
  box-shadow: 0 10px 36px rgba(35,77,98,.12);
}
.donate-box .fine { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

/* Call-to-action band: sunrise over navy */
.donate-cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--navy); padding: 88px 0 96px;
}
.donate-cta::before {
  content: ""; position: absolute; left: 50%; bottom: -420px; transform: translateX(-50%);
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,176,64,.55) 0%, rgba(252,176,64,.18) 45%, rgba(252,176,64,0) 68%);
}
.donate-cta .wrap { position: relative; }
.donate-cta h2 { color: #fff; }
.donate-cta p { color: #e6eff3; max-width: 56ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* Contact */
.contact-card { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.contact-card > div { flex: 1 1 260px; }
.contact-card a.big { font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--navy); border-bottom: 3px solid var(--sun); }

/* Memorial page */
.memorial-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--peach)); padding: 72px 0;
  border-bottom: 6px solid var(--sun);
}
.memorial-hero::before {
  content: ""; position: absolute; left: -160px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,176,64,.55) 0%, rgba(252,176,64,0) 68%);
}
.memorial-hero .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.memorial-hero h1 { margin-bottom: 4px; }
.memorial-hero .years { font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 1.4rem; color: var(--amber-text); margin-bottom: 22px; }
.memorial-hero .lede { font-size: 1.2rem; max-width: 52ch; margin: 0; }
.memorial-photo {
  width: 280px; flex: 0 0 auto; border-radius: 12px;
  border: 8px solid #fff; box-shadow: 0 0 0 4px var(--sun), 0 14px 36px rgba(35,77,98,.25);
}

/* Memorial card on the About page */
.memorial-panel {
  display: flex; align-items: center; gap: 28px; text-decoration: none; color: inherit;
  background: #fff; border-radius: 14px; border-left: 8px solid var(--sun);
  padding: 24px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 6px 24px rgba(35,77,98,.1); transition: box-shadow .2s, transform .2s;
}
.memorial-panel:hover { box-shadow: 0 10px 32px rgba(35,77,98,.16); transform: translateY(-2px); }
.memorial-panel img { width: 120px; height: 150px; object-fit: cover; object-position: top; border-radius: 8px; flex: 0 0 auto; }
.memorial-panel h3 { margin-bottom: 6px; }
.memorial-panel p { margin: 0 0 8px; color: var(--muted); }
.memorial-panel .more { color: var(--teal); font-weight: 700; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e4eb; padding: 56px 0 32px; font-size: 0.95rem; border-top: 8px solid var(--sun); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .footer-brand { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.site-footer .footer-brand img { height: 120px; width: auto; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer .legal { margin-top: 28px; width: 100%; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; font-size: 0.85rem; color: #a9c3d2; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-nav a {
  text-decoration: none; font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase; letter-spacing: .08em; font-size: .9rem;
}

/* Mobile */
@media (max-width: 820px) {
  .pillars, .stats { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 4px solid var(--sun); padding: 10px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--peach); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .brand img { height: 58px; }
  .hero { padding: 56px 0 170px; }
  .hero::before { width: 440px; height: 440px; right: -120px; bottom: -300px; }
  .btn-outline { background: rgba(255,255,255,.7); }
  section { padding: 56px 0; }
  .memorial-hero .wrap { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .memorial-photo { width: 200px; }
  .memorial-panel { flex-direction: column; align-items: flex-start; }
}

/* ---------- Photography ---------- */

/* Home hero: text left, photo right, sun glowing behind the photo */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px;
  border: 8px solid #fff; box-shadow: 0 18px 44px rgba(35,77,98,.22);
  position: relative; z-index: 1;
}

/* Pillars with a photo on top */
.pillar { padding: 0; overflow: hidden; }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pillar-body { padding: 24px 26px 28px; }

/* Text + photo side by side */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > .photo-frame { order: -1; }
.split p:last-child, .split ul:last-child { margin-bottom: 0; }

/* Photo with a gold block offset behind it */
.photo-frame { position: relative; margin: 0 18px 18px 0; }
.photo-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--sun); border-radius: 16px;
}
.photo-frame img {
  position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(35,77,98,.18);
}
.split.reverse > .photo-frame::before { background: var(--teal); }

/* Scholar headshots */
.meet { text-align: center; }
.scholar-cards { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin: 0 0 40px; }
.scholar-card { margin: 0; width: 230px; }
.scholar-card img {
  width: 210px; height: 210px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  border: 6px solid #fff; box-shadow: 0 0 0 6px var(--sun), 0 12px 30px rgba(35,77,98,.2);
}
.scholar-card figcaption strong {
  display: block; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500;
  font-size: 1.4rem; color: var(--navy); letter-spacing: .02em;
}
.scholar-card figcaption span { display: block; color: var(--muted); font-size: .95rem; }

/* Wide photo */
.photo-band { width: 100%; height: 380px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 30px rgba(35,77,98,.15); }

@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .photo-frame { order: 0; }
  .hero-photo { border-width: 6px; }
  .scholar-cards { gap: 32px; }
  .scholar-card img { width: 170px; height: 170px; }
  .photo-band { height: 240px; }
}

/* Small layout helpers (kept here rather than inline so the security policy can block inline styles) */
.centered-note { margin: 36px auto 0; text-align: center; }
.band-gap { margin-top: 48px; }
