@import "tailwindcss";

:root {
  --background: #fbf9f5;
  --foreground: #1e242b;

  /* School Design System Palette inspired by Frame 1 classroom */
  --school-navy: #0c1b33;
  --school-blue: #1a365d;
  --school-gold: #c99738;
  --school-gold-light: #e6b85c;
  --school-cream: #fbf9f5;
  --school-cream-alt: #f4efe6;
  --school-charcoal: #1e242b;
  --school-muted: #64748b;
  --school-wood: #8b5a2b;
  --school-border: rgba(201, 151, 56, 0.25);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-sans), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: var(--font-geist-mono);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #fbf9f5;
  color: #1e242b;
  font-family: var(--font-sans);
}

.academy-odyssey-section {
  --odyssey-white: #fff;
  --odyssey-line: rgba(255, 255, 255, 0.2);
  --odyssey-glass: rgba(255, 255, 255, 0.1);
  font-family: var(--font-odyssey-inter), Arial, sans-serif;
}

.odyssey-backgrounds,
.odyssey-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.odyssey-backgrounds {
  z-index: 0;
  overflow: hidden;
  background: #08080a;
}

.odyssey-background {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 850ms ease, transform 1800ms ease;
}

.odyssey-background.is-visible {
  opacity: 1;
  transform: scale(1);
}

.odyssey-preloader {
  position: absolute;
  z-index: 30;
  inset: 0;
  overflow: hidden;
  background: #08080a;
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 900ms;
}

.odyssey-preloader.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.odyssey-preloader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.odyssey-preloader-shade,
.odyssey-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.odyssey-preloader-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 66%);
}

.odyssey-preloader-label {
  position: absolute;
  bottom: clamp(30px, 7vh, 70px);
  left: clamp(24px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.odyssey-preloader-label span + span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
}

.odyssey-floating-logo {
  position: absolute;
  z-index: 40;
  top: 50%;
  left: 50%;
  width: 59px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.5);
  object-fit: contain;
  padding: 4px;
  transform: translate(-50%, -50%);
  transition:
    top 1800ms cubic-bezier(0.16, 1, 0.3, 1),
    left 1800ms cubic-bezier(0.16, 1, 0.3, 1),
    width 1800ms cubic-bezier(0.16, 1, 0.3, 1),
    height 1800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.odyssey-floating-logo.is-docked {
  top: 34px;
  left: clamp(27px, 4vw, 54px);
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
}

.odyssey-preloader-count {
  position: absolute;
  z-index: 41;
  right: clamp(24px, 6vw, 92px);
  bottom: clamp(24px, 5vh, 48px);
  display: flex;
  align-items: flex-start;
  color: #fff;
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 100;
  line-height: 0.9;
  letter-spacing: -0.08em;
  transition:
    opacity 650ms ease,
    filter 650ms ease,
    transform 650ms ease;
}

.odyssey-percent {
  margin: 5px 0 0 4px;
  font-size: 0.28em;
  letter-spacing: 0;
}

.odyssey-preloader-count.is-complete {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-24px);
}

.odyssey-scene-canvas,
.odyssey-portal-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.odyssey-scene-canvas {
  z-index: 2;
  opacity: 0;
  transition: opacity 500ms ease;
}

