/* =====================================================================
   Silver Oak International School — education-design-04
   Theme: teal / mint / coral on warm white
   ===================================================================== */

/* ------------------------------- Tokens ------------------------------- */
:root {
  --teal: #0B525B;
  --teal-700: #094249;
  --teal-900: #063237;
  --mint: #D9F3E4;
  --mint-soft: #EEF9F2;
  --warm: #FFFDF8;
  --coral: #FF8066;
  --coral-600: #F26A4C;
  --charcoal: #243238;
  --ink: #16262b;
  --muted: #5F7379;
  --muted-light: #AEC7CC;

  --line: rgba(36, 50, 56, 0.12);
  --line-light: rgba(217, 243, 228, 0.18);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 30px;

  --shadow-sm: 0 6px 18px -8px rgba(11, 82, 91, 0.16);
  --shadow: 0 22px 44px -22px rgba(11, 82, 91, 0.4);
  --shadow-lg: 0 36px 70px -28px rgba(11, 82, 91, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1200px;
}

/* ------------------------------- Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--warm);
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: "Sora", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--charcoal);
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(255, 128, 102, 0.7);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.4rem);
}

/* ------------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(255, 128, 102, 0.95);
}
.btn-primary:hover {
  background: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(255, 128, 102, 1);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(11, 82, 91, 0.28);
}
.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--mint);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ------------------------------ Typography ---------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}
.eyebrow-center { display: flex; justify-content: center; }
.eyebrow-light { color: var(--mint); }
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}

.section-title {
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  font-weight: 700;
}
.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}
.section-head {
  max-width: 660px;
  margin: 0 auto clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}
.section-head--left {
  max-width: none;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-head--left .section-lede { max-width: 430px; margin: 0; }

/* ------------------------------ Frames -------------------------------- */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint);
  box-shadow: var(--shadow);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-hero { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.frame-about { aspect-ratio: 5 / 4; }
.frame-card { aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.frame-tile { aspect-ratio: 4 / 3; border-radius: 18px; }
.frame-portrait { aspect-ratio: 3 / 4; border-radius: 22px; }

/* ------------------------------- Header ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 253, 248, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px -26px rgba(11, 82, 91, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal);
}
.brand-mark { display: inline-flex; color: var(--teal); }
.brand-text {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1.06rem;
  color: var(--teal);
  white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--coral); }

.site-nav ul {
  display: flex;
  gap: clamp(0.4rem, 1.7vw, 1.5rem);
  list-style: none;
  padding: 0;
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.05rem;
  height: 2px;
  background: var(--coral);
  transition: right 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--teal); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--warm);
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  z-index: 60;
  display: none;
  padding: 6rem 1.6rem 2rem;
  background: var(--warm);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; animation: panelIn 0.32s var(--ease); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.mobile-nav .nav-link {
  display: block;
  width: 100%;
  padding: 0.95rem 0.2rem;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .nav-link::after { display: none; }

@keyframes panelIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: translateX(0); }
}

/* -------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5.6rem);
  background: linear-gradient(180deg, var(--warm) 0%, #F1FAF5 62%, var(--warm) 100%);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 243, 228, 0.95), rgba(217, 243, 228, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 102, 0.12), rgba(255, 128, 102, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero-lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 1.4rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  margin: 2.6rem 0 0;
  padding: 0;
}
.hero-stats dt {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--teal);
}
.hero-stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-media { position: relative; }
.hero-card {
  position: absolute;
  left: -1.1rem;
  bottom: 1.7rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  max-width: 290px;
  padding: 1rem 1.15rem;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.hero-card-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
}
.hero-card p { margin: 0; font-size: 0.9rem; }

/* ----------------------------- Highlights ----------------------------- */
.highlights { padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(3rem, 6vw, 5rem); }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.highlight {
  padding: 1.6rem;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.highlight:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.highlight-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--mint);
  color: var(--teal);
}
.highlight h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.highlight p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ------------------------------- About -------------------------------- */
.about {
  padding: clamp(3.4rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--warm) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media { position: relative; }
.about-badge {
  position: absolute;
  right: -0.9rem;
  bottom: -0.9rem;
  padding: 0.85rem 1.15rem;
  text-align: center;
  background: var(--teal);
  color: var(--warm);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.about-badge strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}
.about-badge span { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.4rem; }

.about-copy .section-title { margin-bottom: 1.1rem; }
.about-copy p { color: var(--muted); }

.tick-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 0.65rem;
}
.tick-list li { position: relative; padding-left: 1.9rem; color: var(--charcoal); }
.tick-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-weight: 800;
}

/* ------------------------------ Learning ------------------------------ */
.learning { padding: clamp(3.4rem, 8vw, 7rem) 0; }
.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.learn-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.learn-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.learn-card .frame-card img { transition: transform 0.55s var(--ease); }
.learn-card:hover .frame-card img { transform: scale(1.05); }
.learn-body { padding: 1.3rem 1.4rem 1.6rem; }
.learn-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.62rem;
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-600);
  background: rgba(255, 128, 102, 0.14);
  border-radius: 999px;
}
.learn-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.learn-body p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ------------------------------- Campus ------------------------------- */
.campus {
  padding: clamp(3.4rem, 8vw, 7rem) 0;
  background: var(--teal);
  color: var(--warm);
}
.campus .eyebrow { color: var(--mint); }
.campus .section-title { color: var(--warm); }
.campus .section-lede { color: var(--muted-light); }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}
.campus-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  color: var(--warm);
}
.campus-item .frame-tile { box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.7); }
.campus-item .frame-tile img { transition: transform 0.5s var(--ease); }
.campus-item:hover .frame-tile img { transform: scale(1.07); }
.campus-item:focus-visible { outline-offset: 4px; }
.campus-label { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem; }

