:root {
  --bg: #f3f3f3;
  --surface: #fff;
  --surface-muted: #d3d3d3;
  --text: #000;
  --copy: #999;
  --accent: #ff2a13;
  --accent-dark: #d80f0f;
  --blue: #3f8dbf;
  font-size: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--copy);
  background: var(--bg);
}
.site {
  width: 95%;
  max-width: 1202px;
  margin: 0 auto;
  border-inline: 1px solid #ddd;
  background: var(--surface);
  box-shadow: 0 0 5px rgba(0, 0, 0, .15);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent-dark); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.container { width: 95%; margin-inline: auto; }
section[id], article[id] { scroll-margin-top: 130px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 114px;
  background: var(--surface);
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.header-inner { display: flex; justify-content: space-between; align-items: flex-start; }
.brand { margin-top: 10px; flex-shrink: 0; }
.brand img { width: 250px; }
.site-nav { display: flex; align-items: flex-start; }
.site-nav a {
  height: 90px;
  padding: 50px 20px 0;
  border-top: 4px solid transparent;
  color: var(--copy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .085em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #272727; border-top-color: var(--accent); }
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #aaa;
  box-shadow: 0 0 3px rgba(0, 0, 0, .35);
  padding: .6rem .8rem;
  font: inherit;
  cursor: pointer;
}
.menu-toggle svg { display: block; }
/* Keep the original banner at its natural size inside the boxed page. */
.hero-image { padding: 42px 2.5% 65px; }
.hero-image img { width: 1000px; margin-inline: auto; }
.intro-section, .content-section { padding: 65px 0; }
.section-muted { background: var(--surface-muted); }
.intro-grid, .two-column-grid, .image-text-grid { display: grid; gap: 20px; align-items: start; }
.intro-grid { grid-template-columns: calc((100% + 20px) * .6666 - 20px) minmax(0, 1fr); }
.two-column-grid, .image-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intro-copy h1, .section-heading h2, .content-card h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}
.intro-copy h1, .section-heading h2 { font-size: 2.65rem; font-weight: 400; }
.content-card h3 { font-size: 1.3rem; font-style: italic; font-weight: 700; }
.intro-copy hr, .section-heading hr, .closing-note hr {
  width: 100%;
  height: 0;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .5);
}
.intro-copy hr { margin: 10px 0; }
.intro-copy p { margin: 0; padding: 14px; color: var(--text); }
.intro-art { display: grid; place-items: start center; }
.section-heading { text-align: center; }
.content-card { min-width: 0; text-align: center; color: var(--text); }
.card-copy { padding: 14px 10%; text-align: left; }
#eleven-plus .card-copy { padding-inline: 20%; }
.card-copy > :first-child { margin-top: 0; }
.card-copy > :last-child { margin-bottom: 0; }
p { margin: 0 0 1.313em; }
ul, ol { margin: 0 0 1.5em 1.655em; padding: 0; }
.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47.6px;
  margin: 14px;
  color: var(--blue);
}
.section-icon svg { width: 31.5px; height: 28px; fill: currentColor; }
.closing-note p { margin: 0; padding: 14px 10%; color: var(--text); text-align: left; }
.feature-image img, .profile-card img { margin-inline: auto; }
.site-footer { padding: 10px 0; text-align: center; }
.site-footer p { margin: 30px 0 13.13px; font-size: 10px; line-height: 1.3; letter-spacing: 2px; }
@media (max-width: 1100px) and (min-width: 980px) {
  .site-nav a { padding-inline: 12px; }
}
@media (max-width: 979px) {
  .site { width: 100%; }
  .site-header { height: auto; min-height: 114px; }
  .header-inner { align-items: center; flex-wrap: wrap; }
  .brand { margin-top: 10px; }
  .menu-toggle { display: block; margin-top: 10px; }
  .site-nav { display: none; width: 100%; padding: 12px 0; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { width: 100%; height: auto; padding: 12px 0; border: 0; line-height: 1.7; }
  .site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
}
@media (max-width: 767px) {
  .intro-grid { grid-template-columns: 1fr; }
  .hero-image { padding-top: 65px; }
  .intro-copy h1, .section-heading h2 { overflow-wrap: break-word; }
}
@media (max-width: 360px) {
  .brand img { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
