:root {
  --blue-950: #071a34;
  --blue-900: #0b2852;
  --blue-800: #12366c;
  --blue-700: #174b88;
  --blue-100: #eaf2fb;
  --gold-500: #f6c915;
  --gold-400: #ffda45;
  --gold-100: #fff8d8;
  --green-600: #2f8e43;
  --purple-600: #7a2b86;
  --pink-600: #d31967;
  --ink: #152033;
  --muted: #5f6c7c;
  --line: #dfe5ec;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-blue: #edf4fb;
  --shadow-sm: 0 0.35rem 1rem rgba(7, 26, 52, 0.08);
  --shadow-md: 0 1.25rem 3.75rem rgba(7, 26, 52, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: 75rem;
  --page-gutter: clamp(1rem, 3.5vw, 3rem);
  --notice-height: 2.7rem;
  --header-height: 5.75rem;
  --fixed-navigation-height:
    calc(var(--notice-height) + var(--header-height));
  --chatbot-edge: clamp(0.85rem, 2.5vw, 1.5rem);
  --chatbot-size: 4rem;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top:
    calc(var(--fixed-navigation-height) + 1rem);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--fixed-navigation-height);
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Aptos,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue-950);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.15rem, 4.3vw, 3.8rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  letter-spacing: -0.018em;
}

::selection {
  background: var(--gold-400);
  color: var(--blue-950);
}

:focus-visible {
  outline: 0.2rem solid var(--gold-500);
  outline-offset: 0.2rem;
}

.container {
  width: min(
    calc(100% - (var(--page-gutter) * 2)),
    var(--container)
  );
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1400;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.45rem;
  background: var(--gold-400);
  color: var(--blue-950);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.3rem;
  height: 0.18rem;
  border-radius: 1rem;
  background: var(--gold-500);
  content: "";
}

.eyebrow--light {
  color: #ffffff;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 0.125rem solid transparent;
  border-radius: 100vmax;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-0.12rem);
}

.button--small {
  min-height: 2.8rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.button--primary {
  background: var(--gold-500);
  color: var(--blue-950);
  box-shadow:
    0 0.65rem 1.4rem rgba(246, 201, 21, 0.2);
}

.button--primary:hover {
  background: var(--gold-400);
  box-shadow:
    0 0.9rem 1.8rem rgba(246, 201, 21, 0.3);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 26, 52, 0.22);
  color: #ffffff;
  backdrop-filter: blur(0.35rem);
}

.button--ghost:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--blue-950);
}

.button--outline {
  border-color: var(--blue-800);
  background: transparent;
  color: var(--blue-800);
}

.button--outline:hover {
  background: var(--blue-800);
  color: #ffffff;
}

.button--light {
  background: #ffffff;
  color: var(--blue-900);
}

.button--light:hover {
  background: var(--gold-400);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-800);
  font-weight: 800;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 0.14rem;
  text-underline-offset: 0.35rem;
}

.text-link:hover {
  color: var(--purple-600);
}

/*
 * Fixed language and contact bar
 */
.site-notice {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  left: 0;
  height: var(--notice-height);
  background: var(--blue-950);
  color: #ffffff;
  font-size: 0.8rem;
}

.site-notice__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-notice__contacts {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1.4rem;
}

.site-notice__contacts a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  text-decoration: none;
}

.site-notice__contacts a:hover {
  color: var(--gold-400);
}

.site-notice__contacts svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
}

.language-switcher__label {
  margin-right: 0.25rem;
  color: #bfcee1;
}