.odyssey-shade {
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 36%,
    rgba(0, 0, 0, 0.2) 58%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.odyssey-portal-canvas {
  z-index: 4;
}

.odyssey-interface {
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.odyssey-interface.intro-ready {
  opacity: 1;
  pointer-events: auto;
}

.odyssey-interface.is-transitioning .odyssey-facilities,
.odyssey-interface.is-transitioning .odyssey-editorial,
.odyssey-interface.is-transitioning .odyssey-portal-shell {
  filter: blur(12px);
  opacity: 0;
  transition: filter 500ms ease, opacity 500ms ease;
  pointer-events: none;
}

.odyssey-portal-heading {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.odyssey-facilities {
  position: absolute;
  top: 24%;
  left: clamp(24px, 6vw, 92px);
  display: flex;
  width: min(245px, 21vw);
  flex-direction: column;
  gap: 12px;
}

.odyssey-facilities-label {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.odyssey-facilities button {
  display: flex;
  align-items: baseline;
  gap: 11px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
  transition: color 200ms ease, font-size 200ms ease;
}

.odyssey-facilities button > span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.odyssey-facilities button:hover,
.odyssey-facilities button.is-active {
  color: #fff;
}

.odyssey-facilities button.is-active {
  font-size: 14px;
  font-weight: 600;
}

.odyssey-facilities button.is-active::before {
  position: absolute;
  left: -14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.odyssey-editorial {
  position: absolute;
  right: auto;
  bottom: clamp(150px, 24vh, 220px);
  left: clamp(24px, 6vw, 92px);
  max-width: min(62vw, 850px);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.odyssey-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-odyssey-inter), Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.odyssey-title {
  max-width: 100%;
  margin: 0;
  font-family: "SF Pro", Arial, sans-serif;
  font-size: clamp(128px, 11vw, 260px);
  font-stretch: condensed;
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.07em;
  text-wrap: balance;
  transform: scaleX(0.78);
  transform-origin: left bottom;
  animation: odyssey-title-enter 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.academy-odyssey-section[data-location="campus"] .odyssey-title {
  font-family: "Aalto", "Arial Narrow", sans-serif;
}

@keyframes odyssey-title-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scaleX(0.78);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleX(0.78);
  }
}

.odyssey-portal-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 31vw);
  transform: translate(-50%, -54%);
}

.odyssey-portal-heading {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.odyssey-portal-heading strong {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.odyssey-portal-heading strong span {
  margin-right: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-odyssey-inter), Arial, sans-serif;
  font-size: 10px;
}

.odyssey-portal {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: odyssey-portal-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes odyssey-portal-enter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.odyssey-portal:hover {
  filter: brightness(1.1);
}

.odyssey-portal:focus-visible,
.odyssey-facilities button:focus-visible,
.odyssey-portal-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  pointer-events: none;
}

.odyssey-portal-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.odyssey-hidden-media {
  position: absolute;
  visibility: hidden;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.odyssey-finish {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  color: #fff;
  font-size: 12px;
}

.odyssey-finish a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff;
  padding: 11px 16px;
  color: #08080a;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.odyssey-loading {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  padding: 11px 16px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}

.odyssey-loading.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .odyssey-editorial {
    bottom: clamp(160px, 25vh, 205px);
    left: 5vw;
    max-width: 58vw;
  }

  .odyssey-title {
    font-size: clamp(76px, 13vw, 160px);
  }

  .odyssey-portal-shell {
    right: auto;
    left: 50%;
    width: min(280px, 34vw);
    transform: translate(-50%, -54%);
  }
}

@media (max-width: 639px) {
  .academy-odyssey-section {
    min-height: 700px;
  }

  .odyssey-facilities {
    display: none;
  }

  .odyssey-floating-logo.is-docked {
    top: 32px;
    left: 35px;
    width: 34px;
    height: 34px;
  }

  .odyssey-facilities {
    top: 92px;
    right: 16px;
    left: auto;
    width: max-content;
    gap: 10px;
    align-items: flex-end;
  }

  .odyssey-facilities-label {
    margin-bottom: 0;
    font-size: 7px;
  }

  .odyssey-facilities button {
    gap: 6px;
    font-size: 8px;
    text-shadow: 0 1px 6px #000;
  }

  .odyssey-facilities button.is-active {
    font-size: 9px;
  }

  .odyssey-facilities button.is-active::before {
    display: none;
  }

  .odyssey-portal-shell {
    top: 35%;
    right: auto;
    left: 50%;
    width: min(175px, 43vw);
    transform: translate(-50%, -50%);
  }

  .odyssey-portal-heading {
    min-height: 38px;
    margin-bottom: 8px;
    padding: 6px 10px;
  }

  .odyssey-editorial {
    right: 18px;
    bottom: 214px;
    left: 18px;
    max-width: none;
  }

  .odyssey-eyebrow {
    font-size: 7px;
  }

  .odyssey-title {
    max-width: 100%;
    font-size: clamp(54px, 13vw, 92px);
  }

}

@media (max-height: 600px) {
  .academy-odyssey-section {
    min-height: 100svh;
  }

  .odyssey-editorial {
    bottom: 132px;
    max-width: 56vw;
  }

  .odyssey-title {
    font-size: clamp(52px, 9vw, 88px);
  }

  .odyssey-portal-shell {
    top: 52%;
    width: min(190px, 22vw);
  }

  .odyssey-portal-heading {
    min-height: 34px;
    margin-bottom: 7px;
    padding: 5px 9px;
    font-size: 7px;
  }

  .odyssey-portal-heading strong {
    font-size: 8px;
  }

  .odyssey-portal-hint {
    margin-top: 6px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-odyssey-section *,
  .academy-odyssey-section *::before,
  .academy-odyssey-section *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.about-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.site-container {
  width: min(1400px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .site-container {
    width: calc(100% - 48px);
  }
}

@media (max-width: 768px) {
  .site-container {
    width: calc(100% - 32px);
  }
}

.hero-sequence {
  position: relative;
  min-height: 400vh;
  height: 400vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.frame2-sequence {
  position: relative;
  min-height: 400vh;
  height: 400vh;
}

.frame2-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.kingfisher-scroll-container {
  --bg: #fbf9f5;
  --paper: #f4efe6;
  --ink: #1e242b;
  --ink-2: #3f4a55;
  --ink-3: #64748b;
  --line: rgba(30, 36, 43, 0.14);
  --navy: #0c1b33;
  --gold: #c99738;
  --gold-light: #e6b85c;
  --panel: #fbf9f5;
  --panel-2: #f4efe6;
  position: relative;
  height: 400vh;
  background: var(--bg);
}

.kingfisher-cinematic-section {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
}

.kingfisher-cinematic-section::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 249, 245, 0.96) 0%, rgba(251, 249, 245, 0.84) 27%, rgba(251, 249, 245, 0.28) 52%, transparent 72%),
    linear-gradient(0deg, rgba(251, 249, 245, 0.88), transparent 36%);
  content: "";
  pointer-events: none;
}

.kingfisher-image-wrap {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}

.kingfisher-image {
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.08);
  transition: object-position 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kingfisher-image-enter {
  animation: kingfisher-image-enter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes kingfisher-image-enter {
  from {
    opacity: 0.45;
    transform: scale(1.12);
  }

  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

.kingfisher-word-wrap {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.kingfisher-word {
  position: absolute;
  top: 13vh;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%);
  font-size: clamp(90px, 17vw, 300px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: rgba(12, 27, 51, 0.09);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.35) 62%, transparent 86%);
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.35) 62%, transparent 86%);
}

.kingfisher-word-italic {
  font-style: italic;
}

.kingfisher-ui {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.kingfisher-mono {
  font-family: var(--font-jetbrains-mono), "Courier New", monospace;
}

.kingfisher-copy {
  position: absolute;
  bottom: 16%;
  left: clamp(24px, 8vw, 128px);
  width: min(520px, 43vw);
}

.kingfisher-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.kingfisher-eyebrow i {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.kingfisher-headline {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.kingfisher-headline em {
  color: var(--gold);
  font-weight: 400;
}

.kingfisher-description {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.kingfisher-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 25px;
  font-size: 12px;
}

.kingfisher-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 9px 24px rgba(12, 27, 51, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kingfisher-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(12, 27, 51, 0.2);
}

.kingfisher-secondary-cta {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink-2);
}

.kingfisher-cluster {
  position: absolute;
  right: clamp(24px, 8vw, 128px);
  bottom: 16%;
  width: min(400px, 34vw);
}

.kingfisher-trust-row {
  display: flex;
  align-items: center;
  margin: 0 0 17px 3px;
}

.kingfisher-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: -5px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 50%;
  color: white;
  padding: 0;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.kingfisher-avatar.is-active {
  z-index: 1;
  transform: scale(1.12);
  box-shadow: 0 0 0 2px var(--gold-light);
}

.kingfisher-avatar:focus-visible,
.kingfisher-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.kingfisher-avatar-one {
  background: linear-gradient(145deg, var(--navy), var(--ink-2));
}

.kingfisher-avatar-two {
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
}

.kingfisher-avatar-three {
  background: linear-gradient(145deg, var(--ink-2), var(--ink-3));
}

.kingfisher-avatar-four {
  background: linear-gradient(145deg, var(--navy), var(--gold));
}

.kingfisher-cards {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kingfisher-card {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(30, 36, 43, 0.12);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(12, 27, 51, 0.16);
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.kingfisher-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(12, 27, 51, 0.2);
}

.kingfisher-card-offset:hover {
  transform: translateY(15px);
}

.kingfisher-card-offset {
  transform: translateY(18px);
}

.kingfisher-card-art {
  position: relative;
  height: clamp(115px, 11vw, 156px);
  overflow: hidden;
  background: var(--panel-2);
}

.kingfisher-card-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 300ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: kingfisher-preview-enter 360ms ease-out;
}

@keyframes kingfisher-preview-enter {
  from {
    opacity: 0.5;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.kingfisher-card:hover .kingfisher-card-art img {
  transform: scale(1.06);
}

.kingfisher-card-index {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  background: rgba(12, 27, 51, 0.72);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.07em;
}

.kingfisher-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 13px;
  color: var(--ink);
  font-size: 11px;
}

.kingfisher-caption-label {
  animation: kingfisher-caption-enter 320ms ease both;
}

@keyframes kingfisher-caption-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kingfisher-dots {
  display: inline-flex;
  gap: 4px;
}

.kingfisher-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(30, 36, 43, 0.24);
}

.kingfisher-dots i:first-child {
  background: var(--gold);
}

.kingfisher-metadata {
  position: absolute;
  right: clamp(24px, 5.3vw, 84px);
  bottom: 30px;
  left: clamp(24px, 5.3vw, 84px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  color: var(--ink-2);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.kingfisher-species {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kingfisher-species span {
  color: var(--ink-3);
}

.kingfisher-species em {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0;
}

.kingfisher-coordinates {
  justify-self: center;
}

.kingfisher-replay {
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
}

.kingfisher-replay span {
  margin-left: 6px;
  color: var(--gold);
  font-size: 15px;
}

@media (max-width: 900px) {
  .kingfisher-word {
    font-size: 22vw;
  }

  .kingfisher-copy {
    top: 23%;
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
  }

  .kingfisher-eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .kingfisher-description {
    max-width: 460px;
    margin-top: 13px;
    font-size: 14px;
  }

  .kingfisher-cta-row {
    gap: 17px;
    margin-top: 17px;
  }

  .kingfisher-cluster {
    right: 16px;
    bottom: 92px;
    left: 16px;
    width: auto;
  }

  .kingfisher-trust-row {
    margin-bottom: 10px;
  }

  .kingfisher-cards {
    flex-direction: column;
    gap: 8px;
  }

  .kingfisher-card {
    display: flex;
    width: 100%;
    align-items: center;
    min-height: 64px;
  }

  .kingfisher-card-offset {
    transform: none;
  }

  .kingfisher-card-art {
    width: 38%;
    height: 64px;
    flex-shrink: 0;
  }

  .kingfisher-card-caption {
    flex: 1;
    padding: 10px 13px;
  }

  .kingfisher-card-index {
    top: 8px;
    left: 8px;
    padding: 5px 6px;
    font-size: 7px;
  }

  .kingfisher-metadata {
    right: 16px;
    bottom: 22px;
    left: 16px;
    grid-template-columns: 1fr auto;
    font-size: 8px;
  }

  .kingfisher-coordinates {
    display: none;
  }

  .kingfisher-cinematic-section::after {
    background:
      linear-gradient(0deg, rgba(251, 249, 245, 0.98) 0%, rgba(251, 249, 245, 0.92) 39%, rgba(251, 249, 245, 0.4) 68%, rgba(251, 249, 245, 0.08) 100%),
      linear-gradient(90deg, rgba(251, 249, 245, 0.4), transparent 75%);
  }
}

@media (max-width: 480px) {
  .kingfisher-word {
    top: 15vh;
    letter-spacing: -0.09em;
  }

  .kingfisher-copy {
    top: 27%;
  }

  .kingfisher-headline {
    font-size: clamp(44px, 11vw, 52px);
  }

  .kingfisher-description {
    max-width: 360px;
    font-size: 13px;
  }

  .kingfisher-cluster {
    bottom: 86px;
  }

  .kingfisher-trust-row {
    margin-bottom: 8px;
  }

  .kingfisher-card,
  .kingfisher-card-art {
    min-height: 54px;
    height: 54px;
  }

  .kingfisher-card-caption {
    font-size: 10px;
  }

  .kingfisher-cta-row {
    gap: 13px;
    font-size: 11px;
  }

  .kingfisher-primary-cta {
    gap: 9px;
    padding: 13px 15px;
  }

  .kingfisher-metadata {
    bottom: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kingfisher-primary-cta,
  .kingfisher-avatar,
  .kingfisher-card,
  .kingfisher-card-art img,
  .kingfisher-caption-label {
    transition: none;
    animation: none;
  }

  .kingfisher-image-enter {
    animation: none;
  }
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-section {
  position: relative;
  height: 350vh;
  overflow: clip;
  background: linear-gradient(180deg, #edf8ff 0%, #dfefff 38%, #eef9ff 100%);
}

.testimonial-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0) 25%),
    radial-gradient(circle at 80% 15%, rgba(255,255,255,0.8), rgba(255,255,255,0) 22%),
    linear-gradient(180deg, rgba(130, 203, 255, 0.2), rgba(255,255,255,0));
}

.testimonial-cloud {
  position: absolute;
  width: 210px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 60px rgba(94, 154, 210, 0.08);
  filter: blur(2px);
}

.testimonial-cloud::before,
.testimonial-cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.testimonial-cloud::before {
  width: 72px;
  height: 72px;
  left: 28px;
  top: -24px;
}

.testimonial-cloud::after {
  width: 84px;
  height: 84px;
  right: 26px;
  top: -30px;
}

.testimonial-cloud-left {
  top: 10%;
  left: 8%;
}

.testimonial-cloud-right {
  top: 18%;
  right: 10%;
}

.testimonial-sun {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 9%;
  right: 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 146, 0.95), rgba(255, 200, 80, 0.65) 35%, rgba(255,255,255,0) 65%);
}

.testimonial-plane {
  position: absolute;
  width: 92px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(94, 164, 230, 0.6);
  border-color: rgba(94, 164, 230, 0.6) transparent transparent transparent;
  transform: rotate(-18deg);
  top: 28%;
  left: 20%;
}

.testimonial-leaf {
  position: absolute;
  width: 22px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(180deg, rgba(102, 214, 147, 0.9), rgba(54, 154, 100, 0.8));
  transform: rotate(30deg);
}

.testimonial-leaf-one { left: 10%; bottom: 12%; }
.testimonial-leaf-two { right: 12%; bottom: 18%; }
.testimonial-leaf-three { right: 22%; bottom: 14%; transform: rotate(-20deg); }

.testimonial-content {
  position: sticky;
  top: 0;
  height: 100vh;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-heading-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2359a5;
  border: 1px solid rgba(95, 163, 237, 0.34);
  box-shadow: 0 12px 30px rgba(72, 132, 192, 0.08);
}

.testimonial-heading-wrap h2 {
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 3vw, 3.4rem);
  line-height: 1.08;
  color: #1d4e95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.testimonial-stage {
  position: relative;
  width: min(100%, 1120px);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(29, 78, 149, 0.18);
  background: rgba(255,255,255,0.84);
  color: #1d4e95;
  font-size: 2rem;
  box-shadow: 0 16px 40px rgba(47, 91, 166, 0.12);
  z-index: 20;
  cursor: pointer;
}

.testimonial-nav:hover {
  background: rgba(255,255,255,0.96);
}

.testimonial-nav-left { left: -18px; }
.testimonial-nav-right { right: -18px; }

.testimonial-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(400px, 78vw);
  min-width: 0;
  height: 460px;
  padding: 22px 28px 20px;
  border-radius: 30px;
  border: 3px solid rgba(245, 204, 95, 0.9);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 26px 60px rgba(38, 76, 140, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  will-change: transform, opacity;
}

.review-card.is-active {
  box-shadow: 0 28px 70px rgba(38, 76, 140, 0.16);
}

.review-portrait-wrap {
  position: relative;
  margin-top: 10px;
  margin-bottom: 14px;
}

.review-portrait {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid rgba(230, 179, 70, 0.9);
  box-shadow: 0 12px 25px rgba(52, 107, 170, 0.16);
}

.review-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9d779, #e8ae39);
  color: #204882;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,0.9);
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #f4c75b;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.review-text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #1e4f92;
  letter-spacing: -0.01em;
  max-width: 320px;
}

.review-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #4169a4;
}

.review-meta strong {
  font-size: 0.95rem;
  color: #1d4e95;
}

.review-meta span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(33, 90, 160, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.is-active {
  background: #1d4e95;
  transform: scale(1.35);
}

.testimonial-icons {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 1;
  margin-top: 12px;
}

.testimonial-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(50, 112, 191, 0.1);
  box-shadow: 0 10px 20px rgba(51, 103, 173, 0.08);
  transition: transform 0.2s ease;
}

.testimonial-icon.is-active {
  background: rgba(247, 221, 137, 0.75);
}

@media (max-width: 900px) {
  .testimonial-section {
    height: 320vh;
  }

  .testimonial-stage {
    height: 500px;
  }

  .testimonial-nav {
    width: 48px;
    height: 48px;
  }

  .review-card {
    width: min(350px, 72vw);
    height: 410px;
    border-radius: 28px;
  }

  .review-portrait {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 640px) {
  .testimonial-heading-wrap h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .testimonial-stage {
    height: 440px;
  }

  .testimonial-nav-left { left: 10px; }
  .testimonial-nav-right { right: 10px; }

  .review-card {
    width: min(300px, 78vw);
    height: 360px;
    padding: 18px 22px 16px;
    border-radius: 24px;
  }

  .review-text {
    font-size: 0.8rem;
    max-width: 240px;
  }
}

@media (min-width: 641px) and (max-height: 700px) {
  .testimonial-content {
    justify-content: flex-start;
    padding-top: 28px;
    box-sizing: border-box;
  }

  .testimonial-heading-wrap {
    margin-bottom: 10px;
  }

  .testimonial-heading-wrap h2 {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    text-transform: uppercase;
  }

  .testimonial-stage {
    height: calc(100vh - 260px);
    min-height: 300px;
  }

  .review-card {
    width: min(330px, 70vw);
    min-width: 0;
    height: 330px;
    border-radius: 24px;
    padding: 15px 22px 14px;
  }

  .review-portrait-wrap {
    margin-top: 3px;
    margin-bottom: 7px;
  }

  .review-portrait {
    width: 94px;
    height: 94px;
  }

  .review-stars {
    margin-bottom: 5px;
    font-size: 0.8rem;
  }

  .review-text {
    max-width: 210px;
    font-size: 0.79rem;
    line-height: 1.3;
  }

  .review-meta strong {
    font-size: 0.83rem;
  }

  .review-meta span {
    font-size: 0.66rem;
  }

  .testimonial-dots {
    margin-top: 7px;
  }
}

.school-about-section {
  --about-progress: 0;
  --about-reveal: 1;
  position: relative;
  z-index: 1;
  height: 155vh;
  min-height: 900px;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.9), transparent 48%),
    linear-gradient(180deg, #d9f0ff 0%, #ecf8ff 46%, #dff3ff 100%);
  color: #173957;
}

.school-about-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 660px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.school-about-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.school-about-reveal {
  opacity: var(--about-reveal);
  transform:
    translate3d(0, calc((1 - var(--about-reveal)) * 24px), 0)
    scale(calc(0.97 + var(--about-reveal) * 0.03));
  will-change: transform, opacity;
}

.school-about-heading {
  text-align: center;
  margin-bottom: 24px;
}

.school-about-eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #5b8b49;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.school-about-heading h2 {
  margin: 0;
  color: #1b527d;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.72);
}

.school-about-heading-rule {
  display: block;
  width: 74px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0b83f, #f5d982);
}

.school-about-main {
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) minmax(0, 1.5fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
}

.school-vision-card {
  position: relative;
  min-height: 290px;
  padding: 32px 34px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(250, 253, 255, 0.92));
  box-shadow:
    0 28px 65px rgba(42, 101, 145, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.school-card-overline {
  color: #6e9c56;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.school-vision-card h3 {
  margin: 12px 0 15px;
  color: #225a83;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.school-vision-card p {
  max-width: 350px;
  margin: 0;
  color: #506c7e;
  font-size: 0.98rem;
  line-height: 1.65;
}

.school-vision-seal {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(75, 142, 111, 0.18);
  border-radius: 50%;
  background: #e5f4e8;
  color: #528967;
}

.school-about-right {
  min-width: 0;
}

.school-level-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 5vw, 64px);
}

.school-level-card {
  display: grid;
  place-items: center;
}

.school-level-image {
  position: relative;
  width: clamp(170px, 19vw, 236px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 10px solid #c7944e;
  border-radius: 50%;
  background: #e9c98a;
  box-shadow:
    0 20px 34px rgba(74, 78, 57, 0.2),
    inset 0 0 0 3px rgba(255, 235, 183, 0.9);
}

.school-level-image::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(29, 61, 77, 0.68));
  content: "";
}

