/* ==========================================================================
   pages.css: parts used by one page only.
   ========================================================================== */

/* ---------- About ---------- */
.prose p { font-size: 1.08rem; color: var(--ink-soft); }
.prose p:first-child::first-letter { float: left; font-family: var(--font-title); font-size: 4.2rem; line-height: .85; padding: .35rem .6rem 0 0; color: var(--forest-800); }

.person-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--forest-800), var(--forest-600)); color: var(--leaf-400); font-family: var(--font-title); font-size: 1.8rem; font-weight: 700; box-shadow: 0 0 0 5px var(--leaf-100); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-role { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: .6rem; }
.person-card p:last-child { color: var(--ink-soft); }
@media (max-width: 480px) { .person-card { flex-direction: column; } }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 340px; background: var(--stone-200); }
.map-frame iframe, .map-wide iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-wide { height: 420px; background: var(--stone-200); }
.map-wide iframe { height: 420px; }

/* ---------- Stage one: cohorts ---------- */
.cohorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: cohort; }
.cohort { position: relative; padding: 2rem 1.5rem 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.cohort:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cohort-num { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; background: var(--forest-800); color: var(--leaf-400); font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; box-shadow: 0 0 0 6px var(--forest-100); }
.cohort:last-child .cohort-num { background: var(--leaf-500); color: var(--forest-950); box-shadow: 0 0 0 6px var(--leaf-100); }
.cohort h3 { font-size: 1.15rem; }
.cohort p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .cohorts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cohorts { grid-template-columns: 1fr; } }

/* ---------- Outreach ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.subnav-inner { display: flex; gap: .5rem; justify-content: center; padding-top: .75rem; padding-bottom: .75rem; overflow-x: auto; }
.subnav a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .25s, color .25s; }
.subnav a:hover { background: var(--stone-100); color: var(--forest-800); }
.subnav a.active { background: var(--forest-800); color: var(--white); }

.program-head { display: flex; gap: 2rem; align-items: center; margin-bottom: 3rem; max-width: 900px; }
.program-head img, .program-head-icon { flex-shrink: 0; width: 110px; height: 110px; padding: 12px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); object-fit: contain; }
.program-head-icon { display: grid; place-items: center; background: var(--forest-800); color: var(--leaf-400); border: 0; }
.program-head h2 { margin-bottom: .4rem; }
.program-head .lead { margin-bottom: 1rem; }
@media (max-width: 640px) { .program-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; } }
.small-label.center { text-align: center; margin-bottom: 1.5rem; }

.reach-band { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; text-align: center; }
.reach-band strong { font-family: var(--font-title); font-size: 3.5rem; line-height: 1; color: var(--forest-800); }
.reach-band > span { font-size: 1.15rem; font-weight: 600; color: var(--forest-700); }

/* ---------- Resources ---------- */
.resource-card { display: flex; flex-direction: column; }
.resource-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.resource-card p { color: var(--ink-soft); }
.resource-card .link-arrow { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-line { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.contact-line:hover { transform: translateX(6px); border-color: var(--leaf-500); box-shadow: var(--shadow); color: var(--forest-800); }
.contact-line small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf-700); }
.contact-info .social { margin-top: .5rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Join ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 2.5rem; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 2rem); padding: 2.5rem 2rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--stone-200), var(--stone-100)); border: 1px solid var(--stone-300); color: var(--ink-soft); box-shadow: var(--shadow); }
.form-aside h2 { color: var(--forest-900); font-size: 1.9rem; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
.page-join .grid-3 { margin-bottom: 2.5rem; }
