/* Amplio Learning — static brochure page
   Palette and type scale measured from the live site (WordPress/Divi). */

@font-face {
  font-family: "Sofia Pro";
  src: url("assets/fonts/sofia-pro-regular.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("assets/fonts/sofia-pro-semi-bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081249;
  --pink: #e41688;
  --periwinkle: #b5c8fe;
  --grey: #efefef;
  --white: #fff;

  --sans: "Sofia Pro", Helvetica, Arial, sans-serif;
  --body: Lexend, Helvetica, Arial, sans-serif;
  --serif: Solway, Georgia, serif;

  --wrap: 1180px;
  --gutter: 24px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* keep the sticky header from covering anchor targets */
#top, #programs, #mtss { scroll-margin-top: 100px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 18, 73, .08);
}

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

.brand img { width: 220px; height: auto; }

.site-nav { display: flex; gap: 34px; }

.site-nav a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  text-decoration: none;
}
.site-nav a:hover { color: var(--pink); }

/* ---------- Hero ---------- */

.hero { padding: 74px 0 84px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 47.6px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--navy);
}

.lede {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.62;
  margin-bottom: 1.3em;
}

.hero-media img { width: 100%; max-width: 470px; margin-left: auto; }

/* ---------- Dark bands ---------- */

.band-navy { background: var(--navy); color: var(--white); }

.trusted { padding: 76px 0 84px; text-align: center; }

.trusted h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 54px;
  color: var(--white);
}

.logo-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}

.logo-row img {
  width: 100%;
  max-width: 225px;
  margin: 0 auto;
}

.closing { padding: 78px 0; text-align: center; }

.closing p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.42;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Section headings ---------- */

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.2;
  margin: 0 0 22px;
  color: var(--navy);
  text-align: center;
}

.section-lede {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  text-align: center;
  max-width: 920px;
  margin: 0 auto 48px;
}

/* ---------- Programs ---------- */

.programs { padding: 84px 0 90px; }

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

.card {
  background: var(--grey);
  border-radius: 10px;
  padding: 38px 36px 42px;
  text-align: center;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--navy);
}

/* ---------- MTSS ---------- */

.mtss {
  background: var(--periwinkle);
  padding: 84px 0 90px;
}

.mtss-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 34px;
}

.tiers {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}
.tiers li { margin-bottom: .5em; }

.mtss-media img { width: 100%; max-width: 470px; margin: 0 auto; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  padding: 72px 0 56px;
}

.footer-logo { width: 150px; height: auto; margin-bottom: 22px; }

.footer-desc { font-size: 16px; max-width: 620px; }

.social {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 30px 0 26px;
  padding: 0;
}

.social a {
  display: block;
  color: var(--navy);
  transition: color .15s;
}
.social a:hover { color: var(--pink); }
.social svg { width: 22px; height: 22px; fill: currentColor; }

.copyright { font-size: 14px; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner,
  .mtss-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media img,
  .mtss-media img { margin: 0 auto; }
  .hero { padding: 52px 0 60px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .card-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  #top, #programs, #mtss { scroll-margin-top: 80px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 170px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 15px; }
  .trusted,
  .programs,
  .mtss { padding: 56px 0 60px; }
  .closing { padding: 56px 0; }
  .trusted h2 { margin-bottom: 38px; }
  .card { padding: 30px 24px 34px; }
  .site-footer { padding: 52px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
