/* Green College & ABE: shared styles. White background, green from the logo, Montserrat + Lato (carried over from Insight Compass). */
:root {
  --ink: #1C2620; --paper: #FFFFFF; --bg: #FFFFFF; --soft: #F4F8F5;
  --line: #DDE6E0; --stone: #9AAAA0; --muted: #5C6A62;
  --green: #1F6B3A; --green-dark: #154D29; --green-soft: #E8F3EC; --green-pale: #CFE7D7; --green-mist: #E2F1E7;
  --err: #B3261E;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Lato, system-ui, sans-serif; }
h1, h2, h3 { font-family: Montserrat, Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; }
a { color: var(--green-dark); }
img, svg, video { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
header.top { padding: 12px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.brand .n { font-family: Montserrat, serif; font-weight: 700; font-size: 16px; line-height: 1.15; }
.brand .t { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
nav.main a:hover { background: var(--green-soft); }
nav.main a[aria-current=page] { color: var(--green); }
nav.main a.btn { color: #fff; padding: 0 20px; margin-left: 4px; }
@media (max-width: 640px) {
  header.top .wrap { justify-content: center; }
  nav.main { justify-content: center; width: 100%; }
  nav.main a { padding: 8px 10px; font-size: 14px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 0; background: var(--green); color: #fff; font: 700 16px Lato, sans-serif; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--green-dark); }
.btn[disabled] { background: var(--stone); cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--green-dark); border: 1.5px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.center .ctas { justify-content: center; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--soft); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 14px; max-width: 24ch; }
.section-sub { color: var(--muted); max-width: 58ch; margin: 0 0 32px; }
.center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.hero .logo { width: 96px; height: 96px; border-radius: 50%; margin: 0 0 18px; display: block; }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); max-width: 15ch; margin: 10px 0 0; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--green); }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 46ch; margin: 18px 0 28px; }

/* Video */
.hero figure { margin: 0 auto; max-width: 340px; width: 100%; }
.hero video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #000; display: block;
  box-shadow: 0 20px 50px -20px rgba(21, 77, 41, .45); }
.hero figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Mission */
.mission-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 860px) { .mission-grid { grid-template-columns: 1fr 1fr; } }
.mission-art { border-radius: 24px; overflow: hidden; max-width: 520px; }
.mission-art img { display: block; width: 100%; height: auto; }
.goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: g; }
.goals li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-align: left; }
.goals li::before { counter-increment: g; content: counter(g); width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  color: #fff; font: 700 18px Montserrat, serif; display: flex; align-items: center; justify-content: center; }
.goals h3 { font-size: 19px; margin: 2px 0 4px; }
.goals p { margin: 0; color: var(--muted); font-size: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card .ico { width: 64px; height: 64px; }
.card h3 { font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.card a { font-weight: 700; text-decoration: none; margin-top: 6px; }
.card a:hover { text-decoration: underline; }

/* Contact form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; }
@media (min-width: 600px) { .form-card { padding: 36px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.req { color: var(--err); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.sub-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; display: block; }
input[type=text], input[type=email], textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: 400 17px Lato, sans-serif; }
input:hover, textarea:hover { border-color: var(--stone); }
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 107, 58, .18); }
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.invalid input, .invalid textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; display: none; }
.invalid .err { display: block; }

.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; align-items: center; }
.suggest .lbl { font-size: 13px; color: var(--muted); font-weight: 700; width: 100%; }
.suggest button { border: 1px dashed var(--stone); background: transparent; color: var(--ink); border-radius: 999px;
  padding: 7px 13px; font: 400 14px Lato, sans-serif; cursor: pointer; }
.suggest button:hover { background: var(--green-soft); border-color: var(--green); }
.prefilled-note { font-size: 13.5px; color: var(--muted); }
.prefilled-note button { background: none; border: 0; padding: 0; color: var(--green-dark); font: inherit; text-decoration: underline; cursor: pointer; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 400 !important; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.submit-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.submit-row .btn { min-width: 220px; }
.status { font-size: 14.5px; color: var(--muted); margin: 0; text-align: center; min-height: 1.4em; }
.status.bad { color: var(--err); }

.done { display: none; background: var(--green-soft); border: 1px solid var(--green-pale); border-radius: 20px; padding: 32px 24px; text-align: center; }
.done.show { display: block; }
.done h2 { margin-top: 8px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 600 24px Montserrat, serif; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin: 0; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin: 8px 0 6px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2E3A33; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.legal .toc { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; }
.legal .toc ol { margin: 6px 0 0; padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--soft); }
.table-scroll { overflow-x: auto; }
.placeholder { background: #FFF4CC; padding: 0 4px; border-radius: 4px; }

footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); text-align: center; }
footer.bottom nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
footer.bottom nav a { font-weight: 700; text-decoration: none; }
footer.bottom nav a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Contact block on the home page: intro on the left, form on the right */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.contact-intro ul { padding-left: 20px; color: var(--muted); }
.contact-intro li { margin-bottom: 6px; }
