:root {
  --ink: #14221c;
  --forest: #10291f;
  --moss: #adc6a8;
  --lime: #dff573;
  --paper: #f4f1e9;
  --white: #fffdf8;
  --muted: #637068;
  --line: rgba(20, 34, 28, 0.16);
  --radius: 1.25rem;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--lime);
  color: var(--forest);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  max-width: var(--max-width);
  margin: auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.03em;
}
.brand span { color: #8aa254; }
.navigation { display: flex; gap: 2rem; }
.navigation a {
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.navigation a:hover { text-decoration: underline; text-underline-offset: .35rem; }
.menu-button { display: none; }

.hero {
  min-height: 660px;
  max-width: none;
  margin: auto;
  padding: 7.5rem max(2rem, calc((100vw - var(--max-width))/2 + 2rem)) 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .68fr);
  gap: 4vw;
  align-items: center;
  background:
    radial-gradient(circle at 80% 26%, rgba(223,245,115,.28), transparent 22rem),
    linear-gradient(135deg, #eef1e6 0%, var(--paper) 55%);
}
.eyebrow {
  margin: 0 0 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.04; }
h1, h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; }
h1 {
  max-width: 800px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.2rem, 5.2vw, 5.35rem);
  letter-spacing: -.055em;
}
h1 em { color: #567044; font-weight: 500; }
.lead {
  max-width: 620px;
  margin-bottom: 2.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: #435148;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.3rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #1d4032; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.4); }
.hero-visual { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-image {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 12rem 12rem 1.2rem 1.2rem;
  background: var(--moss);
}
.visual-note { margin: .75rem 0 0; text-align: right; font-size: .78rem; color: var(--muted); }

.proof {
  max-width: var(--max-width);
  margin: -1.5rem auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.proof p {
  margin: 0;
  padding: 1.35rem 1.5rem;
  font-size: .87rem;
  font-weight: 600;
  text-align: center;
}
.proof p + p { border-left: 1px solid var(--line); }

.section { max-width: var(--max-width); margin: auto; padding: 6.5rem 2rem; }
.services { padding-top: 5.25rem; }
.section-heading { width: 100%; max-width: none; margin-bottom: 3rem; }
.services .section-heading { margin-bottom: 4.25rem; }
.section-heading .eyebrow { margin-bottom: 1.5rem; }
.section-heading h2 {
  max-width: none;
  font-size: clamp(2.35rem, 3.5vw, 3.45rem);
  white-space: nowrap;
}
.section-heading h2 em {
  color: #567044;
  font-weight: 500;
}
.section h2 { margin-bottom: 1.2rem; font-size: clamp(2.35rem, 3.8vw, 3.8rem); letter-spacing: -.04em; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card {
  min-height: 340px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 34, 28, .32);
  box-shadow: 0 16px 38px rgba(16, 41, 31, .12);
}
.service-card:focus-visible {
  outline: 3px solid #8aa254;
  outline-offset: 4px;
}
.service-card.featured { background: var(--forest); color: white; }
.program-card {
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  min-height: 220px;
  padding-bottom: 2.2rem;
  justify-content: space-between;
  background: #e7eadc;
}
.program-card h3 { margin-bottom: .6rem; }
.program-card p { margin: 0; }
.program-card ul { margin: .65rem 0 0; line-height: 1.5; }
.service-card h3 { margin-bottom: .7rem; font-size: clamp(1.9rem, 2.5vw, 2.6rem); letter-spacing: -.04em; }
.service-card p, .service-card li { color: inherit; opacity: .78; }
.service-card ul { margin: .8rem 0; padding-left: 1.2rem; }
.card-cta { font-weight: 700; }
.service-card:hover .card-cta span { display: inline-block; transform: translateX(3px); }

.about {
  display: block;
  border-top: 1px solid var(--line);
}
.about-copy { max-width: 900px; }
.about-copy > p { max-width: 720px; font-size: 1.15rem; color: #435148; }
.placeholder-note {
  margin-top: 2.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid #8aa254;
  font-size: .92rem !important;
  background: rgba(255,255,255,.45);
}
.contact {
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--max-width))/2 + 2rem));
  padding-right: max(2rem, calc((100vw - var(--max-width))/2 + 2rem));
  background: var(--forest);
  color: white;
}
.contact h2 { max-width: 850px; }
.contact > p:not(.eyebrow):not(.contact-note) { max-width: 620px; margin-bottom: 2rem; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.button-light { background: var(--lime); color: var(--forest); }
.contact-note { margin-top: 1rem; font-size: .75rem; opacity: .55; }

footer {
  max-width: var(--max-width);
  margin: auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: .8rem;
}
.brand-footer { margin-right: auto; color: var(--ink); }

@media (min-width: 761px) and (max-width: 1050px) {
  .hero {
    min-height: 620px;
    padding-left: 2rem;
    padding-right: 2rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr);
    gap: 2rem;
  }
  h1 { font-size: clamp(3rem, 5.7vw, 4.3rem); }
  .hero-image { height: 350px; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
}

@media (max-width: 760px) {
  .site-header { padding: 1.2rem; }
  .menu-button {
    display: flex;
    gap: .6rem;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
  }
  .menu-icon, .menu-icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform .2s;
  }
  .menu-icon::after { transform: translateY(5px); }
  .menu-button[aria-expanded="true"] .menu-icon { transform: translateY(2px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon::after { transform: rotate(-90deg); }
  .navigation {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    flex-direction: column;
    gap: .2rem;
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(16,41,31,.14);
  }
  .navigation.open { display: flex; }
  .navigation a { padding: .7rem; }
  .hero {
    min-height: auto;
    padding: 8rem 1.2rem 4rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-image { height: 460px; }
  .proof { margin: 0 1.2rem; grid-template-columns: 1fr; }
  .proof p + p { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 6rem 1.2rem; }
  .section-heading, .service-grid, .about { grid-template-columns: 1fr; }
  .section-heading h2 { white-space: normal; }
  .service-card { min-height: 350px; }
  .program-card { min-height: 220px; }
  footer { padding: 2rem 1.2rem; flex-wrap: wrap; gap: .7rem 1.5rem; }
}


.portal-placeholder {
  min-height: 100vh;
  padding: 8rem max(2rem, calc((100vw - 760px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #eef1e6, var(--paper));
}
.portal-placeholder h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.portal-placeholder p { max-width: 620px; font-size: 1.15rem; color: var(--muted); }
.portal-placeholder .button { align-self: flex-start; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
