@font-face {
  font-family: "Gill Sans Light";
  src: url("../fonts/Gill Sans Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Calibri";
  src: url("../fonts/calibri-font-family/calibri-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Calibri";
  src: url("../fonts/calibri-font-family/calibri-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Calibri";
  src: url("../fonts/calibri-font-family/calibri-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Calibri";
  src: url("../fonts/calibri-font-family/calibri-bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Harabara";
  src: url("../fonts/Harabara.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baobab Columbia Serial";
  src: url("../fonts/columbia-serial/Columbia-Serial-ExtraLight-Regular.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --baobab-blue: #004fa3;
  --baobab-orange: #ffc61e;
  --baobab-black: #080808;
  --baobab-ink: #26282a;
  --baobab-muted: #6f747a;
  --baobab-line: #e8eaee;
  --baobab-soft: #f5f7fa;
  --baobab-white: #ffffff;
  --font-sans: "Gill Sans Light", "Gill Sans", "Gill Sans MT", "Baobab Calibri", Calibri, Arial, sans-serif;
  --font-heading: "Trajan Pro", "Trajan Pro 3", "Times New Roman", serif;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--baobab-ink);
  background: var(--baobab-white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
}
body.drawer-open,
body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6,
.page-hero__title,
.section-heading,
.baobab-kicker {
  font-family: var(--font-heading);
}
.horizontal-menu > li > a,
.horizontal-menu .sub-menu a,
.drawer-menu--wp > li > a,
.drawer-menu--wp .sub-menu a,
.drawer-tab,
.header-action {
  font-family: var(--font-sans);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: #fff;
  color: #000;
  padding: 12px 16px;
  border: 2px solid #000;
}
.skip-link:focus { transform: translateY(0); }

.home-hero__notice {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 80px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--baobab-line);
  backdrop-filter: blur(12px);
}
body:not(.home):not(.front-page) .site-header {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(0,79,163,.14) !important;
  color: var(--baobab-ink) !important;
  box-shadow: 0 14px 34px rgba(12,36,63,.1);
}
body:not(.home):not(.front-page) .site-header .icon-button,
body:not(.home):not(.front-page) .site-header .header-action,
body:not(.home):not(.front-page) .site-header .horizontal-menu > li > a {
  color: var(--baobab-ink) !important;
  text-shadow: none !important;
}
body:not(.home):not(.front-page) .site-header .header-action__icon {
  background: rgba(0,79,163,.08) !important;
  border-color: rgba(0,79,163,.22) !important;
  color: var(--baobab-blue) !important;
}
body:not(.home):not(.front-page) .site-header .site-logo img {
  filter: none !important;
}
.site-header__left,
.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
}
.site-logo img {
  width: clamp(220px, 21vw, 320px);
  height: 96px;
  object-fit: contain;
  object-position: center;
}
.icon-button,
.header-action,
.navigation-drawer__close,
.search-overlay__close,
.home-hero__notice-close {
  border: 0;
  background: transparent;
  color: var(--baobab-black);
  cursor: pointer;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 6px;
}
.icon-button span {
  width: 30px;
  height: 2px;
  background: currentColor;
}
.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #545b64;
}
.header-action:hover { color: #000; }
.header-action__icon svg {
  width: 21px;
  height: 21px;
}

.site-header--horizontal {
  --header-height: 96px;
  align-items: center;
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(0,79,163,.14) !important;
  color: var(--baobab-ink);
  backdrop-filter: blur(16px);
  padding: 0 clamp(18px, 3.2vw, 48px);
  box-shadow: 0 16px 38px rgba(12,36,63,.1);
}
body.baobab-header-horizontal:not(.home):not(.front-page) .site-header--horizontal {
  background: rgba(255,255,255,.94) !important;
  border-bottom-color: rgba(0,79,163,.14) !important;
  box-shadow: 0 16px 38px rgba(12,36,63,.1);
}
body.home.baobab-header-horizontal .site-header--horizontal,
body.front-page.baobab-header-horizontal .site-header--horizontal {
  background: transparent !important;
  border-bottom: 0 !important;
  color: #fff;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header--horizontal .icon-button {
  display: none;
  color: currentColor;
}
.site-header--horizontal .site-logo img {
  width: clamp(230px, 16vw, 310px);
  height: 92px;
  filter: none;
}
body.home.baobab-header-horizontal .site-header--horizontal .site-logo img,
body.front-page.baobab-header-horizontal .site-header--horizontal .site-logo img {
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.28));
}
.site-header__nav {
  flex: 1;
  min-width: 0;
}
.horizontal-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.horizontal-menu li {
  position: relative;
  margin: 0;
}
.horizontal-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--baobab-ink);
  font-size: clamp(15px, .95vw, 18px);
  font-weight: 300;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
}
body.home.baobab-header-horizontal .horizontal-menu > li > a,
body.front-page.baobab-header-horizontal .horizontal-menu > li > a {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
}
.horizontal-menu > li.menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 3px;
}
.horizontal-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 95;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: rgba(255,255,255,.98);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.horizontal-menu .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% - 4px);
}
.horizontal-menu li:hover > .sub-menu,
.horizontal-menu li:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.horizontal-menu .sub-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--baobab-ink);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.35;
}
.horizontal-menu .sub-menu a:hover,
.horizontal-menu .sub-menu a:focus {
  background: #f3f6fa;
  color: var(--baobab-blue);
}
.horizontal-menu .sub-menu li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.horizontal-menu .sub-menu li.menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  margin-top: .35em;
}
.site-header--horizontal .site-header__actions {
  gap: 8px;
}
.site-header--horizontal .header-action {
  color: var(--baobab-blue);
  font-size: 0;
  letter-spacing: 0;
}
body.home.baobab-header-horizontal .site-header--horizontal .header-action,
body.front-page.baobab-header-horizontal .site-header--horizontal .header-action {
  color: #fff;
}
.site-header--horizontal .header-action__icon {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0,79,163,.08);
  border: 1px solid rgba(0,79,163,.22);
  box-shadow: 0 8px 22px rgba(0,79,163,.08);
}
body.home.baobab-header-horizontal .site-header--horizontal .header-action__icon,
body.front-page.baobab-header-horizontal .site-header--horizontal .header-action__icon {
  background: transparent;
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.site-header--horizontal .header-action__icon svg {
  width: 16px;
  height: 16px;
}

body.baobab-header-left-rail .site-header {
  --rail-width: clamp(96px, 7.4vw, 124px);
  right: auto;
  bottom: 0;
  width: var(--rail-width);
  height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: clamp(28px, 4vh, 52px) 14px clamp(26px, 4vh, 46px);
  background: #fff !important;
  border-right: 1px solid rgba(0,0,0,.08);
  border-bottom: 0 !important;
  color: #050505 !important;
  box-shadow: none;
  backdrop-filter: none;
}
body.baobab-header-left-rail .site-header__left {
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
body.baobab-header-left-rail .icon-button {
  width: 54px;
  height: 54px;
  color: #050505;
}
body.baobab-header-left-rail .icon-button span {
  width: 34px;
  height: 3px;
}
body.baobab-header-left-rail .site-logo {
  margin-bottom: clamp(26px, 8vh, 92px);
}
body.baobab-header-left-rail .site-logo img {
  width: clamp(94px, 6.8vw, 128px);
  height: clamp(94px, 6.8vw, 128px);
  object-fit: contain;
  filter: none !important;
}
body.baobab-header-left-rail .site-header__actions {
  width: 100%;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 44px);
}

.about-reference-page {
  background: #f3f2ee;
  color: #050505;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .about-reference-page {
  padding-top: var(--header-height);
}

.about-reference-hero {
  min-height: clamp(360px, 44vw, 590px);
  background-position: center;
  background-size: cover;
}

.about-reference-hero__shade {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: clamp(40px, 8vw, 110px) clamp(20px, 5vw, 80px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .28));
}

.about-reference-hero h1,
.about-reference-feature h2 {
  margin: 0;
  font-family: "Trajan Pro", "Trajan Pro 3", "Times New Roman", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.about-reference-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5.8vw, 108px);
  line-height: .94;
  text-align: center;
  text-shadow: none;
}

.about-reference-wide-image img,
.about-reference-feature__image img,
.about-reference-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-reference-wide-image {
  height: clamp(320px, 49vw, 760px);
}

.about-reference-copy {
  padding: clamp(68px, 8vw, 132px) clamp(26px, 9vw, 168px);
  font-size: clamp(25px, 1.75vw, 38px);
  font-weight: 400;
  line-height: 1.34;
}

.about-reference-copy p {
  max-width: 1540px;
  margin: 0 auto 1.25em;
}

.about-reference-copy p:last-child {
  margin-bottom: 0;
}

.about-reference-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(42px, 5vw, 92px);
  width: min(100% - clamp(52px, 9vw, 184px), 1540px);
  margin: clamp(48px, 5vw, 92px) auto 0;
  background: #f3f2ee;
}

.about-reference-feature__copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

.about-reference-feature h2 {
  max-width: 760px;
  font-size: clamp(36px, 4.5vw, 78px);
  line-height: .98;
}

