:root {
  --bg: #f7f4ef;
  --navy: #24365f;
  --navy-deep: #1f2f55;
  --blue-soft: #afc9e4;
  --blue-pale: #c7daea;
  --red: #b5452d;
  --gold: #f2c45b;
  --gold-deep: #e8b84f;
  --khaki: #d2b98a;
  --ink: #1d2433;
  --muted: #677184;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(31, 47, 85, 0.18);
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-heading: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
}

@font-face {
  font-family: "Archimelo Regular";
  src: url("Archimelo Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  html,
  body {
    overflow-x: clip;
  }
}

.home-page {
  overscroll-behavior-y: none;
}

html:has(.home-page) {
  scroll-snap-type: y mandatory;
}

body.home-page {
  scroll-snap-type: y mandatory;
}

.home-page [data-scroll-page] {
  min-height: 100vh;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  height: 92px;
  display: grid;
  grid-template-columns: minmax(118px, auto) 1fr auto;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  max-width: none;
  margin: 0;
  padding: 0 clamp(22px, 4vw, 60px);
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid rgba(242, 196, 91, 0.28);
  backdrop-filter: blur(16px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-nav.scrolled {
  box-shadow: 0 18px 44px rgba(31, 47, 85, 0.1);
}

.brand {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: 290px;
  height: auto;
  max-height: 78px;
  max-width: none;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.55vw, 24px);
  color: rgba(36, 54, 95, 0.68);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(44, 42, 50, 0.16);
  border-radius: 999px;
  background: rgba(228, 225, 224, 0.72);
  color: #2c2a32;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  background: #e4e1e0;
  border-color: rgba(44, 42, 50, 0.28);
}

.nav-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.nav-action {
  min-height: 44px;
  padding: 0 24px;
  background: #a54b31;
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
}

.nav-action:hover {
  transform: translateY(-2px) scale(1.03);
  background: #8f3f2b;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--navy-deep);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  background: rgba(247, 244, 239, 0.76);
  border: 1px solid rgba(44, 42, 50, 0.18);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(31, 47, 85, 0.1);
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.menu-toggle:hover {
  background: #ffffff;
  border-color: rgba(165, 75, 49, 0.36);
  transform: translateY(-1px);
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: #2c2a32;
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease, background 0.24s ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
}

.menu-toggle::before {
  transform: translateY(-7px);
}

.menu-toggle span:first-child {
  transform: translateY(0);
}

.menu-toggle span:last-child {
  transform: translateY(7px);
}

.menu-open .menu-toggle {
  background: #2c2a32;
  border-color: #2c2a32;
}

.menu-open .menu-toggle::before {
  background: #dab17a;
  transform: rotate(45deg);
}

.menu-open .menu-toggle::after {
  background: #dab17a;
  transform: rotate(-45deg);
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 132px 24px 56px;
}

.hero-bg,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  transform: translateY(42px) scale(1.08);
  transition: opacity 1s ease, transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(42px) scale(1.04);
}

.hero-slide-lower {
  object-position: center 28%;
  transform: translateY(104px) scale(1.16);
}

.hero-slide-lower.active {
  transform: translateY(104px) scale(1.1);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 42%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.42) 78%);
  backdrop-filter: saturate(0.92) contrast(1.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  text-align: center;
  color: var(--white);
}

.glass-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.06);
}

.hero h1,
.section-heading h2,
.process-head h2,
.brand-copy h2,
.consult-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(58px, 8vw, 108px);
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.hero h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  transform: scaleX(1.2);
  transform-origin: center;
  color: transparent;
  background: linear-gradient(90deg, var(--gold), #fff6dc);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content p {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 56px;
  padding: 0 30px;
  font-size: 15px;
}

.btn-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 0 30px rgba(242, 196, 91, 0.28);
}

.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255, 255, 255, 0.2);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: 42px;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--gold);
  border-color: var(--gold);
}

.marquee-strip {
  overflow: hidden;
  padding: 28px 0;
  background: #a54b31;
  border-block: 1px solid rgba(228, 225, 224, 0.22);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 72px;
  color: #e4e1e0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.section-pad {
  padding: 124px max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading span,
.philosophy-copy > span,
.process-head span,
.brand-copy > span,
.consult-copy > span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.philosophy-copy h2,
.process-head h2,
.brand-copy h2,
.consult-copy h2 {
  color: var(--navy);
  font-size: clamp(42px, 5vw, 72px);
}

.section-heading p,
.philosophy-copy p,
.intro-card p,
.process-card p,
.brand-copy p,
.consult-copy p,
.why-main p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.intro {
  background:
    linear-gradient(135deg, rgba(228, 225, 224, 0.96) 0%, rgba(247, 244, 239, 0.94) 48%, rgba(167, 189, 219, 0.42) 100%);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  max-width: 1280px;
  margin: 0 auto;
}

.philosophy-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(247, 244, 239, 0.28), rgba(167, 189, 219, 0.2));
  box-shadow: 0 34px 90px rgba(36, 54, 95, 0.16);
}

.philosophy-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(167, 189, 219, 0) 54%, rgba(36, 54, 95, 0.16) 100%);
  pointer-events: none;
}

.philosophy-media img {
  position: relative;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.philosophy-copy {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 40px;
  background: rgba(247, 244, 239, 0.68);
  box-shadow: 0 26px 70px rgba(36, 54, 95, 0.08);
}

.philosophy-copy::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 120px;
  height: 3px;
  background: #a54b31;
  border-radius: 999px;
}

.philosophy-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
}

.philosophy-copy p {
  margin: 0;
}

.philosophy-copy p + p {
  margin-top: 22px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.intro-card,
.why-main,
.consult-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.08);
}

.intro-card {
  padding: 30px;
}

.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #e4e1e0;
  background: #a54b31;
  border-radius: 18px;
  font-weight: 900;
}

.intro-card h3,
.process-card h3,
.program-copy h3,
.why-main h3 {
  margin: 22px 0 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.18;
}

.dark-process {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(167, 189, 219, 0.98) 0%, rgba(199, 218, 234, 0.92) 46%, rgba(247, 244, 239, 0.78) 100%),
    radial-gradient(900px 420px at 16% 10%, rgba(255, 255, 255, 0.45), transparent 62%),
    radial-gradient(820px 400px at 88% 34%, rgba(165, 75, 49, 0.18), transparent 58%),
    #a7bddb;
}

.process-head {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
}

.process-head h2 {
  color: var(--navy);
}

.process-stack {
  display: grid;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.process-card {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 36px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  color: var(--navy);
  box-shadow: 0 26px 70px rgba(36, 54, 95, 0.16);
}

.process-card.accent {
  background: rgba(36, 54, 95, 0.18);
  border-color: rgba(36, 54, 95, 0.18);
}

.process-card.gold {
  background: #2d3858;
  color: #e4e1e0;
  border-color: rgba(228, 225, 224, 0.26);
}

.process-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
}

.process-card span {
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-card.gold span,
.process-card.gold h3,
.process-card.gold p {
  color: #e4e1e0;
}

.process-card h3 {
  color: var(--navy);
  font-size: 34px;
}

.process-card p {
  color: rgba(36, 54, 95, 0.76);
}

.programs {
  background: var(--bg);
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.program-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.program-card:hover img {
  transform: scale(1.1);
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3), transparent);
}

.program-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  color: var(--white);
}

.program-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.program-copy h3 {
  color: var(--white);
}

.reveal-on-hover .reveal-content {
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-hover:hover .reveal-content {
  max-height: 260px;
  opacity: 1;
  margin-top: 12px;
}

.home-events {
  background: var(--bg);
}

.home-page .home-events,
.home-page .brand-feature,
.home-page .intro {
  display: grid;
  align-items: center;
}

.event-grid,
.page-card-grid,
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.event-card,
.page-card,
.teacher-card,
.resource-card,
.support-card {
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.08);
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card img,
.teacher-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-card-body,
.page-card,
.teacher-card div,
.resource-card,
.support-card {
  padding: 26px;
}

.event-card-body {
  display: grid;
  grid-template-rows: auto minmax(58px, auto) minmax(76px, auto) auto;
  flex: 1;
  align-content: start;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.event-meta strong {
  color: var(--navy);
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  white-space: nowrap;
}

.event-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent), 0 0 14px currentColor;
}

.event-status.status-upcoming::before,
.event-status.status-ended::before {
  display: none;
}

.event-status.status-upcoming {
  color: #dab17a;
}

.event-status.status-live {
  color: #a54b31;
}

.event-status.status-ended {
  color: #24365f;
}

.event-card h3,
.page-card h3,
.teacher-card h3,
.resource-card h3,
.support-card h3 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.22;
}

.event-card h3 {
  min-height: 58px;
}

.event-card p,
.page-card p,
.teacher-card p,
.resource-card p,
.support-card p {
  color: var(--muted);
  line-height: 1.7;
}

.event-card .text-link {
  align-self: end;
  justify-self: start;
}

.brand-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 12% 22%, rgba(255, 246, 220, 0.32), transparent 62%),
    linear-gradient(135deg, #dab17a 0%, #c99b63 54%, #dab17a 100%);
}

.brand-glow {
  position: absolute;
  inset: -20% auto -20% -20%;
  width: 60%;
  background: radial-gradient(circle, rgba(228, 225, 224, 0.22), transparent 65%);
  filter: blur(40px);
}

.brand-copy {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.brand-copy h2 {
  color: var(--white);
}

.brand-copy p {
  max-width: 560px;
  color: rgba(228, 225, 224, 0.78);
}

.mini-stats {
  display: flex;
  gap: 16px;
  margin: 30px 0;
}

.mini-stats div {
  min-width: 130px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-stats strong {
  display: block;
  color: #e4e1e0;
  font-size: 32px;
  font-family: var(--font-heading);
}

.mini-stats span {
  color: rgba(228, 225, 224, 0.72);
  font-size: 13px;
}

.event-action {
  color: #dab17a;
  background: #2c2a32;
  box-shadow: 0 18px 42px rgba(44, 42, 50, 0.22);
}

.event-action:hover {
  color: #dab17a;
  background: #242229;
}

.floating-photo {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.48);
  transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}

.floating-photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.why-main {
  padding: 42px;
  background: var(--bg);
}

.orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(52px);
}

.orb.one {
  top: -100px;
  right: -90px;
  background: rgba(242, 196, 91, 0.52);
}

.why-main > *:not(.orb) {
  position: relative;
  z-index: 1;
}

.why-main h3 {
  max-width: 620px;
  font-size: clamp(34px, 4vw, 54px);
}

.why-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.why-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(199, 218, 234, 0.75);
  border-radius: 22px;
  background: var(--white);
  font-weight: 800;
  color: var(--navy);
}

.why-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: rgba(175, 201, 228, 0.5);
  border-radius: 14px;
}

.why-images {
  display: grid;
  gap: 18px;
}

.why-images img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.12);
}

.consult {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 38px;
}

.consult-form label {
  position: relative;
  display: block;
}

.consult-form label.full,
.consult-form button,
.form-message {
  grid-column: 1 / -1;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(36, 54, 95, 0.22);
  padding: 22px 0 10px;
  background: transparent;
  outline: none;
  color: var(--ink);
  resize: vertical;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: transparent;
}

.consult-form label span {
  position: absolute;
  left: 0;
  top: 19px;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}

.consult-form input:focus + span,
.consult-form textarea:focus + span,
.consult-form input:not(:placeholder-shown) + span,
.consult-form textarea:not(:placeholder-shown) + span {
  transform: translateY(-18px);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.form-message {
  display: none;
  margin: 0;
  color: #0f766e;
  font-weight: 800;
}

.form-message.show {
  display: block;
}

.recruitment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.08);
}

.recruitment-form label {
  display: grid;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.recruitment-form label.full,
.recruitment-form button {
  grid-column: 1 / -1;
}

.recruitment-form label span {
  font-size: 14px;
}

.recruitment-form input,
.recruitment-form select,
.recruitment-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 54, 95, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  box-shadow: 0 8px 22px rgba(31, 47, 85, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.recruitment-form textarea {
  resize: vertical;
}

.recruitment-form input:focus,
.recruitment-form select:focus,
.recruitment-form textarea:focus {
  border-color: rgba(165, 75, 49, 0.48);
  box-shadow: 0 0 0 4px rgba(165, 75, 49, 0.1);
}

.recruitment-form.was-validated input:invalid,
.recruitment-form.was-validated select:invalid,
.recruitment-form.was-validated textarea:invalid {
  border-color: rgba(181, 69, 45, 0.68);
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(126px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.recruitment-form select,
.appointment-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%2324365F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}

.recruitment-form input[type="file"] {
  min-height: 52px;
  padding: 9px 14px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 240, 0.82)),
    #ffffff;
  cursor: pointer;
}

.recruitment-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(165, 75, 49, 0.1);
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.recruitment-form input[type="file"]::file-selector-button:hover {
  background: var(--red);
  color: #ffffff;
}

.recruitment-form button {
  justify-self: center;
  min-height: 52px;
  padding: 0 30px;
  background: #a54b31;
  color: #ffffff;
}

.recruitment-form button:hover {
  background: #8f3f2b;
}

body.receipt-open {
  overflow: hidden;
}

.recruitment-receipt[hidden] {
  display: none;
}

.recruitment-receipt {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(44, 42, 50, 0.42);
  backdrop-filter: blur(10px);
}

.recruitment-receipt-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(30px, 5vw, 46px);
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 47, 85, 0.22);
  text-align: center;
}

.recruitment-receipt-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recruitment-receipt-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

.recruitment-receipt-card p {
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.recruitment-receipt-card .btn {
  min-height: 50px;
  padding: 0 30px;
  background: #a54b31;
  color: #ffffff;
}

.recruitment-receipt-card .btn:hover {
  background: #8f3f2b;
}

.recruitment-receipt-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(36, 54, 95, 0.12);
  border-radius: 50%;
  background: rgba(247, 244, 239, 0.9);
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.recruitment-receipt-close:hover {
  background: #e4e1e0;
}

body.appointment-open {
  overflow: hidden;
}

.appointment-modal[hidden],
.appointment-receipt[hidden] {
  display: none;
}

.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(44, 42, 50, 0.42);
  backdrop-filter: blur(10px);
}

.appointment-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 54, 95, 0.18) transparent;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 47, 85, 0.22);
}

.appointment-dialog::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.appointment-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.appointment-dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(36, 54, 95, 0.16);
}

.appointment-dialog::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 54, 95, 0.28);
}

.appointment-dialog > span,
.appointment-receipt-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.appointment-dialog h2,
.appointment-receipt-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

