:root {
  --forest: #064e3b;
  --pine: #0f6b4f;
  --leaf: #158257;
  --sprout: #54b87a;
  --mint: #e6f7ee;
  --sage: #f3fbf6;
  --lime: #b8e66c;
  --ink: #10231b;
  --muted: #5f746b;
  --line: #cbe7d8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(6, 78, 59, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfefb;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.admission-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.admission-popup {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  max-width: min(620px, calc(100vw - 28px));
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.admission-popup span,
.admission-popup strong { display: block; }
.admission-popup span {
  color: var(--lime);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
}
.admission-popup a,
.admission-popup label {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
}
.admission-popup a { padding: 0 18px; color: var(--forest); background: var(--white); }
.admission-popup label { background: rgba(255,255,255,.16); cursor: pointer; }
.admission-toggle:checked + .admission-popup { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 254, 251, .94);
  border-bottom: 1px solid rgba(203, 231, 216, .85);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
}
.brand img { width: 56px; height: 56px; }
.brand strong,
.brand small { display: block; }
.brand strong { color: var(--forest); font-size: 1.08rem; line-height: 1.15; }
.brand small { color: var(--muted); font-size: .8rem; font-weight: 700; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #294238;
  font-size: .96rem;
  font-weight: 800;
}
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover,
.main-nav a.active { color: var(--forest); border-color: var(--leaf); }
.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}
.header-call,
.button.primary { color: var(--white); background: var(--forest); }
.button.secondary { color: var(--forest); background: var(--lime); }
.button.ghost { color: var(--forest); border: 1px solid var(--line); background: var(--white); }

