/* GEMS AKIS Design System ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Brand Palette */

:root {
  /* Fonts */
  --font-sans: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-primary: "Jost", ui-sans-serif, system-ui, sans-serif;
  --radius: 1rem;

  /*
   * AKIS brand palette — single source of truth
   * Primary: #243D94, #B11F28, #231F20
   * Text: #474747
   * Subtle accent: #0E1430
   */
  --ink: #231f20;
  --paper: #ffffff;
  --paper-deep: #f5f4f0;
  --gold-primary: #c69930;
  --gold-secondary: #e8d5a3;
  --gold: #b11f28;
  --gold-whisper: #243d94;
  --primary: #243d94;
  --primary-light: #f0f2fd;
  --accent: #b11f28;
  --footer: #231f20;
  --text: #474747;
  --subtle: #0e1430;

  /* Derived neutrals */
  --secondary: var(--paper-deep);
  --muted: var(--paper-deep);
  --muted-foreground: var(--text);
  --border: #e4e2db;
  --ring: var(--primary);

  /* RGB helpers for translucent styles */
  --ink-rgb: 35, 31, 32;
  --primary-rgb: 36, 61, 148;
  --accent-rgb: 177, 31, 40;
  --gold-rgb: 177, 31, 40;
  --gold-whisper-rgb: 36, 61, 148;
  --footer-rgb: 35, 31, 32;
  --paper-rgb: 255, 255, 255;
  --text-rgb: 71, 71, 71;
  --subtle-rgb: 14, 20, 48;

  /*
   * Legacy role aliases ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â keep existing component selectors working
   * while resolving to the AKIS palette above
   */
  --diamond-navy: var(--primary);
  --tier-navy: var(--primary);
  --deep-navy: var(--footer);
  --premium-plus: var(--gold-whisper);
  --gold-soft: var(--gold-whisper);
  --lime: var(--gold);
  --coral: var(--accent);
  --sky-blue: var(--primary);
  --bronze: var(--accent);
  --teal: var(--primary);
  --charcoal: var(--footer);
  --dark-plum: var(--footer);
  --slate-green: var(--muted-foreground);
  --brand-grey: var(--muted-foreground);
  --ivory: var(--paper);

  /* Semantics */
  --background: var(--paper);
  --foreground: var(--text);
  --card: var(--paper);
  --card-foreground: var(--text);
  --primary-foreground: var(--paper);
  --secondary-foreground: var(--ink);
  --accent-foreground: var(--paper);

  /* Elevate Shadows & Transitions */
  --shadow-elegant: 0 30px 60px -30px rgba(var(--ink-rgb), 0.28);
  --shadow-tile: 0 20px 40px -20px rgba(var(--ink-rgb), 0.3);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-normal: 0.5s var(--ease-editorial);
  --transition-fast: 0.25s ease-out;

  /* Header / nav � shared across homepage and inner pages */
  --header-height: 4.7rem;
  --header-offset: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

@media (min-width: 1100px) {
  :root {
    --header-height: 5.35rem;
  }
}

@media (max-width: 1099.98px) {
  :root {
    --header-height: 4.05rem;
  }
}

@media (max-width: 1099.98px) and (min-width: 768px) {
  :root {
    --header-height: 4.4rem;
  }
}

/* Dark Mode Overrides (Optional / Site-wide toggle) */
.dark {
  --background: var(--ink);
  --foreground: var(--paper);
  --card: var(--ink);
  --card-foreground: var(--paper);
  --primary: #243d94;
  --primary-foreground: var(--paper);
  --border: rgba(255, 255, 255, 0.12);
  --muted: #2a2627;
  --muted-foreground: rgba(255, 255, 255, 0.72);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--foreground);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.hidden {
  display: none !important;
}

.italic {
  font-style: italic;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-sans {
  font-family: var(--font-sans) !important;
}

.text-navy {
  color: var(--primary);
}

.text-ivory {
  color: var(--paper);
}

.text-lime {
  color: var(--gold);
}

.text-coral {
  color: var(--accent);
}

.text-sky {
  color: var(--primary);
}

.chapter-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.editorial-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  width: 100%;
}

.text-outline-navy {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.text-outline-ivory {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
}

/* Scroll Trigger Animations Base */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial);
}

/* Animation Types */
.animate-fade-up {
  transform: translateY(30px);
}

.animate-fade-in {
  transform: none;
}

.animate-scale-up {
  transform: scale(0.95);
}

.animate-slide-left {
  transform: translateX(40px);
}

.animate-slide-right {
  transform: translateX(-40px);
}

/* Visible State for all types */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* ==========================================
   Header Component
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background-color: var(--paper);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 14px 32px -24px rgba(var(--ink-rgb), 0.18);
}

.site-header.is-nav-open,
.site-header.scrolled,
.site-header.is-inner,
.site-header.is-solid {
  background-color: rgba(255, 255, 255, 0.72);
  background-image: linear-gradient(
    180deg,
    rgba(var(--paper-rgb), 0.18) 0%,
    rgba(var(--subtle-rgb), 0.03) 100%
  );
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 14px 32px -24px rgba(var(--ink-rgb), 0.18);
}

.site-header.is-nav-open {
  background-color: var(--paper);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand-strip {
  height: 3px;
  width: 100%;
  background-color: var(--gold-primary);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  gap: 1rem;
}

@media (max-width: 1099.98px) {
  .header-container {
    padding: 0.75rem 1rem;
    gap: 0.6rem;
    min-height: calc(var(--header-height) - 3px);
    flex-wrap: nowrap;
  }
}

@media (min-width: 1100px) {
  .header-container {
    padding: 1.2rem 2.5rem;
  }
}

.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  line-height: 0;
}

@media (min-width: 1100px) {
  .header-logo-link {
    flex-shrink: 0;
  }
}

.header-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
  transition: filter 0.5s var(--ease-editorial);
}

@media (max-width: 1099.98px) {
  .header-logo {
    height: 36px;
    max-width: min(148px, 42vw);
  }
}

@media (min-width: 768px) {
  .header-logo {
    height: 42px;
    max-width: 240px;
  }
}

@media (max-width: 1099.98px) and (min-width: 768px) {
  .header-logo {
    height: 42px;
    max-width: min(180px, 36vw);
  }
}

.header-nav {
  display: none;
  position: relative;
  z-index: 60;
}

@media (min-width: 1100px) {
  .header-nav {
    display: block;
  }
}

.nav-pill-wrapper {
  display: flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.3rem 0.45rem;
 overflow: visible;
}

.site-header.scrolled .site-header.is-inner .site-header.is-solid {
  background-color: rgba(255, 255, 255, 0.38);
  border-color: rgba(var(--ink-rgb), 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.nav-link {
  position: relative;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  z-index: 1;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-item.is-open > .nav-link,
.nav-link.is-current {
  color: var(--primary);
}

.nav-link .hover-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.05);
  border-radius: 9999px;
  opacity: 0;
  transition: all 0.s var(--ease-editorial);
}

.nav-link:hover .hover-bg,
.nav-link:focus-visible .hover-bg,
.nav-item.is-open > .nav-link .hover-bg {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Sliding underline tag on links */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  height: 2px;
  width: 0;
  border-radius: 9999px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-editorial);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-current::after {
  width: 24px;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 1099.98px) {
  .header-ctas {
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 0.45rem;
  }
}

@media (min-width: 640px) {
  .header-ctas {
    gap: 0.85rem;
  }
}

@media (max-width: 1099.98px) and (min-width: 640px) {
  .header-ctas {
    gap: 0.55rem;
  }
}

.lang-switch {
  --lang-pad: 0.16rem;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex-shrink: 0;
  width: 5.2rem;
  height: 2rem;
  padding: var(--lang-pad);
  border-radius: 999px;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  background: rgba(255, 255, 255, 0.62);
  isolation: isolate;
  transition:
    border-color 0.28s var(--ease-editorial, ease),
    box-shadow 0.28s var(--ease-editorial, ease),
    transform 0.28s var(--ease-editorial, ease);
}

.lang-switch:hover {
  border-color: rgba(var(--gold-rgb), 0.55);
  box-shadow: 0 8px 20px -14px rgba(var(--ink-rgb), 0.45);
}

.lang-switch-thumb {
  position: absolute;
  top: var(--lang-pad);
  left: var(--lang-pad);
  width: calc(50% - var(--lang-pad));
  height: calc(100% - (var(--lang-pad) * 2));
  border-radius: 999px;
  background: var(--primary);
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.lang-switch.is-ar .lang-switch-thumb {
  transform: translateX(100%);
}

.lang-switch-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  height: 1.5rem;
  padding: 0;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: color 0.22s ease;
}

.lang-switch-btn.is-active,
.lang-switch-btn[aria-pressed="true"] {
  color: var(--paper);
}

.lang-switch-btn:hover:not(.is-active),
.lang-switch-btn:focus-visible:not(.is-active) {
  color: var(--ink);
}

.lang-switch-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.lang-switch-btn:active {
  transform: scale(0.96);
}

@media (max-width: 1099.98px) {
  .lang-switch {
    width: 5.15rem;
    height: 2.25rem;
  }

  .lang-switch-btn {
    height: 1.9rem;
    font-size: 0.64rem;
  }
}

@media (max-width: 479.98px) {
  .lang-switch {
    width: 4.85rem;
    height: 2.15rem;
  }
}

/* Legacy enquire link (unused in current header; kept for safety) */
.enquire-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: var(--ink);
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .enquire-link {
    display: inline-flex;
  }
}

.enquire-link:hover {
  color: var(--primary);
}

.enquire-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 8px rgba(177, 31, 40, 0.7);
}

.tour-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
  border: 1px solid transparent;
  padding: 0.65rem 1.25rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease-editorial);
}

/* Apply Now — outline twin of Book a Tour */
.tour-btn--ghost {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.tour-btn--ghost .btn-arrow {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

@media (max-width: 1099.98px) {
  .tour-btn {
    padding: 0.55rem 0.9rem;
    font-size: 12px;
    white-space: nowrap;
  }

  .tour-btn .btn-arrow {
    display: none;
  }
}

@media (max-width: 479.98px) {
  .header-ctas .tour-btn:not(.tour-btn--ghost) {
    display: none;
  }
}

.tour-btn:hover,
.tour-btn:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  background-color: var(--primary);
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(var(--primary-rgb), 0.55);
  outline: none;
}

.tour-btn:active {
  transform: translateY(0);
}

.tour-btn--ghost:hover,
.tour-btn--ghost:focus-visible {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--paper);
}

.tour-btn--ghost:hover .btn-arrow,
.tour-btn--ghost:focus-visible .btn-arrow {
  background-color: var(--paper);
  border-color: var(--paper);
  color: var(--primary);
}

.tour-btn:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--ink-rgb), 0.35),
    0 0 0 4px rgba(var(--paper-rgb), 0.55),
    0 14px 32px -8px rgba(var(--gold-rgb), 0.6);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  transition: none;
}

.tour-btn:hover .btn-shine {
  transform: translateX(100%);
  transition: transform 0.7s linear;
}

.btn-arrow {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--paper);
  color: var(--ink);
  font-size: 10px;
  transition: transform 0.3s var(--ease-editorial),
    background-color 0.3s var(--ease-editorial),
    border-color 0.3s var(--ease-editorial),
    color 0.3s var(--ease-editorial);
}


.btn-arrow:hover {
  background-color: var(--paper);
  color: var(--primary); 
}

.tour-btn:hover .btn-arrow {
  transform: translateX(2px);
}

@media (max-width: 639px) {
  .tour-btn .btn-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-btn,
  .tour-btn .btn-arrow,
  .tour-btn .btn-shine {
    transition: none !important;
  }

  .tour-btn:hover,
  .tour-btn:focus-visible,
  .tour-btn:active {
    transform: none;
  }
}

html.is-nav-open,
html.is-nav-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (orientation: landscape) and (max-height: 480px) {
  :root {
    --header-height: 3.9rem;
  }

  .header-container {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .header-logo {
    height: 32px;
  }
}

/* ==========================================
   Hero Section â€” Editorial Immersive Carousel
   ========================================== */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  background-color: var(--primary);
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s var(--ease-editorial),
    visibility 1.2s var(--ease-editorial);
  will-change: opacity;
}

.hero-media-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background-color: var(--primary);
}

.hero-media-slide.active .hero-media-img {
  transform: scale(1.14);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(var(--primary-rgb), 0.62) 0%,
      rgba(var(--primary-rgb), 0.28) 42%,
      rgba(var(--primary-rgb), 0.08) 68%,
      rgba(var(--primary-rgb), 0.18) 100%
    ),
    linear-gradient(
      to top,
      rgba(var(--primary-rgb), 0.55) 0%,
      rgba(var(--primary-rgb), 0.16) 42%,
      transparent 66%
    );
}

.hero-veil-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(48% 42% at 8% 82%, rgba(var(--primary-rgb), 0.28), transparent 70%),
    radial-gradient(36% 32% at 94% 10%, rgba(var(--accent-rgb), 0.16), transparent 68%);
}

.hero-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 1.5rem 5.5rem;
}

@media (min-width: 900px) {
  .hero-stage {
    align-items: center;
    padding: 8.5rem 2.5rem 5rem;
  }
}

.hero-copy {
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  animation: heroCopyIn 1s var(--ease-editorial) both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero-eyebrow-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.55);
  animation: heroPulse 2s ease-out infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(var(--gold-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
}

.hero-carousel-area {
  position: relative;
  width: 100%;
  min-height: 17.5rem;
}

@media (min-width: 768px) {
  .hero-carousel-area {
    min-height: 16.5rem;
  }
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease-editorial),
    transform 0.85s var(--ease-editorial),
    visibility 0.85s;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-headline {
  margin: 0;
  max-width: 50ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.65rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
}

.hero-supporting {
  margin: 1.25rem 0 0;
  max-width: 50ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.hero-ctas-row {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tour-btn-large {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background-color: var(--accent);
  border: 1px solid transparent;
  padding: 1rem 1.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease-editorial);
}

.tour-btn-large:hover,
.tour-btn-large:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  background-color: var(--primary);
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(var(--primary-rgb), 0.55);
  outline: none;
}

.tour-btn-large:active {
  transform: translateY(0);
}

.tour-btn-large:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--ink-rgb), 0.35),
    0 0 0 4px rgba(var(--paper-rgb), 0.55),
    0 14px 32px -8px rgba(var(--gold-rgb), 0.6);
}

.tour-btn-large .btn-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.tour-btn-large:hover .btn-shine {
  transform: translateX(100%);
  transition: transform 0.7s linear;
}

.tour-btn-large .btn-arrow {
  width: 20px;
  height: 20px;
  font-size: 10px;
  background-color: var(--paper);
  color: var(--ink);
}

.tour-btn-large:hover .btn-arrow,
.tour-btn-large:focus-visible .btn-arrow {
  transform: translateX(2px);
}

.enquire-btn-large {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px solid var(--paper);
  padding: 1rem 1.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease-editorial);
}

.enquire-btn-large:hover,
.enquire-btn-large:focus-visible {
  transform: translateY(-2px);
  border-color: var(--paper);
  background-color: transparent;
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(var(--paper-rgb), 0.15);
  outline: none;
}

.enquire-btn-large .btn-arrow {
  color: var(--primary);
  font-size: 0.9rem;
}

.enquire-btn-large:hover .btn-arrow,
.enquire-btn-large:focus-visible .btn-arrow {
  transform: translateX(2px);
}

.hero-slide-controls {
  position: relative;
  z-index: 5;
  margin-top: 2.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 0.55rem 0.45rem 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(var(--subtle-rgb), 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dots-indicators {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot-tab {
  position: relative;
  height: 3px;
  width: 1.35rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  transition: width 0.5s var(--ease-editorial), background-color 0.3s;
  cursor: pointer;
  border: 0;
  padding: 0;
}

.dot-tab:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.dot-tab.active {
  width: 3.25rem;
}

.dot-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.dot-progress-bar {
  position: absolute;
  inset-y: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--paper);
  border-radius: 9999px;
}

.hero-slide-num {
  min-width: 3.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.arrow-btn {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease-editorial),
    color 0.3s var(--ease-editorial),
    background-color 0.3s var(--ease-editorial),
    transform 0.3s var(--ease-editorial);
}

.arrow-btn:hover,
.arrow-btn:focus-visible {
  border-color: var(--paper);
  color: var(--paper);
  background-color: rgba(var(--paper-rgb), 0.12);
  outline: none;
}

.arrow-btn:active {
  transform: scale(0.96);
}

.hero-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition:
    color 0.3s var(--ease-editorial),
    opacity 0.45s var(--ease-editorial),
    visibility 0.45s;
}

.hero-scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--paper);
  outline: none;
}

@media (min-width: 768px) {
  .hero-scroll-cue {
    display: flex;
  }
}

.hero-scroll-cue-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll-cue-track {
  position: relative;
  width: 1px;
  height: 2.4rem;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-scroll-cue-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.85rem;
  background: var(--paper);
  animation: heroScrollCue 1.8s var(--ease-editorial) infinite;
}

