/* ==========================================================================
   Brand tokens
   ========================================================================== */
:root {
  /* Foundation greens */
  --green: #374E34;
  --green-dark: #263827;
  /* Earth browns */
  --espresso: #2D1A12;
  --soil: #54331E;
  /* Gold accents */
  --ochre: #E49633;
  --gold-deep: #C9751D;
  --gold-btn: #F0AC52;
  /* Surfaces & borders */
  --ivory: #FCFAF6;
  --pale: #EFECDF;
  --border: #DDD6C9;
  /* Text */
  --text: #2B251F;
  --text-2: #625D53;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(45, 26, 18, .08);
  --shadow-lg: 0 24px 60px rgba(38, 56, 39, .18);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-btn); color: var(--espresso); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Buttons / links
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-btn); color: var(--espresso); box-shadow: 0 6px 18px rgba(228, 150, 51, .35); }
.btn-gold:hover { background: var(--ochre); color: var(--espresso); }
.btn-ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: rgba(252, 250, 246, .5); }
.btn-outline-light:hover { background: var(--ivory); color: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--green); }
.text-link .icon { transition: transform .2s; }
.text-link:hover { color: var(--gold-deep); }
.text-link:hover .icon { transform: translateX(4px); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 1rem; }
.eyebrow.light { color: var(--gold-btn); }
.lead { font-size: 1.2rem; color: var(--text-2); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--green-dark); color: var(--pale); font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar a { color: var(--pale); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-left: 1.25rem; }
.topbar a:hover { color: var(--gold-btn); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 246, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-dark); }
.logo img { max-height: 54px; width: auto; }
.logo-mark { width: 42px; height: 42px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; padding: .55rem .95rem; border-radius: 999px; }
.nav a:hover, .nav a.on { color: var(--green-dark); background: var(--pale); }
.nav .nav-cta { margin-left: .6rem; color: var(--espresso); background: var(--gold-btn); font-weight: 600; }
.nav .nav-cta:hover { background: var(--ochre); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--green-dark); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(240, 172, 82, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(55, 78, 52, .12), transparent 60%),
    var(--ivory); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1::after { content: ''; display: block; width: 84px; height: 5px; border-radius: 4px; background: var(--ochre); margin-top: .35em; }
.hero-loc { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--text-2); font-size: .95rem; }
.hero-loc .icon { color: var(--gold-deep); }
.hero-media { position: relative; }
.hero-frame { aspect-ratio: 1 / 1; border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -4%; bottom: 8%; max-width: 250px; padding: 1rem 1.25rem; background: var(--ivory); border: 1px solid var(--border); border-left: 5px solid var(--ochre); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; color: var(--green-dark); box-shadow: var(--shadow); line-height: 1.3; }

.art { width: 100%; height: 100%; background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%); }
.art svg { width: 100%; height: 100%; }
.art-b { background: linear-gradient(145deg, var(--soil), var(--espresso)); }
.art-c { background: linear-gradient(145deg, #4a6746, var(--green)); }
.art-news { background: linear-gradient(145deg, var(--green), var(--green-dark)); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--green); color: var(--ivory); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 2.3rem 1.4rem; text-align: center; border-right: 1px solid rgba(252, 250, 246, .14); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-btn); line-height: 1.1; }
.stat-item span { font-size: .95rem; color: var(--pale); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--pale); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.intro .vision { font-family: var(--font-head); font-size: 1.35rem; color: var(--green-dark); border-left: 4px solid var(--ochre); padding-left: 1.1rem; margin: 1.6rem 0; }

/* Programs */
.programs { background: var(--pale); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-program { position: relative; background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.card-program:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--ochre); }
.card-program .num, .program-row .num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--gold-deep); letter-spacing: .1em; display: inline-block; margin-bottom: .8rem; }
.card-program h3 a { text-decoration: none; color: inherit; }
.card-program p { color: var(--text-2); flex: 1; }

