:root {
  --navy: #062f5f;
  --navy-2: #0b3e73;
  --blue: #7fa6c8;
  --blue-soft: #e8f1f8;
  --ink: #172033;
  --muted: #5f6d80;
  --line: #dfe6ef;
  --soft: #f5f8fb;
  --white: #ffffff;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 1000;
  background: var(--navy); color: white; padding: 10px 14px;
}
.skip-link:focus { left: 10px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 800; letter-spacing: .01em; color: var(--navy);
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; background: var(--navy); color: var(--white);
  text-decoration: none; border-radius: 3px; font-weight: 700; line-height: 1.2;
  border: 1px solid var(--navy);
}
.button:hover { background: var(--navy-2); }
.button.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.secondary:hover { background: var(--blue-soft); }
.hero {
  background: linear-gradient(110deg, #ffffff 0%, #f6f9fc 47%, #e8f1f8 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 84px 24px 88px;
  display: grid; grid-template-columns: 1.07fr .93fr; gap: 54px; align-items: center;
}
.kicker {
  color: var(--navy); text-transform: uppercase; letter-spacing: .15em;
  font-size: .78rem; font-weight: 800; margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: .99;
  letter-spacing: -.055em; margin: 0 0 24px; color: var(--navy);
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.08;
  letter-spacing: -.035em; color: var(--navy); margin: 0 0 18px;
}
h3 { font-size: 1.18rem; line-height: 1.25; color: var(--navy); margin: 0 0 10px; }
h4 { color: var(--navy); margin: 18px 0 8px; }
.lead {
  font-size: clamp(1.1rem, 2vw, 1.34rem); max-width: 720px;
  color: #27334a; margin: 0 0 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.visual-card {
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(6,47,95,.12); padding: 16px;
}
.visual-card img { width: 100%; display: block; }
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.section.narrow { max-width: 890px; }
.intro-grid {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start;
}
.page-text p, .card p, .product p { color: var(--muted); margin: 0 0 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card {
  border: 1px solid var(--line); background: var(--white); padding: 26px; min-height: 190px;
}
.card.highlight { border-top: 4px solid var(--blue); background: #fbfdff; }
.card ul, .product-list { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.card li, .product-list li { margin: 7px 0; }
.band { background: var(--navy); color: var(--white); }
.band .section { padding-top: 58px; padding-bottom: 58px; }
.band h2, .band h3 { color: var(--white); }
.band p { color: #dbe8f4; }
.band .button.secondary { color: var(--white); border-color: var(--white); }
.band .button.secondary:hover { background: rgba(255,255,255,.1); }
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.link-card {
  display: block; text-decoration: none; border: 1px solid var(--line);
  padding: 24px; background: var(--white);
}
.link-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.link-card span { color: var(--navy); font-weight: 800; }
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .section { padding-top: 64px; padding-bottom: 56px; }
.page-hero p { max-width: 800px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.product { border-top: 4px solid var(--blue); background: var(--soft); padding: 26px; }
.product.wide { grid-column: span 3; }
.quote {
  border-left: 4px solid var(--blue); padding-left: 22px;
  font-size: 1.15rem; color: #27334a; margin: 28px 0;
}
.callout {
  background: var(--blue-soft); border: 1px solid var(--line); padding: 26px; margin-top: 28px;
}
.post-list { display: grid; gap: 18px; margin-top: 26px; }
.post-item {
  border: 1px solid var(--line); background: white; padding: 24px; display: grid; gap: 8px;
}
.post-meta { color: var(--muted); font-size: .92rem; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.contact-box { border: 1px solid var(--line); padding: 28px; background: var(--white); }
.footer { border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 34px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--muted); font-size: .92rem;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--navy); }
@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { flex-wrap: wrap; gap: 14px; }
  .hero-inner, .intro-grid, .contact-panel { grid-template-columns: 1fr; }
  .cards, .link-cards, .products { grid-template-columns: 1fr; }
  .product.wide { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

.hero-brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(6,47,95,.12);
  padding: 28px;
}

.hero-brand-card .hero-logo-large {
  display: block;
  width: min(420px, 88%);
  margin: 0 auto 22px;
  height: auto;
}

.hero-brand-card .hero-context-visual {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}


.hero-brand-card .hero-logo-large {
  display: block;
  width: min(460px, 92%);
  margin: 0 auto 18px;
  height: auto;
  object-fit: contain;
}

.hero-photo-wrap {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-photo-wrap figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.45;
}


/* Homepage photo background */
.home-page {
  background:
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.58)),
    url("assets/children-learning-hero.jpg") center center / cover fixed no-repeat;
}

.home-page .hero {
  background:
    linear-gradient(100deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.55) 46%, rgba(232,241,248,.34) 100%);
}

.home-page .section,
.home-page .band {
  position: relative;
}

.home-page .section:not(.narrow) {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(1px);
}

.home-page .band {
  background: rgba(6,47,95,.88);
}

.hero-brand-card.logo-only {
  background: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  backdrop-filter: blur(1px);
}

.hero-brand-card.logo-only .hero-logo-large {
  margin: 0 auto;
  width: min(520px, 96%);
}

.hero-photo-wrap,
.hero-photo {
  display: none;
}


/* v20 logo fix */
.hero-brand-card.logo-only {
  overflow: visible;
  padding: 34px;
}

.hero-brand-card.logo-only .hero-logo-large {
  display: block;
  width: min(470px, 88%);
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}


/* v21 homepage brand fix: source logo wordmark is clipped, so homepage uses emblem + live text */
.hero-logo-combo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-emblem-large {
  display: block;
  width: min(360px, 74%);
  height: auto;
  margin: 0 auto 8px;
  object-fit: contain;
}

.hero-wordmark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 4.4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.05;
  color: #062f5f;
  text-align: center;
  margin: 0 auto 6px;
}

/* subtle two-tone nod to the original logo */
.hero-wordmark::first-letter {
  color: #062f5f;
}


.partner-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.partner-photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px;
}

.partner-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.partner-photo-card figcaption {
  padding-top: 12px;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .partner-photos {
    grid-template-columns: 1fr;
  }
}


.over-partners-image {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: 0 18px 48px rgba(6,47,95,.10);
}

.over-partners-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.over-partners-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.45;
}


.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  padding: 28px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


.website-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