@keyframes heroScrollCue {
  0% { transform: translateY(-110%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-slide,
  .hero-media-img,
  .hero-slide,
  .hero-copy,
  .tour-btn-large,
  .enquire-btn-large,
  .arrow-btn,
  .hero-scroll-cue-thumb,
  .hero-eyebrow-pulse {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-media-slide.active .hero-media-img {
    transform: none !important;
  }

  .hero-copy {
    opacity: 1 !important;
  }
}

.stats-section {
  position: relative;
  overflow: hidden;
  background-color: var(--footer);
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .stats-section {
    padding: 6rem 0;
  }

  stats-container {
    padding: 0 2.5rem;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 0;
  }
}

.stats-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}



/* ==========================================
   Principal Message Section
   ========================================== */
/* ==========================================================================
   Principal Message Ã¢â‚¬â€ Editorial Storytelling
   ========================================================================== */
.principal-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 12% 18%, rgba(var(--primary-rgb), 0.15) 0%, transparent 65%),
    radial-gradient(70% 60% at 88% 82%, rgba(var(--primary-rgb), 0.14) 0%, transparent 60%),
    linear-gradient(165deg, var(--primary-light) 0%, #eef6e8 68%, var(--primary-light) 100%);
  color: var(--text);
  padding: 5.5rem 0 6.5rem;
  z-index: 10;
}

@media (min-width: 1024px) {
  .principal-section {
    padding: 3rem 0 3rem;
  }
}

.principal-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(var(--ink-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink-rgb), 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 40% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, black 20%, transparent 75%);
  opacity: 0.7;
  will-change: transform;
}

.principal-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: clamp(32rem, 62vw, 42rem);
}

@media (min-width: 1024px) {
  .principal-stage {
    padding: 0 2.5rem;
  }
}

.principal-backdrop-text {
  /* Alias of shared Credentials backdrop line � positioned top-left */
  position: absolute;
  left: 4%;
  right: auto;
  top: 6%;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--primary-rgb), 0.16);
  will-change: transform;
  transition: none;
  text-align: left;
}

@media (min-width: 1024px) {
  .principal-backdrop-text {
    left: 4%;
    top: 6%;
  }
}

.principal-backdrop-text .backdrop-line,
.principal-backdrop-text .section-backdrop-line {
  display: block;
}

.principal-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: end;
  padding-top: 3.5rem;
}

@media (min-width: 900px) {
  .principal-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 7.5vw, 7.5rem);
  }
}

/* --- Visual column (portrait) --- */
.principal-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  will-change: transform;
}

@media (min-width: 900px) {
  .principal-visual {
    align-items: center;
    justify-self: start;
    transform: none !important;
  }
}

.principal-portrait-frame {
  position: relative;
  margin: 0;
  width: clamp(16.5rem, 46vw, 27rem);
  height: clamp(16.5rem, 46vw, 27rem);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.5), transparent 42%),
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.2), rgba(var(--ink-rgb), 0.14));
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 7px rgba(var(--primary-rgb), 0.16),
    0 28px 60px -24px rgba(var(--ink-rgb), 0.5);
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  transition:
    opacity 1s var(--ease-editorial),
    transform 1.1s var(--ease-editorial),
    box-shadow 0.6s var(--ease-editorial);
}

.principal-section.is-inview .principal-portrait-frame {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.principal-portrait-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.22) 0%, transparent 68%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-editorial) 0.2s;
}

.principal-section.is-inview .principal-portrait-glow {
  opacity: 1;
}

.principal-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

.principal-portrait-frame:hover {
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 7px rgba(var(--gold-rgb), 0.32),
    0 34px 70px -22px rgba(var(--ink-rgb), 0.55);
}

.principal-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-editorial);
  will-change: transform;
}

.principal-section.is-inview .principal-portrait-img {
  transform: scale(1);
}

.principal-portrait-frame:hover .principal-portrait-img {
  transform: scale(1.05);
}

.principal-identity {
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-editorial) 0.28s, transform 0.8s var(--ease-editorial) 0.28s;
}

.principal-section.is-inview .principal-identity {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .principal-identity {
    text-align: center;
    padding-left: 0.75rem;
  }
}

.principal-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.principal-role {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(var(--primary-rgb), 0.75);
}

/* --- Narrative column --- */
.principal-narrative {
  position: relative;
  z-index: 2;
  max-width:50rem;
  margin: 0 auto;
  will-change: transform;
}

@media (min-width: 900px) {
  .principal-narrative {
    margin: 0;
    justify-self: end;
    padding-top: 1rem;
  }
}

.principal-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-editorial),
    transform 0.9s var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}

.principal-section.is-inview .principal-reveal {
  opacity: 1;
  transform: translateY(0);
}

.principal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 3.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.principal-eyebrow-rule {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left center;
  transform: scaleX(0.35);
  transition: transform 0.9s var(--ease-editorial) 0.1s;
}

.principal-section.is-inview .principal-eyebrow-rule {
  transform: scaleX(1);
}

.principal-quote {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text);
}

.principal-quote p{
  margin-bottom: 1.5rem;
}

.principal-quote-mark {
  position: absolute;
  left: -0.12em;
  top: -0.32em;
  font-size: 3.4em;
  line-height: 1;
  color: rgba(var(--primary-rgb), 0.12);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
  user-select: none;
}

.principal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 28px -14px rgba(var(--accent-rgb), 0.45);
  transition: transform 0.3s var(--ease-editorial),
    background-color 0.3s var(--ease-editorial),
    box-shadow 0.3s var(--ease-editorial);
}

.principal-cta:hover,
.principal-cta:focus-visible {
  transform: translateY(-2px);
  background-color: var(--primary);
  box-shadow: 0 16px 32px -12px rgba(var(--primary-rgb), 0.4);
  outline: none;
}

.principal-cta:focus-visible {
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 4px var(--ring),
    0 16px 32px -12px rgba(var(--ink-rgb), 0.45);
}

.principal-cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-editorial);
}

.principal-cta:hover .principal-cta-arrow,
.principal-cta:focus-visible .principal-cta-arrow {
  transform: translateX(3px);
}

@media (max-width: 1023.98px) { 
  .principal-section {
    padding: 3.25rem 0 3.5rem;
  }

  .principal-stage {
    min-height: 0;
  }

  .principal-layout {
    gap: 1.75rem;
    padding-top: 0.35rem;
    align-items: start;
  }

  .principal-visual[data-parallax],
  .principal-narrative[data-parallax] {
    transform: none !important;
    will-change: auto;
  }

  .principal-portrait-frame {
    width: clamp(13.5rem, 42vw, 20rem);
    height: clamp(13.5rem, 42vw, 20rem);
  }

  .principal-eyebrow {
    margin-bottom: 1.15rem;
  }

  .principal-quote {
    padding-top: 0.7rem;
  }

  .principal-quote-mark {
    font-size: 2.15em;
    top: -0.12em;
  }

  .principal-cta {
    margin-top: 1.5rem;
  }
}

@media (min-width: 900px) and (max-width: 1023.98px) {
  .principal-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 1.6rem;
    padding-top: 0.5rem;
  }

  .principal-portrait-frame {
    width: clamp(13rem, 26vw, 17.5rem);
    height: clamp(13rem, 26vw, 17.5rem);
  }

  .principal-narrative {
    padding-top: 0;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .principal-backdrop-text,
  .principal-ambient,
  .principal-visual,
  .principal-narrative,
  .principal-portrait-frame,
  .principal-portrait-img,
  .principal-identity,
  .principal-reveal,
  .principal-eyebrow-rule,
  .principal-cta,
  .principal-cta-arrow {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }
}

/* ==========================================================================
   Credentials Ã¢â€ â€™ Why Story Bridge (sticky layered transition)
   ========================================================================== */
.story-bridge {
  position: relative;
  isolation: isolate;
  z-index: 1;
}

.story-bridge-sticky {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .story-bridge-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
}

/* ==========================================================================
   Shared section backdrop line (Credentials reference)
   ========================================================================== */
.section-backdrop,
.trust-backdrop {
  position: absolute;
  right: 4%;
  top: 6%;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--primary-rgb), 0.12);
  will-change: transform;
}

.section-backdrop-line,
.trust-backdrop-line {
  display: block;
}

/* Light paper surfaces � same stroke weight / technique, ink-readable */
.section-backdrop--ink {
  -webkit-text-stroke: 1.5px rgba(var(--primary-rgb), 0.14);
}

.section-backdrop--primary {
  -webkit-text-stroke: 1.5px rgba(var(--primary-rgb), 0.16);
}

.section-backdrop--tl {
  left: auto;
    right: 4%;
    top: -30px;
    text-align: right;
    font-size: 6rem;
}

.section-backdrop--tr {
  left: auto;
  right: 4%;
  top: 2%;
  text-align: right;
}

.section-backdrop--bl {
  right: auto;
  left: 4%;
  top: auto;
  bottom: 8%;
  text-align: left;
}

.section-backdrop--br {
  left: auto;
  right: 4%;
  top: auto;
  bottom: 8%;
  text-align: right;
}

.section-backdrop--mr {
  left: auto;
  right: 3%;
  top: 42%;
  text-align: right;
}

.section-backdrop--ml {
  right: auto;
  left: 3%;
  top: 40%;
  text-align: left;
}

@media (max-width: 767px) {
  .section-backdrop,
  .trust-backdrop {
    font-size: clamp(3.25rem, 18vw, 5.5rem);
    opacity: 0.9;
  }

  .section-backdrop--mr,
  .section-backdrop--ml {
    top: 8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-backdrop,
  .trust-backdrop {
    will-change: auto;
    transform: none !important;
  }
}

/* ==========================================================================
   Credentials & Trust Strip Ã¢â‚¬â€ Interactive Layered Rail
   ========================================================================== */
.trust-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 6% 0%, rgba(var(--primary-rgb), 0.05) 0%, transparent 55%),
    radial-gradient(50% 45% at 96% 100%, rgba(var(--accent-rgb), 0.04) 0%, transparent 52%),
    var(--paper);
  color: var(--text);
  padding: 4.5rem 0 5.25rem;
  z-index: 1;
  transform-origin: center center;
  will-change: transform, opacity;
}

@media (min-width: 900px) {
  .trust-strip {
    height: 100%;
    min-height: 100vh;
    max-height: 100vh;
    padding: clamp(4.5rem, 8vh, 6.25rem) 0 clamp(3.5rem, 7vh, 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  .trust-strip {
    padding: 3.25rem 0 2.75rem;
  }

  .trust-header {
    margin-bottom: 1.75rem;
  }

  .trust-continuum {
    display: none;
  }

  .trust-rail {
    min-height: 13rem;
  }
}

.trust-strip.is-recessed {
  pointer-events: none;
}

.trust-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 15%, transparent 72%);
  opacity: 0.85;
  will-change: transform;
}

.trust-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  will-change: transform;
}

.trust-glow--left {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  left: -8%;
  top: 10%;
  background: rgba(var(--primary-rgb), 0.16);
}

.trust-glow--right {
  width: min(36vw, 22rem);
  height: min(36vw, 22rem);
  right: -6%;
  bottom: 5%;
  background: rgba(var(--gold-rgb), 0.16);
}

.trust-year-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6%;
  z-index: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(7rem, 22vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--primary-rgb), 0.08);
  will-change: transform;
}

.trust-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .trust-stage {
    padding: 0 2.5rem;
  }
}

.trust-header {
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.trust-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-whisper);
}

.trust-eyebrow-rule {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left center;
  transform: scaleX(0.35);
  transition: transform 0.9s var(--ease-editorial) 0.1s;
}

.trust-strip.is-inview .trust-eyebrow-rule {
  transform: scaleX(1);
}

.trust-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
}

@media (min-width: 900px) {
  .trust-header-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.trust-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
}

.trust-lede {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.65;
  color: var(--text);
}

@media (min-width: 900px) {
  .trust-lede {
    padding-bottom: 0.35rem;
  }
}

/* --- Interactive expandable rail --- */
.trust-rail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  perspective: 1200px;
}

@media (min-width: 900px) {
  .trust-rail {
    flex-direction: row;
    align-items: stretch;
    gap: 0.85rem;
    min-height: clamp(14.5rem, 22vw, 17.5rem);
  }
}

.trust-panel {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 10.5rem;
  padding: 1.25rem 1.25rem 1.2rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: calc(var(--radius) + 0.15rem);
  background: var(--paper);
  box-shadow: 0 18px 40px -28px rgba(var(--ink-rgb), 0.35);
  outline: none;
  opacity: 0;
  transform: translate3d(0, 92px, 0) scale(0.96);
  filter: blur(1.5px);
  will-change: transform, opacity, filter;
  transition:
    flex 0.65s var(--ease-editorial),
    background 0.45s var(--ease-editorial),
    border-color 0.45s var(--ease-editorial),
    box-shadow 0.45s var(--ease-editorial);
}

.trust-panel.is-rising {
  animation: trustPanelSpring 1.05s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
}

.trust-panel.is-settled {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
  animation: none;
  will-change: auto;
}

@keyframes trustPanelSpring {
  0% {
    opacity: 0;
    transform: translate3d(0, 96px, 0) scale(0.95);
    filter: blur(2px);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  70% {
    transform: translate3d(0, -7px, 0) scale(1.015);
  }
  84% {
    transform: translate3d(0, 2.5px, 0) scale(0.996);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (min-width: 900px) {
  .trust-panel {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 1.35rem 1.3rem 1.25rem;
  }

  .trust-rail:has(.trust-panel:hover) .trust-panel,
  .trust-rail:has(.trust-panel:focus-visible) .trust-panel,
  .trust-rail:has(.trust-panel.is-active) .trust-panel {
    flex: 0.72 1 0;
  }

  .trust-panel:hover,
  .trust-panel:focus-visible,
  .trust-panel.is-active {
    flex: 1.85 1 0;
  }

  /* Prefer hover/focus over pinned active when interacting */
  .trust-rail:has(.trust-panel:hover) .trust-panel.is-active:not(:hover),
  .trust-rail:has(.trust-panel:focus-visible) .trust-panel.is-active:not(:focus-visible) {
    flex: 0.72 1 0;
  }
}

.trust-panel:nth-child(1) {
  --panel-accent: var(--primary);
  --panel-accent-rgb: var(--primary-rgb);
}

.trust-panel:nth-child(2) {
  --panel-accent: var(--accent);
  --panel-accent-rgb: var(--accent-rgb);
}

.trust-panel:nth-child(3) {
  --panel-accent: var(--primary);
  --panel-accent-rgb: var(--primary-rgb);
}

.trust-panel:nth-child(4) {
  --panel-accent: var(--accent);
  --panel-accent-rgb: var(--accent-rgb);
}

.trust-panel:hover,
.trust-panel:focus-visible,
.trust-panel.is-active {
  border-color: rgba(var(--panel-accent-rgb), 0.4);
  background:
    radial-gradient(120% 90% at var(--spot-x, 50%) var(--spot-y, 20%), rgba(var(--panel-accent-rgb), 0.16), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 48px -28px rgba(0, 0, 0, 0.55);
}

.trust-panel:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 2px var(--ink),
    0 0 0 4px rgba(var(--gold-rgb), 0.7),
    0 24px 48px -28px rgba(0, 0, 0, 0.55);
}

.trust-panel-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
    rgba(var(--panel-accent-rgb), 0.2),
    transparent 55%
  );
  transition: opacity 0.35s var(--ease-editorial);
  z-index: 0;
}

.trust-panel:hover .trust-panel-spotlight,
.trust-panel:focus-visible .trust-panel-spotlight,
.trust-panel.is-active .trust-panel-spotlight {
  opacity: 1;
}

.trust-panel-watermark {
  position: absolute;
  right: -0.1em;
  bottom: -0.22em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 10vw, 8.5rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.45s var(--ease-editorial), opacity 0.45s;
}

.trust-panel:hover .trust-panel-watermark,
.trust-panel:focus-visible .trust-panel-watermark,
.trust-panel.is-active .trust-panel-watermark {
  -webkit-text-stroke-color: rgba(var(--panel-accent-rgb), 0.22);
}

.trust-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.trust-panel-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--panel-accent, var(--gold));
  border: 1px solid rgba(var(--panel-accent-rgb, var(--gold-rgb)), 0.35);
  background: rgba(var(--panel-accent-rgb, var(--gold-rgb)), 0.08);
  transition:
    transform 0.5s var(--ease-editorial),
    border-color 0.45s var(--ease-editorial),
    background-color 0.45s var(--ease-editorial),
    color 0.45s var(--ease-editorial);
}

.trust-panel-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.trust-panel:hover .trust-panel-icon,
.trust-panel:focus-visible .trust-panel-icon,
.trust-panel.is-active .trust-panel-icon {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(var(--panel-accent-rgb), 0.7);
  background: rgba(var(--panel-accent-rgb), 0.16);
}

.trust-panel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
}

.trust-panel-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.trust-panel-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  transition: color 0.4s var(--ease-editorial);
}

.trust-panel-value--num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}

.trust-panel-value--stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
}

.trust-value-sep {
  color: var(--gold);
  font-weight: 400;
  opacity: 0.85;
}

.trust-panel:hover .trust-panel-value,
.trust-panel:focus-visible .trust-panel-value,
.trust-panel.is-active .trust-panel-value {
  color: var(--primary);
}

.trust-panel-meta {
  margin: 0.35rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.92;
  transform: translateY(0);
  transition:
    opacity 0.45s var(--ease-editorial),
    transform 0.45s var(--ease-editorial),
    max-height 0.45s var(--ease-editorial);
}

@media (min-width: 900px) {
  .trust-panel-meta {
    max-height: 0;
    opacity: 0;
    transform: translateY(12px);
    overflow: hidden;
    pointer-events: none;
  }

  .trust-panel:hover .trust-panel-meta,
  .trust-panel:focus-visible .trust-panel-meta,
  .trust-panel.is-active .trust-panel-meta {
    max-height: 8rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.trust-panel-spine {
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--panel-accent, var(--gold)), transparent);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity 0.45s var(--ease-editorial), transform 0.55s var(--ease-editorial);
  z-index: 2;
}