.about-reference-feature p {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: clamp(19px, 1.35vw, 28px);
  line-height: 1.45;
}

.about-reference-feature__image {
  height: clamp(420px, 36vw, 620px);
  min-height: 0;
}

.about-reference-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: clamp(64px, 8vw, 132px) auto 0;
  background: #f3f2ee;
}

.about-reference-mosaic img {
  aspect-ratio: 16 / 10;
}

.principal-reference-page {
  background: #fff;
  color: #050505;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .principal-reference-page {
  padding-top: var(--header-height);
}

.principal-reference-hero {
  min-height: clamp(330px, 34vw, 560px);
  background-position: center;
  background-size: cover;
}

.principal-reference-hero__shade {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 6vw, 90px);
  background: rgba(0, 0, 0, .08);
}

.principal-reference-hero h1 {
  max-width: 1800px;
  margin: 0;
  color: #fff;
  font-family: "Trajan Pro", "Trajan Pro 3", "Times New Roman", serif;
  font-size: clamp(42px, 5.8vw, 108px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .045em;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.principal-reference-body {
  display: grid;
  width: min(100% - clamp(48px, 13vw, 300px), 1540px);
  margin: 0 auto;
  padding: clamp(104px, 10vw, 220px) 0 clamp(130px, 13vw, 260px);
  grid-template-columns: minmax(0, .88fr) minmax(360px, .82fr);
  gap: clamp(64px, 6vw, 120px);
  align-items: start;
}

.principal-reference-copy {
  max-width: 700px;
  justify-self: end;
}

.principal-reference-copy,
.principal-reference-copy p {
  font-size: clamp(22px, 1.45vw, 34px);
  font-weight: 400;
  line-height: 1.42;
}

.principal-reference-copy p {
  margin: 0 0 2.05em;
}

.principal-reference-copy p:first-child {
  color: #4d89c6;
}

.principal-reference-copy p:last-child {
  margin-bottom: 0;
}

.principal-reference-copy a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}

.principal-reference-portrait {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.principal-reference-portrait img {
  display: block;
  width: 100%;
  max-width: 720px;
  max-height: none;
  object-fit: cover;
}

.heritage-reference-page {
  background: #fff;
  color: #050505;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .heritage-reference-page {
  padding-top: var(--header-height);
}

.heritage-reference-frame {
  position: relative;
  width: min(100% - clamp(48px, 10vw, 220px), 2100px);
  margin: 0 auto;
  padding: clamp(170px, 11vw, 260px) clamp(42px, 5vw, 110px) clamp(160px, 11vw, 260px);
  border-top: 1px solid rgba(5, 5, 5, .55);
  border-left: 1px solid rgba(5, 5, 5, .28);
}

.heritage-reference-dots {
  position: absolute;
  top: 17px;
  left: 26px;
  display: flex;
  gap: 14px;
}

.heritage-reference-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #8e8e8e;
}

.heritage-reference-dots span.is-active {
  background: #cf1f32;
}

.heritage-reference-layout {
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.68fr);
  gap: clamp(72px, 7vw, 150px);
  align-items: center;
}

.heritage-reference-panel {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.68fr);
  gap: clamp(72px, 7vw, 150px);
  align-items: center;
  scroll-snap-align: start;
}

.heritage-reference-copy {
  align-self: center;
}

.heritage-reference-copy .baobab-kicker {
  display: none;
}

.heritage-reference-copy h1,
.heritage-reference-copy h2,
.heritage-reference-copy h3 {
  margin: 0 0 .35em;
  font-family: "Trajan Pro", "Trajan Pro 3", "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 86px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.heritage-reference-copy p {
  max-width: 620px;
  margin: 1.45em 0 0;
  font-size: clamp(20px, 1.25vw, 28px);
  line-height: 1.48;
}

.heritage-reference-slider {
  position: relative;
  min-width: 0;
}

.heritage-reference-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.heritage-reference-track::-webkit-scrollbar {
  display: none;
}

.heritage-reference-slide {
  margin: 0;
}

.heritage-reference-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.heritage-reference-controls {
  display: flex;
  justify-content: flex-end;
}

.heritage-reference-controls button {
  display: grid;
  width: 88px;
  height: 72px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #cf1f32;
  color: #fff;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1;
}

.heritage-reference-controls .heritage-reference-prev {
  background: #fff;
  color: #cf1f32;
}

.learning-resource-reference-page .heritage-reference-copy h1,
.learning-resource-reference-page .heritage-reference-copy h2,
.learning-resource-reference-page .heritage-reference-copy h3 {
  margin-bottom: .45em;
}
.learning-resource-reference-page .heritage-reference-copy p,
.learning-resource-reference-page .heritage-reference-copy li {
  max-width: 640px;
}
.learning-resource-reference-page .heritage-reference-copy ul,
.learning-resource-reference-page .heritage-reference-copy ol {
  margin-top: 1.35em;
  padding-left: 1.2em;
}
.learning-resource-reference-page .heritage-reference-slide img {
  aspect-ratio: 16 / 9;
}

.admissions-reference-page {
  background: #fff;
  color: #2b2b2b;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .admissions-reference-page {
  padding-top: var(--header-height);
}

.admissions-reference-hero {
  min-height: clamp(300px, 30vw, 520px);
  background-position: center;
  background-size: cover;
}

.admissions-reference-hero__shade {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: clamp(42px, 7vw, 100px) clamp(20px, 6vw, 90px);
  background: rgba(0, 0, 0, .08);
}

.admissions-reference-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Trajan Pro", "Trajan Pro 3", "Times New Roman", serif;
  font-size: clamp(42px, 5.8vw, 108px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .05em;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.admissions-reference-content {
  width: min(100% - clamp(44px, 10vw, 240px), 1480px);
  margin: 0 auto;
  padding: clamp(58px, 5.5vw, 104px) 0 clamp(74px, 6vw, 120px);
}

.admissions-reference-copy {
  max-width: 1580px;
}

.admissions-reference-copy p {
  margin: 0 0 clamp(26px, 2.8vw, 48px);
  font-size: clamp(21px, 1.35vw, 31px);
  font-weight: 300;
  line-height: 1.38;
}

.baobab-admissions-enquiry-form {
  width: min(100%, 980px);
  margin: clamp(30px, 3.8vw, 62px) 0 clamp(42px, 4.6vw, 80px);
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, .08);
}

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

.admissions-reference-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 64px);
  width: min(100%, 1120px);
  margin-top: clamp(30px, 3.5vw, 62px);
}

.admissions-reference-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #0f5fa5;
}

.admissions-reference-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.admissions-reference-card:hover img,
.admissions-reference-card:focus-visible img {
  transform: scale(1.025);
}

.admissions-reference-card span {
  position: absolute;
  right: clamp(20px, 2.1vw, 42px);
  bottom: clamp(24px, 2.4vw, 46px);
  left: clamp(20px, 2.1vw, 42px);
  display: block;
  padding: clamp(14px, 1.3vw, 22px) clamp(18px, 1.8vw, 34px);
  background: #1768ad;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.05vw, 42px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.primary-reference-page {
  background: #f4f4f3;
  color: #050505;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .primary-reference-page {
  padding-top: var(--header-height);
}

.primary-reference-hero {
  min-height: clamp(360px, 37vw, 650px);
  background-position: center;
  background-size: cover;
}

.primary-reference-hero__shade {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: clamp(42px, 7vw, 100px) clamp(22px, 6vw, 90px);
  background: rgba(0, 0, 0, .08);
}

.primary-reference-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.8vw, 108px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .055em;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.primary-reference-intro {
  width: min(100% - clamp(44px, 9vw, 240px), 1680px);
  margin: 0 auto;
  padding: clamp(62px, 6vw, 110px) 0 clamp(58px, 6vw, 104px);
}

.primary-reference-intro p {
  margin: 0 0 1.35em;
  font-size: clamp(22px, 1.42vw, 31px);
  line-height: 1.32;
}

.primary-reference-feature {
  display: grid;
  width: min(100% - clamp(44px, 9vw, 240px), 1680px);
  margin: 0 auto clamp(78px, 8vw, 150px);
  grid-template-columns: minmax(0, .98fr) minmax(360px, .82fr);
  gap: clamp(44px, 5vw, 92px);
  align-items: center;
}

.primary-reference-feature--image-left {
  grid-template-columns: minmax(360px, .82fr) minmax(0, .98fr);
}

.primary-reference-feature img {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1.08 / .82;
  object-fit: cover;
}

.primary-reference-feature--image-right img {
  justify-self: end;
}

.primary-reference-feature--image-left img {
  min-height: clamp(520px, 48vw, 760px);
  aspect-ratio: .78 / 1;
}

.primary-reference-feature__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.2vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.primary-reference-feature__copy--center {
  text-align: center;
}

.primary-reference-feature--image-left .primary-reference-feature__copy--center {
  justify-self: end;
  text-align: right;
}

.primary-reference-feature--image-left .primary-reference-feature__copy--center h2,
.primary-reference-feature--image-left .primary-reference-feature__copy--center p {
  margin-left: auto;
}

.primary-reference-feature--image-left .primary-reference-learn {
  justify-content: flex-end;
}

