@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --font-main: "Open Sans", Arial, Helvetica, sans-serif;
  --green: #16c878;
  --lime: #a4f75d;
  --ink: #14201a;
  --muted: #64716b;
  --soft: #f3faf5;
  --line: #d9e7de;
  --gold: #f7bf35;
  --teal: #0b8173;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(20, 32, 26, .12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--white);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

body::after {
  content: "";
  position: fixed;
  left: calc(50% - 26px);
  top: calc(50% - 26px);
  z-index: 1001;
  width: 52px;
  height: 52px;
  border: 5px solid var(--line);
  border-top-color: var(--green);
  border-right-color: var(--teal);
  border-radius: 50%;
  animation: loaderSpin .85s linear infinite;
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility .35s ease;
}

body.loaded::before,
body.loaded::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.eyebrow {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 6vw, 4.6rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.95rem, 4vw, 3.45rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
p { color: var(--muted); }

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.86);
  font-size: .92rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.topbar span { white-space: nowrap; }
.topbar a { color: rgba(255,255,255,.88); }
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.topbar-left { min-height: 1px; }
.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-icons a {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
}
.social-icons a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.motion-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal-delay-1 { transition-delay: .08s; }
.motion-ready .reveal-delay-2 { transition-delay: .16s; }
.motion-ready .reveal-delay-3 { transition-delay: .24s; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(217,231,222,.78);
  backdrop-filter: blur(12px);
}
.navrow {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: min(310px, 58vw); height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  color: #243329;
}
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.nav a:hover, .nav a.active { color: var(--teal); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.45rem;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(22,200,120,.25);
}
.btn:hover { transform: translateY(-1px); }
.btn.outline { background: transparent; border-color: var(--ink); box-shadow: none; }
.hero .btn.outline, .cta-box .btn.outline { border-color: var(--white); color: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(20,32,26,.95), rgba(11,129,115,.86)),
    url("assets/academic-classroom.jpeg") center/cover no-repeat;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 0;
  width: 42vw;
  height: 100%;
  background: rgba(164,247,93,.18);
  transform: skewX(-13deg);
  animation: heroPane 7s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 44px;
  align-items: center;
  min-height: 430px;
  padding: 38px 0 56px;
}
.hero h1 {
  max-width: 560px;
  font-size: clamp(2.05rem, 4.7vw, 4.25rem);
  margin-bottom: 16px;
}
.hero p {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(.94rem, 1.35vw, 1.05rem);
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; min-height: 285px; }
.hero-photo {
  position: absolute;
  inset: 20px 28px 0 88px;
  overflow: hidden;
  border-radius: var(--radius);
  clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%);
  box-shadow: var(--shadow);
  animation: softFloat 6s ease-in-out infinite;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 178px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: badgeLift 4.8s ease-in-out infinite;
}
.hero-badge strong { display: block; color: var(--green); font-size: 2.35rem; line-height: 1; }
.hero-badge span { color: var(--muted); font-weight: 700; }

.page-hero {
  padding: 64px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20,32,26,.94), rgba(11,129,115,.84)),
    url("assets/teacher-training-group.png") center/cover no-repeat;
}
.page-hero p { color: rgba(255,255,255,.82); max-width: 760px; font-size: 1.12rem; }
.page-hero h1 { max-width: 900px; }

.strip { margin-top: -42px; position: relative; z-index: 3; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.strip-item { padding: 30px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item .num { color: var(--green); font-weight: 900; font-size: 1.8rem; }
.strip-item p { margin-bottom: 0; }

section { padding: 92px 0; }
.section-head {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head p { font-size: 1.05rem; }
.about-grid, .split-grid, .training-grid, .contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
}
.contact-grid { align-items: start; grid-template-columns: .82fr 1.18fr; }
.image-stack { position: relative; min-height: 520px; }
.image-stack .main-img, .image-stack .small-img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-stack .main-img { inset: 0 76px 54px 0; }
.image-stack .small-img { right: 0; bottom: 0; width: 48%; height: 245px; border: 8px solid var(--white); }
.image-stack img, .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.tick-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}
.tick-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: #304238;
  font-weight: 700;
}
.tick-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--lime));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.55);
}