.trust-panel:hover .trust-panel-spine,
.trust-panel:focus-visible .trust-panel-spine,
.trust-panel.is-active .trust-panel-spine {
  opacity: 1;
  transform: scaleY(1);
}

/* Continuum footer */
.trust-continuum {
  position: relative;
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 0 0.35rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s var(--ease-editorial),
    transform 0.8s var(--ease-editorial);
}

.trust-strip.is-sequence-complete .trust-continuum {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .trust-continuum {
    display: flex;
  }
}

.trust-continuum-track {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  top: 0.4rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2) 12%,
    rgba(255, 255, 255, 0.2) 88%,
    transparent
  );
}

.trust-continuum-node {
  position: relative;
  z-index: 1;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: scale(0.7);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-editorial),
    background-color 0.45s,
    opacity 0.5s var(--ease-editorial);
}

.trust-strip.is-sequence-complete .trust-continuum-node {
  opacity: 1;
  transform: scale(1);
}

.trust-strip.is-sequence-complete .trust-continuum-node:nth-child(2) { transition-delay: 0.05s; }
.trust-strip.is-sequence-complete .trust-continuum-node:nth-child(3) { transition-delay: 0.15s; }
.trust-strip.is-sequence-complete .trust-continuum-node:nth-child(4) { transition-delay: 0.25s; }
.trust-strip.is-sequence-complete .trust-continuum-node:nth-child(5) { transition-delay: 0.35s; }

.trust-continuum-node.is-lit {
  background: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.8);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.15);
}

.trust-continuum-caption {
  position: absolute;
  left: 50%;
  top: 1.45rem;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.trust-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-editorial),
    transform 0.85s var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}

.trust-strip.is-inview .trust-reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .trust-backdrop,
  .trust-ambient,
  .trust-glow,
  .trust-year-mark,
  .trust-panel,
  .trust-reveal,
  .trust-eyebrow-rule,
  .trust-panel-icon,
  .trust-panel-spine,
  .trust-panel-meta,
  .trust-panel-spotlight,
  .trust-continuum,
  .trust-continuum-node {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
    max-height: none !important;
  }

  .trust-panel-meta {
    overflow: visible !important;
  }

  @media (min-width: 900px) {
    .trust-rail:has(.trust-panel:hover) .trust-panel,
    .trust-rail:has(.trust-panel:focus-visible) .trust-panel,
    .trust-rail:has(.trust-panel.is-active) .trust-panel,
    .trust-panel:hover,
    .trust-panel:focus-visible,
    .trust-panel.is-active {
      flex: 1 1 0 !important;
    }
  }
}

/* ==========================================================================
   Why This School Ã¢â‚¬â€ Full-width Scroll Storytelling Cards
   ========================================================================== */
.why-school {
  position: relative;
  z-index: 2;
  overflow: visible;
  background:
    radial-gradient(70% 50% at 92% 0%, rgba(var(--paper-rgb), 0.08), transparent 55%),
    radial-gradient(42% 36% at 0% 100%, rgba(var(--accent-rgb), 0.18), transparent 58%),
    var(--primary);
  color: var(--paper);
  padding: 0 0 0;
  box-shadow: 0 -28px 64px -20px rgba(0, 0, 0, 0.45);
}

.why-school .section-backdrop {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .why-school {
    border-radius:0;
  }
}

.why-school-lift {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.45), transparent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 5;
}

.why-stage {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2.5rem;
}

@media (min-width: 1024px) {
  .why-stage {
    padding: 6rem 2.5rem 3rem;
  }
}

.why-header {
  max-width: none;
}

.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
}

.why-eyebrow-rule {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left center;
  transform: scaleX(0.35);
  transition: transform 0.9s var(--ease-editorial) 0.1s;
}

.why-school.is-inview .why-eyebrow-rule {
  transform: scaleX(1);
}

.why-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.why-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-editorial),
    transform 0.9s var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}

.why-school.is-inview .why-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sticky layered story cards --- */
.why-stories {
  position: relative;
  z-index: 1;
}

.why-story {
  position: sticky;
  top: 0;
  height: 100dvh;
  z-index: calc(1 + var(--story-index, 0));
  overflow: hidden;
  will-change: transform, opacity, filter;
}

.why-story-pin {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  transform-origin: center center;
  box-shadow: 0 -24px 48px -20px rgba(0, 0, 0, 0.35);
}

.why-story-media {
  position: absolute;
  inset: -4%;
  z-index: 0;
  will-change: transform;
}

.why-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  will-change: transform;
}

.why-story-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(var(--primary-rgb), 0.78) 0%,
      rgba(var(--primary-rgb), 0.48) 28%,
      rgba(var(--primary-rgb), 0.18) 52%,
      rgba(var(--accent-rgb), 0.12) 72%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(var(--primary-rgb), 0.4) 0%, transparent 40%);
  transition: opacity 0.45s var(--ease-editorial);
}

.why-story-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100% - 2.5rem, 30rem);
  margin: 0 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(35, 31, 32, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px -28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  color: var(--paper);
  opacity: 0;
  transform: translate3d(-24px, 16px, 0);
  transition:
    opacity 0.75s var(--ease-editorial),
    transform 0.75s var(--ease-editorial);
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .why-story-panel {
    margin-left: clamp(1.5rem, 6vw, 5rem);
    margin-right: auto;
    padding: 2.15rem 2rem;
    width: min(100% - 4rem, 34rem);
  }
}

.why-story.is-active .why-story-panel,
.why-story.is-focused .why-story-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.why-story.is-recessed .why-story-panel {
  opacity: 0.35;
  transform: translate3d(-12px, 8px, 0) scale(0.98);
}

.why-story.is-recessed .why-story-veil {
  opacity: 0.7;
}

.why-story-label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}

.why-story-heading {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--paper);
  max-width: 16ch;
}

.why-story-text {
  margin: 0 0 1.65rem;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.why-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s var(--ease-editorial),
    background-color 0.3s var(--ease-editorial),
    color 0.3s var(--ease-editorial);
}

.why-story-cta:hover,
.why-story-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--paper);
  outline: none;
}

.why-story-cta:focus-visible {
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 4px var(--gold-whisper);
}

.why-story-cta span:last-child {
  display: inline-block;
  transition: transform 0.3s var(--ease-editorial);
}

.why-story-cta:hover span:last-child,
.why-story-cta:focus-visible span:last-child {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .why-story {
    position: relative;
    height: auto;
    min-height: 85dvh;
    will-change: auto;
  }

  .why-story-pin {
    min-height: 85dvh;
    box-shadow: none;
  }

  .why-story-media {
    inset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-bridge-sticky {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .trust-strip {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }

  .why-school {
    border-radius: 0 !important;
  }

  .why-reveal,
  .why-eyebrow-rule,
  .why-story,
  .why-story-pin,
  .why-story-media,
  .why-story-media img,
  .why-story-panel,
  .why-story-veil,
  .why-story-cta,
  .why-story-cta span:last-child {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
  }

  .why-story {
    position: relative;
    height: auto;
    min-height: 70vh;
  }

  .why-story-pin {
    min-height: 70vh;
  }
}

/* ==========================================
   Curriculum Pioneer Component
   ========================================== */
.pioneer-section {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  color: var(--diamond-navy);
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .pioneer-section {
    padding: 3.5rem 0;
  }
}

.pioneer-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 85% 10%, rgba(36, 61, 148, 0.45), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(177, 31, 40, 0.25), transparent 70%);
}

.pioneer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .pioneer-container {
    padding: 0 3rem;
  }
}

.section-masthead {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-end;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-masthead {
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
  }
}

.eyebrow-accent {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accent-rule {
  height: 1px;
  width: 48px;
  background-color: var(--coral);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  margin-top: 1rem;
}

.masthead-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: 500px;
}

/* ==========================================
   Horizontal Expanding Accordion (Pioneer Framework)
   ========================================== */
.pioneer-tabs-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .pioneer-tabs-layout {
    flex-direction: row;
    align-items: stretch;
    height: 550px;
    gap: 3rem;
  }
}

/* Tabs Navigation */
.pioneer-tabs-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .pioneer-tabs-nav {
    flex-direction: column;
    overflow-x: visible;
    width: 320px;
    flex-shrink: 0;
    padding-bottom: 0;
    gap: 0.5rem;
  }
}

.pioneer-tab-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .pioneer-tab-btn {
    white-space: normal;
    padding: 1.25rem 1.5rem;
  }
}

.pioneer-tab-btn:hover {
  background: rgba(36, 61, 148, 0.05);
  color: var(--diamond-navy);
}

.pioneer-tab-btn.active {
  background: var(--diamond-navy);
  color: var(--ivory);
  box-shadow: 0 10px 30px rgba(36, 61, 148, 0.15);
}

.tab-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.pioneer-tab-btn.active .tab-num {
  opacity: 1;
  color: var(--coral);
}

/* Tabs Content */
.pioneer-tabs-content {
  position: relative;
  flex-grow: 1;
  min-height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(36, 61, 148, 0.1);
}

.pioneer-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
  z-index: 1;
}

.pioneer-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.panel-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  transform: translateY(0) scale(1.05);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.pioneer-panel.active .panel-bg {
  /* Subtle Parallax/Zoom on active */
  transform: translateY(0) scale(1);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--footer-rgb), 0) 0%, rgba(var(--footer-rgb), 0.55) 50%, rgba(var(--footer-rgb), 0.9) 100%);
}

.panel-icon-circle {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivory);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s, opacity 0.6s ease 0.3s;
}

.pioneer-panel.active .panel-icon-circle {
  transform: scale(1);
  opacity: 1;
}

.panel-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.panel-content .chapter-eyebrow {
  color: var(--coral);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.panel-content .panel-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.panel-content .panel-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.panel-content .panel-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.pioneer-panel.active .panel-content .chapter-eyebrow,
.pioneer-panel.active .panel-content .panel-title,
.pioneer-panel.active .panel-content .panel-description,
.pioneer-panel.active .panel-content .panel-meta-list {
  opacity: 1;
  transform: translateY(0);
}

.panel-content .meta-tag {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ivory);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* ==========================================
   Academic Excellence pathway component
   ========================================== */
.pathways-section {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  color: var(--diamond-navy);
  padding: 3.5rem 0;
}

@media (min-width: 1024px) {
  .pathways-section {
    padding: 4.5rem 0;
  }
}

.pathways-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 35% at 90% 15%, rgba(36, 61, 148, 0.35), transparent 70%),
    radial-gradient(45% 35% at 5% 95%, rgba(177, 31, 40, 0.12), transparent 70%);
}

.pathways-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .pathways-container {
    padding: 0 3rem;
  }
}

.section-masthead.spacing-bottom {
  margin-bottom: 2rem;
}

/* Desktop horizontal expanding gallery */
.pathways-accordion-desktop {
  display: none;
  height: 480px;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .pathways-accordion-desktop {
    display: flex;
  }
}

.pathway-accordion-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  flex: 1 1 0%;
  transition: flex 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pathway-accordion-card.active-card {
  flex: 3.5 1 0%;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pathway-accordion-card.active-card .card-bg-img {
  transform: scale(1.05);
}

.card-gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg,
      transparent 15%,
      rgba(var(--footer-rgb), 0.62) 60%,
      rgba(var(--footer-rgb), 0.9) 100%);
  z-index: 1;
}

.card-giant-num {
  position: absolute;
  right: -1rem;
  top: -2.5rem;
  user-select: none;
  font-family: var(--font-display);
  font-size: clamp(8rem, 12vw, 14rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 1;
}

/* Collapsed state title styling */
.collapsed-title-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  z-index: 2;
  transition: opacity 0.5s var(--ease-editorial);
  pointer-events: auto;
}

.pathway-accordion-card.active-card .collapsed-title-wrapper {
  opacity: 0;
  pointer-events: none;
}

.collapsed-title {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Expanded contents wrapper styling */
.card-expanded-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-editorial);
}

.pathway-accordion-card.active-card .card-expanded-content {
  opacity: 1;
  pointer-events: auto;
}

.pathway-badge {
  display: inline-block;
  align-self: flex-start;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
}

.border-coral {
  border-color: var(--coral);
}

.border-sky {
  border-color: var(--sky-blue);
}

.border-lime {
  border-color: var(--lime);
}

.border-plus {
  border-color: var(--premium-plus);
}

.bg-coral {
  background-color: var(--coral);
}

.bg-sky {
  background-color: var(--sky-blue);
}

.bg-lime {
  background-color: var(--lime);
}

.bg-plus {
  background-color: var(--premium-plus);
}

.pathway-accordion-card .pathway-title,
.pathways-section .pathway-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  color: var(--ivory);
  margin-top: 0.75rem;
}

.pathway-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.75rem;
  max-width: 560px;
}

.pathway-outcomes {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pathway-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.dot-coral {
  background-color: var(--coral);
}

.dot-sky {
  background-color: var(--sky-blue);
}

.dot-lime {
  background-color: var(--lime);
}

.dot-plus {
  background-color: var(--premium-plus);
}

.pathway-cta {
  align-self: flex-start;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease-editorial);
}

.pathway-cta:hover {
  filter: brightness(1.1);
}

.cta-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-editorial);
}

.pathway-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* Mobile stacked cards */
.pathways-accordion-mobile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pathways-accordion-mobile {
    display: none;
  }
}

.mobile-pathway-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-tile);
}

.mobile-card-visual {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
}

.mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-card-visual .pathway-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
}

.mobile-card-content {
  background-color: var(--deep-navy);
  padding: 2rem;
}

.mobile-card-content .pathway-title {
  font-size: 24px;
}

/* ==========================================
   Life at SRI (Layered Card Parallax Redesign)
   ========================================== */
.life-parallax-section {
  position: relative;
  background-color: var(--ivory);
  padding: 4rem 0;
  z-index: 10;
}

@media (min-width: 1024px) {
  .life-parallax-section {
    padding: 0;
    height: 400vh;
    /* Scroll distance */
  }
}

.life-parallax-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .life-parallax-container {
    padding: 0 3rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
}

.life-cards-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .life-cards-stack {
    margin-top: 2rem;
    gap: 0;
    min-height: 450px;
    display: block;
  }
}

.life-card {
  position: relative;
  background-color: var(--paper);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 6px solid transparent;
  will-change: transform, opacity;
  transform-origin: center top;
}

@media (min-width: 1024px) {
  .life-card {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    flex-direction: row;
    align-items: stretch;
    min-height: 450px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  }

  .life-card:nth-child(1) {
    z-index: 10;
  }

  .life-card:nth-child(2) {
    z-index: 15;
    transform: translateY(100vh);
  }

  .life-card:nth-child(3) {
    z-index: 20;
    transform: translateY(100vh);
  }

  .life-card:nth-child(4) {
    z-index: 25;
    transform: translateY(100vh);
  }

  .life-card:nth-child(5) {
    z-index: 30;
    transform: translateY(100vh);
  }
}

/* Accents (Left-edge color band) */
.life-card.card-accent-premium {
  border-left-color: var(--premium-plus);
}

.life-card.card-accent-navy {
  border-left-color: var(--diamond-navy);
}

.life-card.card-accent-lime {
  border-left-color: var(--lime);
}

.life-card.card-accent-coral {
  border-left-color: var(--coral);
}

.life-card.outro-card {
  border-left-color: var(--diamond-navy);
}

/* Layout parts */
.life-card-content {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .life-card-content {
    padding: 3rem;
  }
}

.life-card-visual {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .life-card-visual {
    width: 45%;
    height: auto;
  }
}

.life-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-editorial);
}

.life-card:hover .life-card-visual img {
  transform: scale(1.05);
}

/* Content Details */
.moment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.moment-meta p.chapter-eyebrow {
  opacity: 0.6;
  color: var(--deep-navy);
  margin-bottom: 0;
}

.moment-kind {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
}

.moment-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.moment-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.7);
}

.moment-tags {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 1.5rem;
  color: var(--deep-navy);
  opacity: 0.6;
}

/* Outro stat strip inside the card stack */
.life-card.outro-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .life-card.outro-card {
    flex-direction: row;
    align-items: center;
  }
}

.outro-stats {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.outro-percent {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--coral);
}

.outro-kicker-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--paper-rgb), 0.72);
  max-width: 240px;
  line-height: 1.4;
}

/* interactive button already exists but I'll add if missing, wait it's already there in other parts. Let me ensure it's not overriding */

/* ==========================================
   InfoAccordion Component
   ========================================== */
.indexed-section {
  background-color: var(--footer);
  color: var(--ivory);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .indexed-section {
    padding: 3.5rem 0;
  }
}

.indexed-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

@media (min-width: 1024px) {
  .indexed-container {
    padding: 0 3rem;
  }
}

.indexed-masthead {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-end;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .indexed-masthead {
    grid-template-columns: 7fr 5fr;
  }
}

.lime-text {
  color: var(--lime);
}

.lime-text-highlight {
  color: rgba(177, 31, 40, 0.9);
}

.text-ivory-dim {
  color: rgba(255, 255, 255, 0.7);
}

.indexed-panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .indexed-panels-grid {
    grid-template-columns: 3.5fr 8.5fr;
    gap: 2.5rem;
  }
}

/* Vertical selector navigation */
.indexed-tabs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.indexed-tabs-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.indexed-tabs-list li:last-child {
  border-bottom: none;
}

.indexed-tab-trigger {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-editorial);
}