.hero,
.section,
.section-band,
.trust-strip { padding-inline: clamp(18px, 4vw, 56px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(320px, 1.04fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  min-height: calc(100svh - 85px);
  padding-top: 48px;
  padding-bottom: 62px;
  background:
    radial-gradient(circle at 86% 14%, rgba(184,230,108,.26), transparent 34%),
    linear-gradient(160deg, #f3fbf3 0%, #e6f8ed 52%, #f9fdf8 100%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--pine);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1 {
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .95;
  letter-spacing: 0;
}
h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}
h3 { margin-bottom: 10px; color: var(--forest); font-size: 1.14rem; line-height: 1.25; }
.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: #365248;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}
.quick-stats div {
  padding: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.quick-stats dt { color: var(--forest); font-size: 1.55rem; font-weight: 900; line-height: 1; }
.quick-stats dd { margin: 6px 0 0; color: var(--muted); font-size: .88rem; font-weight: 700; }

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(203,231,216,.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 24%, rgba(184,230,108,.42), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(21,130,87,.22), transparent 34%),
    linear-gradient(145deg, #ffffff, #e2f6eb);
  box-shadow: var(--shadow);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(15,107,79,.14);
  border-radius: 50%;
}
.hero-visual::before { top: -110px; right: -90px; }
.hero-visual::after { bottom: -130px; left: -90px; }
.hero-logo-card {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(360px, 78%);
  padding: 36px 28px;
  text-align: center;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(6,78,59,.14);
}
.hero-logo-card img { width: 138px; height: 138px; margin-bottom: 18px; }
.hero-logo-card strong { color: var(--forest); font-size: 1.45rem; line-height: 1.15; }
.hero-logo-card span { color: var(--muted); font-weight: 800; }
.dna-panel {
  position: absolute;
  inset: auto 34px 38px auto;
  display: grid;
  gap: 12px;
  width: 130px;
  padding: 18px;
  background: var(--forest);
  border-radius: 8px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.dna-panel span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime) 0 32%, var(--white) 32% 48%, var(--sprout) 48% 100%);
}
.dna-panel span:nth-child(even) { transform: scaleX(.72); transform-origin: right; }
.hero-badge {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(6,78,59,.12);
}
.badge-one { top: 58px; left: 38px; }
.badge-three { bottom: 72px; left: 48px; }

.photo-stack {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 14px;
  align-items: stretch;
}
.photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.photo-stack img:first-child { min-height: 520px; }
.photo-stack .side-photos { display: grid; gap: 14px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: var(--white);
  background: var(--forest);
}
.trust-strip div { padding: 24px clamp(18px, 3vw, 38px); background: rgba(255,255,255,.06); }
.trust-strip strong,
.trust-strip span { display: block; }
.trust-strip strong { color: var(--lime); font-size: 1.05rem; }
.trust-strip span { color: #dff7eb; }

.section { padding-top: 82px; padding-bottom: 82px; }
.section-band {
  padding-top: 82px;
  padding-bottom: 82px;
  background: var(--sage);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, .64fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}
.section-heading.compact { grid-template-columns: 1fr; max-width: 860px; }
.grid-2,
.about-grid,
.course-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.grid-3,
.quality-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card,
.story-panel,
.course-card,
.quality-grid article,
.video-grid article,
.rank-list article,
.contact-panel,
.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(6,78,59,.08);
}
.story-panel,
.quality-grid article,
.rank-list article,
.policy-card { padding: 28px; }
.story-panel.muted { background: #edf8f0; }
.story-panel p,
.quality-grid p,
.course-card p,
.policy-card p,
.policy-card li { color: var(--muted); }

.media-card {
  overflow: hidden;
  min-height: 360px;
  background: var(--mint);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.quality-grid .icon {
  display: inline-grid;
  min-width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  padding-inline: 10px;
  color: var(--forest);
  background: var(--mint);
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 900;
}
.course-card { padding: 34px; }
.course-card.featured { color: var(--white); background: linear-gradient(145deg, var(--forest), var(--leaf)); border-color: transparent; }
.course-card.featured h3,
.course-card.featured p { color: var(--white); }
.course-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  font-weight: 900;
  text-transform: uppercase;
}
.course-card a {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 18px;
  color: var(--forest);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 850;
}
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-grid article { overflow: hidden; }
.video-grid video { width: 100%; display: block; background: var(--ink); aspect-ratio: 16 / 9; }
.video-grid h3,
.video-grid p { padding-inline: 22px; }
.video-grid h3 { padding-top: 20px; }
.video-grid p { padding-bottom: 20px; color: var(--muted); }

.rank-highlight {
  padding: 34px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}
.rank-highlight p { font-size: 1.2rem; }
.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rank-list strong,
.rank-list span { display: block; }
.rank-list span { color: var(--muted); }
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 28px;
  padding: 34px;
}
address { display: grid; gap: 12px; font-style: normal; }
address a,
address span {
  padding: 14px 16px;
  color: var(--forest);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 800;
}
.map-embed {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}
.page-hero {
  padding-top: 72px;
  padding-bottom: 58px;
  background: linear-gradient(145deg, #f3fbf3, #e6f8ed);
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 5vw, 5.4rem);
  line-height: 1;
}
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.course-card h2,
.story-panel h2,
.policy-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
}
.policy-card ul { padding-left: 20px; margin-bottom: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #dff7eb;
  background: var(--forest);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 800; }
.footer-links a:hover { color: var(--lime); }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .brand { min-width: 0; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .hero,
  .section-heading,
  .grid-2,
  .about-grid,
  .course-grid,
  .policy-grid,
  .contact-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .photo-stack img:first-child { min-height: 320px; }
  .trust-strip,
  .grid-3,
  .quality-grid,
  .gallery-grid,
  .rank-list,
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-call { width: 100%; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero-visual { min-height: 360px; }
  .hero-logo-card { width: min(300px, 82%); padding: 28px 20px; }
  .hero-logo-card img { width: 112px; height: 112px; }
  .dna-panel { right: 18px; bottom: 18px; width: 104px; }
  .hero-badge { font-size: .76rem; padding: 9px 12px; }
  .badge-one { top: 22px; left: 16px; }
  .badge-three { bottom: 42px; left: 18px; }
  .quick-stats { grid-template-columns: 1fr; }
  .photo-stack { grid-template-columns: 1fr; }
  .photo-stack .side-photos { grid-template-columns: 1fr 1fr; }
  .photo-stack img:first-child { min-height: 240px; }
  .admission-popup { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}