.soft { background: var(--soft); }
.service-grid, .school-cloud, .value-grid, .framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card, .value-card {
  min-height: 270px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: .2s ease;
}
.service-card:hover, .value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
  font-size: 1.15rem;
  position: relative;
  overflow: hidden;
}
.service-icon::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-70%);
  animation: iconSweep 4.5s ease-in-out infinite;
}
.service-card p, .value-card p { margin-bottom: 0; }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.evidence-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20,32,26,.07);
}
.evidence-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.evidence-card div { padding: 24px; }
.evidence-card p { margin-bottom: 0; }
.framework-grid {
  grid-template-columns: repeat(4, 1fr);
}
.framework-step, .evidence-list > div {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 15px 32px rgba(20,32,26,.08);
}
.framework-step strong, .evidence-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}
.framework-step p, .evidence-list p { margin-bottom: 0; }
.evidence-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
  padding: 26px 22px;
  border-top: 4px solid var(--green);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 15px 32px rgba(20,32,26,.08);
}
.process-step strong { display: block; margin-bottom: 12px; font-size: 2.1rem; color: rgba(22,200,120,.4); }
.process-step:nth-child(even) strong { animation: numberPulse 3.8s ease-in-out infinite; }
.process-step:nth-child(odd) strong { animation: numberPulse 4.4s ease-in-out infinite; }

.audit {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.audit p { color: rgba(255,255,255,.72); }
.audit-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 52px;
  align-items: center;
}
.audit-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audit-item {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
}
.audit-item h3 { color: var(--lime); }
.audit-item p { margin-bottom: 0; }
.training-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
  animation: softFloat 7s ease-in-out infinite;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #304238;
  font-weight: 800;
  background: var(--white);
}
.school-cloud { gap: 14px; }
.school-cloud span {
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #33453b;
  font-weight: 700;
}
.cta-band { padding: 0 0 92px; }
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: ctaSheen 6s ease-in-out infinite;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.contact-card, .form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 14px 34px rgba(20,32,26,.07);
}
.contact-card p { margin-bottom: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 800; color: #314239; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
input, textarea, select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: #fbfdfc;
}
textarea { min-height: 140px; resize: vertical; }

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.76);
  padding: 70px 0 26px;
}
.footer p, .footer a { color: rgba(255,255,255,.76); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}
.footer-logo {
  width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  margin-bottom: 18px;
}
.footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 9px; }
.footer a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes badgeLift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.015); }
}

@keyframes heroPane {
  0%, 100% { transform: skewX(-13deg) translateX(0); }
  50% { transform: skewX(-13deg) translateX(22px); }
}

@keyframes iconSweep {
  0%, 58%, 100% { transform: translateX(-70%); }
  72% { transform: translateX(70%); }
}

@keyframes numberPulse {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .78; transform: scale(1.04); }
}

@keyframes ctaSheen {
  0%, 55%, 100% { transform: translateX(-120%); }
  72% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .nav { gap: 20px; font-size: .92rem; }
  .hero-inner, .about-grid, .split-grid, .audit-grid, .training-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; }
  .hero-media { min-height: 310px; }
  .hero-photo { left: 42px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .service-grid, .school-cloud, .value-grid, .evidence-grid, .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .evidence-list, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar .container { justify-content: flex-end; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: flex-end; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-radius: var(--radius); }
  .nav .btn { margin-top: 8px; }
  .hero-inner { padding: 44px 0 56px; gap: 28px; }
  .hero-media { min-height: 280px; }
  .hero-photo { inset: 0 0 0 28px; }
  .hero-badge { width: 185px; padding: 18px; bottom: 12px; }
  .hero-badge strong { font-size: 2.55rem; }
  .strip { margin-top: 0; }
  .strip-grid, .service-grid, .process-grid, .audit-panel, .school-cloud, .value-grid, .evidence-grid, .framework-grid, .evidence-list, .form, .cta-box, .footer-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  section { padding: 70px 0; }
  .page-hero { padding: 54px 0; }
  .image-stack { min-height: 430px; }
  .image-stack .main-img { right: 34px; bottom: 78px; }
  .image-stack .small-img { width: 58%; height: 185px; }
  .cta-box { padding: 32px; }
  .field.full { grid-column: auto; }
}

@media (max-width: 460px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .brand img { width: min(245px, 66vw); }
  .navrow { min-height: 70px; }
  .hero-actions .btn { width: 100%; }
  .hero-media { min-height: 300px; }
  .hero-photo { left: 0; clip-path: none; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin-top: 16px; width: 100%; }
  .image-stack .main-img { inset: 0; }
  .image-stack .small-img { display: none; }
  .contact-card, .form { padding: 24px; }
}