.indexed-tab-trigger:hover {
  color: var(--ivory);
  padding-left: 1.75rem;
}

.indexed-tab-trigger.active {
  color: var(--ivory);
  padding-left: 1.75rem;
}

.tab-indicator-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background-color: var(--lime);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-editorial);
}

.indexed-tab-trigger.active .tab-indicator-bar {
  transform: scaleY(1);
}

.tab-num {
  font-family: var(--font-display);
  font-size: 14px;
  transition: color 0.4s var(--ease-editorial);
  margin-top: 0.2rem;
}

.indexed-tab-trigger.active .tab-num {
  color: var(--lime);
}

.tab-meta-col {
  flex-grow: 1;
}

.tab-heading {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

@media (min-width: 768px) {
  .tab-heading {
    font-size: 23px;
  }
}

.tab-subtext {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-top: 0.5rem;
}

.tab-arrow-icon {
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  margin-top: 0.2rem;
  transition: transform 0.4s var(--ease-editorial),
    opacity 0.4s var(--ease-editorial);
}

.indexed-tab-trigger.active .tab-arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Detail cards content layout */
.indexed-content-panel {
  position: relative;
  overflow: visible;
}

.indexed-content-panel::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -15%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 31, 40, 0.06) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.indexed-content-panel::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 61, 148, 0.05) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.indexed-brief-card {
  display: none;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(5, 17, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .indexed-brief-card {
    padding: 2rem 2.5rem;
  }
}

.indexed-brief-card.active {
  display: block;
  animation: cardEntry 0.6s var(--ease-editorial) forwards;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brief-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--lime);
  text-shadow: 0 0 15px rgba(177, 31, 40, 0.2);
}

.brief-line {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
}

.brief-kind {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
}

.brief-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-top: 1rem;
  color: var(--ivory);
  font-weight: 500;
}

.brief-lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: rgba(36, 61, 148, 0.95);
  margin-top: 0.75rem;
  font-weight: 500;
}

.brief-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.75rem;
}

.brief-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  border: none;
  padding: 0;
}

.brief-stat-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  padding: 1rem;
  transition: all 0.4s var(--ease-editorial);
}

.brief-stat-block:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(177, 31, 40, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.brief-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--lime);
  text-shadow: 0 0 15px rgba(177, 31, 40, 0.15);
}

.brief-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.brief-footer-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .brief-footer-grid {
    grid-template-columns: 3.5fr 2.5fr;
  }
}

.brief-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.brief-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  transition: all 0.3s ease;
}

.brief-highlights-list li:hover {
  color: var(--ivory);
  transform: translateX(4px);
}

.brief-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: var(--lime);
  margin-top: 0.45rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.brief-highlights-list li:hover .brief-dot {
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--lime);
}

.brief-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--paper);
  padding: 0.85rem 1.6rem;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s var(--ease-editorial);
  box-shadow: 0 4px 12px rgba(177, 31, 40, 0.15);
}

@media (min-width: 768px) {
  .brief-cta-btn {
    justify-self: flex-end;
  }
}

.brief-cta-btn:hover {
  background-color: var(--ivory);
  color: var(--diamond-navy);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.15);
}

.brief-arrow-circle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--diamond-navy);
  color: var(--ivory);
  transition: transform 0.3s var(--ease-editorial);
}

.brief-cta-btn:hover .brief-arrow-circle {
  transform: translateX(4px);
}

/* ==========================================
   News & Social Component Layouts
   ========================================== */
.news-section {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  color: var(--diamond-navy);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .news-section {
    padding: 4rem 0;
  }
}

.news-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 40% at 10% 20%, rgba(177, 31, 40, 0.1) 0%, transparent 70%),
    radial-gradient(45% 35% at 90% 80%, rgba(36, 61, 148, 0.18), transparent 70%);
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

@media (min-width: 1024px) {
  .news-container {
    padding: 0 3rem;
  }
}

.masthead-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  margin-top: 1.5rem;
}

.masthead-link:hover {
  color: var(--coral);
}

.diagonal-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-editorial);
}

.masthead-link:hover .diagonal-arrow {
  transform: translate(2px, -2px);
}

/* Bento Grid */
.news-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .news-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-news-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
}

.bento-visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-editorial);
}

.bento-news-card:hover .bento-img {
  transform: scale(1.05);
}

.bento-dark-gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, transparent 40%, rgba(35, 31, 32, 0.85) 100%);
}

.bento-badge-container {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  z-index: 5;
}

@media (min-width: 768px) {
  .bento-badge-container {
    left: 1.75rem;
    top: 1.75rem;
  }
}

.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.badge-icon {
  width: 14px;
  height: 14px;
}

.bento-text-content {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 5;
  color: var(--ivory);
}

@media (min-width: 768px) {
  .bento-text-content {
    left: 1.75rem;
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

.text-ivory-dim {
  color: rgba(255, 255, 255, 0.7);
}

.bento-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory);
  margin-top: 0.75rem;
}

.bento-body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.75rem;
  max-width: 500px;
}

/* Featured story specifications */
.featured-card {
  min-height: 300px;
}

@media (min-width: 768px) {
  .featured-card {
    grid-column: span 2;
    min-height: 506px;
  }
}

@media (min-width: 1024px) {
  .featured-card {
    grid-row: span 1;
    height: auto;
    max-height: 250px;
  }
}

.featured-card .bento-title {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.1;
  max-width: 600px;
}

.story-play-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background-color: var(--ivory);
  color: var(--diamond-navy);
  padding: 0.9rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease-editorial);
}

.story-play-btn:hover {
  background-color: var(--premium-plus);
}

.play-arrow-small {
  display: inline-block;
  color: inherit;
}

/* Save the Date Event Card details */
.event-card {
  padding: 2rem;
  justify-content: space-between;
  box-shadow: var(--shadow-tile);
  transition: all 0.5s var(--ease-editorial);
}

@media (min-width: 1024px) {
  .event-card {
    padding: 2.5rem;
  }
}

.event-card:hover {
  transform: translateY(-4px);
}

.bg-ivory-translucent {
  background-color: rgba(255, 255, 255, 0.15);
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-top: 1.5rem;
}

.event-time {
  font-size: 14px;
  font-weight: 500;
  margin-top: 0.75rem;
  opacity: 0.9;
}

.event-card-bottom {
  margin-top: 2.5rem;
}

.event-description {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.event-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--ivory);
  color: var(--diamond-navy);
  padding: 0.9rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2rem;
  transition: all 0.3s var(--ease-editorial);
}

.event-cta-btn:hover {
  background-color: var(--premium-plus);
}

.diagonal-arrow-small {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-editorial);
}

.event-cta-btn:hover .diagonal-arrow-small {
  transform: translate(2px, -2px);
}

/* Achievement and other news items layout */
.achievement-card {
  min-height: 260px;
  box-shadow: var(--shadow-tile);
  transition: all 0.5s var(--ease-editorial);
}

@media (min-width: 1024px) {
  .achievement-card {
    min-height: 220px;
    height: auto;
  }

  .event-card {
    min-height: 220px;
  }

  .text-cta-card {
    grid-column: span 2;
  }
}

.achievement-card:hover {
  transform: translateY(-4px);
}

.read-story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--premium-plus);
  margin-top: 1rem;
}

.read-story-link:hover {
  color: var(--ivory);
}

.read-story-link:hover .diagonal-arrow-small {
  transform: translate(2px, -2px);
}

/* CTA Card */
.text-cta-card {
  background-color: var(--accent);
  color: var(--ivory);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-tile);
  transition: all 0.5s var(--ease-editorial);
}

@media (min-width: 1024px) {
  .text-cta-card {
    padding: 2.5rem;
  }
}

.text-cta-card:hover {
  transform: translateY(-4px);
}

.cta-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.cta-round-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--ivory);
  margin-top: 2rem;
  transition: all 0.5s var(--ease-editorial);
}

.text-cta-card:hover .cta-round-btn {
  border-color: var(--paper);
  background-color: var(--paper);
  color: var(--accent);
}

.cta-round-btn .diagonal-arrow {
  width: 20px;
  height: 20px;
}

/* ==========================================
   Student Testimonials Component
   ========================================== */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background-color: var(--deep-navy);
  color: var(--ivory);
  padding: 3.5rem 0;
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 4rem 0;
  }
}

.testimonials-ambient {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  background: radial-gradient(60% 45% at 15% 20%, rgba(var(--primary-rgb), 0.12) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 80%, rgba(177, 31, 40, 0.18) 0%, transparent 65%);
}

.testimonials-top-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .testimonials-container {
    padding: 0 2.5rem;
  }
}

.testimonial-slider-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .testimonial-slider-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }
}

/* Portrait column */
.slider-visual-col {
  width: 100%;
}

.visual-aspect-box {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(var(--footer-rgb), 0.55);
}

@media (min-width: 1024px) {
  .visual-aspect-box {
    aspect-ratio: 1/0.8;
  }
}

.testimonials-images-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--ease-editorial),
    transform 0.55s var(--ease-editorial);
}

.slider-portrait.active {
  opacity: 1;
  transform: scale(1);
}

.portrait-overlay {
  position: absolute;
  inset: 0;
}

.portrait-tag-overlay {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 5;
}

.tag-box-wrapper {
  position: relative;
  min-height: 52px;
}

.recent-achievement-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 31, 32, 0.6);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-editorial),
    transform 0.45s var(--ease-editorial);
}

.recent-achievement-chip.active {
  opacity: 1;
  transform: translateY(0);
}

.chip-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  font-weight: 500;
}

.chip-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
}

/* Quote texts layout */
.slider-content-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-content-wrapper {
  position: relative;
}

.quote-svg-icon {
  color: rgba(177, 31, 40, 0.8);
}

.svg-quote {
  width: 48px;
  height: 48px;
}

.quotes-texts-container {
  position: relative;
  margin-top: 1rem;
  min-height: 220px;
}

@media (min-width: 768px) {
  .quotes-texts-container {
    min-height: 180px;
  }
}

.testimonial-blockquote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-editorial),
    transform 0.5s var(--ease-editorial);
}

.testimonial-blockquote.active {
  opacity: 1;
  transform: translateY(0);
}

.quote-body-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.3;
}

.quote-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.author-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--ivory);
}

.author-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.footer-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.15);
}

.author-years {
  font-size: 14px;
  color: rgba(36, 61, 148, 0.85);
}

/* Slider indicators and controls */
.testimonial-slider-controls {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.dot-tab-small {
  position: relative;
  height: 8px;
  width: 20px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: width 0.5s var(--ease-editorial);
}

.dot-tab-small.active {
  width: 44px;
}

.dot-tab-fill {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-editorial);
}

.dot-tab-small.active .dot-tab-fill {
  transform: scaleX(1);
}

.counter-label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 0.5rem;
}

.arrow-btn-small {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ivory);
  transition: all 0.3s var(--ease-editorial);
}

.arrow-btn-small:hover {
  border-color: var(--lime);
  background-color: var(--lime);
  color: var(--deep-navy);
}

.arrow-btn-small svg {
  transition: transform 0.3s var(--ease-editorial);
}

.arrow-btn-small#prev-testimonial:hover svg {
  transform: translateX(-2px);
}

.arrow-btn-small#next-testimonial:hover svg {
  transform: translateX(2px);
}

/* ==========================================
   Admissions Accordion & Form Component
   ========================================== */
.admissions-journey-section {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  padding: 3.5rem 0;
}

@media (min-width: 1024px) {
  .admissions-journey-section {
    padding: 4rem 0;
  }
}

.section-top-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, transparent, rgba(35, 31, 32, 0.1), transparent);
}

.admissions-journey-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .admissions-journey-container {
    padding: 0 2.5rem;
  }
}

.dim-kicker {
  color: rgba(35, 31, 32, 0.6);
}

.journey-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .journey-grid-layout {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
  }
}

/* Accordion column */
.journey-accordion-col {}

.journey-accordion-wrapper {
  border-top: 1px solid rgba(35, 31, 32, 0.1);
}

.journey-step-item {
  border-bottom: 1px solid rgba(35, 31, 32, 0.1);
}

.journey-step-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(35, 31, 32, 0.8);
  transition: color 0.3s var(--ease-editorial);
}

@media (min-width: 768px) {
  .journey-step-trigger {
    font-size: 24px;
    gap: 1.5rem;
    padding: 1.25rem 0;
  }
}

.journey-step-trigger:hover {
  color: var(--ink);
}

.step-num {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(35, 31, 32, 0.4);
  transition: color 0.3s var(--ease-editorial);
}

@media (min-width: 768px) {
  .step-num {
    font-size: 24px;
  }
}

.journey-step-trigger.active .step-num {
  color: var(--diamond-navy);
}

.step-title {
  flex-grow: 1;
}

.step-chevron {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(35, 31, 32, 0.2);
  color: rgba(35, 31, 32, 0.6);
  transition: all 0.3s var(--ease-editorial);
}

@media (min-width: 768px) {
  .step-chevron {
    width: 44px;
    height: 44px;
  }
}

.journey-step-trigger:hover .step-chevron {
  border-color: rgba(35, 31, 32, 0.4);
  color: var(--ink);
}

.journey-step-trigger.active .step-chevron {
  border-color: var(--diamond-navy);
  background-color: var(--diamond-navy);
  color: var(--ivory);
  transform: rotate(180deg);
}

/* Accordion expand block */
.step-body-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-editorial),
    opacity 0.4s var(--ease-editorial);
}

.step-body-collapse.active {
  max-height: 300px;
  /* fallback boundary limit */
  opacity: 1;
}

.step-content-inner {
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .step-content-inner {
    padding-bottom: 1.25rem;
    padding-left: 3.25rem;
  }
}

.step-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.7);
  max-width: 576px;
}

@media (min-width: 768px) {
  .step-description {
    font-size: 18px;
  }
}

.step-know-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--diamond-navy);
  margin-top: 0.75rem;
  transition: color 0.3s var(--ease-editorial);
}

.step-know-more-btn:hover {
  color: var(--deep-navy);
}

.step-know-more-btn span {
  transition: transform 0.3s var(--ease-editorial);
}

.step-know-more-btn:hover span {
  transform: translateX(4px);
}

.journey-help-text {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.dim-text {
  font-size: 14px;
  color: rgba(35, 31, 32, 0.5);
}

.email-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--diamond-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-link:hover {
  text-decoration: none;
}

/* Sticky Admissions form card */
.journey-form-col {}

@media (min-width: 1024px) {
  .sticky-form-container {
    position: sticky;
    top: 7rem;
  }
}

.enquiry-card-inner {
  border-radius: 1.5rem;
  border: 1px solid rgba(35, 31, 32, 0.1);
  background-color: var(--paper);
  padding: 1.25rem;
  box-shadow: var(--shadow-tile);
}

@media (min-width: 768px) {
  .enquiry-card-inner {
    padding: 1.5rem;
  }
}

.form-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}

@media (min-width: 768px) {
  .form-title {
    font-size: 30px;
  }
}

.form-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(35, 31, 32, 0.6);
  margin-top: 0.5rem;
}

/* Inputs layout details */
.enquiry-form-body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-field-group {
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35, 31, 32, 0.7);
  margin-bottom: 0.35rem;
}

.form-input-box,
.form-textarea-box {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(35, 31, 32, 0.15);
  background-color: rgba(35, 31, 32, 0.03);
  padding: 0.9rem 1rem;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.3s var(--ease-editorial);
}

.form-input-box::placeholder,
.form-textarea-box::placeholder {
  color: rgba(35, 31, 32, 0.4);
}

.form-input-box:focus,
.form-textarea-box:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  background-color: var(--paper);
}

.form-textarea-box {
  resize: none;
}

.form-submit-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--paper);
  padding: 0.9rem;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s var(--ease-editorial);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  background-color: var(--primary);
}

.btn-arrow-circle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--paper);
  color: var(--accent);
  transition: transform 0.3s var(--ease-editorial);
}

.form-submit-btn:hover .btn-arrow-circle {
  transform: translateX(4px);
}

.send-arrow-svg {
  width: 14px;
  height: 14px;
}

/* Success notification card */
.success-message-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(177, 31, 40, 0.3);
  background-color: rgba(177, 31, 40, 0.1);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  animation: modalFadeIn 0.4s var(--ease-editorial);
}

.success-icon-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--lime);
  color: var(--deep-navy);
  margin-bottom: 0.75rem;
}

.send-icon {
  width: 20px;
  height: 20px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

.success-desc {
  font-size: 14px;
  color: rgba(35, 31, 32, 0.6);
  margin-top: 0.25rem;
}

/* ==========================================
   Footer � Editorial Finale
   ========================================== */
.ft-admissions {
  --ft-motion: 0.45s var(--ease-editorial);
  position: relative;
  z-index: 6;
  overflow: hidden;
  background: radial-gradient(70% 50% at 92% 0%, rgba(var(--paper-rgb), 0.08), transparent 55%),
  radial-gradient(42% 36% at 0% 100%, rgba(var(--accent-rgb), 0.16), transparent 58%),
  var(--primary);
  color: var(--paper);
}

.site-footer {
  --ft-motion: 0.45s var(--ease-editorial);
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: 0 0 2.25rem;
}

.ft-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black, transparent 78%);
  opacity: 0.7;
}

.ft-wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.12em;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(177, 31, 40, 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.ft-finale {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 6.5rem;
}

@media (min-width: 1024px) {
  .ft-finale {
    padding: 7.5rem 2.5rem 7.5rem;
  }
}

.ft-finale-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
}

.ft-finale-rule {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.ft-finale-title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--paper);
}
.ft-finale-title p,
.ft-finale-title span {
  display: block;
  margin: 0;
}

