/* GFK-2867: current shared shell. Historical foundations stay immutable. */
:root {
  --paper: #fcfbf8;
  --bg: #fcfbf8;
  --ink: #211c30;
  --ink-2: #35204e;
  --muted: #686370;
  --line: #dfdbe5;
  --purple: #7330e8;
  --purple-2: #7330e8;
  --purple-deep: #5720ad;
  --lav: #eee6fb;
  --lav-2: #f5f0fc;
  --display: "Nunito", sans-serif;
  --body: "Nunito", sans-serif;
  --wrap: 1680px;
  --sh-card: 0 8px 28px #35204e08;
  --sh-btn: none;
}
.site-themed {
  background: var(--paper);
  color: var(--ink);
}
.site-themed .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-themed h1,
.site-themed h2,
.site-themed h3,
.site-themed .h1,
.site-themed .h2 {
  font-family: var(--display);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.site-themed .h2 {
  color: var(--ink-2) !important;
}
.site-themed :where(.school-ribbon, .br-closing, .school-closing) :where(h2, .h2) {
  color: white !important;
}
.site-themed .wrap {
  padding-inline: clamp(20px, 4vw, 72px);
}
.site-themed .btn,
.site-themed .school-form-button {
  border-radius: 12px;
  min-height: 56px;
  box-shadow: none;
  justify-content: center;
  line-height: 1.25;
}
.site-themed :where(.btn, .school-form-button):hover {
  box-shadow: none;
  transform: translateY(-1px);
}
.site-themed :where(.btn, .school-form-button):active {
  transform: none;
  box-shadow: none;
}
.site-themed .nav,
.site-themed .cms-header {
  position: relative;
  inset: auto;
  transform: none;
  width: min(1680px, 100%);
  max-width: 1680px;
  margin: 0 auto;
  min-height: 104px;
  padding: 20px clamp(20px, 4vw, 72px);
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
}
.site-themed :where(.nav-logo img, .cms-header > a img) {
  width: 134px;
  height: auto;
}
.site-themed .nav-links {
  margin-inline: auto;
  gap: 30px;
}
.site-themed :where(.nav-links a, .nav-login, .cms-header > a) {
  color: var(--ink-2);
  font-weight: 850;
  text-decoration: none;
}
.site-themed .nav-links a:hover {
  color: var(--purple);
}
.site-themed .site-languages {
  display: block;
  position: relative;
  order: 5;
  flex: 0 0 auto;
}
.site-themed .site-languages summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 52px;
  min-height: 48px;
  padding: 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink-2);
}
.site-themed summary::-webkit-details-marker {
  display: none;
}
.site-globe {
  width: 24px;
  height: 24px;
}
.site-chevron {
  width: 12px;
  height: 12px;
}
.site-flag {
  width: 28px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 3px;
}
.site-themed .site-languages nav,
.site-themed .site-menu > nav,
.site-themed .site-resource-links {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 16px 36px #211c3012;
  min-width: 210px;
  z-index: 60;
}
.site-themed .site-languages nav a,
.site-themed .site-menu-languages a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--ink-2);
  text-decoration: none;
}
.site-themed .site-menu {
  order: 6;
}
.site-themed .site-menu > summary {
  justify-content: center;
  width: 44px;
  min-height: 48px;
  padding: 0;
  list-style: none;
}
.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-2);
  border-radius: 2px;
}
.site-menu-icon {
  position: relative;
}
.site-menu-icon::before,
.site-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
}
.site-menu-icon::after {
  top: 7px;
}
.site-themed .site-menu > nav {
  width: min(380px, calc(100vw - 40px));
  max-height: min(76vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-themed.content-page main,
.site-themed.content-page .br-main {
  padding-top: 0;
}
.site-themed .content-hero,
.site-themed .br-hero {
  padding-top: clamp(36px, 5vw, 84px);
  padding-bottom: clamp(44px, 6vw, 88px);
}
.site-themed .school-hero {
  padding-top: clamp(48px, 5vw, 84px);
  background: #fcf6e6;
}
.site-themed main.school-contact {
  padding-top: 48px;
  background: #fcf6e6;
}
.site-themed .content-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.35rem, 4.4vw, 4.5rem);
}
.site-themed :where(.content-intro, .br-lead, .lead) {
  color: var(--muted);
}
.site-themed
  :where(.content-art, .br-classroom, .school-cards article, .journal-card, .br-card, .cms-card) {
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: none;
}
.site-themed :where(.br-tinted, .journal-hero, .teacher-hero, .family-hero) {
  background: #fcf6e6;
}
.site-themed .reading-layout {
  grid-template-columns: minmax(160px, 220px) minmax(0, 780px);
  justify-content: center;
  gap: clamp(28px, 5vw, 88px);
}
.site-themed :where(.reading-body, .legal-text, .cms-reading) {
  max-width: 780px;
}
.site-themed .legal-text {
  margin-inline: auto;
}
.site-themed .content-cta {
  background: #f1e9fc;
  color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 24px;
}
.site-themed .content-cta h2 {
  color: var(--ink-2);
}
.site-themed .foot {
  background: #f4f0e8;
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
}
.site-themed .site-footer {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 36px;
}
.site-themed .site-footer:has(.site-footer-resources) {
  grid-template-columns: 1fr repeat(4, minmax(0, 1fr));
}
.site-themed .site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.site-themed .site-footer nav a {
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
}
.site-themed .site-footer a:hover {
  color: var(--purple);
  text-decoration: underline;
}
.site-themed .site-footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-themed .cms-header > a:first-child {
  margin-right: auto;
}
.site-themed :where(.cms-reading, .cms-archive) {
  margin-top: 36px;
}
.site-themed .cms-archive {
  width: min(1280px, calc(100% - 80px));
}
.site-themed :where(.cms-reading, .cms-archive) h1 {
  color: var(--ink-2);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}
.site-themed .cms-footer {
  max-width: none;
  margin: 0;
  padding: 48px max(24px, calc((100vw - 1280px) / 2));
  background: #f4f0e8;
  border-color: var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}
.site-themed .cms-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-themed .cms-footer nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 1100px) {
  .site-themed .nav-links {
    display: none;
  }
  .site-themed .site-menu {
    display: block;
  }
  .site-themed .nav-logo {
    margin-right: auto;
  }
  .site-themed .nav {
    gap: 18px;
  }
  .site-themed .site-footer,
  .site-themed .site-footer:has(.site-footer-resources) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-themed .site-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .site-themed :where(.nav, .cms-header) {
    padding: 18px 20px;
    gap: 12px;
    min-height: 88px;
    flex-wrap: wrap;
  }
  .site-themed :where(.nav-logo img, .cms-header > a img) {
    width: 106px;
  }
  .site-themed .nav > .btn {
    order: 7;
    flex: 1 0 100%;
    display: inline-flex;
  }
  .site-themed .nav-login {
    display: none;
  }
  .site-themed .site-menu > nav {
    top: 76px;
    right: 20px;
  }
  .site-themed .site-menu-languages {
    display: block;
  }
  .site-themed .site-footer {
    gap: 28px 20px;
  }
  .site-themed .reading-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-themed .cms-archive {
    width: calc(100% - 40px);
  }
  .site-themed .cms-header > a:nth-child(2) {
    order: 7;
    flex-basis: 100%;
  }
  .site-themed .cms-footer {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-themed .btn {
    transition: none;
  }
}