.primary-reference-feature__copy p {
  max-width: 660px;
  margin: clamp(18px, 2vw, 34px) auto 0;
  font-size: clamp(20px, 1.25vw, 28px);
  line-height: 1.34;
}

.primary-reference-learn {
  position: relative;
  display: inline-flex;
  margin-top: clamp(18px, 2.2vw, 36px);
}

.primary-reference-learn button {
  border: 0;
  border-bottom: 6px solid #9f111d;
  border-radius: 0;
  background: transparent;
  color: #050505;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.25vw, 26px);
  line-height: 1.2;
  padding: 0 6px 10px;
}

.primary-reference-popover {
  position: absolute;
  z-index: 12;
  left: 0;
  bottom: calc(100% + 18px);
  width: min(420px, 78vw);
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  color: #1f2428;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.primary-reference-learn:hover .primary-reference-popover,
.primary-reference-learn:focus-within .primary-reference-popover {
  opacity: 1;
  transform: translateY(0);
}

.primary-reference-gallery {
  margin-top: clamp(40px, 6vw, 100px);
}

.primary-reference-gallery__header {
  display: flex;
  width: min(100% - clamp(44px, 9vw, 240px), 1680px);
  margin: 0 auto 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.primary-reference-gallery h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 2.1vw, 44px);
  font-weight: 400;
}

.primary-reference-gallery__controls {
  display: flex;
  gap: 8px;
}

.primary-reference-gallery__controls button {
  display: grid;
  width: 54px;
  height: 48px;
  place-items: center;
  border: 0;
  background: #9f111d;
  color: #fff;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.primary-reference-gallery__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.primary-reference-gallery__track::-webkit-scrollbar {
  display: none;
}

.primary-reference-gallery__track img {
  flex: 0 0 min(48vw, 920px);
  height: clamp(280px, 28vw, 540px);
  object-fit: cover;
  scroll-snap-align: start;
}

.school-reference-page {
  background: #f4f4f3;
  color: #050505;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:not(.baobab-header-left-rail) .school-reference-page {
  padding-top: var(--header-height);
}

.school-reference-hero {
  min-height: clamp(330px, 33vw, 590px);
  background-position: center;
  background-size: cover;
}

.school-reference-hero__shade {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: clamp(42px, 7vw, 100px) clamp(24px, 6vw, 100px);
  background: rgba(0, 0, 0, .08);
}

.school-reference-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.8vw, 108px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .045em;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.school-reference-intro {
  width: min(100% - clamp(48px, 13vw, 300px), 1540px);
  margin: 0 auto;
  padding: clamp(70px, 6.5vw, 130px) 0 clamp(88px, 7.5vw, 150px);
}

.school-reference-intro p {
  margin: 0 0 1.35em;
  font-size: clamp(22px, 1.42vw, 31px);
  line-height: 1.42;
}

.school-reference-video {
  position: relative;
  width: min(100% - clamp(48px, 13vw, 300px), 1400px);
  margin: 0 auto clamp(100px, 9vw, 170px);
}

.school-reference-video img,
.school-reference-video video,
.school-reference-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
}

.school-reference-video span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(74px, 7vw, 112px);
  height: clamp(74px, 7vw, 112px);
  border-radius: 10px;
  background: #438ed2;
  transform: translate(-50%, -50%);
}

.school-reference-video span:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 34px solid #fff;
  transform: translate(-50%, -50%);
}

.school-reference-feature {
  display: grid;
  width: min(100% - clamp(48px, 13vw, 300px), 1540px);
  margin: 0 auto clamp(92px, 9vw, 180px);
  grid-template-columns: minmax(0, .94fr) minmax(340px, .78fr);
  gap: clamp(52px, 6vw, 112px);
  align-items: center;
}

.school-reference-feature--reverse {
  grid-template-columns: minmax(340px, .78fr) minmax(0, .94fr);
}

.school-reference-feature img {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1.05 / .86;
  object-fit: cover;
}

.school-reference-feature:not(.school-reference-feature--reverse) img {
  justify-self: end;
}

.school-reference-feature__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.1vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.school-reference-feature__copy p {
  max-width: 680px;
  margin: clamp(18px, 2vw, 34px) 0 0;
  font-size: clamp(20px, 1.25vw, 28px);
  line-height: 1.4;
}

.school-reference-feature__copy--right {
  text-align: right;
}

.school-reference-feature__copy--right p {
  margin-left: auto;
}

.school-reference-learn {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(18px, 1.25vw, 26px);
}

.school-reference-gallery {
  margin-top: clamp(30px, 5vw, 80px);
}

.school-reference-gallery h2 {
  width: min(100% - clamp(48px, 13vw, 300px), 1540px);
  margin: 0 auto 28px;
  font-family: var(--font-sans);
  font-size: clamp(26px, 2vw, 40px);
  font-weight: 300;
}

.school-reference-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.school-reference-gallery__grid img {
  width: 100%;
  height: clamp(280px, 25vw, 500px);
  object-fit: cover;
}
body.baobab-header-left-rail .header-action {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  color: #050505 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: center;
  text-shadow: none !important;
}
body.baobab-header-left-rail .header-action__icon {
  width: 36px;
  height: 36px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: currentColor !important;
}
body.baobab-header-left-rail .header-action__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}
body.baobab-header-left-rail .language-switcher {
  display: none;
}
body.baobab-header-left-rail:not(.home):not(.front-page) .site-main,
body.baobab-header-left-rail:not(.home):not(.front-page) .site-footer {
  margin-left: clamp(96px, 7.4vw, 124px);
}

.navigation-drawer,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.navigation-drawer.is-open,
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.navigation-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0,0,0,.42);
  border: 0;
}
.navigation-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 100vh;
  overflow: auto;
  padding: clamp(24px, 5vw, 80px);
  background: #fff;
  transform: translateY(-100%);
  transition: transform .42s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,.16);
}
.navigation-drawer.is-open .navigation-drawer__panel { transform: translateY(0); }
.navigation-drawer__top,
.search-overlay__top {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.drawer-logo img,
.search-overlay__top img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.navigation-drawer__close,
.search-overlay__close,
.home-hero__notice-close {
  font-size: 36px;
  line-height: 1;
}
.drawer-menu {
  max-width: 1240px;
  margin: 0 auto;
}
.drawer-menu--fallback {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 48px;
}
.drawer-menu--wp {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.drawer-menu--wp > li {
  border-bottom: 1px solid var(--baobab-line);
}
.drawer-menu--wp > li > a,
.drawer-tab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #535b65;
  text-align: left;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}
.drawer-tab.is-active,
.drawer-tab:hover,
.drawer-menu--wp > li.is-open > a,
.drawer-menu--wp > li > a:hover {
  background: var(--baobab-blue);
  color: #fff;
}
.drawer-menu--wp > li > a::after {
  content: "+";
  font-size: 28px;
  line-height: 1;
}
.drawer-menu--wp > li.is-open > a::after {
  content: "-";
}
.drawer-menu__sections {
  border-right: 1px solid var(--baobab-line);
  padding-right: 32px;
}
.drawer-panel { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.drawer-panel.is-active { display: grid; }
.drawer-panel a,
.drawer-menu--wp .sub-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f2f4;
  color: #535b65;
  font-size: 17px;
  font-weight: 300;
  text-transform: capitalize;
}
.drawer-panel a:hover,
.drawer-menu--wp .sub-menu a:hover {
  color: var(--baobab-blue);
  background: #f9fafc;
}
.drawer-panel__children {
  display: grid;
  gap: 0;
  margin: -8px 0 8px 18px;
  border-left: 2px solid var(--baobab-line);
}
.drawer-panel__children a {
  padding-left: 18px;
  font-size: 15px;
}
.drawer-panel svg,
.drawer-tab svg {
  width: 18px;
  height: 18px;
}
.drawer-menu--wp .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 12px 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
}
.drawer-menu--wp > li.is-open > .sub-menu {
  display: grid;
}

