/* ==========================================================================
   Gyansarover International School — Design Tokens
   ========================================================================== */
:root {
  /* Typography */
  --font-family-primary: "Poppins", sans-serif;
  --font-family-brand: "Playfair Display", Georgia, serif;
  --font-size-base: 16px;
  --font-weight-base: 400;
  --font-weight-heading: 600;
  --line-height-base: 1.3;

  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;

  /* Brand palette from the provided design */
  --brand-orange: #e88e3e;
  --brand-rust: #b74f2c;
  --brand-navy: #31376d;
  --brand-green: #3f893b;
  --brand-deep-orange: #f25a22;
  --brand-peach: #c98b75;
  --brand-slate: #8188a9;
  --brand-mint: #c5e6c2;
  --brand-olive: #61935f;

  /* Color */
  --color-surface-base: #ffffff;
  --color-surface-muted: #31376d;
  --color-surface-raised: #d2d2d2;
  --color-text-tertiary: #ffffff;
  --color-text-primary: #31376d;
  --color-text-secondary: #1e1e1e;
  --color-error: #b74f2c;
  --color-error-on-light: #b74f2c;
  --color-focus-ring: #e88e3e;

  /* Header (white header, per reference design) */
  --header-bg: #ffffff;
  --header-border: #eeeeee;
  --header-text: #09224c;
  --header-accent: #e88e3e;
  --header-subtitle: #09224c;
  --header-icon-bg: #e88e3e;
  --header-icon-fg: #ffffff;
  --announcement-bg: #f3e3d7;
  --announcement-border: #e88e3e;
  --announcement-text: #31376d;
  --announcement-dot: #b74f2c;

  --gis-navy: #31376d;
  --gis-blue: #31376d;
  --gis-orange: #e88e3e;
  --gis-red: #b74f2c;
  --gis-royal: #31376d;
  --gis-ink: #31376d;
  --gis-green: #3f893b;
  --gis-green-soft: #61935f;
  --gis-mint: #c5e6c2;
  --gis-peach: #c98b75;
  --gis-lavender: #8188a9;
  --gis-deep-orange: #f25a22;
  --gis-sand: #c98b75;
  --gis-accent: #e88e3e;

  /* Spacing */
  --space-1: 3px;
  --space-2: 4px;
  --space-3: 5px;
  --space-4: 6px;
  --space-5: 8px;
  --space-6: 10px;
  --space-7: 14px;
  --space-8: 15px;
  --space-9: 24px;
  --space-10: 32px;
  --space-11: 48px;
  --space-12: 64px;

  /* Radius / shadow / motion */
  --radius-xs: 4px;
  --radius-full: 100px;
  --shadow-1: rgba(0, 0, 0, 0.35) 0px 4px 16px 0px;
  --motion-instant: 200ms;
  --motion-fast: 300ms;
  --motion-normal: 500ms;

  --max-width: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-instant: 0ms;
    --motion-fast: 0ms;
    --motion-normal: 0ms;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  background: var(--color-surface-base);
  color: var(--color-text-tertiary);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: var(--font-weight-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-9);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin: 0 0 var(--space-9);
  max-width: 70ch;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-9);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-surface-muted);
  color: var(--color-text-tertiary);
  padding: var(--space-6) var(--space-9);
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-9);
  top: var(--space-9);
}

/* ==========================================================================
   Header / Navigation — reference-style white header
   ========================================================================== */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  font-family: var(--font-family-primary);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-9);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Brand: logo + two-tone name + subtitle */
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.nav__brand-logo {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: auto;
  background-image: none;    
  background-color: transparent;
}

.nav__brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.nav__brand-name {
  display: block;
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  letter-spacing: 0.005em;
  line-height: 1.0;
  color: var(--header-text);
  white-space: nowrap;
}

.brand-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-s {
  display: inline-block;
  width: 0.52em;
  height: 0.78em;
  margin: 0 0.02em;
  vertical-align: baseline;
}

.brand-s svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nav__brand-name--accent {
  color: var(--header-accent);
}

.nav__brand-name--school {
  color: var(--brand-green);
}

.nav__brand-subtitle {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--header-subtitle);
  white-space: nowrap;
}

/* Right-hand cluster: nav, info icon, search icon */
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.2rem;
}

.nav__item {
  display: flex;
  align-items: center;
}

.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--header-text);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: color var(--motion-fast) ease;
  white-space: nowrap;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--header-accent);
}

/* ---------- Dropdown menus (About Us / Academics / Gallery / Student Life) ---------- */
.nav__item--dropdown {
  position: relative;
}

.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--header-text);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--motion-fast) ease;
}

.nav__drop-btn::after {
  content: "▾";
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform var(--motion-fast) ease;
}

.nav__drop-btn:hover,
.nav__drop-btn.is-current,
.nav__drop-btn[aria-expanded="true"] {
  color: var(--header-accent);
}

.nav__drop-btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  list-style: none;
  margin: 14px 0 0;
  padding: 0.4rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--header-border);
  border-top: 3px solid var(--brand-orange);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-1);
  z-index: 70;
}

/* invisible bridge so hover does not break in the gap */
.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -17px;
  height: 17px;
}

/* last dropdowns open towards the left so they never overflow the screen */
.nav__item--dropdown:nth-last-child(-n+3) .nav__dropdown {
  left: auto;
  right: 0;
}

.nav__dropdown.is-open {
  display: block;
}

.nav__dropdown a {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.nav__dropdown a:hover,
.nav__dropdown a[aria-current="page"] {
  background: var(--announcement-bg);
}

.nav__list a[aria-current="page"],
.nav__drop-btn.is-current {
  color: #8a6500;
}

/* Small square orange icon buttons: info / search */
.nav__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--header-icon-bg);
  color: var(--header-icon-fg);
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.nav__icon-btn:hover {
  opacity: 0.88;
}

.nav__icon-btn:active {
  transform: scale(0.96);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  height: 44px;
  padding: 0 var(--space-9);
  background: var(--header-accent);
  border: none;
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav__toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
}

.nav__toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

