:root {
  --teal: #23788a;
  --teal-dark: #145c6a;
  --cream: #f7f3ea;
  --cream-light: #fcfaf5;
  --ink: #17343a;
  --muted: #607176;
  --line: rgba(23, 52, 58, .12);
  --white: #fff;
  --shadow: 0 22px 60px rgba(20, 62, 70, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-light);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,250,245,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { width: 54px; height: 54px; object-fit: contain; }

.brand span {
  display: grid;
  line-height: 1.1;
  letter-spacing: .05em;
}

.brand strong { font-size: 16px; letter-spacing: .14em; }
.brand small { margin-top: 5px; font-size: 9px; font-weight: 700; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links > a:not(.nav-apply) { opacity: .82; }
.nav-links > a:not(.nav-apply):hover { opacity: 1; color: var(--teal-dark); }

.nav-apply {
  padding: 12px 21px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(35,120,138,.13), transparent 30%),
    linear-gradient(135deg, #fbf7ee 0%, #f2f5ed 100%);
}

.hero-pattern {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -230px;
  bottom: -360px;
  border-radius: 50%;
  background: rgba(35,120,138,.08);
}

.hero-grid {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr .88fr;
  align-items: center;
  gap: 60px;
}

.hero-copy { padding: 55px 0; }

.eyebrow, .section-label {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 27px 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { color: white; background: var(--teal); box-shadow: 0 10px 25px rgba(35,120,138,.2); }
.btn-outline { border: 1px solid rgba(23,52,58,.22); background: rgba(255,255,255,.45); }
.btn-light { color: var(--teal-dark); background: white; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-card {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-frame {
  width: min(410px, 78vw);
  aspect-ratio: 1 / 1;
  padding: 35px;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 45% 55%;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.logo-frame img {
  width: 86%;
  max-width: 360px;
  transform: rotate(-2deg);
}

.hero-card-bottom {
  position: absolute;
  left: 4%;
  bottom: 45px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--teal-dark);
  color: white;
  box-shadow: var(--shadow);
}

.hero-card-bottom span { display: block; font-size: 10px; letter-spacing: .2em; }
.hero-card-bottom strong { font-size: 18px; letter-spacing: .04em; }

.section { padding: 110px 0; }

.two-column {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.035em;
}

.intro { background: white; }
.intro-copy { color: var(--muted); font-size: 17px; }
.intro-copy p:first-child { margin-top: 0; }

.vision-mission {
  background: var(--teal-dark);
  color: white;
}

.vision-mission .section-label { color: #cde5e8; }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-heading > p:last-child { color: rgba(255,255,255,.7); }

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.purpose-card {
  padding: 42px;
  min-height: 390px;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.mission-card { background: #f8f5ed; color: var(--ink); }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 55px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  font-size: 12px;
  font-weight: 800;
}
.mission-card .icon { background: var(--teal); color: white; }

.card-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; opacity: .7; }
.purpose-card h3 { max-width: 480px; margin: 12px 0 16px; font-family: Georgia, serif; font-size: 31px; line-height: 1.12; font-weight: 500; }
.purpose-card > p:last-child { color: rgba(255,255,255,.72); }
.mission-card > p:last-child { color: var(--muted); }

.values { background: var(--cream); }
.section-heading.left { text-align: left; margin-left: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-top: 1px solid var(--line); }
.value { padding: 35px 25px 20px 0; border-bottom: 1px solid var(--line); }
.value span { color: var(--teal); font-size: 11px; font-weight: 800; }
.value h3 { margin: 22px 0 8px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { padding: 70px 0; background: var(--teal); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta .section-label { color: #cde5e8; }
.cta h2 { max-width: 700px; font-size: clamp(34px, 4vw, 52px); }

.footer { padding: 65px 0 25px; background: #113f49; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 50px; }
.footer-brand { display: flex; gap: 15px; align-items: center; }
.footer-brand img { width: 70px; height: 70px; object-fit: contain; background: white; border-radius: 12px; }
.footer-brand strong { font-size: 13px; letter-spacing: .08em; }
.footer-brand p, .footer p { color: rgba(255,255,255,.65); font-size: 13px; }
.footer h4 { margin: 0 0 15px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.7); font-size: 13px; }
.footer a:hover { color: white; }
.copyright { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 11px; }

@media (max-width: 850px) {
  .container { width: min(100% - 32px, 700px); }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 18px 20px 25px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream-light);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-apply { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 60px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; }
  .hero-card { min-height: 390px; }
  .two-column, .purpose-grid { grid-template-columns: 1fr; gap: 35px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .brand img { width: 45px; height: 45px; }
  .hero h1 { font-size: 49px; }
  .hero-text { font-size: 15px; }
  .hero-card { min-height: 320px; }
  .logo-frame { padding: 20px; }
  .hero-card-bottom { bottom: 15px; left: 0; }
  .section { padding: 75px 0; }
  .purpose-card { padding: 30px; min-height: 0; }
  .purpose-card h3 { font-size: 26px; }
  .values-grid, .footer-grid { grid-template-columns: 1fr; }
  .copyright { gap: 15px; flex-direction: column; }
}


/* Admissions */
.admissions { background: #fff; }
.admissions-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.admissions-copy > p:not(.section-label) {
  color: var(--muted);
  max-width: 480px;
  font-size: 16px;
}
.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.contact-options a {
  display: flex;
  flex-direction: column;
  width: fit-content;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-light);
}
.contact-options span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.contact-options strong { color: var(--teal-dark); font-size: 19px; }

.admission-form {
  padding: 35px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.admission-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}
.admission-form input,
.admission-form select,
.admission-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(23,52,58,.16);
  border-radius: 10px;
  outline: none;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(35,120,138,.1);
}
.consent {
  display: flex !important;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 500 !important;
}
.consent input {
  width: auto;
  margin: 2px 0 0;
}
.consent span { flex: 1; }
.submit-btn { border: 0; cursor: pointer; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 850px) {
  .admissions-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 520px) {
  .admission-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