.search-overlay {
  background: #fff;
}
.search-overlay__inner {
  min-height: 100%;
  padding: clamp(28px, 6vw, 88px);
}
.search-overlay__form {
  max-width: 900px;
  margin: 0 auto;
}
.search-overlay__form label,
.baobab-kicker {
  display: block;
  color: var(--baobab-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.search-overlay__form input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--baobab-line);
  outline: 0;
  padding: 0 0 24px;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 300;
}
.search-suggestions {
  display: none;
  margin-top: 20px;
  border: 1px solid var(--baobab-line);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.search-suggestions.is-active {
  display: block;
}
.search-suggestions__label,
.search-suggestions__empty {
  margin: 0;
  padding: 13px 16px;
  color: var(--baobab-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.search-suggestions__empty {
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
}
.search-suggestions__list {
  display: grid;
}
.search-suggestions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 13px 16px;
  border-top: 1px solid var(--baobab-line);
  color: var(--baobab-ink);
  font-size: 16px;
  font-weight: 700;
}
.search-suggestions a:hover,
.search-suggestions a:focus {
  background: #f5f8fc;
  color: var(--baobab-blue);
}
.search-overlay__form button {
  margin-top: 28px;
  border: 0;
  background: var(--baobab-blue);
  color: #fff;
  padding: 14px 22px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}

.site-main { min-height: 70vh; }
.home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.home-hero__media,
.home-hero__shade,
.home-hero__click-shield {
  position: absolute;
  inset: 0;
}
.home-hero__media { z-index: 0; }
.home-hero__media iframe,
.home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  border: 0;
  pointer-events: none;
}
.home-hero__click-shield {
  z-index: 1;
  cursor: default;
}
.home-hero__shade {
  z-index: 2;
  background: rgba(0,0,0,.42);
  pointer-events: none;
}
.home-hero__content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(18px, 3vh, 34px);
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 24px;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0,0,0,.42);
}
.home-hero__brand-mark {
  width: clamp(64px, 5vw, 92px);
  height: clamp(64px, 5vw, 92px);
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,.28));
}
.home-hero__eyebrow,
.home-hero__summary {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.home-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 112px);
  line-height: .95;
  text-transform: uppercase;
}
.home-hero__content h1 {
  margin: -.15em 0 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(66px, 9vw, 158px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.home-hero__summary {
  max-width: 920px;
  font-size: clamp(17px, 1.5vw, 28px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .22em;
}
body.home.baobab-header-left-rail .home-hero,
body.front-page.baobab-header-left-rail .home-hero {
  min-height: 100svh;
  margin-left: clamp(96px, 7.4vw, 124px);
}
body.home.baobab-header-left-rail .home-hero__shade,
body.front-page.baobab-header-left-rail .home-hero__shade {
  background: rgba(0,0,0,.5);
}
body.home.baobab-header-left-rail .home-hero__media iframe,
body.home.baobab-header-left-rail .home-hero__media video,
body.front-page.baobab-header-left-rail .home-hero__media iframe,
body.front-page.baobab-header-left-rail .home-hero__media video {
  transform: scale(1.08);
}
.home-hero__notice {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 64px);
  bottom: clamp(24px, 5vw, 64px);
  width: min(310px, calc(100vw - 48px));
  background: #fff;
  padding: 32px;
  border-left: 4px solid var(--baobab-blue);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.home-hero__notice h2,
.home-hero__notice p {
  margin: 0 0 12px;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.home-hero__notice a {
  color: #333;
  text-decoration: underline;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-hero__notice-close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 22px;
  color: var(--baobab-blue);
}
.home .home-content {
  display: none;
}
.baobab-home-only .site-main > :not(.home-hero) {
  display: none !important;
}

.page-hero {
  min-height: clamp(360px, 56vh, 640px);
  margin-top: 0;
  background-position: center;
  background-size: cover;
}
body.baobab-header-horizontal:not(.home):not(.front-page) .page-hero {
  margin-top: 0;
}
.page-hero__overlay {
  min-height: inherit;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.42);
  text-align: center;
  padding: 48px 20px;
}
.page-hero__inner { max-width: 980px; }
.page-hero__subtitle {
  display: none;
}
.page-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page-hero__accent {
  display: none;
}
.baobab-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--baobab-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.baobab-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.page-layout__side.baobab-reveal,
.welcome-layout__media.baobab-reveal,
.entry-content > .wp-block-image.baobab-reveal,
.baobab-shortcode-image.baobab-reveal {
  transform: translateY(34px) scale(.985);
}
.page-layout__side.baobab-reveal.is-visible,
.welcome-layout__media.baobab-reveal.is-visible,
.entry-content > .wp-block-image.baobab-reveal.is-visible,
.baobab-shortcode-image.baobab-reveal.is-visible {
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .baobab-reveal,
  .baobab-timeline,
  .baobab-timeline__item,
  .baobab-timeline:before {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.content-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}
.page-layout,
.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}
.page-layout:has(.baobab-logo-strip-section) {
  display: block;
}
.page-layout:has(.baobab-logo-strip-section) .entry-content {
  max-width: none;
}
.page-layout:has(.baobab-logo-strip-section) .page-layout__side {
  display: none;
}
.welcome-layout {
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
}
.entry-content {
  max-width: 980px;
  color: #4d5662;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 300;
}
.designed-layout--admissions > .entry-content {
  max-width: none;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3 {
  color: #000;
  line-height: 1.15;
  text-transform: uppercase;
}
.entry-content h2 {
  font-size: clamp(32px, 4vw, 54px);
}
.entry-content p { margin: 0 0 24px; }
.entry-content a {
  color: var(--baobab-blue);
  text-decoration: underline;
}
.entry-content .wp-block-button__link,
.baobab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 22px;
  border: 1px solid var(--baobab-blue);
  border-radius: 2px;
  background: var(--baobab-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0,93,168,.18);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.baobab-button:hover,
.baobab-button:focus {
  background: var(--baobab-orange);
  border-color: var(--baobab-orange);
  color: #101318;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(242,140,40,.22);
}
.entry-content .is-style-baobab-outline .wp-block-button__link,
.baobab-button--outline {
  background: transparent;
  color: var(--baobab-blue);
  box-shadow: none;
}
.entry-content .is-style-baobab-outline .wp-block-button__link:hover,
.entry-content .is-style-baobab-outline .wp-block-button__link:focus,
.baobab-button--outline:hover,
.baobab-button--outline:focus {
  background: var(--baobab-blue);
  border-color: var(--baobab-blue);
  color: #fff;
}
.baobab-button-row {
  gap: 14px;
  margin: 30px 0;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
  margin-bottom: 24px;
}
.entry-content .wp-block-table {
  max-width: 100%;
  margin: 34px 0;
  overflow-x: auto;
}
.entry-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--baobab-line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
.entry-content th {
  background: var(--baobab-soft);
  color: #101318;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.baobab-feature-panel {
  gap: clamp(34px, 6vw, 78px);
  margin: 56px 0;
}
.baobab-feature-panel .wp-block-media-text__content {
  padding: 0;
}
.baobab-feature-panel img,
.entry-content .is-style-baobab-feature img,
.baobab-shortcode-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--baobab-soft);
}
.baobab-image-grid {
  gap: 26px;
  margin: 48px 0;
}
.baobab-image-grid h3 {
  margin-top: 18px;
  font-size: 22px;
}
.baobab-shortcode-actions {
  margin: 28px 0;
}
.baobab-shortcode-image {
  margin: 42px 0;
}
.baobab-shortcode-image figcaption {
  margin-top: 12px;
  color: #6a737f;
  font-size: 13px;
}
.baobab-shortcode-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  margin: 56px 0;
}
.baobab-shortcode-cta img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.baobab-social-feed-panel {
  margin: 56px 0;
}
.baobab-stats-panel,
.baobab-steps-panel,
.baobab-quote-panel,
.baobab-notice-band,
.baobab-video-feature {
  margin: 56px 0;
}
.baobab-stats-panel,
.baobab-steps-panel,
.baobab-quote-panel {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--baobab-line);
  background: var(--baobab-soft);
}
.baobab-stats-row,
.baobab-steps-row {
  gap: 20px;
  margin-top: 30px;
}
.baobab-stats-row .wp-block-column,
.baobab-steps-row .wp-block-column {
  padding: 24px;
  background: #fff;
  border-left: 3px solid var(--baobab-blue);
}
.baobab-stats-row h3 {
  margin: 0 0 8px;
  color: var(--baobab-blue);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}