/* Tablet & mobile: menu collapses into hamburger */
@media (max-width: 1100px) {
  .header__top {
    gap: 1rem;
    min-width: 0;
  }

  .header__actions {
    position: relative;
    min-width: 0;
    flex-shrink: 0;
  }

  .nav__brand {
    flex-shrink: 1;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--header-border);
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-1);
    padding: 0.75rem;
    z-index: 60;
    width: min(320px, calc(100vw - 3rem));
    min-width: 0;
    max-height: 75vh;
    overflow-y: auto;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav__item {
    width: 100%;
  }

  .nav__list a {
    width: 100%;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    white-space: normal;
  }

  /* Dropdowns inside the mobile menu */
  .nav__item--dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    white-space: normal;
  }

  .nav__dropdown {
    position: static;
    min-width: 0;
    margin: 0.25rem 0 0.25rem 0.4rem;
    padding: 0.2rem 0;
    border: none;
    border-left: 3px solid var(--brand-orange);
    border-radius: 0;
    box-shadow: none;
  }

  .nav__dropdown::before {
    display: none;
  }

  .nav__dropdown a {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  .header__top {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav__brand-logo {
    width: 58px;
    height: 58px;
  }

  .nav__brand-subtitle {
    display: none;
  }
}

@media (max-width: 520px) {
  .header__top {
    gap: 0.5rem;
  }

  .nav__brand {
    gap: 0.45rem;
  }

  .nav__brand-logo {
    width: 42px;
    height: 42px;
  }

  .nav__brand-name {
    font-size: 0.78rem;
  }

  .nav__info,
  .nav__search {
    display: none;
  }

  .nav__toggle {
    gap: 0.45rem;
    height: 42px;
    padding: 0 0.65rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .nav__brand-logo {
    width: 38px;
    height: 38px;
  }

  .nav__brand-name {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-height: 44px;
  padding: var(--space-6) var(--space-9);
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-heading);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.btn--primary {
  background: var(--color-surface-muted);
  color: var(--color-text-tertiary);
}

.btn--primary:hover {
  background: #0f3d8f;
}

.btn--primary:active {
  background: #06204f;
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-tertiary);
  border-color: var(--color-text-primary);
}

.btn--secondary:hover {
  border-color: var(--color-text-tertiary);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn.is-loading {
  opacity: 0.7;
  cursor: progress;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.notice-ticker {
  --notice-icon-width: 56px;
  display: flex;
  align-items: center;
  min-height: 48px;
  background: var(--announcement-bg);
  border-bottom: 1px solid rgba(183, 79, 44, 0.2);
  color: var(--announcement-text);
}

.notice-ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-right: 1.25rem;
}

.notice-ticker__track {
  display: flex;
  width: max-content;
  animation: noticeTickerScroll 38s linear infinite;
}

.notice-ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.notice-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding-right: 3.5rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.notice-ticker__item time {
  color: var(--brand-rust);
  font-size: 0.78rem;
  font-weight: 700;
}

.notice-ticker__item strong {
  color: var(--brand-navy);
  font-weight: 700;
}

.notice-ticker__icon {
  display: grid;
  flex: 0 0 var(--notice-icon-width);
  align-self: stretch;
  place-items: center;
  background: var(--brand-orange);
  color: #fff;
}

.notice-ticker:hover .notice-ticker__track,
.notice-ticker:focus-within .notice-ticker__track {
  animation-play-state: paused;
}

@keyframes noticeTickerScroll {
  from {
    transform: translateX(100vw);
  }

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

@media (max-width: 520px) {
  .notice-ticker {
    --notice-icon-width: 46px;
  }

  .notice-ticker__viewport {
    padding-right: 0.85rem;
  }

  .notice-ticker__item {
    gap: 0.4rem;
    padding-right: 2.5rem;
    font-size: 0.78rem;
  }
}

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

.school-spotlight {
  background: #efefef;
  padding: 0 0 2rem;
}

.school-spotlight__hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.school-spotlight__slides {
  position: absolute;
  inset: 0;
}

.school-spotlight__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18%);
  transition: transform 0.9s ease, opacity 0.9s ease;
  pointer-events: none;
}

.school-spotlight__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11, 33, 61, 0.25), rgba(11, 33, 61, 0.25));
  content: "";
}

.school-spotlight__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-spotlight__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.school-spotlight__hero-inner {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.school-spotlight__title-box {
  max-width: 860px;
  width: 100%;
  /* background: rgba(112, 137, 142, 0.56); */
  backdrop-filter: blur(2px);
  padding: 2.2rem 2rem 1.7rem;
  text-align: center;
  color: #f6d770;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.school-spotlight__controls {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}

.school-spotlight__arrow {
  border: none;
  background: rgba(255, 255, 255, 0.75);
  color: #0d2d64;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.school-spotlight__arrow:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.95);
}

.school-spotlight__dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.school-spotlight__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.school-spotlight__dot.is-active {
  background: #fff;
}

.school-spotlight__title-box h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
}

.school-spotlight__title-box p {
  margin: 0.7rem 0 0;
  font-size: clamp(0.9rem, 1.4vw, 1.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f2ee;
  font-weight: 600;
}

.school-spotlight__info {
  display: grid;
  grid-template-columns: 1.08fr 1.35fr;
  gap: 0;
  margin-top: -3.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 58, 124, 0.08);
  box-shadow: 0 14px 30px rgba(23, 42, 68, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.school-spotlight__image-panel {
  position: relative;
  min-width: 0;
  min-height: 430px;
  background: #f2f3ef;
}

.poster-carousel {
  overflow: hidden;
  isolation: isolate;
}

.poster-carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  transform: translateX(5%);
  transition: opacity 650ms ease, transform 650ms ease;
  pointer-events: none;
}

.poster-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.poster-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(24, 34, 48, 0.18));
}

.poster-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(18, 31, 48, 0.68);
  color: #fff;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.poster-carousel__arrow:hover {
  background: rgba(18, 31, 48, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.poster-carousel__arrow--prev { left: 1rem; }
.poster-carousel__arrow--next { right: 1rem; }

.poster-carousel__dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.poster-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(18, 31, 48, 0.42);
  cursor: pointer;
}

.poster-carousel__dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(18, 31, 48, 0.4);
}

.poster-carousel__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem;
  color: #555d68;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .poster-carousel__slide,
  .poster-carousel__arrow {
    transition: none;
  }
}

