:root {
  color-scheme: light;
  --green-dark: #1b5e20;
  --green: #2e7d32;
  --green-mid: #4caf50;
  --green-light: #e8f5e8;
  --green-pale: #f5fbf5;
  --text: #2d5016;
  --muted: #55705a;
  --white: #fff;
  --shadow: 0 12px 32px rgba(46, 125, 50, .14);
  --shadow-hover: 0 20px 42px rgba(27, 94, 32, .2);
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, rgba(255,255,255,.48), transparent 28%), linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}
img { max-width: 100%; height: auto; -webkit-user-drag: none; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #ffca28;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--green-dark);
  border-radius: .5rem;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--white);
  background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { padding: .25rem 0; background: rgba(46, 125, 50, .96); box-shadow: 0 8px 32px rgba(0, 0, 0, .18); }
.header-inner, .container { width: min(100% - 2rem, 1120px); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { color: var(--white); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.brand:hover { color: #c8e6c9; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a, .mobile-nav a { color: var(--white); font-weight: 600; text-decoration: none; }
.site-nav a { position: relative; padding: .55rem .8rem; border-radius: 999px; }
.site-nav a::after { position: absolute; right: .8rem; bottom: .25rem; left: .8rem; height: 2px; content: ""; background: #c8e6c9; transform: scaleX(0); transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a:focus-visible, .mobile-nav a:hover, .mobile-nav a:focus-visible { color: #e8f5e8; background: rgba(255, 255, 255, .15); }
.mobile-menu-button { display: none; border: 0; padding: .5rem; color: var(--white); background: transparent; border-radius: .5rem; }
.mobile-menu-button span { display: block; width: 1.5rem; height: 2px; margin: 4px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
.scroll-indicator { position: fixed; inset: 0 auto auto 0; z-index: 1100; width: 0; height: 4px; background: linear-gradient(90deg, #4caf50, #8bc34a); }

main { display: block; }
.hero { position: relative; display: flex; align-items: center; min-height: 86vh; padding: 9rem 0 6rem; color: var(--white); background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 55%, #43a047 100%); overflow: hidden; }
.hero::before { position: absolute; inset: -20%; content: ""; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 28%), radial-gradient(circle at 90% 80%, rgba(139,195,74,.24), transparent 32%); pointer-events: none; animation: meshDrift 16s ease-in-out infinite alternate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 3rem; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero-art::before { position: absolute; top: 50%; left: 50%; width: min(360px, 75vw); aspect-ratio: 1; content: ""; background: radial-gradient(circle, rgba(139,195,74,.42), transparent 68%); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-logo { position: relative; width: min(320px, 70vw); filter: drop-shadow(0 10px 25px rgba(0,0,0,.2)); animation: logoFloat 6s ease-in-out infinite; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 .75rem; color: #c8e6c9; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 7vw, 5rem); }
.hero p { max-width: 58ch; margin: 0 0 1.5rem; font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.15rem; border: 2px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.button::after { margin-left: .4rem; content: "→"; transition: transform .25s ease; }
.button:hover::after { transform: translateX(.2rem); }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.button-primary { color: var(--green-dark); background: #c8e6c9; }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.pathway-card .button-secondary { color: var(--green-dark); border-color: rgba(46,125,50,.35); background: var(--green-light); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.25rem; }
.hero .social-links { justify-content: flex-start; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 3.75rem; height: 3.75rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.1); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.social-links a:hover, .social-links a:focus-visible { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.social-links svg, .social-icon svg { width: 1.65rem; height: 1.65rem; fill: currentColor; }
.social-links .instagram:hover, .social-links .instagram:focus-visible { color: #fff; background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.social-links .tiktok:hover, .social-links .tiktok:focus-visible { color: #111; background: linear-gradient(135deg, #69c9d0, #fff 48%, #ee1d52); }
.social-links .linkedin:hover, .social-links .linkedin:focus-visible { color: #fff; background: #0a66c2; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.section { padding: 5rem 0; }
.section:nth-of-type(even) { background: rgba(255,255,255,.45); }
.section-heading { max-width: 700px; margin: 0 auto 2.25rem; text-align: center; }
.section-heading h2 { margin: 0 0 .75rem; color: var(--green-dark); font-size: clamp(2rem, 5vw, 3rem); }
.section-heading p { margin: 0; color: var(--muted); }
.about-grid, .pathways-grid, .steps-grid { display: grid; gap: 1.25rem; }
.about-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
.about-copy, .pathway-card, .step-card, .program-card, .faq-item, .partner-card { padding: 1.5rem; background: var(--white); border: 1px solid rgba(46,125,50,.08); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.about-copy:hover, .pathway-card:hover, .step-card:hover, .program-card:hover, .partner-card:hover { border-color: rgba(76,175,80,.35); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.about-copy h3, .pathway-card h3, .partner-card h3 { margin-top: 0; color: var(--green-dark); }
.feature-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 1rem; color: var(--green-dark); background: var(--green-light); border-left: 4px solid var(--green-mid); border-radius: .5rem; }
.pathways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pathway-card { border-top: 4px solid var(--green-mid); }
.pathway-card p { color: var(--muted); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: steps; }
.step-card { position: relative; padding-top: 3.5rem; }
.step-card::before { position: absolute; top: 1.25rem; left: 1.5rem; display: grid; place-items: center; width: 2rem; height: 2rem; content: counter(steps); counter-increment: steps; color: var(--white); background: var(--green); border-radius: 50%; font-weight: 700; }
.step-card h3 { margin-top: 0; color: var(--green-dark); }
.programs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.program-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.program-card .icon { font-size: 2rem; transition: transform .3s ease; }
.program-card:hover .icon { transform: translateY(-4px) scale(1.12) rotate(-4deg); }
.program-card h3 { margin: .65rem 0 .4rem; color: var(--green-dark); }
.program-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.program-card .button { margin-top: auto; padding-top: .75rem; font-size: .9rem; }
.partner-card { text-align: center; }
.partner-card p { max-width: 700px; margin: 0 auto 1rem; color: var(--muted); }
.faq-list { display: grid; gap: .8rem; max-width: 850px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { padding: 1.1rem 1.25rem; color: var(--green-dark); font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { float: right; content: "+"; font-size: 1.3rem; transition: transform .25s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { height: 0; overflow: hidden; padding: 0 1.25rem; color: var(--muted); transition: height .35s ease, padding-bottom .35s ease; }
.faq-item[open] .faq-answer { padding-bottom: 1.1rem; }
.social-cta { color: var(--white); background: linear-gradient(135deg, #1b5e20, #43a047); background-size: 160% 160%; text-align: center; animation: gradientShift 14s ease infinite; }
.social-cta h2 { color: var(--white); }
.social-cta .section-heading p { color: #e8f5e8; }
.social-cta p { max-width: 650px; margin: 0 auto; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.team-card { padding: 1.25rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.team-card img { width: 130px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.team-card h3 { margin: .8rem 0 .2rem; color: var(--green-dark); }
.team-card .role { margin: 0 0 .8rem; color: var(--green); font-weight: 700; }
.team-card p { margin: 0; color: var(--muted); font-size: .95rem; text-align: left; }

.site-footer { padding: 3rem 0 1.5rem; color: var(--white); background: #1b5e20; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { margin-top: 0; color: var(--white); }
.site-footer a { color: #c8e6c9; }
.footer-links { display: grid; gap: .35rem; }
.site-footer .footer-grid > div:last-child { min-width: 240px; text-align: center; }
.site-footer .footer-links:has(.social-icon) { display: grid; grid-template-columns: repeat(3, 3.75rem); justify-content: center; gap: .9rem; }
.site-footer .footer-email { display: flex; align-items: center; justify-content: center; grid-column: 1 / -1; justify-self: center; width: 220px; min-height: 3rem; padding: .7rem 1.25rem; border-radius: 999px; color: var(--green-dark); background: var(--green-light); font-weight: 700; text-decoration: none; }
.site-footer .footer-email:hover, .site-footer .footer-email:focus-visible { color: var(--white); background: var(--green-mid); }
.footer-links .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.75rem; height: 3.75rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); }
.footer-links .social-icon svg { width: 1.65rem; height: 1.65rem; fill: currentColor; transition: transform .2s ease, color .2s ease; }
.footer-links .social-icon:hover svg, .footer-links .social-icon:focus-visible svg { color: var(--white); transform: scale(1.15); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.scroll-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900; width: 3rem; height: 3rem; border: 0; border-radius: 50%; color: var(--white); background: var(--green-mid); box-shadow: 0 4px 16px rgba(0,0,0,.2); font-size: 1.5rem; opacity: 0; pointer-events: none; transform: translateY(1rem); transition: opacity .2s ease, transform .2s ease; }
.scroll-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.custom-cursor { position: fixed; z-index: 2001; width: 1.25rem; height: 1.25rem; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(144,202,249,.95), rgba(100,181,246,.75)); box-shadow: 0 0 18px rgba(144,202,249,.7); transform: translate(-50%, -50%) scale(0); transition: opacity .15s ease, transform .15s ease; }
.custom-cursor.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.click-pulse { position: fixed; z-index: 2000; width: 1.5rem; height: 1.5rem; border: 2px solid rgba(100,181,246,.8); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: pulseEffect .4s ease-out forwards; }
@keyframes pulseEffect { to { opacity: 0; transform: translate(-50%, -50%) scale(3); } }

.forms-page { padding: 9rem 0 4rem; }
.forms-intro { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.forms-intro h1 { margin: 0 0 .75rem; color: var(--green-dark); font-size: clamp(2rem, 5vw, 3rem); }
.forms-intro p { margin: 0; color: var(--muted); }
.forms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.25rem; }
.form-section { min-width: 0; padding: 1.25rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-section summary { padding: .25rem 0; color: var(--green-dark); font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 700; cursor: pointer; list-style: none; }
.form-section summary::-webkit-details-marker { display: none; }
.form-section summary::after { float: right; content: "+"; font-size: 1.5rem; }
.form-section[open] summary { margin-bottom: .5rem; }
.form-section[open] summary::after { content: "−"; }
.form-description { margin: 0 0 1rem; color: var(--muted); }
.form-actions { margin: 0 0 1rem; }
.popout-link { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .9rem; border: 1px solid rgba(46,125,50,.25); border-radius: 999px; color: var(--green-dark); background: var(--green-light); font-size: .9rem; font-weight: 700; text-decoration: none; }
.popout-link:hover { color: var(--white); background: var(--green); }
.form-frame { display: block; width: 100%; height: min(80vh, 800px); min-height: 600px; border: 0; border-radius: .5rem; background: var(--green-pale); }
.form-section { transition: transform .3s ease, box-shadow .3s ease; }
.form-section:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.form-note { margin: 1.5rem auto 0; max-width: 760px; color: var(--muted); font-size: .9rem; text-align: center; }

[data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes meshDrift { to { transform: translate(3%, -2%) scale(1.05); } }
@keyframes logoFloat { 50% { transform: translateY(-8px); } }
@keyframes gradientShift { 50% { background-position: 100% 50%; } }
@keyframes answerReveal { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: none; } }

@media (max-width: 850px) {
  .site-nav { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav { position: absolute; inset: 100% 0 auto; padding: .75rem 1rem 1rem; background: var(--green-dark); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: block; padding: .8rem 1rem; border-radius: .5rem; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-art { min-height: 220px; }
  .hero-copy { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .feature-list { text-align: left; }
  .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner, .container { width: min(100% - 1.25rem, 1120px); }
  .section { padding: 3.5rem 0; }
  .hero { min-height: auto; padding: 8rem 0 4.5rem; }
  .hero-art { min-height: 170px; }
  .hero-logo { width: min(230px, 65vw); }
  .pathways-grid, .steps-grid, .team-grid, .programs-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-frame { min-height: 560px; }
}
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor summary { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