/* ----------------------------- Educators ------------------------------ */
.educators { padding: clamp(3.4rem, 8vw, 7rem) 0; }
.educator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.educator .frame-portrait img { transition: transform 0.6s var(--ease); }
.educator:hover .frame-portrait img { transform: scale(1.04); }
.educator-body { padding-top: 1.1rem; }
.educator-body h3 { font-size: 1.22rem; }
.educator-subject {
  margin: 0.35rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-600);
}
.educator-bio { margin: 0; color: var(--muted); font-size: 0.92rem; }
.disclaimer {
  max-width: 660px;
  margin: 2.6rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----------------------------- Admissions ----------------------------- */
.admissions { padding: clamp(3.4rem, 8vw, 7rem) 0; background: var(--mint-soft); }
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.step {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--warm);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.admissions-cta { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.cta-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------------------------- Testimonials ---------------------------- */
.testimonials { padding: clamp(3.4rem, 8vw, 7rem) 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 1.8rem;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--charcoal);
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}
.testimonial figcaption strong { display: block; font-family: "Sora", sans-serif; font-size: 0.95rem; }
.testimonial figcaption em { font-style: normal; font-size: 0.82rem; color: var(--muted); }

/* ------------------------------ Contact ------------------------------- */
.contact {
  padding: clamp(3.4rem, 8vw, 7rem) 0;
  background: var(--teal);
  color: var(--warm);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact .section-title { color: var(--warm); }
.contact-lede { color: var(--muted-light); margin-top: 1rem; }

.contact-info { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ci-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(217, 243, 228, 0.14);
  color: var(--mint);
}
.contact-info strong { font-family: "Sora", sans-serif; font-size: 0.9rem; color: var(--warm); }
.contact-info span { color: var(--muted-light); font-size: 0.92rem; }

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  min-height: 176px;
  border: 1px dashed rgba(217, 243, 228, 0.42);
  border-radius: 18px;
  background: repeating-linear-gradient(45deg, rgba(217, 243, 228, 0.06) 0 12px, transparent 12px 24px);
  color: var(--mint);
  font-size: 0.9rem;
}
.map-pin { color: var(--coral); }

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--charcoal);
}
.contact-card-title { font-size: 1.4rem; margin-bottom: 1.3rem; }

/* ------------------------------- Forms -------------------------------- */
.demo-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--charcoal); }
.req { color: var(--coral); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--warm);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 82, 91, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 128, 102, 0.18);
}
.field-error { margin: 0; font-size: 0.8rem; color: var(--coral-600); }
.form-note { margin: 0; text-align: center; font-size: 0.8rem; color: var(--muted); }
.form-success {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* ------------------------------- Footer ------------------------------- */
.site-footer { background: var(--charcoal); color: var(--muted-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
}
.brand-footer .brand-text { color: var(--warm); }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-col h3 {
  margin-bottom: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a, .footer-contact li { font-size: 0.93rem; }
.footer-col a { color: var(--muted-light); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--warm); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

/* ------------------------------- Modal -------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.6rem);
  overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 34, 39, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { background: var(--teal); color: var(--warm); }
.modal-head h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.modal-head p { margin-bottom: 1.4rem; color: var(--muted); }
body.no-scroll { overflow: hidden; }

/* ------------------------------ Lightbox ------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: fixed; inset: 0; background: rgba(8, 20, 23, 0.92); }
.lightbox-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  justify-self: center;
  animation: modalIn 0.3s var(--ease);
}
.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.lightbox-figure figcaption {
  max-width: 62ch;
  text-align: center;
  color: var(--warm);
  font-size: 0.95rem;
}
.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  transition: background-color 0.2s var(--ease);
}
.lightbox-close:hover { background: var(--coral); }
.lightbox-nav {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transition: background-color 0.2s var(--ease);
}
.lightbox-nav:hover { background: var(--coral); }
.lightbox-prev { justify-self: start; }
.lightbox-next { justify-self: end; }

/* ------------------------------ Reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------- Responsive ------------------------------ */
@media (max-width: 1080px) {
  .highlight-grid,
  .learning-grid,
  .campus-grid,
  .educator-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; }
  .hero-lede { max-width: 52ch; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .section-head--left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .section-head--left .section-lede { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-actions .btn-sm { display: none; }
  .highlight-grid,
  .learning-grid,
  .campus-grid,
  .educator-grid,
  .steps,
  .testimonial-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.2rem 2rem; }
  .hero-card {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    max-width: none;
  }
  .lightbox { grid-template-columns: 1fr; justify-items: center; }
  .lightbox-prev, .lightbox-next {
    position: fixed;
    bottom: 1.2rem;
  }
  .lightbox-prev { left: 1.2rem; }
  .lightbox-next { right: 1.2rem; }
}