.school-spotlight__content {
  padding: 2.4rem 2.3rem 1.8rem;
  background: #f3f3f3;
}

.school-spotlight__content h2 {
  margin: 0 0 0.8rem;
  color: #0f2d63;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.school-spotlight__content p {
  margin: 0 0 2rem;
  max-width: 60ch;
  color: #2c3d57;
  font-size: 1.05rem;
  line-height: 1.7;
}

.school-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 1.1rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(15, 45, 99, 0.15);
  border-right: 1px solid rgba(15, 45, 99, 0.08);
}

.stat-card:nth-child(2n) {
  border-right: none;
}

.stat-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border: 2px solid rgba(15, 45, 99, 0.8);
  border-radius: 50%;
  color: #0f2d63;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.45);
}

.stat-card__value {
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f2d63;
}

.stat-card__label {
  margin-top: 0.25rem;
  color: #1e3b69;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

@media (max-width: 860px) {
  .school-spotlight__hero {
    min-height: 420px;
  }

  .school-spotlight__hero-inner {
    min-height: 420px;
  }

  .school-spotlight__title-box {
    padding: 1.5rem 1.2rem;
  }

  .school-spotlight__info {
    grid-template-columns: 1fr;
  }

  .school-spotlight__image-panel {
    min-height: 260px;
  }

  .school-spotlight__content {
    padding: 1.5rem 1.1rem 1.3rem;
  }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}

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

.card {
  background: var(--color-surface-muted);
  border-radius: var(--radius-xs);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: box-shadow var(--motion-fast) ease;
}

.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-1);
}

.card__title {
  font-size: var(--font-size-xl);
  margin: 0;
}

.card__body {
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__link {
  color: var(--color-text-tertiary);
  font-weight: var(--font-weight-heading);
  text-decoration: underline;
}

.card--light {
  background: var(--color-surface-raised);
  color: var(--color-text-secondary);
}

.card--light .card__body {
  color: var(--color-text-secondary);
}

/* News card with image */
.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface-base);
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.news-card__meta {
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  margin: 0;
}

/* ---------- News page ---------- */
.news-page {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  color: #09224c;
  background: linear-gradient(180deg, #fffaf4 0, #fff 34rem);
}

.news-page > .container {
  position: relative;
  z-index: 1;
}

.news-page__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 300px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.news-page__copy {
  max-width: 620px;
  animation: news-rise-in 650ms ease-out both;
}

.news-page__eyebrow {
  margin: 0 0 0.8rem;
  color: #b74f2c;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-page__copy h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #09224c;
  font-family: var(--font-family-brand);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
}

.news-page__lead {
  max-width: 48ch;
  margin: 0;
  color: #09224c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-page__visual {
  position: relative;
  width: min(100%, 420px);
  justify-self: end;
  aspect-ratio: 1.2;
  isolation: isolate;
  animation: news-rise-in 750ms 100ms ease-out both;
}

.news-page__visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% -5% -5% 12%;
  border-radius: 46% 54% 14px 14px;
  background: #f7d5b5;
  content: "";
  transform: rotate(3deg);
}

.news-page__visual img {
  width: 100%;
  height: 100%;
  border: 8px solid #fff;
  border-radius: 46% 46% 14px 14px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(49, 55, 109, 0.15);
}

.news-particle {
  position: absolute;
  z-index: 2;
  display: block;
  animation: news-float 4.8s ease-in-out infinite;
  pointer-events: none;
}

.news-particle--one,
.news-particle--three,
.news-particle--five {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e88e3e;
}

.news-particle--one { top: 12%; left: 2%; }
.news-particle--two { top: 18%; right: 3%; animation-delay: -1.2s; }
.news-particle--three { top: 55%; right: -4%; width: 9px; height: 9px; background: #3f893b; animation-delay: -2.3s; }
.news-particle--four { bottom: 4%; left: 11%; animation-delay: -0.7s; }
.news-particle--five { bottom: 25%; left: -5%; width: 8px; height: 8px; background: #b74f2c; animation-delay: -3s; }

.news-particle--two,
.news-particle--four {
  width: 18px;
  height: 18px;
  border: 3px solid #3f893b;
  border-radius: 50%;
}

.news-page__section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0 var(--space-9) 0.85rem;
  border-bottom: 1px solid #e6e5df;
}

.news-page__section-heading h2 {
  margin: 0;
  color: #09224c;
  font-family: var(--font-family-brand);
  font-size: 1.8rem;
}

.news-page__section-heading > span {
  color: #09224c;
  font-size: 0.9rem;
}

.news-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-story {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid #e7e5df;
  border-top: 3px solid var(--story-accent, #e88e3e);
  background: #fff;
  box-shadow: 0 8px 24px rgba(49, 55, 109, 0.055);
  animation: news-rise-in 550ms calc(var(--story-order, 0) * 90ms) ease-out both;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.news-story:nth-child(3n + 2) { --story-accent: #3f893b; }
.news-story:nth-child(3n) { --story-accent: #b74f2c; }

.news-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(49, 55, 109, 0.11);
}

.news-story__date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #09224c;
  font-size: 0.82rem;
  font-weight: 600;
}

.news-story__date svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--story-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.news-story h3 {
  margin: 0;
  color: #09224c;
  font-size: 1.2rem;
  line-height: 1.4;
}

.news-story__description {
  margin: 0;
  color: #09224c;
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.news-story__spark {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--story-accent);
  opacity: 0.5;
  animation: news-pulse 2.6s ease-in-out infinite;
}

.news-page__empty {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  border: 1px dashed #d8d7d1;
  text-align: center;
}

.news-page__empty-mark {
  display: block;
  margin-bottom: 0.6rem;
  color: #e88e3e;
  font-size: 2.5rem;
}

.news-page__empty h2 {
  margin: 0 0 0.6rem;
  color: #09224c;
  font-size: 1.35rem;
}

.news-page__empty p {
  margin: 0 auto;
  color: #09224c;
}

@keyframes news-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes news-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50% { transform: translate3d(5px, -12px, 0) rotate(12deg); }
}

@keyframes news-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.25); }
}