.appointment-dialog > p,
.appointment-receipt-card p {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.appointment-form label,
.appointment-fieldset {
  display: grid;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.appointment-form label.full,
.appointment-fieldset,
.appointment-actions {
  grid-column: 1 / -1;
}

.appointment-form label span,
.appointment-fieldset legend {
  padding: 0;
  font-size: 14px;
}

.appointment-fieldset legend {
  margin-bottom: 12px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 54, 95, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  box-shadow: 0 8px 22px rgba(31, 47, 85, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: rgba(165, 75, 49, 0.48);
  box-shadow: 0 0 0 4px rgba(165, 75, 49, 0.1);
}

.appointment-form.was-validated input:invalid,
.appointment-form.was-validated select:invalid,
.appointment-form.was-validated textarea:invalid {
  border-color: rgba(181, 69, 45, 0.68);
}

.appointment-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%2324365F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}

.appointment-phone {
  display: grid;
  grid-template-columns: minmax(126px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.appointment-fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.appointment-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.appointment-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(36, 54, 95, 0.12);
  border-radius: 18px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 400;
  box-shadow: 0 8px 22px rgba(31, 47, 85, 0.04);
}

.appointment-checks input {
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(36, 54, 95, 0.28);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
}

.appointment-checks input:checked {
  border-color: var(--red);
  background:
    var(--red)
    url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.7 6.5L9 1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 10px 8px no-repeat;
}

.appointment-checks label:has(input:checked) {
  border-color: rgba(165, 75, 49, 0.34);
  background: rgba(165, 75, 49, 0.08);
  color: var(--red);
}

.appointment-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.appointment-actions .btn {
  min-height: 52px;
  padding: 0 28px;
}

.appointment-submit,
.appointment-receipt-card .btn {
  background: #a54b31;
  color: #ffffff;
}

.appointment-submit:hover,
.appointment-receipt-card .btn:hover {
  background: #8f3f2b;
}

.appointment-cancel {
  border: 1px solid rgba(36, 54, 95, 0.14);
  background: #f7f4ef;
  color: var(--navy);
}

.appointment-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(36, 54, 95, 0.12);
  border-radius: 50%;
  background: rgba(247, 244, 239, 0.9);
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.appointment-close:hover {
  background: #e4e1e0;
}

.appointment-receipt {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.appointment-receipt-card {
  width: min(480px, 100%);
  padding: clamp(26px, 5vw, 38px);
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 47, 85, 0.22);
  text-align: center;
  pointer-events: auto;
}

.appointment-receipt-card p {
  margin-bottom: 0;
}

.footer {
  padding: 78px max(24px, calc((100vw - 1280px) / 2 + 24px)) 30px;
  background: #2c2a32;
  color: rgba(255, 255, 255, 0.72);
}

.home-page .footer {
  scroll-snap-align: end;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: start;
  justify-content: space-between;
}

.footer img {
  width: 220px;
  height: auto;
  filter: none;
}

.footer h2,
.footer h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  line-height: 1.18;
}

.footer h2 {
  margin-top: 28px;
  font-size: 28px;
}

.footer h3 {
  margin-bottom: 18px;
  font-size: 18px;
}

.footer p {
  margin: 16px 0 0;
  line-height: 1.78;
}

.footer-brand p {
  max-width: 520px;
}

.footer ul,
.footer dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.footer dl {
  display: grid;
  gap: 16px;
}

.footer dt {
  color: #dab17a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer-contact dl {
  gap: 18px;
}

.footer-contact dl div {
  display: grid;
  grid-template-columns: 88px max-content;
  align-items: center;
  column-gap: 18px;
}

.footer-contact dt,
.footer-contact dd {
  white-space: nowrap;
}

.footer-contact dd {
  margin: 0;
  line-height: 1.45;
}

.footer a {
  transition: color 0.2s ease, background 0.2s ease;
}

.footer a:not(.btn):hover {
  color: #dab17a;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  text-align: center;
}

.consult-widget {
  position: fixed;
  right: 48px;
  bottom: 24px;
  z-index: 80;
  width: 112px;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.consult-widget::before {
  content: "";
  width: 165px;
  height: 165px;
  margin: 0 0 -12px;
  background: url("assets/consult-bear-wave.gif?v=20260722-3") center bottom / contain no-repeat;
  filter: drop-shadow(0 10px 14px rgba(31, 47, 85, 0.18));
  pointer-events: none;
}

.consult-widget.open::before {
  display: none;
}

.consult-widget.open {
  width: min(336px, calc(100vw - 36px));
  justify-items: end;
}

.consult-widget-button {
  min-width: 112px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #a54b31;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(165, 75, 49, 0.28);
  cursor: pointer;
  font-weight: 900;
}

.consult-panel {
  position: relative;
  justify-self: end;
  width: min(336px, calc(100vw - 36px));
  display: none;
  padding: 24px;
  border: 1px solid rgba(199, 218, 234, 0.86);
  border-radius: 28px;
  background: rgba(247, 244, 239, 0.98);
  box-shadow: 0 24px 70px rgba(31, 47, 85, 0.18);
}

.consult-panel-mascot {
  overflow: visible;
  isolation: isolate;
}

.consult-panel-mascot::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -5px;
  left: 8px;
  width: 225px;
  height: 32px;
  border-radius: 50%;
  background: rgba(44, 42, 50, 0.22);
  filter: blur(10px);
  transform: scaleY(0.46);
  pointer-events: none;
}

.consult-mascot {
  position: absolute;
  z-index: 1;
  top: -150px;
  left: -8px;
  width: 245px;
  height: auto;
  pointer-events: none;
  filter:
    drop-shadow(0 12px 14px rgba(44, 42, 50, 0.16))
    drop-shadow(0 3px 4px rgba(44, 42, 50, 0.12));
  user-select: none;
}

.consult-panel-mascot h2,
.consult-panel-mascot p,
.consult-panel-mascot .qr-placeholder,
.consult-panel-mascot .btn,
.consult-panel-mascot dl {
  position: relative;
  z-index: 2;
}

.consult-panel-mascot .consult-close {
  z-index: 2;
}

.consult-widget.open .consult-panel {
  display: block;
}

.consult-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(44, 42, 50, 0.08);
  color: #2c2a32;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.consult-panel h2 {
  margin: 4px 36px 10px 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 24px;
}

.consult-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  margin: 0 auto 18px;
  padding: 10px;
  border: 1px solid rgba(199, 218, 234, 0.86);
  border-radius: 22px;
  background: var(--white);
  color: rgba(44, 42, 50, 0.42);
  font-weight: 900;
}

.qr-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.consult-panel-mascot .qr-placeholder {
  width: 160px;
  height: 160px;
}

@media (max-width: 480px) {
  .consult-widget::before {
    width: 108px;
    height: 108px;
    margin-right: 0;
  }

  .consult-panel-mascot::before {
    left: 8px;
    width: 190px;
    height: 28px;
  }

  .consult-mascot {
    top: -128px;
    left: 0;
    width: 210px;
  }
}

.consult-panel .btn {
  width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  color: var(--white);
  background: #a54b31;
}

.consult-panel dl {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 2px 0 0;
}

.consult-panel dl div {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  font-size: 14px;
  text-align: center;
}

.consult-panel dt {
  color: var(--red);
  font-weight: 900;
}

.consult-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.page-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 160px max(24px, calc((100vw - 1280px) / 2 + 24px)) 78px;
  background:
    linear-gradient(135deg, rgba(228, 225, 224, 0.96) 0%, rgba(247, 244, 239, 0.9) 46%, rgba(167, 189, 219, 0.72) 100%);
}

.page-hero-content {
  max-width: 820px;
}

.page-hero span,
.page-section span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1,
.page-section h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.06;
}

.page-hero h1,
.page-section h2,
.section-heading h2,
.philosophy-copy h2,
.process-head h2,
.brand-copy h2,
.consult-copy h2,
.about-intro-head h1,
.founder-intro-copy h2,
.testimonials-head h2,
.offer-showcase-head h2,
.activity-calendar-head h2,
.activity-detail-heading h1,
.teacher-intro-section h2,
.standards-copy h2,
.core-team-copy h2,
.feedback-heading h2,
.resource-section-head h2,
.support-faq-head h2 {
  max-width: none;
  white-space: nowrap;
}

.page-hero p,
.page-section > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.page-section {
  padding: 104px max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: var(--bg);
}

.page-section.alt {
  background: #e4e1e0;
}

.course-section {
  overflow: hidden;
}

.course-carousel {
  position: relative;
  margin-top: 48px;
  margin-right: calc(-1 * max(24px, calc((100vw - 1280px) / 2 + 24px)));
}

.course-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 max(96px, calc((100vw - 1280px) / 2 + 96px)) 8px 0;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.course-carousel-track::-webkit-scrollbar {
  display: none;
}

.course-slide-card {
  position: relative;
  flex: 0 0 clamp(300px, 27vw, 390px);
  min-height: clamp(430px, 38vw, 560px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.34);
  border-radius: 32px;
  background-image:
    linear-gradient(180deg, rgba(36, 54, 95, 0.08) 0%, rgba(36, 54, 95, 0.34) 44%, rgba(29, 36, 51, 0.84) 100%),
    radial-gradient(360px 220px at 20% 0%, rgba(218, 177, 122, 0.28), transparent 68%),
    var(--course-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 66px rgba(31, 47, 85, 0.16);
  scroll-snap-align: start;
}

.course-slide-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(29, 36, 51, 0) 0%, rgba(29, 36, 51, 0.72) 78%);
  pointer-events: none;
}

.course-slide-card > div {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.course-slide-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.25vw, 38px);
  line-height: 1.14;
  text-shadow: 0 14px 34px rgba(29, 36, 51, 0.38);
}

.course-slide-card p {
  margin: 18px 0 0;
  color: rgba(247, 244, 239, 0.88);
  font-size: 16px;
  line-height: 1.7;
  text-shadow: 0 10px 26px rgba(29, 36, 51, 0.32);
}

.course-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 244, 239, 0.58);
  border-radius: 50%;
  background: rgba(36, 54, 95, 0.72);
  color: #ffffff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 18px 40px rgba(31, 47, 85, 0.2);
  transform: translateY(-50%);
  transition: background 0.24s ease, transform 0.24s ease;
}

.course-carousel-arrow:hover {
  background: #a54b31;
  transform: translateY(-50%) scale(1.04);
}

.course-carousel-arrow.prev {
  left: 18px;
}

.course-carousel-arrow.next {
  right: max(18px, calc((100vw - 1280px) / 2 + 18px));
}

.course-carousel-dots {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.course-carousel-dots span {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  border-radius: 999px;
  background: rgba(36, 54, 95, 0.2);
}

.course-carousel-dots span:first-child {
  width: 28px;
  background: #a54b31;
}

.about-page main {
  background:
    radial-gradient(760px 360px at 80% 8%, rgba(167, 189, 219, 0.2), transparent 68%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f4ef 100%);
}

.about-page .about-hero {
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #e4e1e0;
}

.about-page .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/boy-daughter-from-asian-family-children-are-having-fun-art-drawing.jpg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
}

.about-page .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(
    90deg,
    rgba(44, 42, 50, 0.52) 0%,
    rgba(44, 42, 50, 0.44) 28%,
    rgba(44, 42, 50, 0.18) 56%,
    rgba(44, 42, 50, 0) 78%
  );
  pointer-events: none;
}

.about-page .about-hero .page-hero-content {
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-page .about-hero h1 {
  color: #ffffff;
  text-shadow: 0 18px 42px rgba(29, 36, 51, 0.42);
}

.about-page .about-hero p {
  color: rgba(247, 244, 239, 0.9);
  text-shadow: 0 10px 28px rgba(29, 36, 51, 0.45);
}

.about-page .about-hero span {
  color: #dab17a;
  text-shadow: 0 8px 22px rgba(29, 36, 51, 0.46);
}

.about-intro-section {
  padding: 118px max(24px, calc((100vw - 1280px) / 2 + 24px)) 92px;
}

.about-intro-head {
  max-width: 980px;
  margin: 0 auto 68px;
  text-align: center;
}

.about-kicker {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.about-kicker::before,
.about-kicker::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--red);
  border-style: solid;
}

.about-kicker::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.about-kicker::after {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
}

.about-intro-head h1 {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: 0;
}

.about-intro-head em {
  display: block;
  max-width: 980px;
  margin: 18px auto 0;
  color: #747d90;
  font-family: "Archimelo Regular", var(--font-heading);
  font-synthesis-weight: none;
  font-style: normal;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0;
}

.about-intro-head p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.about-image-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1220px;
  min-height: 640px;
  margin: 0 auto;
}

.about-image-mosaic figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e4e1e0;
  box-shadow: 0 24px 70px rgba(29, 36, 51, 0.12);
}

.about-image-mosaic .about-image-large {
  grid-row: 1 / span 2;
}

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

.about-image-large img {
  object-position: 52% center;
}

.about-statement-section {
  padding: 82px max(24px, calc((100vw - 1280px) / 2 + 24px)) 118px;
  background: #ffffff;
}

.about-statement {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about-quote-mark {
  height: 62px;
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 84px;
  font-weight: 900;
  line-height: 0.9;
}

.about-statement-copy {
  margin-top: 28px;
  color: var(--ink);
  text-align: left;
}

.about-statement-copy p {
  margin: 0 auto 24px;
  color: #2c2a32;
  font-size: 20px;
  line-height: 1.95;
}

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

.about-statement-copy strong {
  color: var(--navy);
  font-weight: 900;
}

.about-founder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  margin: 28px auto 46px;
  text-align: left;
}

.about-founder img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(29, 36, 51, 0.16);
}

.about-founder strong,
.about-founder span {
  display: block;
}

