:root {
  --base: #1f4d3a;
  --accent: #2a9d6f;
  --gold: #f3b23c;
  --cream: #fff8e8;
  --soft: #eef8ef;
  --wash: #d8f1dc;
  --ink: #17231d;
  --muted: #65766d;
  --line: #dce8dc;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.62;
  background:
    linear-gradient(90deg, rgba(42,157,111,.06) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf7 0, #fff 420px);
  background-size: 72px 72px, auto;
  overflow-x: hidden;
}

a { color: #167553; text-underline-offset: 3px; }
a:hover { color: var(--base); }

h1, h2, h3 { letter-spacing: 0; line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 2.6vw, 2.12rem); font-weight: 850; }
h2 { font-size: clamp(1.32rem, 1.8vw, 1.65rem); font-weight: 820; }
h3 { font-size: 1.08rem; font-weight: 800; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 252, 244, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(31, 77, 58, .08);
  backdrop-filter: blur(14px);
}

.navbar { padding: .65rem 0; }
.navbar-brand img { width: auto; height: 42px; border-radius: 8px; }
.navbar-toggler { background: var(--base); border: 0; }
.nav-link {
  color: #2f473c !important;
  font-size: .9rem;
  font-weight: 760;
  padding-inline: .55rem !important;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active { color: #0f5e42 !important; border-color: var(--gold); }

.btn {
  border-radius: 999px;
  font-weight: 820;
  letter-spacing: 0;
}
.btn-lg { font-size: 1rem; padding: .72rem 1.15rem; }
.btn-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: #1f271f;
  box-shadow: 0 10px 20px rgba(243, 178, 60, .2);
}
.btn-cta:hover { background: #d99927; border-color: #d99927; color: #111; }
.btn-main {
  background: var(--base);
  border-color: var(--base);
  color: #fff;
}
.btn-main:hover { background: #153629; border-color: #153629; color: #fff; }
.btn-outline-light {
  color: #1e3f31;
  border-color: rgba(31, 77, 58, .32);
  background: rgba(255, 255, 255, .74);
}
.btn-outline-light:hover { background: var(--base); border-color: var(--base); color: #fff; }

.eyebrow {
  color: #b36d11;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(115deg, var(--cream) 0 58%, var(--wash) 58% 100%);
}
.hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  background: linear-gradient(rgba(31,77,58,.15), rgba(31,77,58,.05)), var(--hero) center/cover no-repeat;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 44px, var(--gold) 44px 86px, transparent 86px 104px);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 760px; }
.hero .lead {
  max-width: 700px;
  color: #506357;
  font-size: 1.08rem !important;
}
.hero-panel {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(31,77,58,.18);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(31,77,58,.12);
}
.hero-panel strong {
  display: block;
  font-size: 1.35rem;
  color: var(--base);
}
.hero-panel span { color: var(--muted); }
.hero-panel hr { border-color: rgba(31,77,58,.18); opacity: 1; }

.trust-strip {
  background: #ffffff;
  color: #244236;
  border-block: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 820;
}
.trust-strip span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section { padding: 62px 0; }
.section-alt {
  background: linear-gradient(180deg, #f7fbf4, #fff);
  border-block: 1px solid var(--line);
}
.section-dark {
  background: #1d3f31;
  color: #fff;
  border-bottom: 8px solid var(--gold);
}
.section-dark p { color: rgba(255,255,255,.8); }
.section-dark .feature-card { color: var(--ink); }
.section-dark .feature-card p,
.section-dark .post-card p { color: var(--muted); }
.layout-ribbon { border-top: 5px solid var(--gold); }

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel,
.faq details {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-card,
.post-card,
.path-card,
.locator-panel { padding: 22px; }
.feature-card,
.post-card {
  box-shadow: 0 10px 24px rgba(31,77,58,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover,
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31,77,58,.1);
}

.stat-card {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fffdf6;
}
.stat-card strong {
  display: block;
  color: var(--base);
  font-size: 1.55rem;
  line-height: 1;
}
.stat-card span { color: var(--muted); }

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.path-card {
  border-top: 4px solid var(--accent);
  background: linear-gradient(180deg, #fff, #fbfff8);
}
.path-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--base);
  font-weight: 900;
}

.academy-band {
  background: #f4f8ee;
  border-block: 1px solid var(--line);
}
.split-band {
  background: #f9efd6;
  color: var(--ink);
  padding: 44px 0;
  border-block: 1px solid #ecd8ad;
}
.split-band p { color: #6c5c3b; }

.faq details {
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq summary {
  color: var(--base);
  cursor: pointer;
  font-weight: 820;
}

label { color: #1f3329; font-weight: 700; }
.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--line);
  padding: .72rem .85rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(42,157,111,.14);
}

.article-body { max-width: 860px; }
.article-body h2 { margin-top: 2rem; }

.site-footer {
  background: #21352c;
  color: rgba(255,255,255,.74);
  padding: 52px 0;
}
.site-footer img { border-radius: 8px; }
.site-footer a {
  display: block;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  margin: .38rem 0;
}
.site-footer a:hover { color: var(--gold); }
.footer-title {
  color: #fff;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mobile-cta { display: none; }

@media (max-width: 1199px) {
  .nav-link { padding-block: .42rem !important; }
}

@media (max-width: 991px) {
  body { padding-bottom: 76px; }
  .site-header .container,
  .hero .container {
    max-width: 100%;
    width: 100%;
  }
  .navbar-brand img { max-width: 172px; }
  .navbar-toggler { margin-left: auto; }
  .hero .row {
    --bs-gutter-x: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .hero .row > * {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .hero h1,
  .hero .lead {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .section { padding: 46px 0; }
  .hero {
    min-height: auto;
    padding: 58px 0 42px;
    background: var(--cream);
    align-items: stretch;
    flex-direction: column;
  }
  .hero:before {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    margin-bottom: 22px;
    clip-path: none;
    order: -1;
  }
  .hero-panel { margin-top: 18px; }
  .path-grid { grid-template-columns: 1fr; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
  }
}

@media (max-width: 575px) {
  .navbar-brand img { height: 36px; max-width: 210px; }
  h1 { font-size: 1.68rem; }
  .hero .lead { font-size: 1rem !important; }
}
