:root {
  --ink: #13231d;
  --green: #174b38;
  --green2: #226b4f;
  --gold: #d3a94b;
  --cream: #f6f3e9;
  --paper: #fffdf8;
  --muted: #68736d;
  --line: #dfe3db;
  --white: #fff;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.05;
  margin: 0 0 20px
}

h1 {
  font-size: clamp(52px, 7vw, 94px);
  letter-spacing: -3px
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -2px
}

h3 {
  font-size: 25px
}

em {
  color: var(--gold);
  font-style: normal
}

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

.topbar {
  background: var(--ink);
  color: #dce8df;
  font-size: 12px
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0
}

.site-header {
  background: rgba(255, 253, 248, .96);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(19, 35, 29, .08);
  backdrop-filter: blur(10px)
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink)
}

.brand strong {
  display: block;
  letter-spacing: 2px;
  font-size: 15px
}

.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted)
}

.crest {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #f8efd0;
  display: grid;
  place-items: center;
  font-family: "Playfair Display";
  font-weight: 800;
  border-radius: 50% 50% 45% 45%;
  border: 2px solid var(--gold)
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700
}

.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 12px 18px;
  border-radius: 30px
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px
}

.hero {
  background: var(--cream);
  overflow: hidden;
  position: relative
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(30deg, transparent 45%, rgba(34, 107, 79, .08) 46%, transparent 47%);
  background-size: 28px 28px
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 50px;
  align-items: center;
  position: relative
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--green);
  margin-bottom: 20px
}

.hero-lead {
  font-size: 19px;
  max-width: 600px;
  color: #46534c
}

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

.btn {
  padding: 15px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  gap: 18px
}

.btn-primary {
  background: var(--green);
  color: #fff
}

.btn-ghost {
  border: 1px solid var(--green);
  color: var(--green)
}

.hero-meta {
  display: flex;
  gap: 35px;
  margin-top: 38px
}

.hero-meta div {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.hero-meta b {
  font-family: "Playfair Display";
  font-size: 22px
}

.hero-meta span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3
}

.hero-card {
  background: white;
  box-shadow: 0 25px 70px rgba(19, 35, 29, .15);

}

.campus-placeholder {
  height: 430px;
  background: linear-gradient(#cbe1df 0 48%, #9fbd91 48%);
  position: relative;
  overflow: hidden
}

.sun {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f3d27a;
  right: 13%;
  top: 11%
}

.hill {
  position: absolute;
  bottom: 85px;
  width: 75%;
  height: 130px;
  background: #6e946f;
  border-radius: 50% 50% 0 0
}

.hill-a {
  left: -15%;
}

.hill-b {
  right: -25%;
  background: #547c60
}

.building {
  position: absolute;
  left: 19%;
  right: 12%;
  bottom: 68px;
  height: 180px;
  background: #e8dfc9;
  border: 7px solid #d1c5a7;
  box-shadow: 0 12px 20px rgba(0, 0, 0, .15)
}

.roof {
  height: 35px;
  background: var(--green);
  position: absolute;
  left: -18px;
  right: -18px;
  top: -35px;
  clip-path: polygon(4% 100%, 50% 0, 96% 100%)
}

.windows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 35px
}

.windows i {
  height: 52px;
  background: #9ab8ba;
  border: 4px solid white
}

.door {
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 42px;
  height: 75px;
  background: #754e35
}

.trees {
  position: absolute;
  bottom: 52px;
  left: 5%;
  right: 0;
  display: flex;
  justify-content: space-around;
  color: #315f43;
  font-size: 55px
}

.hero-card-caption {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.hero-card-caption span {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 1.5px;
  font-weight: 800
}

.hero-card-caption b {
  font-family: "Playfair Display"
}

.trust-strip {
  background: var(--green);
  color: white
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.trust-grid div {
  padding: 25px 15px;
  border-right: 1px solid rgba(255, 255, 255, .12)
}

.trust-grid div:last-child {
  border: 0
}

.trust-grid strong,
.trust-grid span {
  display: block
}

.trust-grid strong {
  font-size: 12px;
  letter-spacing: 1.2px
}

.trust-grid span {
  font-size: 11px;
  color: #c5d6cc
}

.section {
  padding: 105px 0
}

.section.alt {
  background: #f5f4ee
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px
}

.story {
  font-size: 16px;
  color: #526058
}

.quote {
  border-left: 3px solid var(--gold);
  padding: 17px 22px;
  margin-top: 28px;
  color: var(--green);
  font-family: "Playfair Display";
  font-size: 19px
}

.values-band {
  background: var(--green);
  color: white;
  padding: 65px 0
}

.light {
  color: #e0b95a
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.values div {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, .15)
}

.values span {
  display: block;
  color: #7ea58f;
  font-size: 11px
}

.values b {
  font-size: 13px
}

.section-heading,
.admission-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px
}

.section-heading a {
  text-decoration: none;
}

.admission-head a {
  text-decoration: none;
}

.section-heading>p,
.admission-head>p {
  max-width: 390px;
  color: var(--muted)
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.subject-card {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  transition: .25s
}

.subject-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(19, 35, 29, .08)
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9f0ea;
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: "Playfair Display";
  font-size: 22px;
  margin-bottom: 25px
}

.subject-card p {
  font-size: 13px;
  color: var(--muted)
}

.ict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.code-window {
  background: #101b17;
  color: #dce8df;
  box-shadow: 0 25px 55px rgba(19, 35, 29, .18)
}

.window-bar {
  height: 44px;
  background: #182721;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #77877f
}

.window-bar b {
  margin-left: 8px;
  font: 11px monospace;
  color: #9aada3
}

.code-window pre {
  padding: 28px;
  font: 13px/1.8 monospace;
  overflow: auto
}

.purple {
  color: #d7a9ef
}

.blue {
  color: #9bc6e8
}

.green {
  color: #a9d8a7
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0
}

.feature-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px
}