.language-switcher__button {
  padding: 0.2rem 0.25rem;
  border: 0;
  background: transparent;
  color: #bfcee1;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switcher__button:hover,
.language-switcher__button.is-active {
  color: var(--gold-400);
}

/*
 * Fixed navigation
 */
.site-header {
  position: fixed;
  z-index: 1190;
  top: var(--notice-height);
  right: 0;
  left: 0;
  border-bottom:
    1px solid rgba(7, 26, 52, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 0.35rem 1.4rem rgba(7, 26, 52, 0.06);
  backdrop-filter: blur(1rem);
}

.site-header__inner {
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue-950);
  text-decoration: none;
}

.brand__logo {
  width: 4.3rem;
  height: 4.3rem;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.12;
}

.brand__text strong {
  color: var(--purple-600);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.55rem;
}

.brand__text span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.7vw, 1.5rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul a {
  position: relative;
  display: inline-flex;
  padding: 0.6rem 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav ul a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 0.15rem;
  border-radius: 1rem;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav ul a:hover::after,
.primary-nav ul a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border: 0.1rem solid var(--line);
  border-radius: 0.65rem;
  background: #ffffff;
  color: var(--blue-950);
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle__icon {
  display: grid;
  width: 1.4rem;
  gap: 0.26rem;
}

.menu-toggle__icon span {
  width: 100%;
  height: 0.13rem;
  border-radius: 1rem;
  background: currentColor;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__icon span:first-child {
  transform:
    translateY(0.39rem)
    rotate(45deg);
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__icon span:last-child {
  transform:
    translateY(-0.39rem)
    rotate(-45deg);
}

/*
 * Hero
 */
.hero {
  position: relative;
  min-height: clamp(38rem, 75vh, 49rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
}

.hero__media img {
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.015);
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 42, 0.96) 0%,
      rgba(8, 36, 72, 0.84) 43%,
      rgba(7, 26, 52, 0.27) 76%,
      rgba(7, 26, 52, 0.15) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 26, 52, 0.54),
      transparent 45%
    );
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12rem;
  bottom: -22rem;
  width: 44rem;
  height: 44rem;
  border:
    5rem solid rgba(246, 201, 21, 0.12);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  display: grid;
  min-height: inherit;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 7.5rem;
}

.hero__content {
  max-width: 49rem;
}

.hero h1 {
  max-width: 47rem;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.hero__lead {
  max-width: 43rem;
  margin-bottom: 2.1rem;
  color: #e8f0f8;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__promise {
  position: absolute;
  right:
    max(
      var(--page-gutter),
      calc((100vw - var(--container)) / 2)
    );
  bottom: 2.4rem;
  width:
    min(
      24rem,
      calc(100% - (var(--page-gutter) * 2))
    );
  padding: 1.15rem 1.3rem 1.15rem 4rem;
  margin: 0;
  border-left:
    0.28rem solid var(--gold-500);
  background: rgba(6, 27, 55, 0.82);
  color: #ffffff;
  backdrop-filter: blur(0.7rem);
}

.hero__promise-mark {
  position: absolute;
  top: 0.55rem;
  left: 1.1rem;
  color: var(--gold-400);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 4rem;
  line-height: 1;
}

.hero__promise p {
  margin-bottom: 0.2rem;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__promise span:last-child {
  color: #c7d5e6;
  font-size: 0.82rem;
}

/*
 * Quick links
 */
.quick-links {
  position: relative;
  z-index: 10;
  margin-top: -1.2rem;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.quick-link {
  position: relative;
  display: grid;
  min-height: 8.5rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color var(--transition),
    color var(--transition);
}

.quick-link:last-child {
  border-right: 0;
}

.quick-link:hover {
  background: var(--blue-900);
  color: #ffffff;
}

.quick-link__icon {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--blue-800);
}

.quick-link__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.quick-link strong,
.quick-link small {
  display: block;
}

.quick-link strong {
  margin-bottom: 0.2rem;
  font-size: 0.94rem;
}

.quick-link small {
  color: var(--muted);
  font-size: 0.76rem;
}

.quick-link:hover small {
  color: #c7d5e6;
}

.quick-link__arrow {
  color: var(--blue-700);
  font-size: 1.35rem;
  transition: transform var(--transition);
}

.quick-link:hover .quick-link__arrow {
  color: var(--gold-400);
  transform: translateX(0.2rem);
}

/*
 * Shared sections
 */
.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section--soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3.2rem;
}

.section-heading h2 {
  margin-bottom: 1.15rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(18rem, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.section-heading--split h2,
.section-heading--split .eyebrow {
  margin-bottom: 0;
}

/*
 * Welcome section
 */
.split-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.image-frame {
  position: relative;
}

.image-frame::before {
  position: absolute;
  z-index: -1;
  top: -1.25rem;
  left: -1.25rem;
  width: 45%;
  height: 50%;
  border-radius:
    var(--radius-md) 0 0 0;
  background: var(--gold-500);
  content: "";
}

.image-frame picture,
.image-frame img {
  width: 100%;
  border-radius: var(--radius-md);
}

.image-frame img {
  aspect-ratio: 1.32;
  object-fit: cover;
}

.image-frame__caption {
  position: absolute;
  right: -1.4rem;
  bottom: -1.4rem;
  width: min(19rem, 80%);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--blue-900);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.image-frame__caption strong,
.image-frame__caption span {
  display: block;
}

.image-frame__caption strong {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.1rem;
}

.image-frame__caption span {
  margin-top: 0.25rem;
  color: #c7d5e6;
  font-size: 0.82rem;
}

.section-copy h2 {
  margin-bottom: 1.4rem;
}

.section-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.signature-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}

.signature-line > span {
  width: 0.3rem;
  height: 3.4rem;
  border-radius: 1rem;
  background:
    linear-gradient(
      var(--gold-500),
      var(--green-600)
    );
}

.signature-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.signature-line strong {
  color: var(--blue-900);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
 * Learning section
 */
.learning {
  overflow: hidden;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.learning-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.learning-card::after {
  position: absolute;
  z-index: -1;
  right: -5rem;
  bottom: -6rem;
  width: 14rem;
  height: 14rem;
  border:
    2rem solid rgba(18, 54, 108, 0.05);
  border-radius: 50%;
  content: "";
}

.learning-card:hover {
  border-color: rgba(18, 54, 108, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.35rem);
}

.learning-card--nursery {
  border-top:
    0.35rem solid var(--pink-600);
}

.learning-card--primary {
  border-top:
    0.35rem solid var(--blue-700);
}

.learning-card--approach {
  border-top:
    0.35rem solid var(--green-600);
}

.learning-card__number {
  margin-bottom: 3rem;
  color: var(--blue-100);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 1;
}

.learning-card__age {
  margin-bottom: 0.5rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.learning-card h3 {
  margin-bottom: 1rem;
}

.learning-card > p:not(.learning-card__age) {
  color: var(--muted);
}

.learning-card .text-link {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.6rem, 3vw, 2.4rem);
}

.school-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.2rem 0 0;
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.school-facts div {
  padding: 0.4rem 1.6rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.school-facts div:last-child {
  border-right: 0;
}

.school-facts dt {
  color: var(--blue-800);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.school-facts dd {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*
 * Dark Values section
 */
.values {
  position: relative;
  overflow: hidden;
  border-bottom:
    0.25rem solid var(--gold-500);
  background:
    linear-gradient(
      135deg,
      var(--blue-950) 0%,
      var(--blue-900) 58%,
      var(--blue-800) 100%
    );
  color: #ffffff;
  isolation: isolate;
}

.values::before {
  position: absolute;
  z-index: -1;
  top: -14rem;
  right: -10rem;
  width: 32rem;
  height: 32rem;
  border:
    4.5rem solid rgba(246, 201, 21, 0.1);
  border-radius: 50%;
  content: "";
}

.values::after {
  position: absolute;
  z-index: -1;
  bottom: -12rem;
  left: -9rem;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: rgba(23, 75, 136, 0.28);
  content: "";
  filter: blur(0.2rem);
}

.values .container {
  position: relative;
  z-index: 1;
}

.values .eyebrow {
  color: var(--gold-400);
}

.values .eyebrow::before {
  background: var(--gold-500);
}

.values .section-heading h2 {
  color: #ffffff;
}

.values .section-heading p:last-child {
  color: #d4e0ed;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.8rem 1.3rem;
  border:
    1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    0 0.7rem 1.8rem rgba(2, 12, 27, 0.14);
  backdrop-filter: blur(0.5rem);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.value-card:hover {
  border-color:
    rgba(246, 201, 21, 0.48);
  background:
    rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1rem 2.4rem rgba(2, 12, 27, 0.22);
  transform: translateY(-0.28rem);
}

.value-card > span {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 201, 21, 0.17);
  color: var(--gold-400);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
}

.value-card:nth-child(2) > span {
  background: rgba(214, 124, 226, 0.16);
  color: #e8b1f0;
}

.value-card:nth-child(3) > span {
  background: rgba(81, 207, 102, 0.15);
  color: #8ce99a;
}

.value-card:nth-child(4) > span {
  background: rgba(116, 192, 252, 0.15);
  color: #a5d8ff;
}

.value-card:nth-child(5) > span {
  background: rgba(240, 101, 149, 0.16);
  color: #faa2c1;
}

.value-card h3 {
  margin-bottom: 0.65rem;
  color: #ffffff;
  font-size: 1.25rem;
}

.value-card p {
  margin-bottom: 0;
  color: #d4e0ed;
  font-size: 0.9rem;
}

/*
 * School Life
 */
.school-life {
  background: var(--blue-950);
  color: #ffffff;
}

.school-life .section-heading h2,
.school-life .section-heading p:last-child {
  color: #ffffff;
}

.school-life .section-heading p:last-child {
  color: #c7d5e6;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows:
    repeat(2, minmax(15rem, 20rem));
  gap: 1.25rem;
}

.story-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  isolation: isolate;
}

.story-card--wide {
  grid-row: 1 / span 2;
}

.story-card picture,
.story-card img {
  width: 100%;
  height: 100%;
}

.story-card img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-card:hover img {
  transform: scale(1.04);
}

.story-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(5, 20, 42, 0.92),
      transparent 58%
    );
  content: "";
}

.story-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  color: #ffffff;
}

.story-card__content p {
  margin-bottom: 0.35rem;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card__content h3 {
  margin-bottom: 0;
  color: #ffffff;
}

/*
 * Updates
 */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.update-card {
  min-height: 19rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.update-card__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 4.5rem;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.update-card__label span:first-child {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow:
    0 0 0 0.35rem var(--gold-100);
}

.update-card:nth-child(2)
.update-card__label span:first-child {
  background: var(--green-600);
  box-shadow:
    0 0 0 0.35rem #e8f6eb;
}

.update-card:nth-child(3)
.update-card__label span:first-child {
  background: var(--purple-600);
  box-shadow:
    0 0 0 0.35rem #f7eafa;
}

.update-card h3 {
  margin-bottom: 0.8rem;
}

.update-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/*
 * Digital service
 */
.digital-service {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--blue-800);
  color: #ffffff;
  isolation: isolate;
}

.digital-service::after {
  position: absolute;
  z-index: -1;
  top: -11rem;
  right: -6rem;
  width: 29rem;
  height: 29rem;
  border:
    4.5rem solid rgba(246, 201, 21, 0.13);
  border-radius: 50%;
  content: "";
}

.digital-service__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 4rem;
}

.digital-service h2 {
  max-width: 50rem;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.digital-service p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
  color: #d4e0ed;
  font-size: 1.05rem;
}

/*
 * Admissions
 */
.admissions {
  background: var(--gold-100);
}

.admissions__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 4rem;
}

.admissions h2 {
  margin-bottom: 1rem;
}

.admissions p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.admissions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/*
 * Contact
 */
.section--contact {
  background: #fffdf5;
}

.contact-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.75fr)
    minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-intro h2 {
  margin-bottom: 1.1rem;
}

.contact-intro > p:not(.eyebrow) {
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
  font-style: normal;
}

.contact-details__item {
  min-height: 10.5rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details__item > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details__item a {
  display: block;
  color: var(--blue-950);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 0.3rem;
}

.contact-details__item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/*
 * Footer
 */
.site-footer {
  padding-top: 4.5rem;
  background: var(--blue-950);
  color: #c7d5e6;
}

.site-footer__grid {
  display: grid;
  grid-template-columns:
    1.6fr
    repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 3.5rem;
}

.site-footer h2 {
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.6rem;
}

.site-footer a {
  color: #c7d5e6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-400);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand img {
  width: 3.9rem;
  height: 3.9rem;
  border-radius: 50%;
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
}

.site-footer__brand strong {
  color: #ffffff;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.35rem;
}

.site-footer__brand span {
  color: #9db0c7;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__brand p {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
  color: var(--gold-400);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.05rem;
}

.site-footer__contact-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--gold-400) !important;
  font-weight: 800;
}

.site-footer__bottom {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top:
    1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

/*
 * Fixed chatbot launcher
 */
.chatbot-launcher {
  position: fixed;
  z-index: 1300;
  right:
    max(
      var(--chatbot-edge),
      env(safe-area-inset-right, 0px)
    );
  bottom:
    max(
      var(--chatbot-edge),
      env(safe-area-inset-bottom, 0px)
    );
  display: grid;
  width: var(--chatbot-size);
  height: var(--chatbot-size);
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue-800);
  color: #ffffff;
  box-shadow:
    0 0.9rem 2.3rem rgba(7, 26, 52, 0.28),
    0 0 0 0.24rem rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.chatbot-launcher:hover {
  background: var(--blue-700);
  box-shadow:
    0 1.1rem 2.7rem rgba(7, 26, 52, 0.34),
    0 0 0 0.24rem rgba(255, 255, 255, 0.95);
  transform: translateY(-0.18rem);
}

.chatbot-launcher:active {
  transform:
    translateY(0)
    scale(0.97);
}

.chatbot-launcher svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: currentColor;
}

.chatbot-launcher__dot {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 0.16rem solid #ffffff;
  border-radius: 50%;
  background: #37b24d;
}

body.chatbot-open .chatbot-launcher {
  background: var(--gold-500);
  color: var(--blue-950);
}

/*
 * Chatbot panel
 */
.chatbot-panel {
  position: fixed;
  z-index: 1290;
  right:
    max(
      var(--chatbot-edge),
      env(safe-area-inset-right, 0px)
    );
  bottom:
    calc(
      max(
        var(--chatbot-edge),
        env(safe-area-inset-bottom, 0px)
      )
      + var(--chatbot-size)
      + 0.85rem
    );
  display: flex;
  width:
    min(
      25rem,
      calc(100vw - (var(--chatbot-edge) * 2))
    );
  height:
    min(
      38rem,
      calc(
        100vh
        - var(--fixed-navigation-height)
        - var(--chatbot-size)
        - (var(--chatbot-edge) * 2)
        - 1.85rem
      )
    );
  height:
    min(
      38rem,
      calc(
        100dvh
        - var(--fixed-navigation-height)
        - var(--chatbot-size)
        - (var(--chatbot-edge) * 2)
        - 1.85rem
      )
    );
  min-height: 20rem;
  flex-direction: column;
  overflow: hidden;
  border:
    1px solid rgba(7, 26, 52, 0.12);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow:
    0 1.5rem 4.5rem rgba(7, 26, 52, 0.3);
  animation:
    chatbot-panel-in 180ms ease-out;
}

.chatbot-panel[hidden] {
  display: none !important;
}

@keyframes chatbot-panel-in {
  from {
    opacity: 0;
    transform:
      translateY(0.75rem)
      scale(0.985);
  }

  to {
    opacity: 1;
    transform:
      translateY(0)
      scale(1);
  }
}

.chatbot-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(
      135deg,
      var(--blue-950),
      var(--blue-700)
    );
  color: #ffffff;
}