.about-founder strong {
  color: var(--ink);
  font-family: "Archimelo Regular", var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.about-founder span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.founder-intro-section {
  padding: 112px max(24px, calc((100vw - 1280px) / 2 + 24px)) 126px;
  background:
    radial-gradient(620px 300px at 12% 10%, rgba(199, 218, 234, 0.28), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
}

.founder-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  max-width: 1220px;
  margin: 0 auto;
}

.founder-intro-copy span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.founder-intro-copy h2 {
  margin: 0 0 30px;
  color: var(--navy);
  font-family: "Archimelo Regular", var(--font-heading);
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.founder-intro-copy p {
  margin: 0 0 22px;
  color: #2c2a32;
  font-size: 18px;
  line-height: 1.92;
}

.founder-intro-copy p:last-child {
  margin-bottom: 0;
}

.founder-intro-media {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border-radius: 34px;
  background: transparent;
}

.founder-intro-media img {
  position: relative;
  z-index: 2;
  width: min(92%, 520px);
  height: auto;
  max-height: 620px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.founder-orb {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
}

.founder-orb-blue {
  top: 30px;
  left: 18%;
  width: 132px;
  height: 132px;
  background: var(--blue-soft);
}

.founder-orb-gold {
  top: 172px;
  right: 28px;
  width: 156px;
  height: 156px;
  background: var(--gold);
}

.founder-orb-navy {
  right: 8%;
  bottom: 22px;
  width: 142px;
  height: 142px;
  background: var(--navy);
}

.founder-orb-red {
  left: 7%;
  bottom: 122px;
  width: 86px;
  height: 86px;
  background: var(--red);
}

.testimonials-section {
  padding: 116px max(24px, calc((100vw - 1280px) / 2 + 24px)) 132px;
  background: #ffffff;
}

.testimonials-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.testimonials-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 24px;
  padding: 0 22px;
  border: 1px solid rgba(36, 54, 95, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonials-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.testimonials-head p {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.testimonials-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1220px;
  max-height: 760px;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.testimonials-column {
  overflow: hidden;
  background: transparent;
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 10px 6px 36px;
  background: transparent;
  animation: testimonialColumnScroll 22s linear infinite;
}

.testimonials-column-two .testimonials-track {
  animation-duration: 28s;
  animation-direction: reverse;
}

.testimonials-column-three .testimonials-track {
  animation-duration: 24s;
}

.testimonials-columns:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  display: flex;
  min-height: 318px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  border: 1px solid rgba(36, 54, 95, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(29, 36, 51, 0.055);
}

.testimonial-card p {
  margin: 0;
  color: #2c2a32;
  font-size: 18px;
  line-height: 1.76;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author > span {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(175, 201, 228, 0.42);
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.testimonial-card:nth-child(3n + 2) .testimonial-author > span {
  background: rgba(242, 196, 91, 0.32);
  color: #8f3f2b;
}

.testimonial-card:nth-child(3n) .testimonial-author > span {
  background: rgba(181, 69, 45, 0.12);
  color: var(--red);
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.testimonial-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

@keyframes testimonialColumnScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-50% - 13px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-track {
    animation: none;
  }
}

.offer-showcase-section {
  padding: 112px max(24px, calc((100vw - 1280px) / 2 + 24px)) 136px;
  overflow: hidden;
  background:
    radial-gradient(640px 320px at 12% 18%, rgba(199, 218, 234, 0.32), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
}

.offer-showcase-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.offer-showcase-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 24px;
  padding: 0 22px;
  border: 1px solid rgba(36, 54, 95, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-showcase-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.offer-showcase-head p {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.offer-showcase {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.offer-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px max(12px, calc((100% - 1140px) / 2)) 34px;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.offer-track::-webkit-scrollbar {
  display: none;
}

.offer-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.offer-card {
  flex: 0 0 clamp(260px, 24vw, 360px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 54, 95, 0.08);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(29, 36, 51, 0.1);
  scroll-snap-align: center;
  transform: translateY(0);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.offer-card:nth-child(even) {
  transform: translateY(24px);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(29, 36, 51, 0.14);
}

.offer-card:nth-child(even):hover {
  transform: translateY(14px);
}

.offer-card img {
  width: 100%;
  display: block;
  aspect-ratio: 2362 / 3150;
  object-fit: cover;
}

.offer-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 54, 95, 0.1);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  box-shadow: 0 18px 46px rgba(29, 36, 51, 0.14);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.offer-nav::before {
  content: "";
  width: 9px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 0, 28% 0, 100% 50%, 28% 100%, 0 100%, 72% 50%);
}

.offer-nav-prev::before {
  transform: scaleX(-1);
}

.offer-nav-next::before {
  transform: none;
}

.offer-nav:hover {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.offer-nav-prev {
  left: -12px;
}

.offer-nav-next {
  right: -12px;
}

.teacher-hero,
.ecosystem-hero,
.family-hero,
.support-hero {
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #e4e1e0;
}

.teacher-hero::before,
.ecosystem-hero::before,
.family-hero::before,
.support-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.teacher-hero::before {
  background-image: url("images/group-colleagues-work-are-discussing-exchanging-ideas 2.jpg");
}

.ecosystem-hero::before {
  background-image: url("images/students-learning-school-their-classroom.jpg");
  background-position: 64% center;
}

.family-hero::before {
  background-image: url("images/full-shot-man-girl-cutting-paper (1).jpg");
  background-position: 62% center;
}

.support-hero::before {
  background-image: url("images/Office-images/Office3.jpg");
  background-position: 50% 0%;
}

.resources-page .resources-hero {
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #e4e1e0;
}

.resources-page .resources-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/asian-father-helps-son-her-homework-schoolxachild-study-together-homeschooling-concept-getting-homework-help-from-father.jpg");
  background-position: 58% center;
  background-size: cover;
  transform: scale(1.02);
}

.resources-page .resources-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(
    90deg,
    rgba(44, 42, 50, 0.4) 0%,
    rgba(44, 42, 50, 0.36) 24%,
    rgba(44, 42, 50, 0.18) 46%,
    rgba(44, 42, 50, 0) 68%
  );
  pointer-events: none;
}

.resources-page .page-hero-content {
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.resources-page .page-hero h1 {
  color: #ffffff;
  text-shadow: 0 18px 42px rgba(29, 36, 51, 0.42);
}

.resources-page .page-hero p {
  color: rgba(247, 244, 239, 0.9);
  text-shadow: 0 10px 28px rgba(29, 36, 51, 0.45);
}

.resources-page .page-hero span {
  color: #dab17a;
  text-shadow: 0 8px 22px rgba(29, 36, 51, 0.46);
}

.contact-hero {
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #e4e1e0;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/brooke-cagle-g1Kr4Ozfoac-unsplash.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(44, 42, 50, 0.44) 0%,
    rgba(44, 42, 50, 0.34) 34%,
    rgba(44, 42, 50, 0.08) 72%
  );
  pointer-events: none;
}

.contact-hero .page-hero-content {
  max-width: 760px;
}

.contact-hero h1 {
  color: #ffffff;
  text-shadow: 0 18px 42px rgba(29, 36, 51, 0.42);
}

.contact-hero p {
  color: rgba(247, 244, 239, 0.9);
  text-shadow: 0 10px 28px rgba(29, 36, 51, 0.45);
}

.contact-hero span {
  color: #dab17a;
  text-shadow: 0 8px 22px rgba(29, 36, 51, 0.46);
}

.teacher-hero::after,
.ecosystem-hero::after,
.family-hero::after,
.support-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(
    90deg,
    rgba(44, 42, 50, 0.4) 0%,
    rgba(44, 42, 50, 0.36) 24%,
    rgba(44, 42, 50, 0.18) 46%,
    rgba(44, 42, 50, 0) 68%
  );
  pointer-events: none;
}

.teacher-page .page-hero-content,
.ecosystem-page .page-hero-content,
.family-page .page-hero-content,
.support-page .page-hero-content {
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.teacher-page .page-hero h1,
.ecosystem-page .page-hero h1,
.family-page .page-hero h1,
.support-page .page-hero h1 {
  color: #ffffff;
  text-shadow: 0 18px 42px rgba(29, 36, 51, 0.42);
}

.teacher-page .page-hero p,
.ecosystem-page .page-hero p,
.family-page .page-hero p,
.support-page .page-hero p {
  color: rgba(247, 244, 239, 0.9);
  text-shadow: 0 10px 28px rgba(29, 36, 51, 0.45);
}

.teacher-page .page-hero span,
.ecosystem-page .page-hero span,
.family-page .page-hero span,
.support-page .page-hero span {
  color: #dab17a;
  text-shadow: 0 8px 22px rgba(29, 36, 51, 0.46);
}

.activity-calendar-section {
  background:
    radial-gradient(760px 320px at 88% 12%, rgba(167, 189, 219, 0.32), transparent 68%),
    linear-gradient(180deg, #f7f4ef 0%, #eef4f8 100%);
}

.activity-calendar-head {
  max-width: none;
  margin-bottom: 52px;
}

.activity-calendar-head p {
  max-width: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  white-space: nowrap;
}

.activity-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  align-items: start;
  gap: 28px;
}

.activity-list-panel {
  min-width: 0;
}

.ecosystem-page .activity-calendar-layout {
  display: block;
}

.ecosystem-page .activity-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ecosystem-page .activity-card img {
  aspect-ratio: 16 / 8.8;
}

.ecosystem-page .activity-card-body {
  grid-template-rows: 22px auto auto auto;
  padding: 16px;
}

.ecosystem-page .activity-meta {
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ecosystem-page .activity-signup-button {
  min-height: 22px;
  padding: 0 7px;
  font-size: 10px;
}

.ecosystem-page .activity-card h3 {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.18;
}

.ecosystem-page .activity-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.45;
}

.ecosystem-page .activity-card dl {
  gap: 7px;
}

.ecosystem-page .activity-card dl div {
  padding: 8px 9px;
  border-radius: 12px;
}

.ecosystem-page .activity-card dt {
  margin-bottom: 2px;
  font-size: 10px;
}

.ecosystem-page .activity-card dd {
  font-size: 12px;
  line-height: 1.25;
}

.ecosystem-page .activity-date {
  top: 12px;
  left: 12px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.ecosystem-page .activity-date strong {
  font-size: 24px;
}

.ecosystem-page .activity-date span {
  font-size: 9px;
}

.activity-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.activity-pagination button {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(31, 47, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(31, 47, 85, 0.76);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 47, 85, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.activity-pagination .activity-pagination-nav {
  min-width: 82px;
}

.activity-pagination button.active,
.activity-pagination button:hover,
.activity-pagination button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(181, 69, 45, 0.18);
  transform: translateY(-1px);
}

.activity-pagination button:disabled {
  border-color: rgba(31, 47, 85, 0.08);
  background: rgba(239, 243, 247, 0.72);
  color: rgba(31, 47, 85, 0.34);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.activity-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.activity-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.activity-filter-bar label {
  display: grid;
  gap: 8px;
  min-width: min(240px, 100%);
  color: #24365f;
  font-size: 12px;
  font-weight: 900;
}

.activity-filter-bar select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid rgba(199, 218, 234, 0.92);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.82);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%2324365F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
  color: var(--ink);
  outline: none;
  font-weight: 800;
}

.activity-filter-bar select:focus {
  border-color: rgba(165, 75, 49, 0.58);
  box-shadow: 0 0 0 4px rgba(165, 75, 49, 0.08);
}

.activity-empty-state {
  margin: 16px 0 0;
  padding: 24px;
  border: 1px dashed rgba(36, 54, 95, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.family-activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.family-activity-section h2 {
  max-width: 980px;
  font-size: clamp(42px, 4.1vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.family-activity-grid .activity-card dl {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
  padding-right: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.family-activity-grid .activity-card dl div {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 3px;
  width: auto;
  min-width: auto;
  max-width: 100%;
  padding: 6px 8px;
}

.family-activity-grid .activity-card dt {
  flex: 0 0 auto;
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.family-activity-grid .activity-card dt::after {
  content: "：";
}

.family-activity-grid .activity-card dd {
  min-width: auto;
  font-size: clamp(9px, 0.58vw, 11px);
  line-height: 1.2;
  white-space: nowrap;
}

.family-schedule .schedule-list time {
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 18px;
  white-space: nowrap;
}

.family-schedule .schedule-list {
  max-height: min(720px, calc(100vh - 220px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 54, 95, 0.28) transparent;
}

.family-schedule .schedule-list article {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 74px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.family-schedule .schedule-list article:hover,
.family-schedule .schedule-list article:focus-visible {
  background: rgba(199, 218, 234, 0.18);
}

.family-schedule .schedule-list article:focus-visible {
  outline: 3px solid rgba(165, 75, 49, 0.2);
  outline-offset: -3px;
}

.family-schedule .schedule-list article[hidden] {
  display: none;
}

.family-schedule .schedule-list strong {
  display: block;
  white-space: nowrap;
}

.family-schedule .schedule-list p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.family-schedule .schedule-list article > span {
  justify-self: end;
}

.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 56px rgba(31, 47, 85, 0.09);
  cursor: pointer;
}

.activity-card[hidden] {
  display: none !important;
}

.activity-date {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 22px;
  background: rgba(36, 54, 95, 0.9);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(31, 47, 85, 0.2);
  backdrop-filter: blur(12px);
}

.activity-date strong {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 0.95;
}

.activity-date span {
  margin: 0;
  color: #dab17a;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.activity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.activity-card-body {
  display: grid;
  grid-template-rows: 26px auto 1fr auto;
  flex: 1;
  padding: 24px;
}

.activity-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activity-meta span {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.activity-meta .status-upcoming,
.activity-meta .status-live,
.activity-meta .status-ended {
  color: #dab17a;
  letter-spacing: 0.08em;
}

.activity-meta .status-ended {
  color: #24365f;
}

.activity-meta .status-live {
  position: relative;
  color: #a54b31;
  padding-left: 14px;
}

.activity-meta .status-live::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a54b31;
  box-shadow: 0 0 12px rgba(165, 75, 49, 0.56);
  transform: translateY(-50%);
}

.activity-status-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  min-width: max-content;
  white-space: nowrap;
}

.activity-signup-button {
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: #a54b31;
  color: #ffffff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.24s ease, background 0.24s ease;
}

.activity-signup-button:hover {
  background: #8f3f2b;
  transform: translateY(-1px);
}

.activity-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.16;
}

.activity-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.activity-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.activity-card dl div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(199, 218, 234, 0.25);
}

.activity-card dt {
  margin-bottom: 4px;
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
}

.activity-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.activity-detail-main {
  padding: 140px max(24px, calc((100vw - 1180px) / 2 + 24px)) 96px;
  background:
    radial-gradient(760px 320px at 86% 8%, rgba(167, 189, 219, 0.3), transparent 68%),
    linear-gradient(180deg, #f7f4ef 0%, #eef4f8 100%);
}

.activity-detail-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: #a54b31;
  font-weight: 900;
}

.activity-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.64fr);
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.88);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 70px rgba(31, 47, 85, 0.1);
}

.activity-detail-cover {
  display: flex;
  height: 100%;
  min-height: 360px;
  margin: 0;
}

.activity-detail-cover img,
.activity-detail-article-content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-detail-summary-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 34px;
  background: rgba(247, 244, 239, 0.86);
}

.activity-detail-summary-panel h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.08;
  white-space: pre-line;
}

.activity-detail-summary-meta,
.activity-detail-meta {
  display: grid;
  gap: 12px;
  margin: 0;
}

.activity-detail-summary-meta {
  margin-bottom: 22px;
}

.activity-detail-summary-meta div,
.activity-detail-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(199, 218, 234, 0.24);
}

.activity-detail-summary-meta dt,
.activity-detail-meta dt {
  margin-bottom: 5px;
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
}

.activity-detail-summary-meta dd,
.activity-detail-meta dd {
  margin: 0;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.45;
}

.activity-detail-tabs {
  display: flex;
  gap: 10px;
  margin: 26px 0;
}

.activity-detail-tabs button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(199, 218, 234, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.activity-detail-tabs button.active {
  border-color: #24365f;
  background: #24365f;
  color: #ffffff;
}

.activity-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 28px;
  margin-top: 34px;
  align-items: start;
}

.activity-detail-content-panel,
.activity-detail-info-card,
.activity-recommend-card {
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.88);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 56px rgba(31, 47, 85, 0.09);
}

.activity-detail-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(218, 177, 122, 0.18);
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.activity-detail-status.status-ended {
  background: rgba(36, 54, 95, 0.1);
  color: #24365f;
}

.activity-detail-article-content {
  padding: 34px;
}

.activity-detail-article-content p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.activity-detail-article-content p:last-child {
  margin-bottom: 0;
}

.activity-detail-article-content .activity-detail-lead {
  color: var(--navy);
  font-size: 19px;
  font-weight: 760;
}

.activity-detail-article-content figure {
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 24px;
}

.activity-detail-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.activity-detail-info-card,
.activity-recommend-card {
  padding: 24px;
}

.activity-detail-info-card h2,
.activity-recommend-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
}

.activity-recommend-list {
  display: grid;
  gap: 12px;
}

.activity-recommend-list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(199, 218, 234, 0.22);
}

.activity-recommend-list img {
  width: 88px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.activity-recommend-list h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.32;
}

.activity-recommend-list p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.activity-recommend-list button,
.activity-recommend-link {
  min-height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #24365f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.activity-detail-rich h2,
.activity-detail-rich h3 {
  margin: 28px 0 12px;
  color: var(--navy);
  font-family: var(--font-heading);
}

.activity-detail-rich ul,
.activity-detail-rich ol {
  margin: 0 0 18px;
  padding-left: 1.4em;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.activity-detail-rich img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 20px;
}

.activity-detail-signup {
  align-self: flex-start;
}

.activity-detail-signup:disabled {
  background: #cfd5dd;
  color: #6f7785;
  box-shadow: none;
  cursor: not-allowed;
}

.activity-schedule {
  position: sticky;
  top: 116px;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.88);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 56px rgba(31, 47, 85, 0.09);
}

.schedule-head {
  padding: 26px;
  background: #24365f;
  color: #ffffff;
}

.schedule-head span {
  margin: 0 0 10px;
  color: #dab17a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-head strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
}

.schedule-list {
  display: grid;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(199, 218, 234, 0.68);
}

.schedule-list article:last-child {
  border-bottom: 0;
}

.schedule-list time {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(218, 177, 122, 0.18);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
}

.schedule-list strong {
  color: #a54b31;
  font-size: 12px;
}

.schedule-list p {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.schedule-list article > span {
  margin: 0;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(36, 54, 95, 0.08);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.activity-signup-modal[hidden],
.activity-signup-toast[hidden] {
  display: none;
}

.activity-signup-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.activity-signup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 36, 51, 0.5);
  backdrop-filter: blur(10px);
}

.activity-signup-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(199, 218, 234, 0.88);
  border-radius: 30px;
  background: #f7f4ef;
  box-shadow: 0 34px 90px rgba(29, 36, 51, 0.28);
}

.activity-signup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(36, 54, 95, 0.1);
  color: #24365f;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.activity-signup-panel > span {
  display: block;
  margin-bottom: 12px;
  color: #a54b31;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.activity-signup-panel h2 {
  margin: 0 0 24px;
  padding-right: 48px;
  color: #24365f;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

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

.activity-signup-form label {
  display: grid;
  gap: 8px;
  color: #24365f;
  font-size: 13px;
  font-weight: 900;
}

.activity-signup-form .full,
.activity-form-actions {
  grid-column: 1 / -1;
}

.activity-signup-form input,
.activity-signup-form textarea {
  width: 100%;
  border: 1px solid rgba(199, 218, 234, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  outline: none;
  padding: 0 16px;
}

.activity-signup-form input {
  min-height: 48px;
}

.activity-signup-form textarea {
  resize: vertical;
  padding-top: 14px;
}

.activity-signup-form input:focus,
.activity-signup-form textarea:focus {
  border-color: rgba(165, 75, 49, 0.58);
  box-shadow: 0 0 0 4px rgba(165, 75, 49, 0.08);
}

.activity-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.activity-form-actions button {
  min-height: 46px;
  padding: 0 22px;
}

.activity-cancel-button {
  border: 1px solid rgba(36, 54, 95, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #24365f;
  cursor: pointer;
  font-weight: 900;
}

.activity-signup-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  width: min(520px, calc(100vw - 32px));
  padding: 16px 20px;
  border-radius: 18px;
  background: #24365f;
  color: #ffffff;
  box-shadow: 0 22px 56px rgba(31, 47, 85, 0.24);
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.teacher-page .teacher-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.teacher-page .teacher-card img {
  background: linear-gradient(135deg, #f7f4ef, #e4e1e0);
  object-position: top center;
}

.teacher-intro-section h2 {
  max-width: none;
  font-size: clamp(38px, 3.85vw, 52px);
  line-height: 1.08;
  white-space: normal;
}

.teacher-intro-section {
  background: #ffffff;
  text-align: left;
}

.teacher-intro-section > span,
.teacher-intro-section > h2,
.teacher-intro-section > p,
.teacher-intro-section .mentor-carousel {
  width: min(100%, 1200px);
  margin-right: auto;
  margin-left: auto;
}

.teacher-intro-section > p {
  max-width: none;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 440px;
  white-space: normal;
}

.teacher-showcase {
  position: relative;
  display: grid;
  grid-template-columns: none;
  gap: 0;
  margin-top: 58px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
  scroll-padding-left: 0;
  scroll-snap-type: none;
  scrollbar-width: none;
  touch-action: pan-x;
  user-select: none;
}

.teacher-showcase::-webkit-scrollbar {
  display: none;
}

.teacher-showcase.dragging {
  cursor: default;
  scroll-snap-type: none;
}

.mentor-carousel {
  position: relative;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  column-gap: clamp(48px, 7vw, 104px);
  min-height: 520px;
}

.mentor-carousel-media {
  position: relative;
  min-height: 480px;
  overflow: visible;
}

.mentor-image-stack {
  position: relative;
  width: min(100%, 392px);
  height: min(500px, 44vw);
  min-height: 420px;
  margin: 0 auto;
  overflow: visible;
}

.mentor-stack-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(280px 220px at 50% 14%, rgba(255, 255, 255, 0.86), transparent 72%),
    linear-gradient(180deg, #f7f4ef 0%, #e4e1e0 56%, #d9e5f1 100%);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 22px 58px rgba(31, 47, 85, 0.12);
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentor-stack-card-back {
  z-index: 1;
  transform: translate(-52px, 18px) rotate(-6deg) scale(0.9);
  opacity: 0.42;
}

.mentor-stack-card-mid {
  z-index: 2;
  transform: translate(54px, 14px) rotate(6deg) scale(0.91);
  opacity: 0.48;
}

.mentor-stack-card-main {
  display: grid;
  place-items: end center;
  margin: 0;
  z-index: 3;
}

.mentor-stack-card-main img {
  width: 100%;
  height: 90%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mentor-carousel.is-changing .mentor-stack-card-main img {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.mentor-carousel.is-jumping .mentor-stack-card-main {
  animation: mentorCardJump 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentor-carousel.is-jumping .mentor-stack-card-mid {
  animation: mentorCardMidJump 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentor-carousel.is-jumping .mentor-stack-card-back {
  animation: mentorCardBackJump 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentor-carousel-content {
  position: relative;
  display: grid;
  gap: 28px;
  min-width: 0;
}

.mentor-slide-list {
  position: relative;
  min-height: 310px;
}

.teacher-page .teacher-showcase .teacher-card {
  --mentor-image-height: 86%;
  --mentor-image-scale: 1;
  --mentor-image-y: 0px;
  position: relative;
  inset: auto;
  z-index: auto;
  flex: 0 0 clamp(270px, 23vw, 350px);
  min-height: 0;
  height: clamp(292px, 23vw, 350px);
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.78);
  border-radius: 30px;
  background:
    radial-gradient(260px 220px at 50% 15%, rgba(255, 255, 255, 0.76), transparent 70%),
    linear-gradient(180deg, #f1eeea 0%, #e4e1e0 56%, #d9e5f1 100%);
  box-shadow: 0 22px 52px rgba(31, 47, 85, 0.1);
  transform: none !important;
  opacity: 1 !important;
  scroll-snap-align: start;
  will-change: transform;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  min-height: 310px;
  height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0 !important;
  pointer-events: none;
  transform: translateX(26px) scale(0.98) !important;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card.active {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateX(0) scale(1) !important;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateX(0) scale(1) !important;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card > img {
  display: none;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card div {
  position: static;
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  text-shadow: none;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card small {
  display: block;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(44, 42, 50, 0.72);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.82;
}

.mentor-nav {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(36, 54, 95, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 0;
  font-weight: 400;
  line-height: 0;
  box-shadow: 0 14px 34px rgba(31, 47, 85, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mentor-nav:hover,
.mentor-nav:focus-visible {
  border-color: rgba(165, 75, 49, 0.44);
  background: #f7f4ef;
  outline: none;
  transform: translateY(-2px);
}

.mentor-nav::before {
  display: block;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.mentor-nav-prev::before {
  content: "‹";
}

.mentor-nav-next::before {
  content: "›";
}

.mentor-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: -4px;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card::after {
  content: none;
}

@keyframes mentorCardJump {
  0% {
    transform: translate(0, 0) scale(1);
  }
  42% {
    transform: translate(-14px, -10px) scale(0.985);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes mentorCardMidJump {
  0% {
    transform: translate(54px, 14px) rotate(6deg) scale(0.91);
  }
  42% {
    transform: translate(66px, 6px) rotate(7.5deg) scale(0.885);
  }
  100% {
    transform: translate(54px, 14px) rotate(6deg) scale(0.91);
  }
}

@keyframes mentorCardBackJump {
  0% {
    transform: translate(-52px, 18px) rotate(-6deg) scale(0.9);
  }
  42% {
    transform: translate(-66px, 8px) rotate(-7.5deg) scale(0.875);
  }
  100% {
    transform: translate(-52px, 18px) rotate(-6deg) scale(0.9);
  }
}

.teacher-page .teacher-showcase .teacher-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(
    180deg,
    rgba(29, 36, 51, 0) 0%,
    rgba(29, 36, 51, 0.04) 18%,
    rgba(29, 36, 51, 0.16) 36%,
    rgba(29, 36, 51, 0.38) 56%,
    rgba(29, 36, 51, 0.62) 76%,
    rgba(29, 36, 51, 0.78) 100%
  );
  pointer-events: none;
}

.teacher-page .teacher-showcase .teacher-card:hover {
  border-color: rgba(167, 189, 219, 0.95);
  box-shadow: 0 30px 72px rgba(31, 47, 85, 0.16);
  transform: translateY(-8px) !important;
}

.teacher-page .teacher-showcase .teacher-card img {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: var(--mentor-image-height);
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center bottom;
  box-shadow: none;
  transform: translateX(-50%) translateY(var(--mentor-image-y)) scale(var(--mentor-image-scale));
  transform-origin: center bottom;
  transition: transform 0.45s ease;
}

.teacher-page .teacher-showcase .teacher-card:hover img {
  transform: translateX(-50%) translateY(var(--mentor-image-y)) scale(calc(var(--mentor-image-scale) + 0.02));
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card:hover,
.teacher-page .mentor-carousel .mentor-slide.teacher-card.active:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateX(0) scale(1) !important;
}

.teacher-page .mentor-carousel .mentor-slide.teacher-card:hover img {
  transform: none;
}

.teacher-page .teacher-showcase .teacher-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 0 22px 20px;
  background: transparent;
  text-align: left;
}

.teacher-page .teacher-showcase .mentor-dennis {
  --mentor-image-height: 91%;
  --mentor-image-scale: 0.96;
}

.teacher-page .teacher-showcase .mentor-hyzel {
  --mentor-image-height: 88%;
  --mentor-image-scale: 0.98;
}

.teacher-page .teacher-showcase .mentor-lan {
  --mentor-image-height: 86%;
  --mentor-image-scale: 1;
}

.teacher-page .teacher-showcase .mentor-mia {
  --mentor-image-height: 86%;
  --mentor-image-scale: 0.98;
}

.teacher-page .teacher-showcase .mentor-roderick {
  --mentor-image-height: 85%;
  --mentor-image-scale: 0.98;
}

.teacher-page .teacher-showcase .mentor-shelley {
  --mentor-image-height: 90%;
  --mentor-image-scale: 0.96;
}

.teacher-page .teacher-showcase .mentor-stanley {
  --mentor-image-height: 90%;
  --mentor-image-scale: 0.96;
}

.teacher-page .teacher-showcase .teacher-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.teacher-page .teacher-showcase .teacher-card p {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.teacher-info-section {
  position: relative;
  overflow: hidden;
}

.teacher-info-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(167, 189, 219, 0.24);
  filter: blur(34px);
  pointer-events: none;
}

.teacher-info-grid {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.standards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.standards-section {
  overflow: hidden;
  background: #f7f4ef;
}

.standards-head {
  position: relative;
  z-index: 1;
  max-width: none;
}

.standards-head span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(199, 218, 234, 0.92);
  border-radius: 999px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.standards-head h2 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.standards-head p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
  white-space: nowrap;
}

.standards-carousel {
  position: relative;
  z-index: 1;
  margin-top: 76px;
  margin-right: calc(-1 * max(24px, calc((100vw - 1280px) / 2 + 24px)));
}

.standards-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 max(96px, calc((100vw - 1280px) / 2 + 96px)) 0 0;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.standards-track::-webkit-scrollbar {
  display: none;
}

.standards-card {
  position: relative;
  flex: 0 0 clamp(300px, 27vw, 390px);
  min-height: clamp(430px, 38vw, 560px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.34);
  border-radius: 32px;
  background-color: #1d2433;
  background-image:
    linear-gradient(180deg, rgba(36, 54, 95, 0.08) 0%, rgba(36, 54, 95, 0.34) 44%, rgba(29, 36, 51, 0.84) 100%),
    radial-gradient(360px 220px at 20% 0%, rgba(218, 177, 122, 0.28), transparent 68%),
    var(--standard-image);
  background-position: center, center, var(--standard-position, center);
  background-size: cover;
  box-shadow: none;
  clip-path: inset(0 round 32px);
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  scroll-snap-align: start;
}

.standards-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(29, 36, 51, 0) 0%, rgba(29, 36, 51, 0.72) 78%);
  pointer-events: none;
}

.standards-card > div {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.standards-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: 1.14;
  text-shadow: 0 14px 34px rgba(29, 36, 51, 0.38);
}

.standards-card p {
  margin: 18px 0 0;
  color: rgba(247, 244, 239, 0.88);
  font-size: 16px;
  line-height: 1.7;
  text-shadow: 0 10px 26px rgba(29, 36, 51, 0.32);
}

.core-team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.core-team-section {
  background:
    radial-gradient(780px 360px at 88% 16%, rgba(167, 189, 219, 0.22), transparent 68%),
    #f7f4ef;
}

.core-team-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

.core-team-copy > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.core-team-copy h2 {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.core-team-copy > p {
  max-width: none;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  white-space: nowrap;
}

.core-team-list {
  display: grid;
  gap: 24px;
}

.core-team-list article {
  padding-left: 22px;
  border-left: 2px solid rgba(199, 218, 234, 0.92);
}

.core-team-list h3 {
  margin: 0 0 8px;
  color: #1d2433;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.22;
}

.core-team-list p {
  margin: 0;
  color: rgba(97, 111, 136, 0.82);
  font-size: 16px;
  line-height: 1.72;
}

.core-team-media {
  position: relative;
  min-height: clamp(420px, 42vw, 590px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(31, 47, 85, 0.15);
}

.core-team-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 42, 50, 0.08), rgba(44, 42, 50, 0) 46%);
  pointer-events: none;
}

.core-team-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 42vw, 590px);
  object-fit: cover;
  object-position: center;
}

.teacher-info-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(199, 218, 234, 0.78);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 244, 239, 0.78));
  box-shadow: 0 18px 46px rgba(31, 47, 85, 0.08);
}

.teacher-info-card strong,
.teacher-system-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(165, 75, 49, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teacher-info-card h3,
.teacher-system-card h3 {
  margin: 26px 0 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.18;
}

.teacher-info-card p,
.teacher-system-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.teacher-system-section {
  text-align: center;
  background:
    radial-gradient(720px 320px at 78% 18%, rgba(167, 189, 219, 0.16), transparent 64%),
    #ffffff;
}

.teacher-system-section > span,
.teacher-system-section > h2,
.teacher-system-section > p {
  display: block;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.teacher-system-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
  max-width: 1180px;
  margin: 54px auto 0;
  text-align: left;
}

.teacher-system-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.teacher-system-card {
  opacity: 0.48;
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.teacher-system-card.active,
.teacher-system-card:focus-within,
.teacher-system-card:hover {
  opacity: 1;
}

.teacher-system-card.active {
  transform: translateX(6px);
}

.teacher-system-step {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 22px;
  padding: 22px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.teacher-system-step:focus-visible {
  outline: 3px solid rgba(175, 201, 228, 0.82);
  outline-offset: 6px;
}

.teacher-system-card.active strong {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(181, 69, 45, 0.22);
}

.teacher-system-card h3 {
  margin-top: 0;
  transition: color 0.32s ease;
}

.teacher-system-card.active h3 {
  color: var(--navy-deep);
}

.teacher-system-card p {
  transition: color 0.32s ease;
}

.teacher-system-card.active p {
  color: rgba(29, 36, 51, 0.72);
}

.teacher-system-preview {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(247, 244, 239, 0.78);
  box-shadow: 0 28px 78px rgba(31, 47, 85, 0.14);
}

.teacher-system-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(31, 47, 85, 0.58) 100%),
    linear-gradient(135deg, rgba(247, 244, 239, 0.18), transparent 52%);
  pointer-events: none;
}

.teacher-system-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  opacity: 1;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.teacher-system-preview.is-changing img {
  opacity: 0;
  transform: translateX(18px) scale(1.025);
}

.teacher-system-preview figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.16;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.teacher-system-preview.is-changing figcaption {
  opacity: 0;
  transform: translateY(10px);
}

.parent-feedback-section {
  background:
    radial-gradient(760px 360px at 18% 8%, rgba(218, 177, 122, 0.14), transparent 66%),
    radial-gradient(760px 360px at 88% 12%, rgba(167, 189, 219, 0.16), transparent 68%),
    #f7f4ef;
}

.testimonials-section.parent-feedback-section {
  background: #ffffff;
}

.home-testimonials-section {
  background: #ffffff;
}

.home-testimonials-section .testimonial-card::before,
.parent-feedback-section .testimonial-card::before {
  content: "★★★★★";
  display: block;
  margin-bottom: -10px;
  color: #e7b600;
  font-size: 22px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.feedback-heading {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.feedback-heading > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 18px;
  border: 1px solid rgba(199, 218, 234, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feedback-heading h2 {
  margin: 0;
  color: #1d2433;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.feedback-heading p {
  max-width: none;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.feedback-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(31, 47, 85, 0.07);
}

.feedback-stars {
  color: #e7b600;
  font-size: 24px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.feedback-card > p {
  margin: 26px 0 36px;
  color: #1d2433;
  font-family: var(--font-heading);
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.42;
  letter-spacing: 0;
}

.feedback-parent {
  margin-top: auto;
  display: grid;
  gap: 5px;
  padding-top: 22px;
  border-top: 1px solid rgba(199, 218, 234, 0.58);
}

.feedback-parent strong {
  color: #1d2433;
  font-size: 17px;
  font-weight: 800;
}

.feedback-parent span {
  color: rgba(97, 111, 136, 0.78);
  font-size: 14px;
}

.resource-list,
.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.resources-page .page-section {
  overflow: hidden;
}

.resource-section-head {
  max-width: 820px;
}

.resource-section-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.resource-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.resource-library-head .resource-section-head {
  max-width: 820px;
}

.resource-library-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 0;
}

.resource-library-nav {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(36, 54, 95, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  box-shadow: 0 18px 46px rgba(29, 36, 51, 0.14);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.resource-library-nav::before {
  content: "";
  width: 9px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(0 0, 28% 0, 100% 50%, 28% 100%, 0 100%, 72% 50%);
}

.resource-library-nav[data-resource-prev]::before {
  transform: scaleX(-1);
}

.resource-library-nav[data-resource-next]::before {
  transform: none;
}

.resource-library-nav:hover,
.resource-library-nav:focus-visible {
  background: var(--red);
  color: #ffffff;
  transform: scale(1.04);
  outline: none;
}

.resource-library-nav:disabled {
  border-color: rgba(31, 47, 85, 0.08);
  background: rgba(239, 243, 247, 0.72);
  color: rgba(31, 47, 85, 0.34);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.resource-library-nav:disabled:hover {
  border-color: rgba(31, 47, 85, 0.08);
  background: rgba(239, 243, 247, 0.72);
  color: rgba(31, 47, 85, 0.34);
}

.support-faq-section {
  background:
    radial-gradient(760px 320px at 90% 0%, rgba(167, 189, 219, 0.18), transparent 68%),
    var(--bg);
}

.support-faq-head {
  max-width: 960px;
  margin: 0 auto 42px;
}

.support-faq-list {
  display: grid;
  gap: 16px;
  width: min(100%, 1060px);
  margin: 0 auto;
}

.support-faq-item {
  overflow: hidden;
  border: 1px solid rgba(199, 218, 234, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(31, 47, 85, 0.07);
}

.support-faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.38;
}

.support-faq-question > span {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.support-faq-index,
.support-faq-icon {
  justify-content: center;
  flex: 0 0 auto;
}

.support-faq-index {
  width: 58px;
  height: 42px;
  border-radius: 999px;
  background: rgba(165, 75, 49, 0.1);
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

.support-faq-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(36, 54, 95, 0.18);
  border-radius: 50%;
  color: var(--red);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.support-faq-answer {
  padding: 0 28px 26px 94px;
  color: rgba(29, 36, 51, 0.76);
  font-size: 17px;
  line-height: 1.86;
}

.support-faq-answer p {
  max-width: 880px;
  margin: 0;
}

.support-faq-answer p + p {
  margin-top: 10px;
}

.support-faq-item.open {
  border-color: rgba(165, 75, 49, 0.24);
  box-shadow: 0 22px 54px rgba(31, 47, 85, 0.1);
}

.support-faq-item.open .support-faq-icon {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

.support-faq-more {
  display: flex;
  justify-content: center;
  width: min(100%, 1060px);
  margin: 30px auto 0;
}

.support-faq-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(165, 75, 49, 0.2);
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.support-faq-more-button:hover {
  transform: translateY(-1px);
  background: #8f3f2b;
  box-shadow: 0 10px 22px rgba(165, 75, 49, 0.26);
}

.resource-news-rail {
  display: grid;
  gap: 22px;
  margin: 44px 0 0;
}

.resource-news-card {
  box-sizing: border-box;
  height: 214px;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 40px);
  padding: 26px;
  border: 1px solid rgba(31, 47, 85, 0.06);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 47, 85, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.resource-news-card:hover,
.resource-news-card:focus-visible,
.resource-file-card:hover,
.resource-file-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(181, 69, 45, 0.32);
  box-shadow: 0 24px 54px rgba(31, 47, 85, 0.13);
  outline: none;
}

.resource-news-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.resource-news-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-width: 0;
  padding: 2px 0;
}

.resource-news-card strong,
.resource-file-card h3 {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.24;
}

.resource-news-card p,
.resource-file-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.resource-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  align-self: end;
  padding-top: 8px;
}

.resource-news-footer time {
  color: rgba(29, 36, 51, 0.58);
  font-size: 16px;
  font-weight: 800;
}

.resource-news-card span,
.resource-file-card > strong {
  display: inline-flex;
  margin: 0;
  align-self: end;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.resource-news-card span::after {
  content: "›";
  margin-left: 8px;
  font-size: 20px;
  line-height: 0.85;
}

.resource-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}

.resource-pagination a {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(31, 47, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(31, 47, 85, 0.76);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31, 47, 85, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.resource-pagination a:hover,
.resource-pagination a:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(181, 69, 45, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.resource-pagination a.active {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(181, 69, 45, 0.18);
}

.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.resources-page .resource-library-section .resource-library-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 4px 18px;
  scroll-padding: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.resources-page .resource-library-section .resource-library-grid::-webkit-scrollbar {
  display: none;
}

.support-document-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-file-card {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 239, 0.78)),
    radial-gradient(420px 240px at 0% 0%, rgba(175, 201, 228, 0.3), transparent 68%);
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.resources-page .resource-library-section .resource-file-card {
  flex: 0 0 max(280px, calc(31.75% - 14px));
  min-height: 430px;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 18px 18px 24px;
  box-shadow: none;
  scroll-snap-align: start;
}

.resources-page .resource-library-section .resource-file-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
}

.support-document-grid .resource-file-card {
  min-height: auto;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 16px;
  padding: 18px 18px 24px;
  border-color: rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 240, 0.86)),
    radial-gradient(420px 240px at 0% 0%, rgba(175, 201, 228, 0.26), transparent 68%);
  box-shadow: 0 18px 42px rgba(31, 47, 85, 0.08);
}

.support-document-grid .resource-file-image {
  width: 100%;
  aspect-ratio: 1.95 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.support-document-grid .resource-file-image.image-rules {
  object-position: 34% 54%;
}

.support-document-grid .resource-file-image.image-notice {
  object-position: 48% 48%;
}

.support-document-grid .resource-file-image.image-qa {
  object-position: 58% 50%;
}

.support-document-grid .resource-file-meta {
  padding-top: 2px;
}

.support-document-grid .resource-file-card h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  margin-bottom: 24px;
}

.support-document-grid .resource-file-card > strong::after {
  content: "›";
  margin-left: 8px;
  font-size: 20px;
  line-height: 0.85;
}

.resource-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.resource-file-meta span {
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(181, 69, 45, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

.resource-file-meta small {
  color: rgba(36, 54, 95, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.resource-file-card h3 {
  margin: 0;
}

.resources-page .resource-library-section .resource-file-card > strong::after {
  content: "›";
  margin-left: 8px;
  font-size: 20px;
  line-height: 0.85;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 0 rgba(242, 196, 91, 0);
  }
  to {
    box-shadow: 0 0 34px rgba(242, 196, 91, 0.24);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@media (max-width: 1020px) {
  .site-nav {
    grid-template-columns: auto 1fr;
    margin: 0;
    padding: 0 22px;
  }

  .nav-links {
    position: fixed;
    inset: 92px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: rgba(247, 244, 239, 0.96);
    border: 1px solid rgba(242, 196, 91, 0.3);
    border-radius: 28px;
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    grid-column: 2;
    justify-self: end;
  }

  .nav-tools {
    display: none;
  }

  .hero {
    align-content: center;
    padding-bottom: 40px;
  }

  .philosophy-layout,
  .intro-grid,
  .program-grid,
  .event-grid,
  .page-card-grid,
  .teacher-grid,
  .resource-list,
  .support-list,
  .recruitment-form,
  .appointment-form,
  .brand-feature,
  .why-grid,
  .consult,
  .process-card {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .event-grid,
  .page-card-grid,
  .teacher-grid,
  .standards-grid,
  .feedback-grid,
  .core-team-grid,
  .resource-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-page .resource-library-section .resource-library-grid {
    display: flex;
  }

  .resources-page .resource-library-section .resource-file-card {
    flex-basis: max(280px, calc(45.45% - 10px));
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .teacher-hero,
  .ecosystem-hero,
  .family-hero,
  .support-hero {
    min-height: 64vh;
  }

  .teacher-hero::before,
  .ecosystem-hero::before,
  .family-hero::before,
  .support-hero::before {
    background-position: 62% center;
  }

  .support-hero::before {
    background-position: 50% 0%;
  }

  .teacher-page .page-hero-content,
  .ecosystem-page .page-hero-content,
  .family-page .page-hero-content,
  .support-page .page-hero-content,
  .resources-page .page-hero-content {
    max-width: 680px;
  }

  .family-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-activity-section h2 {
    max-width: 760px;
    font-size: clamp(38px, 6vw, 54px);
  }

  .activity-calendar-layout {
    grid-template-columns: 1fr;
  }

  .ecosystem-page .activity-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-schedule {
    position: static;
  }

  .activity-detail-summary,
  .activity-detail-layout {
    grid-template-columns: 1fr;
  }

  .activity-detail-cover {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .activity-detail-sidebar {
    position: static;
  }

  .activity-calendar-head,
  .standards-head {
    max-width: 100%;
  }

  .activity-calendar-head p,
  .standards-head p {
    max-width: 100%;
    white-space: normal;
  }

  .standards-card {
    flex-basis: clamp(300px, 42vw, 360px);
    min-height: 430px;
  }

  .core-team-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .core-team-copy > p {
    white-space: normal;
  }

  .core-team-media,
  .core-team-media img {
    min-height: 420px;
  }

  .teacher-page .teacher-showcase .teacher-card {
    flex-basis: clamp(260px, 38vw, 320px);
    height: 326px;
  }

  .teacher-page .teacher-showcase .teacher-card img {
    min-height: 0;
    padding: 0;
  }

  .philosophy-media img {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .home-page {
    overscroll-behavior-y: auto;
  }

  html:has(.home-page) {
    scroll-snap-type: none;
  }

  body.home-page {
    scroll-snap-type: none;
  }

  .home-page [data-scroll-page] {
    min-height: auto;
    scroll-snap-align: none;
  }

  .home-page .footer {
    scroll-snap-align: none;
  }

  .brand img {
    width: auto;
    height: 58px;
    max-width: 92px;
  }

  .site-nav {
    height: 72px;
  }

  .nav-links {
    inset: 82px 14px auto;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero h1 em {
    transform: none;
  }

  .philosophy-media {
    border-radius: 30px;
  }

  .philosophy-media::before {
    inset: 0;
  }

  .philosophy-media img {
    min-height: 320px;
  }

  .philosophy-copy {
    padding: 26px;
    border-radius: 30px;
  }

  .philosophy-copy::after {
    right: 26px;
    bottom: 24px;
    width: 86px;
  }

  .hero-actions,
  .section-heading.split {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer {
    padding: 64px 18px 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-contact dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-contact dd {
    white-space: normal;
  }

  .footer h2 {
    font-size: 24px;
  }

  .hero-dots {
    right: 20px;
  }

  .section-pad {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .program-grid,
  .event-grid,
  .page-card-grid,
  .teacher-grid,
  .standards-grid,
  .core-team-grid,
  .feedback-grid,
  .resource-list,
  .resource-library-grid,
  .support-list,
  .consult-form {
    grid-template-columns: 1fr;
  }

  .resource-section-head p {
    font-size: 16px;
  }

  .resource-library-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .resource-library-controls {
    align-self: flex-start;
    padding-bottom: 0;
  }

  .resource-library-nav {
    width: 44px;
    height: 44px;
    font-size: 0;
  }

  .resource-news-rail {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .resource-news-card {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
    min-height: auto;
    padding: 20px;
    border-radius: 28px;
  }

  .resource-news-card img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .resource-news-content,
  .resource-file-card {
    padding: 24px;
  }

  .resource-news-content {
    padding: 0;
  }

  .resource-news-footer {
    align-items: flex-start;
    padding-top: 8px;
  }

  .resource-pagination {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 34px;
  }

  .resource-pagination a {
    min-width: 48px;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }

  .resource-file-card {
    min-height: auto;
    border-radius: 28px;
  }

  .resources-page .resource-library-section .resource-library-grid {
    padding-bottom: 16px;
  }

  .resources-page .resource-library-section .resource-file-card {
    flex-basis: max(260px, 84vw);
  }

  .support-faq-head {
    margin-bottom: 32px;
  }

  .support-faq-item {
    border-radius: 20px;
  }

  .support-faq-question {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 12px;
    padding: 20px 18px;
    font-size: 20px;
  }

  .support-faq-index {
    width: 48px;
    height: 34px;
    font-size: 14px;
  }

  .support-faq-icon {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .support-faq-answer {
    padding: 0 18px 22px;
    font-size: 16px;
    line-height: 1.78;
  }

  .teacher-hero,
  .ecosystem-hero,
  .family-hero,
  .support-hero,
  .contact-hero,
  .resources-page .resources-hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 48px;
  }

  .teacher-hero::before,
  .ecosystem-hero::before,
  .family-hero::before,
  .support-hero::before,
  .contact-hero::before {
    background-position: 58% center;
  }

  .support-hero::before {
    background-position: 50% 0%;
  }

  .teacher-page .page-hero-content,
  .ecosystem-page .page-hero-content,
  .family-page .page-hero-content,
  .support-page .page-hero-content,
  .resources-page .page-hero-content {
    padding: 0;
    border-radius: 0;
  }

  .activity-card-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-page .activity-card-grid {
    grid-template-columns: 1fr;
  }

  .family-activity-grid {
    grid-template-columns: 1fr;
  }

  .family-activity-section h2 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.16;
  }

  .page-hero h1,
  .page-section h2,
  .section-heading h2,
  .philosophy-copy h2,
  .process-head h2,
  .brand-copy h2,
  .consult-copy h2,
  .about-intro-head h1,
  .founder-intro-copy h2,
  .testimonials-head h2,
  .offer-showcase-head h2,
  .activity-calendar-head h2,
  .activity-detail-summary-panel h1,
  .teacher-intro-section h2,
  .standards-copy h2,
  .core-team-copy h2,
  .feedback-heading h2,
  .resource-section-head h2,
  .support-faq-head h2 {
    max-width: 100%;
    line-height: 1.08;
    white-space: nowrap;
  }

  .family-activity-section h2 {
    font-size: clamp(21px, 5.6vw, 34px);
  }

  .teacher-intro-section h2 {
    font-size: clamp(18px, 4.9vw, 32px);
  }

  .activity-detail-main {
    padding: 112px 18px 72px;
  }

  .activity-detail-summary {
    border-radius: 28px;
  }

  .activity-detail-summary-panel,
  .activity-detail-article-content,
  .activity-detail-info-card,
  .activity-recommend-card {
    padding: 22px;
  }

  .activity-detail-summary-panel h1 {
    font-size: clamp(28px, 8vw, 40px);
    white-space: normal;
  }

  .activity-detail-meta {
    grid-template-columns: 1fr;
  }

  .activity-detail-signup {
    align-self: stretch;
  }

  .activity-detail-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .activity-detail-tabs button {
    flex: 0 0 auto;
  }

  .activity-recommend-list article {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .activity-recommend-list img {
    width: 82px;
    height: 72px;
  }

  .activity-calendar-head {
    margin-bottom: 36px;
  }

  .family-page .family-schedule {
    order: -1;
  }

  .activity-card {
    border-radius: 26px;
  }

  .activity-card-body {
    padding: 22px;
  }

  .activity-card dl {
    grid-template-columns: 1fr;
  }

  .family-activity-grid .activity-card dl {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .family-activity-grid .activity-card dl div {
    padding: 7px 8px;
  }

  .family-activity-grid .activity-card dt,
  .family-activity-grid .activity-card dd {
    font-size: clamp(8px, 2.35vw, 10px);
  }

  .activity-date {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .activity-date strong {
    font-size: 28px;
  }

  .schedule-list article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .schedule-list article > span {
    grid-column: 2;
    justify-self: start;
  }

  .family-schedule .schedule-list article {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 74px;
    padding: 12px;
  }

  .family-schedule .schedule-list {
    max-height: min(560px, 62vh);
  }

  .family-schedule .schedule-list article > span {
    grid-column: auto;
    justify-self: end;
    padding: 6px 7px;
    font-size: 10px;
  }

  .teacher-intro-section > p {
    white-space: normal;
  }

  .standards-head h2 {
    font-size: clamp(28px, 7.4vw, 44px);
  }

  .standards-head p {
    font-size: 16px;
  }

  .standards-carousel {
    margin-top: 42px;
    margin-right: -24px;
  }

  .standards-track {
    gap: 18px;
    padding-right: 24px;
  }

  .standards-card {
    flex-basis: min(78vw, 310px);
    min-height: 410px;
    border-radius: 28px;
  }

  .standards-card > div {
    padding: 0 24px 28px;
  }

  .standards-card h3 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .core-team-copy h2 {
    font-size: clamp(28px, 7.4vw, 44px);
  }

  .core-team-list {
    gap: 20px;
  }

  .core-team-list article {
    padding-left: 18px;
  }

  .core-team-media,
  .core-team-media img {
    min-height: 320px;
    border-radius: 28px;
  }

  .teacher-showcase {
    gap: 18px;
    margin-right: -24px;
    padding-right: 24px;
  }

  .teacher-page .teacher-showcase .teacher-card {
    flex-basis: min(78vw, 300px);
    height: 310px;
  }

  .teacher-page .teacher-showcase .teacher-card img {
    min-height: 0;
    padding: 0;
  }

  .teacher-page .teacher-showcase .teacher-card div {
    padding: 0 20px 18px;
  }

  .teacher-info-card {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
  }

  .teacher-system-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .teacher-system-list {
    gap: 8px;
  }

  .teacher-system-card {
    transform: none;
  }

  .teacher-system-card.active {
    transform: none;
  }

  .teacher-system-step {
    gap: 18px;
    padding: 18px 0;
  }

  .teacher-system-preview {
    border-radius: 28px;
  }

  .feedback-heading h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .feedback-grid {
    margin-top: 40px;
  }

  .feedback-card {
    min-height: auto;
    padding: 26px;
    border-radius: 26px;
  }

  .feedback-card > p {
    margin: 22px 0 30px;
    font-size: 21px;
  }

  .program-card {
    min-height: 430px;
  }

  .floating-photo img {
    min-height: 380px;
  }

  .consult-widget {
    right: 14px;
    bottom: 14px;
  }

  .consult-widget-button {
    min-width: 104px;
  }

  .phone-field,
  .appointment-phone,
  .appointment-checks {
    grid-template-columns: 1fr;
  }
}

/* Mobile navigation drawer */
.nav-backdrop {
  display: none;
}

@media (max-width: 1020px) {
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(29, 36, 51, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition: opacity 0.28s ease-out, visibility 0s linear 0.28s;
  }

  .menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .menu-open .consult-widget {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav .nav-links,
  .home-v2 .site-nav .nav-links,
  .home-v2.menu-open .site-nav .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 51;
    display: flex;
    width: min(86vw, 420px);
    height: 100svh;
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 112px 24px 36px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(247, 244, 239, 0.98);
    border: 0;
    border-radius: 0;
    box-shadow: -22px 0 60px rgba(31, 47, 85, 0.18);
    color: rgba(36, 54, 95, 0.72);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.3s ease-out, opacity 0.24s ease-out, visibility 0s linear 0.3s;
  }

  .menu-open .site-nav .nav-links,
  .home-v2.menu-open .site-nav .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  .site-nav .nav-links a,
  .home-v2.menu-open .site-nav .nav-links a {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(36, 54, 95, 0.1);
    color: inherit;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
    transition: color 0.22s ease, padding-left 0.22s ease, background 0.22s ease;
  }

  .home-v2.menu-open .site-nav .nav-links a::after {
    content: none;
  }

  .site-nav .nav-links a:hover,
  .site-nav .nav-links a:focus-visible,
  .site-nav .nav-links a.is-current {
    padding-left: 12px;
    color: var(--red);
  }

  .site-nav .nav-links a.is-current {
    background: linear-gradient(90deg, rgba(181, 69, 45, 0.09), transparent 76%);
  }

  .site-nav .menu-toggle,
  .home-v2 .site-nav .menu-toggle,
  .home-v2.menu-open .site-nav .menu-toggle {
    position: relative;
    z-index: 53;
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    justify-self: end;
    align-self: center;
  }

  .home-v2.menu-open .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 88px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    overflow: visible;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  .home-v2.menu-open .menu-signature,
  .home-v2.menu-open .menu-search,
  .home-v2.menu-open .nav-tools {
    display: none;
  }

  .menu-open .site-nav .brand,
  .home-v2.menu-open .site-nav .brand {
    position: fixed;
    top: 7px;
    right: min(calc(86vw - 194px), 226px);
    left: auto;
    z-index: 52;
    width: 170px;
    height: 78px;
  }

  .menu-open .site-nav .brand img,
  .home-v2.menu-open .site-nav .brand img {
    width: 170px;
    height: auto;
    max-width: 100%;
    max-height: 72px;
    filter: none;
  }
}

@media (max-width: 680px) {
  .site-nav .nav-links,
  .home-v2 .site-nav .nav-links,
  .home-v2.menu-open .site-nav .nav-links {
    width: min(90vw, 390px);
    padding: 94px 18px 28px;
  }

  .home-v2.menu-open .site-nav {
    height: 74px;
    padding: 0 18px;
  }

  .menu-open .site-nav .brand,
  .home-v2.menu-open .site-nav .brand {
    top: 7px;
    right: min(calc(90vw - 154px), 218px);
    width: 136px;
    height: 60px;
  }

  .menu-open .site-nav .brand img,
  .home-v2.menu-open .site-nav .brand img {
    width: 136px;
    max-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-backdrop,
  .site-nav .nav-links,
  .home-v2 .site-nav .nav-links {
    transition-duration: 0.01ms;
  }
}

/* K15 homepage visual experiment: Quiet Prestige Education */
.home-v2 {
  --bg: #e4e1e0;
  --navy: #24365f;
  --navy-deep: #2d3858;
  --blue-soft: #a7bddb;
  --blue-pale: #c7daea;
  --red: #a54b31;
  --gold: #dab17a;
  --ink: #2c2a32;
  --muted: rgba(44, 42, 50, 0.68);
  background: #e4e1e0;
  color: #2c2a32;
  overscroll-behavior-y: auto;
}

html:has(.home-v2),
body.home-v2 {
  scroll-snap-type: none;
}

.home-v2 [data-scroll-page] {
  min-height: auto;
  scroll-snap-align: none;
}

.home-v2 .hero[data-scroll-page] {
  min-height: 100vh;
}

.home-v2 .site-nav {
  height: 88px;
  padding: 0 clamp(22px, 3.4vw, 56px);
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto auto;
  align-items: center;
  background: rgba(247, 244, 239, 0.74);
  border-bottom: 1px solid rgba(44, 42, 50, 0.08);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.home-v2 .menu-signature,
.home-v2 .menu-search {
  display: none;
}

.home-v2 .brand img {
  width: 290px;
  max-height: 78px;
}

.home-v2 .brand,
.home-v2 .nav-links,
.home-v2 .nav-tools {
  align-self: center;
}

.home-v2 .brand {
  display: inline-flex;
  align-items: center;
}

.home-v2 .nav-links {
  gap: clamp(12px, 1.45vw, 22px);
  align-items: center;
  color: rgba(36, 54, 95, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.home-v2 .nav-tools {
  align-items: center;
}

.home-v2 .menu-toggle {
  display: none;
  background: rgba(247, 244, 239, 0.62);
  border-color: rgba(44, 42, 50, 0.18);
  box-shadow: none;
}

.home-v2 .menu-toggle::before,
.home-v2 .menu-toggle::after,
.home-v2 .menu-toggle span {
  background: #a54b31;
}

.home-v2.menu-open {
  overflow: hidden;
}

.home-v2.menu-open .site-nav {
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(420px, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: clamp(34px, 5vw, 74px);
  padding: clamp(34px, 6vw, 76px) clamp(28px, 7vw, 112px);
  background: #a54b31;
  border-bottom: 0;
  color: #ffffff;
  overflow: auto;
  backdrop-filter: none;
}

.home-v2.menu-open .brand {
  grid-column: 1;
  grid-row: 1;
  height: auto;
}

.home-v2.menu-open .brand img {
  width: min(260px, 42vw);
  max-height: none;
  filter: brightness(0) invert(1);
}

.home-v2.menu-open .menu-signature {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  display: grid;
  gap: 4px;
  color: #ffffff;
}

.home-v2.menu-open .menu-signature span {
  font-family: "Brush Script MT", "Snell Roundhand", cursive;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.86;
}

.home-v2.menu-open .menu-signature strong {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1;
}

.home-v2.menu-open .menu-search {
  grid-column: 2 / 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.home-v2.menu-open .menu-search input {
  width: 100%;
  height: 58px;
  border: 0;
  padding: 0 22px;
  background: #ffffff;
  color: #2c2a32;
  outline: none;
  font-size: 18px;
  font-weight: 600;
}

.home-v2.menu-open .menu-search button {
  min-height: 58px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

.home-v2.menu-open .menu-search button::after {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  font-weight: 400;
}

.home-v2.menu-open .nav-links {
  position: static;
  grid-column: 2 / 3;
  grid-row: 3;
  display: grid;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
}

.home-v2.menu-open .nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-v2.menu-open .nav-links a::after {
  content: "+";
  margin-left: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 300;
  line-height: 1;
}

.home-v2.menu-open .nav-tools {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-self: end;
}

.home-v2.menu-open .lang-toggle,
.home-v2.menu-open .nav-action {
  display: none;
}

.home-v2.menu-open .menu-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 62px;
  height: 62px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-v2.menu-open .menu-toggle::before,
.home-v2.menu-open .menu-toggle::after {
  left: 12px;
  width: 38px;
  height: 3px;
  background: #ffffff;
}

.home-v2.menu-open .menu-toggle span {
  display: none;
}

.home-v2.menu-open .menu-toggle::before {
  transform: rotate(45deg);
}

.home-v2.menu-open .menu-toggle::after {
  transform: rotate(-45deg);
}

.home-v2 .lang-toggle {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(44, 42, 50, 0.14);
  color: #2c2a32;
}

.home-v2 .nav-action,
.home-v2 .btn-primary {
  background: #a54b31;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(165, 75, 49, 0.22);
}

.home-v2 .btn-primary:hover,
.home-v2 .nav-action:hover {
  background: #8f3f2b;
}

.home-v2 .hero .btn {
  min-height: 56px;
  padding: 0 30px;
}

.home-v2 .hero .btn-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 0 30px rgba(242, 196, 91, 0.28);
}

.home-v2 .hero .btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.home-v2 .hero h1 em {
  transform: scaleX(1.16);
}

.home-v2 .marquee-strip {
  padding: 20px 0;
  background: #a54b31;
}

.home-v2 .section-pad {
  padding: clamp(78px, 9vw, 128px) max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.home-v2 .intro {
  background:
    linear-gradient(180deg, #e4e1e0 0%, rgba(167, 189, 219, 0.52) 100%);
}

.home-v2 .philosophy-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(38px, 6vw, 88px);
}

.home-v2 .philosophy-media {
  min-height: clamp(420px, 50vw, 620px);
  border-radius: 0 46px 46px 0;
  box-shadow: none;
}

.home-v2 .philosophy-media::before {
  background: linear-gradient(180deg, rgba(247, 244, 239, 0.04) 0%, rgba(36, 54, 95, 0.14) 100%);
}

.home-v2 .philosophy-media img {
  height: 100%;
  min-height: inherit;
  object-position: center;
}

.home-v2 .philosophy-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .philosophy-copy > span,
.home-v2 .section-heading span,
.home-v2 .brand-copy > span {
  color: #a54b31;
}

.home-v2 .philosophy-copy h2 {
  max-width: 560px;
  margin-bottom: 28px;
  color: #24365f;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-v2 .philosophy-copy p {
  max-width: 650px;
  color: rgba(44, 42, 50, 0.72);
  font-size: 17px;
}

.home-v2 .philosophy-copy::after {
  right: 0;
  bottom: -32px;
  width: 140px;
  background: #a54b31;
}

.home-v2 .home-events {
  background: #f7f4ef;
}

.home-v2 .section-heading {
  margin-bottom: 44px;
}

.home-v2 .section-heading h2 {
  color: #24365f;
  font-size: clamp(42px, 5.2vw, 78px);
  letter-spacing: -0.035em;
}

.home-v2 .section-heading.split {
  align-items: center;
}

.home-v2 .event-grid {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  grid-template-rows: repeat(3, minmax(154px, auto));
  gap: 18px;
}

.home-v2 .event-card {
  display: grid;
  min-height: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .event-card:first-child {
  grid-row: 1 / 4;
  min-height: 560px;
}

.home-v2 .event-card:first-child img {
  aspect-ratio: auto;
  height: 100%;
}

.home-v2 .event-card:not(:first-child) {
  grid-template-columns: 0.9fr 1fr;
  min-height: 0;
}

.home-v2 .event-card img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 24px 0 0 24px;
}

.home-v2 .event-card-body {
  display: grid;
  grid-template-rows: auto minmax(64px, auto) 1fr auto;
  padding: 28px;
  background: #e4e1e0;
  border: 1px solid rgba(199, 218, 234, 0.72);
  border-left: 0;
  border-radius: 0 24px 24px 0;
}

.home-v2 .event-card:first-child .event-card-body {
  border-radius: 0 0 24px 24px;
  border-left: 1px solid rgba(199, 218, 234, 0.72);
  border-top: 0;
  background: rgba(228, 225, 224, 0.96);
}

.home-v2 .event-card:first-child {
  grid-template-rows: 1fr auto;
}

.home-v2 .event-card:first-child img {
  border-radius: 28px 28px 0 0;
}

.home-v2 .event-meta {
  color: #a54b31;
}

.home-v2 .event-card h3 {
  min-height: 64px;
  margin: 16px 0 10px;
  color: #24365f;
  font-size: clamp(22px, 2vw, 30px);
}

.home-v2 .event-card p {
  color: rgba(44, 42, 50, 0.68);
}

.home-v2 .event-card .text-link {
  color: #24365f;
  border-color: #dab17a;
}

.home-v2 .brand-feature {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  background: #d9e2ee;
  color: #2c2a32;
}

.home-v2 .brand-feature::before {
  content: "";
  position: absolute;
  inset: -42px;
  background:
    linear-gradient(90deg, rgba(228, 238, 249, 0.62), rgba(247, 244, 239, 0.5)),
    url("images/teacher-asking-volunteer-while-girl-walking-front-class-pedagogy.jpg") center / cover no-repeat;
  filter: blur(14px);
  transform: scale(1.05);
}

.home-v2 .brand-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 360px at 32% 50%, rgba(255, 255, 255, 0.48), transparent 72%),
    linear-gradient(135deg, rgba(167, 189, 219, 0.4), rgba(255, 255, 255, 0.48));
  backdrop-filter: blur(10px) saturate(1.16);
  -webkit-backdrop-filter: blur(10px) saturate(1.16);
}

.home-v2 .brand-copy,
.home-v2 .brand-copy h2,
.home-v2 .floating-photo {
  position: relative;
  z-index: 1;
}

.home-v2 .brand-copy,
.home-v2 .brand-copy h2 {
  color: #24365f;
}

.home-v2 .brand-copy h2 {
  font-size: clamp(48px, 5.8vw, 88px);
}

.home-v2 .brand-copy p {
  color: rgba(44, 42, 50, 0.72);
}

.home-v2 .mini-stats div {
  background: rgba(247, 244, 239, 0.62);
  border-color: rgba(36, 54, 95, 0.12);
}

.home-v2 .mini-stats strong {
  color: #24365f;
}

.home-v2 .mini-stats span {
  color: rgba(44, 42, 50, 0.64);
}

.home-v2 .event-action {
  background: #a54b31;
  color: #ffffff;
}

.home-v2 .floating-photo {
  width: min(430px, 100%);
  border-radius: 36px;
  border: 0;
  box-shadow: 0 28px 70px rgba(36, 54, 95, 0.22);
  transform: none;
  animation: none;
}

.home-v2 .floating-photo img {
  min-height: 500px;
}

.home-v2 .footer {
  background: #2c2a32;
}

.home-v2 .consult-widget-button {
  background: #a54b31;
}

@media (max-width: 1020px) {
  .home-v2 .site-nav {
    grid-template-columns: auto 1fr;
  }

  .home-v2 .menu-toggle {
    display: grid;
    grid-column: 2;
    justify-self: end;
    align-self: center;
  }

  .home-v2.menu-open .site-nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto 1fr;
    gap: 28px;
    padding: 28px 24px 44px;
  }

  .home-v2.menu-open .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .home-v2.menu-open .brand img {
    width: min(220px, 58vw);
  }

  .home-v2.menu-open .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .home-v2.menu-open .menu-search {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-v2.menu-open .menu-search button {
    justify-self: start;
  }

  .home-v2.menu-open .menu-signature {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: start;
  }

  .home-v2.menu-open .nav-links {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .home-v2.menu-open .nav-links a {
    min-height: 72px;
    font-size: clamp(28px, 8vw, 42px);
  }

  .home-v2 .philosophy-layout,
  .home-v2 .event-grid,
  .home-v2 .brand-feature {
    grid-template-columns: 1fr;
  }

  .home-v2 .event-grid {
    grid-template-rows: none;
  }

  .home-v2 .event-card:first-child {
    grid-row: auto;
    min-height: 0;
  }

  .home-v2 .event-card,
  .home-v2 .event-card:not(:first-child),
  .home-v2 .event-card:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .home-v2 .event-card img,
  .home-v2 .event-card:first-child img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px 24px 0 0;
  }

  .home-v2 .event-card-body,
  .home-v2 .event-card:first-child .event-card-body {
    border: 1px solid rgba(199, 218, 234, 0.72);
    border-top: 0;
    border-radius: 0 0 24px 24px;
  }

  .home-v2 .philosophy-media {
    border-radius: 34px;
  }
}

@media (max-width: 680px) {
  .home-v2 .site-nav {
    height: 74px;
    padding: 0 18px;
  }

  .home-v2.menu-open .site-nav {
    height: 100svh;
    padding: 24px 18px 36px;
  }

  .home-v2 .brand img {
    width: auto;
    height: 56px;
    max-width: 128px;
  }

  .home-v2.menu-open .brand img {
    width: min(188px, 58vw);
    height: auto;
    max-width: none;
  }

  .home-v2.menu-open .menu-search input {
    height: 52px;
    font-size: 16px;
  }

  .home-v2.menu-open .menu-search button {
    min-height: 44px;
    font-size: 28px;
  }

  .home-v2.menu-open .menu-signature span {
    font-size: clamp(48px, 16vw, 76px);
  }

  .home-v2.menu-open .menu-signature strong {
    font-size: clamp(28px, 9vw, 44px);
  }

  .home-v2.menu-open .nav-links a {
    min-height: 62px;
    font-size: clamp(24px, 7.2vw, 34px);
  }

  .home-v2 .section-pad {
    padding: 74px 18px;
  }

  .home-v2 .hero h1 em {
    transform: none;
  }

  .home-v2 .philosophy-copy h2,
  .home-v2 .section-heading h2,
  .home-v2 .brand-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .home-v2 .event-card h3 {
    min-height: 0;
  }

  .home-v2 .floating-photo img {
    min-height: 360px;
  }

  .home-v2 .consult-widget {
    bottom: 16px;
  }
}

@media (max-width: 1020px) {
  .teacher-intro-section > span,
  .teacher-intro-section > h2,
  .teacher-intro-section > p,
  .teacher-intro-section .mentor-carousel {
    width: min(100%, 760px);
  }

  .teacher-intro-section > p {
    padding-right: 0;
  }

  .mentor-carousel {
    grid-template-columns: 1fr;
    row-gap: 34px;
    min-height: auto;
  }

  .mentor-carousel-media {
    min-height: 0;
  }

  .mentor-image-stack {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .mentor-slide-list {
    min-height: 280px;
  }

  .teacher-page .mentor-carousel .mentor-slide.teacher-card {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .teacher-intro-section {
    text-align: left;
  }

  .teacher-showcase.mentor-carousel {
    gap: 28px;
    margin-top: 38px;
    margin-right: auto;
    padding-right: 0;
  }

  .mentor-image-stack {
    width: min(100%, 320px);
  }

  .mentor-stack-card {
    border-radius: 24px;
  }

  .mentor-stack-card-back {
    transform: translate(-28px, 10px) rotate(-5deg) scale(0.9);
  }

  .mentor-stack-card-mid {
    transform: translate(30px, 8px) rotate(5deg) scale(0.91);
  }

  .mentor-slide-list {
    min-height: 290px;
  }

  .teacher-page .mentor-carousel .mentor-slide.teacher-card {
    min-height: 290px;
  }

  .teacher-page .mentor-carousel .mentor-slide.teacher-card h3 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .teacher-page .mentor-carousel .mentor-slide.teacher-card small {
    font-size: 12px;
  }

  .teacher-page .mentor-carousel .mentor-slide.teacher-card p {
    font-size: 16px;
    line-height: 1.72;
  }

  .mentor-controls {
    margin-top: -2px;
  }

  .mentor-nav {
    width: 46px;
    height: 46px;
  }

  .mentor-nav::before {
    font-size: 28px;
  }
}

@media (max-width: 1020px) {
  .course-carousel {
    margin-right: -22px;
  }

  .course-carousel-track {
    padding-right: 44px;
  }

  .course-slide-card {
    flex-basis: clamp(286px, 44vw, 360px);
    min-height: 430px;
  }
}

@media (max-width: 680px) {
  .course-carousel {
    margin-top: 34px;
    margin-right: -18px;
  }

  .course-carousel-track {
    gap: 16px;
    padding-right: 30px;
  }

  .course-slide-card {
    flex-basis: min(82vw, 330px);
    min-height: 430px;
    border-radius: 28px;
  }

  .course-slide-card > div {
    padding: 26px;
  }

  .course-carousel-arrow {
    display: none;
  }
}

@media (max-width: 980px) {
  .about-intro-section {
    padding-top: 128px;
  }

  .about-intro-head {
    margin-bottom: 46px;
  }

  .about-intro-head h1 {
    font-size: 54px;
  }

  .about-intro-head em {
    font-size: 30px;
  }

  .about-image-mosaic {
    min-height: 520px;
    gap: 18px;
  }

  .testimonials-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-column-three {
    display: none;
  }

  .offer-nav-prev {
    left: 6px;
  }

  .offer-nav-next {
    right: 6px;
  }
}

@media (max-width: 680px) {
  .about-intro-section {
    padding: 116px 18px 66px;
  }

  .about-intro-head {
    margin-bottom: 34px;
  }

  .about-kicker {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .about-intro-head h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .about-intro-head em {
    margin-top: 14px;
    font-size: 22px;
    line-height: 1.32;
  }

  .about-intro-head p {
    margin-top: 20px;
    font-size: 17px;
  }

  .about-image-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
  }

  .about-image-mosaic .about-image-large {
    grid-row: auto;
  }

  .about-image-mosaic figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .about-statement-section {
    padding: 64px 18px 82px;
  }

  .about-quote-mark {
    height: 48px;
    font-size: 66px;
  }

  .about-statement-copy {
    margin-top: 22px;
  }

  .about-statement-copy p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.85;
  }

  .about-page .about-hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 48px;
  }

  .about-page .about-hero::before {
    background-position: 42% center;
  }

  .about-page .about-hero .page-hero-content {
    padding: 0;
    border-radius: 0;
  }

  .about-founder {
    gap: 12px;
    margin-top: 34px;
  }

  .about-founder img {
    width: 58px;
    height: 58px;
  }

  .about-founder strong {
    font-size: 18px;
  }

  .founder-intro-section {
    padding: 76px 18px 92px;
  }

  .founder-intro-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .founder-intro-copy h2 {
    margin-bottom: 22px;
    font-size: 56px;
  }

  .founder-intro-copy p {
    font-size: 16px;
    line-height: 1.82;
  }

  .founder-intro-media {
    min-height: 430px;
    border-radius: 26px;
  }

  .founder-intro-media img {
    width: min(96%, 390px);
    max-height: 450px;
  }

  .founder-orb-blue {
    top: 24px;
    left: 16%;
    width: 92px;
    height: 92px;
  }

  .founder-orb-gold {
    top: 116px;
    right: -18px;
    width: 118px;
    height: 118px;
  }

  .founder-orb-navy {
    right: 4%;
    bottom: 16px;
    width: 104px;
    height: 104px;
  }

  .founder-orb-red {
    left: 7%;
    bottom: 98px;
    width: 62px;
    height: 62px;
  }

  .testimonials-section {
    padding: 76px 18px 92px;
  }

  .testimonials-head {
    margin-bottom: 36px;
  }

  .testimonials-head span {
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 18px;
  }

  .testimonials-head h2 {
    font-size: 38px;
  }

  .testimonials-head p {
    margin-top: 16px;
    font-size: 16px;
  }

  .testimonials-columns {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: 650px;
  }

  .testimonial-card {
    min-height: auto;
    gap: 28px;
    padding: 26px;
    border-radius: 22px;
  }

  .testimonial-card p {
    font-size: 16px;
    line-height: 1.72;
  }

  .testimonial-card strong {
    font-size: 18px;
  }

  .testimonial-card small {
    font-size: 14px;
  }

  .testimonials-column-two {
    display: none;
  }

  .offer-showcase-section {
    padding: 76px 18px 94px;
  }

  .offer-showcase-head {
    margin-bottom: 34px;
  }

  .offer-showcase-head span {
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 18px;
  }

  .offer-showcase-head h2 {
    font-size: 38px;
  }

  .offer-showcase-head p {
    margin-top: 16px;
    font-size: 16px;
  }

  .offer-track {
    gap: 16px;
    padding: 8px 4px 32px;
  }

  .offer-card {
    flex-basis: min(78vw, 320px);
    border-radius: 24px;
  }

  .offer-card:nth-child(even),
  .offer-card:nth-child(even):hover,
  .offer-card:hover {
    transform: none;
  }

  .offer-nav {
    width: 44px;
    height: 44px;
    font-size: 0;
  }
}

/* Keep the homepage's former full-screen menu aligned with the mobile drawer. */
@media (max-width: 1020px) {
  .home-v2.menu-open .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 88px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    overflow: visible;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  .home-v2.menu-open .menu-signature,
  .home-v2.menu-open .menu-search,
  .home-v2.menu-open .nav-tools {
    display: none;
  }

  .home-v2.menu-open .site-nav .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 51;
    display: flex;
    width: min(86vw, 420px);
    height: 100svh;
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 112px 24px 36px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(247, 244, 239, 0.98);
    border: 0;
    border-radius: 0;
    box-shadow: -22px 0 60px rgba(31, 47, 85, 0.18);
    color: rgba(36, 54, 95, 0.72);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .home-v2.menu-open .site-nav .nav-links a {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(36, 54, 95, 0.1);
    color: inherit;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
  }

  .home-v2.menu-open .site-nav .nav-links a::after {
    content: none;
  }

  .home-v2.menu-open .site-nav .nav-links a:hover,
  .home-v2.menu-open .site-nav .nav-links a:focus-visible,
  .home-v2.menu-open .site-nav .nav-links a.is-current {
    padding-left: 12px;
    color: var(--red);
  }

  .home-v2.menu-open .site-nav .menu-toggle {
    position: relative;
    z-index: 53;
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    justify-self: end;
    align-self: center;
    background: #2c2a32;
    border-color: #2c2a32;
  }

  .home-v2.menu-open .site-nav .menu-toggle::before,
  .home-v2.menu-open .site-nav .menu-toggle::after {
    left: 13px;
    width: 20px;
    height: 2px;
    background: #dab17a;
  }

  .home-v2.menu-open .site-nav .brand {
    position: fixed;
    top: 7px;
    right: min(calc(86vw - 194px), 226px);
    left: auto;
    z-index: 52;
    grid-column: auto;
    grid-row: auto;
    width: 170px;
    height: 78px;
  }

  .home-v2.menu-open .site-nav .brand img {
    width: 170px;
    height: auto;
    max-width: 100%;
    max-height: 72px;
    filter: none;
  }
}

@media (max-width: 680px) {
  .home-v2.menu-open .site-nav {
    height: 74px;
    padding: 0 18px;
  }

  .home-v2.menu-open .site-nav .nav-links {
    width: min(90vw, 390px);
    padding: 94px 18px 28px;
  }

  .home-v2.menu-open .site-nav .brand {
    top: 7px;
    right: min(calc(90vw - 154px), 218px);
    width: 136px;
    height: 60px;
  }

  .home-v2.menu-open .site-nav .brand img {
    width: 136px;
    max-height: 58px;
  }
}

/* Mobile navigation refinements: full-screen panel, larger logo, regular text. */
@media (max-width: 1020px) {
  .site-nav .nav-links,
  .home-v2 .site-nav .nav-links,
  .home-v2.menu-open .site-nav .nav-links {
    width: 100vw;
    padding-top: 128px;
    font-weight: 400;
  }

  .site-nav .nav-links a,
  .home-v2.menu-open .site-nav .nav-links a {
    font-weight: 400;
  }

  .menu-open .site-nav .brand,
  .home-v2.menu-open .site-nav .brand {
    top: 7px;
    right: auto;
    left: 24px;
    width: 238px;
    height: 101px;
  }

  .menu-open .site-nav .brand img,
  .home-v2.menu-open .site-nav .brand img {
    width: 238px;
    max-height: 101px;
  }
}

@media (max-width: 680px) {
  .site-nav .nav-links,
  .home-v2 .site-nav .nav-links,
  .home-v2.menu-open .site-nav .nav-links {
    width: 100vw;
    padding-top: 108px;
  }

  .menu-open .site-nav .brand,
  .home-v2.menu-open .site-nav .brand {
    left: 18px;
    width: 190px;
    height: 81px;
  }

  .menu-open .site-nav .brand img,
  .home-v2.menu-open .site-nav .brand img {
    width: 190px;
    max-height: 81px;
  }
}

/* Enlarge the closed mobile header logo to match the open menu treatment. */
@media (max-width: 680px) {
  body:not(.menu-open) .site-nav .brand img,
  body.home-v2:not(.menu-open) .site-nav .brand img {
    width: 179px;
    height: auto;
    max-width: 179px;
    max-height: 64px;
  }
}

/* Center mobile navigation labels in every interaction state. */
@media (max-width: 1020px) {
  .site-nav .nav-links a,
  .home-v2.menu-open .site-nav .nav-links a,
  .site-nav .nav-links a:hover,
  .site-nav .nav-links a:focus-visible,
  .site-nav .nav-links a.is-current,
  .home-v2.menu-open .site-nav .nav-links a:hover,
  .home-v2.menu-open .site-nav .nav-links a:focus-visible,
  .home-v2.menu-open .site-nav .nav-links a.is-current {
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
    text-align: center;
  }
}

/* Course carousel: align to the site safe area and clean card/button edges. */
.ecosystem-page .course-carousel {
  margin-right: 0;
}

.ecosystem-page .course-carousel-track {
  padding-right: 0;
  padding-bottom: 0;
}

.ecosystem-page .course-slide-card {
  border: 0;
  box-shadow: none;
}

.ecosystem-page .course-carousel-arrow {
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.ecosystem-page .course-carousel-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform-origin: center;
}

.ecosystem-page .course-carousel-arrow.prev {
  left: 18px;
}

.ecosystem-page .course-carousel-arrow.prev::before {
  transform: rotate(135deg);
}

.ecosystem-page .course-carousel-arrow.next {
  right: 18px;
}

.ecosystem-page .course-carousel-arrow.next::before {
  transform: rotate(-45deg);
}

/* Course carousel controls and section transition refinements. */
.ecosystem-page .course-carousel-arrow::before {
  width: 12px;
  height: 16px;
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%);
  transform-origin: center;
}

.ecosystem-page .course-carousel-arrow.prev::before {
  transform: rotate(180deg);
}

.ecosystem-page .course-carousel-arrow.next::before {
  transform: none;
}

.ecosystem-page .course-carousel-dots span,
.ecosystem-page .course-carousel-dots span:first-child {
  width: 9px;
  background: rgba(36, 54, 95, 0.2);
  transition: width 0.26s ease-out, background 0.26s ease-out;
}

.ecosystem-page .course-carousel-dots span.active {
  width: 28px;
  background: #a54b31;
}

.ecosystem-page .activity-calendar-section {
  border-top: 1px solid rgba(167, 189, 219, 0.34);
  background:
    radial-gradient(760px 320px at 88% 18%, rgba(167, 189, 219, 0.3), transparent 68%),
    linear-gradient(180deg, #e5eaee 0%, #edf1f3 92px, #f7f4ef 220px, #eef4f8 100%);
}

/* Match course carousel buttons to the offer showcase controls. */
.ecosystem-page .course-carousel-arrow {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(36, 54, 95, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  box-shadow: 0 18px 46px rgba(29, 36, 51, 0.14);
  font-size: 0;
  line-height: 0;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.ecosystem-page .course-carousel-arrow:hover,
.ecosystem-page .course-carousel-arrow:focus-visible {
  background: var(--red);
  color: #ffffff;
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.ecosystem-page .course-carousel-arrow::before {
  content: "";
  width: 9px;
  height: 14px;
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 28% 0, 100% 50%, 28% 100%, 0 100%, 72% 50%);
}

.ecosystem-page .course-carousel-arrow.prev {
  left: 15px;
}

.ecosystem-page .course-carousel-arrow.prev::before {
  transform: scaleX(-1);
}

.ecosystem-page .course-carousel-arrow.next {
  right: 15px;
}

.ecosystem-page .course-carousel-arrow.next::before {
  transform: none;
}

/* Homepage editorial refinement: navigation (kept dormant for backup-version rollback) */
@media not all {
.home-v2 .site-nav {
  height: 84px;
  gap: clamp(20px, 2.4vw, 40px);
  padding-inline: clamp(28px, 4.4vw, 84px);
  background: rgba(247, 244, 239, 0.9);
  border-bottom-color: rgba(36, 54, 95, 0.1);
}

.home-v2 .brand img {
  width: 270px;
  max-height: 72px;
}

.home-v2 .nav-links {
  gap: clamp(16px, 1.55vw, 28px);
  color: rgba(36, 54, 95, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.home-v2 .nav-links a {
  padding-block: 10px;
}

.home-v2 .nav-tools {
  gap: 10px;
}

.home-v2 .lang-toggle,
.home-v2 .nav-action {
  min-height: 42px;
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .home-v2 .site-nav {
    gap: 12px;
    padding-inline: 20px;
  }

  .home-v2 .brand img {
    width: 180px;
  }

  .home-v2 .nav-links {
    gap: 8px;
    font-size: 11px;
  }

  .home-v2 .lang-toggle {
    padding-inline: 12px;
  }

  .home-v2 .nav-action {
    padding-inline: 16px;
    font-size: 12px;
  }
}

@media (max-width: 1020px) {
  .home-v2 .site-nav {
    height: 82px;
    padding-inline: 22px;
  }
}

@media (max-width: 680px) {
  .home-v2 .site-nav {
    height: 74px;
    padding-inline: 18px;
  }
}

/* Homepage editorial refinement: hero */
.home-v2 .hero[data-scroll-page] {
  min-height: clamp(760px, calc(82svh + 100px), 920px);
  place-items: center;
  padding: 128px 24px clamp(126px, 14vh, 164px);
}

.home-v2 .hero-bg {
  top: 84px;
  overflow: hidden;
}

.home-v2 .hero::after {
  display: none;
}

.home-v2 .hero-slide {
  object-position: center 38%;
  transform: scale(1.035);
  transition: opacity 1s ease, transform 7s ease;
}

.home-v2 .hero-slide.active {
  transform: scale(1.015);
}

.home-v2 .hero-slide:first-child {
  object-position: center top;
}

.home-v2 .hero-slide:nth-child(2) {
  object-position: center 18%;
}

.home-v2 .hero-slide:nth-child(3),
.home-v2 .hero-slide:nth-child(4) {
  object-position: center 20%;
}

.home-v2 .hero-slide-lower,
.home-v2 .hero-slide-lower.active {
  transform: scale(1.035);
}

.home-v2 .hero-overlay {
  background:
    radial-gradient(circle at 50% 43%, rgba(31, 47, 85, 0.14) 0%, rgba(31, 47, 85, 0.36) 54%, rgba(16, 24, 43, 0.52) 100%),
    linear-gradient(180deg, rgba(16, 24, 43, 0.26) 0%, rgba(16, 24, 43, 0.38) 52%, rgba(16, 24, 43, 0.62) 100%);
  backdrop-filter: saturate(0.96) contrast(1.02);
}

.home-v2 .hero-content {
  width: min(680px, 100%);
  align-self: center;
  justify-self: center;
  padding: 0;
  text-align: center;
}

.home-v2 .hero h1 {
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.home-v2 .hero h1 em {
  margin-top: 8px;
  color: var(--gold);
  background: none;
  font-weight: 400;
  transform: none;
  -webkit-text-fill-color: currentColor;
}

.home-v2 .hero-content p {
  max-width: 590px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.home-v2 .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.home-v2 .hero .btn {
  min-height: 52px;
  padding-inline: 28px;
}

.home-v2 .hero-dots {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  transform: none;
}

.home-v2 .hero-dots button {
  width: 8px;
  height: 8px;
}

@media (max-width: 1020px) {
  .home-v2 .hero[data-scroll-page] {
    min-height: clamp(740px, calc(82svh + 100px), 820px);
    padding: 118px 32px 126px;
  }

  .home-v2 .hero-bg {
    top: 82px;
  }

  .home-v2 .hero-content {
    width: min(620px, 100%);
  }
}

@media (max-width: 680px) {
  .home-v2 .hero[data-scroll-page] {
    min-height: 770px;
    padding: 102px 18px 104px;
  }

  .home-v2 .hero::after {
    height: 150px;
  }

  .home-v2 .hero-bg {
    top: 74px;
  }

  .home-v2 .hero-slide,
  .home-v2 .hero-slide.active {
    transform: scale(1.03);
  }

  .home-v2 .hero-slide-lower,
  .home-v2 .hero-slide-lower.active {
    object-position: 42% center;
    transform: scale(1.08);
  }

  .home-v2 .hero-slide:nth-child(3) {
    object-position: 54% center;
  }

  .home-v2 .hero-slide:nth-child(4) {
    object-position: 52% center;
  }

  .home-v2 .hero-content {
    width: 100%;
    padding: 0 8px;
  }

  .home-v2 .hero h1 {
    font-size: clamp(44px, 13vw, 58px);
    line-height: 1.08;
  }

  .home-v2 .hero-content p {
    max-width: 340px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.7;
  }

  .home-v2 .hero-actions {
    width: min(340px, 100%);
    margin: 26px auto 0;
  }

  .home-v2 .hero .btn {
    min-height: 50px;
  }

  .home-v2 .hero-dots {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .home-v2 .hero-actions .btn {
    width: 100%;
  }
}

/* Homepage editorial refinement: philosophy */
.home-v2 .intro {
  --philosophy-section-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 10 C340 180 733.2 102 981.6 44 C1230 -14 1540 18 1920 94 V1080 H0 Z'/%3E%3C/svg%3E");
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--blue-pale);
}

.home-v2 .intro.section-pad {
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.home-v2 .philosophy-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  gap: clamp(54px, 5vw, 80px);
  align-items: start;
  margin-top: 0;
}

.home-v2 .philosophy-media {
  z-index: 1;
  min-height: clamp(600px, 44vw, 700px);
  border-radius: 0;
  margin-top: 0;
  -webkit-mask: none;
  mask: none;
}

.home-v2 .philosophy-media::before {
  background: linear-gradient(180deg, rgba(247, 244, 239, 0) 64%, rgba(36, 54, 95, 0.1) 100%);
}

.home-v2 .philosophy-media img {
  object-position: center 44%;
}

.home-v2 .philosophy-copy {
  z-index: 4;
  max-width: 560px;
  padding: clamp(56px, 6vw, 84px) 0 30px;
}

.home-v2 .philosophy-copy > span {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.home-v2 .philosophy-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1.04;
}

.home-v2 .philosophy-copy p {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.9;
}

.home-v2 .philosophy-copy p + p {
  margin-top: 24px;
}

.home-v2 .philosophy-copy::after {
  display: none;
}

@media (min-width: 1021px) {
  .home-v2 .intro.section-pad {
    margin-top: clamp(-135px, -7vw, -108px);
    -webkit-mask: var(--philosophy-section-wave-mask) center / 100% 100% no-repeat;
    mask: var(--philosophy-section-wave-mask) center / 100% 100% no-repeat;
  }

  .home-v2 .philosophy-media {
    width: calc(100% + max(24px, calc((100vw - 1280px) / 2 + 24px)));
    margin-left: calc(0px - max(24px, calc((100vw - 1280px) / 2 + 24px)));
  }

  .home-v2 .philosophy-copy {
    padding-top: clamp(126px, 8vw, 154px);
  }
}

@media (max-width: 1020px) {
  .home-v2 .philosophy-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 48px;
  }

  .home-v2 .philosophy-media {
    width: 100%;
    margin-left: 0;
    min-height: 580px;
    border-radius: 0;
  }

  .home-v2 .philosophy-copy {
    max-width: 560px;
    padding: 0;
  }

}

@media (max-width: 900px) {
  .home-v2 .hero::after {
    display: none;
  }

  .home-v2 .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-v2 .philosophy-media {
    min-height: 0;
  }

  .home-v2 .philosophy-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .home-v2 .philosophy-copy {
    max-width: 700px;
    padding: 0;
  }

}

@media (max-width: 680px) {
  .home-v2 .intro.section-pad {
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-v2 .philosophy-layout {
    gap: 38px;
    margin-top: 30px;
  }

  .home-v2 .philosophy-media {
    border-radius: 0;
  }

  .home-v2 .philosophy-media img {
    aspect-ratio: 4 / 3;
    object-position: center 42%;
  }

  .home-v2 .philosophy-copy {
    padding: 0;
  }

  .home-v2 .philosophy-copy h2 {
    margin-bottom: 26px;
  }

  .home-v2 .philosophy-copy p {
    font-size: 15px;
    line-height: 1.82;
  }
}

/* Homepage editorial refinement: testimonials */
.home-v2 .home-testimonials-section {
  padding-top: clamp(96px, 9vw, 132px);
  padding-bottom: clamp(104px, 10vw, 148px);
  background: var(--bg);
}

.home-v2 .testimonials-head {
  max-width: 1280px;
  margin: 0 auto 78px;
  text-align: left;
}

.home-v2 .testimonials-head span {
  min-height: auto;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.home-v2 .testimonials-head h2 {
  max-width: 760px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

.home-v2 .testimonials-head p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.8;
}

.home-v2 .testimonials-columns {
  grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(0, 0.92fr));
  gap: 0;
  max-width: 1280px;
  max-height: 780px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-v2 .testimonials-track {
  gap: 0;
  padding: 8px clamp(24px, 3vw, 44px) 40px;
  animation-name: homeTestimonialColumnScroll;
}

.home-v2 .testimonials-column + .testimonials-column {
  border-left: 1px solid rgba(36, 54, 95, 0.14);
}

@keyframes homeTestimonialColumnScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.home-v2 .testimonial-card {
  min-height: 350px;
  gap: 44px;
  padding: 42px 0 38px;
  border: 0;
  border-bottom: 1px solid rgba(36, 54, 95, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .testimonial-card::before {
  margin-bottom: -18px;
  font-size: 14px;
  letter-spacing: 0.18em;
  opacity: 0.54;
}

.home-v2 .testimonial-card p {
  color: var(--navy);
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.82;
}

.home-v2 .testimonial-author {
  gap: 16px;
  padding-top: 0;
  border-top: 0;
}

.home-v2 .testimonial-author > span {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(36, 54, 95, 0.2);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

.home-v2 .testimonial-card:nth-child(3n + 2) .testimonial-author > span,
.home-v2 .testimonial-card:nth-child(3n) .testimonial-author > span {
  background: transparent;
  color: var(--navy);
}

.home-v2 .testimonial-card strong {
  font-size: 18px;
}

.home-v2 .testimonial-card small {
  margin-top: 5px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .home-v2 .testimonials-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
}

@media (max-width: 680px) {
  .home-v2 .home-testimonials-section {
    padding: 82px 18px 96px;
  }

  .home-v2 .testimonials-head {
    margin-bottom: 42px;
    text-align: left;
  }

  .home-v2 .testimonials-head h2 {
    font-size: 38px;
  }

  .home-v2 .testimonials-columns {
    grid-template-columns: 1fr;
    max-height: 640px;
  }

  .home-v2 .testimonials-track {
    padding-inline: 0;
  }

  .home-v2 .testimonials-column + .testimonials-column {
    border-left: 0;
  }

  .home-v2 .testimonial-card {
    min-height: auto;
    gap: 34px;
    padding: 34px 0;
    border-radius: 0;
  }

  .home-v2 .testimonial-card p {
    font-size: 17px;
    line-height: 1.8;
  }
}

/* Homepage editorial refinement: featured events */
.home-v2 .home-events {
  background: var(--white);
}

.home-v2 .home-events .section-heading {
  margin-bottom: 58px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(36, 54, 95, 0.18);
}

.home-v2 .home-events .section-heading h2 {
  font-size: clamp(46px, 5vw, 72px);
}

.home-v2 .event-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  grid-template-rows: repeat(3, minmax(190px, auto));
  column-gap: clamp(46px, 5vw, 76px);
  row-gap: 0;
}

.home-v2 .event-card:first-child {
  min-height: 0;
}

.home-v2 .event-card:first-child img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 30px;
}

.home-v2 .event-card:not(:first-child) {
  grid-template-columns: minmax(150px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid rgba(36, 54, 95, 0.16);
}

.home-v2 .event-card:not(:first-child) img {
  border-radius: 22px;
}

.home-v2 .event-card-body,
.home-v2 .event-card:first-child .event-card-body {
  grid-template-rows: auto auto auto auto;
  padding: 8px 0 8px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-v2 .event-card:first-child .event-card-body {
  grid-template-columns: 128px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "meta title"
    ". description"
    ". link";
  column-gap: 34px;
  padding: 32px 4px 0;
}

.home-v2 .event-card:first-child .event-meta {
  grid-area: meta;
  align-self: start;
  display: grid;
  justify-content: start;
  gap: 10px;
}

.home-v2 .event-card:first-child h3 {
  grid-area: title;
}

.home-v2 .event-card:first-child p {
  grid-area: description;
}

.home-v2 .event-card:first-child .text-link {
  grid-area: link;
}

.home-v2 .event-meta {
  align-items: center;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.home-v2 .event-card h3 {
  min-height: 0;
  margin: 13px 0 8px;
  font-size: clamp(21px, 1.75vw, 27px);
  line-height: 1.28;
}

.home-v2 .event-card:first-child h3 {
  margin: 0 0 10px;
  font-size: clamp(32px, 3vw, 42px);
}

.home-v2 .event-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
}

.home-v2 .event-card .text-link {
  align-self: end;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .home-v2 .event-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 42px;
  }

  .home-v2 .event-card:first-child {
    min-height: 0;
  }

  .home-v2 .event-card,
  .home-v2 .event-card:not(:first-child),
  .home-v2 .event-card:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }

  .home-v2 .event-card img,
  .home-v2 .event-card:first-child img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
  }

  .home-v2 .event-card-body,
  .home-v2 .event-card:first-child .event-card-body {
    padding: 24px 4px 0;
    border: 0;
    background: transparent;
  }

  .home-v2 .event-card:first-child .event-card-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "description"
      "link";
    row-gap: 0;
  }

  .home-v2 .event-card:first-child .event-meta {
    display: flex;
    justify-content: space-between;
  }

  .home-v2 .event-card:not(:first-child) {
    padding-block: 0;
    border-top: 0;
  }
}

@media (max-width: 680px) {
  .home-v2 .home-events .section-heading {
    align-items: flex-start;
    margin-bottom: 42px;
    padding-bottom: 24px;
  }

  .home-v2 .event-grid {
    gap: 38px;
  }

  .home-v2 .event-card img,
  .home-v2 .event-card:first-child img {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .home-v2 .event-card-body,
  .home-v2 .event-card:first-child .event-card-body {
    padding-top: 20px;
  }

  .home-v2 .event-card:first-child h3,
  .home-v2 .event-card h3 {
    font-size: 26px;
  }
}

/* Homepage editorial refinement: teacher preview */
.home-v2 main {
  background: var(--white);
}

.home-v2 .brand-feature {
  --teacher-section-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 94 C380 18 690 -14 938.4 44 C1186.8 102 1580 180 1920 10 V1080 H0 Z'/%3E%3C/svg%3E");
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(72px, 9vw, 138px);
  background: var(--blue-pale);
}

.home-v2 .brand-feature.section-pad {
  padding-bottom: 0;
}

.home-v2 .brand-feature::before,
.home-v2 .brand-feature::after,
.home-v2 .brand-glow {
  display: none;
}

.home-v2 .brand-copy {
  max-width: 520px;
}

.home-v2 .brand-copy > span {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.home-v2 .brand-copy h2 {
  font-size: clamp(52px, 5.6vw, 80px);
  line-height: 1.04;
}

.home-v2 .brand-copy p {
  max-width: 540px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.85;
}

.home-v2 .mini-stats {
  gap: 0;
  margin: 38px 0 34px;
}

.home-v2 .mini-stats div {
  min-width: 150px;
  padding: 0 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-v2 .mini-stats div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(36, 54, 95, 0.16);
}

.home-v2 .mini-stats strong {
  font-size: 34px;
}

.home-v2 .mini-stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.home-v2 .floating-photo {
  justify-self: end;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.home-v2 .floating-photo img {
  display: block;
  width: 100%;
  min-height: 620px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1021px) {
  .home-v2 .brand-feature.section-pad {
    align-items: stretch;
    min-height: 0;
    padding-top: 0;
    -webkit-mask: var(--teacher-section-wave-mask) center / 100% 100% no-repeat;
    mask: var(--teacher-section-wave-mask) center / 100% 100% no-repeat;
  }

  .home-v2 .brand-copy {
    align-self: start;
    padding-top: clamp(140px, 10vw, 176px);
    padding-bottom: 300px;
  }

  .home-v2 .floating-photo {
    align-self: stretch;
    width: calc(100% + max(24px, calc((100vw - 1280px) / 2 + 24px)));
    min-height: 620px;
    margin-right: calc(0px - max(24px, calc((100vw - 1280px) / 2 + 24px)));
    margin-bottom: 0;
  }

  .home-v2 .floating-photo img {
    height: 100%;
  }
}

@media (max-width: 1020px) {
  .home-v2 .brand-feature {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .home-v2 .brand-copy {
    max-width: 720px;
  }

  .home-v2 .floating-photo {
    justify-self: stretch;
    width: 100%;
    margin-right: 0;
    border-radius: 0;
  }

  .home-v2 .floating-photo img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .home-v2 .brand-feature {
    gap: 42px;
  }

  .home-v2 .brand-copy p {
    font-size: 15px;
    line-height: 1.8;
  }

  .home-v2 .mini-stats {
    margin-block: 32px 30px;
  }

  .home-v2 .mini-stats div {
    min-width: 0;
    flex: 1;
    padding-right: 20px;
  }

  .home-v2 .mini-stats div + div {
    padding-left: 20px;
  }

  .home-v2 .floating-photo {
    border-radius: 0;
  }

  .home-v2 .floating-photo img {
    aspect-ratio: 4 / 3;
  }
}

/* Homepage editorial refinement: footer */
.home-v2 .footer {
  padding-top: 104px;
  background: var(--ink);
}

.home-v2 .footer-main {
  max-width: 1280px;
  grid-template-columns: minmax(320px, 1fr) minmax(440px, 1fr);
  gap: clamp(72px, 10vw, 150px);
  margin-inline: auto;
}

.home-v2 .footer img {
  width: 236px;
}

.home-v2 .footer h2 {
  margin-top: 30px;
  font-size: 26px;
}

.home-v2 .footer h3 {
  margin-bottom: 24px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.home-v2 .footer-brand p {
  max-width: 470px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
}

.home-v2 .footer-contact dl {
  gap: 20px;
}

.home-v2 .footer-contact {
  padding-left: clamp(42px, 5vw, 78px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.home-v2 .footer-contact dl div {
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}

.home-v2 .footer-contact dt {
  padding-top: 2px;
  font-size: 11px;
}

.home-v2 .footer-contact dd {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: normal;
}

.home-v2 .footer-bottom {
  max-width: 1280px;
  margin: 64px auto 0;
  padding-top: 26px;
}

.home-v2 .footer-bottom p {
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 1020px) {
  .home-v2 .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .home-v2 .footer-contact {
    max-width: 680px;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .home-v2 .footer {
    padding: 68px 18px 26px;
  }

  .home-v2 .footer-main {
    gap: 42px;
  }

  .home-v2 .footer img {
    width: 190px;
  }

  .home-v2 .footer-contact dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-v2 .footer-bottom {
    margin-top: 48px;
  }
}
}

/* Keep the stretched Hero subtitle's edge glyphs inside their paint area. */
.home-v2 .hero h1 em {
  padding-inline: 0.16em;
  margin-inline: -0.16em;
}

.page-hero[style*="--backend-hero-image"]::before {
  background-image: var(--backend-hero-image);
}