.ft-finale-lede {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.ft-finale-actions {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ft-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform var(--ft-motion),
    background-color var(--ft-motion),
    border-color var(--ft-motion),
    box-shadow var(--ft-motion),
    color var(--ft-motion);
}

.ft-cta--primary {
  background: var(--paper);
  color: var(--primary);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.18);
}

.ft-cta--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ft-cta:hover,
.ft-cta:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.ft-cta--primary:hover,
.ft-cta--primary:focus-visible {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.28);
}

.ft-cta--ghost:hover,
.ft-cta--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--paper);
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 3.5rem 2.5rem 0;
  }
}

.footer-columns-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

@media (min-width: 1024px) {
  .footer-columns-row {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

.footer-branding-col {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-branding-col {
    grid-column: span 5;
  }
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 1.1rem 1.35rem;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity var(--ft-motion), transform var(--ft-motion);
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
  outline: none;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo--gems {
  height: 42px;
}

.footer-logo-divider {
  flex: 0 0 0.5pt;
  width: 0.5pt;
  height: 2.75rem;
  margin-inline: -0.675rem;
  background: #888b8d;
  align-self: center;
}

@media (max-width: 479px) {
  .footer-logo {
    height: 36px;
  }

  .footer-logo--gems {
    height: 34px;
  }
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 1.15rem 0 0;
  max-width: 30ch;
  color: rgba(var(--ink-rgb), 0.88);
}

.social-links-row {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-link-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  background: rgba(var(--ink-rgb), 0.03);
  color: rgba(var(--ink-rgb), 0.72);
  transition:
    color var(--ft-motion),
    border-color var(--ft-motion),
    background-color var(--ft-motion),
    transform var(--ft-motion);
}

.social-link-icon:hover,
.social-link-icon:focus-visible {
  color: var(--paper);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
  outline: none;
}

.footer-links-grid {
  grid-column: span 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

@media (max-width: 680px) {
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: start;
  }

  .footer-links-col {
    width: 100%;
  }

  .footer-logo-lockup {
    align-items: center;
    justify-content: start;
    gap: 1.1rem 1.35rem;
}

.social-links-row {
    align-items: center;
    justify-content: start;
}

.footer-branding-col{
  display: grid !important;
  gap: 1rem !important;
  align-items: end;
}

}

@media (max-width: 991px) {
  
  .footer-logo-lockup {
    align-items: center;
    justify-content: start;
    gap: 1.1rem 1.35rem;
}

.social-links-row {
    align-items: center;
    justify-content: start;
}

.footer-branding-col{
  display: flex;
  gap: 4rem;
  align-items: end;
}

}


@media (min-width: 1024px) {
  .footer-links-grid {
    grid-column: span 7;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
}

.footer-col-title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.footer-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--ft-motion), transform var(--ft-motion), padding-left var(--ft-motion);
}

.footer-list a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--ft-motion);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--primary);
  padding-left: 0.35rem;
  outline: none;
}

.footer-list a:hover::before,
.footer-list a:focus-visible::before {
  width: 0.85rem;
}

.footer-divider-thin {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
}

/* GEMS Rewards Services Strip */
.gems-network-strip {
  margin-top: 2.75rem;
}

.gems-strip-kicker {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.68);
  line-height: 1.5;
}

.gems-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gems-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gems-services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.gems-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 1.15rem;
  background: var(--primary);
  color: var(--paper);
  padding: 1.35rem 1.25rem 1.2rem;
  transition: transform 0.3s var(--ease-editorial);
}

.gems-service-card:hover {
  transform: translateY(-3px);
}

.service-icon-wrapper {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.95rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--paper);
}

.service-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.service-desc {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.3s var(--ease-editorial);
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--paper);
  outline: none;
}

.inline-arrow {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-editorial);
}

.gems-service-card:hover .inline-arrow {
  transform: translate(2px, -2px);
}

.footer-divider-thick {
  height: 1px;
  margin-top: 2.75rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--gold-rgb), 0.35) 20%,
    rgba(var(--ink-rgb), 0.12) 50%,
    rgba(var(--gold-rgb), 0.35) 80%,
    transparent 100%
  );
}

.footer-bottom-row {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: rgba(var(--ink-rgb), 0.68);
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    align-items: center;
  }
}

.footer-copyright {
  margin: 0;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-policy-links a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ft-motion);
}

.footer-policy-links a:hover,
.footer-policy-links a:focus-visible {
  color: var(--primary);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .ft-cta,
  .social-link-icon,
  .footer-list a,
  .footer-logo-link {
    transition: none !important;
    transform: none !important;
  }
}
/* ==========================================
   Back to top floating button
   ========================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--ivory);
  box-shadow: var(--shadow-elegant);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.35s var(--ease-editorial),
    transform 0.35s var(--ease-editorial),
    background-color 0.3s,
    visibility 0.35s;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background-color: var(--primary);
}

/* ==========================================
   Modal Component Styles (Video Modal)
   ========================================== */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(35, 31, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-box {
  position: relative;
  width: 90%;
  max-width: 960px;
  background-color: #000000;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalFadeIn 0.5s var(--ease-editorial);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(35, 31, 32, 0.6);
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease-editorial);
}

.modal-close-btn:hover {
  background-color: var(--coral);
  color: var(--ivory);
  border-color: var(--coral);
  transform: scale(1.05);
}

.modal-video-container {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
}

.modal-player {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================
   Premium Editorial Statistics Section
   ========================================== */
.stats-editorial-section {
  position: relative;
  background-color: var(--ivory);
  padding: 80px 0;
  z-index: 10;
  overflow: hidden;
}

/* Subtle decorative grid/glow elements for background depth */
.stats-editorial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.stats-editorial-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .stats-editorial-container {
    padding: 0 2.5rem;
  }
}

/* ==========================================
   Integrated Hero Stats (Reference Match)
   ========================================== */
.hero-stats-divider-line {
  width: 100%;
  max-width: 900px;
  /* Constrain to match accreditation width */
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 3.5rem 0 2rem 0;
}

.hero-stats-container {
  max-width: 1400px;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10rem;
}

.hero-stats-integrated {

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (min-width: 768px) {

  .hero-stats-container {
    max-width: 1400px;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10rem;
  }

  .hero-stats-integrated {
    justify-content: center;
    /* Evenly distribute across the max-width */
    gap: 10rem;
  }
}

.hero-stats-integrated.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Space between label and value */
}

/* Label is above the value in the reference design */
.hero-stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

/* ==========================================================================
   Accreditation Trust Badges (Integrated)
   ========================================================================== */
.hero-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 20px 0 40px 0;
  width: 100%;
}

.accreditation-container {
  max-width: 1400px;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.accreditation-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  background-color: rgba(255, 255, 255, 5%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, box-shadow 0.4s;
  opacity: 0;
  will-change: transform, opacity;
}

.accreditation-container.visible .accreditation-badge {
  animation: bounceInBadge 0.75s cubic-bezier(0.25, 1.3, 0.3, 1) forwards;
}

.accreditation-badge:nth-child(1) {
  animation-delay: 0.1s;
}

.accreditation-badge:nth-child(2) {
  animation-delay: 0.25s;
}

.accreditation-badge:nth-child(3) {
  animation-delay: 0.4s;
}

.accreditation-badge:nth-child(4) {
  animation-delay: 0.55s;
}

@keyframes bounceInBadge {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.accreditation-badge:hover {
  transform: translateY(-4px) scale(1.02);
  background-color: rgba(201, 220, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 15px 35px rgba(0, 0, 0, 0.3);
}

.accreditation-icon {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.accreditation-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ==========================================================================
   Universal Parallax Effects
   ========================================================================== */
.has-parallax {
  will-change: transform;
  /* We use JS to update transform continuously on scroll. We can add a very small transition if needed to smooth out stuttering, 
     but usually it's better to just let requestAnimationFrame handle it instantly without transition to avoid lag/rubber-banding. */
}

/* ==========================================================================
   Homepage journey (postÃ¢â‚¬â€œWhy) Ã¢â‚¬â€ stacking above sticky story bridge
   ========================================================================== */
.pathway-section,
.admit-banner,
.facilities-section,
.wellbeing-section,
.destinations-section,
.voices-section,
.social-feed,
.outcomes-section,
.parent-hub {
  scroll-margin-top: 5.5rem;
}


/* ==========================================================================
   Curriculum Pathway — horizontal parallax cards
   ========================================================================== */
.pathway-section {
  --pj-scroll: 0;

  position: relative;
  z-index: 5;
  overflow: visible;
  background: var(--paper);
  color: var(--ink);
  scroll-margin-top: 5.5rem;
}

.pathway-section .section-backdrop {
  z-index: 0;
}

.pj-pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  padding: 4.5rem 0 3.25rem;
}

.pj-header {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.25rem, 4vw, 4.5rem);
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: start;
}

.pj-header-title {
  min-width: 0;
}

.pj-header .pathway-eyebrow {
  justify-content: flex-start;
}

.pj-header .pathway-title {
  max-width: 11em;
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
  letter-spacing: -0.04em;
}

.pj-lede {
  margin: 0;
 font-size: clamp(1.02rem, 1.25vw, 1.02rem);
  line-height: 1.65;
  color: var(--text);
  text-align: start;
  max-width: 80ch;
}

.pj-lede p {
  margin: 0 0 2.5rem;
}

.pathway-eyebrow,
.facilities-eyebrow,
.wellbeing-eyebrow,
.destinations-eyebrow,
.voices-eyebrow,
.social-feed-eyebrow,
.outcomes-eyebrow,
.parent-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.pathway-eyebrow-rule,
.facilities-eyebrow-rule,
.wellbeing-eyebrow-rule,
.destinations-eyebrow-rule,
.voices-eyebrow-rule,
.social-feed-eyebrow-rule,
.outcomes-eyebrow-rule,
.parent-hub-eyebrow-rule {
  display: block;
  width: 2.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.pathway-title,
.facilities-title,
.wellbeing-title,
.destinations-title,
.voices-title,
.social-feed-title,
.outcomes-title,
.parent-hub-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.pj-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, max-content) minmax(4.5rem, 1fr);
  align-items: center;
  column-gap: clamp(0.85rem, 2vw, 1.75rem);
  margin: 0 clamp(1.25rem, 4vw, 3rem);
  padding: 0.15rem 0 0;
}

.pj-node {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: rgba(var(--ink-rgb), 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  transition: color 0.45s var(--ease-editorial);
}

.pj-node-core {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.pj-node-caption {
  font-weight: 600;
  letter-spacing: 0.16em;
}

.pj-node[aria-current="step"] {
  color: var(--primary);
}

.pj-progress {
  height: 1px;
  margin: 0;
  background: rgba(var(--ink-rgb), 0.12);
  overflow: hidden;
}

.pj-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
}

.pj-viewport {
  position: relative;
  z-index: 2;
  min-height: 0;
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1.25rem, 4vw, 3rem);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.pj-viewport:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.pj-viewport::-webkit-scrollbar {
  display: none;
}

.pj-track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.85rem, 3vw, 4rem);
  margin: 0;
  padding: 0.35rem clamp(1.25rem, 4vw, 6rem) 0.85rem;
  list-style: none;
}

.pj-slide {
  flex: 0 0 min(92vw, 44rem);
  scroll-snap-align: start;
  min-width: 0;
}

.pj-slide.pj-slide--intro {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: min(32rem, 78vh);
  scroll-snap-align: start;
}

.pj-slide--intro .pj-header {
  width: 100%;
}

.pj-card {
  display: grid;
  grid-template-rows: minmax(16rem, 54vw) auto;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.45rem);
  background: var(--paper);
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  transition:
    transform 0.6s var(--ease-editorial),
    box-shadow 0.6s var(--ease-editorial),
    opacity 0.6s var(--ease-editorial);
}

.pj-slide.is-active .pj-card {
  opacity: 1;

}

.pj-card-media {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  background: rgba(var(--primary-rgb), 0.08);
}

.pj-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: translate3d(calc(var(--pj-img, 0) * 1px), 0, 0) scale(1.08);
  transition: transform 0.8s var(--ease-editorial);
}

.pj-card-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--primary);
  box-shadow: 0 12px 28px -16px rgba(var(--ink-rgb), 0.55);
}

.pj-card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pj-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 0;
  overflow: visible;
  padding: 1.35rem 1.4rem 1.5rem;
}

.pj-card-kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.pj-card-heading {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--primary);
}

.pj-card-text {
  margin: 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
}

.pj-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pj-card-list li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.pj-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
}

.pj-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.pj-card-cta span {
  transition: transform 0.35s var(--ease-editorial);
}

.pj-card-cta:hover,
.pj-card-cta:focus-visible {
  color: var(--accent);
  outline: none;
}

.pj-card-cta:hover span,
.pj-card-cta:focus-visible span {
  transform: translateX(3px);
}

.pj-track > .pj-slide:nth-child(2) .pj-card { background: var(--primary); }
.pj-track > .pj-slide:nth-child(3) .pj-card { background: var(--accent); }
.pj-track > .pj-slide:nth-child(4) .pj-card { background: var(--ink); }
.pj-track > .pj-slide:nth-child(5) .pj-card { background: var(--subtle); }

.pj-track > .pj-slide:nth-child(n + 2) .pj-card {
  border-color: rgba(var(--paper-rgb), 0.28);
}

.pj-track > .pj-slide:nth-child(n + 2) .pj-card-kicker,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-heading,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-text,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-list li,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-cta,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-cta:hover,
.pj-track > .pj-slide:nth-child(n + 2) .pj-card-cta:focus-visible {
  color: var(--paper);
}

.pj-track > .pj-slide:nth-child(n + 2) .pj-card-list li::before {
  background: var(--paper);
}

.pj-finale {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding: 0.35rem clamp(1.25rem, 4vw, 3rem) 0;
}

.pathway-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 16px 32px -18px rgba(var(--accent-rgb), 0.4);
  transition:
    transform 0.35s var(--ease-editorial),
    background-color 0.35s var(--ease-editorial),
    box-shadow 0.35s var(--ease-editorial);
}

.pathway-intro-cta:hover,
.pathway-intro-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  outline: none;
}

.pathway-intro-cta span:last-child {
  transition: transform 0.35s var(--ease-editorial);
}

.pathway-intro-cta:hover span:last-child,
.pathway-intro-cta:focus-visible span:last-child {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .pathway-section.is-pinned {
    overflow: visible;
  }

  .pathway-section.is-pinned .pj-pin {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    gap: 0;
    padding: calc(var(--header-offset) + 0.85rem) 0 1.35rem;
  }

  .pathway-section.is-pinned .pj-header {
   
    align-items: center;
  }

  .pathway-section.is-pinned .pj-viewport {
    min-height: 0;
    height: 100%;
    display: flex;
    overflow: hidden;
    scroll-snap-type: none;
  }

  .pathway-section.is-pinned .pj-track {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
    align-items: stretch;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    will-change: transform;
  }

  .pathway-section.is-pinned .pj-slide {
    flex: 0 0 min(92vw, 86rem);
    display: flex;
    height: auto;
    align-self: stretch;
  }

  .pathway-section.is-pinned .pj-slide.pj-slide--intro {
    flex: 0 0 auto;
    min-height: 0;
    align-items: center;
  }

  .pathway-section.is-pinned .pj-card {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 100%;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }

  .pathway-section.is-pinned .pj-slide:not(.is-active) .pj-card {
    opacity: 0.92;
  }

  .pathway-section.is-pinned .pj-card-media {
    min-height: 0;
    height: 100%;
  }

  .pathway-section.is-pinned .pj-card-copy {
    justify-content: center;
    min-height: auto;
    overflow: visible;
    padding: clamp(1.5rem, 2.6vw, 2.75rem);
  }

  .pathway-section.is-pinned .pj-rail {
    align-self: start;
  }
}