.chatbot-header__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-header__logo {
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  border:
    0.14rem solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
}

.chatbot-header__text {
  min-width: 0;
}

.chatbot-header__text h2 {
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-header__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.18rem 0 0;
  color: #dce8f4;
  font-size: 0.73rem;
  line-height: 1.35;
}

.chatbot-header__status
> span:first-child {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #51cf66;
  box-shadow:
    0 0 0 0.18rem rgba(81, 207, 102, 0.18);
}

.chatbot-close {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border:
    1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.chatbot-close:hover {
  border-color:
    rgba(255, 255, 255, 0.7);
  background:
    rgba(255, 255, 255, 0.18);
  transform: rotate(4deg);
}

.chatbot-close svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.chatbot-messages {
  display: flex;
  min-height: 6rem;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem;
  background:
    linear-gradient(
      180deg,
      #f4f7fb 0%,
      #ffffff 100%
    );
  overscroll-behavior: contain;
  scrollbar-color: #b9c5d3 transparent;
  scrollbar-width: thin;
}

.chatbot-message {
  width: fit-content;
  max-width: 88%;
  padding: 0.72rem 0.85rem;
  border-radius: 0.95rem;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.55;
}

.chatbot-message p {
  margin: 0;
}

.chatbot-message--assistant {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.25rem;
  background: #ffffff;
  color: var(--ink);
  box-shadow:
    0 0.35rem 0.9rem rgba(7, 26, 52, 0.06);
}

.chatbot-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
  background: var(--blue-800);
  color: #ffffff;
}

