:root {
  --page: #eef3ff;
  --page-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fdfefe;
  --surface-line: rgba(22, 63, 150, 0.14);
  --text: #14264f;
  --muted: #556581;
  --navy: #163f96;
  --navy-strong: #0c2358;
  --blue: #4169e1;
  --gold: #d4a63a;
  --gold-soft: #f6e8bf;
  --shadow-lg: 0 24px 64px rgba(12, 35, 88, 0.16);
  --shadow-md: 0 18px 40px rgba(12, 35, 88, 0.12);
  --shadow-sm: 0 10px 24px rgba(12, 35, 88, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 166, 58, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(65, 105, 225, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 42%, #eef3ff 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
  scroll-margin-top: 88px;
}

.glossy-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.95)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 232, 191, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.topbar {
  overflow: hidden;
  color: #fffdf4;
  background:
    linear-gradient(180deg, rgba(12, 35, 88, 0.98), rgba(22, 63, 150, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-width: max-content;
  padding: 8px 0;
  white-space: nowrap;
  animation: topbarTicker 22s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 63, 150, 0.08);
  box-shadow: 0 10px 28px rgba(12, 35, 88, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand-copy span,
.brand-copy small {
  display: block;
}

.brand-copy span {
  font-family: "Sora", sans-serif;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 2px;
  color: #b48718;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav a.active {
  color: var(--navy);
  font-weight: 700;
}

.site-nav .nav-cta.active {
  color: #ffffff !important;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 14px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 28px rgba(12, 35, 88, 0.22);
}

.topbar-track span {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-track span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(246, 232, 191, 0.95);
  transform: translateY(-50%);
}

@keyframes topbarTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(22, 63, 150, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--navy);
}

.admissions-alert {
  position: absolute;
  top: clamp(8px, 1.2vw, 16px);
  left: 0;
  width: 100%;
  z-index: 6;
  pointer-events: none;
}

.admissions-alert-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-inline: 16px;
}

.admissions-alert-stack {
  display: grid;
  justify-items: center;
  width: 100%;
  position: relative;
  overflow: visible;
  min-height: auto;
}

.admissions-alert-card {
  display: grid;
  gap: 2px;
  width: min(100%, clamp(280px, 30vw, 420px));
  padding: clamp(8px, 0.9vw, 11px) clamp(12px, 1.4vw, 18px) clamp(9px, 1vw, 12px);
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(246, 232, 191, 0.26), rgba(246, 232, 191, 0) 42%),
    linear-gradient(135deg, var(--navy-strong) 0%, var(--navy) 44%, var(--blue) 78%, var(--navy-strong) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 20px rgba(12, 35, 88, 0.28),
    0 16px 34px rgba(12, 35, 88, 0.28);
  border: 1px solid rgba(246, 232, 191, 0.42);
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.admissions-alert-card strong {
  color: var(--gold-soft);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  text-shadow: 0 1px 0 rgba(12, 35, 88, 0.28);
}

.admissions-alert-card span {
  font-size: clamp(0.6rem, 0.72vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 251, 237, 0.96);
}

.admissions-alert-ticker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  min-height: clamp(40px, 3.8vw, 52px);
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
}

.admissions-alert-ticker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(100%, clamp(300px, 33vw, 440px));
  height: clamp(40px, 3.8vw, 52px);
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.99) 100%);
}

.admissions-alert-ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--page) 0%, rgba(242, 246, 239, 0) 8%, rgba(242, 246, 239, 0) 92%, var(--page) 100%);
  pointer-events: none;
}

.admissions-alert-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  min-width: max-content;
  white-space: nowrap;
  padding-top: 0;
  animation: admissionsTicker 14s linear infinite;
}

.admissions-alert-track span {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6e8bf 18%, #d4a63a 38%, #4169e1 66%, #0c2358 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 6px 18px rgba(12, 35, 88, 0.14);
}

@keyframes admissionsTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

.hero {
  position: relative;
  overflow: clip;
  min-height: clamp(520px, calc(100svh - 132px), 920px);
  margin-top: 0;
  padding: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.hero-orb-left {
  top: 70px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: rgba(212, 166, 58, 0.24);
}

.hero-orb-right {
  top: 30px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: rgba(65, 105, 225, 0.18);
}

.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  gap: 36px;
}

.hero-grid {
  position: relative;
  width: 100%;
  margin-left: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  min-height: calc(100svh - 132px);
}

.hero-slider {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.hero-story-title,
.section h2,
.section h3,
.slide-content h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  margin: 0;
}

.lead,
.section-copy p,
.section-heading p,
.slide-content p,
.program-card p,
.trust-card p,
.gallery-caption span,
.admission-card p,
.admission-side p,
.site-footer p,
.mini-card span,
.info-panel p {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 44ch;
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(46px, 4.6vw, 54px);
  padding: 0 clamp(18px, 2vw, 22px);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 34px rgba(12, 35, 88, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-sm);
}

.button-block {
  width: 100%;
}

.hero-pills,
.admission-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-pills span,
.admission-badges span,
.slide-kicker,
.program-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 63, 150, 0.1);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-info-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.hero-info-card strong,
.mini-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
}

.hero-info-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.contact-inline a,
.footer-contact a {
  font-weight: 800;
  color: var(--navy);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 14px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.slider-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.slider-viewport {
  position: relative;
  min-height: inherit;
  flex: 1;
}

.slider-viewport:focus-visible {
  outline: 3px solid rgba(179, 39, 82, 0.34);
  outline-offset: 10px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: #e5ece5;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 23, 21, 0.16) 0%, rgba(11, 23, 21, 0.06) 34%, rgba(11, 23, 21, 0.08) 58%, rgba(11, 23, 21, 0.24) 100%),
    linear-gradient(180deg, rgba(11, 23, 21, 0.12) 0%, rgba(11, 23, 21, 0.04) 42%, rgba(11, 23, 21, 0.34) 100%);
}

.slide-content {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2 + 16px));
  bottom: clamp(76px, 8vw, 112px);
  z-index: 2;
  width: min(clamp(300px, 34vw, 520px), calc(100vw - 32px));
  padding: clamp(16px, 2vw, 24px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 40, 35, 0.88), rgba(35, 89, 76, 0.82));
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(16, 40, 35, 0.24);
  backdrop-filter: blur(14px);
}

.slide-kicker {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.slide-content h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1.08;
  max-width: none;
}

.slide-content p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.slider-footer {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2 + 16px));
  bottom: clamp(18px, 2.4vw, 36px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(clamp(300px, 34vw, 520px), calc(100vw - 32px));
  padding: 0;
}

.slider-button {
  min-width: 92px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.slider-indicators {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 63, 150, 0.18);
}

.slider-dot.is-active {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 0 0 6px rgba(65, 105, 225, 0.16);
}

.hero-story-strip {
  padding: 26px 0 12px;
}

.landing-marquee {
  padding: 26px 0 34px;
  overflow: hidden;
}

.landing-marquee-heading {
  margin-bottom: 24px;
}

.landing-marquee-shell {
  overflow: hidden;
  padding: 10px 0;
}

.landing-marquee-shell + .landing-marquee-shell {
  margin-top: 8px;
}

.landing-marquee-shell-reverse .landing-marquee-track {
  animation-direction: reverse;
}

.landing-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  animation: landingMarquee 34s linear infinite;
  will-change: transform;
}

.landing-marquee-card {
  flex: 0 0 clamp(220px, 24vw, 340px);
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.landing-marquee-card-wide {
  flex-basis: clamp(280px, 30vw, 420px);
}

.landing-marquee-card-tall {
  flex-basis: clamp(240px, 26vw, 360px);
}

.landing-marquee-card img {
  width: 100%;
  height: clamp(180px, 18vw, 260px);
  object-fit: cover;
  object-position: center;
}

@keyframes landingMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.hero {
  position: relative;
  min-height: clamp(760px, 100svh, 980px);
  background: #f8f4f1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: 108px;
  width: 112%;
  height: 180px;
  background: #ffffff;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  z-index: 2;
}

.hero-grid {
  width: min(100%, 100vw);
  min-height: clamp(760px, 100svh, 980px);
  padding: 0;
}

.hero-stage {
  position: relative;
  min-height: inherit;
}

.cinematic-slider {
  position: relative;
  min-height: inherit;
}

.cinematic-slider .slider-shell {
  position: relative;
  min-height: inherit;
  border-radius: 0;
  overflow: hidden;
  background: #1b1618;
}

.cinematic-slider .slider-viewport {
  min-height: inherit;
}

.cinematic-slider .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(22, 14, 16, 0.74) 0%, rgba(22, 14, 16, 0.44) 24%, rgba(22, 14, 16, 0.26) 54%, rgba(22, 14, 16, 0.68) 100%),
    linear-gradient(180deg, rgba(18, 10, 12, 0.22) 0%, rgba(18, 10, 12, 0.18) 40%, rgba(18, 10, 12, 0.72) 100%);
}

.cinematic-slider .hero-slide img,
.cinematic-slider .hero-slide video {
  transform: scale(1.02);
  animation: heroImageFloat 12s ease-in-out infinite alternate;
}