@media (max-width: 700px) {
  .news-page__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .news-page__visual {
    width: min(78%, 360px);
    justify-self: center;
  }

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

@media (max-width: 520px) {
  .news-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-page__copy,
  .news-page__visual,
  .news-story,
  .news-particle,
  .news-story__spark {
    animation: none;
  }

  .news-story { transition: none; }
}

/* ==========================================================================
   Section
   ========================================================================== */
.section {
  padding: var(--space-12) 0;
}

.section+.section {
  border-top: 1px solid var(--color-surface-muted);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  max-width: 560px;
}

.field {
  margin-bottom: var(--space-10);
}

.field label {
  display: block;
  margin-bottom: var(--space-5);
  font-weight: var(--font-weight-heading);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--space-6) var(--space-7);
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-text-primary);
  background: var(--color-surface-base);
  color: var(--color-text-tertiary);
  font-family: inherit;
  font-size: var(--font-size-md);
}

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

.field__hint {
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--color-error);
}

.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
}

.field__error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--color-error);
  font-size: var(--font-size-xs);
}

.form-status {
  border-radius: var(--radius-xs);
  padding: var(--space-9);
  margin-bottom: var(--space-10);
}

.form-status--success {
  background: var(--color-surface-muted);
  border: 1px solid #2e8b57;
}

.form-status--error {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-error);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Light sections on the otherwise dark page. Scoped to .gis-section so the
   old .section rules are not affected. */
.gis-section {
  padding: 4.5rem 0;
  color: var(--gis-ink);
  background: #fff;
}

.gis-section p {
  max-width: 62ch;
  line-height: 1.75;
  color: #4a4a4a;
}

.gis-title {
  color: #09224c;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
}



.gis-kicker {
  color: var(--header-text);
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.gis-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--motion-fast) ease;
}

.gis-btn:hover {
  filter: brightness(1.08);
}

.gis-btn--orange {
  background: var(--gis-orange);
}

.gis-btn--blue {
  background: var(--gis-blue);
}

.gis-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ---------- About ---------- */
.gis-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.gis-about__text .gis-title {
  text-transform: uppercase;
}

.gis-about__text p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  font-style: italic;
  font-weight: 500;
  color: #09224c;
}

.gis-about__media {
  margin: 0;
}

.gis-about__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  isolation: isolate;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(23, 42, 68, 0.15);
}

.gis-about__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(5%);
  transition: opacity 650ms ease, transform 650ms ease;
  pointer-events: none;
}

.gis-about__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.gis-about__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.gis-about__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(18, 31, 48, 0.68);
  color: #fff;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.gis-about__arrow:hover {
  background: rgba(18, 31, 48, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.gis-about__arrow--prev { left: 1rem; }
.gis-about__arrow--next { right: 1rem; }

.gis-about__dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.gis-about__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(18, 31, 48, 0.42);
  cursor: pointer;
}

.gis-about__dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(18, 31, 48, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .gis-about__slide,
  .gis-about__arrow {
    transition: none;
  }
}

.gis-about__media > img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(23, 42, 68, 0.15);
}

/* ---------- Vision & Mission ---------- */
.gis-vm {
  background: #f3e3d7;
  padding: 4rem 0;
  position: relative;
}

.gis-vm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  border: 3px solid #e88e3e;
  box-shadow: 0 10px 24px rgba(49, 55, 109, 0.08);
}

.gis-vm__card {
  padding: 2.8rem 2.6rem 2.9rem;
  color: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gis-vm__card--vision {
  background: #31376d;
}

.gis-vm__card--mission {
  background: #b74f2c;
}

.gis-vm__card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 auto 1.75rem;
  padding-bottom: 0.9rem;
  position: relative;
  font-size: clamp(2rem, 2.4vw, 3rem);
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.gis-vm__card h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 122px;
  height: 4px;
  background: #e88e3e;
  transform: translateX(-50%);
  border-radius: 999px;
}

.gis-vm__card h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
}

.gis-vm__card p {
  color: #fff;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.7;
  max-width: 42ch;
  font-weight: 500;
}

.gis-vm__card blockquote {
  margin: 0 0 1rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.7;
  font-weight: 500;
  font-style: italic;
  max-width: 54ch;
}

.gis-vm__card blockquote+p {
  margin-top: 0.2rem;
  text-align: right;
  max-width: 54ch;
}

/* ---------- Sustainability ---------- */
.gis-sustain {
  background: var(--gis-blue);
  position: relative;
  overflow: hidden;
}

.gis-sustain::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -12%;
  width: 42%;
  aspect-ratio: 1;
  background: #e88e3e;
  border-radius: 50%;
}

.gis-sustain .container {
  position: relative;
}

.gis-sustain__title {
  color: #fff;
  text-align: center;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.gis-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 0.6rem;
  align-items: end;
  justify-items: center;
  position: relative;
  z-index: 2;
  margin: 0 auto -1.2rem;
  max-width: 1200px;
}

.gis-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 120px;
  padding: 0.75rem 0.65rem;
  border: 1px solid var(--tab-color);
  border-radius: 6px 6px 0 0;
  background: #fff;
  color: var(--tab-color);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transform: translateY(32px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gis-tab__icon {
  font-size: 1.3rem;
  align-self: center;
}

.gis-tab__name {
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.95rem;
  text-align: center;
}

.gis-tab__tag {
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
}

.gis-tab.is-active,
.gis-tab[aria-selected="true"] {
  background: var(--tab-color);
  color: #fff;
  transform: translateY(0);
  z-index: 3;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.gis-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: #e6f6ff;
  border-radius: 0 0 8px 8px;
  border-top: 4px solid var(--tab-color);
  position: relative;
  z-index: 1;
}

.gis-panel[hidden] {
  display: none;
}

.gis-panel__text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gis-panel h3 {
  color: var(--tab-color);
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.2;
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid rgba(11, 33, 61, 0.18);
}

.gis-panel p {
  color: #222;
  margin: 0;
}

.gis-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid #fff;
  margin-top: 1.2rem;
}

/* ---------- Facilities ---------- */
.gis-facilities {
  padding-bottom: 3rem;
}

.gis-facilities .container p {
  margin-bottom: 1.5rem;
}