.feature-list span {
  color: var(--muted);
  font-size: 12px;
  text-align: right
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px
}

.time {
  padding: 22px 15px;
  background: white;
  border: 1px solid var(--line);
  min-height: 120px
}

.time strong {
  display: block;
  color: var(--green);
  font-size: 12px
}

.time span {
  font-family: "Playfair Display";
  font-size: 17px
}

.time.break {
  background: #eeeade
}

.activities-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start
}

.pill-cloud {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.pill-cloud img {
  aspect-ratio: 4/2.5;
  object-fit: cover;
}

.school-program img {
  aspect-ratio: 4/2.5;
  object-fit: cover;
}

.pill-cloud span {
  border: 1px solid #ccd6cf;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 12px;
  background: #fbfcf8
}

.facilities {
  background: var(--green);
  color: white;
  padding: 100px 0
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 45px
}

.facility-grid div {
  min-height: 135px;
  padding: 22px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.facility-grid b {
  font-size: 10px;
  color: #c8a753
}

.facility-grid span {
  font-family: "Playfair Display";
  font-size: 19px
}

.admission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.admission-grid article {
  border: 1px solid var(--line);
  padding: 30px;
  background: white
}

.grade {
  font-family: "Playfair Display";
  font-size: 42px;
  color: var(--gold)
}

.admission-grid ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px
}

.admission-note {
  margin-top: 25px;
  padding: 18px;
  background: #e9f0ea;
  color: var(--green);
  font-size: 13px;
}

.admission-note a {
  text-decoration: none;
}

.management {
  background: #f3f1e9
}

.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.leaders div {
  padding: 18px;
  background: white;
  border-left: 3px solid var(--gold)
}

.leaders b,
.leaders span {
  display: block
}

.leaders span {
  font-size: 11px;
  color: var(--muted)
}

.former {
  margin-top: 70px
}

.former h3 {
  font-size: 20px
}

.former-row {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 13px
}

.former-row b {
  color: var(--green)
}

.contact {
  background: var(--green);
  color: white;
  padding: 100px 0
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 100px;
  align-items: center
}

.contact p {
  color: #bdcdc4
}

.contact-card {
  background: white;
  color: var(--ink);
  padding: 8px
}

.contact-card a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink)
}

.contact-card a:last-child {
  border: 0
}

.contact-card span {
  font-size: 11px;
  color: var(--muted)
}

.contact-card b {
  font-size: 14px
}

footer {
  background: #0d1914;
  color: #aec0b5;
  padding: 28px 0
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px
}

.footer-grid>div:last-child {
  text-align: right
}

.footer-grid b,
.footer-grid span {
  display: block;
  font-size: 11px
}

.footer-brand .crest {
  width: 38px;
  height: 38px;
  font-size: 12px
}

@media(max-width:900px) {
  .nav {
    gap: 14px
  }

  .nav a:not(.nav-cta) {
    display: none
  }

  .hero-grid,
  .split,
  .ict-grid,
  .activities-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .hero-grid {
    padding: 80px 0
  }

  .hero-card {
    max-width: 650px
  }

  .values {
    grid-template-columns: repeat(3, 1fr)
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr)
  }

  .facility-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:620px) {
  .topbar-inner {
    display: block
  }

  .topbar-inner span {
    display: block
  }

  .nav-wrap {
    height: 70px
  }

  .menu-toggle {
    display: block
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    background: white;
    padding: 18px;
    display: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch
  }

  .nav a:not(.nav-cta) {
    display: block;
    padding: 9px
  }

  .hero-grid {
    min-height: auto
  }

  .hero-meta {
    gap: 16px;
    flex-wrap: wrap
  }

  .hero-meta div {
    min-width: 120px
  }

  .subject-grid,
  .admission-grid {
    grid-template-columns: 1fr
  }

  .values {
    grid-template-columns: repeat(2, 1fr)
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .section-heading,
  .admission-head {
    display: block
  }

  .leaders {
    grid-template-columns: 1fr
  }

  .facility-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    display: block
  }

  .footer-grid>div:last-child {
    text-align: left;
    margin-top: 20px
  }
}

.hm-section {
  padding-top: 1px;
}

.story a {
  text-decoration: none;
}

.clubs img {
  aspect-ratio: 4/3;
  object-fit: cover;
}