.cinematic-slider .slide-content {
  left: clamp(32px, 7vw, 160px);
  right: auto;
  bottom: clamp(220px, 28vh, 300px);
  width: min(720px, calc(100vw - 64px));
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.cinematic-title {
  max-width: 11ch;
  color: #ffffff;
  font-size: clamp(3.1rem, 6.8vw, 6.2rem);
  line-height: 0.98;
  text-shadow: 0 14px 34px rgba(22, 10, 12, 0.34);
}

.cinematic-title::after {
  content: "";
  display: block;
  width: clamp(120px, 16vw, 220px);
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c01f54, #e53f73);
  box-shadow: 0 10px 24px rgba(192, 31, 84, 0.34);
}

.cinematic-slider .slide-content p {
  max-width: 34ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.58;
}

.hero-help-row {
  position: absolute;
  left: clamp(32px, 8vw, 220px);
  bottom: 190px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.hero-help-row p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  letter-spacing: 0.02em;
}

.hero-help-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.cinematic-slider .slider-footer {
  left: 24px;
  right: 24px;
  bottom: 248px;
  width: auto;
  justify-content: space-between;
}

.hero-feature-rack {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100vw - 72px));
  transform: translateX(-50%);
}

.hero-feature-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 246, 0.92));
  border: 1px solid rgba(104, 22, 48, 0.08);
  box-shadow: 0 24px 46px rgba(48, 18, 26, 0.16);
}

.hero-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #9b1439;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(155, 20, 57, 0.08);
  border: 1px solid rgba(155, 20, 57, 0.12);
}

.hero-feature-card h3 {
  margin: 0 0 10px;
  color: #8f1737;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.hero-feature-card p {
  margin: 0;
  color: #4d4f5d;
  line-height: 1.7;
}

.hero-feature-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #a6163d;
  font-weight: 800;
}

@keyframes heroImageFloat {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0, -12px, 0);
  }
}

.hero-story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 246, 0.94));
  border: 1px solid rgba(23, 59, 52, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-story-head {
  display: grid;
  align-content: start;
}

.hero-story-title {
  max-width: 10ch;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 0.98;
}

.hero-story-body {
  display: grid;
  align-content: center;
}

.hero-story-lead {
  max-width: 52ch;
  margin-top: 0;
}

.hero-summary-strip {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 22px 0 18px;
}

.hero-summary-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-summary-grid .hero-info-card {
  margin-top: 0;
}

.hero-summary-grid .hero-stats {
  height: 100%;
  align-items: stretch;
}

.hero-summary-grid .stat-card {
  display: grid;
  align-content: center;
}

.trust-strip {
  padding: 10px 0 8px;
  scroll-margin-top: 132px;
}

.trust-grid,
.program-grid,
.gallery-grid,
.admissions-grid,
.admission-flow {
  display: grid;
  gap: 22px;
}

.trust-grid,
.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card,
.program-card,
.admission-card,
.admission-side {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.trust-card h3,
.program-card h3,
.admission-card h3,
.admission-side h3,
.info-panel h3,
.footer-links h3,
.footer-contact h3,
.admissions-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.section-heading,
.section-copy {
  max-width: 720px;
}

.section-actions {
  margin-top: 18px;
}

.section h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.04;
}

.section-heading p,
.section-copy p {
  margin: 16px 0 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  box-shadow: 0 0 0 5px rgba(215, 107, 122, 0.16);
}

.visual-stack {
  display: grid;
  gap: 20px;
}

.stack-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.image-panel,
.info-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.large-panel {
  min-height: clamp(260px, 30vw, 420px);
}

.stack-row .image-panel {
  min-height: clamp(220px, 22vw, 260px);
}

.info-panel {
  padding: 28px;
  display: grid;
  align-content: center;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 28px;
}

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-card-wide {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  height: clamp(220px, 24vw, 360px);
  object-fit: cover;
  object-position: center;
}

.gallery-card-wide img {
  height: clamp(260px, 34vw, 520px);
}

.gallery-caption {
  padding: 18px 20px 22px;
}

.gallery-caption span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-caption strong {
  font-family: "Sora", sans-serif;
  font-size: 1.04rem;
  line-height: 1.42;
}

.gallery-news-layout {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.gallery-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.gallery-news-visual,
.gallery-news-visual img {
  display: block;
  width: 100%;
}

.gallery-news-visual {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
}

.gallery-news-visual img {
  height: clamp(280px, 38vw, 560px);
  object-fit: cover;
  object-position: center;
}

.gallery-news-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.gallery-news-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(205, 37, 37, 0.1);
  color: #b11f2d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-news-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.gallery-news-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.announcement-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.announcement-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 110, 140, 0.1);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.35;
}

.announcement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.announcement-card a {
  color: var(--navy);
  font-weight: 800;
}

.announcement-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 991px) {
  .gallery-news-card {
    grid-template-columns: 1fr;
  }

  .announcement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-news-card {
    padding: 16px;
  }

  .gallery-news-visual img {
    height: auto;
    aspect-ratio: 16 / 11;
  }
}

.admissions-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.admissions-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.admission-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.flow-step {
  padding: 22px 20px;
  border-radius: 22px;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.admissions-visual {
  overflow: hidden;
  border-radius: 28px;
}

.admissions-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 30vw, 420px);
  object-fit: cover;
  object-position: center;
}

.admissions-copy {
  align-self: center;
  padding: 18px 14px 18px 4px;
}

.admissions-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.admissions-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(260px, 0.7fr);
  margin-top: 24px;
}

.steps-list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.steps-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-family: "Sora", sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.steps-list h4 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
}

.steps-list p {
  margin: 0;
}

.admission-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admission-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.admission-banner-media {
  overflow: hidden;
  border-radius: 26px;
}

.admission-banner-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}

.admission-banner-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.admission-banner-card .page-title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 0.98;
}

.admission-banner-card .lead {
  max-width: none;
  font-size: 1rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 28px;
  align-items: center;
}

.split-feature-reverse .feature-media {
  order: 2;
}

.split-feature-reverse .feature-panel {
  order: 1;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: clamp(260px, 32vw, 420px);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}

.feature-panel {
  padding: 10px 0;
}

.compact-lead {
  max-width: 52ch;
}

.mini-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 245, 247, 0.9);
  border: 1px solid rgba(91, 16, 39, 0.08);
}

.mini-card span {
  display: block;
  margin-top: 6px;
}

.site-footer {
  margin-top: 34px;
  padding: 28px 0 132px;
  background:
    linear-gradient(180deg, rgba(255, 251, 252, 0.78), rgba(248, 237, 240, 0.94));
  border-top: 1px solid rgba(91, 16, 39, 0.06);
  scroll-margin-top: 88px;
}

.page-hero {
  padding-top: 42px;
}

.page-hero-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
}

.page-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero-visual {
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.page-hero-visual img {
  width: 100%;
  height: clamp(240px, 28vw, 420px);
  border-radius: 26px;
  object-fit: cover;
  object-position: center;
}

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

.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.enquiry-workspace {
  display: grid;
  gap: 0;
}

.enquiry-info,
.enquiry-form,
.enquiry-bot,
.thank-you-card {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.enquiry-info,
.enquiry-form,
.enquiry-bot {
  display: grid;
  gap: 22px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(179, 39, 82, 0.1);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-group span {
  font-weight: 700;
  color: var(--navy);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(91, 16, 39, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(179, 39, 82, 0.54);
  box-shadow: 0 0 0 4px rgba(179, 39, 82, 0.12);
}

.field-group textarea {
  resize: vertical;
  min-height: 140px;
}

.bot-thread {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(91, 16, 39, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 245, 247, 0.92), rgba(255, 255, 255, 0.98));
}

.bot-bubble {
  max-width: min(100%, 44rem);
  padding: 16px 18px;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.bot-bubble strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
}

.bot-bubble p {
  margin: 0;
  line-height: 1.72;
}

.bot-bubble-assistant {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 54%),
    linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(250, 240, 242, 0.94));
  border: 1px solid rgba(91, 16, 39, 0.1);
}

.bot-bubble-user {
  margin-left: auto;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 224, 211, 0.18), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, #8e183f 46%, var(--blue) 100%);
}

.bot-bubble-user p,
.bot-bubble-user strong {
  color: #ffffff;
}

.bot-section {
  display: grid;
  gap: 12px;
}

.bot-label {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.bot-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bot-chip,
.bot-option {
  border: 1px solid rgba(91, 16, 39, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 242, 244, 0.92));
  color: var(--navy);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bot-chip {
  min-height: 52px;
  padding: 12px 16px;
}

.bot-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bot-option {
  min-height: 64px;
  padding: 14px 16px;
  text-align: left;
}

.bot-chip:hover,
.bot-chip:focus-visible,
.bot-option:hover,
.bot-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 213, 0.42);
  box-shadow: var(--shadow-sm);
}

.bot-chip.is-active,
.bot-option.is-active {
  border-color: rgba(191, 219, 254, 0.32);
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #081c4a 0%, #123d91 46%, #2563d5 100%);
}