.gis-strip {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0 var(--space-9);
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gis-strip::-webkit-scrollbar {
  display: none;
}

.gis-strip.is-autoplaying {
  scroll-snap-type: none;
}

.gis-strip__item {
  flex: 0 0 min(300px, 78vw);
  position: relative;
  scroll-snap-align: start;
  padding-bottom: 1.4rem;
}

.gis-strip__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gis-strip__item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 64px 64px 0;
  border-color: transparent var(--fac-color) transparent transparent;
}

.gis-strip__label {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: calc(100% - 1rem);
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  text-align: center;
  background: var(--fac-color);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.gis-strip.is-expanded {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  overflow: visible;
  padding: 0 var(--space-9);
  scroll-snap-type: none;
}

.gis-strip.is-expanded .gis-strip__item {
  min-width: 0;
}

.gis-show-all {
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* ---------- Beyond Academics ---------- */
.gis-beyond {
  background: #fff;
  padding: 2rem 0 2.5rem;
}

.gis-beyond__frame {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  border: 2px solid var(--brand-orange);
  padding: 2rem 2rem 1.5rem;
  position: relative;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(232, 142, 62, 0.2);
  min-width: 0;
}

.gis-beyond__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 1rem;
  border-right: 2px solid var(--brand-orange);
  min-height: 100%;
  position: relative;
}

.gis-beyond__intro .gis-title {
  color: var(--brand-orange);
  text-transform: uppercase;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  font-weight: 700;
}



.gis-beyond__intro p {
  color: var(--brand-navy);
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 22ch;
  margin: 0;
  padding-left: 0.2rem;
  border-left: 0;
  position: relative;
}

.gis-beyond__intro p::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.25rem;
  width: 1px;
  height: 90%;
  background: var(--brand-orange);
  display: block;
}

.gis-beyond__nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
}

.gis-sq-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--brand-orange);
  background: #fff;
  color: var(--brand-orange);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gis-sq-btn:hover {
  background: var(--brand-orange);
  color: #fff;
}

.gis-beyond__track {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 1rem;
  overflow-x: auto;
  contain: paint;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0 0.5rem;
  align-items: stretch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gis-beyond__track::-webkit-scrollbar {
  display: none;
}

.gis-beyond__track.is-autoplaying {
  scroll-snap-type: none;
}

.gis-beyond__track.is-expanded {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.gis-bcard {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  border: 1px solid #d9d9d9;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gis-bcard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.gis-bcard__body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.gis-facility-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.gis-facility-card {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-top: 4px solid var(--fac-color);
  background: #fff;
}

.gis-facility-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gis-facility-card__body {
  padding: 1rem;
}

.gis-facility-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--fac-color);
}

.gis-facility-card p {
  margin: 0;
}

.gis-bcard h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--brand-navy);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-orange);
  align-self: flex-start;
  width: 100%;
  font-weight: 700;
}

.gis-bcard p {
  margin: 0;
  font-size: 0.95rem;
  color: #3d3d3d;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.gis-bcard .gis-btn {
  align-self: flex-start;
  background: var(--brand-orange);
  color: #fff;
  border: none;
  font-weight: 700;
}

.gis-beyond__all {
  grid-column: 2;
  justify-self: end;
  background: var(--brand-navy);
  color: #fff;
  margin-top: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .gis-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .gis-beyond__frame {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .gis-beyond__all {
    grid-column: 1;
  }

  .gis-bcard {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .gis-beyond__track.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gis-section {
    padding: 3rem 0;
  }

  .gis-about__grid,
  .gis-vm__grid,
  .gis-panel {
    grid-template-columns: 1fr;
  }

  .gis-about__media {
    order: -1;
  }

  .gis-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gis-bcard {
    flex-basis: 85%;
  }

  .gis-beyond__track.is-expanded {
    grid-template-columns: 1fr;
  }
}

.testimonial-section {
  background: linear-gradient(180deg, rgba(239, 244, 255, 0.9), rgba(255, 255, 255, 0.96));
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.testimonial-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-section__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--brand-orange, #f28c28);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonial-section__header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brand-blue, #0c2a52);
}

.testimonial-section__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: center;
}

.testimonial-write-card {
  background: linear-gradient(135deg, #0d2d4d, #123a68 55%, #1a4d7d);
  border-radius: 26px;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  color: #fff;
  box-shadow: 0 20px 45px rgba(10, 30, 62, 0.12);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-write-card__badge {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.testimonial-write-card h3 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.testimonial-write-card p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.testimonial-write-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #f1b66b, #ea8d2d);
  color: #0c2342;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.testimonial-write-card__button:hover,
.testimonial-write-card__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(234, 141, 45, 0.28);
}

.review-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.review-modal.is-open {
  display: flex;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 32, 0.62);
}

.review-modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(7, 17, 32, 0.22);
  padding: 1.75rem;
}

.review-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f9;
  color: #0d2d4d;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.review-modal__header {
  margin-bottom: 1rem;
}

.review-modal__header h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  color: var(--brand-blue, #0c2a52);
}

