/* Empowered 2 Learn: one stylesheet for the whole site. */

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------- settings */

:root {
  --orange: #f88f1c;
  --orange-dark: #df7607;
  --blue: #2a39e4;
  --indigo: #4452bc;
  --red: #ed1c24;
  --grey: #f3f3f3;
  --text: #000;
  --rule: #8e8e8e;
  --width: 1080px;        /* main content column */
  --width-wide: 1160px;   /* header and footer */
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ----------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
  background: #fff;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
p, ul, ol { margin: 0 0 1em; }

a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; padding: .5rem 1rem; border: 2px solid var(--blue);
}
.skip-link:focus { top: 1rem; }

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

/* -------------------------------------------------------------- buttons */

.button {
  display: inline-block;
  padding: .55em 1.9em;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font: 700 18px/1.3 var(--font);
  text-align: center;
  text-decoration: none;
  box-shadow: 3px 3px 0 #000;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #000; }
.button--indigo { background: var(--indigo); }
.button--large { font-size: clamp(18px, 2vw, 22px); padding: .6em 1.8em; }

/* ---------------------------------------------------------------- layout */

.container { max-width: calc(var(--width) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--grey { background: var(--grey); }
.section--orange { background: var(--orange); }
.section--indigo { background: var(--indigo); color: #fff; }

/* A white or coloured panel sitting on a coloured section. */
.panel { background: #fff; padding: clamp(20px, 4vw, 40px); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 560px) and (max-width: 759px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.center { text-align: center; }

.heading-xl { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.15; }
.heading-l { font-size: clamp(30px, 4vw, 45px); }
.heading-m { font-size: clamp(22px, 2.6vw, 28px); }
.lead { font-size: clamp(18px, 2vw, 24px); font-weight: 600; }

/* --------------------------------------------------------- announcement */

.announcement {
  margin: 0;
  padding: 26px var(--gutter);
  background: var(--orange);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  text-align: center;
}

/* --------------------------------------------------------------- header */

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(16px, 2.5vw, 32px) 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand { display: flex; align-items: flex-end; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand__logo { width: clamp(220px, 38vw, 520px); }
.brand__mascot { width: clamp(84px, 11vw, 150px); margin-left: -4px; align-self: center; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.site-nav a {
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--orange); }

.has-submenu { position: relative; }
.submenu {
  display: none;
  position: absolute; left: 50%; top: 100%; z-index: 20;
  transform: translateX(-50%);
  padding-top: 8px;
}
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu { display: block; }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  .site-header__inner { flex-direction: column; padding-top: 20px; gap: 0; }
  .brand { flex-direction: column; align-items: center; }
  .brand__logo { width: min(80vw, 420px); }
  .brand__mascot { margin: 8px 0 0; width: 110px; }

  .nav-toggle {
    display: block;
    position: absolute; top: 18px; right: var(--gutter);
    width: 44px; height: 44px;
    border: 0; background: none; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; position: absolute; left: 7px; width: 30px; height: 3px; background: #000;
    transition: transform .2s, opacity .2s;
  }
  .nav-toggle__bars { top: 20px; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; left: 0; }
  .nav-toggle__bars::before { top: -10px; }
  .nav-toggle__bars::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(10px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-10px) rotate(-45deg); }

  .site-nav { display: none; width: 100%; padding-top: 16px; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 10px; }
  .site-nav a { text-align: center; font-size: 20px; padding: 10px; }
  .submenu { display: block; position: static; transform: none; padding: 10px 0 0; }
  .submenu a { background: var(--indigo); }
}

/* --------------------------------------------------------------- footer */

.site-footer { margin-top: 0; border-top: 42px solid var(--orange); }
.site-footer__inner {
  max-width: calc(var(--width-wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 32px;
}
.site-footer__inner > * { padding-top: 32px; }
.site-footer__inner { position: relative; }
.site-footer__inner::before, .site-footer__inner::after {
  content: ''; position: absolute; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule);
}
.site-footer__inner::before { top: 2px; }
.site-footer__inner::after { bottom: -32px; }
.site-footer h2 { font-size: 24px; font-weight: 500; margin-bottom: 14px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; line-height: 24px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__contact { text-align: center; }
.site-footer__contact a:not(.button) { font-weight: 700; }
.site-footer__social { text-align: center; }
.site-footer__social ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-content: center; }
.site-footer__social img { width: 36px; height: 36px; }
.site-footer__copyright {
  max-width: var(--width-wide);
  margin: 64px auto 0;
  padding: 22px 14px;
  background: var(--indigo);
  color: #fff;
  font-size: 16px;
}
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__copyright { margin: 64px var(--gutter) 0; }
}
@media (min-width: 1240px) {
  .site-footer__copyright { margin: 64px auto 0; }
}

/* ------------------------------------------------------------ home page */

.hero { position: relative; min-height: clamp(560px, 62vw, 800px); display: flex; overflow: hidden; color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner {
  position: relative; flex: 1;
  max-width: calc(1280px); margin: 0 auto; padding: 72px 8px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__title {
  max-width: 7.6em; margin: 0;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.4; font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .55);
}
.hero__actions { align-self: flex-end; display: flex; flex-direction: column; align-items: center; gap: 28px; margin-right: clamp(0px, 15vw, 190px); }
.hero__badges { display: flex; gap: 24px; align-items: center; }
.hero__badges img { width: clamp(80px, 10vw, 121px); }
@media (max-width: 759px) {
  .hero__inner { padding: 24px var(--gutter); }
  .hero__actions { align-self: stretch; margin: 0; }
  .hero__badges { width: 100%; justify-content: space-between; }
  .hero__actions .button { order: 2; width: 100%; }
}

.success__title { color: var(--red); text-transform: uppercase; text-align: center; font-size: clamp(28px, 3.4vw, 42px); }
.success__lines { max-width: 930px; margin: 32px auto 0; color: var(--indigo); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); }
.success__lines p { margin: 0 0 .1em; }
@media (min-width: 900px) {
  .success__lines p:nth-child(2) { padding-left: 12px; }
  .success__lines p:nth-child(3) { padding-left: 40px; }
  .success__lines p:nth-child(4) { padding-left: 68px; }
  .success__lines p:nth-child(5) { padding-left: 90px; }
}
.success__punchline { margin: 28px 0 56px; text-align: center; color: var(--indigo); font-weight: 700; font-size: clamp(26px, 3vw, 36px); }
.success__points { list-style: none; margin: 0; padding: 0; color: var(--indigo); font-weight: 600; font-size: 20px; }
.success__points img { width: 100%; max-width: 210px; height: 220px; object-fit: contain; object-position: left center; margin-bottom: 28px; }

.brenda__title { margin: 0; color: var(--orange-dark); font-size: clamp(44px, 5vw, 64px); }
.brenda__subtitle { margin: 0 0 12px; color: var(--orange); font-weight: 600; font-size: 24px; }
.brenda__image { margin: 0 auto 28px; width: min(100%, 850px); border: 3px solid #000; box-shadow: 4px 4px 10px rgba(0, 0, 0, .35); }
.brenda__text { max-width: 950px; margin: 0 auto 20px; color: var(--blue); font-weight: 600; font-size: clamp(19px, 2vw, 24px); }

.demo-banner { background: var(--indigo); padding: 36px var(--gutter); text-align: center; }
.demo-banner a { position: relative; display: inline-block; max-width: 860px; color: #fff; font-weight: 600; font-size: clamp(26px, 3.5vw, 45px); line-height: 1.4; }
.demo-banner__hand { position: absolute; left: 100px; bottom: 6px; width: 44px; pointer-events: none; }
@media (max-width: 759px) { .demo-banner__hand { display: none; } }

.is-isnt { background: var(--orange); padding: clamp(24px, 4vw, 40px) clamp(20px, 7vw, 74px) 40px; }
.is-isnt__title { color: #fff; text-align: center; font-size: clamp(28px, 3.5vw, 45px); text-shadow: 2px 2px 3px rgba(0, 0, 0, .35); }
.is-isnt h3 { color: #fff; font-size: clamp(20px, 2vw, 24px); margin-top: 1.4em; }
.is-isnt ul { padding-left: 1.4em; }
.is-isnt__note { color: #fff; }

.k5 { padding-top: 48px; }
.k5__title { margin: 0; background: var(--orange); padding: 24px clamp(20px, 4vw, 60px); text-align: center; font-size: clamp(28px, 3.5vw, 45px); }
.k5__body { display: grid; gap: 32px; align-items: center; }
.k5__list { padding-left: 1.2em; margin: 0; font-size: 17px; color: #000; }
.k5__list li { margin-bottom: .55em; }
.k5__aside video { width: 100%; background: #000; margin-bottom: 40px; }
@media (min-width: 900px) { .k5__body { grid-template-columns: 1fr 1fr; padding: 48px 12px 48px 32px; } }

.team__intro { max-width: 965px; margin: 0 auto 40px; font-size: 20px; }
.team__people { background: var(--orange); padding: clamp(24px, 4vw, 40px); text-align: center; }
.person img { margin: 0 auto 16px; width: 261px; box-shadow: 4px 4px 10px rgba(0, 0, 0, .35); }
.person h3 { font-size: 24px; margin: 0 0 6px; }
.person__role { font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.person__credentials { font-weight: 700; font-size: 20px; }

.wide-photo { width: 100%; margin: 0 auto; }

.partners__title { color: var(--indigo); }
.logo-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.logo-wall img { width: auto; max-height: 120px; max-width: 260px; }
.logo-wall__edgewood { display: flex; align-items: flex-end; gap: 6px; font-size: 15px; }
.logo-wall__edgewood span { display: flex; flex-direction: column; align-items: center; }
.logo-wall__edgewood span img { max-height: 32px; }

.testimonials { background: var(--orange); }
.testimonials__grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1280px; display: grid; }
.testimonial {
  padding: 32px clamp(20px, 3vw, 48px) 40px; text-align: center;
  background: rgba(255, 255, 255, .17); box-shadow: 3px 3px 6px rgba(0, 0, 0, .35);
}
.testimonial img { width: 200px; height: 200px; margin: 0 auto 24px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, .3); }
.testimonial__name { margin: 0; color: #e7131a; font-weight: 600; font-size: 24px; }
.testimonial__role { margin: 0 0 16px; color: #e7131a; font-weight: 600; font-size: 18px; }
.testimonial blockquote { margin: 0; font-size: 18px; }
.testimonial blockquote::after { content: '”'; display: block; margin-top: 8px; color: #e7131a; font: 700 64px/0.6 Georgia, serif; }
@media (min-width: 760px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

.closing {
  position: relative; color: #fff; padding: 64px 0 100px;
  background: radial-gradient(circle at 32% 26%, #accdea 0%, #2879bf 36%, #7b3d0e 76%);
}
.closing::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px;
  background: url('/assets/img/dividers/torn-paper.svg') center bottom / 1016px 100% repeat-x;
}
.closing__inner { display: grid; gap: 40px; align-items: center; }
.closing__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.8; margin-bottom: 40px; }
.closing__image { width: min(100%, 466px); border-radius: 50%; justify-self: center; }
@media (min-width: 900px) { .closing__inner { grid-template-columns: 2fr 1fr; } }

/* ----------------------------------------------------------------- blog */

.blog { max-width: calc(940px + 2 * var(--gutter)); }
.blog__title { text-align: center; color: var(--indigo); font-size: clamp(34px, 4.5vw, 48px); }

.blog-nav { margin: 24px 0 32px; }
.blog-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.blog-nav a { text-decoration: none; font-size: 16px; font-weight: 600; }
.blog-nav a[aria-current="page"] { color: var(--indigo); text-decoration: underline; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; }
.post-meta__avatar {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 4px;
  border-radius: 50%; background: #5c3a2e; color: #fff; font-size: 14px;
}

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.post-card { display: grid; border: 1px solid #f6b26b; background: #fff; }
.post-card__image { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding: 24px clamp(18px, 3vw, 32px); }
.post-card__title { font-size: clamp(20px, 2.2vw, 24px); margin: 0 0 12px; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--indigo); }
.post-card__excerpt { font-size: 15px; margin: 0; }
@media (min-width: 700px) { .post-card { grid-template-columns: 48% 1fr; } }

.post { border: 1px solid #c7c9f0; padding: clamp(20px, 6vw, 80px) clamp(18px, 6vw, 80px); }
.post__title { font-size: clamp(28px, 3.5vw, 36px); margin: 12px 0; }
.post__updated { font-size: 13px; font-weight: 600; }
.post__body { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.post__body h2 { font-size: 26px; margin-top: 1.4em; }
.post__body h3 { font-size: 22px; margin-top: 1.3em; }
.post__body h4 { font-size: 19px; margin-top: 1.2em; }
.post__body a { color: #0141aa; }
.post__body img { margin: 1.5em auto; }
.post__body figure { margin: 1.5em 0; }
.post__body figcaption { font-size: 14px; text-align: center; color: #555; }
.post__body blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 4px solid var(--orange); }
.post__footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; display: grid; gap: 16px; }
.post__labels, .post__share { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post__labels a { display: block; padding: 4px 12px; border: 1px solid #ccc; border-radius: 999px; font-size: 14px; text-decoration: none; }
.post__share a, .post__share button {
  display: block; padding: 6px 14px; border: 0; border-radius: 4px;
  background: var(--indigo); color: #fff; font: 600 14px var(--font); text-decoration: none; cursor: pointer;
}

.recent-posts { margin-top: 56px; }
.recent-posts h2 { font-size: 22px; }
.recent-posts .post-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.recent-posts .post-card { grid-template-columns: 1fr; }
.recent-posts .post-card__excerpt { display: none; }

/* ---------------------------------------------------------- family page */

.family-intro { background: var(--orange); padding: clamp(20px, 3vw, 40px); }
.family-intro__kicker { margin: 0; color: var(--indigo); font-weight: 600; font-size: 18px; }
.family-intro__title { color: var(--indigo); font-size: clamp(32px, 3.5vw, 45px); margin: 4px 0 24px; }
.family-intro__body { display: grid; gap: 24px; align-items: center; margin-top: 24px; font-size: 15px; }
.family-intro__body img { border: 3px solid #fff; box-shadow: 4px 4px 10px rgba(0, 0, 0, .35); }
@media (min-width: 800px) { .family-intro__body { grid-template-columns: 1fr 1fr; } }

.family-fun__title { color: var(--indigo); font-size: clamp(32px, 3.5vw, 45px); margin: 48px 0 24px; max-width: 520px; }
.family-fun { display: grid; gap: 24px; align-items: center; margin-bottom: 32px; }
.family-fun img { box-shadow: 4px 4px 10px rgba(0, 0, 0, .35); }
.family-fun__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.family-fun__list li::before { content: '• '; }
.family-fun__list strong { color: var(--orange); text-transform: uppercase; }
@media (min-width: 800px) { .family-fun { grid-template-columns: 411px 1fr; } }

.activities { border-top: 16px solid var(--indigo); }
.activities__title { text-align: center; font-size: clamp(22px, 2.4vw, 28px); max-width: 600px; margin: 0 auto 32px; }
.activities__grid { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 720px; display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); text-align: center; font-size: 14px; }
.activities__grid img { margin: 0 auto 8px; box-shadow: 3px 3px 8px rgba(0, 0, 0, .35); }

/* --------------------------------------------------------- schools page */

.schools__title { color: var(--indigo); }
.schools__subtitle { margin-bottom: 32px; font-size: 15px; }
.schools { display: grid; max-width: 920px; margin: 0 auto; }
.schools__contact { background: var(--orange); padding: 32px clamp(20px, 3vw, 40px); }
.schools__email { display: flex; justify-content: space-between; gap: 16px; }
.schools__email h2 { margin: 0; font-size: 22px; font-weight: 500; }
.schools__email a:not(.button) { font-weight: 600; }
.schools__photo { margin: 40px 0 20px; box-shadow: 4px 4px 10px rgba(0, 0, 0, .35); }
.schools__privacy { text-align: center; font-weight: 600; }
.schools__trust { display: flex; align-items: center; justify-content: center; gap: 12px; }
.schools__trust .button { font-size: 16px; padding: .55em 1em; }
.schools__trust img { width: 52px; flex: none; }
.schools__follow { text-align: center; font-size: 18px; margin-top: 32px; }
.schools__social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 12px; }
.schools__help { background: var(--grey); padding: 24px clamp(20px, 3vw, 32px); font-size: 15px; }
.schools__help h2 { color: var(--indigo); font-size: clamp(22px, 2.4vw, 28px); }
.schools__help li { margin-bottom: .4em; }
@media (min-width: 800px) { .schools { grid-template-columns: 1fr 1.1fr; } }

/* ------------------------------------------------ teacher resources page */

.tr-heading { color: var(--red); font-size: clamp(30px, 3.5vw, 45px); }
.tr-intro { padding-bottom: 32px; color: var(--indigo); font-size: 14px; }
.tr-intro p { margin: 0 auto .3em; max-width: 620px; }
.tr-intro__list { list-style-position: inside; padding: 0; margin: 0; }

.tr-grid { display: grid; max-width: 1280px; margin: 0 auto; border: 1px solid var(--indigo); }
.tr-grid > * { width: 100%; height: 100%; object-fit: cover; }
.tr-grid__text { padding: 40px clamp(20px, 5vw, 60px); text-align: center; color: var(--indigo); font-size: 14px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 800px) { .tr-grid { grid-template-columns: 1fr 1fr; } }

.tr-growth { background: var(--orange); padding: 48px 0; }
.tr-growth__inner { display: grid; max-width: 1280px; margin: 0 auto; background: #fde7cd; }
.tr-growth__text { padding: 40px clamp(20px, 5vw, 60px); color: var(--indigo); font-size: 15px; display: flex; flex-direction: column; justify-content: center; }
.tr-growth__text .tr-heading { text-align: center; }
.tr-growth img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) { .tr-growth__inner { grid-template-columns: 1fr 1fr; } }

.tr-features { padding: 48px 0; }
.tr-features__inner { display: grid; gap: 32px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); align-items: center; }
.tr-features__list { list-style: none; margin: 0 0 24px; padding: 0; color: var(--red); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); }
.tr-features__list li::before { content: '•'; }
.tr-features__photo { justify-self: center; max-height: 700px; width: auto; }
@media (min-width: 800px) { .tr-features__inner { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------- brenda's page */

.brenda-page { background: var(--grey); }
.brenda-page__kicker { font-size: clamp(30px, 3.6vw, 45px); font-weight: 600; line-height: 1.25; max-width: 760px; }
.brenda-page__video { position: relative; max-width: 700px; margin: 24px auto 32px; background: #dc0013; padding: clamp(20px, 5vw, 56px) clamp(16px, 5vw, 56px); }
.brenda-page__video video { width: 100%; background: #000; }
.brenda-page__badge { position: absolute; top: -40px; right: -24px; width: 80px; }
.brenda-page__title { font-size: clamp(20px, 2vw, 24px); text-align: center; max-width: 760px; margin: 0 auto 24px; }
.brenda-page__lead { max-width: 760px; margin: 0 auto 48px; font-size: 18px; }
.brenda-page__frame { background: #dc0013; padding: clamp(16px, 4vw, 40px); }
.brenda-page__frame video { width: 100%; background: #000; }
.brenda-page__homework { font-size: clamp(22px, 2.4vw, 28px); }

.media-row { display: grid; gap: 32px; align-items: center; margin-bottom: 48px; }
.media-row img { box-shadow: 4px 4px 10px rgba(0, 0, 0, .25); }
@media (min-width: 800px) {
  .media-row { grid-template-columns: 1fr 1.6fr; }
  .media-row--media-first { grid-template-columns: 1.8fr 1fr; }
}

/* --------------------------------------------------------- contact page */

.contact { display: grid; gap: 24px; align-items: center; max-width: 900px; }
.contact__title { color: var(--indigo); font-size: clamp(40px, 5vw, 64px); margin-bottom: 8px; }
.contact__hello { font-weight: 700; max-width: 360px; }
.contact__email { display: flex; align-items: center; gap: 16px; font-weight: 700; margin: 24px 0 32px 28px; }
.contact__mail-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #000; }
.contact__question { color: var(--indigo); font-weight: 600; font-size: 15px; }
.contact__mascot { justify-self: center; width: min(100%, 300px); }
@media (min-width: 760px) { .contact { grid-template-columns: 1.2fr 1fr; } }

.signup { max-width: 400px; margin: 48px auto 0; padding: 20px; background: #fac68d; display: grid; gap: 14px; font-size: 13px; font-weight: 700; }
.signup h2 { margin: 0; font-size: 18px; font-weight: 400; }
.signup__lead { margin: 0; font-size: 15px; }
.signup label { display: grid; gap: 6px; }
.signup__required { color: #c00; }
.signup input { font: 16px var(--font); padding: 8px; border: 1px solid #999; background: #fff; }
.signup button { padding: 10px; border: 0; background: #3daad1; color: #fff; font: 700 15px var(--font); cursor: pointer; }
.signup button:hover { background: #2b93b8; }
.signup [role="status"] { margin: 0; font-weight: 600; }

/* ------------------------------------------------------------ text pages */

.text-page { max-width: calc(820px + 2 * var(--gutter)); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.text-page h1 { color: var(--indigo); font-size: clamp(32px, 4vw, 45px); }
.text-page h2 { font-size: 22px; margin-top: 1.6em; }
.text-page h3 { font-size: 19px; margin-top: 1.4em; }
.text-page li { margin-bottom: .6em; }

/* ------------------------------------------------------------- 404 page */

.not-found .container { max-width: calc(700px + 2 * var(--gutter)); }
.not-found img { width: min(100%, 330px); margin-bottom: 32px; }
.not-found h1 { color: #3fb3e8; font-weight: 300; font-size: clamp(36px, 5vw, 64px); }
.not-found p { color: #1a3a4a; font-size: 20px; }
.not-found__home {
  display: inline-block; margin-top: 16px; padding: 10px 50px;
  border: 2px solid #3fb3e8; border-radius: 999px; color: #3fb3e8; text-decoration: none; font-size: 20px;
}
.not-found__home:hover { background: #3fb3e8; color: #fff; }
@media (max-width: 759px) { .brenda-page__badge { right: 4px; top: -32px; width: 64px; } }

/* ------------------------------------------------------------ animations */

/* Elements marked data-animate="fade|float|pop" appear as they scroll into
   view (started by site.js). The head of each page adds .animate to <html>
   only when the visitor's device doesn't ask for less motion; without it
   everything simply shows. */
@keyframes in-fade { from { opacity: 0; } }
@keyframes in-float { from { opacity: 0; transform: translateY(40px); } }
@keyframes in-pop { from { opacity: 0; transform: scale(.85); } }
.animate [data-animate] { opacity: 0; }
.animate [data-animate].is-visible {
  opacity: 1;
  animation: in-fade .7s ease-out var(--delay, 0s) both;
}
.animate [data-animate="float"].is-visible { animation-name: in-float; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
.animate [data-animate="pop"].is-visible { animation-name: in-pop; animation-timing-function: cubic-bezier(.3, 1.45, .5, 1); }
@media print { .animate [data-animate] { opacity: 1; animation: none; } }