.school-level-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.school-level-primary img {
  object-position: 50% 40%;
}

.school-level-middle img {
  object-position: 50% 38%;
}

.school-level-title {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 20px;
  left: 8px;
  color: white;
  font-size: clamp(0.78rem, 1.25vw, 1rem);
  font-weight: 900;
  line-height: 1.14;
  text-align: center;
  text-shadow: 0 2px 8px rgba(16, 36, 45, 0.52);
}

.school-about-details {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 52px);
  margin-top: 19px;
}

.school-detail-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 168px;
  padding: 9px 15px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(54, 106, 140, 0.08);
}

.school-detail-image {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #e3c16f;
  border-radius: 50%;
  background: #e6f1df;
  color: #548268;
}

.school-detail-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-detail-image svg {
  position: relative;
  z-index: 1;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.school-detail-card h3 {
  margin: 0 0 3px;
  color: #3a6a83;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.school-detail-card p {
  margin: 0;
  color: #69808b;
  font-size: 0.74rem;
  line-height: 1.32;
}

.school-about-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.school-highlight-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: clamp(15px, 3vw, 42px);
}

.school-highlight {
  display: flex;
  min-width: 72px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #587382;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.school-highlight-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(47, 93, 122, 0.1);
  transition: transform 180ms ease-out;
}