.review-modal__success,
.review-modal__error {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.review-modal__success {
  background: rgba(28, 124, 84, 0.12);
  color: #1c7c54;
}

.review-modal__error {
  background: rgba(179, 38, 30, 0.08);
  color: #b3261e;
}

.review-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.review-modal__field--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review-modal__field label {
  font-weight: 600;
  color: #1b2d45;
}

.review-modal__field input,
.review-modal__field textarea {
  width: 100%;
  border: 1px solid rgba(12, 42, 82, 0.12);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
  color: #1d2436;
}

.review-modal__field textarea {
  resize: vertical;
  min-height: 120px;
}

.review-modal__field input:focus,
.review-modal__field textarea:focus {
  outline: 2px solid rgba(242, 140, 40, 0.25);
  border-color: rgba(242, 140, 40, 0.7);
}

.review-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.review-modal__secondary,
.review-modal__primary {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.review-modal__secondary {
  background: #edf1f7;
  color: #1d2436;
}

.review-modal__primary {
  background: linear-gradient(135deg, #f1b66b, #ea8d2d);
  color: #0c2342;
}

.testimonial-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-carousel__viewport {
  position: relative;
  min-height: 260px;
}

.testimonial-carousel__slide {
  display: none;
  background: #fff;
  border: 1px solid rgba(13, 42, 82, 0.08);
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(10, 30, 62, 0.08);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.testimonial-carousel__slide.is-active {
  display: block;
}

.testimonial-carousel__quote {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.8;
  color: rgba(242, 140, 40, 0.6);
  margin-bottom: 0.5rem;
}

.testimonial-carousel__text {
  margin: 0 auto 1.5rem;
  max-width: 680px;
  color: #1d2d43;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
}

.testimonial-carousel__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}

.testimonial-carousel__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2b562, #d8702a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-carousel__person {
  display: flex;
  flex-direction: column;
}

.testimonial-carousel__person strong {
  color: var(--brand-blue, #0c2a52);
  font-size: 1rem;
}

.testimonial-carousel__person span {
  color: #58657d;
  font-size: 0.8rem;
}

.testimonial-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.testimonial-carousel__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(12, 42, 82, 0.12);
  background: #fff;
  color: var(--brand-blue, #0c2a52);
  cursor: pointer;
  font-size: 1.5rem;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.testimonial-carousel__arrow:hover,
.testimonial-carousel__arrow:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(12, 42, 82, 0.12);
}

.testimonial-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.testimonial-carousel__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 42, 82, 0.18);
  cursor: pointer;
  padding: 0;
}

.testimonial-carousel__dot.is-active {
  background: var(--brand-orange, #f28c28);
}

@media (max-width: 900px) {
  .testimonial-section__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .testimonial-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .testimonial-carousel__viewport {
    min-height: 220px;
  }

  .testimonial-carousel__text {
    font-size: 0.98rem;
  }
}

@media (max-width: 400px) {
  .gis-vm__card {
    padding: 2rem 1.25rem;
  }
}




/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #09224c;
  border-top: 4px solid var(--brand-orange);
  color: #f7f8fc;
  font-size: var(--font-size-sm);
  margin-top: 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1fr) minmax(150px, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 3rem 0 2.6rem;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  min-width: 0;
}

.site-footer__logo-wrap {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  flex: 0 0 auto;
}

.site-footer__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-footer__brand h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--font-family-brand);
  font-size: 1.2rem;
  line-height: 1.35;
}

.site-footer__brand-copy {
  min-width: 0;
}

.site-footer__brand p {
  margin: 0;
  color: #f1b36e;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.site-footer__section {
  color: #d9dceb;
}

.site-footer__section h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__section address {
  margin: 0 0 0.8rem;
  color: #d9dceb;
  font-style: normal;
  line-height: 1.8;
}

.site-footer__section p,
.site-footer__section li,
.site-footer__section a {
  color: #d9dceb;
  text-decoration: none;
  line-height: 1.9;
}

.site-footer__section p {
  margin: 0;
}

.site-footer__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin: 0.2rem 0;
}

.site-footer__section a {
  transition: color var(--motion-fast) ease;
}

.site-footer__section a:hover {
  color: #f1b36e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);
}

.site-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-footer__copyright,
.site-footer__credit {
  margin: 0;
  color: #c4c9dc;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer__credit {
  text-align: right;
}

.site-footer__credit span {
  color: #f1b36e;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-top: 2.4rem;
    padding-bottom: 2rem;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .site-footer__credit {
    text-align: left;
  }
}


/* about  section  */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

/* About page — all classes prefixed .ab- so nothing else on the site is affected */
.ab-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
  color: var(--brand-navy);
}

.ab-section p {
  color: #444;
  line-height: 1.8;
  max-width: 62ch;
}

.ab-h2 {
  font-family: 'Fredoka', var(--font-family-primary);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #09224c;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.ab-center {
  text-align: center;
}

/* ---------- Hero ---------- */
.ab-hero {
  position: relative;
  overflow: hidden;
  color: #e45625;
  text-align: center;
 background:
  radial-gradient(circle at 20% 15%, #1f6b4f 0, transparent 45%),
  radial-gradient(circle at 85% 80%, #8a7418 0, transparent 40%),
  radial-gradient(circle at 50% 50%, #123b5f 0, transparent 55%),
  #09224c;
   padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(6rem, 10vw, 8rem);
}

.ab-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ab-hero__inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ab-pill {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .35rem 1.1rem;
  border-radius: 100px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}

.ab-hero__title {
  font-family: 'Fredoka', var(--font-family-primary);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 .6rem;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}

.ab-hero__tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .3rem 1.2rem;
  background: #fff;
  color: var(--brand-rust);
  border-radius: 12px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  transform: rotate(-2deg);
  animation: abWiggle 3s ease-in-out infinite;
}

.ab-hero__lead {
  margin: 0 auto 1rem;
  color: #eef0ff;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 52ch;
}

.ab-hero__hint {
  margin: 0 auto;
  color: #ffe3c2;
  font-size: .9rem;
}

.ab-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
  z-index: 2;
}

.ab-cloud {
  position: absolute;
  background: rgba(255, 255, 255, .14);
  border-radius: 100px;
  filter: blur(1px);
}

.ab-cloud::before,
.ab-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.ab-cloud--1 {
  width: 140px;
  height: 42px;
  top: 18%;
  left: -160px;
  animation: abDrift 38s linear infinite;
}

.ab-cloud--1::before {
  width: 60px;
  height: 60px;
  top: -28px;
  left: 22px;
}

.ab-cloud--1::after {
  width: 46px;
  height: 46px;
  top: -18px;
  left: 70px;
}

.ab-cloud--2 {
  width: 100px;
  height: 32px;
  top: 55%;
  left: -120px;
  animation: abDrift 52s linear -20s infinite;
}

.ab-cloud--2::before {
  width: 44px;
  height: 44px;
  top: -20px;
  left: 16px;
}

.ab-cloud--2::after {
  width: 34px;
  height: 34px;
  top: -12px;
  left: 50px;
}

@keyframes abDrift {
  to {
    transform: translateX(calc(100vw + 320px));
  }
}

@keyframes abWiggle {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg) scale(1.04);
  }
}

@keyframes abFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Story ---------- */
.ab-story__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ab-story__media {
  position: relative;
  margin: 0;
}

.ab-story__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 28px 90px 28px 90px;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(49, 55, 109, .25);
}

.ab-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.ab-blob--a {
  width: 62%;
  aspect-ratio: 1;
  background: var(--brand-orange);
  top: -8%;
  right: -8%;
  opacity: .85;
  animation: abFloat 6s ease-in-out infinite;
}