/* Story */
.story { background: var(--green-dark); color: var(--pale); padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.story::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 150, 51, .28), transparent 70%); }
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.story h2 { color: var(--ivory); }
.story-media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-stat { position: absolute; top: 1.1rem; left: 1.1rem; background: var(--gold-btn); color: var(--espresso); font-weight: 700; padding: .5rem 1rem; border-radius: 999px; font-size: .9rem; }
.story blockquote { margin: 1.6rem 0 2rem; padding: 0 0 0 1.3rem; border-left: 4px solid var(--ochre); font-family: var(--font-head); font-size: 1.5rem; line-height: 1.35; color: var(--gold-btn); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card-news { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card-news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green); }
.card-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-news:hover .card-news-img img { transform: scale(1.04); }
.card-news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-news-body h3 { font-size: 1.25rem; }
.card-news-body h3 a { text-decoration: none; color: inherit; }
.card-news-body h3 a:hover { color: var(--gold-deep); }
.card-news-body p:not(.meta) { color: var(--text-2); flex: 1; font-size: .98rem; }
.meta { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--text-2); margin-bottom: .7rem; }
.chip { background: var(--pale); color: var(--soil); border: 1px solid var(--border); padding: .15rem .7rem; border-radius: 999px; font-weight: 600; font-size: .78rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip-link { padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 500; font-size: .92rem; }
.chip-link:hover { border-color: var(--green); }
.chip-link.on { background: var(--green); color: var(--ivory); border-color: var(--green); }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.pager a { font-weight: 600; text-decoration: none; }

/* Reach */
.reach { background: var(--ivory); }
.reach-media { aspect-ratio: 6 / 7; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-height: 560px; width: 100%; }
.reach-media img { width: 100%; height: 100%; object-fit: cover; }
.reach h3 { font-size: 1.4rem; color: var(--soil); margin-top: 1.5rem; }

/* Partners */
.partners { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.6rem 0; background: var(--pale); }
.partners-title { text-align: center; font-weight: 600; color: var(--text-2); margin-bottom: 1.4rem; }
.partner-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.6rem; margin: 0; padding: 0; }
.partner-list li { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--soil); opacity: .85; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--espresso), var(--soil)); color: var(--pale); padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: var(--ivory); }
.cta-links { display: flex; flex-direction: column; gap: .8rem; }
.cta-links a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.3rem; border: 1px solid rgba(252, 250, 246, .22); border-radius: var(--radius-sm); color: var(--ivory); text-decoration: none; font-weight: 600; transition: background .2s, border-color .2s; }
.cta-links a:hover { background: rgba(252, 250, 246, .08); border-color: var(--gold-btn); color: var(--gold-btn); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: var(--pale); padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 150, 51, .3), transparent 70%); }
.page-hero h1 { color: var(--ivory); font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero .lead { color: var(--pale); max-width: 720px; }
.page-hero .eyebrow { color: var(--gold-btn); }
.post-hero .meta { color: var(--pale); }
.post-hero .chip { background: rgba(252, 250, 246, .12); color: var(--gold-btn); border-color: rgba(252, 250, 246, .25); }

.prose { font-size: 1.08rem; }
.prose h3 { margin-top: 2rem; color: var(--soil); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--ochre); }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 4px solid var(--ochre); font-family: var(--font-head); font-size: 1.3rem; color: var(--green-dark); }
.about-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about { align-items: center; }

.program-list { display: grid; gap: 2rem; }
.program-row { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: center; background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; transition: box-shadow .2s, border-color .2s; }
.program-row:hover { box-shadow: var(--shadow); border-color: var(--ochre); }
.program-row-media { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.program-row-media img { width: 100%; height: 100%; object-fit: cover; }
.program-row h2 { font-size: 1.7rem; }
.program-row h2 a { text-decoration: none; color: inherit; }
.program-row p { color: var(--text-2); }

.detail { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.detail-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.side-card { background: var(--pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { border-top: 1px solid var(--border); }
.side-card li:first-child { border-top: 0; }
.side-card a { display: block; padding: .7rem 0; text-decoration: none; font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--pale); color: var(--green); border: 1px solid var(--border); }
.info-list strong { display: block; color: var(--green-dark); }
.info-list a { text-decoration: none; }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--radius); margin-top: 1rem; }
.contact-form { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--green-dark); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(228, 150, 51, .25); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-size: .96rem; }
.notice ul { margin: 0; padding-left: 1.1rem; }
.notice.ok { background: #e9f1e6; border: 1px solid #b9d0b3; color: var(--green-dark); }
.notice.err { background: #fbeee4; border: 1px solid #efc7a3; color: var(--soil); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--green-dark); color: var(--pale); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: var(--gold-btn); font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--pale); text-decoration: none; }
.footer a:hover { color: var(--gold-btn); }
.logo-light { color: var(--ivory); margin-bottom: 1rem; }
.footer .addr { font-size: .95rem; opacity: .85; }
.muted-l { opacity: .8; font-size: .93rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(252, 250, 246, .25); display: grid; place-items: center; }
.social a:hover { background: var(--gold-btn); border-color: var(--gold-btn); color: var(--espresso); }
.footer-base { border-top: 1px solid rgba(252, 250, 246, .12); padding: 1.3rem 0; font-size: .88rem; opacity: .85; }

/* Reveal on scroll (progressive enhancement; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .cards, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .program-row { grid-template-columns: 240px 1fr; }
}
@media (max-width: 860px) {
  .topbar-links a:nth-child(2) { display: none; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ivory); padding: .8rem 20px 1.2rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; }
  .nav .nav-cta { margin: .5rem 0 0; text-align: center; }
  .hero-in, .split, .story-in, .cta-in, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(252, 250, 246, .14); }
  .about-media { max-width: 420px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .news-grid, .grid2 { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; }
}