.bot-sync-card {
  margin-top: -6px;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 40px; /* Increased gap below chatbot */
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: min(320px, calc(100vw - 32px));
  min-height: 74px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.28), transparent 38%),
    radial-gradient(circle at bottom right, rgba(55, 107, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #081c4a, #123d91 54%, #2563d5);
  box-shadow:
    0 22px 44px rgba(8, 28, 74, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: auto;
}

.chat-launcher-copy {
  flex: 1;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.chat-launcher-avatar,
.chat-panel-brand img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
}

.chat-launcher-avatar {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(23, 59, 52, 0.1);
  box-shadow:
    0 14px 24px rgba(16, 40, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.chat-launcher-avatar img,
.chat-panel-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-panel {
  width: min(390px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 244, 0.92));
  box-shadow:
    0 30px 80px rgba(16, 40, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-widget.is-open .chat-launcher {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.26), transparent 34%),
    radial-gradient(circle at top right, rgba(55, 107, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #081c4a, #123d91 52%, #2563d5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.chat-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-panel-brand img {
  width: 42px;
  height: 42px;
}

.chat-panel-brand strong,
.chat-panel-brand span {
  display: block;
}

.chat-panel-brand strong {
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
}

.chat-panel-brand span {
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.chat-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 248, 225, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.chat-panel-body {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  gap: 14px;
  overflow: auto;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(192, 225, 255, 0.3), transparent 18%),
    radial-gradient(circle at bottom left, rgba(37, 99, 213, 0.12), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(71, 145, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 42%, #e0ecff 100%);
}

.chat-message {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 20px;
  box-shadow:
    0 16px 32px rgba(8, 28, 74, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.chat-message p {
  margin: 0;
  line-height: 1.62;
}

.chat-message-bot {
  justify-self: start;
  color: var(--navy-strong);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 246, 0.95));
}

.chat-message-user {
  justify-self: end;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(55, 107, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #0b2a68, #1554b8, #2873e3);
}

.chat-choice-list {
  display: grid;
  gap: 10px;
}

.chat-choice {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 16px;
  color: var(--navy-strong);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.56), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 244, 255, 0.88));
  font-weight: 700;
  text-align: left;
  box-shadow:
    0 12px 24px rgba(8, 28, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
}

.chat-form-shell,
.chat-summary-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.58), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 255, 0.92));
  box-shadow:
    0 16px 30px rgba(8, 28, 74, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.chat-step-form,
.chat-submit-form {
  display: grid;
  gap: 12px;
}

.chat-field {
  display: grid;
  gap: 6px;
}

.chat-field span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-field input,
.chat-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(18, 61, 145, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.chat-field textarea {
  resize: vertical;
  min-height: 100px;
}

.chat-submit-button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #ffffff;
  font-weight: 800;
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.26), transparent 34%),
    radial-gradient(circle at top right, rgba(55, 107, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #081c4a, #123d91, #2563d5);
  box-shadow:
    0 18px 32px rgba(8, 28, 74, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.chat-submit-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.chat-summary-card strong,
.chat-summary-card span {
  display: block;
}

.chat-summary-card strong {
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
}

.chat-summary-card p,
.chat-summary-card span {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.chat-summary-card span {
  font-size: 0.88rem;
  font-weight: 700;
}

.chat-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.chat-status-info {
  color: #0f437d;
  background: rgba(255, 255, 255, 0.78);
}

.chat-status-error {
  color: #9b1c1c;
  background: rgba(255, 240, 240, 0.94);
}

.chat-choice:hover,
.chat-choice:focus-visible,
.chat-icon-button:hover,
.chat-icon-button:focus-visible,
.chat-submit-button:hover,
.chat-submit-button:focus-visible,
.chat-launcher:hover,
.chat-launcher:focus-visible {
  transform: translateY(-1px);
}

.chat-panel-footer {
  padding: 12px 18px 14px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.52), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 247, 255, 0.93));
  border-top: 1px solid rgba(17, 33, 77, 0.06);
}

.chat-panel-footer small {
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.thank-you-card {
  max-width: 760px;
  margin: 60px auto;
  text-align: center;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.contact-address-block {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-address-block p:first-child {
  color: var(--text);
  font-weight: 800;
}

.contact-link {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 150px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(19, 53, 91, 0.08);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.contact-social-link:hover {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-actions {
  margin-top: 18px;
}

.contact-map-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  grid-column: 1 / -1;
  align-items: center;
}

.contact-map-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-map-copy .eyebrow {
  margin: 0;
}

.contact-map-shell {
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(19, 53, 91, 0.1);
}

.contact-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.7fr 0.75fr;
  align-items: start;
}

.footer-intro p {
  max-width: 54ch;
  margin: 18px 0 0;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 6px;
}

.footer-links a,
.footer-contact span {
  color: var(--muted);
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer-social-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(19, 53, 91, 0.16);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-social-link.whatsapp:hover,
.footer-social-link.whatsapp:focus-visible { background: #25d366; }
.footer-social-link.instagram:hover,
.footer-social-link.instagram:focus-visible { background: #d62976; }
.footer-social-link.facebook:hover,
.footer-social-link.facebook:focus-visible { background: #1877f2; }

.footer-bottom {
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

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

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

@media (min-width: 1280px) {
  :root {
    --container: min(1280px, calc(100vw - 64px));
  }

  .section {
    padding: 96px 0;
  }

  .hero-story-card,
  .admissions-hero,
  .admissions-preview,
  .admission-banner {
    gap: 32px;
  }

  .hero-story-card {
    padding: 32px 34px;
  }

  .hero-summary-grid,
  .contact-grid,
  .footer-grid {
    gap: 24px;
  }

  .slide-content,
  .slider-footer {
    width: min(100%, 480px);
  }

  .gallery-card img {
    height: 340px;
  }

  .gallery-card-wide img {
    height: 460px;
  }

  .chat-launcher {
    max-width: min(360px, calc(100vw - 48px));
  }

  .chat-panel {
    width: min(420px, calc(100vw - 48px));
  }
}

@media (min-width: 1536px) {
  :root {
    --container: min(1440px, calc(100vw - 96px));
  }

  .section {
    padding: 108px 0;
  }

  .hero-story-title,
  .page-title {
    font-size: clamp(2.8rem, 3.5vw, 4.6rem);
  }

  .hero-story-card {
    padding: 34px 38px;
  }

  .hero-summary-grid {
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
  }

  .slide-content,
  .slider-footer {
    width: min(100%, 520px);
  }

  .admissions-alert-card {
    width: min(100%, 420px);
  }

  .admissions-alert-ticker::before {
    width: 448px;
  }

  .gallery-card img {
    height: 360px;
  }

  .gallery-card-wide img {
    height: 500px;
  }

  .chat-launcher {
    max-width: min(380px, calc(100vw - 64px));
  }

  .chat-panel {
    width: min(440px, calc(100vw - 64px));
  }
}

@media (min-width: 1920px) {
  :root {
    --container: min(1600px, calc(100vw - 120px));
  }

  .section {
    padding: 120px 0;
  }

  .hero-story-card {
    padding: 38px 42px;
    gap: 40px;
  }

  .hero-summary-grid,
  .contact-grid,
  .footer-grid,
  .gallery-grid {
    gap: 28px;
  }

  .slide-content {
    bottom: 112px;
  }

  .slider-footer {
    bottom: 36px;
    width: min(100%, 540px);
  }

  .slide-content,
  .admissions-copy,
  .section-copy,
  .section-heading {
    max-width: 60ch;
  }

  .gallery-card img {
    height: 380px;
  }

  .gallery-card-wide img {
    height: 520px;
  }

  .page-hero-visual img {
    height: 420px;
  }

  .chat-launcher {
    max-width: min(400px, calc(100vw - 80px));
  }

  .chat-panel {
    width: min(460px, calc(100vw - 80px));
    max-height: min(760px, calc(100vh - 48px));
  }
}

@media (max-width: 1320px) {
  .topbar-track span {
    font-size: 0.86rem;
  }

  .nav-wrap {
    gap: 18px;
    padding: 14px 0;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand-copy span {
    font-size: 0.95rem;
  }

  .brand-copy small {
    font-size: 0.84rem;
  }

.site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 12px 18px;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(91, 16, 39, 0.08);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 1440px) and (max-height: 860px) {
  .admissions-alert {
    top: 8px;
  }

  .admissions-alert-stack {
    min-height: 60px;
  }

  .admissions-alert-card {
    width: min(100%, 344px);
    padding: 10px 16px 11px;
  }

  .admissions-alert-card strong {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
  }

  .admissions-alert-card span {
    font-size: 0.68rem;
  }

  .admissions-alert-ticker::before {
    width: 370px;
    height: 52px;
  }

  .admissions-alert-track span {
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  }

  .hero,
  .hero-grid,
  .slider-viewport {
    min-height: clamp(520px, calc(100svh - 132px), 640px);
  }

  .slide-content {
    right: max(16px, calc((100vw - 1180px) / 2 + 16px));
    bottom: 82px;
    width: min(360px, calc(100vw - 32px));
    padding: 18px 20px 20px;
    border-radius: 24px;
  }

  .slide-content h2 {
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  }

  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .slider-footer {
    right: max(16px, calc((100vw - 1180px) / 2 + 16px));
    bottom: 22px;
    width: min(360px, calc(100vw - 32px));
  }

  .slider-button {
    min-width: 84px;
    min-height: 40px;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
  }

  .chat-launcher {
    max-width: min(264px, calc(100vw - 32px));
    min-height: 62px;
    padding: 10px 12px 10px 14px;
    border-radius: 20px;
  }

  .chat-launcher-copy {
    font-size: 0.9rem;
  }

  .chat-launcher-avatar {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-story-card,
  .split-grid,
  .split-feature,
  .admission-flow,
  .admissions-preview,
  .admissions-hero,
  .admissions-grid,
  .page-hero-grid,
  .enquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admission-banner {
    grid-template-columns: 1fr;
  }

  .admission-banner-media img {
    height: 360px;
  }

  .admission-banner-card {
    padding: 24px;
  }

  .slide-content,
  .slider-footer {
    right: max(16px, calc((100vw - 1180px) / 2 + 16px));
    width: min(400px, calc(100vw - 32px));
  }

  .hero-summary-strip {
    padding-top: 18px;
  }

  .hero-summary-grid {
    grid-template-columns: 1fr;
  }

  .slider-viewport {
    min-height: clamp(500px, calc(100svh - 132px), 640px);
  }

  .trust-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card,
  .gallery-card-wide {
    grid-column: auto;
  }

  .gallery-card-wide img {
    height: 300px;
  }

  .hero {
    min-height: 880px;
  }

  .hero::after {
    bottom: 200px;
    height: 150px;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 880px;
  }

  .cinematic-slider .slide-content {
    left: 44px;
    bottom: 288px;
    width: min(620px, calc(100vw - 64px));
  }

  .hero-help-row {
    left: 48px;
    bottom: 214px;
  }

  .cinematic-slider .slider-footer {
    bottom: 302px;
  }

  .hero-feature-rack {
    width: min(960px, calc(100vw - 48px));
    bottom: 70px;
  }

  .landing-marquee-track {
    gap: 14px;
    animation-duration: 28s;
  }
}

@media (max-width: 840px) {
  .admissions-alert {
    top: 6px;
  }

  .topbar-track {
    gap: 28px;
    padding: 7px 0;
    animation-duration: 22s;
  }

  .topbar-track span {
    font-size: 0.74rem;
    padding-left: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(17, 33, 77, 0.08);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-stats,
  .stack-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .slider-viewport {
    min-height: min(70svh, 620px);
  }

  .slide-content {
    right: 16px;
    bottom: 74px;
    width: min(420px, calc(100vw - 32px));
  }

  .hero {
    min-height: 980px;
  }

  .hero::after {
    bottom: 280px;
    height: 120px;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 980px;
  }

  .cinematic-slider .slide-content {
    left: 24px;
    bottom: 388px;
    width: calc(100vw - 48px);
  }

  .cinematic-title {
    max-width: 9ch;
    font-size: clamp(2.3rem, 9vw, 4rem);
  }

  .cinematic-title::after {
    height: 6px;
  }

  .hero-help-row {
    left: 24px;
    bottom: 320px;
  }

  .hero-help-icon {
    width: 48px;
    height: 48px;
  }

  .cinematic-slider .slider-footer {
    left: 16px;
    right: 16px;
    bottom: 422px;
  }

  .hero-feature-rack {
    grid-template-columns: 1fr;
    width: calc(100vw - 32px);
    bottom: 18px;
    gap: 14px;
  }

  .landing-marquee {
    padding: 18px 0 24px;
  }

  .landing-marquee-heading {
    margin-bottom: 18px;
  }

  .landing-marquee-card {
    flex-basis: clamp(200px, 62vw, 280px);
    border-radius: 18px;
  }

  .landing-marquee-card-wide,
  .landing-marquee-card-tall {
    flex-basis: clamp(220px, 68vw, 320px);
  }

  .landing-marquee-card img {
    height: clamp(150px, 42vw, 210px);
  }

  .section {
    padding: 72px 0;
  }

  .panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-widget {
    right: 18px;
    bottom: 18px;
  }

  .site-footer {
    padding-bottom: 150px;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100vw - 20px, 1180px);
  }

  .topbar {
    padding-top: env(safe-area-inset-top, 0);
  }

  .topbar-track {
    gap: 20px;
    padding: 6px 0;
    animation-duration: 18s;
  }

  .topbar-track span {
    font-size: 0.66rem;
    padding-left: 12px;
  }

  .nav-wrap {
    gap: 10px;
    padding: 10px 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand {
    gap: 8px;
  }

  .brand-copy span {
    font-size: 0.8rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero {
    min-height: 920px;
  }

  .hero::after {
    bottom: 246px;
    height: 96px;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 920px;
  }

  .cinematic-slider .slide-content {
    left: 20px;
    bottom: 354px;
    width: calc(100vw - 40px);
  }

  .cinematic-title {
    font-size: 2rem;
    line-height: 1.02;
  }

  .cinematic-slider .slide-content p {
    margin-top: 16px;
    font-size: 0.94rem;
  }

  .hero-help-row {
    left: 20px;
    bottom: 294px;
    gap: 12px;
  }

  .hero-help-row p {
    font-size: 0.92rem;
  }

  .cinematic-slider .slider-footer {
    left: 12px;
    right: 12px;
    bottom: 388px;
  }

  .hero-feature-card {
    padding: 18px;
    border-radius: 18px;
  }

  .page-hero {
    padding-top: 18px;
  }

  .lead {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-actions,
  .contact-inline,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .form-actions .button {
    min-height: 50px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .admissions-alert-stack {
    min-height: 58px;
  }

  .admissions-alert-card {
    width: min(calc(100vw - 20px), 280px);
    padding: 8px 10px 9px;
  }

  .admissions-alert-card strong {
    font-size: 0.92rem;
  }

  .admissions-alert-card span {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .admissions-alert-ticker {
    width: 100%;
    min-height: 34px;
  }

  .admissions-alert-ticker::before {
    width: min(calc(100vw - 20px), 296px);
    height: 38px;
    border-radius: 12px;
  }

  .admissions-alert-track {
    gap: 14px;
  }

  .admissions-alert-track span {
    font-size: clamp(0.96rem, 4.8vw, 1.35rem);
    line-height: 0.95;
  }

  .slider-shell {
    padding: 0;
  }

  .slider-viewport {
    min-height: clamp(420px, 56svh, 520px);
  }

  .hero-slide img,
  .hero-slide video {
    border-radius: 0;
  }

  .slide-kicker {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .admission-banner-media img,
  .feature-media img {
    height: 240px;
    min-height: 240px;
  }

  .slide-content {
    right: 10px;
    bottom: 72px;
    width: calc(100vw - 20px);
    padding: 14px;
    border-radius: 18px;
  }

  .slide-content h2 {
    font-size: 0.98rem;
    line-height: 1.14;
    max-width: none;
  }

  .slide-content p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .slider-footer {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "prev next"
      "dots dots";
    align-items: center;
    gap: 10px;
    padding: 0;
    z-index: 3;
  }

  .slider-button {
    min-width: 0;
    width: 100%;
    min-height: 36px;
    font-size: 0.82rem;
  }

  .slider-button[data-slide-prev] {
    grid-area: prev;
  }

  .slider-button[data-slide-next] {
    grid-area: next;
  }

  .slider-indicators {
    grid-area: dots;
    justify-content: center;
    gap: 8px;
  }

  .hero-story-strip {
    padding: 14px 0 8px;
  }

  .landing-marquee {
    padding: 12px 0 18px;
  }

  .landing-marquee-shell {
    padding: 6px 0;
  }

  .landing-marquee-track {
    gap: 10px;
    animation-duration: 24s;
  }

  .landing-marquee-card {
    flex-basis: min(240px, calc(100vw - 44px));
    border-radius: 16px;
  }

  .landing-marquee-card-wide,
  .landing-marquee-card-tall {
    flex-basis: min(260px, calc(100vw - 32px));
  }

  .landing-marquee-card img {
    height: 150px;
  }

  .hero-story-card {
    padding: 16px;
    border-radius: 18px;
  }

  .landing-promise {
    padding: 6px 0 18px;
  }

  .hero-story-title {
    font-size: 1.55rem;
    line-height: 1.04;
  }

  .section h2 {
    font-size: 1.55rem;
  }

  .trust-card,
  .program-card,
  .admission-card,
  .admission-side,
  .info-panel,
  .enquiry-info,
  .enquiry-form,
  .enquiry-bot,
  .thank-you-card {
    padding: 22px;
  }

  .gallery-card img,
  .gallery-card-wide img,
  .large-panel,
  .stack-row .image-panel,
  .admissions-visual img,
  .page-hero-visual img {
    height: 240px;
    min-height: 240px;
  }

  .steps-list article {
    grid-template-columns: 1fr;
  }

  .steps-list span {
    width: 48px;
    height: 48px;
  }

  .bot-option-grid {
    grid-template-columns: 1fr;
  }

  .bot-thread {
    padding: 14px;
  }

  .bot-chip,
  .bot-option {
    width: 100%;
  }

  .chat-widget {
    right: 8px;
    bottom: 8px;
    left: auto;
    justify-items: end;
  }

  .chat-launcher,
  .chat-panel {
    width: min(290px, calc(100vw - 16px));
  }

  .chat-launcher {
    min-height: 50px;
    padding: 6px 8px 6px 10px;
    border-radius: 18px;
  }

  .chat-launcher-avatar {
    width: 34px;
    height: 34px;
  }

  .chat-panel {
    max-height: min(70vh, 560px);
    border-radius: 22px;
  }

  .chat-panel-header {
    padding: 12px;
  }

  .chat-panel-brand {
    gap: 8px;
  }

  .chat-panel-brand img {
    width: 34px;
    height: 34px;
  }

  .chat-panel-brand strong {
    font-size: 0.82rem;
  }

  .chat-panel-brand span {
    font-size: 0.68rem;
  }

  .chat-panel-body {
    gap: 12px;
    padding: 12px;
  }

  .chat-message,
  .chat-choice,
  .chat-form-shell,
  .chat-summary-card {
    max-width: 100%;
  }

  .chat-message {
    padding: 11px 12px;
    border-radius: 18px;
  }

  .chat-choice {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 0.9rem;
  }

  .chat-field input,
  .chat-field textarea {
    padding: 10px 11px;
  }

  .chat-submit-button {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .chat-launcher-copy {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .site-footer {
    padding: 22px 0 92px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-links,
  .footer-contact {
    gap: 6px;
  }

  .footer-links h3,
  .footer-contact h3 {
    margin-bottom: 4px;
    font-size: 1.05rem;
  }

  .footer-intro p,
  .footer-links a,
  .footer-contact span,
  .footer-contact a,
  .footer-bottom p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-top: 12px;
  }
}

@media (max-width: 390px) {
  .admissions-alert-wrap {
    padding-inline: 8px;
  }

  .container {
    width: min(100vw - 16px, 1180px);
  }

  .admissions-alert-card {
    width: min(calc(100vw - 16px), 252px);
    padding: 7px 9px 8px;
  }

  .admissions-alert-card strong {
    font-size: 0.84rem;
  }

  .admissions-alert-card span {
    font-size: 0.52rem;
  }

  .admissions-alert-ticker::before {
    width: min(calc(100vw - 16px), 268px);
  }

  .admissions-alert-track span {
    font-size: clamp(0.84rem, 4.2vw, 1.1rem);
  }

  .slide-content,
  .slider-footer {
    width: calc(100vw - 16px);
    right: 8px;
  }

  .chat-launcher,
  .chat-panel {
    width: min(272px, calc(100vw - 12px));
  }
}

/* Homepage landing redesign */

[data-parallax] {
  --parallax-x: 0px;
  --parallax-y: 0px;
  --parallax-rotate: 0deg;
  will-change: transform;
}

[data-parallax]:not(.reveal) {
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--parallax-rotate));
}

.reveal {
  --reveal-y: 28px;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 560ms ease, filter 560ms ease;
}

.reveal:not([data-parallax]) {
  transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity 560ms ease, filter 560ms ease, transform 560ms ease;
}

.reveal[data-parallax] {
  transform: translate3d(
      var(--parallax-x),
      calc(var(--reveal-y) + var(--parallax-y)),
      0
    )
    rotate(var(--parallax-rotate));
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  --reveal-y: 0px;
}

.hero {
  position: relative;
  overflow: visible;
  min-height: clamp(880px, 100svh, 1120px);
  padding: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(212, 166, 58, 0.22), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(65, 105, 225, 0.2), transparent 20%),
    linear-gradient(180deg, #0c2358 0%, #163f96 34%, #eef3ff 100%);
}

.hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  display: block;
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.hero-stage {
  position: relative;
  min-height: inherit;
  overflow: visible;
}

.hero-orb {
  filter: blur(18px);
}

.hero-orb-left {
  top: 96px;
  left: -90px;
  width: 320px;
  height: 320px;
  background: rgba(212, 166, 58, 0.24);
}

.hero-orb-right {
  top: 90px;
  right: -110px;
  width: 360px;
  height: 360px;
  background: rgba(65, 105, 225, 0.22);
}

.hero-float-badge {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(12, 35, 88, 0.18);
}

.hero-float-badge span {
  color: #b48718;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-float-badge strong {
  color: var(--navy-strong);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.hero-float-badge-left {
  top: 160px;
  left: clamp(20px, 5vw, 84px);
}

.hero-float-badge-right {
  top: 184px;
  right: clamp(20px, 5vw, 84px);
}

.cinematic-slider,
.cinematic-slider .slider-shell,
.cinematic-slider .slider-viewport {
  min-height: inherit;
}

.cinematic-slider .slider-shell {
  position: relative;
  overflow: hidden;
  background: #0c2358;
}

.cinematic-slider .hero-slide {
  transform: scale(1.04);
  transition: opacity 420ms ease, transform 420ms ease;
}

.cinematic-slider .hero-slide.is-active {
  transform: scale(1);
}

.cinematic-slider .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 26% 36%, rgba(246, 232, 191, 0.08), transparent 20%),
    radial-gradient(circle at 76% 24%, rgba(65, 105, 225, 0.08), transparent 18%);
}

.cinematic-slider .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(8, 20, 54, 0.42) 0%, rgba(8, 20, 54, 0.18) 25%, rgba(8, 20, 54, 0.08) 54%, rgba(8, 20, 54, 0.3) 100%),
    linear-gradient(180deg, rgba(8, 20, 54, 0.08) 0%, rgba(8, 20, 54, 0.04) 40%, rgba(8, 20, 54, 0.24) 100%);
}

.cinematic-slider .hero-slide img,
.cinematic-slider .hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroImageFloat 13s ease-in-out infinite alternate;
}

.cinematic-slider .slide-content {
  left: clamp(28px, 7vw, 164px);
  right: auto;
  bottom: clamp(280px, 30vh, 360px);
  z-index: 3;
  width: min(760px, calc(100vw - 68px));
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-slide .slide-content > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-slide.is-active .slide-content > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-slide.is-active .slide-content > :nth-child(2) {
  transition-delay: 100ms;
}

.hero-slide.is-active .slide-content > :nth-child(3) {
  transition-delay: 180ms;
}

.hero-slide.is-active .slide-content > :nth-child(4) {
  transition-delay: 250ms;
}

.hero-slide.is-active .slide-content > :nth-child(5) {
  transition-delay: 320ms;
}

.slide-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.cinematic-title {
  max-width: 10ch;
  color: #ffffff;
  font-size: clamp(3rem, 6.8vw, 6.4rem);
  line-height: 0.94;
  text-shadow: 0 16px 40px rgba(8, 20, 54, 0.4);
}

.cinematic-title::after {
  content: "";
  display: block;
  width: clamp(128px, 17vw, 240px);
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6e8bf, #d4a63a);
  box-shadow: 0 12px 28px rgba(212, 166, 58, 0.3);
}

.cinematic-slider .slide-content p {
  max-width: 34ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.slide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.slide-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff8fb;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button-hero-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.button-hero-secondary:hover,
.button-hero-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-help-row {
  left: clamp(28px, 7vw, 164px);
  bottom: clamp(220px, 22vh, 272px);
  z-index: 4;
  gap: 16px;
}

.hero-help-row p {
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 700;
}

.hero-help-icon {
  width: 58px;
  height: 58px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.cinematic-slider .slider-footer {
  left: 24px;
  right: 24px;
  bottom: clamp(214px, 22vh, 266px);
  z-index: 4;
  width: auto;
  justify-content: space-between;
}

.slider-button {
  min-width: 104px;
  min-height: 46px;
  color: var(--navy-strong);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: 0 14px 30px rgba(8, 20, 54, 0.14);
}

.slider-dot {
  width: 13px;
  height: 13px;
  background: rgba(255, 255, 255, 0.28);
}

.slider-dot.is-active {
  background: #ffffff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.16);
}

.hero-feature-rack {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 360px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto 42px;
  transform: none;
}

.hero-feature-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 26px 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(22, 63, 150, 0.1);
  box-shadow: 0 22px 46px rgba(12, 35, 88, 0.16);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-feature-card:hover,
.hero-feature-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(212, 166, 58, 0.32);
  box-shadow: 0 30px 56px rgba(12, 35, 88, 0.22);
}

.hero-feature-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 32px;
  background: radial-gradient(circle at center, rgba(212, 166, 58, 0.14), transparent 68%);
}

.hero-feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--navy);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  background: rgba(212, 166, 58, 0.12);
  border: 1px solid rgba(212, 166, 58, 0.24);
}

.hero-feature-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.24rem, 1.8vw, 1.58rem);
}

.hero-feature-card p {
  margin: 0;
  color: #4b4c57;
  line-height: 1.74;
}

.hero-feature-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.kinetic-showcase {
  position: relative;
  z-index: 3;
  padding: 42px 0 54px;
  background:
    radial-gradient(circle at top right, rgba(212, 166, 58, 0.2), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #eff4ff 100%);
}

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

.admissions-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.admission-tier-card {
  overflow: hidden;
  border-radius: 24px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.admission-tier-card:hover,
.admission-tier-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 30px 56px rgba(12, 35, 88, 0.2);
}

.admission-tier-media {
  padding: 12px 12px 0;
}

.admission-tier-media img {
  width: 100%;
  height: clamp(220px, 21vw, 270px);
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  background: #f3f7ff;
}

.admission-tier-copy {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
}

.admission-tier-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.34rem, 2vw, 1.8rem);
}

.admission-tier-copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.68;
}

.admission-tier-copy a {
  display: inline-flex;
  width: fit-content;
  color: var(--blue);
  font-weight: 800;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 28px;
}

.section-heading-split p:last-child {
  margin-bottom: 4px;
}

.kinetic-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin-top: 30px;
}

.kinetic-copy,
.kinetic-mini-card,
.kinetic-note,
.kinetic-contact-card {
  border-radius: 28px;
}

.kinetic-copy {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.kinetic-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #b48718;
  background: rgba(212, 166, 58, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kinetic-copy h3,
.kinetic-mini-card h3,
.kinetic-contact-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.kinetic-copy h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  line-height: 1.05;
}

.kinetic-copy p,
.kinetic-mini-card p,
.kinetic-note p,
.kinetic-contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.kinetic-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kinetic-metrics div {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 59, 52, 0.08);
}

.kinetic-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
}

.kinetic-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.kinetic-collage {
  position: relative;
  min-height: 620px;
}

.kinetic-photo,
.kinetic-note {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(28, 22, 30, 0.16);
}

.kinetic-photo {
  border-radius: 30px;
  background: #ffffff;
}

.kinetic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kinetic-photo-large {
  top: 0;
  left: 0;
  width: min(100%, 440px);
  height: 520px;
}

.kinetic-photo-small {
  right: 0;
  bottom: 48px;
  width: min(54%, 260px);
  height: 220px;
}

.kinetic-note {
  right: 54px;
  top: 64px;
  width: min(54%, 270px);
  padding: 22px;
  background: rgba(255, 252, 253, 0.9);
}

.kinetic-note strong {
  display: block;
  margin-bottom: 10px;
  color: #8d1436;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.kinetic-aside {
  display: grid;
  gap: 18px;
}

.kinetic-mini-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.kinetic-mini-card span {
  color: #9c1a42;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.landing-marquee-shell {
  margin-top: 34px;
  overflow: hidden;
  padding: 10px 0;
}

.landing-marquee-shell-reverse {
  margin-top: 12px;
}

.landing-marquee-track {
  gap: 18px;
  animation-duration: 32s;
}

.landing-marquee-card {
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(24, 18, 20, 0.14);
}

.landing-marquee-card img {
  height: clamp(200px, 18vw, 270px);
}

.kinetic-contact-row {
  margin-top: 32px;
}

.kinetic-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
}

.kinetic-contact-card h3 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.15;
}

.kinetic-contact-card .contact-inline {
  margin-top: 0;
}

@keyframes heroImageFloat {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0, -14px, 0);
  }
}

.cinematic-slider .hero-slide video {
  object-fit: fill;
  object-position: center center;
  transform: none;
  animation: none;
  background: transparent;
  will-change: auto;
}

.cinematic-slider .hero-slide.is-active video {
  transform: none;
  animation: none;
}

@media (max-width: 1180px) {
  .hero {
    min-height: 980px;
  }

  .hero,
  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 980px;
  }

  .hero-float-badge {
    min-width: 200px;
    padding: 14px 16px;
  }

  .cinematic-slider .slide-content {
    bottom: 330px;
    width: min(640px, calc(100vw - 56px));
  }

  .hero-help-row {
    bottom: 254px;
  }

  .cinematic-slider .slider-footer {
    bottom: 286px;
  }

  .hero-feature-rack {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    margin-bottom: 30px;
  }

  .kinetic-grid {
    grid-template-columns: 1fr;
  }

  .admissions-stage-grid {
    grid-template-columns: 1fr;
  }

  .kinetic-collage {
    min-height: 560px;
    max-width: 640px;
  }

  .kinetic-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 1080px;
  }

  .hero,
  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 1080px;
  }

  .hero-float-badge {
    transform: scale(0.8);
  }

  .cinematic-slider .slide-content {
    left: 22px;
    bottom: 424px;
    width: calc(100vw - 44px);
  }

  .cinematic-title {
    max-width: 8ch;
    font-size: clamp(2.35rem, 10vw, 4.4rem);
  }

  .cinematic-slider .slide-content p {
    max-width: 30ch;
  }

  .slide-actions {
    gap: 10px;
  }

  .slide-actions .button {
    min-width: 0;
    width: auto;
  }

  .hero-help-row {
    left: 22px;
    bottom: 342px;
  }

  .cinematic-slider .slider-footer {
    left: 16px;
    right: 16px;
    bottom: 392px;
  }

  .hero-feature-rack {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kinetic-showcase {
    padding-top: 30px;
  }

  .admission-tier-media img {
    height: clamp(220px, 44vw, 280px);
  }

  .kinetic-collage {
    min-height: 520px;
  }

  .kinetic-photo-large {
    width: min(100%, 420px);
    height: 420px;
  }

  .kinetic-photo-small {
    width: min(58%, 220px);
    height: 180px;
  }

  .kinetic-note {
    right: 22px;
    top: 22px;
    width: min(56%, 250px);
  }

  .kinetic-aside {
    grid-template-columns: 1fr;
  }

  .kinetic-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: 1040px;
  }

  .hero,
  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: 1040px;
  }

  .cinematic-slider .slide-content {
    left: 16px;
    bottom: 444px;
    width: calc(100vw - 32px);
  }

  .cinematic-title {
    font-size: 2rem;
    line-height: 1.02;
  }

  .cinematic-title::after {
    height: 6px;
  }

  .cinematic-slider .slide-content p {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  .slide-facts {
    gap: 8px;
    margin-top: 14px;
  }

  .slide-facts span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slide-actions .button {
    width: 100%;
  }

  .hero-help-row {
    left: 16px;
    bottom: 360px;
    gap: 12px;
  }

  .hero-help-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .hero-help-row p {
    font-size: 0.94rem;
  }

  .cinematic-slider .slider-footer {
    left: 12px;
    right: 12px;
    bottom: 440px;
  }

  .slider-button {
    min-width: 76px;
    min-height: 40px;
  }

  .hero-feature-card {
    padding: 20px;
  }

  .kinetic-copy {
    padding: 24px;
  }

  .kinetic-metrics {
    grid-template-columns: 1fr;
  }

  .kinetic-collage {
    min-height: 440px;
  }

  .kinetic-photo-large {
    width: 100%;
    height: 320px;
  }

  .kinetic-photo-small {
    right: 12px;
    bottom: 10px;
    width: 42%;
    height: 130px;
  }

  .kinetic-note {
    left: 16px;
    right: auto;
    top: 16px;
    width: min(72%, 220px);
    padding: 18px;
  }

  .landing-marquee-shell {
    margin-top: 24px;
  }

  .landing-marquee-track {
    gap: 12px;
    animation-duration: 24s;
  }

  .landing-marquee-card {
    border-radius: 20px;
  }

  .landing-marquee-card img {
    height: 160px;
  }

  .kinetic-contact-card {
    padding: 22px 20px;
  }
}

video {
  display: block;
  max-width: 100%;
}

.hero-slide-elevation video {
  filter: saturate(1.02) contrast(1.04);
}

.hero-slide-elevation {
  background:
    linear-gradient(180deg, rgba(8, 20, 54, 0.06), rgba(8, 20, 54, 0.16)),
    url("assets/school latest image.png") center / cover no-repeat;
}

.hero-slide-elevation .cinematic-title {
  max-width: 11ch;
}

.hero-grid > *,
.page-hero-grid > *,
.split-grid > *,
.split-feature > *,
.enquiry-grid > *,
.contact-grid > *,
.admissions-grid > *,
.footer-grid > *,
.section-heading-split > *,
.admission-banner > *,
.kinetic-grid > * {
  min-width: 0;
}

.button,
.site-nav a,
.contact-link {
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .section {
    padding: 76px 0;
  }

  .page-hero,
  .kinetic-showcase {
    padding-top: 52px;
  }

  .page-hero-grid,
  .contact-grid,
  .enquiry-grid,
  .footer-grid,
  .admissions-grid,
  .split-feature,
  .split-feature-reverse,
  .admission-banner,
  .program-grid {
    gap: 22px;
  }

  .admission-banner {
    grid-template-columns: 1fr;
  }

  .admission-banner-card,
  .enquiry-panel,
  .enquiry-info,
  .feature-panel,
  .program-card,
  .contact-card,
  .admission-card,
  .admission-side {
    padding: 24px;
  }

  .page-hero-visual img,
  .feature-media img,
  .admission-banner-media img,
  .gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
  }

  .chat-panel {
    width: min(420px, calc(100vw - 24px));
  }

  .contact-map-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .site-nav {
    max-height: calc(100svh - 110px);
    overflow-y: auto;
  }

  .hero {
    min-height: clamp(820px, 100svh, 940px);
  }

  .hero,
  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: inherit;
  }

  .cinematic-slider .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(8, 20, 54, 0.12) 0%, rgba(8, 20, 54, 0.34) 38%, rgba(8, 20, 54, 0.88) 100%),
      linear-gradient(90deg, rgba(8, 20, 54, 0.3) 0%, rgba(8, 20, 54, 0.05) 50%, rgba(8, 20, 54, 0.56) 100%);
  }

  .cinematic-slider .slide-content {
    left: 20px;
    right: 20px;
    bottom: 196px;
    width: auto;
  }

  .cinematic-title {
    max-width: 9ch;
  }

  .cinematic-slider .slide-content p {
    max-width: 34ch;
  }

  .hero-help-row {
    left: 20px;
    right: 20px;
    bottom: 114px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
  }

  .cinematic-slider .slider-footer {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .kinetic-collage {
    min-height: 460px;
  }

  .kinetic-photo-large {
    width: calc(100% - 48px);
    height: 360px;
  }

  .kinetic-photo-small {
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 580px) {
  :root {
    --container: min(100vw - 20px, 1120px);
  }

  .topbar-track {
    gap: 20px;
    padding: 7px 0;
  }

  .topbar-track span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-copy span {
    font-size: 0.82rem;
  }

  .brand-copy small {
    font-size: 0.69rem;
  }

  .site-nav {
    left: 10px;
    right: 10px;
  }

  .hero {
    min-height: clamp(760px, 100svh, 860px);
  }

  .hero,
  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: inherit;
  }

  .cinematic-slider .slide-content {
    left: 14px;
    right: 14px;
    bottom: 198px;
  }

  .slide-kicker {
    margin-bottom: 12px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: none;
    font-size: clamp(1.95rem, 8.2vw, 2.8rem);
  }

  .cinematic-slider .slide-content p {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .slide-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slide-facts span {
    justify-content: center;
    text-align: center;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slide-actions .button,
  .hero-actions .button,
  .form-actions .button,
  .button-block {
    justify-content: center;
  }


  .hero-help-row {
    left: 14px;
    right: 14px;
    bottom: 118px;
    gap: 10px;
    align-items: center;
  }

  .hero-help-row p {
    line-height: 1.45;
  }

  /* Cinematic slider footer — layout handled by responsive.css */
  .cinematic-slider .slider-footer {
    /* Grid layout removed — responsive.css uses centered flex pill design */
  }


  .slider-button {
    width: 100%;
  }

  .section,
  .page-hero,
  .kinetic-showcase {
    padding: 64px 0;
  }

  .page-title {
    line-height: 1.08;
  }

  .lead,
  .feature-list li,
  .program-card p,
  .contact-card p,
  .admission-tier-copy p,
  .mini-card span,
  .form-note {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-pills,
  .field-grid,
  .kinetic-metrics {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .kinetic-contact-card,
  .footer-grid {
    gap: 16px;
  }

  .gallery-caption,
  .feature-panel,
  .enquiry-panel,
  .contact-card,
  .program-card,
  .admission-card,
  .admission-side,
  .kinetic-copy,
  .kinetic-mini-card,
  .kinetic-note {
    padding-inline: 18px;
  }

  .chat-widget {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  .chat-launcher {
    width: 100%;
    justify-content: space-between;
  }

  .chat-panel {
    width: calc(100vw - 20px);
    max-height: min(76vh, 620px);
  }
}

@media (max-width: 390px) {
  .brand-copy span {
    font-size: 0.76rem;
  }

  .brand-copy small {
    font-size: 0.65rem;
  }

  .cinematic-slider .slide-content {
    bottom: 206px;
  }

  .slide-facts {
    grid-template-columns: 1fr;
  }

  .hero-help-row {
    bottom: 126px;
  }

  .hero-help-icon {
    width: 42px;
    height: 42px;
  }

  .cinematic-slider .slider-footer {
    bottom: 14px;
  }

  .page-title {
    font-size: clamp(1.8rem, 8.6vw, 2.3rem);
  }
}

@media (max-width: 840px) {
  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .hero::after {
    display: none;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell {
    min-height: 0;
  }

  .cinematic-slider .slider-shell {
    display: grid;
    gap: 14px;
    overflow: visible;
    background: transparent;
  }

  .cinematic-slider .slider-viewport {
    min-height: clamp(380px, 62svh, 520px);
    height: clamp(380px, 62svh, 520px);
  }

  .cinematic-slider .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(8, 20, 54, 0.12) 0%, rgba(8, 20, 54, 0.28) 34%, rgba(8, 20, 54, 0.8) 100%),
      linear-gradient(90deg, rgba(8, 20, 54, 0.28) 0%, rgba(8, 20, 54, 0.08) 48%, rgba(8, 20, 54, 0.46) 100%);
  }

  .cinematic-slider .slide-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    padding: 16px 16px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 20, 54, 0.68), rgba(8, 20, 54, 0.88));
    box-shadow: 0 18px 42px rgba(8, 20, 54, 0.28);
    backdrop-filter: blur(14px);
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: 10ch;
    font-size: clamp(2.1rem, 7.8vw, 3.5rem);
  }

  .cinematic-slider .slide-content p {
    max-width: none;
  }

  .hero-help-row {
    position: static;
    margin: 0 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
  }

  .hero-help-row p {
    color: var(--navy-strong);
    font-size: 0.95rem;
  }

  .hero-help-icon {
    width: 44px;
    height: 44px;
    color: var(--navy);
    border-color: rgba(22, 63, 150, 0.18);
    background: rgba(22, 63, 150, 0.06);
    box-shadow: none;
  }

  .cinematic-slider .slider-footer {
    position: static;
    width: auto;
    margin: 0 16px;
    padding: 0;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-bottom: 20px;
  }

  .cinematic-slider .slider-viewport {
    min-height: 420px;
    height: 420px;
  }

  .cinematic-slider .slide-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 14px 16px;
    border-radius: 22px;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .slide-kicker {
    font-size: 0.74rem;
  }

  .hero-help-row {
    margin: 0 10px;
    gap: 10px;
  }

  .hero-help-row p {
    font-size: 0.88rem;
  }

  .cinematic-slider .slider-footer {
    margin: 0 10px;
  }
}

@media (max-width: 390px) {
  .cinematic-slider .slider-viewport {
    min-height: 390px;
    height: 390px;
  }

  .cinematic-slider .slide-content {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    font-size: clamp(1.7rem, 8.6vw, 2.15rem);
  }

  .hero-help-row {
    margin: 0 8px;
  }

  .cinematic-slider .slider-footer {
    margin: 0 8px;
  }
}

@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(22, 63, 150, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 60;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (min-width: 1241px) and (max-height: 820px) {
  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    font-size: 0.88rem;
    padding: 8px 8px;
  }

  .nav-cta {
    padding: 10px 14px;
  }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .hero-feature-rack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, calc(100vw - 32px));
  }
}