.ab-blob--b {
  width: 42%;
  aspect-ratio: 1;
  background: var(--brand-mint);
  bottom: -8%;
  left: -8%;
  animation: abFloat 7s ease-in-out -2s infinite;
}

.ab-sticker {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 14%;
  font-size: 2.6rem;
  animation: abWiggle 3s ease-in-out infinite;
}

/* ---------- Facts ---------- */
.ab-facts {
  background: #fdf3ea;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.ab-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.ab-fact {
  --c: var(--brand-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .25rem;
  padding: 1.5rem 1rem;
  background: var(--c);
  color: #fff;
  border-radius: 24px;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}

.ab-fact:hover {
  transform: translateY(-8px) rotate(-1.5deg);
}

.ab-fact--orange {
  --c: var(--brand-orange);
}

.ab-fact--navy {
  --c: var(--brand-navy);
}

.ab-fact--green {
  --c: var(--brand-green);
}

.ab-fact--rust {
  --c: var(--brand-rust);
}

.ab-fact__icon {
  font-size: 2rem;
}

.ab-fact__num {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.ab-fact span:last-child {
  font-size: .9rem;
  line-height: 1.4;
}

/* ---------- Founders ---------- */
.ab-founders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.ab-person {
  text-align: center;
  padding: 2rem 1rem;
  border: 3px dashed #e6e8f5;
  border-radius: 28px;
  transition: border-color .3s, transform .3s;
}

.ab-person:hover {
  border-color: var(--brand-orange);
  transform: translateY(-6px);
}

.ab-person__avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--c);
}

.ab-person h3 {
  margin: 0 0 .3rem;
  font-size: 1.2rem;
  color: var(--brand-navy);
}

.ab-person p {
  margin: 0 auto;
  font-size: .92rem;
}

/* ---------- Values ---------- */
.ab-values {
  background: linear-gradient(180deg, #f4f5fc, #fff);
}

.ab-values__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.ab-values__grid p {
  color: #09224c;
}

.ab-value {
  padding: 1.5rem 1rem;
  text-align: center;
  background: #fff;
  border-radius: 22px;
  border-bottom: 6px solid var(--c);
  box-shadow: 0 8px 22px rgba(49, 55, 109, .1);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}

.ab-value:hover {
  transform: translateY(-8px) scale(1.03);
}

.ab-value>span {
  display: inline-block;
  font-size: 2.4rem;
}

.ab-value:hover>span {
  animation: abWiggle .6s ease-in-out;
}

.ab-value h3 {
  margin: .5rem 0 .4rem;
  font-size: 1.15rem;
  color: var(--c);
}

.ab-value p {
  margin: 0 auto;
  font-size: .9rem;
  line-height: 1.5;
}

/* ---------- Quotes ---------- */
.ab-quotes {
  background: #f3e3d7;
}

.ab-quotes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ab-quote {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  border-radius: 28px;
}

.ab-quote--navy {
  background: var(--brand-navy);
}

.ab-quote--rust {
  background: var(--brand-rust);
}

.ab-quote h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0 0 1.2rem;
  color: #fff;
}

.ab-quote blockquote {
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .1);
  border-left: 5px solid var(--brand-orange);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  line-height: 1.7;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.ab-quote .ab-quote__by {
  color: #fff;
  text-align: right;
  font-weight: 600;
  margin: 0 0 0 auto;
}

/* ---------- Commitment ---------- */
.ab-commit__box {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 3px solid var(--brand-orange);
  border-radius: 32px;
  background: #fffaf5;
}

.ab-commit__box p {
  margin-left: auto;
  margin-right: auto;
}

.ab-commit__hindi {
  margin: 0 auto 1.5rem;
  padding: 1.2rem 1.4rem;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 20px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  text-align: center;
}

.ab-commit__more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ab-commit__more figure {
  margin: 0;
  padding: 1.2rem;
  background: #fff;
  border-radius: 20px;
  border-top: 5px solid var(--brand-green);
}

.ab-commit__more blockquote {
  margin: 0 0 .6rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--brand-navy);
}

.ab-commit__more figcaption {
  font-weight: 600;
  color: var(--brand-rust);
  text-align: right;
}

/* ---------- Scroll reveal ---------- */
.js .ab-reveal {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0s);
}

.js .ab-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ab-values__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ab-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {

  .ab-story__grid,
  .ab-quotes__grid,
  .ab-commit__more {
    grid-template-columns: 1fr;
  }

  .ab-story__media {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .ab-founders__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .ab-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ab-value:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .ab-facts__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ab-cloud,
  .ab-blob,
  .ab-sticker,
  .ab-hero__tag {
    animation: none;
  }

  .js .ab-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* message section  */

/* Message page — extends about.css (hero, reveal, tokens). Prefix: .ms- */
.ms-hero {
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.ms-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.ms-section--alt {
  background: #f4f5fc;
}

.ms-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.ms-grid--flip {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.ms-grid--flip .ms-profile {
  order: 2;
}

/* ---------- Profile card ---------- */
.ms-profile {
  --c: var(--brand-orange);
  position: sticky;
  top: 110px;
  text-align: center;
  padding: 2rem 1.2rem 1.8rem;
  background: var(--c);
  color: #fff;
  border-radius: 32px 32px 90px 32px;
  box-shadow: 0 16px 34px rgba(49, 55, 109, .2);
}

.ms-profile--green {
  --c: var(--brand-green);
  border-radius: 32px 32px 32px 90px;
}

.ms-profile__photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: #fff;
  color: var(--c);
  font-family: 'Fredoka', sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 0 0 12px rgba(255, 255, 255, .15);
  animation: abFloat 6s ease-in-out infinite;
}

.ms-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-profile__role {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .25rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}

.ms-profile__name {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
}

/* ---------- Message card ---------- */
.ms-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border: 3px solid var(--brand-orange);
  border-radius: 32px;
  box-shadow: 0 14px 34px rgba(49, 55, 109, .08);
}

.ms-card--green {
  border-color: var(--brand-green);
}

.ms-card::before {
  content: "“";
  position: absolute;
  top: -.15em;
  right: .25em;
  font-family: Georgia, serif;
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 1;
  color: var(--brand-orange);
  opacity: .18;
  pointer-events: none;
}

.ms-card--green::before {
  color: var(--brand-green);
}

.ms-pull {
  margin: 0 0 1.8rem;
  padding: 1.1rem 1.4rem;
  background: var(--brand-navy);
  color: #fff;
  border-left: 6px solid var(--brand-orange);
  border-radius: 0 22px 22px 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
}

.ms-pull--green {
  border-left-color: var(--brand-green);
}

.ms-pull cite {
  display: block;
  margin-top: .5rem;
  font-size: .95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--brand-mint);
  text-align: right;
}

.ms-welcome {
  margin: 0 0 1.2rem;
  max-width: none;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--brand-green) !important;
}