@media (min-width: 1200px) {
  .pathway-section.is-pinned .pj-slide:not(.pj-slide--intro) {
    flex-basis: min(90vw, 96rem);
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .pathway-section.is-pinned .pj-pin {
    gap: 0.55rem;
    padding-bottom: 0.7rem;
  }

  .pathway-section.is-pinned .pj-header .pathway-title {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
  }

  .pathway-section.is-pinned .pj-card-copy {
    gap: 0.5rem;
    padding: 4.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .pj-card:hover {
    transform: translateY(-6px);
  }

  .pj-card:hover .pj-card-media img {
    transform: translate3d(calc(var(--pj-img, 0) * 1px), 0, 0) scale(1.14);
  }
}

@media (max-width: 767px) {
  .pj-pin {
    padding-top: 3.75rem;
    padding-bottom: 3.5rem;
  }

  
  .pj-slide.pj-slide--intro {
    min-height: 0;
  }

  .pj-card {
    grid-template-rows: minmax(14.5rem, 62vw) auto;
  }

  .pj-rail {
    grid-template-columns: repeat(4, max-content);
    row-gap: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pj-rail::-webkit-scrollbar {
    display: none;
  }

  .pj-progress {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023.98px) {
  .pathway-section,
  .pathway-section.is-pinned {
    height: auto;
    overflow: visible;
  }

  .pathway-section.is-pinned .pj-pin {
    position: static;
    height: auto;
    display: block;
    padding: 0;
  }

  .pj-viewport,
  .pathway-section.is-pinned .pj-viewport {
    overflow: visible;
    height: auto;
    min-height: 0;
    display: block;
    scroll-snap-type: none;
    overscroll-behavior-x: auto;
    -webkit-overflow-scrolling: auto;
  }

  .pj-track,
  .pathway-section.is-pinned .pj-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: none;
    height: auto;
    min-height: 0;
    gap: 1.25rem;
    padding-inline: clamp(1.25rem, 4vw, 2.25rem);
    padding-bottom: 1.25rem;
    transform: none;
    will-change: auto;
  }

  .pj-slide,
  .pj-slide.pj-slide--intro,
  .pathway-section.is-pinned .pj-slide,
  .pathway-section.is-pinned .pj-slide.pj-slide--intro {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    align-self: stretch;
    scroll-snap-align: none;
  }

  .pj-card,
  .pathway-section.is-pinned .pj-card {
    height: auto;
    min-height: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(14.5rem, 52vw) auto;
  }

  .pj-card-media,
  .pathway-section.is-pinned .pj-card-media {
    height: auto;
    min-height: 14.5rem;
  }

  .pj-card-copy,
  .pathway-section.is-pinned .pj-card-copy {
    min-height: 0;
  }

  .pj-card-media img {
    --pj-img: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pathway-section {
    height: auto !important;
  }

  .pj-pin,
  .pj-card,
  .pj-card-media img,
  .pj-card-cta span,
  .pathway-intro-cta,
  .pj-progress-bar {
    transition: none !important;
    animation: none !important;
  }

  .pj-card,
  .pj-card-media img,
  .pathway-intro-cta {
    transform: none !important;
  }

  .pj-slide .pj-card {
    opacity: 1 !important;
  }
}
/* ==========================================================================
   Admissions Conversion Banner � Video immersion
   ========================================================================== */
.admit-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 72vh, 40rem);
  display: flex;
  align-items: center;
  z-index: 5;
  color: var(--paper);
  isolation: isolate;
}

.admit-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.admit-banner-video,
.admit-banner-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
}

.admit-banner.is-video-ready .admit-banner-poster {
  opacity: 0;
  transition: opacity 0.9s var(--ease-editorial);
  pointer-events: none;
}

.admit-banner-video {
  opacity: 0;
  transition: opacity 0.9s var(--ease-editorial), transform 12s linear;
}

.admit-banner.is-video-ready .admit-banner-video {
  opacity: 1;
  transform: scale(1.12);
}

.admit-banner-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(var(--footer-rgb), 0.82) 0%,
      rgba(var(--footer-rgb), 0.55) 38%,
      rgba(var(--footer-rgb), 0.32) 62%,
      rgba(var(--accent-rgb), 0.22) 100%
    ),
    linear-gradient(
      to top,
      rgba(var(--ink-rgb), 0.72) 0%,
      transparent 42%
    );
}

.admit-banner-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(50% 55% at 78% 30%, rgba(var(--gold-rgb), 0.22), transparent 60%),
    radial-gradient(40% 45% at 12% 80%, rgba(var(--primary-rgb), 0.28), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.admit-banner-ornament {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
}

@media (min-width: 900px) {
  .admit-banner-ornament {
    display: flex;
    left: clamp(1.5rem, 4vw, 2.75rem);
  }
}

.admit-banner-rule {
  width: 1px;
  height: 4.5rem;
  background: linear-gradient(180deg, transparent, rgba(var(--gold-rgb), 0.7), transparent);
}

.admit-banner-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.45);
  animation: admitPulse 2.2s ease-out infinite;
}

@keyframes admitPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(var(--gold-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
}

.admit-banner::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--gold-rgb), 0.55) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(var(--gold-rgb), 0.55) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.admit-banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  color: var(--paper);
}

.admit-banner-content.visible .admit-banner-eyebrow,
.admit-banner-content.visible .admit-banner-title,
.admit-banner-content.visible .admit-banner-lede,
.admit-banner-content.visible .admit-banner-actions,
.admit-banner-content.visible .admit-banner-note {
  animation: admitReveal 0.85s var(--ease-editorial) both;
}

.admit-banner-content.visible .admit-banner-title { animation-delay: 0.08s; }
.admit-banner-content.visible .admit-banner-lede { animation-delay: 0.16s; }
.admit-banner-content.visible .admit-banner-actions { animation-delay: 0.24s; }
.admit-banner-content.visible .admit-banner-note { animation-delay: 0.32s; }

@keyframes admitReveal {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .admit-banner-content {
    padding: 6.5rem 2.5rem 6.75rem;
  }
}

.admit-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-whisper);
}

.admit-banner-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.65);
}

.admit-banner-title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.admit-banner-lede {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.admit-banner-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.admit-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.05rem 1.55rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform 0.35s var(--ease-editorial),
    background-color 0.35s var(--ease-editorial),
    border-color 0.35s var(--ease-editorial),
    box-shadow 0.35s var(--ease-editorial),
    color 0.35s var(--ease-editorial);
}

.admit-banner-cta--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 16px 36px -14px rgba(var(--gold-rgb), 0.65);
}

.admit-banner-cta--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admit-banner-cta:hover,
.admit-banner-cta:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.admit-banner-cta--primary:hover,
.admit-banner-cta--primary:focus-visible {
  background: var(--paper);
  box-shadow: 0 20px 44px -12px rgba(255, 255, 255, 0.35);
}

.admit-banner-cta--ghost:hover,
.admit-banner-cta--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(var(--gold-rgb), 0.7);
}

.admit-banner-note {
  margin: 1.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
}

.admit-banner-toggle {
  position: absolute;
  z-index: 4;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(35, 31, 32, 0.45);
  color: var(--paper);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease-editorial),
    background-color 0.3s var(--ease-editorial),
    transform 0.3s var(--ease-editorial);
}

.admit-banner-toggle:hover,
.admit-banner-toggle:focus-visible {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.18);
  outline: none;
  transform: scale(1.05);
}

.admit-banner-toggle-icon {
  width: 0.85rem;
  height: 0.85rem;
  display: none;
  background: currentColor;
}

.admit-banner-toggle-icon--pause {
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

.admit-banner-toggle-icon--play {
  clip-path: polygon(18% 8%, 90% 50%, 18% 92%);
}

.admit-banner-toggle[aria-pressed="true"] .admit-banner-toggle-icon--pause {
  display: block;
}

.admit-banner-toggle[aria-pressed="false"] .admit-banner-toggle-icon--play {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .admit-banner-video,
  .admit-banner-pulse,
  .admit-banner-cta,
  .admit-banner-toggle,
  .admit-banner-content.visible .admit-banner-eyebrow,
  .admit-banner-content.visible .admit-banner-title,
  .admit-banner-content.visible .admit-banner-lede,
  .admit-banner-content.visible .admit-banner-actions,
  .admit-banner-content.visible .admit-banner-note {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .admit-banner-video,
  .admit-banner-toggle {
    display: none !important;
  }

  .admit-banner-poster {
    opacity: 1 !important;
  }
}


/* ==========================================================================
   Facilities — Campus card carousel
   ========================================================================== */
.facilities-section {
  --fx-motion: 0.65s var(--ease-editorial);
  --fx-radius: calc(var(--radius) + 0.15rem);
  --fx-gap: clamp(0.75rem, 1.4vw, 1.15rem);

  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--paper);
  color: var(--text);
  padding: 0 0 5.5rem;
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.22);
}

@media (min-width: 1024px) {
  .facilities-section { padding: 0 0 8rem; }
}

.fx-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(var(--ink-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink-rgb), 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black, transparent 78%);
  opacity: 0.75;
}

.fx-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .fx-stage {
    padding: 5rem 2.5rem 0;
    gap: 3.25rem;
  }
}

.facilities-header {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: start;
}

.facilities-section .facilities-eyebrow {
  margin: 0 0 1rem;
  white-space: nowrap;
  color: var(--gold-whisper);
}

.facilities-section .facilities-title {
  margin: 0;
  max-width: 16ch;
  white-space: normal;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
}

.facilities-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}

.facilities-header-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 44rem;
}

.facilities-lede {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
}

.facilities-cta {
  margin: 0;
}

@media (min-width: 900px) {
  .facilities-header-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3.5vw, 3rem);
    align-items: start;
  }

  .facilities-header-aside {
    padding-top: 0.35rem;
    gap: 1.5rem;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  .facilities-section {
    padding: 2.75rem 0 3rem;
  }

  .facilities-lede {
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.45;
  }

  .facilities-section .facilities-title {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
  }

  .facilities-header-aside {
    gap: 1.5rem;
  }
}

.fx-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fx-gap);
}

.fx-post {
  --fx-i: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border-radius: var(--fx-radius);
  min-height: 18.5rem;
  background: var(--ink);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s var(--ease-editorial),
    transform 0.85s var(--ease-editorial),
    box-shadow var(--fx-motion);
  transition-delay: calc(var(--fx-i) * 90ms);
}

.fx-wall.is-inview .fx-post {
  opacity: 1;
  transform: none;
}

.fx-post-media {
  position: absolute;
  inset: 0;
}

.fx-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  animation: fxDrift 22s ease-in-out infinite;
  animation-delay: calc(var(--fx-i) * -2.4s);
  transition: transform 0.9s var(--ease-editorial);
  will-change: transform;
}

.fx-post:nth-child(odd) .fx-post-media img { object-position: center; }
.fx-post:nth-child(even) .fx-post-media img { object-position: 50% 45%; }
.fx-post--c .fx-post-media img { object-position: 50% 40%; }
.fx-post--f .fx-post-media img { object-position: 50% 22%; }

@keyframes fxDrift {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.05) translate3d(0, -7px, 0); }
}

.fx-post:hover .fx-post-media img,
.fx-post:focus-within .fx-post-media img,
.fx-post.is-open .fx-post-media img {
  animation-play-state: paused;
  transform: scale(1.12);
}

.fx-post-index {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: rgba(var(--ink-rgb), 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity var(--fx-motion), transform var(--fx-motion);
}

.fx-post:hover .fx-post-index,
.fx-post:focus-within .fx-post-index,
.fx-post.is-open .fx-post-index {
  opacity: 0;
  transform: translateY(6px);
}

.fx-post-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1.35rem 1.3rem 1.4rem;
  background:
    linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.04) 20%,
      rgba(var(--ink-rgb), 0.72) 100%
    );
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity var(--fx-motion),
    transform var(--fx-motion),
    visibility 0s linear 0.65s;
}

.fx-post:hover .fx-post-overlay,
.fx-post:focus-within .fx-post-overlay,
.fx-post.is-open .fx-post-overlay {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--fx-motion),
    transform var(--fx-motion),
    visibility 0s;
}

.fx-post .fx-tile-index {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-whisper);
}

.fx-post .fx-tile-index::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.fx-post .fx-tile-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--paper);
  text-shadow: none;
}

.fx-post:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .fx-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 18.5rem;
    align-items: stretch;
  }

  .fx-post--a,
  .fx-post--b,
  .fx-post--c,
  .fx-post--d,
  .fx-post--e,
  .fx-post--f,
  .fx-post--g,
  .fx-post--h {
    grid-area: auto;
    grid-column: auto;
    min-height: 18.5rem;
    height: 100%;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .fx-wall {
    grid-template-columns: 1.08fr 0.92fr 1.02fr 0.96fr;
    grid-template-rows: 14rem 12rem 14.5rem;
    grid-template-areas:
      "a b c c"
      "a d e f"
      "g d h f";
  }

  .fx-post--a { grid-area: a; min-height: 0; }
  .fx-post--b { grid-area: b; min-height: 0; }
  .fx-post--c { grid-area: c; min-height: 0; }
  .fx-post--d { grid-area: d; min-height: 0; }
  .fx-post--e { grid-area: e; min-height: 0; }
  .fx-post--f { grid-area: f; min-height: 0; }
  .fx-post--g { grid-area: g; min-height: 0; }
  .fx-post--h { grid-area: h; min-height: 0; }
}

@media (max-width: 639px) {
  .fx-post .fx-tile-title {
    font-size: 1.2rem;
  }
}


@media (prefers-reduced-motion: reduce) {
  .fx-post,
  .fx-post-media img,
  .fx-post-overlay,
  .fx-post-index {
    animation: none !important;
    transition: none !important;
  }

  .fx-post {
    opacity: 1 !important;
    transform: none !important;
  }

  .fx-post-media img {
    transform: none !important;
  }
}

/* ==========================================================================
   Wellbeing — Interactive Care Story
   ========================================================================== */
.wellbeing-section {
  --wb-motion: 0.55s var(--ease-editorial);
  --wb-radius: calc(var(--radius) + 0.25rem);

  position: relative;
  z-index: 5;
  overflow: hidden;
  background:
    radial-gradient(65% 50% at 8% 0%, rgba(var(--primary-rgb), 0.05), transparent 55%),
    radial-gradient(42% 38% at 100% 90%, rgba(var(--accent-rgb), 0.04), transparent 55%),
    var(--paper);
  color: var(--text);
  padding: 5rem 0 5.5rem;
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.22);
}

@media (min-width: 1024px) {
  .wellbeing-section { padding: 7rem 0 7.5rem; }
}

.wb-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 78%);
  opacity: 0.75;
}

.wb-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .wb-stage {
    padding: 0 2.5rem;
    gap: 2.5rem;
  }
}

.wb-header {
  max-width: 34rem;
}

.wellbeing-section .wellbeing-eyebrow {
  color: var(--gold-whisper);
}

.wellbeing-section .wellbeing-title {
  max-width: 40ch;
  margin: 0;
  color: var(--ink);
}

.wb-explorer {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .wb-explorer {
    grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    min-height: clamp(28rem, 62vh, 36rem);
  }
}

.wb-portrait {
  position: relative;
  margin: 0;
  border-radius: var(--wb-radius);
  isolation: isolate;
}

.wb-portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  min-height: 22rem;
  height: 100%;
  background: var(--ink);
  box-shadow: 0 32px 60px -36px rgba(var(--ink-rgb), 0.5);
}

@media (min-width: 900px) {
  .wb-portrait-frame { min-height: 100%; }
}

.wb-portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 0.9s var(--ease-editorial);
}

.wb-portrait-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.08) 20%,
      rgba(var(--ink-rgb), 0.55) 100%
    ),
    linear-gradient(
      115deg,
      rgba(var(--primary-rgb), 0.18) 0%,
      transparent 45%
    );
  pointer-events: none;
}

.wb-portrait-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    55% 45% at 70% 20%,
    rgba(var(--gold-rgb), 0.28),
    transparent 60%
  );
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--wb-motion), background var(--wb-motion);
}

.wellbeing-section[data-wb-active="1"] .wb-portrait-glow {
  opacity: 0.75;
  background: radial-gradient(55% 45% at 30% 40%, rgba(var(--gold-rgb), 0.32), transparent 60%);
}

.wellbeing-section[data-wb-active="2"] .wb-portrait-glow {
  opacity: 0.8;
  background: radial-gradient(50% 50% at 60% 70%, rgba(var(--accent-rgb), 0.22), transparent 62%);
}

.wb-portrait-mark {
  display: none;
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 2;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.45);
  animation: wbPulse 2.4s ease-out infinite;
}

@keyframes wbPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(var(--gold-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
}

.wb-quote {
  position: absolute;
  z-index: 3;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius) + 0.05rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 18px 36px -22px rgba(var(--ink-rgb), 0.45);
  transform: translateY(0);
  transition: transform var(--wb-motion), box-shadow var(--wb-motion);
}

@media (min-width: 900px) {
  .wb-quote {
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    padding: 1.3rem 1.4rem;
  }
}

.wb-portrait:hover .wb-quote {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -20px rgba(var(--ink-rgb), 0.5);
}

.wb-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.wb-chapters {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

@media (min-width: 640px) and (max-width: 899px) {
  .wb-chapters {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}



.wb-chapter {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.3rem;
  border-radius: var(--wb-radius);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px -28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition:
    transform var(--wb-motion),
    border-color var(--wb-motion),
    background-color var(--wb-motion),
    box-shadow var(--wb-motion);
}

.wb-chapter::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--wb-motion);
}

.wb-chapter:hover,
.wb-chapter:focus-visible,
.wb-chapter.is-active {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.45);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 48px -28px rgba(var(--ink-rgb), 0.45);
}

.wb-chapter:focus-visible {
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 4px rgba(var(--primary-rgb), 0.45),
    0 28px 48px -28px rgba(var(--ink-rgb), 0.45);
}

.wb-chapter.is-active::before,
.wb-chapter:hover::before,
.wb-chapter:focus-visible::before {
  opacity: 1;
}

.wb-chapter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wb-chapter-index {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(var(--ink-rgb), 0.38);
}

.wb-chapter-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  transition:
    color var(--wb-motion),
    border-color var(--wb-motion),
    background-color var(--wb-motion),
    transform var(--wb-motion);
}

.wb-chapter-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.wb-chapter.is-active .wb-chapter-icon,
.wb-chapter:hover .wb-chapter-icon,
.wb-chapter:focus-visible .wb-chapter-icon {
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.85);
  background: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.06);
}

.wb-chapter-icon img {
  width: 20px;
  height: 20px;
}

.wb-chapter-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink)
}

.wb-chapter-text {
  margin: 0;
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.wb-chapter-accent {
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform var(--wb-motion);
}

.wb-chapter.is-active .wb-chapter-accent,
.wb-chapter:hover .wb-chapter-accent,
.wb-chapter:focus-visible .wb-chapter-accent {
  transform: scaleX(1);
}

.wb-footer {
  display: flex;
  justify-content: flex-start;
}

.wellbeing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 16px 36px -18px rgba(var(--accent-rgb), 0.42);
  transition:
    transform var(--wb-motion),
    background-color var(--wb-motion),
    box-shadow var(--wb-motion);
}