.school-highlight:hover .school-highlight-icon {
  transform: translateY(-3px) scale(1.06);
}

.school-highlight-blue .school-highlight-icon {
  background: #dcecff;
  color: #4b83bb;
}

.school-highlight-mint .school-highlight-icon {
  background: #d9f2e8;
  color: #438b70;
}

.school-highlight-gold .school-highlight-icon {
  background: #fff0c9;
  color: #ba8735;
}

.school-highlight-green .school-highlight-icon {
  background: #e4f2d8;
  color: #699b4f;
}

.school-highlight-coral .school-highlight-icon {
  background: #ffe3dc;
  color: #d67d67;
}

.school-about-cta {
  display: inline-flex;
  min-width: 154px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3883bb, #25699f);
  box-shadow: 0 13px 24px rgba(36, 104, 155, 0.22);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.school-about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 28px rgba(36, 104, 155, 0.28);
}

.school-about-cta span {
  font-size: 1.1rem;
  line-height: 1;
}

.school-about-branch {
  position: absolute;
  z-index: 1;
  top: -5px;
  width: clamp(210px, 30vw, 390px);
  overflow: visible;
  fill: #75a966;
  opacity: 0.77;
  pointer-events: none;
}

.school-about-branch path {
  fill: none;
  stroke: #5e985e;
  stroke-linecap: round;
  stroke-width: 5;
}

.school-about-branch ellipse {
  stroke: rgba(62, 126, 73, 0.16);
  stroke-width: 1.5;
}

.school-about-branch-left {
  left: -20px;
  transform: rotate(-4deg);
}

.school-about-branch-right {
  right: -20px;
  transform: scaleX(-1) rotate(-4deg);
}