@media (min-width: 1024px) and (max-width: 1440px) and (max-height: 820px) {
  .section {
    padding: 64px 0;
  }

  .topbar-track span {
    font-size: 0.72rem;
  }

  .nav-wrap {
    min-height: 58px;
    padding: 7px 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-copy span {
    font-size: 0.84rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .hero {
    padding-bottom: 20px;
  }

  .cinematic-slider .slider-viewport {
    min-height: clamp(320px, 54svh, 470px);
    height: clamp(320px, 54svh, 470px);
  }

  .cinematic-slider .slide-content {
    left: 18px;
    width: min(430px, calc(100vw - 52px));
    padding: 14px 14px 16px;
    border-radius: 22px;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: 8ch;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
  }

  .cinematic-title::after {
    height: 6px;
    margin-top: 10px;
  }

  .cinematic-slider .slide-content p {
    max-width: 30ch;
    margin-top: 14px;
    font-size: 0.9rem;
  }

  .slide-facts {
    gap: 8px;
    margin-top: 14px;
  }

  .slide-facts span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .slide-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .slide-actions .button {
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero-help-row {
    margin: 0 18px;
    padding: 10px 14px;
  }

  .hero-help-row p {
    font-size: 0.9rem;
  }

  .cinematic-slider .slider-footer {
    margin: 0 18px;
  }

  .slider-button {
    min-width: 88px;
    min-height: 38px;
    font-size: 0.84rem;
  }

  .hero-feature-rack {
    gap: 16px;
    margin-bottom: 20px;
  }

  .hero-feature-card {
    padding: 20px;
  }
}

@media (max-height: 820px) {
  .section {
    padding: 72px 0;
  }

  .topbar-track {
    padding: 6px 0;
  }

  .nav-wrap {
    min-height: 60px;
    padding: 8px 0;
  }

  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .hero::after {
    display: none;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell {
    min-height: 0;
  }

  .cinematic-slider .slider-shell {
    display: grid;
    gap: 16px;
    overflow: visible;
    background: transparent;
  }

  .cinematic-slider .slider-viewport {
    min-height: clamp(360px, 58svh, 540px);
    height: clamp(360px, 58svh, 540px);
  }

  .cinematic-slider .slide-content {
    left: clamp(16px, 3vw, 34px);
    right: auto;
    bottom: 18px;
    width: min(520px, calc(100vw - 48px));
    padding: 18px 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 20, 54, 0.7), rgba(8, 20, 54, 0.9));
    box-shadow: 0 18px 42px rgba(8, 20, 54, 0.26);
    backdrop-filter: blur(14px);
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: 9ch;
    font-size: clamp(2rem, 4vw, 4rem);
  }

  .cinematic-slider .slide-content p {
    max-width: 34ch;
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-help-row {
    position: static;
    margin: 0 clamp(16px, 3vw, 24px);
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
  }

  .hero-help-row p {
    color: var(--navy-strong);
  }

  .hero-help-icon {
    width: 44px;
    height: 44px;
    color: var(--navy);
    border-color: rgba(22, 63, 150, 0.18);
    background: rgba(22, 63, 150, 0.06);
    box-shadow: none;
  }

  .cinematic-slider .slider-footer {
    position: static;
    width: auto;
    margin: 0 clamp(16px, 3vw, 24px);
    padding: 0;
  }

  .hero-feature-rack {
    width: min(1180px, calc(100vw - 40px));
    margin-bottom: 24px;
  }
}

@media (max-height: 720px) {
  .topbar-track span {
    font-size: 0.72rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-copy span {
    font-size: 0.84rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .cinematic-slider .slider-viewport {
    min-height: clamp(320px, 54svh, 460px);
    height: clamp(320px, 54svh, 460px);
  }

  .cinematic-slider .slide-content {
    bottom: 14px;
    width: min(460px, calc(100vw - 40px));
    padding: 14px 14px 16px;
    border-radius: 22px;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    font-size: clamp(1.8rem, 3.1vw, 3rem);
  }

  .cinematic-title::after {
    height: 6px;
    margin-top: 10px;
  }

  .cinematic-slider .slide-content p {
    font-size: 0.9rem;
  }

  .hero-help-row {
    margin: 0 16px;
  }

  .cinematic-slider .slider-footer {
    margin: 0 16px;
  }
}

@media (max-height: 640px) {
  .topbar-track {
    padding: 5px 0;
  }

  .topbar-track span {
    font-size: 0.66rem;
  }

  .nav-wrap {
    min-height: 56px;
    padding: 6px 0;
  }

  .cinematic-slider .slider-viewport {
    min-height: 300px;
    height: 300px;
  }

  .cinematic-slider .slide-content {
    width: min(420px, calc(100vw - 36px));
    padding: 12px 12px 14px;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  }

  .slide-kicker {
    margin-bottom: 10px;
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .slide-facts {
    gap: 8px;
    margin-top: 12px;
  }

  .slide-facts span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .slide-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-help-row,
  .cinematic-slider .slider-footer {
    margin-inline: 12px;
  }
}

@media (min-width: 1260px) and (max-width: 1440px) and (min-height: 721px) and (max-height: 820px) {
  .hero {
    background: linear-gradient(180deg, #f7faff 0%, #eef3ff 100%);
    padding-bottom: 16px;
  }

  .hero-orb {
    opacity: 0.55;
  }

  .cinematic-slider .slider-shell {
    background: transparent;
    gap: 12px;
  }

  .cinematic-slider .slider-viewport {
    min-height: 420px;
    height: 420px;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(12, 35, 88, 0.12);
  }

  .cinematic-slider .hero-slide::before {
    background:
      radial-gradient(circle at 30% 32%, rgba(246, 232, 191, 0.08), transparent 22%),
      radial-gradient(circle at 76% 24%, rgba(65, 105, 225, 0.08), transparent 22%);
  }

  .cinematic-slider .hero-slide::after {
    background:
      linear-gradient(90deg, rgba(8, 20, 54, 0.22) 0%, rgba(8, 20, 54, 0.08) 32%, rgba(8, 20, 54, 0.08) 68%, rgba(8, 20, 54, 0.28) 100%),
      linear-gradient(180deg, rgba(8, 20, 54, 0.06) 0%, rgba(8, 20, 54, 0.12) 48%, rgba(8, 20, 54, 0.34) 100%);
  }

  .cinematic-slider .hero-slide img,
  .cinematic-slider .hero-slide video {
    object-position: center 38%;
  }

  .cinematic-slider .slide-content {
    top: 50%;
    bottom: auto;
    left: 22px;
    transform: translateY(-50%);
    width: min(360px, calc(100vw - 64px));
    padding: 20px 20px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 29, 93, 0.9), rgba(15, 38, 112, 0.84));
    box-shadow: 0 18px 40px rgba(8, 20, 54, 0.24);
    backdrop-filter: blur(12px);
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: 7ch;
    font-size: clamp(1.95rem, 3vw, 2.9rem);
    line-height: 0.96;
  }

  .cinematic-title::after {
    width: 124px;
    margin-top: 12px;
  }

  .cinematic-slider .slide-content p {
    max-width: 28ch;
    margin-top: 14px;
    font-size: 0.9rem;
  }

  .slide-facts {
    gap: 8px;
    margin-top: 14px;
  }

  .slide-facts span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .slide-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .slide-actions .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero-help-row {
    margin: 0 0 0 22px;
    width: fit-content;
    max-width: calc(100vw - 64px);
    padding: 10px 14px;
  }

  .hero-help-row p {
    font-size: 0.84rem;
  }

  .cinematic-slider .slider-footer {
    margin: 0 22px;
    width: 360px;
    max-width: calc(100vw - 64px);
  }

  .slider-button {
    min-width: 80px;
    min-height: 36px;
    font-size: 0.8rem;
  }

  .slider-dot {
    width: 11px;
    height: 11px;
  }

  .hero-feature-rack {
    gap: 14px;
    margin-bottom: 14px;
  }

  .hero-feature-card {
    padding: 18px;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(6px, 0.9vw, 14px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .site-nav a {
    font-size: clamp(0.82rem, 0.76rem + 0.18vw, 0.95rem);
    padding: 8px clamp(6px, 0.7vw, 10px);
  }

  .nav-cta {
    padding: 10px 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: clamp(700px, calc(100svh - 92px), 980px);
    padding: 0;
    background:
      radial-gradient(circle at 18% 24%, rgba(212, 166, 58, 0.22), transparent 18%),
      radial-gradient(circle at 82% 20%, rgba(65, 105, 225, 0.18), transparent 20%),
      linear-gradient(180deg, #0c2358 0%, #163f96 34%, #eef3ff 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-grid,
  .hero-stage,
  .cinematic-slider,
  .cinematic-slider .slider-shell,
  .cinematic-slider .slider-viewport {
    min-height: inherit;
  }

  .cinematic-slider .slider-shell {
    display: block;
    overflow: hidden;
    background: #0c2358;
  }

  .cinematic-slider .slider-viewport {
    height: auto;
  }

  .cinematic-slider .hero-slide::before {
    background:
      radial-gradient(circle at 26% 36%, rgba(246, 232, 191, 0.08), transparent 20%),
      radial-gradient(circle at 76% 24%, rgba(65, 105, 225, 0.08), transparent 18%);
  }

  .cinematic-slider .hero-slide::after {
    background:
      linear-gradient(90deg, rgba(8, 20, 54, 0.42) 0%, rgba(8, 20, 54, 0.18) 25%, rgba(8, 20, 54, 0.08) 54%, rgba(8, 20, 54, 0.3) 100%),
      linear-gradient(180deg, rgba(8, 20, 54, 0.08) 0%, rgba(8, 20, 54, 0.04) 40%, rgba(8, 20, 54, 0.24) 100%);
  }

  .cinematic-slider .hero-slide img,
  .cinematic-slider .hero-slide video {
    object-position: center center;
  }

  .cinematic-slider .slide-content {
    top: auto;
    left: clamp(28px, 7vw, 128px);
    right: auto;
    bottom: clamp(142px, 16vh, 206px);
    transform: none;
    width: min(620px, calc(100% - 88px));
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .cinematic-title,
  .hero-slide-elevation .cinematic-title {
    max-width: 8.5ch;
    font-size: clamp(2.5rem, 4.9vw, 5.4rem);
    line-height: 0.94;
  }

  .hero-slide-elevation .slide-content {
    width: min(540px, calc(100% - 88px));
  }

  .hero-slide-elevation .cinematic-title {
    max-width: 7.2ch;
    font-size: clamp(2.2rem, 4.1vw, 4.4rem);
  }

  .hero-slide-elevation .slide-content p {
    max-width: 30ch;
  }

  .cinematic-slider .slide-content p {
    max-width: 34ch;
    margin-top: 20px;
    font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  }

  .slide-facts {
    gap: 10px;
    margin-top: 18px;
  }

  .slide-facts span {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .slide-actions {
    gap: 14px;
    margin-top: 24px;
  }

  .slide-actions .button {
    min-height: 46px;
  }

  .hero-help-row {
    position: absolute;
    left: clamp(28px, 7vw, 128px);
    right: auto;
    bottom: clamp(76px, 8.5vh, 122px);
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .hero-help-row p {
    color: #ffffff;
    font-size: clamp(0.94rem, 1vw, 1.08rem);
  }

  .hero-help-icon {
    width: 54px;
    height: 54px;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  }

  .cinematic-slider .slider-footer {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: clamp(34px, 4.8vh, 66px);
    width: auto;
    margin: 0;
    padding: 0;
  }

  .slider-button {
    min-width: 96px;
    min-height: 42px;
    font-size: 0.92rem;
  }

  .hero-feature-rack {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 34px;
  }
}

@media (min-width: 1280px) and (max-width: 1680px) and (max-height: 950px) {
  .cinematic-slider .slide-content {
    left: clamp(34px, 6vw, 92px);
    bottom: clamp(104px, 12vh, 154px);
    width: min(560px, calc(100% - 96px));
  }

  .cinematic-title {
    max-width: 9ch;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
  }

  .hero-slide-elevation .slide-content {
    width: min(600px, calc(100% - 96px));
  }

  .hero-slide-elevation .cinematic-title {
    max-width: 9.2ch;
    font-size: clamp(2.05rem, 3.5vw, 3.8rem);
    line-height: 0.96;
  }

  .hero-slide-elevation .cinematic-title::after {
    width: clamp(108px, 10vw, 170px);
  }

  .hero-slide-elevation .slide-content p {
    max-width: 34ch;
    font-size: clamp(0.94rem, 0.95vw, 1.04rem);
  }

  .hero-help-row {
    left: clamp(34px, 6vw, 92px);
    bottom: clamp(56px, 7vh, 92px);
  }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .topbar-track,
  .landing-marquee-track,
  .cinematic-slider .hero-slide img,
  .cinematic-slider .hero-slide video {
    animation: none !important;
  }

  [data-parallax],
  [data-parallax]:not(.reveal),
  .reveal,
  .reveal[data-parallax] {
    transform: none !important;
    transition: none !important;
  }
}
