:root {
  --ink: #14211f;
  --forest: #123c3a;
  --forest-deep: #092a29;
  --mint: #dff3df;
  --lime: #c9e969;
  --cloud: #f4f7f2;
  --white: #ffffff;
  --line: #d7ded6;
  --muted: #52615d;
  --shadow: 0 22px 50px rgba(8, 42, 40, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); }

.header-content { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; letter-spacing: -.02em; }
.brand strong { display: block; font-size: 1.04rem; line-height: 1; letter-spacing: .045em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .61rem; line-height: 1; letter-spacing: .21em; }

.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 2px; }
.brand-mark i { display: block; width: 7px; height: 7px; background: var(--forest); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--lime); }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: .91rem; font-weight: 600; }
.main-nav > a { text-decoration: none; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a:not(.nav-cta):focus-visible { color: var(--forest); }
.nav-cta { padding: 10px 17px; color: var(--white); background: var(--forest); border-radius: 5px; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--forest-deep); }

.menu-button { display: none; padding: 8px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--forest); }

.hero { overflow: hidden; padding: 86px 0 96px; background: var(--cloud); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: center; gap: 68px; }
.eyebrow, .section-label { margin: 0 0 14px; color: var(--forest); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, blockquote { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.8rem, 5.6vw, 5.25rem); font-weight: 500; line-height: .98; letter-spacing: -.058em; }
h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.5vw, 3.35rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: 1.55rem; font-weight: 500; line-height: 1.12; }
.lead { max-width: 620px; color: var(--muted); font-size: 1.12rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--forest-deep); background: var(--lime); }
.button-primary:hover, .button-primary:focus-visible { background: #d8f57d; }
.text-link { color: var(--forest); font-weight: 800; text-underline-offset: 4px; }

.hero-panel { position: relative; padding: 27px; color: var(--white); background: var(--forest); box-shadow: var(--shadow); }
.hero-panel::after { position: absolute; right: -30px; bottom: -30px; width: 128px; height: 128px; content: ""; border: 1px solid rgba(18, 60, 58, .25); }
.panel-topline { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.27); color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.area-list { padding: 14px 0; }
.area-list > div { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.area-number { color: var(--lime); font-size: .78rem; font-weight: 800; }
.area-list strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 400; }
.hero-panel p { max-width: 390px; margin: 14px 0 0; color: rgba(255,255,255,.75); font-size: .94rem; }

.institution { padding: 116px 0; }
.split-section, .commitment-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.split-section > div > p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }

.programs { padding: 96px 0; background: var(--forest-deep); color: var(--white); }
.programs .section-label { color: var(--lime); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 46px; }
.section-heading h2 { max-width: 680px; margin: 0; }
.programs .text-link { color: var(--white); white-space: nowrap; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.26); }
.program-card { min-height: 270px; padding: 26px 32px 24px; border-right: 1px solid rgba(255,255,255,.26); }
.program-card:first-child { border-left: 1px solid rgba(255,255,255,.26); }
.card-index { display: block; margin-bottom: 62px; color: var(--lime); font-size: .77rem; font-weight: 800; letter-spacing: .08em; }
.program-card p { color: rgba(255,255,255,.7); font-size: .95rem; }

.commitment { padding: 104px 0; background: var(--mint); }
.commitment blockquote { max-width: 780px; margin: 0 0 24px; font-size: clamp(2rem, 4vw, 3.55rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.commitment p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.06rem; }

.contact { padding: 88px 0; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 46px 52px; color: var(--white); background: var(--forest); }
.contact-card h2 { max-width: 620px; margin: 0; }
.contact-card .section-label { color: var(--lime); }
.contact-actions { display: grid; gap: 16px; justify-items: start; }
.button-light { color: var(--forest-deep); background: var(--white); }
.contact-email { color: var(--white); font-size: .9rem; font-weight: 700; text-underline-offset: 4px; }

.site-footer { padding: 34px 0 24px; color: rgba(255,255,255,.76); background: var(--ink); }
.brand-footer { color: var(--white); }
.brand-footer small { color: rgba(255,255,255,.65); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: .86rem; font-weight: 700; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.legal-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; font-size: .76rem; }
.legal-bar p { margin: 0; }

.legal-page { background: var(--cloud); }
.legal-main { padding: 74px 0 96px; }
.legal-shell { width: min(850px, 100%); margin: 0 auto; padding: clamp(28px, 6vw, 64px); background: var(--white); box-shadow: 0 12px 30px rgba(13, 43, 41, .07); }
.legal-shell h1 { margin-bottom: 14px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.legal-updated { margin-bottom: 46px; color: var(--muted); font-size: .9rem; }
.legal-content h2 { margin-top: 48px; margin-bottom: 14px; font-size: 1.75rem; }
.legal-content h3 { margin-top: 27px; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: #3e4d49; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--forest); font-weight: 750; }
.legal-note { margin-top: 36px; padding: 18px 20px; border-left: 3px solid var(--lime); background: var(--cloud); color: var(--muted); font-size: .92rem; }

@media (max-width: 820px) {
  .container { width: min(100% - 36px, 1120px); }
  .header-content { min-height: 72px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 72px; right: 18px; left: 18px; display: none; padding: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 28px rgba(0,0,0,.1); }
  .main-nav.is-open { display: grid; gap: 16px; }
  .nav-cta { width: max-content; }
  .hero { padding: 64px 0 72px; }
  .hero-grid, .split-section, .commitment-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-panel::after { display: none; }
  .section-heading, .contact-card { align-items: start; flex-direction: column; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card, .program-card:first-child { min-height: auto; border-right: 1px solid rgba(255,255,255,.26); border-bottom: 1px solid rgba(255,255,255,.26); }
  .card-index { margin-bottom: 28px; }
  .contact-card { padding: 36px 28px; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-links { display: grid; gap: 12px; }
}