.school-about-butterfly {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: clamp(30px, 3vw, 46px);
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.school-butterfly-wings {
  transform-origin: center;
  transform: rotate(var(--wing-flap, 0deg));
}

.school-about-books,
.school-about-bus {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: clamp(118px, 16vw, 205px);
  pointer-events: none;
}

.school-about-books {
  left: max(0px, calc((100vw - 1440px) / 2));
}

.school-about-bus {
  right: max(0px, calc((100vw - 1440px) / 2));
}

@media (max-height: 720px) and (min-width: 761px) {
  .school-about-stage {
    min-height: 0;
    display: block;
  }

  .school-about-content {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 76px;
  }

  .school-about-heading {
    margin-bottom: 12px;
    transform: none;
  }

  .school-about-main {
    gap: 32px;
  }

  .school-vision-card {
    min-height: 235px;
    padding: 22px;
  }

  .school-level-image {
    width: clamp(145px, 15vw, 175px);
  }

  .school-about-footer {
    gap: 8px;
    margin-top: 8px;
  }

  .school-about-heading h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .school-about-section {
    height: 165vh;
    min-height: 960px;
  }

  .school-about-content {
    width: min(760px, calc(100% - 44px));
  }

  .school-about-main {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
    gap: 22px;
  }

  .school-vision-card {
    min-height: 275px;
    padding: 27px 25px;
  }

  .school-level-cards {
    gap: 18px;
  }

  .school-level-image {
    width: clamp(148px, 23vw, 205px);
    border-width: 8px;
  }

  .school-about-details {
    gap: 10px;
  }

  .school-detail-card {
    min-width: 0;
    padding-right: 10px;
  }

  .school-about-footer {
    gap: 16px;
  }

  .school-about-branch {
    width: 260px;
  }
}

@media (max-width: 760px) {
  .school-about-section {
    height: auto;
    min-height: 170vh;
    overflow: clip;
  }

  .school-about-stage {
    position: sticky;
    top: 50px;
    height: calc(100svh - 50px);
    min-height: 0;
    overflow: hidden;
    padding: 12px 0 16px;
    display: grid;
    place-items: start center;
  }

  .school-about-content {
    width: min(560px, calc(100% - 36px));
    padding: 0;
  }

  .school-about-heading {
    margin-bottom: 16px;
  }

  .school-about-heading h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .school-about-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .school-vision-card {
    min-height: 0;
    padding: 25px 27px 30px;
  }

  .school-vision-card p {
    max-width: 440px;
  }

  .school-level-cards {
    gap: clamp(12px, 5vw, 30px);
  }

  .school-level-image {
    width: min(39vw, 205px);
    border-width: 8px;
  }

  .school-level-title {
    bottom: 16px;
    font-size: clamp(0.72rem, 3vw, 0.9rem);
  }

  .school-about-details {
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
  }

  .school-detail-card {
    flex: 1;
    gap: 7px;
    padding: 7px 9px 7px 7px;
  }

  .school-detail-image {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .school-detail-card h3 {
    font-size: 0.61rem;
  }

  .school-detail-card p {
    font-size: 0.68rem;
  }

  .school-about-footer {
    gap: 10px;
    margin-top: 14px;
  }

  .school-highlight-row {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .school-highlight {
    min-width: 0;
    font-size: 0.59rem;
  }

  .school-highlight-icon {
    width: 39px;
    height: 39px;
  }

  .school-about-branch {
    width: 175px;
    opacity: 0.55;
  }

  .school-about-branch-left {
    left: -55px;
  }

  .school-about-branch-right {
    right: -55px;
  }

  .school-about-books,
  .school-about-bus {
    width: 112px;
    bottom: 0;
  }

  .school-about-books {
    left: -12px;
  }

  .school-about-bus {
    right: -10px;
  }
}

@media (max-width: 760px) and (max-height: 760px) {
  .school-about-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 100svh;
    padding: 38px 0 90px;
    display: block;
  }
}

@media (max-width: 420px) {
  .school-about-stage {
    padding-top: 10px;
  }

  .school-about-content {
    width: calc(100% - 28px);
  }

  .school-about-footer {
    gap: 8px;
    margin-top: 12px;
  }

  .school-about-main {
    gap: 19px;
  }

  .school-vision-card {
    padding: 22px;
  }

  .school-vision-card p {
    font-size: 0.9rem;
  }

  .school-detail-card {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 20px;
  }

  .school-detail-card p br {
    display: none;
  }

  .school-about-cta {
    min-width: 140px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .school-about-section {
    --about-progress: 1 !important;
    --about-reveal: 1 !important;
  }

  .school-about-butterfly {
    display: none;
  }

  .school-highlight-icon,
  .school-about-cta {
    transition: none;
  }
}

.cinematic-footer {
  --footer-reveal: 0;
  position: relative;
  z-index: 0;
  min-height: 800px;
  overflow: hidden;
  isolation: isolate;
  background: #390d4f;
  color: #f8f4ff;
}

.cinematic-footer::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fff 17%,
      #f5eaf8 21%,
      #872d73 27%,
      #54135d 39%,
      #390d4f 66%,
      #390d4f 100%
    );
  content: "";
  opacity: var(--footer-reveal);
  transform: translate3d(0, calc((1 - var(--footer-reveal)) * 30px), 0);
  will-change: transform, opacity;
}

.footer-content {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1320px, calc(100% - 80px));
  grid-template-columns: minmax(230px, 1.25fr) minmax(200px, 1fr) minmax(190px, 0.95fr) minmax(245px, 1.15fr);
  gap: clamp(24px, 4vw, 58px);
  margin: 0 auto;
  padding: 335px 0 80px;
  opacity: var(--footer-reveal);
  transform: translate3d(0, calc((1 - var(--footer-reveal)) * 32px), 0);
  will-change: transform, opacity;
}

.footer-brand {
  max-width: 315px;
}

