
:root{
  --green:#0a4a38;
  --green-2:#0e5b43;
  --sage:#eef3ea;
  --ivory:#fbfaf6;
  --ink:#15302a;
  --muted:#61716b;
  --gold:#caa55a;
  --line:#e9e7df;
  --white:#fff;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--ivory);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
header{
  position:sticky;top:0;z-index:20;
  background:rgba(251,250,246,.95);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(21,48,42,.08);
}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand img{height:54px;width:auto;object-fit:contain}
.links{display:flex;align-items:center;gap:28px;font-size:14px}
.links a{opacity:.82}
.links a.active,.links a:hover{opacity:1;color:var(--green)}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:13px 22px;border-radius:999px;background:var(--green);color:white;
  font-weight:650;font-size:14px;
}
.btn.outline{background:transparent;color:var(--green);border:1px solid var(--green)}
.kicker{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--green);font-weight:700}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.02;margin:0}
h1{font-size:clamp(52px,6.2vw,94px)}
h2{font-size:clamp(38px,4vw,64px)}
h3{font-size:30px}
p{margin:0;color:var(--muted)}
.hero{
  display:grid;grid-template-columns:1.02fr 1fr;min-height:650px;background:white;
}
.hero-copy{padding:86px max(38px,calc((100vw - var(--max))/2));padding-right:52px;display:flex;flex-direction:column;justify-content:center}
.hero-copy p{font-size:20px;max-width:560px;margin:24px 0 30px}
.hero-photo{position:relative;overflow:hidden;min-height:560px}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(251,250,246,.25),rgba(0,0,0,0))}
.metrics{
  background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line)
}
.metric-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.metric{padding:28px 24px;text-align:center;border-right:1px solid var(--line)}
.metric:last-child{border-right:0}
.metric strong{display:block;font-family:Georgia,serif;font-size:26px;font-weight:500}
.metric span{font-size:13px;color:var(--muted)}
.section{padding:96px 0}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.copy p{font-size:18px;max-width:520px;margin:22px 0 26px}
.photo-card img{aspect-ratio:16/10;object-fit:cover;border-radius:24px}
.quote-band{padding:64px 0;background:var(--green);color:white;text-align:center}
.quote-band blockquote{font-family:Georgia,serif;font-size:clamp(32px,4vw,54px);font-style:italic;margin:0 auto;max-width:850px;line-height:1.15}
.quote-band small{display:block;margin-top:18px;letter-spacing:.18em;text-transform:uppercase;opacity:.75}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:42px}
.card{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card .body{padding:24px}
.card h3{font-size:27px;margin-bottom:10px}
.card p{font-size:15px}
.card .meta{margin-top:22px;font-size:13px;color:var(--green);font-weight:700}
.trustees{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:38px}
.trustee{display:grid;grid-template-columns:190px 1fr;gap:24px;background:white;border:1px solid var(--line);padding:18px;border-radius:20px}
.trustee img{width:190px;height:230px;object-fit:cover;border-radius:14px}
.trustee h3{font-size:27px;margin-top:10px}
.trustee p{font-size:14px;margin-top:12px}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.story{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.story img{width:100%;aspect-ratio:16/11;object-fit:cover}
.story .body{padding:24px}
.story .tag{font-size:12px;letter-spacing:.12em;color:var(--green);font-weight:700}
.story h3{margin:8px 0 10px}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:46px}
.contact-box,.form{background:white;border:1px solid var(--line);border-radius:20px;padding:30px}
.contact-row{padding:18px 0;border-bottom:1px solid var(--line)}
.contact-row:last-child{border-bottom:0}
label{display:block;font-size:13px;font-weight:650;margin:14px 0 7px}
input,textarea{
  width:100%;border:1px solid #dadbd5;border-radius:12px;padding:13px 14px;font:inherit;background:#fff
}
textarea{min-height:130px;resize:vertical}
footer{background:#f6f4ee;border-top:1px solid var(--line);padding:40px 0}
.footer-grid{display:flex;justify-content:space-between;gap:28px;align-items:center}
footer img{height:46px}
footer small{color:var(--muted)}
.page-hero{padding:86px 0 64px;background:white;border-bottom:1px solid var(--line)}
.page-hero p{font-size:19px;max-width:720px;margin-top:20px}
.partner-panel{background:var(--green);color:white;border-radius:26px;padding:54px;display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:center}
.partner-panel p{color:rgba(255,255,255,.78);font-size:18px;margin-top:18px}
.partner-panel .btn{background:white;color:var(--green)}
.mobile-toggle{display:none}
@media(max-width:860px){
  .links{display:none}
  .mobile-toggle{display:block;font-size:24px}
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:64px 28px}
  .hero-photo{min-height:420px}
  .metric-grid{grid-template-columns:1fr}
  .metric{border-right:0;border-bottom:1px solid var(--line)}
  .split,.contact-grid,.partner-panel{grid-template-columns:1fr;gap:32px}
  .cards,.story-grid{grid-template-columns:1fr}
  .trustees{grid-template-columns:1fr}
  .trustee{grid-template-columns:130px 1fr}
  .trustee img{width:130px;height:170px}
  .footer-grid{flex-direction:column;align-items:flex-start}
}


/* ===== Final homepage hero: seamless image/text merge ===== */
.hero-blend{
  position:relative;
  min-height:660px;
  overflow:hidden;
  background:var(--ivory);
  isolation:isolate;
}
.hero-blend-image{
  position:absolute;
  inset:0 0 0 0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:72% 48%;
  z-index:-3;
}
.hero-blend-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,
      rgba(251,250,246,1) 0%,
      rgba(251,250,246,.98) 18%,
      rgba(251,250,246,.90) 32%,
      rgba(251,250,246,.64) 44%,
      rgba(251,250,246,.28) 54%,
      rgba(251,250,246,.06) 66%,
      rgba(251,250,246,0) 78%);
}
.hero-blend:after{
  content:"";
  position:absolute;
  left:36%;
  top:0;
  bottom:0;
  width:24%;
  z-index:-1;
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  mask-image:linear-gradient(90deg,transparent,black 28%,black 72%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,black 28%,black 72%,transparent);
  pointer-events:none;
}
.hero-blend-content{
  min-height:660px;
  display:flex;
  align-items:center;
}
.hero-blend-copy{
  width:min(560px,52%);
  padding:34px 0 44px;
}
.hero-blend-copy h1{
  margin-top:16px;
  text-wrap:balance;
}
.hero-blend-copy p{
  margin:22px 0 30px;
  font-size:20px;
  max-width:500px;
  color:#4d625c;
}