.wellbeing-cta:hover,
.wellbeing-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  box-shadow: 0 20px 40px -18px rgba(var(--primary-rgb), 0.4);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .wb-portrait-mark,
  .wb-portrait-frame img,
  .wb-quote,
  .wb-chapter,
  .wb-chapter-icon,
  .wb-chapter-accent,
  .wellbeing-cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   University Destinations — immersive world map explorer
   ========================================================================== */
.destinations-section {
  --ud-motion: 0.55s var(--ease-editorial);
  position: relative;
  z-index: 5;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(70% 50% at 92% 0%, rgba(var(--paper-rgb), 0.08), transparent 55%),
    radial-gradient(42% 36% at 0% 100%, rgba(var(--accent-rgb), 0.16), transparent 58%),
    var(--primary);
  padding: 5rem 0 5.5rem;
}

.destinations-section .section-backdrop {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .destinations-section { padding: 7rem 0 7.5rem; }
}

.ud-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 72% 58% at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 58% at 50% 40%, black, transparent 78%);
  opacity: 0.55;
}

.ud-stage {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .ud-stage {
    padding: 0 2.5rem;
    gap: 3rem;
  }
}

.ud-header { max-width: 100%; }

.destinations-section .destinations-eyebrow {
  color: var(--paper);
}

.ud-header-copy {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ud-header-copy {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: end;
  }
}

.destinations-section .destinations-title {
  margin: 0;
  max-width: 14ch;
  color: var(--paper);
}

.ud-lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 900px) {
  .ud-lede { padding-bottom: 0.2rem; }
}

.ud-explorer {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .ud-explorer {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: center;
  }
}

.ud-map {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.85rem;
  min-width: 0;
  height: 100%;
}

.ud-map-shell {
  position: relative;
  isolation: isolate;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  background:
  radial-gradient(52% 58% at 48% 46%, rgba(var(--primary-rgb), 0.28), transparent 62%),
    radial-gradient(32% 38% at 76% 20%, rgba(114, 133, 204, 0.16), transparent 52%),
    linear-gradient(165deg, rgba(46, 62, 126, 0.55) 0%, rgba(103, 120, 195, 0.35) 48%, rgba(36, 52, 124, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.35);
  aspect-ratio: 1801 / 1100;
  min-height: 18rem;
  height: 100%;
}

@media (min-width: 900px) {
  .ud-map-shell {
    aspect-ratio: auto;
    min-height: clamp(26rem, 42vw, 34rem);
  }
}

@media (min-width: 1200px) {
  .ud-map-shell {
    min-height: clamp(28rem, 38vw, 36rem);
  }
}

.ud-map-canvas {
  position: absolute;
  inset: 2% 0 3%;
  color: rgba(36, 61, 148, 0.42);
  opacity: 0.95;
  transition: color 0.7s var(--ease-editorial), opacity 0.7s var(--ease-editorial);
  pointer-events: none;
}

.ud-map-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

#Map_Strokes path,
#Map_Strokes polygon {
  stroke: currentColor !important;
  vector-effect: non-scaling-stroke;
}

.ud-map-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.destinations-section[data-ud-active="0"] .ud-map-canvas { color: rgba(36, 61, 148, 0.55); }
.destinations-section[data-ud-active="1"] .ud-map-canvas { color: rgba(180, 198, 240, 0.5); }
.destinations-section[data-ud-active="2"] .ud-map-canvas { color: rgba(200, 214, 245, 0.48); }
.destinations-section[data-ud-active="3"] .ud-map-canvas { color: rgba(36, 61, 148, 0.5); }
.destinations-section[data-ud-active="4"] .ud-map-canvas { color: rgba(177, 31, 40, 0.55); }

.ud-map-glow {
  position: absolute;
  left: var(--glow-x, 47.8%);
  top: var(--glow-y, 27.5%);
  width: clamp(5rem, 16vw, 8.5rem);
  height: clamp(5rem, 16vw, 8.5rem);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.42) 0%, rgba(var(--gold-rgb), 0.1) 45%, transparent 72%);
  pointer-events: none;
  transition: left 0.65s var(--ease-editorial), top 0.65s var(--ease-editorial);
  z-index: 1;
}

.ud-marker {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: var(--paper);
  -webkit-tap-highlight-color: transparent;
}

.ud-marker-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.78rem;
  height: 0.78rem;
  margin: -0.39rem 0 0 -0.39rem;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--paper);
  transition:
    background-color var(--ud-motion),
    border-color var(--ud-motion),
    transform var(--ud-motion),
    box-shadow var(--ud-motion);
}

.ud-marker-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.7rem;
  height: 1.7rem;
  margin: -0.85rem 0 0 -0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.ud-marker-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  transform: translateX(-50%) translateY(0.2rem);
  padding: 0.3rem 0.55rem;
  border-radius: 9999px;
  background: rgba(35, 31, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--ud-motion),
    transform var(--ud-motion),
    color var(--ud-motion),
    border-color var(--ud-motion);
}

.ud-marker:hover .ud-marker-dot,
.ud-marker:focus-visible .ud-marker-dot {
  background: var(--accent);
  border-color: var(--paper);
  transform: scale(1.22);
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.6);
}

.ud-marker:hover .ud-marker-label,
.ud-marker:focus-visible .ud-marker-label,
.ud-marker.is-active .ud-marker-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ud-marker.is-active .ud-marker-dot {
  background: var(--accent);
  border-color: var(--paper);
  transform: scale(1.3);
  box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.75);
}

.ud-marker.is-active .ud-marker-pulse {
  opacity: 1;
  animation: udPulse 2.4s var(--ease-editorial) infinite;
}

.ud-marker.is-active .ud-marker-label {
  color: var(--paper);
  border-color: rgba(var(--accent-rgb), 0.55);
}

.ud-marker:focus-visible {
  outline: none;
}

.ud-marker:focus-visible .ud-marker-dot {
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 4px rgba(var(--gold-rgb), 0.75),
    0 0 20px rgba(var(--gold-rgb), 0.55);
}

@keyframes udPulse {
  0% { transform: scale(0.7); opacity: 0.85; }
  100% { transform: scale(2.15); opacity: 0; }
}

.ud-map-hint {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.ud-console {
  display: grid;
  min-width: 0;
  height: 100%;
  align-content: center;
}

.ud-panels {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 14rem;
  height: 100%;
  padding: 0.35rem 0 0.35rem 1.35rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 900px) {
  .ud-panels {
    min-height: clamp(22rem, 36vw, 30rem);
    padding-left: 1.75rem;
  }
}

.ud-panel {
  display: none;
}

.ud-panel.is-active {
  display: grid;
  gap: 1.35rem;
  animation: udPanelIn 0.6s var(--ease-editorial) both;
}

@keyframes udPanelIn {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ud-panel-meta {
  position: relative;
  padding-bottom: 1rem;
}

.ud-panel-meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(7.5rem, 42%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
}

.ud-panel-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}

.ud-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper);
}

.ud-uni-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-height: min(28rem, 52vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.ud-uni-list::-webkit-scrollbar {
  width: 4px;
}

.ud-uni-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
}

.ud-uni-list li {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  margin: 0;
  padding: 0.78rem 0.35rem 0.78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(0.55rem);
  animation: udRowIn 0.5s var(--ease-editorial) both;
  animation-delay: calc(var(--u) * 48ms + 90ms);
  transition:
    color var(--ud-motion),
    border-color var(--ud-motion),
    transform var(--ud-motion),
    padding-left var(--ud-motion);
  cursor: default;
}

.ud-uni-list li::before {
  content: "•";
  justify-self: end;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ud-motion);
}

.ud-uni-list li:last-child {
  border-bottom: 0;
}

.ud-uni-name {
  display: block;
  min-width: 0;
  transition: color var(--ud-motion);
}

.ud-uni-list li:hover {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateX(0.2rem);
  padding-left: 0.15rem;
}

.ud-uni-list li:hover::before {
  color: var(--paper);
}

.ud-uni-list li:hover .ud-uni-name {
  color: var(--paper);
}

@keyframes udRowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ud-footer {
  display: flex;
  justify-content: flex-start;
}

.ud-marquee-title {
  margin: 0 0 -1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--paper);
}

@media (min-width: 1024px) {
  .ud-marquee-title {
    margin-bottom: -1.85rem;
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .ud-marquee-title {
    font-size: 1.25rem;
    margin-bottom: -1rem;
  }
}

.destinations-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: none;
  transition:
    transform var(--ud-motion),
    background-color var(--ud-motion),
    border-color var(--ud-motion),
    color var(--ud-motion),
    box-shadow var(--ud-motion);
}

.destinations-cta:hover,
.destinations-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--paper);
  border-color: var(--paper);
  color: var(--primary);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.28);
  outline: none;
}

@media (max-width: 899px) {
  .ud-panels {
    padding: 1.25rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 640px) {
  .ud-map-shell {
    min-height: 15rem;
    aspect-ratio: 16 / 11;
  }

  .ud-marker {
    width: 2.95rem;
    height: 2.95rem;
  }

  .ud-marker-label {
    font-size: 0.58rem;
    padding: 0.24rem 0.42rem;
  }

  .ud-uni-list li {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.7rem 0;
    font-size: 0.9rem;
  }

  .ud-panel-title {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ud-marker-pulse,
  .ud-panel.is-active,
  .ud-uni-list li,
  .destinations-cta,
  .ud-marker-dot,
  .ud-marker-label,
  .ud-map-glow,
  .ud-map-canvas {
    animation: none !important;
    transition: none !important;
  }

  .ud-uni-list li {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Parents' Testimonials — Listening Room
   ========================================================================== */
.voices-section {
  --pv-motion: 0.7s var(--ease-editorial);
  --pv-autoplay: 8s;
  --pv-radius: calc(var(--radius) + 0.35rem);

  position: relative;
  z-index: 5;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  padding: 5rem 0 5.5rem;
}

@media (min-width: 1024px) {
  .voices-section { padding: 7.5rem 0 8rem; }
}

.pv-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pv-ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(var(--ink-rgb), 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink-rgb), 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 68% 58% at 50% 42%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 42%, black, transparent 78%);
  opacity: 0.8;
}

.pv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.18);
  pointer-events: none;
}

.pv-orbit--lg {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  top: -8%;
  right: -10%;
  opacity: 0.55;
  animation: pvOrbitDrift 26s ease-in-out infinite;
}

.pv-orbit--sm {
  width: min(22vw, 13rem);
  height: min(22vw, 13rem);
  bottom: 8%;
  left: -6%;
  border-color: rgba(var(--primary-rgb), 0.14);
  opacity: 0.45;
  animation: pvOrbitDrift 20s ease-in-out infinite reverse;
}

@keyframes pvOrbitDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -14px, 0); }
}

.pv-stage {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 1024px) {
  .pv-stage {
    padding: 0 2.5rem;
    gap: 3.5rem;
  }
}

.pv-header {
  max-width: 44rem;
}

.voices-section .voices-title {
  max-width: 16ch;
  margin: 0;
}

.pv-header-copy {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .pv-header-copy {
    display: grid;
    gap: 2.5rem;
    align-items: end;
  }

  .voices-section .voices-title {
    max-width: none;
  }
}

.pv-feature {
  width: 100%;
}

.pv-feature-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--pv-radius);
  background: var(--ink);
  box-shadow: 0 28px 56px -32px rgba(var(--ink-rgb), 0.45);
}

.pv-feature-frame iframe,
.pv-feature-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pv-feature-play {
  padding: 0;
  background: var(--ink);
  cursor: pointer;
  display: block;
}

.pv-feature-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-feature-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.25rem;
  height: 4.25rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.pv-feature-play-icon::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--ink);
}

.pv-lede {
  margin: 0;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.pv-theatre {
  display: grid;
  gap: 2.25rem;
}

.pv-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta medal"
    "quote quote";
  gap: 1.15rem 1.25rem;
  padding: 1.75rem 1.4rem 1.9rem;
  border-radius: var(--pv-radius);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(var(--gold-rgb), 0.1), transparent 55%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 36px 70px -42px rgba(var(--ink-rgb), 0.45);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 768px) {
  .pv-spotlight {
    grid-template-areas:
      "meta medal"
      "quote medal";
    gap: 0.5rem 2.5rem;
    padding: 2.5rem 2.75rem 2.65rem;
    align-items: start;
    min-height: 28rem;
  }
}

.pv-spotlight-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  grid-area: meta;
}

.pv-index {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(var(--primary-rgb), 0.28);
}

.pv-theme {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.pv-medallion {
  position: relative;
  grid-area: medal;
  width: 5.5rem;
  height: 5.5rem;
  justify-self: end;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .pv-medallion {
    align-self: center;
    width: 24rem;
    height: 24rem;
  }
}

.pv-medallion-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(var(--gold-rgb), 0.55);
  animation: pvSpin 48s linear infinite;
}

.pv-medallion-photos {
  position: absolute;
  inset: 12%;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 0 0 6px rgba(var(--gold-rgb), 0.12),
    0 22px 40px -18px rgba(var(--ink-rgb), 0.5);
  transition: opacity 0.45s var(--ease-editorial), transform 0.45s var(--ease-editorial);
}

.pv-medallion-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 0.55s var(--ease-editorial),
    transform 0.7s var(--ease-editorial);
  pointer-events: none;
}

.pv-medallion-photo:nth-child(1) { object-position: 50% 16%; }
.pv-medallion-photo:nth-child(2) { object-position: 54% 12%; }
.pv-medallion-photo:nth-child(3) { object-position: 50% 18%; }
.pv-medallion-photo:nth-child(4) { object-position: 46% 14%; }

.pv-medallion-photo.is-active {
  opacity: 1;
  transform: scale(1);
}

.pv-medallion-glow {
  position: absolute;
  inset: 12%;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 26%, rgba(var(--gold-whisper-rgb), 0.22), transparent 48%),
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.04) 20%, rgba(var(--ink-rgb), 0.32) 100%);
}

.pv-medallion.is-flipping .pv-medallion-photos {
  opacity: 0.72;
  transform: scale(0.94);
}

@keyframes pvSpin {
  to { transform: rotate(360deg); }
}

.pv-quote-stack {
  display: grid;
  grid-area: quote;
}

.pv-quote {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 1.15rem 0 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 1.15rem, 0);
  transition:
    opacity var(--pv-motion),
    transform var(--pv-motion),
    visibility 0s linear 0.7s;
}

.pv-quote.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition:
    opacity var(--pv-motion),
    transform var(--pv-motion),
    visibility 0s;
}

.voices-section[data-pv-dir="prev"] .pv-quote {
  transform: translate3d(0, -1.15rem, 0);
}

.voices-section[data-pv-dir="prev"] .pv-quote.is-active {
  transform: none;
}

.pv-quote-mark {
  position: absolute;
  left: -0.06em;
  top: -0.18em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 0.8;
  color: rgba(var(--gold-rgb), 0.3);
  pointer-events: none;
  user-select: none;
}

.pv-quote p {
  margin: 0;
  padding-left: 0.15em;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
}

@media (min-width: 768px) {
  .pv-quote p { max-width: 26ch; }
}

.pv-quote-footer {
  margin-top: 1.75rem;
  padding-left: 0.15em;
}

.pv-quote-footer cite {
  display: grid;
  gap: 0.28rem;
  font-style: normal;
}

.pv-quote-footer::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1.5px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.pv-author {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pv-role {
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.pv-explore {
  display: grid;
  gap: 1.25rem;
}

.pv-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .pv-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 0.35rem;
  }
}

.pv-rail-line {
  display: none;
}

@media (min-width: 640px) {
  .pv-rail-line {
    display: block;
    position: absolute;
    top: 1.55rem;
    left: 7%;
    right: 7%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(var(--ink-rgb), 0.14) 8%,
      rgba(var(--ink-rgb), 0.14) 92%,
      transparent
    );
    pointer-events: none;
  }
}

.pv-stop {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem 1rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) - 0.1rem);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition:
    transform var(--pv-motion),
    border-color var(--pv-motion),
    background-color var(--pv-motion),
    box-shadow var(--pv-motion);
}

@media (min-width: 640px) {
  .pv-stop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 0.35rem 0.4rem 0.9rem;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}

.pv-stop:hover,
.pv-stop:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--gold-rgb), 0.4);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px -24px rgba(var(--ink-rgb), 0.4);
}

@media (min-width: 640px) {
  .pv-stop:hover,
  .pv-stop:focus-visible {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
  }
}

.pv-stop:focus-visible {
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 4px rgba(var(--primary-rgb), 0.45);
}

.pv-stop.is-active {
  border-color: rgba(var(--gold-rgb), 0.45);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px -26px rgba(var(--ink-rgb), 0.4);
}

@media (min-width: 640px) {
  .pv-stop.is-active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}

.pv-stop-node {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--ink-rgb), 0.14);
  background: var(--paper);
  color: rgba(var(--ink-rgb), 0.45);
  transition:
    color var(--pv-motion),
    border-color var(--pv-motion),
    background-color var(--pv-motion),
    transform var(--pv-motion),
    box-shadow var(--pv-motion);
}

.pv-stop-core {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pv-stop.is-active .pv-stop-node,
.pv-stop:hover .pv-stop-node,
.pv-stop:focus-visible .pv-stop-node {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
  transform: scale(1.08);
  box-shadow:
    0 0 0 6px rgba(var(--gold-rgb), 0.16),
    0 12px 24px -12px rgba(var(--gold-rgb), 0.55);
}

.pv-stop-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .pv-stop-copy { justify-items: center; }
}