.footer-school-mark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.footer-logo {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(249, 219, 151, 0.68);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(17, 7, 40, 0.18);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-school-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-school-name strong {
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-school-name > span {
  color: #efcf88;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 17px 0 0 2px;
  color: rgba(247, 239, 255, 0.76);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.footer-link-group h2,
.footer-contact h2 {
  margin: 5px 0 17px;
  color: #f5d98e;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-link-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-academics ul {
  grid-template-columns: 1fr;
}

.footer-link-group a,
.footer-contact a {
  color: rgba(248, 244, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.footer-link-group a:hover,
.footer-contact a:hover {
  color: #ffe6a6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.footer-contact h2 {
  margin-bottom: 5px;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  color: #efd07f;
}

.footer-landscape {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: min(100%, 900px);
  opacity: var(--footer-reveal);
  transform: translate3d(0, calc((1 - var(--footer-reveal)) * 52px), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.footer-mountains,
.footer-skyline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-mountains path {
  fill: #54135d;
}

.footer-mountains-back {
  opacity: 0.62;
  animation: footer-back-wave 28s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.footer-mountains-back path {
  fill: #9b3477;
}

.footer-mountains-middle {
  opacity: 0.9;
  animation: footer-middle-wave 22s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.footer-mountains-middle path {
  fill: #6f1d68;
}

.footer-mountains-front {
  animation: footer-front-wave 19s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.footer-mountains-front path {
  fill: #390d4f;
}

.footer-skyline {
  z-index: 2;
  top: 0;
  bottom: auto;
  height: 50%;
}

.footer-skyline-buildings {
  fill: #3a104e;
}

.footer-tree-row {
  fill: #3a104e;
  stroke: #3a104e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.footer-tree-row > path:first-child {
  stroke-width: 2;
}

.footer-ferris-wheel {
  fill: none;
  stroke: #3a104e;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}

.footer-wheel-cars {
  fill: #3a104e;
  stroke: #3a104e;
  stroke-width: 1;
}

.footer-balloon {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 76%;
  width: clamp(38px, 4vw, 58px);
  overflow: visible;
  fill: #3a104e;
  stroke: #3a104e;
  stroke-width: 2;
  animation: footer-balloon-float 8s ease-in-out infinite;
  animation-play-state: paused;
}

.footer-balloon-basket {
  fill: #3a104e;
}

.footer-shoe {
  position: absolute;
  z-index: 3;
  top: 17%;
  bottom: auto;
  width: clamp(88px, 11vw, 155px);
  fill: #3a104e;
  stroke: #3a104e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.footer-shoe-left {
  left: 3%;
  transform: rotate(-8deg);
}

.footer-shoe-right {
  right: 3%;
  transform: scaleX(-1) rotate(-8deg);
}

.footer-shoe-sole {
  fill: none;
  stroke: #d68bbc;
  stroke-width: 5;
}

.footer-sparkle {
  position: absolute;
  z-index: 3;
  color: #ffe69d;
  text-shadow: 0 0 12px rgba(255, 227, 153, 0.58);
  animation: footer-twinkle 3.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.footer-sparkle-one {
  right: 18%;
  bottom: 13%;
  font-size: 1.1rem;
}

.footer-sparkle-two {
  right: 11%;
  bottom: 19%;
  font-size: 1.5rem;
  animation-delay: 1.4s;
}

.footer-sparkle-three {
  right: 27%;
  bottom: 15%;
  font-size: 0.85rem;
  animation-delay: 0.6s;
}

.footer-traveler-lane {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 24%;
  bottom: auto;
  left: 0;
  height: 76px;
}

.footer-traveler {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 62px;
  overflow: visible;
  fill: #ffe0a0;
  stroke: #38244f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.footer-traveler-satchel {
  fill: #e48f69;
  stroke-width: 1.5;
}

.footer-copyright {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: rgba(237, 227, 250, 0.66);
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: center;
  opacity: var(--footer-reveal);
  transform: translate3d(0, calc((1 - var(--footer-reveal)) * 16px), 0);
  will-change: transform, opacity;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-mountains-back {
  animation-play-state: running;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-mountains-middle {
  animation-play-state: running;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-mountains-front {
  animation-play-state: running;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-ferris-wheel {
  animation: footer-wheel-turn 90s linear infinite;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-balloon {
  animation-play-state: running;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-sparkle {
  animation-play-state: running;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-traveler {
  animation: footer-travel 34s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-traveler-body {
  transform-origin: 25px 40px;
  animation: footer-walk-bob 0.72s ease-in-out infinite alternate;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-traveler-leg-left {
  transform-origin: 20px 44px;
  animation: footer-walk-left 0.55s ease-in-out infinite alternate;
}

.footer-is-visible:not([data-reduced-motion="true"]) .footer-traveler-leg-right {
  transform-origin: 27px 44px;
  animation: footer-walk-right 0.55s ease-in-out infinite alternate;
}

@keyframes footer-back-wave {
  from { transform: translate3d(-0.4%, 0, 0) scaleY(1); }
  to { transform: translate3d(0.4%, -7px, 0) scaleY(1.015); }
}

@keyframes footer-middle-wave {
  from { transform: translate3d(0.3%, 0, 0) scaleY(1); }
  to { transform: translate3d(-0.35%, -5px, 0) scaleY(1.01); }
}

@keyframes footer-front-wave {
  from { transform: translate3d(-0.25%, 0, 0); }
  to { transform: translate3d(0.25%, -3px, 0); }
}

@keyframes footer-wheel-turn {
  to { rotate: 360deg; }
}

@keyframes footer-balloon-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(4px, -10px, 0) rotate(2deg); }
}

@keyframes footer-twinkle {
  from { opacity: 0.52; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes footer-travel {
  from { transform: translate3d(3vw, 0, 0); }
  to { transform: translate3d(calc(97vw - 40px), 0, 0); }
}

@keyframes footer-walk-bob {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-2px) rotate(2deg); }
}

@keyframes footer-walk-left {
  from { transform: rotate(-20deg); }
  to { transform: rotate(22deg); }
}

@keyframes footer-walk-right {
  from { transform: rotate(22deg); }
  to { transform: rotate(-20deg); }
}

@media (max-width: 980px) {
  .cinematic-footer {
    min-height: 1020px;
  }

  .footer-content {
    width: min(760px, calc(100% - 56px));
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px 46px;
    padding: 335px 0 100px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-landscape {
    height: min(100%, 900px);
  }

  .footer-balloon {
    left: 82%;
  }
}

@media (max-width: 600px) {
  .cinematic-footer {
    min-height: 1050px;
  }

  .footer-content {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px 20px;
    padding: 310px 0 100px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    padding-bottom: 5px;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .footer-school-name strong {
    font-size: 0.94rem;
  }

  .footer-tagline {
    margin-top: 11px;
    font-size: 0.82rem;
  }

  .footer-link-group h2,
  .footer-contact h2 {
    margin-bottom: 13px;
    font-size: 0.68rem;
  }

  .footer-link-group ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .footer-link-group a,
  .footer-contact a {
    font-size: 0.73rem;
  }

  .footer-academics ul {
    gap: 8px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    gap: 10px;
  }

  .footer-landscape {
    height: min(100%, 820px);
  }

  .footer-skyline {
    height: 50%;
  }

  .footer-balloon {
    top: 18%;
    left: 78%;
    width: 38px;
  }

  .footer-traveler-lane {
    top: 24%;
  }

  .footer-shoe {
    top: 17%;
    width: 88px;
  }

  .footer-shoe-left {
    left: 1%;
  }

  .footer-shoe-right {
    right: 1%;
  }

  .footer-copyright {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-footer {
    --footer-reveal: 1 !important;
  }

  .cinematic-footer::before,
  .footer-content,
  .footer-landscape,
  .footer-copyright {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .footer-mountains-back,
  .footer-mountains-middle,
  .footer-mountains-front,
  .footer-ferris-wheel,
  .footer-balloon,
  .footer-sparkle,
  .footer-traveler,
  .footer-traveler-body,
  .footer-traveler-leg-left,
  .footer-traveler-leg-right {
    animation: none !important;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 5s ease-in-out infinite;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.school-sections {
  --school-bg: #B6C3B0;
  --school-paper: #E3E8DE;
  --school-ink: #10201F;
  --school-ink-2: #2E3D3A;
  --school-ink-3: #4E5E58;
  --school-line: rgba(16, 32, 31, 0.14);
  --school-orange: #E8732A;
  --school-orange-2: #F3A15E;
  --school-teal: #0E7C86;
  --school-panel: #0F1D1C;
  --school-panel-2: #172A28;
  color: var(--school-ink);
  font-family: var(--font-sans), Inter, Arial, sans-serif;
}

.school-section-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.school-experiences {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 100px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(circle at 82% 18%, rgba(190, 140, 82, 0.24), transparent 18%),
    linear-gradient(180deg, rgba(7, 12, 15, 0.96), rgba(8, 16, 19, 0.98));
  color: #f7f1e8;
}

.school-experiences-shell {
  position: relative;
  width: min(1320px, calc(100% - 56px));
  margin-inline: auto;
}

.school-experiences-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 28px;
  row-gap: 18px;
}

.school-experiences-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d4b07b;
  font-family: var(--font-school-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.school-experiences-kicker-divider {
  display: inline-block;
  width: 72px;
  height: 1px;
  background: rgba(212, 176, 123, 0.7);
}

.school-experiences-title {
  grid-column: 1 / -1;
  margin: 0;
  color: #f2efe9;
  font-family: var(--font-school-serif), Georgia, serif;
  font-size: clamp(42px, 4.5vw, 86px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.school-experiences-lead {
  max-width: 620px;
  margin: 0 0 0 4px;
  color: rgba(242, 239, 233, 0.75);
  font-size: 15px;
  line-height: 1.6;
}

.school-experiences-rail {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  height: clamp(420px, 31vw, 560px);
  margin-top: clamp(36px, 5vw, 72px);
  overflow: hidden;
  scrollbar-width: none;
  container-type: inline-size;
}

.school-experiences-rail::-webkit-scrollbar {
  display: none;
}

.school-experience-card {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(172, 129, 71, 0.38);
  border-radius: 30px;
  background: #0a1117;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 38px rgba(0, 0, 0, 0.18);
  transition:
    width 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.45s ease;
  will-change: transform;
}

.school-experience-card:hover,
.school-experience-card:focus-visible {
  border-color: rgba(216, 176, 123, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 50px rgba(0, 0, 0, 0.22);
  outline: none;
}

.school-experience-card.is-open {
  transform: translateY(-4px);
}

.school-experience-card:not(.is-open) {
  filter: saturate(0.7) brightness(0.8);
}

.school-experience-card:not(.is-open):hover,
.school-experience-card:not(.is-open):focus-visible {
  filter: saturate(0.8) brightness(0.85);
}

.school-experience-visual,
.school-experience-visual-glow,
.school-experience-copy {
  position: absolute;
  inset: 0;
}

.school-experience-visual {
  overflow: hidden;
  border-radius: inherit;
}

.school-experience-visual img {
  object-fit: cover;
  filter: saturate(0.75) brightness(0.8);
  transition: filter 0.62s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-experience-card.is-open .school-experience-visual img {
  filter: saturate(1) brightness(1.02);
  transform: scale(1.04);
}

.school-experience-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 13, 0.18), rgba(7, 10, 13, 0.04) 42%, rgba(7, 10, 13, 0.15));
  content: "";
}

.school-experience-visual-glow {
  inset: 6% 18% 25% 15%;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.06) 34%, transparent 70%);
  filter: blur(18px);
  opacity: 0.8;
  pointer-events: none;
}

.school-experience-card::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(6, 9, 12, 0), rgba(6, 9, 12, 0.74));
  content: "";
  pointer-events: none;
}

.school-experience-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(18px, 2vw, 28px);
  opacity: 0;
  transition: opacity 0.32s ease 0.08s;
  pointer-events: none;
}

.school-experience-card.is-open .school-experience-copy {
  opacity: 1;
}

.school-experience-eyebrow {
  color: rgba(239, 191, 110, 0.92);
  font-family: var(--font-school-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.school-experience-title {
  max-width: 76%;
  color: #f9f3ec;
  font-family: var(--font-school-serif), Georgia, serif;
  font-size: clamp(28px, 1.8vw, 46px);
  line-height: 0.93;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: pre-line;
}

.school-experience-description {
  max-width: 88%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.school-experience-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: rgba(228, 181, 101, 0.98);
  font-family: var(--font-school-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .school-experiences-header {
    grid-template-columns: 1fr;
  }

  .school-experiences-title {
    font-size: clamp(36px, 7vw, 62px);
  }
}

@media (max-width: 820px) {
  .school-experiences-shell {
    width: min(100%, calc(100% - 28px));
  }

  .school-experiences-rail {
    gap: 10px;
    height: 360px;
    margin-top: clamp(112px, 20vh, 180px);
  }

  .school-experience-card {
    border-radius: 22px;
  }

  .school-experience-card.is-open {
    width: 54% !important;
  }

  .school-experience-title {
    max-width: 90%;
    font-size: clamp(24px, 5vw, 40px);
  }

  .school-experience-description {
    max-width: 94%;
    font-size: 12px;
  }
}

.school-journal,
.school-faq {
  background: #f3f4ed;
}

.school-journal {
  padding-block: clamp(76px, 9vw, 132px) clamp(84px, 10vw, 144px);
}

.school-journal-header,
.school-faq-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.school-eyebrow {
  margin: 0 0 17px;
  color: var(--school-teal);
  font-family: var(--font-school-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.school-eyebrow-light {
  color: var(--school-orange-2);
}

.school-serif {
  font-family: var(--font-school-serif), Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.school-section-title {
  max-width: 690px;
  margin: 0;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.school-section-intro {
  max-width: 395px;
  margin: 0 0 4px;
  color: var(--school-ink-3);
  font-size: 15px;
  line-height: 1.75;
}

.school-journal-rule {
  height: 1px;
  margin: 37px 0 35px;
  background: var(--school-line);
}

.school-journal-grid {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.school-journal-3d-stage {
  position: relative;
  width: 100%;
  height: clamp(430px, 42vw, 620px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  perspective: 1400px;
  touch-action: pan-y;
  user-select: none;
}

.school-story-3d-world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.school-story-3d-halo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(180px, 24vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 219, 134, 0.42), rgba(146, 182, 186, 0.18) 45%, rgba(255, 255, 255, 0) 72%);
  box-shadow: 0 0 42px rgba(255, 216, 130, 0.18);
  transform: translate3d(-50%, -50%, -30px);
  pointer-events: none;
}

.school-story-photo-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(150px, 22vw, 250px);
  aspect-ratio: 1.42;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 19px;
  background: var(--school-bg);
  box-shadow: 0 18px 38px rgba(20, 44, 60, 0.2);
  color: white;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 350ms ease,
    filter 350ms ease;
  will-change: transform, opacity, filter;
}

.school-story-photo-card img {
  object-fit: cover;
}

.school-story-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(12, 27, 51, 0.72));
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 5px rgba(12, 27, 51, 0.6);
  text-align: left;
  pointer-events: none;
}

.school-story-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(290px, calc(100% - 36px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(243, 244, 237, 0.9);
  box-shadow: 0 16px 40px rgba(20, 44, 60, 0.12);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.school-story-center-category {
  margin: 0 0 8px;
  color: var(--school-teal);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.school-story-center h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.05;
}

.school-story-center > p:not(.school-story-center-category) {
  margin: 9px 0 11px;
  color: var(--school-ink-3);
  font-size: 11px;
  line-height: 1.45;
}

.school-story-center-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--school-ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.school-story-center-link span {
  color: var(--school-orange);
}

.school-story-back-button {
  position: absolute;
  z-index: 4;
  bottom: 15px;
  left: 50%;
  padding: 9px 15px;
  border: 1px solid rgba(12, 27, 51, 0.12);
  border-radius: 999px;
  background: rgba(243, 244, 237, 0.94);
  box-shadow: 0 7px 22px rgba(20, 44, 60, 0.14);
  color: var(--school-ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  transform: translateX(-50%);
}

.school-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.school-story-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  overflow: hidden;
  border-radius: 8px;
  background: var(--school-bg);
}

.school-story-image img,
.school-testimonial-image img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.school-story-image:hover img,
.school-testimonial-image:hover img {
  transform: scale(1.035);
}

.school-story-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: var(--school-ink-3);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.school-story-meta span {
  color: var(--school-teal);
}

.school-story h3 {
  margin: 17px 0 0;
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.school-story-description {
  margin: 12px 0 20px;
  color: var(--school-ink-3);
  font-size: 14px;
  line-height: 1.7;
}

.school-story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--school-ink);
  font-size: 12px;
  font-weight: 600;
}

.school-story-link span,
.school-footer-primary span {
  color: var(--school-orange);
  transition: transform 180ms ease;
}

.school-story-link:hover span,
.school-footer-primary:hover span {
  transform: translate(2px, -2px);
}

.school-testimonials {
  padding-block: clamp(78px, 9vw, 132px);
  background: var(--school-panel);
  color: var(--school-paper);
}

.school-testimonials-header {
  max-width: 720px;
  margin-bottom: 45px;
}

.school-testimonials-header .school-section-title {
  color: var(--school-paper);
}

.school-testimonials-header > p:last-child {
  max-width: 440px;
  margin: 17px 0 0;
  color: rgba(227, 232, 222, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.school-testimonial-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 440px;
  border: 1px solid rgba(227, 232, 222, 0.16);
  border-radius: 10px;
  overflow: hidden;
}

.school-testimonial-quote {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 68px);
  background: var(--school-panel-2);
}

.school-quote-mark {
  color: var(--school-orange-2);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 0.8;
}

.school-testimonial-quote blockquote {
  margin: 24px 0 30px;
  color: var(--school-paper);
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.school-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  color: var(--school-paper);
  font-size: 13px;
}

.school-testimonial-author span + span {
  color: rgba(227, 232, 222, 0.55);
  font-size: 11px;
}

.school-testimonial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.school-testimonial-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(227, 232, 222, 0.2);
  border-radius: 999px;
  background: transparent;
  color: rgba(227, 232, 222, 0.65);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.school-testimonial-tabs button span {
  color: var(--school-orange-2);
  font-size: 9px;
}

.school-testimonial-tabs button[aria-selected="true"] {
  border-color: rgba(243, 161, 94, 0.65);
  background: rgba(243, 161, 94, 0.08);
  color: var(--school-paper);
}

.school-testimonial-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--school-bg);
}

.school-testimonial-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(15, 29, 28, 0.66), transparent);
  content: "";
  pointer-events: none;
}

.school-testimonial-image-caption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--school-paper);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.school-faq {
  padding-block: clamp(78px, 9vw, 132px) clamp(90px, 11vw, 156px);
}

.school-faq-header {
  margin-bottom: 42px;
}

.school-faq-list {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid var(--school-line);
}

.school-faq-item {
  border-bottom: 1px solid var(--school-line);
}

.school-faq-item summary {
  display: grid;
  grid-template-columns: 52px 1fr 30px;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  list-style: none;
  cursor: pointer;
}

.school-faq-item summary::-webkit-details-marker {
  display: none;
}

.school-faq-number {
  color: var(--school-teal);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.school-faq-question {
  color: var(--school-ink);
  font-family: var(--font-school-serif), Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.2;
}

.school-faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  justify-self: end;
  border: 1px solid var(--school-line);
  border-radius: 50%;
}

.school-faq-icon::before,
.school-faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--school-ink-2);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.school-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.school-faq-item[open] .school-faq-icon {
  border-color: rgba(14, 124, 134, 0.45);
}

.school-faq-item[open] .school-faq-icon::before,
.school-faq-item[open] .school-faq-icon::after {
  background: var(--school-teal);
}

.school-faq-item[open] .school-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.school-faq-item > p {
  max-width: 720px;
  margin: -3px 46px 25px 68px;
  color: var(--school-ink-3);
  font-size: 14px;
  line-height: 1.75;
}

.school-footer {
  padding-block: clamp(72px, 8vw, 112px) 28px;
  background: #0b1716;
  color: var(--school-paper);
}

.school-footer-cta {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.75fr);
  align-items: end;
  gap: 48px;
  padding-bottom: clamp(55px, 7vw, 92px);
  border-bottom: 1px solid rgba(227, 232, 222, 0.18);
}

.school-footer-cta h2 {
  margin: 0;
  color: var(--school-paper);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.school-footer-cta-copy p {
  max-width: 440px;
  margin: 0 0 24px;
  color: rgba(227, 232, 222, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.school-footer-cta-copy > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
}

.school-footer-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--school-orange), var(--school-orange-2));
  color: #fffaf3;
  font-size: 12px;
  font-weight: 600;
  transition: transform 180ms ease;
}

.school-footer-primary:hover {
  transform: translateY(-2px);
}

.school-footer-primary span {
  color: #fffaf3;
}

.school-footer-secondary {
  color: var(--school-paper);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(227, 232, 222, 0.45);
  text-underline-offset: 5px;
}

.school-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  padding-block: 54px 58px;
}

.school-footer-links nav,
.school-footer-contact {
  min-width: 0;
}

.school-footer-links h3 {
  margin: 0 0 21px;
  color: var(--school-orange-2);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.school-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-footer-links li,
.school-footer-links a {
  color: rgba(227, 232, 222, 0.72);
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.school-footer-links a {
  transition: color 160ms ease;
}

.school-footer-links a:hover {
  color: var(--school-orange-2);
}

.school-footer-contact li:nth-child(3) {
  max-width: 235px;
}

.school-footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(227, 232, 222, 0.16);
  color: rgba(227, 232, 222, 0.52);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.school-footer-bottom span:nth-child(2) {
  justify-self: center;
}

.school-footer-bottom span:last-child {
  justify-self: end;
}

@media (max-width: 900px) {
  .school-section-shell {
    width: min(100% - 48px, 720px);
  }

  .school-journal-header,
  .school-faq-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .school-section-intro {
    max-width: 540px;
  }

  .school-journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .school-testimonial-feature {
    grid-template-columns: 1fr 0.9fr;
    min-height: 390px;
  }

  .school-testimonial-quote {
    padding: 34px;
  }

  .school-testimonial-quote blockquote {
    font-size: clamp(27px, 4vw, 36px);
  }

  .school-footer-cta {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }

  .school-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }
}

@media (max-width: 620px) {
  .school-section-shell {
    width: calc(100% - 32px);
  }

  .school-journal {
    padding-block: 68px 78px;
  }

  .school-section-title {
    font-size: clamp(40px, 12vw, 54px);
  }

  .school-section-intro {
    font-size: 14px;
  }

  .school-journal-rule {
    margin-block: 26px;
  }

  .school-journal-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .school-story-image {
    aspect-ratio: 1.32;
  }

  .school-story-meta {
    margin-top: 16px;
  }

  .school-story h3 {
    margin-top: 12px;
    font-size: 29px;
  }

  .school-testimonials {
    padding-block: 70px;
  }

  .school-testimonials-header {
    margin-bottom: 28px;
  }

  .school-testimonial-feature {
    grid-template-columns: 1fr;
  }

  .school-testimonial-quote {
    min-height: 370px;
    padding: 28px 24px;
  }

  .school-testimonial-quote blockquote {
    margin-block: 18px 25px;
    font-size: 31px;
  }

  .school-testimonial-image {
    min-height: 280px;
  }

  .school-testimonial-tabs {
    gap: 7px;
    margin-top: 24px;
  }

  .school-testimonial-tabs button {
    padding: 8px 9px;
  }

  .school-faq {
    padding-block: 70px 82px;
  }

  .school-faq-header {
    margin-bottom: 27px;
  }

  .school-faq-item summary {
    grid-template-columns: 33px 1fr 26px;
    min-height: 74px;
    gap: 9px;
  }

  .school-faq-question {
    font-size: 22px;
  }

  .school-faq-item > p {
    margin: 0 30px 22px 42px;
    font-size: 13px;
  }

  .school-footer {
    padding-block: 68px 23px;
  }

  .school-footer-cta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 44px;
  }

  .school-footer-cta h2 {
    font-size: clamp(50px, 14vw, 68px);
  }

  .school-footer-links {
    gap: 32px 20px;
    padding-block: 38px 42px;
  }

  .school-footer-links h3 {
    margin-bottom: 15px;
  }

  .school-footer-links li,
  .school-footer-links a {
    font-size: 11px;
  }

  .school-footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 8px;
  }

  .school-footer-bottom span:nth-child(2),
  .school-footer-bottom span:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .school-experience-card,
  .school-experience-visual img,
  .school-experience-copy {
    transition: none;
  }

  .school-story-image img,
  .school-testimonial-image img,
  .school-story-link span,
  .school-footer-primary,
  .school-testimonial-tabs button {
    transition: none;
  }
}