.baobab-stats-row p,
.baobab-steps-row p {
  margin-bottom: 0;
}
.baobab-step-number {
  color: var(--baobab-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}
.baobab-quote-panel blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #20252b;
}
.baobab-quote-panel cite {
  display: block;
  margin-top: 20px;
  color: var(--baobab-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.baobab-notice-band {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  background: #101318;
  color: #fff;
}
.baobab-notice-band h2,
.baobab-notice-band p {
  color: inherit;
}
.baobab-video-feature {
  gap: clamp(28px, 5vw, 62px);
}
.baobab-video-feature iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.baobab-facebook-embed {
  width: min(100%, 540px);
  min-height: var(--baobab-facebook-height, 700px);
  margin: 28px 0;
  padding: 14px;
  border: 1px solid var(--baobab-line);
  background: #fff;
  box-shadow: 0 20px 48px rgba(0,0,0,.08);
}
.baobab-facebook-embed iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.baobab-logo-strip-section {
  width: 100%;
  max-width: none;
  margin: 64px 0;
  overflow: hidden;
}
.entry-content > .baobab-logo-strip-section,
.entry-content > .wp-block-group.baobab-logo-strip-section {
  width: 100%;
  max-width: none;
}
.baobab-logo-strip {
  position: relative;
  margin-top: 28px;
  width: 100%;
  max-width: none;
  padding: 18px 0;
  overflow: hidden;
  border-block: 1px solid var(--baobab-line);
}
.baobab-logo-strip:before,
.baobab-logo-strip:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.baobab-logo-strip:before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.baobab-logo-strip:after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.entry-content .baobab-logo-strip .baobab-logo-strip__track,
.baobab-logo-strip .baobab-logo-strip__track,
.entry-content .baobab-logo-strip .baobab-logo-strip__track > .wp-block-group__inner-container,
.baobab-logo-strip .baobab-logo-strip__track > .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 28px;
  min-width: 100%;
  width: max-content;
  max-width: none;
  animation: baobab-logo-roll 28s linear infinite;
  will-change: transform;
}
.entry-content .baobab-logo-strip .baobab-logo-strip__track > *,
.baobab-logo-strip .baobab-logo-strip__track > *,
.entry-content .baobab-logo-strip .baobab-logo-strip__track > .wp-block-group__inner-container > *,
.baobab-logo-strip .baobab-logo-strip__track > .wp-block-group__inner-container > * {
  flex: 0 0 auto !important;
}
.baobab-logo-strip:hover .baobab-logo-strip__track,
.baobab-logo-strip:hover .baobab-logo-strip__track > .wp-block-group__inner-container {
  animation-play-state: paused;
}
.entry-content .baobab-logo-strip__logo,
.baobab-logo-strip__logo {
  display: grid;
  place-items: center;
  flex: 0 0 160px !important;
  width: 160px !important;
  min-height: 96px;
  margin: 0 !important;
  padding: 18px;
  border: 1px solid var(--baobab-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.entry-content .baobab-logo-strip__logo img,
.baobab-logo-strip__logo img {
  width: auto;
  max-width: 126px;
  max-height: 68px;
  object-fit: contain;
}
@keyframes baobab-logo-roll {
  from { transform: translateX(-24%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .baobab-logo-strip__track,
  .baobab-logo-strip__track > .wp-block-group__inner-container {
    width: auto;
    flex-wrap: wrap !important;
    animation: none;
  }
}
.page-layout__side img,
.welcome-layout__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(.2);
}
.page-layout--story {
  grid-template-columns: minmax(0, .9fr) minmax(320px, 42%);
  align-items: center;
}
.page-layout--story .entry-content {
  padding: clamp(24px, 4vw, 44px) 0;
}
.page-layout--story .page-layout__side img {
  min-height: 560px;
}
.page-layout--campus,
.page-layout--academic {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 38%);
}
.page-layout--campus .page-layout__side img {
  aspect-ratio: 1 / 1;
}
.page-layout--academic .page-layout__side {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.page-layout--academic .page-layout__side img {
  min-height: 520px;
}
.page-layout--admissions {
  grid-template-columns: minmax(0, .92fr) minmax(320px, 40%);
  align-items: stretch;
}
.page-layout--admissions .page-layout__side {
  padding: 18px;
  background: var(--baobab-blue);
}
.page-layout--admissions .page-layout__side img {
  height: 100%;
  min-height: 460px;
}
.page-layout--activities .page-layout__side img {
  aspect-ratio: 4 / 3;
}
.page-layout--boarding {
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
}
.page-layout--boarding .entry-content { grid-column: 2; }
.page-layout--boarding .page-layout__side {
  grid-column: 1;
  grid-row: 1;
}
.page-layout--boarding .page-layout__side img {
  min-height: 520px;
}
.baobab-layout-panel {
  display: grid;
  grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  margin-top: clamp(54px, 8vw, 96px);
  padding: clamp(30px, 5vw, 62px);
  background: #f6f8f7;
}
.welcome-layout__copy .baobab-layout-panel {
  grid-template-columns: 1fr;
  margin-top: 40px;
}
.baobab-layout-panel__intro h2 {
  margin: 0 0 16px;
  color: #000;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
}
.baobab-layout-panel__intro p:last-child {
  margin-bottom: 0;
  color: #59636f;
}
.baobab-layout-panel__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.baobab-layout-panel__cards article {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--baobab-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.baobab-layout-panel__cards span {
  color: var(--baobab-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.baobab-layout-panel__cards h3 {
  margin: 40px 0 0;
  color: #101318;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}
.baobab-layout-panel--story {
  background: #101318;
  color: #fff;
}
.baobab-layout-panel--story .baobab-layout-panel__intro h2,
.baobab-layout-panel--story .baobab-layout-panel__intro p,
.baobab-layout-panel--story .baobab-kicker {
  color: #fff;
}
.baobab-layout-panel--story .baobab-layout-panel__cards article {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.baobab-layout-panel--story .baobab-layout-panel__cards h3 { color: #fff; }
.baobab-layout-panel--campus { background: #eef5f7; }
.baobab-layout-panel--academic { background: #f8f2e9; }
.baobab-layout-panel--admissions {
  background: var(--baobab-blue);
  color: #fff;
}
.baobab-layout-panel--admissions .baobab-layout-panel__intro h2,
.baobab-layout-panel--admissions .baobab-layout-panel__intro p,
.baobab-layout-panel--admissions .baobab-kicker {
  color: #fff;
}
.baobab-layout-panel--admissions .baobab-layout-panel__cards article { background: #fff; }
.baobab-layout-panel--activities { background: #fff7ef; }
.baobab-layout-panel--boarding { background: #edf3ed; }
.designed-layout {
  display: grid;
  gap: clamp(36px, 6vw, 78px);
}
.designed-layout img {
  width: 100%;
  object-fit: cover;
}
.designed-layout--story {
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  align-items: center;
}
.designed-layout__story-media {
  position: relative;
  min-height: 560px;
}
.designed-layout__story-media:before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: var(--baobab-blue);
  z-index: 0;
}
.designed-layout__story-media img {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 560px;
  aspect-ratio: 4 / 5;
}
.designed-layout__story-copy {
  max-width: 720px;
  padding: clamp(20px, 4vw, 54px) 0;
}
.designed-layout--campus {
  grid-template-columns: 1fr;
}
.designed-layout__wide-copy {
  max-width: 980px;
}
.designed-layout__image-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: end;
}
.designed-layout__image-band img:first-child {
  aspect-ratio: 16 / 9;
}
.designed-layout__image-band img:last-child {
  aspect-ratio: 4 / 5;
}
.designed-layout__academic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 36%);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}
.designed-layout__academic-grid aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 0;
}
.designed-layout__academic-grid img {
  aspect-ratio: 3 / 4;
}
.designed-layout__note {
  margin: -54px 22px 0;
  padding: 24px;
  position: relative;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.12);
}
.designed-layout__note span {
  display: block;
  margin-bottom: 10px;
  color: var(--baobab-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.designed-layout__note strong {
  color: #101318;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}
.designed-layout__admissions {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 40%);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}
.designed-layout__admissions aside {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 0;
  background: transparent;
}
.designed-layout__admissions img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  object-fit: cover;
}
.designed-layout__admissions .baobab-button {
  width: 100%;
}
.baobab-admissions-resources {
  width: 100%;
  max-width: none;
  margin-top: clamp(36px, 6vw, 72px);
  grid-column: 1 / -1;
}
.entry-content .baobab-admissions-resources {
  width: min(1240px, calc(100vw - 48px));
  max-width: none;
}
.baobab-admissions-table-wrap {
  max-width: 100%;
  margin: 20px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--baobab-line);
}
.baobab-admissions-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 16px;
}
.baobab-admissions-table th,
.baobab-admissions-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--baobab-line);
  text-align: left;
  vertical-align: top;
}
.baobab-admissions-table th {
  color: #101318;
  font-weight: 800;
  background: #f6f8fb;
}
.baobab-admissions-table tbody tr:last-child th,
.baobab-admissions-table tbody tr:last-child td {
  border-bottom: 0;
}
.baobab-admissions-table--compact {
  min-width: 520px;
}
.baobab-parent-app-section {
  margin-top: clamp(36px, 6vw, 72px);
  padding: clamp(28px, 5vw, 56px);
  background: #f6f8fb;
  border-left: 4px solid var(--baobab-blue);
}
.baobab-parent-app-section h2 {
  margin-top: 0;
}
.designed-layout__activity-strip {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 18px;
  align-items: stretch;
}
.designed-layout__activity-strip img:first-child {
  aspect-ratio: 4 / 5;
}
.designed-layout__activity-strip img:last-child {
  aspect-ratio: 16 / 10;
}
.designed-layout__boarding {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.designed-layout__boarding aside {
  padding: clamp(18px, 3vw, 28px);
  background: #edf3ed;
}
.designed-layout__boarding img {
  aspect-ratio: 3 / 4;
}
.welcome-layout__media img {
  aspect-ratio: 3 / 4;
  max-height: 620px;
  object-position: center top;
  filter: none;
  transition: filter .5s ease;
}
.welcome-layout__media:hover img { filter: none; }
.welcome-layout__person {
  margin-top: 28px;
  padding-left: 24px;
  border-left: 4px solid var(--baobab-blue);
}
.welcome-layout__person h2 {
  margin: 0;
  color: #000;
  font-size: 28px;
  text-transform: uppercase;
}
.welcome-layout__person p {
  margin: 4px 0 0;
  color: var(--baobab-blue);
  font-weight: 600;
}
blockquote,
.baobab-quote {
  margin: 0 0 36px;
  padding: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--baobab-line);
  color: #20252b;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.35;
}
.layout-timeline .baobab-quote {
  margin-top: 72px;
  padding: clamp(40px, 6vw, 88px);
  border: 1px solid var(--baobab-line);
  background: var(--baobab-soft);
  text-align: center;
}
.baobab-timeline {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 86px);
  margin: clamp(56px, 8vw, 104px) auto;
  padding: 18px 0;
}
.baobab-timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,93,168,.18), var(--baobab-blue), rgba(242,140,40,.32));
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.2s ease;
}
.baobab-timeline.is-visible:before {
  transform: translateX(-50%) scaleY(1);
}
.baobab-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.baobab-timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.baobab-timeline__item:before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 52px;
  justify-self: center;
  border: 8px solid #e7edf3;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 20%, var(--baobab-blue) 22% 56%, #fff 58% 68%, var(--baobab-blue) 70%);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  z-index: 1;
}
.baobab-timeline__date {
  grid-column: 1;
  margin: 0;
  color: var(--baobab-blue);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  text-align: right;
  text-transform: none;
}
.baobab-timeline__card {
  grid-column: 3;
  position: relative;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border-left: 4px solid var(--baobab-blue);
  background: #fff;
  color: #65707c;
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.baobab-timeline__card:before {
  content: "";
  position: absolute;
  top: 28px;
  left: -12px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-left: 4px solid var(--baobab-blue);
  border-bottom: 4px solid var(--baobab-blue);
  transform: rotate(45deg);
}
.baobab-timeline__item:nth-child(even) .baobab-timeline__date {
  grid-column: 3;
  text-align: left;
}
.baobab-timeline__item:nth-child(even) .baobab-timeline__card {
  grid-column: 1;
  grid-row: 1;
  border-right: 4px solid var(--baobab-blue);
  border-left: 0;
  text-align: right;
}
.baobab-timeline__item:nth-child(even) .baobab-timeline__card:before {
  right: -12px;
  left: auto;
  border: 0;
  border-top: 4px solid var(--baobab-blue);
  border-right: 4px solid var(--baobab-blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.contact-layout__intro h2 {
  margin: 0 0 24px;
  color: #000;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  text-transform: uppercase;
}
.contact-layout__intro > p:not(.baobab-kicker) {
  color: #4d5662;
  font-size: 18px;
  font-weight: 300;
}
.contact-cards {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}
.contact-cards div {
  padding: 22px;
  border-left: 3px solid var(--baobab-blue);
  background: var(--baobab-soft);
}
.contact-cards strong,
.baobab-contact-form span {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.contact-cards span {
  color: #58616d;
  font-size: 15px;
}
.baobab-contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--baobab-line);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}
.baobab-contact-form input,
.baobab-contact-form select,
.baobab-contact-form textarea {
  width: 100%;
  border: 1px solid var(--baobab-line);
  background: #fbfcfe;
  color: #101318;
  padding: 14px 16px;
  outline: none;
}
.baobab-contact-form input:focus,
.baobab-contact-form select:focus,
.baobab-contact-form textarea:focus {
  border-color: var(--baobab-blue);
  background: #fff;
}
.baobab-contact-form button {
  justify-self: start;
  border: 0;
  background: var(--baobab-blue);
  color: #fff;
  padding: 15px 24px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-success {
  margin: 0;
  padding: 14px 16px;
  background: #eef7f0;
  color: #1d6b35;
  font-weight: 600;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 100%;
  margin-top: 56px;
}
.staff-card {
  border-left: 2px solid var(--baobab-line);
  padding-left: 24px;
  transition: border-color .2s ease;
}
.staff-card:hover {
  border-color: var(--baobab-blue);
}
.staff-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 22px;
  background: var(--baobab-soft);
}
.staff-card p {
  margin: 0 0 6px;
  color: var(--baobab-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.staff-card h3 {
  margin: 0;
  color: #000;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}
.staff-card__bio {
  margin-top: 14px;
  color: #58616d;
  font-size: 14px;
  line-height: 1.65;
}
.staff-card__bio p {
  margin: 0 0 12px;
}

.governance-grid-section {
  margin-top: clamp(36px, 6vw, 72px);
}
.governance-group {
  margin-top: clamp(32px, 5vw, 56px);
}
.governance-group h3 {
  margin: 0 0 22px;
  color: var(--baobab-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.governance-card {
  min-width: 0;
  border: 1px solid var(--baobab-line);
  background: #fff;
}
.governance-card img,
.governance-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf3f8;
}
.governance-card__placeholder {
  display: grid;
  place-items: center;
  color: var(--baobab-blue);
  font-size: 48px;
  font-weight: 800;
}
.governance-card h4 {
  margin: 18px 18px 4px;
  color: #000;
  font-size: 18px;
  line-height: 1.2;
}
.governance-card p {
  margin: 0 18px 20px;
  color: var(--baobab-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.facilities-gallery-section {
  margin-top: clamp(42px, 7vw, 84px);
}
.facilities-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.facility-card {
  grid-column: span 4;
  margin: 0;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--baobab-soft);
}
.facility-card:nth-child(5n + 1),
.facility-card:nth-child(5n + 4) {
  grid-column: span 7;
}
.facility-card:nth-child(5n + 2),
.facility-card:nth-child(5n + 5) {
  grid-column: span 5;
}
.facility-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .4s ease;
}
.facility-card:hover img {
  transform: scale(1.03);
}
.facility-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.heritage-gallery-section,
.learning-support-gallery-section {
  margin-top: clamp(42px, 7vw, 84px);
}
.heritage-gallery,
.learning-support-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.heritage-card,
.learning-support-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  background: var(--baobab-soft);
}
.heritage-card img,
.learning-support-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}
.heritage-card:hover img,
.learning-support-card:hover img {
  transform: scale(1.03);
}
.heritage-card figcaption,
.learning-support-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.baobab-hpl-infographics {
  gap: 28px;
  margin-top: 36px;
}
.baobab-hpl-infographics img {
  width: 100%;
  background: #fff;
  border: 1px solid var(--baobab-line);
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
}

.leadership-reference-page,
.gallery-reference-page {
  background: #fff;
}
.leadership-reference-copy,
.gallery-reference-copy {
  width: min(100% - clamp(48px, 8vw, 140px), 1520px);
  margin: clamp(54px, 7vw, 96px) auto 0;
}
.leadership-reference-copy .entry-content,
.gallery-reference-copy .entry-content {
  max-width: 1180px;
  margin: 0;
  color: #30343a;
  font-weight: 300;
  text-align: left;
}
.leadership-reference-copy .entry-content h2,
.gallery-reference-copy .entry-content h2 {
  margin: 0 0 22px;
  color: #000;
  text-transform: uppercase;
}
.leadership-reference-copy .entry-content p,
.gallery-reference-copy .entry-content p {
  max-width: 980px;
}
.leadership-reference-copy .entry-content ul,
.gallery-reference-copy .entry-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
  margin-top: 24px;
}
.leadership-reference-page .governance-grid-section,
.staff-governance-grid-section {
  width: min(100% - clamp(48px, 8vw, 140px), 1520px);
  margin: clamp(46px, 6vw, 82px) auto clamp(72px, 9vw, 130px);
}
.leadership-reference-page .governance-group {
  margin-top: clamp(42px, 6vw, 74px);
}
.leadership-reference-page .governance-group h3 {
  display: inline-block;
  margin-bottom: 28px;
  color: #000;
  border-bottom: 2px solid var(--baobab-blue);
  padding-bottom: 10px;
}
.leadership-reference-page .governance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.leadership-reference-page .governance-card {
  border: 0;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.leadership-reference-page .governance-card img,
.leadership-reference-page .governance-card__placeholder {
  aspect-ratio: 1 / 1;
}
.leadership-reference-page .governance-card h4 {
  margin: 18px 18px 6px;
  color: #000;
  text-transform: uppercase;
}
.leadership-reference-page .governance-card p {
  margin: 0 18px 22px;
  color: #4d5662;
  font-weight: 300;
}
.leadership-reference-page .staff-card__bio {
  margin: 0 18px 22px;
}
.gallery-reference-page .facilities-gallery-section,
.gallery-reference-page .learning-support-gallery-section {
  width: min(100% - clamp(48px, 8vw, 140px), 1520px);
  margin: clamp(42px, 5vw, 72px) auto clamp(72px, 9vw, 130px);
}
.gallery-reference-page .baobab-kicker {
  margin-bottom: 28px;
  color: #000;
  text-transform: uppercase;
}
.gallery-reference-page--learning-support .learning-support-gallery-section > .baobab-kicker {
  display: none !important;
}
.gallery-reference-page .facilities-gallery,
.gallery-reference-page .learning-support-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.gallery-reference-page .facility-card,
.gallery-reference-page .learning-support-card {
  grid-column: span 6;
  min-height: clamp(320px, 31vw, 520px);
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.gallery-reference-page .facility-card:nth-child(6n + 1),
.gallery-reference-page .learning-support-card:nth-child(6n + 1) {
  grid-column: span 7;
}
.gallery-reference-page .facility-card:nth-child(6n + 2),
.gallery-reference-page .learning-support-card:nth-child(6n + 2),
.gallery-reference-page .facility-card:nth-child(6n + 5),
.gallery-reference-page .learning-support-card:nth-child(6n + 5) {
  grid-column: span 5;
}
.gallery-reference-page .facility-card:nth-child(6n + 6),
.gallery-reference-page .learning-support-card:nth-child(6n + 6) {
  grid-column: span 7;
}
.gallery-reference-page .facility-card img,
.gallery-reference-page .learning-support-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.site-footer {
  background: #101318;
  color: #fff;
  padding: clamp(64px, 8vw, 96px) clamp(24px, 5vw, 80px);
}
.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer__logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 28px;
}
.site-footer p,
.site-footer address,
.footer-menu {
  color: #b9bec7;
  font-size: 14px;
  font-style: normal;
}
.site-footer h2 {
  margin: 0 0 24px;
  color: var(--baobab-orange);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li { margin-bottom: 13px; }
.footer-menu a:hover { color: var(--baobab-orange); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.site-footer__bottom p {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #838a95;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  color: #b9bec7;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-links a:hover {
  background: var(--baobab-orange);
  border-color: var(--baobab-orange);
  color: #101318;
}
.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.accessibility-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  display: grid;
  justify-items: end;
  gap: 8px;
}
.accessibility-tools button {
  border: 1px solid rgba(255,255,255,.72);
  background: var(--baobab-blue);
  color: #fff;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.accessibility-tools__panel {
  display: grid;
  gap: 6px;
  padding: 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--baobab-line);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
.accessibility-tools__panel button {
  width: 100%;
  background: #fff;
  border-color: var(--baobab-line);
  color: var(--baobab-ink);
  box-shadow: none;
}
body.accessibility-contrast {
  filter: contrast(1.2);
}
body.accessibility-contrast .home-hero__shade {
  background: rgba(0,0,0,.48);
}
body.accessibility-large-text {
  font-size: 112%;
}
body.accessibility-reduce-motion *,
body.accessibility-reduce-motion *::before,
body.accessibility-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .001ms !important;
}

.site-main--elementor {
  padding: 0;
}
.elementor-page .page-shell,
.elementor-page .content-shell,
.elementor-page .entry-content,
.site-main--elementor .entry-content {
  max-width: none;
  width: 100%;
}
.language-switcher {
  display: flex;
  align-items: center;
  min-width: 0;
}
.language-switcher select,
.language-switcher .gt_selector,
.language-switcher a {
  max-width: 150px;
  border: 1px solid var(--baobab-line);
  background: #fff;
  color: #545b64;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.language-switcher img {
  display: inline-block;
}

@media (max-width: 900px) {
  .site-header { padding-inline: 18px; }
  .site-logo img { width: 150px; height: 58px; }
  .header-action span:not(.header-action__icon) { display: none; }
  .site-header--horizontal {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--baobab-line);
    color: var(--baobab-black);
  }
  .site-header--horizontal .icon-button {
    display: inline-grid;
    color: var(--baobab-black);
  }
  .site-header--horizontal .site-header__nav {
    display: none;
  }
  .site-header--horizontal .header-action {
    color: #545b64;
    font-size: 10px;
  }
  .site-header--horizontal .header-action__icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  body.baobab-header-left-rail .site-header {
    width: 100%;
    height: var(--header-height);
    bottom: auto;
    flex-direction: row;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2) !important;
    background: rgba(0,0,0,.16) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
  }
  body.baobab-header-left-rail .site-header__left {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
  }
  body.baobab-header-left-rail .site-logo {
    margin-bottom: 0;
  }
  body.baobab-header-left-rail .site-logo img {
    width: 120px;
    height: 50px;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.28)) !important;
  }
  body.baobab-header-left-rail .site-header__actions {
    width: auto;
    flex-direction: row;
    gap: 10px;
  }
  body.baobab-header-left-rail .header-action {
    width: auto;
    font-size: 0;
  }
  body.baobab-header-left-rail:not(.home):not(.front-page) .site-main,
  body.baobab-header-left-rail:not(.home):not(.front-page) .site-footer {
    margin-left: 0;
  }
  body.home.baobab-header-left-rail .home-hero,
  body.front-page.baobab-header-left-rail .home-hero {
    margin-left: 0;
  }
  body.home.baobab-header-left-rail .home-hero__content,
  body.front-page.baobab-header-left-rail .home-hero__content {
    padding-top: calc(var(--header-height) + 42px);
  }
  .drawer-menu--fallback,
  .page-layout,
  .welcome-layout,
  .designed-layout--story,
  .designed-layout__academic-grid,
  .designed-layout__admissions,
  .designed-layout__boarding,
  .contact-layout,
  .baobab-layout-panel,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .drawer-menu__sections {
    border-right: 0;
    padding-right: 0;
  }
  .drawer-panel { grid-template-columns: 1fr; }
  .drawer-menu--wp .sub-menu { grid-template-columns: 1fr; }
  .page-layout__side { display: none; }
  .page-layout--boarding .entry-content,
  .page-layout--boarding .page-layout__side {
    grid-column: auto;
    grid-row: auto;
  }
  .baobab-layout-panel__cards {
    grid-template-columns: 1fr;
  }
  .designed-layout__story-media,
  .designed-layout__story-media img,
  .designed-layout__admissions img {
    min-height: 360px;
  }
  .designed-layout__story-media:before {
    inset: 18px -12px -18px 12px;
  }
  .designed-layout__image-band,
  .designed-layout__activity-strip {
    grid-template-columns: 1fr;
  }
  .designed-layout__academic-grid aside {
    position: static;
  }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .governance-grid,
  .leadership-reference-page .governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facility-card,
  .facility-card:nth-child(5n + 1),
  .facility-card:nth-child(5n + 2),
  .facility-card:nth-child(5n + 4),
  .facility-card:nth-child(5n + 5),
  .gallery-reference-page .facility-card,
  .gallery-reference-page .facility-card:nth-child(6n + 1),
  .gallery-reference-page .facility-card:nth-child(6n + 2),
  .gallery-reference-page .facility-card:nth-child(6n + 5),
  .gallery-reference-page .facility-card:nth-child(6n + 6),
  .gallery-reference-page .learning-support-card,
  .gallery-reference-page .learning-support-card:nth-child(6n + 1),
  .gallery-reference-page .learning-support-card:nth-child(6n + 2),
  .gallery-reference-page .learning-support-card:nth-child(6n + 5),
  .gallery-reference-page .learning-support-card:nth-child(6n + 6) {
    grid-column: span 6;
  }
  .heritage-gallery,
  .learning-support-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root { --header-height: 78px; }
  .site-header {
    gap: 10px;
    padding-inline: 12px;
  }
  .site-header__left,
  .site-header__actions {
    gap: 10px;
  }
  .site-logo img {
    width: 120px;
    height: 50px;
  }
  .icon-button {
    width: 38px;
    height: 38px;
  }
  .icon-button span {
    width: 26px;
  }
  .header-action__icon svg {
    width: 19px;
    height: 19px;
  }
  .language-switcher select,
  .language-switcher .gt_selector,
  .language-switcher a {
    max-width: 96px;
    padding: 7px 8px;
    font-size: 10px;
  }
  .navigation-drawer__panel {
    padding: 22px 16px 34px;
  }
  .drawer-menu--wp > li > a,
  .drawer-tab {
    padding: 14px 16px;
    font-size: 18px;
  }
  .drawer-menu--wp .sub-menu a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .home-hero {
    min-height: 100svh;
  }
  .home-hero__media iframe,
  .home-hero__media video {
    transform: scale(1.9);
  }
  .page-hero {
    min-height: 420px;
  }
  .content-shell {
    padding: 54px 0;
  }
  .contact-layout__intro h2 {
    font-size: 36px;
  }
  .baobab-contact-form {
    padding: 24px 18px;
  }
  .entry-content .wp-block-button,
  .entry-content .wp-block-button__link,
  .baobab-button {
    width: 100%;
  }
  .baobab-shortcode-cta {
    grid-template-columns: 1fr;
  }
  .baobab-facebook-embed {
    padding: 8px;
  }
  .baobab-notice-band {
    display: grid;
  }
  .baobab-logo-strip__logo {
    flex-basis: 132px;
    width: 132px;
    min-height: 82px;
  }
  .baobab-logo-strip__track {
    gap: 16px;
  }
  .baobab-timeline:before {
    left: 26px;
  }
  .baobab-timeline__item,
  .baobab-timeline__item:nth-child(even) {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }
  .baobab-timeline__item:before {
    grid-column: 1;
    width: 44px;
    height: 44px;
    border-width: 7px;
  }
  .baobab-timeline__date,
  .baobab-timeline__item:nth-child(even) .baobab-timeline__date {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }
  .baobab-timeline__card,
  .baobab-timeline__item:nth-child(even) .baobab-timeline__card {
    grid-column: 2;
    grid-row: 2;
    border-right: 0;
    border-left: 4px solid var(--baobab-blue);
    text-align: left;
  }
  .baobab-timeline__card:before,
  .baobab-timeline__item:nth-child(even) .baobab-timeline__card:before {
    top: -10px;
    right: auto;
    left: 22px;
    border: 0;
    border-left: 4px solid var(--baobab-blue);
    border-top: 4px solid var(--baobab-blue);
  }
  .home-hero__notice { display: none; }
  .site-footer__bottom { flex-direction: column; }
  .content-shell { width: min(100% - 32px, 1240px); }
  .page-hero__title { letter-spacing: .08em; }
  .staff-grid { grid-template-columns: 1fr; }
  .governance-grid,
  .leadership-reference-page .governance-grid {
    grid-template-columns: 1fr;
  }
  .facility-card,
  .facility-card:nth-child(5n + 1),
  .facility-card:nth-child(5n + 2),
  .facility-card:nth-child(5n + 4),
  .facility-card:nth-child(5n + 5),
  .gallery-reference-page .facility-card,
  .gallery-reference-page .facility-card:nth-child(6n + 1),
  .gallery-reference-page .facility-card:nth-child(6n + 2),
  .gallery-reference-page .facility-card:nth-child(6n + 5),
  .gallery-reference-page .facility-card:nth-child(6n + 6),
  .gallery-reference-page .learning-support-card,
  .gallery-reference-page .learning-support-card:nth-child(6n + 1),
  .gallery-reference-page .learning-support-card:nth-child(6n + 2),
  .gallery-reference-page .learning-support-card:nth-child(6n + 5),
  .gallery-reference-page .learning-support-card:nth-child(6n + 6) {
    grid-column: 1 / -1;
  }
  .heritage-gallery,
  .learning-support-gallery {
    grid-template-columns: 1fr;
  }
  .about-reference-copy {
    padding: 48px 22px;
    font-size: 21px;
  }
  .about-reference-feature,
  .about-reference-mosaic {
    grid-template-columns: 1fr;
  }
  .about-reference-feature__copy,
  .about-reference-feature__image {
    min-height: auto;
  }
  .about-reference-feature__copy {
    padding: 48px 22px;
  }
  .about-reference-feature__image {
    height: 360px;
  }
  .principal-reference-body {
    width: min(100% - 32px, 720px);
    padding: 64px 0 96px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .principal-reference-copy {
    max-width: none;
    justify-self: stretch;
  }
  .principal-reference-copy,
  .principal-reference-copy p {
    font-size: 21px;
  }
  .principal-reference-portrait {
    position: static;
  }
  .heritage-reference-frame {
    width: min(100% - 32px, 760px);
    padding: 72px 20px 92px;
  }
  .heritage-reference-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .heritage-reference-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .heritage-reference-copy h1,
  .heritage-reference-copy h2,
  .heritage-reference-copy h3 {
    font-size: clamp(34px, 10vw, 58px);
  }
  .heritage-reference-slide img {
    aspect-ratio: 4 / 3;
  }
  .heritage-reference-controls button {
    width: 64px;
    height: 56px;
  }
  .admissions-reference-content {
    width: min(100% - 32px, 760px);
    padding: 60px 0 90px;
  }
  .admissions-reference-copy p {
    margin-bottom: 36px;
    font-size: 21px;
  }
  .admissions-reference-cards {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .admissions-reference-card span {
    font-size: clamp(26px, 8vw, 44px);
  }
  .baobab-form-grid {
    grid-template-columns: 1fr;
  }
  .primary-reference-intro,
  .primary-reference-feature,
  .primary-reference-gallery__header {
    width: min(100% - 32px, 760px);
  }
  .primary-reference-intro p {
    font-size: 21px;
  }
  .primary-reference-feature,
  .primary-reference-feature--image-left {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 78px;
  }
  .primary-reference-feature--image-left img {
    order: 2;
    min-height: 420px;
  }
  .primary-reference-feature--image-left .primary-reference-feature__copy {
    order: 1;
  }
  .primary-reference-feature--image-left .primary-reference-feature__copy--center {
    justify-self: stretch;
    text-align: right;
  }
  .primary-reference-feature__copy h2 {
    font-size: clamp(38px, 11vw, 64px);
  }
  .primary-reference-feature__copy p {
    font-size: 21px;
  }
  .primary-reference-gallery__track img {
    flex-basis: 84vw;
    height: 300px;
  }
  .school-reference-intro,
  .school-reference-video,
  .school-reference-feature,
  .school-reference-gallery h2 {
    width: min(100% - 32px, 760px);
  }
  .school-reference-intro p {
    font-size: 21px;
  }
  .school-reference-feature,
  .school-reference-feature--reverse {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 80px;
  }
  .school-reference-feature--reverse img {
    order: 2;
  }
  .school-reference-feature--reverse .school-reference-feature__copy {
    order: 1;
  }
  .school-reference-feature__copy h2 {
    font-size: clamp(38px, 11vw, 64px);
  }
  .school-reference-feature__copy p {
    font-size: 21px;
  }
  .school-reference-gallery__grid {
    grid-template-columns: 1fr;
  }
  .school-reference-gallery__grid img {
    height: 300px;
  }
}

/* Client typography standard: larger desktop type with compact mobile type. */
body,
button,
input,
textarea,
select,
p,
li,
a,
span,
label,
td,
th,
blockquote,
figcaption,
.entry-content,
.site-footer,
.site-footer *,
.footer-menu,
.footer-menu a,
.horizontal-menu > li > a,
.horizontal-menu .sub-menu a,
.drawer-menu--wp > li > a,
.drawer-menu--wp .sub-menu a,
.drawer-tab,
.header-action,
.home-hero__summary,
.school-reference-intro p,
.school-reference-feature__copy p,
.primary-reference-intro p,
.primary-reference-feature__copy p {
  font-family: var(--font-sans) !important;
  font-size: var(--baobab-body-size-desktop, 17.25px) !important;
  font-weight: 300;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-hero__title,
.school-reference-hero h1,
.principal-reference-hero h1,
.about-reference-hero h1,
.heritage-reference-hero h1,
.admissions-reference-hero h1,
.primary-reference-hero h1,
.home-hero h1,
.section-heading,
.baobab-kicker,
.entry-content h2,
.entry-content h3,
.primary-reference-feature__copy h2,
.school-reference-feature__copy h2,
.school-reference-gallery h2,
.admissions-reference-card span {
  font-family: var(--font-heading) !important;
  font-size: var(--baobab-heading-size-desktop, 30.15px) !important;
  line-height: 1.2;
  letter-spacing: 0;
}

@media (max-width: 767px) {
  body,
  button,
  input,
  textarea,
  select,
  p,
  li,
  a,
  span,
  label,
  td,
  th,
  blockquote,
  figcaption,
  .entry-content,
  .site-footer,
  .site-footer *,
  .footer-menu,
  .footer-menu a,
  .horizontal-menu > li > a,
  .horizontal-menu .sub-menu a,
  .drawer-menu--wp > li > a,
  .drawer-menu--wp .sub-menu a,
  .drawer-tab,
  .header-action,
  .home-hero__summary,
  .school-reference-intro p,
  .school-reference-feature__copy p,
  .primary-reference-intro p,
  .primary-reference-feature__copy p {
    font-size: var(--baobab-body-size-mobile, 12px) !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .page-hero__title,
  .school-reference-hero h1,
  .principal-reference-hero h1,
  .about-reference-hero h1,
  .heritage-reference-hero h1,
  .admissions-reference-hero h1,
  .primary-reference-hero h1,
  .home-hero h1,
  .section-heading,
  .baobab-kicker,
  .entry-content h2,
  .entry-content h3,
  .primary-reference-feature__copy h2,
  .school-reference-feature__copy h2,
  .school-reference-gallery h2,
  .admissions-reference-card span {
    font-size: var(--baobab-heading-size-mobile, 22.5px) !important;
  }
}

.leadership-reference-page .governance-group h3,
.gallery-reference-page .baobab-kicker {
  font-family: var(--font-heading) !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.15;
  letter-spacing: 0;
}
.leadership-reference-page .governance-card h4,
.staff-governance-card h4 {
  font-family: var(--font-sans) !important;
  font-size: clamp(18px, 1.2vw, 22px) !important;
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}
.leadership-reference-page .governance-card p,
.staff-governance-card p,
.leadership-reference-page .staff-card__bio,
.leadership-reference-page .staff-card__bio p {
  font-family: var(--font-sans) !important;
  font-size: clamp(14px, .95vw, 17px) !important;
  line-height: 1.45;
  letter-spacing: 0;
}
.leadership-reference-page .governance-card__placeholder {
  font-family: var(--font-sans) !important;
  font-size: clamp(36px, 3vw, 56px) !important;
  font-weight: 300;
}
.gallery-reference-page .facility-card figcaption,
.gallery-reference-page .learning-support-card figcaption {
  font-family: var(--font-sans) !important;
  font-size: clamp(14px, .95vw, 17px) !important;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}
.gallery-reference-copy .entry-content .baobab-kicker,
.gallery-reference-copy .entry-content h2 + .wp-block-shortcode,
.gallery-reference-copy .entry-content .facilities-gallery-section,
.gallery-reference-copy .entry-content .learning-support-gallery-section {
  display: none !important;
}

@media (max-width: 767px) {
  .leadership-reference-page .governance-card h4,
  .staff-governance-card h4 {
    font-size: 18px !important;
  }
  .leadership-reference-page .governance-card p,
  .staff-governance-card p,
  .leadership-reference-page .staff-card__bio,
  .leadership-reference-page .staff-card__bio p,
  .gallery-reference-page .facility-card figcaption,
  .gallery-reference-page .learning-support-card figcaption {
    font-size: 14px !important;
  }
}