.pv-stop-theme {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.38);
  transition: color var(--pv-motion);
}

.pv-stop.is-active .pv-stop-theme {
  color: var(--gold);
}

.pv-stop-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-stop-progress {
  display: none;
}

@media (min-width: 640px) {
  .pv-stop-progress {
    display: block;
    grid-column: 1 / -1;
    width: 70%;
    height: 2px;
    border-radius: 999px;
    background: rgba(var(--ink-rgb), 0.08);
    overflow: hidden;
  }
}

.pv-stop-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.pv-stop.is-playing .pv-stop-progress-bar {
  animation: pvFill var(--pv-autoplay) linear forwards;
}

.voices-section.is-paused .pv-stop-progress-bar {
  animation-play-state: paused;
}

@keyframes pvFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.pv-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.pv-ctrl-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  transition:
    transform 0.35s var(--ease-editorial),
    background-color 0.35s var(--ease-editorial),
    border-color 0.35s var(--ease-editorial),
    color 0.35s var(--ease-editorial),
    box-shadow 0.35s var(--ease-editorial);
}

.pv-ctrl-btn:hover,
.pv-ctrl-btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(var(--gold-rgb), 0.6);
  outline: none;
}

.pv-ctrl-btn:focus-visible {
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 4px rgba(var(--primary-rgb), 0.45),
    0 14px 28px -16px rgba(var(--gold-rgb), 0.6);
}

.pv-counter {
  margin: 0 0.25rem;
  min-width: 3.6rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(var(--ink-rgb), 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .pv-orbit,
  .pv-medallion-ring,
  .pv-stop-progress-bar,
  .pv-quote,
  .pv-medallion-photos,
  .pv-medallion-photo,
  .pv-stop,
  .pv-stop-node,
  .pv-ctrl-btn {
    animation: none !important;
    transition: none !important;
  }

  .pv-quote,
  .pv-medallion-photo {
    transform: none !important;
  }
}

/* ==========================================================================
   Social Feed � Editorial photo wall
   ========================================================================== */
.social-feed {
  --sf-motion: 0.65s var(--ease-editorial);
  --sf-radius: calc(var(--radius) + 0.15rem);
  --sf-gap: clamp(0.75rem, 1.4vw, 1.15rem);

  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--paper);
  color: var(--text);
  padding: 0 0 5.5rem;
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.22);
}

@media (min-width: 1024px) {
  .social-feed { padding: 0 0 8rem; }
}

.sf-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 42%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 42%, black, transparent 78%);
  opacity: 0.7;
}

.sf-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.sf-ticker-track {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  animation: sfTicker 42s linear infinite;
}

.sf-ticker-track span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.sf-ticker-track span::before {
  content: "�";
  margin-right: 2.4rem;
  color: var(--gold);
}

@keyframes sfTicker {
  to { transform: translateX(-50%); }
}

.sf-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .sf-stage {
    padding: 5rem 2.5rem 0;
    gap: 3.25rem;
  }
}

.sf-header {
  max-width: none;
}

.social-feed .social-feed-eyebrow {
  color: var(--gold-whisper);
}

.social-feed .social-feed-title {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
}

.sf-header-copy {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .sf-header-copy {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: end;
  }

  .social-feed .social-feed-title {
    max-width: none;
  }
}

.sf-lede {
  margin: 0;
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
}

.sf-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 17rem;
  gap: var(--sf-gap);
}

.sf-post {
  --sf-i: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--sf-radius);
  min-height: 0;
  height: 100%;
  background: var(--ink);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s var(--ease-editorial),
    transform 0.85s var(--ease-editorial),
    box-shadow var(--sf-motion);
  transition-delay: calc(var(--sf-i) * 90ms);
}

.sf-wall.is-inview .sf-post {
  opacity: 1;
  transform: none;
}

.sf-post-media {
  position: absolute;
  inset: 0;
}

.sf-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  animation: sfDrift 22s ease-in-out infinite;
  animation-delay: calc(var(--sf-i) * -2.4s);
  transition: transform 0.9s var(--ease-editorial);
  will-change: transform;
}

.sf-post:nth-child(odd) .sf-post-media img { object-position: 50% 30%; }
.sf-post:nth-child(even) .sf-post-media img { object-position: 50% 45%; }
.sf-post--c .sf-post-media img { object-position: 50% 40%; }
.sf-post--f .sf-post-media img { object-position: 50% 22%; }

@keyframes sfDrift {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.05) translate3d(0, -7px, 0); }
}

.sf-post:hover .sf-post-media img,
.sf-post:focus-within .sf-post-media img,
.sf-post.is-open .sf-post-media img {
  animation-play-state: paused;
  transform: scale(1.12);
}

.sf-post-source {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: rgba(var(--ink-rgb), 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity var(--sf-motion), transform var(--sf-motion);
}

.sf-post-source svg {
  width: 0.85rem;
  height: 0.85rem;
}

.sf-post:hover .sf-post-source,
.sf-post:focus-within .sf-post-source,
.sf-post.is-open .sf-post-source {
  opacity: 0;
  transform: translateY(6px);
}

.sf-post-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1.35rem 1.3rem 1.4rem;
  background:
    linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.04) 20%,
      rgba(var(--ink-rgb), 0.72) 100%
    );
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity var(--sf-motion),
    transform var(--sf-motion),
    visibility 0s linear 0.65s;
}

.sf-post:hover .sf-post-overlay,
.sf-post:focus-within .sf-post-overlay,
.sf-post.is-open .sf-post-overlay {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--sf-motion),
    transform var(--sf-motion),
    visibility 0s;
}

.sf-post-meta {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.sf-post-caption {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.sf-post-text {
  margin: 0.15rem 0 0.35rem;
  max-width: 32ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.sf-post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper-deep);
  text-decoration: none;
}

.sf-post-more:hover,
.sf-post-more:focus-visible {
  color: var(--gold);
  outline: none;
}

.sf-post:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .sf-wall {
   display: grid;
    grid-template-columns: 1fr;
  gap: var(--sf-gap);
  }
}

@media (min-width: 768px) {
  .sf-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 15.5rem);
    grid-auto-rows: 15.5rem;
  }
}

@media (max-width: 768px) {
  .sf-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 15.5rem);
    grid-auto-rows: 15.5rem;
  }
}

@media (min-width: 1200px) {
  .sf-wall {
    grid-template-rows: repeat(2, 18.5rem);
    grid-auto-rows: 18.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-ticker-track,
  .sf-post,
  .sf-post-media img,
  .sf-post-overlay,
  .sf-post-source,
  .sf-post-more {
    animation: none !important;
    transition: none !important;
  }

  .sf-post {
    opacity: 1 !important;
    transform: none !important;
  }

  .sf-post-media img {
    transform: none !important;
  }
}

/* ==========================================================================
   Academic Outcomes � Prestige Metrics
   ========================================================================== */
.outcomes-section {
  background-color: var(--primary-light);
  color: var(--text);
  padding: 5rem 0 5.5rem;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .outcomes-section { padding: 7rem 0; }
}

.outcomes-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .outcomes-stage { padding: 0 2.5rem; }
}

.outcomes-eyebrow { color: var(--gold-whisper); }

.outcomes-header { margin-bottom: 5rem; }

.outcomes-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

.outcomes-header-grid > * { min-width: 0; }

.outcomes-title {
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 0;
}

.outcomes-header-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 36rem;
}

.outcomes-lede {
  margin: 0;
  max-width: none;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
}

.outcomes-cta-wrap {
  margin: 0;
}

.outcomes-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: none;
  transition:
    transform 0.35s var(--ease-editorial),
    background-color 0.35s var(--ease-editorial),
    border-color 0.35s var(--ease-editorial),
    color 0.35s var(--ease-editorial),
    box-shadow 0.35s var(--ease-editorial);
}

.outcomes-cta:hover,
.outcomes-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
  box-shadow: 0 20px 40px -18px rgba(var(--paper-rgb), 0.15);
  outline: none;
}

.outcomes-cta span:last-child {
  transition: transform 0.35s var(--ease-editorial);
}

.outcomes-cta:hover span:last-child,
.outcomes-cta:focus-visible span:last-child {
  transform: translateX(3px);
}

@media (min-width: 900px) {
  .outcomes-header-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }

  .outcomes-header-aside {
    padding-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outcomes-cta,
  .outcomes-cta span:last-child {
    transition: none !important;
  }

  .outcomes-cta:hover,
  .outcomes-cta:focus-visible {
    transform: none;
  }
}

.outcomes-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .outcomes-metrics { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
}

@media (max-width: 600px) {
  .outcomes-metrics {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
    text-align: center;
  }

  .outcomes-metric {
    width: 100%;
    max-width: 28rem;
  }

  .outcomes-cta-wrap {
    margin: 0 auto;
  }
}

.outcomes-metric-value {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}

.outcomes-metric-value--text {
  font-size: clamp(1.7rem, 4vw, 4.25rem);
}

.outcomes-metric-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.outcomes-metric-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.outcomes-destinations-kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.outcomes-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.outcomes-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: outcomesMarquee 120s linear infinite;
}

.outcomes-marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.outcomes-marquee-track span::after {
  margin-left: 2.5rem;
  color: var(--gold);
}

@keyframes outcomesMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .outcomes-marquee-track { animation: none; }
}

/* ==========================================================================
   Parent Hub + Enquiry Conversion
   ========================================================================== */
.parent-hub {
  background-color: var(--primary-light);
  color: var(--ink);
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.parent-hub .section-backdrop--tl {
  left: auto;
   right: 4%;
   top: -30px;
   text-align: right;
   font-size: 6rem;
}

@media (min-width: 1024px) {
  .parent-hub { padding: 7rem 0 8rem; }
}

.parent-hub-stage {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .parent-hub-stage {
    grid-template-columns: 1fr 0.95fr;
    gap: 3.5rem;
    padding: 0 2.5rem;
  }
}

.parent-hub-title { max-width: 14ch; margin-bottom: 2rem; }

.parent-resource-index {
  list-style: none;
  margin: 2rem 0 0 0;
  padding: 0;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
}

.parent-resource-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.12);
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s var(--ease-editorial), padding-left 0.3s var(--ease-editorial);
}

.parent-resource-link:hover,
.parent-resource-link:focus-visible {
  color: var(--primary);
  padding-left: 0.35rem;
  outline: none;
}

.parent-resource-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(var(--gold-rgb), 0.85);
}

.parent-resource-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.parent-resource-arrow {
  color: var(--primary);
  transition: transform 0.3s var(--ease-editorial);
}

.parent-resource-link:hover .parent-resource-arrow {
  transform: translateX(4px);
}

.parent-steps {
  margin: 2rem 0 0;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
}

.parent-step {
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.12);
}

.parent-step-trigger {
  appearance: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: color 0.35s var(--ease-editorial);
}

.parent-step-trigger:hover,
.parent-step-trigger:focus-visible,
.parent-step.is-open .parent-step-trigger,
.parent-step:focus-within .parent-step-trigger {
  color: var(--primary);
  outline: none;
}

.parent-step.is-open .parent-resource-num,
.parent-step:focus-within .parent-resource-num {
  color: var(--primary);
}

.parent-step.is-open .parent-resource-arrow,
.parent-step:focus-within .parent-resource-arrow,
.parent-step-trigger:hover .parent-resource-arrow,
.parent-step-trigger:focus-visible .parent-resource-arrow {
  transform: translateX(4px);
}

.parent-step-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-editorial);
}

.parent-step.is-open .parent-step-panel,
.parent-step:focus-within .parent-step-panel {
  grid-template-rows: 1fr;
}

.parent-step-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.parent-step-copy {
  margin: 0;
  max-width: 42rem;
  padding: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 0.35s ease,
    transform 0.4s var(--ease-editorial);
}

.parent-step-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.55rem 0 1.25rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 0.35s ease,
    transform 0.4s var(--ease-editorial),
    color 0.3s var(--ease-editorial);
}

.parent-step.is-open .parent-step-copy,
.parent-step.is-open .parent-step-cta,
.parent-step:focus-within .parent-step-copy,
.parent-step:focus-within .parent-step-cta {
  opacity: 1;
  transform: none;
}

.parent-step-cta:hover,
.parent-step-cta:focus-visible {
  color: var(--accent);
  outline: none;
}

.parent-step-cta span {
  transition: transform 0.35s var(--ease-editorial);
}

.parent-step-cta:hover span,
.parent-step-cta:focus-visible span {
  transform: translateX(3px);
}

.parent-enquiry {
  background: var(--paper);
  color: var(--text);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.75rem 1.5rem 1.85rem;
  box-shadow: 0 28px 56px -28px rgba(var(--ink-rgb), 0.55);
}

@media (min-width: 720px) {
  .parent-enquiry { padding: 2.15rem 2rem 2.25rem; }
}

.parent-enquiry-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-whisper);
}

.parent-enquiry-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.parent-enquiry-form {
  display: grid;
  gap: 0.9rem;
}

.parent-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  min-width: 0;
}

.parent-field-row--phone {
  grid-template-columns: minmax(6.75rem, 0.42fr) minmax(0, 1fr);
}

@media (min-width: 560px) {
  .parent-field-row {
    grid-template-columns: 1fr 1fr;
  }

  .parent-field-row--phone {
    grid-template-columns: minmax(7.25rem, 0.38fr) minmax(0, 1fr);
  }
}

.parent-field { display: grid; gap: 0.35rem; min-width: 0; }

.parent-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.parent-field input{
  width: 100%;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.parent-field select{
  width: 100%;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 0.75rem;
  background: var(--paper);
  color: rgba(var(--ink-rgb), 0.45);
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.parent-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-whisper) 50%),
    linear-gradient(135deg, var(--gold-whisper) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  
}

.parent-field input::placeholder { color: rgba(var(--text-rgb), 0.55); }

.parent-field input:focus,
.parent-field select:focus {
  border-color: var(--primary);
  background: var(--paper);
}

.parent-enquiry-submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.95rem 1.25rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--paper);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease-editorial), background-color 0.3s;
}

.parent-enquiry-submit:hover,
.parent-enquiry-submit:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--paper);
  outline: none;
}

.parent-enquiry-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--gold-whisper);
}

.parent-enquiry-note[hidden] { display: none; }

.parent-direct-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.parent-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 0.75rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: background-color 0.3s, transform 0.3s;
}

.parent-direct-btn:hover,
.parent-direct-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.parent-direct-btn--call:hover { background: rgba(var(--primary-rgb), 0.08); }
.parent-direct-btn--wa {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
}
.parent-direct-btn--wa:hover { background: rgba(37, 211, 102, 0.28); }

.parent-direct-icon { display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) {
  .pathway-card-media img,
  .admit-banner-cta,
  .pathway-intro-cta,
  .wellbeing-cta,
  .parent-enquiry-submit,
  .parent-resource-link,
  .parent-step-panel,
  .parent-step-copy,
  .parent-step-cta,
  .parent-step-cta span,
  .parent-resource-arrow {
    transition: none !important;
    transform: none !important;
  }

  .parent-step-copy,
  .parent-step-cta {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Language / RTL
   -------------------------------------------------------------------------- */
html[dir="rtl"] {
  text-align: start;
}

html[dir="rtl"] body {
  font-family: "Noto Naskh Arabic", "Jost", "Segoe UI", Tahoma, sans-serif;
}

html[dir="rtl"] .header-logo {
  object-position: right center;
}

html[dir="rtl"] .header-ctas {
  justify-content: flex-end;
}

html[dir="rtl"] .btn-arrow,
html[dir="rtl"] .nav-mega-arrow,
html[dir="rtl"] .drawer-link .nav-mega-arrow,
html[dir="rtl"] .principal-cta-arrow,
html[dir="rtl"] .cta-arrow,
html[dir="rtl"] .cta-dir-arrow,
html[dir="rtl"] .fp-resource-arrow,
html[dir="rtl"] .parent-resource-arrow,
html[dir="rtl"] .solid-cta span[aria-hidden="true"],
html[dir="rtl"] .ghost-cta span[aria-hidden="true"],
html[dir="rtl"] .ft-cta span[aria-hidden="true"],
html[dir="rtl"] .default-cta span[aria-hidden="true"],
html[dir="rtl"] .secondary-cta span[aria-hidden="true"],
html[dir="rtl"] .pj-card-cta span[aria-hidden="true"],
html[dir="rtl"] .parent-step-cta span[aria-hidden="true"],
html[dir="rtl"] .sf-post-more span[aria-hidden="true"],
html[dir="rtl"] .why-story-cta span[aria-hidden="true"],
html[dir="rtl"] .pathway-intro-cta span[aria-hidden="true"] {
  display: inline-block;
  transform: scaleX(-1);
}

html[dir="rtl"] .back-to-top-btn {
  right: auto;
  left: 2rem;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .hero-supporting,
html[dir="rtl"] .hero-ctas-row,
html[dir="rtl"] .page-title,
html[dir="rtl"] .page-lede,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .acad-title,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: start;
}

html[dir="rtl"] .page-eyebrow-rule,
html[dir="rtl"] .nav-mega-title-rule {
  background: linear-gradient(270deg, var(--gold), transparent);
}

html[dir="rtl"] .section-kicker,
html[dir="rtl"] .hero-eyebrow,
html[dir="rtl"] .ft-finale-eyebrow {
  flex-direction: row;
}

html[dir="rtl"] ul,
html[dir="rtl"] ol {
  padding-inline-start: 0;
  padding-inline-end: 1.5rem;
}