.ms-body p {
  max-width: none;
  margin: 0 0 1.2rem;
  color: #09224c;
  font-size: 1.02rem;
  line-height: 1.9;
}

.ms-body[lang="hi"] p {
  font-size: 1.08rem;
  line-height: 2;
  text-align: justify;
}

.ms-sign {
  margin: 1.6rem 0 0 !important;
  padding-top: 1rem;
  max-width: none !important;
  border-top: 2px dashed #e6e8f5;
  text-align: right;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--brand-rust) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

  .ms-grid,
  .ms-grid--flip {
    grid-template-columns: 1fr;
  }

  .ms-grid--flip .ms-profile {
    order: 0;
  }

  .ms-profile {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem;
    align-items: center;
    text-align: left;
    padding: 1.2rem 1.4rem;
    border-radius: 28px;
  }

  .ms-profile__photo {
    grid-row: span 2;
    width: 96px;
    height: 96px;
    margin: 0;
    font-size: 2rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
  }

  .ms-profile__role {
    justify-self: start;
    align-self: end;
    margin-bottom: .3rem;
  }

  .ms-profile__name {
    font-size: 1.25rem;
    align-self: start;
  }
}

@media (max-width: 480px) {
  .ms-body[lang="hi"] p {
    text-align: left;
  }

  .ms-pull {
    border-radius: 0 16px 16px 0;
    padding: 1rem;
  }
}

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

/* ---------- Second particle layer (bubbles + stars) ---------- */
.ms-section {
  position: relative;
  overflow: hidden;
}

.ms-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ms-grid {
  position: relative;
  z-index: 1;
}

/* ---------- Academics / Beyond Academics ---------- */
.ac-hero {
  min-height: 430px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-color: var(--brand-navy);
  background-image: linear-gradient(90deg, rgba(22, 29, 69, 0.9) 0%, rgba(22, 29, 69, 0.72) 48%, rgba(22, 29, 69, 0.2) 100%), url('../image/school_child.jpeg');
  background-position: center, center 44%;
  background-size: cover;
}

.ac-hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ac-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
  animation: acHeroEnter 700ms ease-out both;
}

.ac-hero__eyebrow,
.ac-kicker {
  margin: 0 0 0.75rem;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ac-hero__inner h1 {
  max-width: 10ch;
  margin: 0 0 1rem;
  color: #fff;
  font-family: var(--font-family-brand);
  font-size: 3.5rem;
  line-height: 1.04;
}

.ac-hero__lead {
  max-width: 48ch;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ac-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--brand-orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.ac-hero__link span {
  color: var(--brand-orange);
  transition: transform 180ms ease;
}

.ac-hero__link:hover span {
  transform: translateY(3px);
}

.ac-hero__caption {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ac-activities {
  padding: 5rem 0 5.5rem;
  color: var(--brand-navy);
  background: #f7f8f5;
}

.ac-activities__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ac-activities__heading h2 {
  margin: 0;
  color: var(--brand-navy);
  font-family: var(--font-family-brand);
  font-size: 2.5rem;
  line-height: 1.15;
}

.ac-activities__intro {
  max-width: 48ch;
  margin: 0 0 0.2rem;
  color: #4b4b4b;
  line-height: 1.75;
}

.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ac-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e4df;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(35, 43, 56, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(35, 43, 56, 0.12);
}

.ac-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: #e7e9e4;
  aspect-ratio: 16 / 10;
}

.ac-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.ac-card:hover .ac-card__image-wrap img {
  transform: scale(1.035);
}

.ac-card__number {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--brand-orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.ac-card__body {
  min-height: 162px;
  padding: 1.25rem 1.3rem 1.4rem;
  border-top: 3px solid var(--brand-orange);
}

.ac-card:nth-child(3n + 2) .ac-card__body {
  border-top-color: var(--brand-green);
}

.ac-card:nth-child(3n) .ac-card__body {
  border-top-color: var(--brand-rust);
}

.ac-card__body h3 {
  margin: 0 0 0.55rem;
  color: var(--brand-navy);
  font-size: 1.2rem;
  line-height: 1.35;
}

.ac-card__body p {
  margin: 0;
  color: #50535a;
  font-size: 0.93rem;
  line-height: 1.65;
}

.ac-empty {
  margin: 0;
  padding: 1.5rem;
  border-left: 4px solid var(--brand-orange);
  background: #fff;
  color: #4b4b4b;
}

.js .ac-reveal {
  opacity: 1;
  transform: none;
}

.js .ac-reveal.is-visible {
  animation: acCardReveal 550ms ease both;
  animation-delay: var(--ac-delay, 0ms);
}

@keyframes acCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes acHeroEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .ac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-activities__heading {
    align-items: start;
    flex-direction: column;
    gap: 0.9rem;
  }
}

@media (max-width: 600px) {
  .ac-hero {
    min-height: 390px;
    background-position: center, 58% center;
  }

  .ac-hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .ac-hero__inner h1 {
    font-size: 2.6rem;
  }

  .ac-hero__caption {
    right: 1rem;
    bottom: 0.8rem;
    font-size: 0.62rem;
  }

  .ac-activities {
    padding: 3.5rem 0 4rem;
  }

  .ac-activities__heading h2 {
    font-size: 2rem;
  }

  .ac-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ac-card__body {
    min-height: 0;
  }
}

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

  .ac-card,
  .ac-card__image-wrap img,
  .ac-hero__link span,
  .js .ac-reveal {
    transition: none;
  }

  .js .ac-reveal.is-visible {
    animation: none;
  }

  .js .ac-reveal,
  .js .ac-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}