.chatbot-suggestions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem 0;
  overflow-x: auto;
  background: #ffffff;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.chatbot-suggestions::-webkit-scrollbar {
  display: none;
}

.chatbot-suggestion {
  flex: 0 0 auto;
  padding: 0.5rem 0.7rem;
  border: 1px solid #c8d5e3;
  border-radius: 100vmax;
  background: var(--surface-blue);
  color: var(--blue-800);
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.chatbot-suggestion:hover {
  border-color: var(--blue-700);
  background: var(--blue-800);
  color: #ffffff;
}

.chatbot-form {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
}

.chatbot-input {
  width: 100%;
  min-width: 0;
  height: 2.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c8d5e3;
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.chatbot-input::placeholder {
  color: #7a8796;
}

.chatbot-input:focus {
  border-color: var(--blue-700);
  box-shadow:
    0 0 0 0.2rem rgba(23, 75, 136, 0.14);
}

.chatbot-input:disabled {
  background: #eef1f5;
  cursor: not-allowed;
}

.chatbot-send {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0.75rem;
  background: var(--gold-500);
  color: var(--blue-950);
  cursor: pointer;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.chatbot-send:hover {
  background: var(--gold-400);
  transform: translateY(-0.08rem);
}

.chatbot-send svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.chatbot-disclaimer {
  flex: 0 0 auto;
  padding: 0 0.9rem 0.75rem;
  margin: 0;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
}

/*
 * Smaller desktop and tablet
 */
@media (max-width: 68rem) {
  .brand__text span {
    display: none;
  }

  .primary-nav {
    gap: 0.8rem;
  }

  .primary-nav ul {
    gap: 0.75rem;
  }

  .quick-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-link:nth-child(2) {
    border-right: 0;
  }

  .quick-link:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
 * Tablet and mobile navigation
 */
@media (max-width: 56rem) {
  :root {
    --header-height: 4.9rem;
  }

  body.menu-open::before {
    position: fixed;
    z-index: 1180;
    top: var(--fixed-navigation-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(7, 26, 52, 0.48);
    content: "";
  }

  .brand__logo {
    width: 3.7rem;
    height: 3.7rem;
  }

  .brand__text span {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    align-items: stretch;
  }

  .no-js .site-header__inner {
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding-block: 0.6rem;
  }

  .no-js .primary-nav {
    padding-bottom: 0.8rem;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height:
      calc(
        100vh
        - var(--fixed-navigation-height)
      );
    max-height:
      calc(
        100dvh
        - var(--fixed-navigation-height)
      );
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    overscroll-behavior: contain;
  }

  .js .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav ul a {
    display: flex;
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-nav ul a::after {
    display: none;
  }

  .primary-nav ul a[aria-current="page"] {
    color: var(--blue-800);
    font-weight: 850;
  }

  .nav-cta {
    align-self: flex-start;
    margin-top: 0.6rem;
  }

  .hero__inner {
    align-items: start;
    padding-top: 6rem;
    padding-bottom: 9rem;
  }

  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(5, 20, 42, 0.94),
        rgba(8, 36, 72, 0.68)
      ),
      linear-gradient(
        0deg,
        rgba(7, 26, 52, 0.62),
        transparent 55%
      );
  }

  .hero__promise {
    right: var(--page-gutter);
    left: var(--page-gutter);
    width: auto;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .image-frame {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    min-height: 23rem;
  }

  .learning-card__number {
    margin-bottom: 1.5rem;
  }

  .school-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .school-facts div:nth-child(2) {
    border-right: 0;
  }

  .school-facts div:nth-child(-n + 2) {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .school-facts div:nth-child(n + 3) {
    padding-top: 1.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-heading--split h2,
  .section-heading--split .eyebrow {
    margin-bottom: 1rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-rows:
      repeat(3, minmax(19rem, 28rem));
  }

  .story-card--wide {
    grid-row: auto;
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }

  .update-card {
    min-height: auto;
  }

  .update-card__label {
    margin-bottom: 2.5rem;
  }

  .digital-service__inner,
  .admissions__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .digital-service__inner .button,
  .admissions__actions {
    justify-self: start;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chatbot-panel {
    min-height: 17rem;
  }
}

/*
 * Phone
 */
@media (max-width: 40rem) {
  :root {
    --page-gutter: 1rem;
    --notice-height: 2.9rem;
    --chatbot-edge: 0.85rem;
    --chatbot-size: 3.65rem;
  }

  body.chatbot-open {
    overflow: hidden;
  }

  .container {
    width:
      min(
        calc(100% - (var(--page-gutter) * 2)),
        var(--container)
      );
  }

  .site-notice__inner {
    min-height: var(--notice-height);
  }

  .site-notice__email,
  .language-switcher__label {
    display: none !important;
  }

  .site-notice__contacts {
    gap: 0.7rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand__logo {
    width: 3.45rem;
    height: 3.45rem;
  }

  .brand__text strong {
    font-size: 1.18rem;
  }

  .brand__text span {
    max-width: 8rem;
    font-size: 0.56rem;
  }

  .menu-toggle__text {
    display: none;
  }

  .menu-toggle {
    padding: 0.7rem;
  }

  .hero {
    min-height: 43rem;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__inner {
    padding-top: 4.3rem;
  }

  .hero h1 {
    font-size:
      clamp(2.55rem, 13vw, 3.7rem);
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero__actions,
  .hero__actions .button,
  .admissions__actions,
  .admissions__actions .button {
    width: 100%;
  }

  .hero__promise {
    right: 1rem;
    bottom: 1.2rem;
    left: 1rem;
  }

  .quick-links {
    margin-top: 0;
    padding-top: 1rem;
    background: var(--surface-soft);
  }

  .quick-links__grid {
    grid-template-columns: 1fr;
  }

  .quick-link {
    min-height: 6.8rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-link:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 4.5rem;
  }

  .section-heading {
    margin-bottom: 2.4rem;
  }

  .image-frame::before {
    top: -0.7rem;
    left: -0.7rem;
  }

  .image-frame__caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1.5rem);
    margin: -2rem auto 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1rem;
  }

  .value-card > span {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .value-card h3,
  .value-card p {
    margin-bottom: 0;
  }

  .story-grid {
    grid-template-rows: repeat(3, 20rem);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details__item {
    min-height: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 1rem;
  }

  .chatbot-launcher {
    box-shadow:
      0 0.75rem 2rem rgba(7, 26, 52, 0.3),
      0 0 0 0.2rem rgba(255, 255, 255, 0.95);
  }

  .chatbot-launcher svg {
    width: 1.65rem;
    height: 1.65rem;
  }

  .chatbot-panel {
    right:
      max(
        var(--chatbot-edge),
        env(safe-area-inset-right, 0px)
      );
    left:
      max(
        var(--chatbot-edge),
        env(safe-area-inset-left, 0px)
      );
    width: auto;
    height:
      min(
        35rem,
        calc(
          100vh
          - var(--fixed-navigation-height)
          - var(--chatbot-size)
          - (var(--chatbot-edge) * 2)
          - 1.5rem
        )
      );
    height:
      min(
        35rem,
        calc(
          100dvh
          - var(--fixed-navigation-height)
          - var(--chatbot-size)
          - (var(--chatbot-edge) * 2)
          - 1.5rem
        )
      );
    min-height: 16rem;
    border-radius: 1rem;
  }

  .chatbot-header {
    padding: 0.85rem 0.9rem;
  }

  .chatbot-header__logo {
    width: 2.6rem;
    height: 2.6rem;
  }

  .chatbot-messages {
    padding: 0.85rem;
  }

  .chatbot-message {
    max-width: 92%;
  }

  .chatbot-suggestions {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .chatbot-form {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .chatbot-disclaimer {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

/*
 * Very narrow phone
 */
@media (max-width: 23rem) {
  .site-notice__contacts a span {
    display: none;
  }

  .brand__text span {
    display: none;
  }

  .chatbot-header__text h2 {
    font-size: 0.92rem;
  }

  .chatbot-header__status {
    font-size: 0.68rem;
  }
}

/*
 * Short screens
 */
@media (max-height: 34rem) {
  .chatbot-panel {
    min-height: 0;
  }

  .chatbot-suggestions,
  .chatbot-disclaimer {
    display: none;
  }
}

/*
 * Short landscape phone and tablet
 */
@media (max-height: 32rem)
and (max-width: 56rem) {
  .chatbot-panel {
    top:
      max(
        0.55rem,
        env(safe-area-inset-top, 0px)
      );
    bottom:
      calc(
        max(
          var(--chatbot-edge),
          env(safe-area-inset-bottom, 0px)
        )
        + var(--chatbot-size)
        + 0.65rem
      );
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .chatbot-header {
    padding-block: 0.65rem;
  }

  .chatbot-header__logo {
    width: 2.25rem;
    height: 2.25rem;
  }

  .chatbot-messages {
    min-height: 0;
    padding-block: 0.65rem;
  }

  .chatbot-form {
    padding-block: 0.55rem;
  }
}

/*
 * Reduced-motion accessibility
 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/*
 * Print
 */
@media print {
  .site-notice,
  .menu-toggle,
  .hero__actions,
  .quick-links,
  .digital-service,
  .admissions__actions,
  .chatbot-launcher,
  .chatbot-panel {
    display: none !important;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
    background: #ffffff;
  }

  .hero__media,
  .hero__overlay,
  .hero__promise {
    display: none;
  }

  .hero h1,
  .hero__lead,
  .eyebrow--light {
    color: #000000;
  }
}