/* ===== Tablet / iPad layout ===== */
@media (max-width:1100px){
  :root{--max:940px}
  .nav{height:72px}
  .brand img{height:50px}
  .links{gap:20px;font-size:13px}
  .hero-blend{min-height:590px}
  .hero-blend-content{min-height:590px}
  .hero-blend-copy{width:54%}
  .hero-blend-image{object-position:76% 50%}
  .hero-blend-overlay{
    background:linear-gradient(90deg,
      rgba(251,250,246,1) 0%,
      rgba(251,250,246,.97) 21%,
      rgba(251,250,246,.80) 38%,
      rgba(251,250,246,.40) 52%,
      rgba(251,250,246,.08) 68%,
      rgba(251,250,246,0) 82%);
  }
  .section{padding:78px 0}
  .split{gap:44px}
  .trustee{grid-template-columns:155px 1fr}
  .trustee img{width:155px;height:205px}
}

/* iPad portrait and small tablets */
@media (max-width:900px){
  .container{width:min(100% - 32px,760px)}
  header .btn{display:none}
  .links{display:none}
  .mobile-toggle{display:block}
  .hero-blend{
    min-height:720px;
    display:flex;
    align-items:flex-end;
  }
  .hero-blend-image{
    object-position:68% 33%;
    height:100%;
  }
  .hero-blend-overlay{
    background:
      linear-gradient(180deg,
        rgba(251,250,246,.04) 0%,
        rgba(251,250,246,.03) 28%,
        rgba(251,250,246,.70) 58%,
        rgba(251,250,246,.98) 78%,
        rgba(251,250,246,1) 100%),
      linear-gradient(90deg,
        rgba(251,250,246,.84) 0%,
        rgba(251,250,246,.45) 42%,
        rgba(251,250,246,0) 72%);
  }
  .hero-blend:after{display:none}
  .hero-blend-content{
    min-height:720px;
    align-items:flex-end;
  }
  .hero-blend-copy{
    width:100%;
    max-width:620px;
    padding:0 0 46px;
  }
  .hero-blend-copy h1{font-size:clamp(48px,8vw,72px)}
  .hero-blend-copy p{max-width:520px}
  .metric-grid{grid-template-columns:repeat(3,1fr)}
  .metric{border-right:1px solid var(--line);border-bottom:0}
  .metric:last-child{border-right:0}
  .split{grid-template-columns:1fr;gap:34px}
  .photo-card{order:2}
  .cards,.story-grid{grid-template-columns:1fr 1fr}
  .cards .card:last-child,.story-grid .story:last-child{grid-column:1/-1}
  .trustees{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}

/* ===== Mobile layout ===== */
@media (max-width:620px){
  body{font-size:15px}
  .container{width:calc(100% - 24px)}
  .nav{height:66px}
  .brand img{height:44px;max-width:190px}
  .mobile-toggle{font-size:22px}
  .hero-blend{min-height:690px}
  .hero-blend-content{min-height:690px}
  .hero-blend-image{
    object-position:66% 24%;
    height:56%;
  }
  .hero-blend-overlay{
    background:
      linear-gradient(180deg,
        rgba(251,250,246,0) 0%,
        rgba(251,250,246,.06) 27%,
        rgba(251,250,246,.82) 51%,
        rgba(251,250,246,.99) 63%,
        rgba(251,250,246,1) 100%);
  }
  .hero-blend-copy{
    padding:0 2px 34px;
  }
  .hero-blend-copy .kicker{font-size:10px;letter-spacing:.15em}
  .hero-blend-copy h1{
    font-size:clamp(44px,13vw,62px);
    line-height:.98;
  }
  .hero-blend-copy p{
    font-size:17px;
    margin:18px 0 24px;
    max-width:92%;
  }
  .btn{padding:12px 19px}
  .metric-grid{grid-template-columns:1fr}
  .metric{
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:22px 16px;
  }
  .metric:last-child{border-bottom:0}
  .section{padding:62px 0}
  .copy p{font-size:16px}
  .cards,.story-grid{grid-template-columns:1fr}
  .cards .card:last-child,.story-grid .story:last-child{grid-column:auto}
  .trustee{
    grid-template-columns:1fr;
    text-align:left;
  }
  .trustee img{
    width:100%;
    height:auto;
    aspect-ratio:4/5;
    object-fit:cover;
    object-position:center 20%;
  }
  .partner-panel{padding:34px 24px}
  .page-hero{padding:60px 0 48px}
  .page-hero h1{font-size:clamp(44px,12vw,64px)}
  .page-hero p{font-size:17px}
  .quote-band{padding:48px 0}
  .quote-band blockquote{font-size:34px}
  .footer-grid{gap:18px}
  footer img{height:42px}
}


/* ===== Gallery page ===== */
.gallery-section{padding-top:72px;padding-bottom:72px}
.gallery-section.alt{background:#f7f5ef}
.gallery-head{margin-bottom:28px}
.gallery-head p{margin-top:12px;max-width:720px;font-size:18px}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.gallery-item{
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(21,48,42,.04);
}
.gallery-item.wide{grid-column:span 2}
.gallery-item.media img{background:#fff;object-fit:contain}
.gallery-item img{
  width:100%;
  height:300px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.gallery-item figcaption{
  padding:14px 16px 16px;
  font-size:14px;
  color:var(--muted);
}
@media (max-width:900px){
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-item.wide{grid-column:span 2}
}
@media (max-width:620px){
  .gallery-grid{grid-template-columns:1fr}
  .gallery-item.wide{grid-column:auto}
  .gallery-item img{height:240px}
  .gallery-head p{font-size:16px}
}


/* ===== Launch preparation refinements ===== */
:focus-visible{
  outline:3px solid rgba(202,165,90,.75);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
img{content-visibility:auto}
