:root {
  /* Custom PAS theme variables */
  --pas-purple: #832996;
  --pas-purple-light: #9e3db5;
  --pas-orange: #dc7603;
  --pas-orange-light: #f08820;
  --pas-purple-pale: #f7eefb;
  --pas-orange-pale: #fff4e8;
  --pas-bg: #f8f9fa;
  --pas-white: #ffffff;
  --pas-dark: #212529;
  --pas-text: #3d3d3d;
  --pas-muted: #6c757d;
  --pas-border: #dee2e6;
  --pas-shadow: 0 4px 24px rgba(131, 41, 150, 0.1);
  --pas-shadow-hover: 0 8px 40px rgba(131, 41, 150, 0.2);

  --font-family-primary: "Urbanist", sans-serif;
  --font-family-secondary: "Poppins", sans-serif;

  --color-primary: var(--pas-purple);
  --color-primary-dark: #621e70;
  --color-primary-light: var(--pas-purple-light);

  --color-secondary: var(--pas-dark);
  --color-secondary-light: var(--pas-text);

  --color-accent: var(--pas-orange);
  --color-accent-light: var(--pas-orange-light);
  --color-success: #4caf7d;

  --color-bg: var(--pas-white);
  --color-bg-alt: var(--pas-bg);
  --color-bg-warm: var(--pas-purple-pale);
  --color-text: var(--pas-text);
  --color-text-muted: var(--pas-muted);
  --color-border: var(--pas-border);

  --gradient-hero: linear-gradient(
    135deg,
    var(--pas-purple) 0%,
    var(--pas-orange) 100%
  );
  --gradient-cta: linear-gradient(
    90deg,
    var(--pas-purple) 0%,
    var(--pas-orange) 100%
  );
  --gradient-text: linear-gradient(
    90deg,
    var(--pas-purple-light) 0%,
    var(--pas-orange-light) 100%
  );
  --gradient-overlay: linear-gradient(
    180deg,
    rgba(33, 37, 41, 0) 0%,
    rgba(33, 37, 41, 0.7) 100%
  );
  --gradient-section: linear-gradient(
    135deg,
    var(--pas-purple-pale) 0%,
    var(--pas-orange-pale) 100%
  );

  /* NEW: consistent spacing + radius scale for polish */
  --space-section: clamp(2.75rem, 4.5vw, 4.5rem);
  --space-section-compact: clamp(2.25rem, 3.5vw, 3.5rem);
  --space-header-content: clamp(1.75rem, 3vw, 2.75rem);
  --space-block: clamp(1.25rem, 2vw, 2rem);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-content: 1280px;

  /* ============================================================
     DECORATIVE SYSTEM TOKENS — section background storytelling
     Shared accent tints, surfaces, shadows and motion speeds.
     ============================================================ */
  --pas-teal: #0f766e;
  --pas-teal-soft: #14b8a6;
  --pas-lavender: #f4ecfb;
  --pas-cream: #fff7ea;
  --pas-mint: #e8f5ef;
  --pas-ivory: #faf6ee;
  --pas-peach: #fff1e4;
  --pas-yellow: #fde68a;
  --pas-gold: #c98a1e;
  --pas-plum: #2a1132;
  --pas-plum-deep: #1c0b22;
  --pas-maroon: #4a1736;

  /* Surface token referenced by the management section (was missing) */
  --pas-gray-light: var(--pas-ivory);

  /* Soft layered card shadows */
  --shadow-soft: 0 18px 40px -26px rgba(42, 29, 58, 0.28);
  --shadow-soft-hover: 0 30px 55px -26px rgba(131, 41, 150, 0.38);

  /* Decorative motion */
  --float-slow: 16s;
  --float-slower: 22s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-secondary);
  color: var(--color-secondary);
  line-height: 1.25;
}

img {
  max-width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
}

@media (min-width: 992px) {
  .hero {
    height: 740px;
  }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(220, 118, 3, 0.34),
      transparent 34%
    ),
    radial-gradient(
      circle at 50% 118%,
      rgba(131, 41, 150, 0.55),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(28, 8, 40, 0.46) 0%,
      rgba(20, 6, 30, 0.56) 55%,
      rgba(12, 4, 20, 0.84) 100%
    );
  z-index: 1;
}

html.js body:not(.is-loaded) .hero__video {
  opacity: 0;
}
html.js body:not(.is-loaded) .hero__logo-link {
  opacity: 0;
  transform: translate(-50%, -20px);
}
html.js body:not(.is-loaded) .hero__eyebrow {
  opacity: 0;
  transform: translateY(20px);
}
html.js body:not(.is-loaded) .hero__title {
  opacity: 0;
  transform: translateY(20px);
}
html.js body:not(.is-loaded) .hero__cta {
  opacity: 0;
  transform: translateY(20px);
}
html.js body:not(.is-loaded) .hero__menu {
  opacity: 0;
  transform: translateX(20px);
}

html.js .hero__video {
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
html.js .hero__logo-link {
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 150ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 150ms;
  will-change: opacity, transform;
}
html.js .hero__eyebrow {
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 300ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
  will-change: opacity, transform;
}
html.js .hero__title {
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 450ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 450ms;
  will-change: opacity, transform;
}
html.js .hero__cta {
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 600ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 600ms;
  will-change: opacity, transform;
}
html.js .hero__menu {
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 700ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 700ms,
    background-color 0.2s ease,
    border-color 0.2s ease;
  will-change: opacity, transform;
}

html.js body.is-loaded .hero__video,
html.js body.is-loaded .hero__logo-link,
html.js body.is-loaded .hero__eyebrow,
html.js body.is-loaded .hero__title,
html.js body.is-loaded .hero__cta,
html.js body.is-loaded .hero__menu {
  opacity: 1;
}

html.js body.is-loaded .hero__logo-link {
  transform: translate(-50%, 0);
}
html.js body.is-loaded .hero__eyebrow,
html.js body.is-loaded .hero__title,
html.js body.is-loaded .hero__cta,
html.js body.is-loaded .hero__menu {
  transform: none;
}

/* ===== Top Bar ===== */
.hero__topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 90;
  pointer-events: none;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.hero__topbar.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(31, 11, 39, 0.94);
  box-shadow: 0 10px 30px rgba(15, 8, 21, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__logo-link {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero__logo {
  width: clamp(130px, 15vw, 180px);
  object-fit: contain;
  display: block;
  transition: width 0.3s ease;
}

.hero__topbar.is-scrolled .hero__logo {
  width: clamp(84px, 7vw, 96px);
}

.hero__menu {
  pointer-events: auto;
  margin-left: auto;
  width: clamp(46px, 5vw, 52px);
  height: clamp(46px, 5vw, 52px);
  background: rgba(10, 18, 28, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

html:not(.js) .hero__menu {
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}
.hero__menu:hover {
  background: rgba(10, 18, 28, 0.6);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero__menu:active {
  transform: scale(0.96);
}
.hero__menu i {
  transition: transform 0.2s ease;
}
.hero__menu:hover i {
  transform: scale(1.05);
}
.hero__menu:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

/* ===== Hero Content ===== */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 1.5rem;
  margin: 0;
  color: #fff;
}

.hero__eyebrow {
  font-family: var(--font-family-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  font-family: var(--font-family-secondary);
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 2.25rem 0;
  overflow-wrap: break-word;
}

.hero__cta {
  display: inline-block;
  position: relative;
  background-color: var(--color-primary);
  background-image: linear-gradient(
    135deg,
    var(--pas-purple) 0%,
    var(--color-primary-light) 55%,
    var(--pas-orange) 130%
  );
  color: #fff;
  font-family: "Urbanist", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  box-shadow: 0 12px 34px rgba(131, 41, 150, 0.42);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

html.js .hero__cta:hover,
html:not(.js) .hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(131, 41, 150, 0.55);
  filter: saturate(1.1) brightness(1.03);
}

.hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== Full-Screen Navigation ===== */
body.menu-open {
  overflow: hidden;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  /* Auto margins on the flow children centre the panel while it fits, then
     collapse to 0 so an expanded submenu stays scrollable instead of clipped. */
  justify-content: flex-start;
  align-items: center;
  padding: 3rem 4rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 450ms ease,
    visibility 450ms ease;
  pointer-events: none;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.site-menu.is-closing {
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}

/* Backdrop and close button stay pinned to the viewport while the links scroll. */
.site-menu__bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}

.site-menu__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-menu.is-open .site-menu__bg-image {
  transform: scale(1);
}
.site-menu.is-closing .site-menu__bg-image {
  transform: scale(1.02);
}

.site-menu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 12, 36, 0.72);
  opacity: 0;
  transition: opacity 450ms ease;
}

.site-menu.is-open .site-menu__overlay {
  opacity: 1;
}
.site-menu.is-closing .site-menu__overlay {
  opacity: 0;
}

.site-menu__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  box-sizing: border-box;
  /* This bar spans the full width but only holds the close button. Without
     this, its empty area swallows taps on any menu item scrolled underneath
     it, because the links sit at a lower z-index. */
  pointer-events: none;
}

.site-menu__logo-link {
  position: relative;
  opacity: 0;
  transform: translateY(-18px);
  margin-top: auto;
  margin-bottom: 2.5rem;
  z-index: 1;
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-block;
  will-change: opacity, transform;
}

.site-menu.is-open .site-menu__logo-link {
  opacity: 1;
  transform: translateY(0);
}
.site-menu.is-closing .site-menu__logo-link {
  opacity: 0;
  transform: translateY(-10px);
}

.site-menu__logo {
  width: clamp(110px, 14vw, 170px);
  object-fit: contain;
}

.site-menu__close {
  /* Re-enable hit-testing that .site-menu__header disables for its empty area. */
  pointer-events: auto;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.85) rotate(-8deg);
  transition:
    opacity 450ms ease,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    border-color 0.2s ease;
  will-change: opacity, transform;
}

.site-menu.is-open .site-menu__close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.site-menu.is-closing .site-menu__close {
  opacity: 0;
}
.site-menu__close i {
  transition: transform 0.25s ease;
}
.site-menu__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}
.site-menu.is-open .site-menu__close:hover i {
  transform: rotate(90deg);
}
.site-menu.is-open .site-menu__close:active {
  transform: scale(0.94) rotate(0deg);
}
.site-menu__close:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

.site-menu__links {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 500px;
}

.site-menu__links > li {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.site-menu.is-open .site-menu__links > li {
  opacity: 1;
  transform: translateY(0);
}
.site-menu.is-closing .site-menu__links > li {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 350ms ease,
    transform 350ms ease;
  transition-delay: 0s !important;
}

.site-menu.is-open .site-menu__links > li:nth-child(1) {
  transition-delay: 180ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(2) {
  transition-delay: 250ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(3) {
  transition-delay: 320ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(4) {
  transition-delay: 390ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(5) {
  transition-delay: 460ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(6) {
  transition-delay: 530ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(7) {
  transition-delay: 600ms;
}
.site-menu.is-open .site-menu__links > li:nth-child(8) {
  transition-delay: 670ms;
}

.site-menu__link[aria-current="page"] {
  color: var(--color-accent-light);
}

.site-menu__link[aria-current="page"]::after {
  left: 0;
  width: 100%;
}

.site-menu__group.is-current > .site-menu__toggle {
  color: var(--color-accent-light);
}

.site-menu__group.is-current > .site-menu__toggle::after {
  left: 0;
  width: 100%;
}

.site-menu__link {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition:
    color 300ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.site-menu__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-light);
  transition:
    width 300ms ease,
    left 300ms ease;
}

.site-menu.is-open .site-menu__link:hover,
.site-menu.is-open .site-menu__link:focus-visible {
  color: var(--color-accent-light);
}
.site-menu.is-open .site-menu__link:hover::after,
.site-menu.is-open .site-menu__link:focus-visible::after {
  width: 100%;
  left: 0;
}
.site-menu__link:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 6px;
}

@media (max-width: 768px) {
  .site-menu {
    padding: 2rem;
  }
  .site-menu__header {
    padding: 2rem 2rem 1.5rem 2rem;
  }
  .site-menu__close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  html.js body:not(.is-loaded) .hero__logo-link {
    transform: translate(-50%, -12px);
  }
  html.js body:not(.is-loaded) .hero__eyebrow,
  html.js body:not(.is-loaded) .hero__title,
  html.js body:not(.is-loaded) .hero__cta {
    transform: translateY(12px);
  }
  html.js body:not(.is-loaded) .hero__menu {
    transform: translateX(12px);
  }
  .site-menu__logo-link {
    transform: translateY(-12px);
  }
  .site-menu__links > li {
    transform: translateY(16px);
  }
  .site-menu.is-closing .site-menu__logo-link {
    transform: translateY(-6px);
  }
  .site-menu.is-closing .site-menu__links > li {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  .hero__video,
  .hero__logo-link,
  .hero__eyebrow,
  .hero__title,
  .hero__cta,
  .hero__menu,
  .site-menu__bg-image,
  .site-menu__logo-link,
  .site-menu__close,
  .site-menu__links > li,
  .site-menu__link {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    transform: none !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
  html.js body:not(.is-loaded) .hero__logo-link,
  html.js body:not(.is-loaded) .hero__eyebrow,
  html.js body:not(.is-loaded) .hero__title,
  html.js body:not(.is-loaded) .hero__cta,
  html.js body:not(.is-loaded) .hero__menu {
    transform: none;
  }
  .site-menu__logo-link,
  .site-menu__close,
  .site-menu__links > li {
    transform: none;
  }
  .site-menu.is-closing .site-menu__logo-link,
  .site-menu.is-closing .site-menu__links > li {
    transform: none;
  }
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

section {
  padding: var(--space-section) 0;
  position: relative;
}
@media (max-width: 767px) {
  section {
    padding: var(--space-section-compact) 0;
  }
}

.heading-playfair {
  font-family: var(--font-family-secondary);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--color-secondary);
}

.eyebrow {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-family-primary);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pas-orange);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--pas-purple);
  padding: 0.55rem 0.9rem;
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(229, 123, 24, 0.46);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  display: none;
}

.text-accent-purple,
.text-accent-orange {
  position: relative;
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}
.text-accent-purple {
  text-decoration-color: var(--pas-purple);
}
.text-accent-orange {
  text-decoration-color: var(--pas-orange);
}

.card-upgraded {
  background: var(--pas-white);
  border: 1px solid var(--pas-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--pas-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-upgraded:hover {
  transform: translateY(-6px);
  box-shadow: var(--pas-shadow-hover);
  border-color: var(--pas-purple-light);
}
.card-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pas-purple-pale);
  color: var(--pas-purple);
  margin-bottom: 1.25rem;
}
.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-upgraded-orange:hover {
  border-color: var(--pas-orange-light);
}
.card-upgraded-orange .card-icon-wrapper {
  background: var(--pas-orange-pale);
  color: var(--pas-orange);
}

.accent-line {
  display: none;
} /* replaced by eyebrow marker above for consistency */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-primary);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-top: 2rem;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.text-link i {
  transition: transform 0.3s ease;
}
.text-link:hover {
  color: var(--color-primary-dark);
}
.text-link:hover i {
  transform: translateX(4px);
}

[id] {
  scroll-margin-top: 88px;
}

/* Section heading widths so lines don't run too long / cut awkwardly */
.heading-playfair {
  max-width: 30ch;
}
.campus-showcase__header .heading-playfair,
.core-values__header .heading-playfair {
  max-width: none;
}

/* ===== Section 1: About (Bento Grid Redesign) ===== */
.about-section {
  --about-teal: #0f766e;
  --about-mint: #e8f6f2;
  --about-cream: #fff7e9;
  --about-lavender: #f5eafa;
  --about-orange: #f08a24;
  --about-purple: #9333ea;
  --about-ink: #2a1d3a;

  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  background-color: var(--pas-lavender);
  background-image:
    radial-gradient(
      circle at 12% 18%,
      rgba(147, 51, 234, 0.12),
      transparent 38%
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(240, 138, 36, 0.14),
      transparent 42%
    ),
    radial-gradient(
      circle at 50% 95%,
      rgba(15, 118, 110, 0.12),
      transparent 45%
    ),
    url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.4" fill="rgba(0,0,0,0.028)"/></svg>'),
    linear-gradient(135deg, var(--pas-lavender) 0%, #ffffff 45%, var(--pas-cream) 100%);
  z-index: 1;
}

.about-section__blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  border-radius: 50%;
  opacity: 0.45;
}
.about-section__blob--one {
  top: -8%;
  right: -6%;
  width: 380px;
  height: 380px;
  background: var(--about-orange);
}
.about-section__blob--two {
  bottom: -10%;
  left: -6%;
  width: 460px;
  height: 460px;
  background: var(--about-teal);
}

.about-section__pattern-dots {
  position: absolute;
  z-index: 0;
  width: 220px;
  height: 220px;
  opacity: 0.55;
  background-image: radial-gradient(
    rgba(131, 41, 150, 0.35) 1.5px,
    transparent 1.6px
  );
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  pointer-events: none;
}
.about-section__pattern-dots.top-left {
  top: 9%;
  left: 3%;
}
.about-section__pattern-dots.bottom-right {
  bottom: 12%;
  right: 3%;
  background-image: radial-gradient(
    rgba(240, 138, 36, 0.35) 1.5px,
    transparent 1.6px
  );
}

.about-section .container {
  position: relative;
  z-index: 2;
}

/* -------------------- Split header row -------------------- */
.about-section__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: var(--space-header-content);
}

@media (min-width: 992px) {
  .about-section__intro {
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 3vw, 2.5rem);
    align-items: end;
  }
}

.about-section__intro-left .eyebrow {
  align-self: flex-start;
  margin-bottom: 1.25rem;
}
.about-section__intro-left .heading-playfair {
  margin: 0;
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.eyebrow--colorful {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--about-purple);
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(240, 138, 36, 0.48);
  padding: 0.55rem 0.9rem;
  color: var(--about-purple);
}
.eyebrow--colorful::before {
  display: none;
}

.text-gradient {
  background: linear-gradient(
    100deg,
    var(--about-purple) 0%,
    var(--about-orange) 55%,
    #e11d48 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.about-section__intro-right p {
  color: rgba(42, 29, 58, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid rgba(240, 138, 36, 0.55);
}
@media (max-width: 991px) {
  .about-section__intro-right p {
    border-left: none;
    padding-left: 0;
    padding-top: 1rem;
    border-top: 2px dashed rgba(147, 51, 234, 0.25);
  }
}

/* -------------------- Bento grid -------------------- */
.about-section__bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

@media (min-width: 640px) {
  .about-section__bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento--values {
    grid-column: 1 / -1;
  }

  .bento--hero {
    grid-column: 1 / -1;
    min-height: 380px;
  }
  .bento--stats {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .bento--hero {
    min-height: 300px;
  }
  .bento--lab {
    min-height: 200px;
  }
}

@media (min-width: 1100px) {
  .about-section__bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(0, auto);
  }
  .bento--hero {
    grid-column: span 8;
    grid-row: span 1;
    min-height: 360px;
  }
  .bento--story {
    grid-column: span 4;
    grid-row: span 1;
  }
  .bento--lab {
    grid-column: span 4;
    grid-row: span 1;
    min-height: 300px;
  }
  .bento--values {
    grid-column: span 8;
    grid-row: span 1;
  }
}

/* Base bento card */
.bento {
  position: relative;
  border-radius: 26px;
  background: var(--pas-white);
  border: 1px solid rgba(42, 29, 58, 0.06);
  box-shadow:
    0 1px 2px rgba(42, 29, 58, 0.04),
    0 18px 40px -22px rgba(42, 29, 58, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
  isolation: isolate;
}
.bento:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 2px rgba(42, 29, 58, 0.05),
    0 28px 55px -20px rgba(131, 41, 150, 0.32);
  border-color: rgba(147, 51, 234, 0.22);
}

/* Image cover behavior shared */
.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento:hover img {
  transform: scale(1.05);
}

.bento__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 30, 0) 35%,
    rgba(20, 10, 30, 0.78) 100%
  );
  z-index: 1;
}

.bento__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  color: #fff;
}
.bento__index {
  font-family: var(--font-family-secondary);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--about-cream);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.bento__caption h3 {
  color: #fff;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.bento__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-primary);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-purple);
  background: var(--pas-purple-pale);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.bento__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--about-purple), var(--about-orange));
  transform: rotate(45deg);
}

/* Hero card */
.bento--hero {
  min-height: 320px;
  justify-content: flex-end;
}
@media (max-width: 1099px) {
  .bento--hero {
    min-height: 360px;
  }
}
.bento--hero .bento__caption h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  max-width: 22ch;
}
.bento__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(20, 10, 30, 0.18);
}
.bento__badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--about-orange), #e11d48);
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35);
  flex-shrink: 0;
}
.bento__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.bento__badge-text strong {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--about-ink);
}
.bento__badge-text span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* Story card */
.bento--story {
  padding: 2rem clamp(1.25rem, 2vw, 2rem);
  background: linear-gradient(160deg, #ffffff 0%, var(--about-lavender) 100%);
  justify-content: flex-start;
}
.bento--story h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--about-ink);
  letter-spacing: -0.01em;
}
.bento--story p {
  color: rgba(42, 29, 58, 0.8);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 0.85rem 0;
  font-weight: 500;
}
.bento--story p:last-of-type {
  margin-bottom: 0;
}

/* Stats gradient card */
.bento--stats {
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--about-purple) 0%,
    #1e3a8a 50%,
    var(--about-teal) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem 1.25rem;
  box-shadow: 0 20px 45px -18px rgba(30, 58, 138, 0.55);
  border-color: transparent;
}
.bento--stats:hover {
  border-color: transparent;
  box-shadow: 0 28px 55px -18px rgba(30, 58, 138, 0.65);
}
.bento-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.bento-stat strong {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}
.bento-stat span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.bento-sep {
  display: none;
}
@media (max-width: 639px) {
  .bento--stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }
}

/* Image card */
.bento--image {
  min-height: 220px;
  justify-content: flex-end;
}
.bento--lab .bento__caption h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* Values card */
.bento--values {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  justify-content: center;
  align-self: stretch;
  gap: 0;
}
.bento--values:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.bento--values h3 {
  display: none;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--about-ink);
  letter-spacing: -0.01em;
}
.bento--values .bento__tag {
  display: none;
}
.bento-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.25rem);
  width: 100%;
  height: 100%;
  align-content: stretch;
}
@media (min-width: 1100px) {
  .bento-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bento-value {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.2vw, 1rem);
  padding: clamp(1.2rem, 2vw, 1.55rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 29, 58, 0.08);
  box-shadow:
    0 1px 2px rgba(42, 29, 58, 0.04),
    0 14px 32px -24px rgba(42, 29, 58, 0.35);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  min-width: 0;
  min-height: 0;
}
.bento-value:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(42, 29, 58, 0.06),
    0 18px 36px -22px rgba(131, 41, 150, 0.28);
}
.bento-value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(20, 10, 30, 0.25);
}
.bento-value__body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.bento-value__body strong {
  font-family: var(--font-family-secondary);
  font-weight: 700;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--about-ink);
}
.bento-value__body span {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.bento-value--purple .bento-value__icon {
  background: var(--pas-purple-pale);
  color: var(--about-purple);
}
.bento-value--orange .bento-value__icon {
  background: var(--pas-orange-pale);
  color: var(--about-orange);
}
.bento-value--teal .bento-value__icon {
  background: var(--about-mint);
  color: var(--about-teal);
}
.bento-value--gold .bento-value__icon {
  background: #fef9c7;
  color: #ca8a04;
}

.bento-value--purple {
  border-color: rgba(147, 51, 234, 0.12);
}
.bento-value--orange {
  border-color: rgba(240, 138, 36, 0.14);
}
.bento-value--teal {
  border-color: rgba(15, 118, 110, 0.12);
}
.bento-value--gold {
  border-color: rgba(234, 179, 8, 0.16);
}

@media (max-width: 639px) {
  .bento-value {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem;
    min-height: 175px;
    padding: 1rem;
  }
  .bento-value__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.15rem;
  }
  .bento-value__body {
    width: 100%;
  }
  .bento-value__body strong,
  .bento-value__body span {
    overflow-wrap: anywhere;
  }
  .bento-value__body strong {
    font-size: 0.98rem;
  }
  .bento-value__body span {
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

/* Keep descriptive copy aligned consistently across content sections. */
main section p:not(.hero__eyebrow) {
  text-align: justify !important;
  text-justify: inter-word;
}

.bento-value--purple:hover {
  background: #8b3fd1;
  border-color: #8b3fd1;
}
.bento-value--orange:hover {
  background: #e97818;
  border-color: #e97818;
}
.bento-value--teal:hover {
  background: #0f8278;
  border-color: #0f8278;
}
.bento-value--gold:hover {
  background: #d79a08;
  border-color: #d79a08;
}
.bento-value:hover .bento-value__icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.bento-value:hover .bento-value__body strong,
.bento-value:hover .bento-value__body span {
  color: #fff;
}

/* CTA card */
.bento--cta {
  padding: 1.75rem clamp(1.25rem, 2vw, 1.75rem);
  background: linear-gradient(160deg, #ffffff 0%, var(--about-mint) 100%);
  justify-content: space-between;
  gap: 1rem;
}
.bento--cta h3 {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 600;
  margin: 0;
  color: var(--about-ink);
  line-height: 1.5;
}

.btn-modern {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(
    100deg,
    var(--about-purple) 0%,
    var(--about-orange) 100%
  );
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(147, 51, 234, 0.55);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease;
}
.btn-modern i {
  transition: transform 0.3s ease;
}
.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -10px rgba(147, 51, 234, 0.65);
  filter: saturate(1.1);
}
.btn-modern:hover i {
  transform: translateX(4px);
}
.btn-modern:focus-visible {
  outline: 3px solid rgba(147, 51, 234, 0.4);
  outline-offset: 3px;
}

/* -------------------- Affiliation band -------------------- */
.about-section__affiliation-band.gradient-band {
  margin-top: var(--space-block);
  background: linear-gradient(
    135deg,
    var(--about-teal),
    #1e3a8a,
    var(--about-purple)
  );
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  border-radius: 20px;
  padding: 1.5rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  box-shadow: 0 22px 45px -20px rgba(30, 58, 138, 0.55);
  position: relative;
  overflow: hidden;
}

.about-section__affiliation-band.gradient-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  z-index: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 767px) {
  .about-section__affiliation-band.gradient-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.75rem;
  }
}

.affiliation-item {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-family-primary);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.affiliation-item strong {
  color: #fff;
  font-weight: 700;
}
.affiliation-item--primary {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
}
.affiliation-item--primary i {
  color: #fcd34d;
  font-size: 1.35rem;
}

.affiliation-separator {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
}
@media (max-width: 767px) {
  .affiliation-separator {
    display: none;
  }
}

/* Reduced motion: keep gradient stat card readable */
@media (prefers-reduced-motion: reduce) {
  .bento--stats,
  .about-section__affiliation-band.gradient-band {
    animation: none;
  }
}

/* ===== Core Values Slider ===== */
.core-values {
  --values-ink: #171124;
  --values-plum: #5b216f;
  --values-teal: #0f766e;
  --values-orange: #f08a24;
  --values-cream: #fff6e9;

  position: relative;
  background:
    repeating-radial-gradient(
      circle at 78% 26%,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 74px
    ),
    radial-gradient(
      circle at 12% 18%,
      rgba(240, 138, 36, 0.25),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(15, 118, 110, 0.28),
      transparent 34%
    ),
    linear-gradient(125deg, #171124 0%, #3b184b 45%, #173f46 100%);
  padding: var(--space-section-compact) 0;
  overflow: hidden;
}

.core-values::before,
.core-values::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.core-values::before {
  top: -20%;
  right: -10%;
  background: rgba(240, 138, 36, 0.15);
}

.core-values::after {
  bottom: -20%;
  left: -10%;
  background: rgba(15, 118, 110, 0.15);
}

.core-values .container {
  position: relative;
  z-index: 1;
}

/* Header */
.core-values__topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
}

.core-values__topbar-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.85rem;
}

.core-values__topbar-left .eyebrow {
  color: var(--values-cream);
  margin-bottom: 1rem;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 246, 233, 0.72);
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(15, 118, 110, 0.78);
  padding: 0.55rem 0.9rem;
}

.core-values__topbar-left .eyebrow::before {
  display: none;
}

.core-values__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--values-cream);
  line-height: 1.1;
  position: relative;
  margin-bottom: 0;
}

.core-values__topbar-left p {
  color: #ffffff;
  margin-bottom: 0;
}

.core-values__topbar-link {
  margin-top: 0.5rem;
}

.core-values__heading .text-accent-gradient {
  background: linear-gradient(
    to right,
    var(--values-orange),
    var(--values-teal)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.core-values__topbar-right p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.75;
  max-width: 60ch;
  margin: 0 auto;
}

/* Controls */
.core-values__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: var(--space-block);
}

.core-values__count {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: #fff;
  font-family: var(--font-family-secondary);
  font-weight: 600;
  min-width: 65px;
}

.core-values__current {
  font-size: 1.25rem;
  color: var(--values-cream);
}

.core-values__divider,
.core-values__total {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.core-values__progress.swiper-pagination-progressbar {
  position: relative;
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0;
  top: auto;
  left: auto;
  bottom: auto;
}

.core-values__progress .swiper-pagination-progressbar-fill {
  background: linear-gradient(
    to right,
    var(--values-orange),
    var(--values-teal)
  );
  border-radius: 2px;
}

.core-values__nav {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.core-values__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.core-values__arrow:hover {
  background: linear-gradient(135deg, var(--values-orange), var(--values-teal));
  border-color: transparent;
  transform: scale(1.05);
}

.core-values__arrow:focus-visible {
  outline: 2px solid var(--values-orange);
  outline-offset: 2px;
}

.core-values__arrow i {
  transition: transform 0.3s ease;
}

.core-values__prev:hover i {
  transform: translateX(-3px);
}

.core-values__next:hover i {
  transform: translateX(3px);
}

.core-values .swiper-button-prev::after,
.core-values .swiper-button-next::after {
  display: none;
}

/* Slider */
.core-values-slider {
  overflow: visible;
  margin: 0;
}

.value-card {
  position: relative;
  width: clamp(280px, 25vw, 360px);
  height: clamp(360px, 35vw, 480px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.65s ease;
  --card-accent: var(--values-cream);
}

@media (max-width: 767px) {
  .value-card {
    width: min(84vw, 360px);
  }
}

.value-card[data-value-index="01"] {
  --card-accent: #f08a24;
}
.value-card[data-value-index="02"] {
  --card-accent: #c084fc;
}
.value-card[data-value-index="03"] {
  --card-accent: #2dd4bf;
}
.value-card[data-value-index="04"] {
  --card-accent: #fbbf24;
}
.value-card[data-value-index="05"] {
  --card-accent: #f43f5e;
}
.value-card[data-value-index="06"] {
  --card-accent: #60a5fa;
}
.value-card[data-value-index="07"] {
  --card-accent: #34d399;
}

.value-card.swiper-slide-prev,
.value-card.swiper-slide-next {
  transform: scale(1);
  opacity: 1;
}

.value-card.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.value-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.value-card.swiper-slide-active:hover img,
.value-card:hover img {
  transform: scale(1.07) translateY(-5px);
}

.value-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 17, 36, 0.34) 0%,
    rgba(23, 17, 36, 0.12) 38%,
    rgba(23, 17, 36, 0.96) 100%
  );
  z-index: 1;
  transition: background 0.5s ease;
}

.value-card.swiper-slide-active:hover .value-card__overlay {
  background: linear-gradient(
    to bottom,
    rgba(23, 17, 36, 0.5) 0%,
    rgba(23, 17, 36, 0.2) 40%,
    rgba(23, 17, 36, 0.98) 100%
  );
}

.value-card__top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.value-card__number {
  font-family: var(--font-family-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
}

.value-card.swiper-slide-active:hover .value-card__number,
.value-card:hover .value-card__number {
  color: var(--card-accent);
  -webkit-text-stroke: 1px var(--card-accent);
}

.value-card__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateY(0);
}

.value-card:not(.swiper-slide-active) .value-card__content {
  transform: translateY(0);
}

.value-card__line {
  width: 24px;
  height: 3px;
  background: var(--card-accent);
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: width 0.5s ease;
}

.value-card.swiper-slide-active:hover .value-card__line,
.value-card:focus-within .value-card__line {
  width: 70px;
}

.value-card h3 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  margin-bottom: 0.5rem;
  color: #fff;
  transition: transform 0.5s ease;
}

.value-card.swiper-slide-active:hover h3,
.value-card:focus-within h3 {
  transform: translateY(-4px);
}

.value-card__description {
  opacity: 1;
  max-height: 160px;
  overflow: hidden;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    max-height 0.5s ease;
}

.value-card.swiper-slide-active .value-card__description,
.value-card:hover .value-card__description,
.value-card:focus-within .value-card__description {
  opacity: 1;
  max-height: 160px;
  transform: translateY(0);
}

.value-card__description p {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.25rem 0;
  line-height: 1.55;
  font-weight: 500;
}

.value-card__explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--card-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 1;
  transition: opacity 0.6s ease 0.1s;
}

.value-card.swiper-slide-active .value-card__explore,
.value-card:hover .value-card__explore,
.value-card:focus-within .value-card__explore {
  opacity: 1;
}

.value-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 3;
  pointer-events: none;
}

.value-card.swiper-slide-active:hover::after {
  animation: lightSweep 1.2s ease-out;
}

@keyframes lightSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@media (hover: hover) {
  .value-card.swiper-slide-active:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(var(--card-accent), 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .value-card,
  .value-card img,
  .value-card__description,
  .value-card__line,
  .core-values__arrow {
    transition: none;
    animation: none;
  }

  .value-card.swiper-slide-active:hover,
  .value-card.swiper-slide-active:hover img {
    transform: none;
  }

  .value-card__description {
    opacity: 1;
    max-height: 160px;
    transform: none;
  }
}

/* ===== Section 2: Academic Journey ===== */
.academic-journey {
  --journey-purple: #6f2c83;
  --journey-orange: #e57b18;
  --journey-teal: #0f766e;
  --journey-blue: #315b8a;
  --journey-cream: #fff8ed;
  --journey-mint: #edf8f5;

  position: relative;
  overflow: hidden;
  padding: var(--space-section-compact) 0;
  background-color: var(--journey-cream);
  background-image:
    radial-gradient(circle at 6% 12%, rgba(111, 44, 131, 0.16), transparent 26%),
    radial-gradient(circle at 94% 88%, rgba(229, 123, 24, 0.16), transparent 28%),
    repeating-linear-gradient(
      0deg,
      rgba(111, 44, 131, 0.04) 0 1px,
      transparent 1px 30px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(111, 44, 131, 0.04) 0 1px,
      transparent 1px 30px
    );
  z-index: 1;
}

.academic-journey .container {
  position: relative;
  z-index: 1;
}

.academic-journey__header {
  max-width: 760px;
  margin: 0 auto var(--space-header-content) auto;
  text-align: center;
}

.academic-journey__header .eyebrow {
  justify-content: center;
  margin-bottom: 1rem;
}

.academic-journey__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.academic-journey__header p {
  color: rgba(33, 20, 38, 0.85);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.75;
}

/* Curriculum pathway */
.curriculum-section {
  --journey-purple: #6f2c83;
  --journey-orange: #e57b18;
  --journey-teal: #0f766e;
  --journey-blue: #315b8a;
  position: relative;
  padding: var(--space-section-compact) 0;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8fc 52%, #fff9ef 100%);
}

.curriculum-pathway {
  position: relative;
  margin: 0;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  overflow: hidden;
  border: 1px solid rgba(111, 44, 131, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(0deg, rgba(111, 44, 131, 0.08) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(111, 44, 131, 0.08) 0 1px, transparent 1px 42px);
  box-shadow: 0 22px 55px -38px rgba(43, 22, 53, 0.45);
}

.curriculum-pathway::after {
  content: "LEARN";
  position: absolute;
  right: -0.08em;
  top: -0.28em;
  color: rgba(111, 44, 131, 0.035);
  font-family: var(--font-family-secondary);
  font-size: clamp(6rem, 16vw, 13rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.curriculum-pathway__heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  margin-bottom: 1rem;
  text-align: center;
}

.curriculum-pathway__heading span {
  color: var(--journey-purple);
  font-family: var(--font-family-secondary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  padding-right: clamp(0.75rem, 2vw, 1.35rem);
  border-right: 6px solid var(--journey-orange);
}

.curriculum-pathway__heading h2 {
  margin: 0;
  color: #625c65;
  font-family: var(--font-family-primary);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.curriculum-pathway__intro {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  color: rgba(42, 29, 58, 0.76);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.curriculum-pathway__stages {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.curriculum-stage {
  --stage-color: var(--journey-purple);
  position: relative;
  min-width: 0;
  padding: 1.05rem 0.85rem 0.95rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  background: var(--stage-color);
  box-shadow: 0 12px 24px -16px var(--stage-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 58%);
  pointer-events: none;
}

.curriculum-stage--orange { --stage-color: var(--journey-orange); }
.curriculum-stage--teal { --stage-color: var(--journey-teal); }
.curriculum-stage--gold { --stage-color: #c9900a; }
.curriculum-stage--blue { --stage-color: var(--journey-blue); }

/* The whole stage card is a link to its section on the academics page.
   The stretched ::after covers the card so the full tile is clickable,
   which leaves the existing padding and layout untouched. */
.curriculum-stage__link {
  color: inherit;
  text-decoration: none;
}

.curriculum-stage__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.curriculum-stage:focus-within {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.curriculum-stage__number {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-family-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.curriculum-stage strong,
.curriculum-stage small {
  position: relative;
  z-index: 1;
  display: block;
}

.curriculum-stage strong {
  color: #fff;
  font-family: var(--font-family-primary);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 800;
  text-transform: uppercase;
}

.curriculum-stage small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  font-weight: 600;
}

@media (hover: hover) {
  .curriculum-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px -15px var(--stage-color);
  }
}

@media (max-width: 820px) {
  .curriculum-pathway__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .curriculum-stage:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .curriculum-pathway {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }
  .curriculum-pathway__heading {
    flex-direction: column;
  }
  .curriculum-pathway__heading span {
    padding: 0 0 0.55rem;
    border-right: 0;
    border-bottom: 4px solid var(--journey-orange);
  }
  .curriculum-pathway__stages {
    grid-template-columns: 1fr;
  }
  .curriculum-stage:last-child {
    grid-column: auto;
  }
}

/* Bento Grid */
.journey-cards-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 1.25rem;
}

/* Card Styling */
.journey-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 280px;
  background: #25142d;
  isolation: isolate;
  box-shadow: 0 18px 45px rgba(38, 23, 44, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  display: flex;
  flex-direction: column;
}

.journey-card--ecce {
  --card-accent: #ef8a28;
}

.journey-card--primary {
  --card-accent: #8a3ca0;
}
.journey-card--primary > img {
  object-position: center 25%;
}

.journey-card--middle {
  --card-accent: #0f8b80;
}

.journey-card--secondary {
  --card-accent: #315b8a;
}

.journey-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 600ms ease;
  z-index: 1;
}

.journey-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 12, 24, 0.08) 10%,
    rgba(19, 12, 24, 0.28) 48%,
    rgba(19, 12, 24, 0.92) 100%
  );
  z-index: 2;
  transition: background 600ms ease;
}

/* Number Label */
.journey-card__top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.journey-card__number {
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-accent);
  color: #fff;
  font-family: var(--font-family-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  transition: background 500ms ease;
}

.journey-card__stage {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
}

/* Card Content */
.journey-card__content {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 1.5rem;
  padding-top: 4.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-card__accent {
  width: 28px;
  height: 3px;
  background: var(--card-accent);
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-card h3 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.35rem, 1.95vw, 1.85rem);
  color: #fff;
  margin: 0 0 0.5rem 0;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-card p {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  max-width: 42ch;
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.journey-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--card-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  z-index: 4;
  pointer-events: none;
}

/* Specific Card Layouts & Adjustments */
.journey-card--ecce {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 480px;
}
.journey-card--ecce .journey-card__content {
  padding: 2.25rem;
  padding-top: 5rem;
}
.journey-card--ecce h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.journey-card--primary {
  grid-column: span 7;
  grid-row: span 1;
}

.journey-card--middle {
  grid-column: span 3;
  grid-row: span 1;
}

.journey-card--secondary {
  grid-column: span 4;
  grid-row: span 1;
}

/* Hover States */
@media (hover: hover) {
  .journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(38, 23, 44, 0.25);
    border-color: var(--card-accent);
  }

  .journey-card:hover > img {
    transform: scale(1.07) translateY(-2%);
  }

  .journey-card:hover .journey-card__overlay {
    background: linear-gradient(
      180deg,
      rgba(19, 12, 24, 0.15) 10%,
      rgba(19, 12, 24, 0.45) 48%,
      rgba(19, 12, 24, 0.96) 100%
    );
  }

  .journey-card:hover .journey-card__content {
    transform: translateY(-4px);
  }

  .journey-card:hover h3 {
    transform: translateY(-6px);
  }

  .journey-card:hover p {
    opacity: 1;
    transform: translateY(-2px);
  }

  .journey-card:hover .journey-card__accent {
    width: 72px;
  }

  .journey-card:hover .journey-card__link {
    opacity: 1;
    transform: translateY(0);
  }

  .journey-card:hover .journey-card__number {
    background: var(--card-accent);
  }

  .journey-card:hover::after {
    animation: journeyLightSweep 1s ease-out forwards;
  }
}

@keyframes journeyLightSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

/* Focus States (Accessibility) */
.journey-card:focus-within {
  border-color: var(--card-accent);
}
.journey-card:focus-within .journey-card__link {
  opacity: 1;
  transform: translateY(0);
}
.journey-card:focus-within .journey-card__accent {
  width: 72px;
}

/* Feature Strip */
.academic-journey__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.academic-journey__feature {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(43, 22, 53, 0.05);
  border: 1px solid rgba(111, 44, 131, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease;
}

.academic-journey__feature span {
  font-family: var(--font-family-secondary);
  font-weight: 700;
  font-size: 1.15rem;
  color: #2b1635;
  line-height: 1.3;
}

.academic-journey__feature i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.4s ease;
}

.academic-journey__feature:nth-child(1) i {
  background: linear-gradient(135deg, #ef8a28, #d67015);
  box-shadow: 0 8px 20px rgba(239, 138, 40, 0.3);
}

.academic-journey__feature:nth-child(2) i {
  background: linear-gradient(135deg, #8a3ca0, #6f2c83);
  box-shadow: 0 8px 20px rgba(138, 60, 160, 0.3);
}

.academic-journey__feature:nth-child(3) i {
  background: linear-gradient(135deg, #0f8b80, #0a655c);
  box-shadow: 0 8px 20px rgba(15, 139, 128, 0.3);
}

.academic-journey__feature:nth-child(4) i {
  background: linear-gradient(135deg, #315b8a, #234266);
  box-shadow: 0 8px 20px rgba(49, 91, 138, 0.3);
}

@media (hover: hover) {
  .academic-journey__feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 22, 53, 0.1);
  }
  .academic-journey__feature:hover i {
    transform: scale(1.08) rotate(5deg);
  }
}

/* Responsive Behaviour */
@media (max-width: 1199px) {
  .journey-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .journey-card--ecce {
    grid-column: span 2;
  }
  .journey-card--primary,
  .journey-card--middle,
  .journey-card--secondary {
    grid-column: span 1;
  }

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

@media (max-width: 767px) {
  .journey-cards-grid {
    grid-template-columns: 1fr;
  }
  .journey-card--ecce,
  .journey-card--primary,
  .journey-card--middle,
  .journey-card--secondary {
    grid-column: span 1;
  }
  .journey-card {
    min-height: 320px;
  }
  .journey-card--ecce {
    min-height: 380px;
  }
  .academic-journey__features {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .journey-card {
    transition: none !important;
  }
  .journey-card > img {
    transition: none !important;
  }
  .journey-card:hover {
    transform: none !important;
  }
  .journey-card:hover > img {
    transform: none !important;
  }
  .journey-card__content,
  .journey-card h3,
  .journey-card p,
  .journey-card__accent,
  .journey-card__link {
    transition: none !important;
  }
  .journey-card:hover .journey-card__content,
  .journey-card:hover h3,
  .journey-card:hover p {
    transform: none !important;
  }
  .journey-card:hover::after {
    animation: none !important;
  }
}

/* ===== Section 3: Campus & Facilities (Clean Colorful Grid) ===== */
.campus-showcase {
  --c-navy: #15263d;
  --c-purple: #6d2d82;
  --c-orange: #e67c19;
  --c-teal: #147d75;
  --c-rose: #be185d;
  --c-cream: #fff5e6;
  --c-mint: #e6f5ef;
  --c-sky: #eaf1fb;
  --c-ink: #1f2a3c;
  --c-muted: #5b6577;

  position: relative;
  overflow: hidden;
  padding: var(--space-section-compact) 0;
  background: linear-gradient(135deg, #eef3f1 0%, #f4f8f6 45%, #eef2f7 100%);
}

.campus-showcase .container {
  position: relative;
  z-index: 2;
}

.campus-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  z-index: 0;
  pointer-events: none;
}

.campus-bg-shape--purple {
  width: 520px;
  height: 520px;
  background: var(--c-teal);
  top: -120px;
  left: -120px;
  opacity: 0.2;
}

.campus-bg-shape--orange {
  width: 520px;
  height: 520px;
  background: #fbb374;
  bottom: -140px;
  right: -150px;
  opacity: 0.2;
}

.campus-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(21, 38, 61, 0.05) 0 1px,
      transparent 1px 46px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(21, 38, 61, 0.05) 0 1px,
      transparent 1px 46px
    );
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 86%);
  mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 86%);
  z-index: 0;
  pointer-events: none;
}

/* ---------------- Header ---------------- */
.campus-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: var(--space-header-content);
}
@media (min-width: 992px) {
  .campus-head {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: clamp(2rem, 3vw, 2.5rem);
  }
}
.campus-head__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.campus-head__left .eyebrow {
  color: var(--c-orange);
  margin-bottom: 1rem;
}
.campus-head__title {
  font-family: var(--font-family-secondary);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  margin: 0;
  max-width: none;
}
.campus-head__title .text-grad {
  background: linear-gradient(
    100deg,
    var(--c-orange) 0%,
    var(--c-rose) 60%,
    var(--c-purple) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.campus-head__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .campus-head__right {
    align-items: flex-end;
    text-align: right;
  }
}
.campus-head__right p {
  font-size: clamp(1.1rem, 1.45vw, 1.25rem);
  color: var(--c-muted);
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
  max-width: 46ch;
}
.campus-head__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--c-orange);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 14px 28px -14px rgba(230, 124, 25, 0.55);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.campus-head__cta i {
  transition: transform 0.3s ease;
}
.campus-head__cta:hover {
  transform: translateY(-3px);
  background: var(--c-navy);
  box-shadow: 0 14px 28px -14px rgba(21, 38, 61, 0.55);
}
.campus-head__cta:hover i {
  transform: translate(2px, -2px);
}
.campus-head__cta:focus-visible {
  outline: 3px solid rgba(230, 124, 25, 0.4);
  outline-offset: 3px;
}

/* ---------------- Grid ---------------- */
/* Desktop layout ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â consistent uniform grid, no awkward spans:
   Row 1: hero (2-wide) | teal-stat | smart-learning
   Row 2: sports        | orange-stat | science
   Row 3: digital (2-wide) | close (2-wide)
*/
.campus-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(200px, auto);
  gap: 6px;
}
@media (min-width: 640px) {
  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(220px, 1fr);
  }
}
@media (min-width: 992px) {
  .campus-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, 1fr);
    gap: 6px;
  }
  .campus-cell--hero {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  .campus-cell--teal {
    grid-column: 3 / span 1;
    grid-row: 1;
  }
  .campus-cell:nth-child(3) {
    grid-column: 4 / span 1;
    grid-row: 1;
  }
  .campus-cell:nth-child(4) {
    grid-column: 1 / span 1;
    grid-row: 2;
  }
  .campus-cell--orange {
    grid-column: 2 / span 1;
    grid-row: 2;
  }
  .campus-cell:nth-child(6) {
    grid-column: 3 / span 2;
    grid-row: 2;
  }
  .campus-cell:nth-child(7) {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
  .campus-cell--close {
    grid-column: 3 / span 2;
    grid-row: 3;
  }
}

/* Cell base */
.campus-cell {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

/* ---------------- Image cells ---------------- */
.campus-cell--img,
.campus-cell--hero {
  background: #0c1424;
}

.campus-cell--img img,
.campus-cell--hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.campus-cell--img::after,
.campus-cell--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.campus-cell--img:hover img,
.campus-cell--hero:hover img {
  transform: scale(1.05);
}

.campus-cell--img figcaption,
.campus-cell--hero figcaption {
  position: relative;
  z-index: 2;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  color: #fff;
}
.campus-cell--hero figcaption {
  padding: clamp(1.4rem, 2vw, 1.85rem);
}
.campus-cell--hero figcaption h3 {
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #fff;
}
.campus-cell--hero figcaption small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.35rem;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 500;
}
.campus-cell--img figcaption h3 {
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  margin: 0;
  line-height: 1.2;
  color: #fff;
}
.campus-cell--img figcaption small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.2rem;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 500;
}

/* Number chip */
.campus-cell__chip {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ---------------- Stat cells ---------------- */
.campus-cell--stat {
  justify-content: center;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.5rem;
  color: #fff;
  overflow: hidden;
}
.campus-cell--teal {
  background: linear-gradient(150deg, var(--c-teal), #0c5a54);
}
.campus-cell--orange {
  background: linear-gradient(150deg, var(--c-orange), #c25a08);
}
.campus-cell--stat strong {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.campus-cell--stat > span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

/* Decorative ghost icon */
.campus-cell__deco {
  position: absolute;
  right: -0.5rem;
  bottom: -0.75rem;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.13);
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.campus-cell--stat:hover .campus-cell__deco {
  transform: translate(-6px, -6px) rotate(-8deg);
}

/* ---------------- Closing cell (purple, wide) ---------------- */
.campus-cell--close {
  justify-content: center;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 0% 100%,
      rgba(255, 255, 255, 0.12),
      transparent 55%
    ),
    linear-gradient(140deg, var(--c-purple) 0%, #3b1a48 100%);
}
.campus-cell--close strong {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.05vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.campus-cell--close > span {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 550;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
  position: relative;
  z-index: 1;
}
.campus-cell--close .campus-cell__deco {
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: -0.5rem;
  color: rgba(255, 255, 255, 0.16);
}

/* ---------------- Touch / reduced motion ---------------- */
@media (hover: none) {
  .campus-cell--img:hover img,
  .campus-cell--hero:hover img,
  .campus-cell--stat:hover .campus-cell__deco {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .campus-cell--img:hover img,
  .campus-cell--hero:hover img,
  .campus-cell--stat:hover .campus-cell__deco {
    transition: none !important;
    transform: none !important;
  }
}

.student-life {
  --student-teal: #0f766e;
  --student-coral: #ef7b5a;
  --student-yellow: #e8a91a;
  --student-blue: #31658d;
  --student-mint: #e7f6f1;
  --student-cream: #fff7ea;
  --student-ink: #1f2937;
  
  background:
    radial-gradient(circle at 8% 88%, rgba(232, 169, 26, 0.2), transparent 32%),
    radial-gradient(circle at 92% 14%, rgba(239, 123, 90, 0.18), transparent 30%),
    linear-gradient(125deg, #fff6e6 0%, #fff3ec 50%, #fff8e1 100%);
  color: var(--student-ink);
  padding: var(--space-section-compact) 0;
  position: relative;
  overflow: hidden;
}

.student-life__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-header-content) auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.student-life__header .eyebrow {
  color: var(--student-teal);
  margin-bottom: 1rem;
}

.student-life__header .heading-playfair {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  color: var(--student-ink);
  margin-bottom: 1rem;
}
.student-life__header .text-accent-purple {
  color: #712d83;
}

.student-life__header p {
  font-size: clamp(1.16rem, 1.35vw, 1.28rem);
  font-weight: 550;
  line-height: 1.6;
  color: rgba(33, 20, 38, 0.85);
  margin-bottom: var(--space-block);
}

.student-life__header-divider {
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--student-teal), var(--student-coral), #712d83);
}

.student-experience {
  display: flex;
  flex-direction: column;
  gap: var(--space-header-content);
}
@media (min-width: 1024px) {
  .student-experience {
    flex-direction: row;
    align-items: stretch;
    min-height: 540px;
    gap: clamp(2rem, 3vw, 2.5rem);
  }
}

.student-experience__nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 38%;
  position: relative;
}


.student-experience__item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: transparent;
  border: none;
  text-align: left;
  transition: background 300ms ease;
  cursor: default;
}

.student-experience__number {
  font-family: var(--font-playfair);
  font-size: 1.2rem;
  color: rgba(0,0,0,0.3);
  font-weight: 700;
  min-width: 28px;
}

.student-experience__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 300ms ease;
}

.student-experience__label {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease;
}
.student-experience__label strong {
  font-size: 1.15rem;
  color: var(--student-ink);
  margin-bottom: 0.2rem;
}
.student-experience__label small {
  font-size: 0.85rem;
  color: #6b7280;
}

.student-experience__arrow {
  color: rgba(0,0,0,0.2);
  font-size: 1.2rem;
  transition: all 300ms ease;
}

.student-experience__item:hover .student-experience__label { transform: translateX(4px); }
.student-experience__item:hover .student-experience__arrow { transform: translateX(6px); color: var(--student-ink); }

.student-experience__item:nth-child(1):hover { background: rgba(15, 118, 110, 0.06); }
.student-experience__item:nth-child(1) .student-experience__number, .student-experience__item:nth-child(1) .student-experience__arrow { color: var(--student-teal); }
.student-experience__item:nth-child(1) .student-experience__icon { background: var(--student-teal); color: #fff; }

.student-experience__item:nth-child(2):hover { background: rgba(239, 123, 90, 0.06); }
.student-experience__item:nth-child(2) .student-experience__number, .student-experience__item:nth-child(2) .student-experience__arrow { color: var(--student-coral); }
.student-experience__item:nth-child(2) .student-experience__icon { background: var(--student-coral); color: #fff; }

.student-experience__item:nth-child(3):hover { background: rgba(232, 169, 26, 0.06); }
.student-experience__item:nth-child(3) .student-experience__number, .student-experience__item:nth-child(3) .student-experience__arrow { color: var(--student-yellow); }
.student-experience__item:nth-child(3) .student-experience__icon { background: var(--student-yellow); color: #fff; }

.student-experience__item:nth-child(4):hover { background: rgba(113, 45, 131, 0.06); }
.student-experience__item:nth-child(4) .student-experience__number, .student-experience__item:nth-child(4) .student-experience__arrow { color: #712d83; }
.student-experience__item:nth-child(4) .student-experience__icon { background: #712d83; color: #fff; }

.student-experience__item:nth-child(5):hover { background: rgba(49, 101, 141, 0.06); }
.student-experience__item:nth-child(5) .student-experience__number, .student-experience__item:nth-child(5) .student-experience__arrow { color: var(--student-blue); }
.student-experience__item:nth-child(5) .student-experience__icon { background: var(--student-blue); color: #fff; }

.student-experience__visual {
  flex: 1 1 62%;
  position: relative;
  min-height: 470px;
}
@media (min-width: 1024px) {
  .student-experience__visual {
    padding-left: 2rem;
  }
}

.student-experience__main-img {
  width: 100%;
  height: clamp(340px, 40vw, 520px);
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 700ms ease;
  display: block;
}
@media (min-width: 1024px) {
  .student-experience__main-img {
    width: 90%;
    border-radius: 90px 30px 30px 30px;
  }
}

.student-experience__main-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15,118,110,0) 50%, rgba(15,118,110,0.3) 100%);
  pointer-events: none;
  transition: opacity 500ms ease;
}
@media (min-width: 1024px) {
  .student-experience__main-overlay {
    width: 90%;
    border-radius: 90px 30px 30px 30px;
  }
}

.student-experience__sub-img {
  position: absolute;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid var(--student-cream);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 700ms ease;
  z-index: 3;
}

.student-experience__sub-img--1 {
  width: 180px;
  height: 180px;
  bottom: -20px;
  right: 5%;
}
@media (max-width: 767px) {
  .student-experience__sub-img--1 {
    width: 130px;
    height: 130px;
    right: 0;
  }
}

.student-experience__sub-img--2 {
  width: 160px;
  height: 160px;
  top: 40px;
  right: 0;
}
@media (max-width: 767px) {
  .student-experience__sub-img--2 {
    display: none;
  }
}

.student-experience__strip-img {
  position: absolute;
  width: 200px;
  height: 80px;
  bottom: 120px;
  left: -20px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--student-mint);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 700ms ease;
  z-index: 2;
}
@media (max-width: 1023px) {
  .student-experience__strip-img {
    display: none;
  }
}

.student-experience__statement {
  position: absolute;
  bottom: 120px;
  left: -20px;
  background: var(--student-teal);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: 16px;
  font-family: var(--font-playfair);
  font-size: 1.15rem;
  font-style: italic;
  max-width: 260px;
  box-shadow: 0 10px 24px rgba(15,118,110,0.3);
  z-index: 4;
  transition: transform 700ms ease;
}
@media (max-width: 767px) {
  .student-experience__statement {
    top: auto;
    bottom: -40px;
    left: 1rem;
    right: 1rem;
    max-width: none;
    font-size: 1rem;
  }
}

.student-experience__visual:hover .student-experience__main-img {
  transform: scale(1.02);
}
.student-experience__visual:hover .student-experience__main-overlay {
  opacity: 0.8;
}
.student-experience__visual:hover .student-experience__sub-img--1 {
  transform: translate(6px, 6px);
}
.student-experience__visual:hover .student-experience__sub-img--2 {
  transform: translate(6px, -6px);
}
.student-experience__visual:hover .student-experience__strip-img {
  transform: translateX(-8px);
}
.student-experience__visual:hover .student-experience__statement {
  transform: translateY(-8px);
}

@media (prefers-reduced-motion: reduce) {
  .student-experience__visual:hover .student-experience__main-img,
  .student-experience__visual:hover .student-experience__sub-img--1,
  .student-experience__visual:hover .student-experience__sub-img--2,
  .student-experience__visual:hover .student-experience__strip-img,
  .student-experience__visual:hover .student-experience__statement,
  .student-experience__item:hover .student-experience__label,
  .student-experience__item:hover .student-experience__arrow {
    transform: none;
  }
}


/* ===== Footer ===== */
.site-footer {
  position: relative;
  background-color: #160a1e;
  color: rgba(255, 255, 255, 0.72);
  padding: var(--space-section) 0 clamp(1.75rem, 3vw, 2.25rem) 0;
  font-family: var(--font-family-primary);
  font-size: 0.94rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(220, 118, 3, 0.22), transparent 30%),
    linear-gradient(
      180deg,
      rgba(20, 8, 28, 0.96) 0%,
      rgba(20, 11, 25, 0.93) 22%,
      rgba(20, 11, 25, 0.93) 100%
    ),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px),
    url("../assets/images/infra/school-pic.webp") center/cover no-repeat;
  background-size: auto, auto, 22px 22px, cover;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  margin-bottom: var(--space-block);
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1.8fr 0.9fr 0.9fr 1.7fr;
    gap: clamp(1.75rem, 3vw, 2.25rem);
  }
}

.site-footer__brand h3 {
  color: #fff;
  font-family: var(--font-family-secondary);
  font-size: 1.15rem;
  margin: 1.35rem 0 0.85rem 0;
  line-height: 1.4;
}
.site-footer__brand p {
  margin: 0;
  max-width: 34ch;
}

.site-footer__logo {
  max-width: 108px;
  height: auto;
  display: block;
}

.site-footer__links h4,
.site-footer__info h4 {
  color: #fff;
  font-family: var(--font-family-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.35rem 0;
}

.site-footer__links ul,
.site-footer__info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer__links a:hover {
  color: var(--color-accent-light);
}
.site-footer__info li,
.site-footer__info a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__info a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__info a:hover {
  color: #fff;
}

.site-footer__contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  line-height: 1.55;
}

.site-footer__contact i {
  margin-top: 0.2rem;
  color: var(--color-accent-light);
  font-size: 0.9rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__bottom p {
  margin: 0;
}
.site-footer__bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.15rem;
}

.site-footer__designer {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer__designer span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__designer img {
  display: block;
  width: clamp(112px, 12vw, 150px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  border-radius: 4px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer__legal a:hover {
  color: #fff;
}
.site-footer__legal .divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Events Showcase ===== */
.events-showcase {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 64px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 1px,
      transparent 1px 64px
    ),
    radial-gradient(circle at 15% 18%, rgba(220, 118, 3, 0.22), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(131, 41, 150, 0.3), transparent 34%),
    linear-gradient(135deg, var(--pas-plum) 0%, var(--pas-maroon) 55%, #160a1c 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
}

/* Decorative spotlight glows */
.events-showcase::before,
.events-showcase::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 0;
  pointer-events: none;
}
.events-showcase::before {
  width: 460px;
  height: 460px;
  background: rgba(240, 138, 36, 0.3);
  top: -120px;
  left: -100px;
}
.events-showcase::after {
  width: 540px;
  height: 540px;
  background: rgba(212, 160, 23, 0.18);
  bottom: -160px;
  right: -120px;
}

.events-showcase .container {
  position: relative;
  z-index: 1;
}

.events-showcase__header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: var(--space-header-content);
}

.events-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.events-gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  height: 250px;
  background: var(--pas-dark);
  border: 1px solid rgba(255,255,255,0.4);
}

.events-gallery figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 1;
}

.events-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) and (pointer: fine) {
  .events-gallery figure:hover img {
    transform: scale(1.1);
  }
  .events-gallery figure:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  }
}

.events-gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--pas-white);
  font-family: var(--font-family-secondary);
  font-weight: 750;
  font-size: clamp(1.18rem, 1.45vw, 1.35rem);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.events-gallery figcaption i {
  color: var(--pas-orange);
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .events-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-gallery__hero { grid-column: 1 / 3; height: 350px; }
}

@media (min-width: 992px) {
  .events-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px; 
  }
  .events-gallery figure {
    height: 100%;
  }
  .events-gallery__hero {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .events-gallery__hero figcaption {
    font-size: 1.5rem;
    padding: 2rem;
  }
  .events-gallery__portrait {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .events-gallery__item1 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }
  .events-gallery__item2 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .events-gallery__item3 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
  }
}

/* ===== Management Section ===== */
/* Premium editorial leadership showcase: compact two-column header,
   a short commitment quote, and three complete profile cards
   (chairman featured at ~2fr, vice-chairman & principal at ~1fr each). */
.management-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 3rem) 0;
}

.management-section .container {
  position: relative;
  z-index: 2;
}

.management-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  align-items: center;
  text-align: center;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.1rem);
}

.management-header__title {
  position: relative;
}

.management-header__title .eyebrow {
  margin-bottom: 0.8rem;
}

.management-header__heading {
  margin: 0 auto;
  max-width: 30ch;
}

.management-header__content {
  margin: 0 auto;
  max-width: 46ch;
}

.management-header__text {
  margin: 0 0 1.4rem;
  color: var(--color-text);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.7;
}

.management-header__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.management-header__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  background: var(--pas-white);
  border: 1px solid var(--pas-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  box-shadow: 0 6px 16px -10px rgba(42, 29, 58, 0.35);
}

.management-header__trust li i {
  font-size: 0.9rem;
}

.management-header__trust li:nth-child(1) i { color: var(--pas-purple); }
.management-header__trust li:nth-child(2) i { color: var(--pas-orange); }
.management-header__trust li:nth-child(3) i { color: var(--pas-teal); }

/* ---------------------------- Commitment quote ---------------------------- */
.management-quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto clamp(1.25rem, 2vw, 1.75rem);
  padding: 0.65rem 1.25rem 0.75rem;
  text-align: center;
}

.management-quote__mark {
  position: absolute;
  top: -0.6rem;
  left: 1.15rem;
  font-family: var(--font-family-secondary);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--pas-purple);
}

.management-quote__label {
  display: inline-block;
  font-family: var(--font-family-primary);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pas-orange);
  margin-bottom: 0.5rem;
}

.management-quote__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------------------------- Profile grid ---------------------------- */
.management-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.management-card {
  position: relative;
  display: block;
  height: clamp(380px, 58vw, 430px);
  border-radius: 24px;
  overflow: hidden;
  background: var(--pas-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 40px -28px rgba(42, 29, 58, 0.35);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  isolation: isolate;
}

.management-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -26px rgba(131, 41, 150, 0.40);
}

.management-card:focus-visible {
  outline: 3px solid var(--pas-purple);
  outline-offset: 4px;
}

/* Coloured accent line along the top of every card */
.management-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent, var(--pas-purple));
  z-index: 3;
}

.management-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.management-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.management-card:hover .management-card__media img {
  transform: scale(1.06);
}

/* Controlled bottom gradient keeps the overlaid name/role readable */
.management-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 8, 26, 0.88) 0%,
    rgba(20, 8, 26, 0.45) 36%,
    transparent 64%
  );
  z-index: 1;
  pointer-events: none;
}

.management-card__number {
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  z-index: 2;
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.management-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.4rem 1.5rem;
  color: var(--pas-white);
}

.management-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--pas-white);
  background: var(--accent, var(--pas-purple));
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}

.management-card__meta {
  flex: 1;
  min-width: 0;
}

.management-card__meta h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-family-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pas-white);
}

.management-card__meta p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
}

.management-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--pas-white);
  background: var(--accent, var(--pas-purple));
  border: none;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.management-card:hover .management-card__arrow {
  transform: translate(2px, -2px);
  background: var(--pas-white);
  color: var(--accent, var(--pas-purple));
}

/* Per-card accent + tuned object-position so faces stay visible */
.management-card--purple {
  --accent: var(--pas-purple);
}
.management-card--purple .management-card__media img {
  object-position: center 22%;
}

.management-card--orange {
  --accent: var(--pas-orange);
}
.management-card--orange .management-card__media img {
  object-position: center 16%;
}

.management-card--teal {
  --accent: var(--pas-teal);
}
.management-card--teal .management-card__media img {
  object-position: center 20%;
}

/* ---------------------------- Responsive ---------------------------- */
/* Grid adjustments */
@media (min-width: 621px) and (max-width: 899px) {
  .management-grid {
    grid-template-columns: 1fr 1fr;
  }
  .management-card--purple {
    grid-column: 1 / -1;
    height: clamp(360px, 40vw, 420px);
  }
}

/* Desktop: all cards equal size */
@media (min-width: 900px) {
  .management-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .management-card {
    height: clamp(400px, 35vw, 480px);
  }
}

/* Hide non-essential decoration on small screens */
@media (max-width: 620px) {
  .management-section__decor-circle,
  .management-section__decor-curve {
    display: none;
  }
}

/* ---------------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .management-card,
  .management-card__media img,
  .management-card__arrow {
    transition: none !important;
  }
  .management-card:hover,
  .management-card:hover .management-card__media img {
    transform: none;
  }
}

/* ==========================================================================
   DECORATIVE LAYER — section background storytelling
   Each block is self-contained, sits behind content (z-index: 0), uses
   pointer-events: none, and is clipped by its section's overflow: hidden.
   ========================================================================== */

/* ---------------------------- Motion tokens ---------------------------- */
@keyframes decorFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-16px) rotate(var(--rot, 0deg));
  }
}
@keyframes decorFloatX {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(14px);
  }
}

/* ========================================= 1. HERO ====================== */
/* Fine grain layered above the cinematic overlay but below the hero content. */
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.5) 0.5px,
    transparent 0.6px
  );
  background-size: 3px 3px;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  z-index: 1;
  pointer-events: none;
}

/* ========================================= 2. ABOUT ==================== */
/* Thin curved learning-path line + decorative ring in unused whitespace. */
.about-section::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -4%;
  width: 62%;
  height: 84%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 400" preserveAspectRatio="none"><path d="M-40,300C260,180,420,180,720,260C1020,340,1180,340,1480,180" fill="none" stroke="rgba(147,51,234,0.16)" stroke-width="3" stroke-dasharray="2,12" stroke-linecap="round"/></svg>')
    no-repeat left center / contain;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.about-section::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 5%;
  width: 140px;
  height: 140px;
  border: 2px dashed rgba(147, 51, 234, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(240, 138, 36, 0.14);
  z-index: 0;
  pointer-events: none;
}

/* ========================================= 3. CORE VALUES ============== */
/* Oversized outlined "VALUES" watermark + small geometric spark accents. */
.core-values__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(4rem, 26vw, 24rem);
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.core-values__watermark::before,
.core-values__watermark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  transform: rotate(45deg);
}
.core-values__watermark::before {
  top: -34px;
  left: -34px;
  background: rgba(240, 138, 36, 0.5);
}
.core-values__watermark::after {
  bottom: -34px;
  right: -34px;
  background: rgba(45, 212, 191, 0.45);
}

/* ========================================= 4. ACADEMIC JOURNEY ========= */
/* Top wave separator (from the dark Core Values section) + a curved
   learning path with milestone dots running behind the cards. */
/* Removed .academic-journey::before to remove curve */
.academic-journey::after {
  content: "";
  position: absolute;
  top: 28%;
  left: 0;
  width: 100%;
  height: 52%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 400" preserveAspectRatio="none"><path d="M-40,300C260,180,420,180,720,260C1020,340,1180,340,1480,180" fill="none" stroke="rgba(111,44,131,0.18)" stroke-width="3" stroke-dasharray="2,12" stroke-linecap="round"/><circle cx="120" cy="248" r="7" fill="rgba(229,123,24,0.3)"/><circle cx="420" cy="208" r="7" fill="rgba(111,44,131,0.3)"/><circle cx="720" cy="260" r="7" fill="rgba(15,118,110,0.3)"/><circle cx="1040" cy="312" r="7" fill="rgba(229,123,24,0.3)"/><circle cx="1360" cy="208" r="7" fill="rgba(111,44,131,0.3)"/></svg>')
    no-repeat center / contain;
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
}

/* ========================================= 5. CAMPUS & FACILITIES ====== */
/* Oversized faded "CAMPUS" word + architectural concentric rings. */
.campus-showcase::before {
  content: "CAMPUS";
  position: absolute;
  bottom: -3%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(5rem, 20vw, 18rem);
  letter-spacing: 0.04em;
  color: rgba(21, 38, 61, 0.045);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.campus-showcase::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -7%;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(20, 125, 117, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(20, 125, 117, 0.08),
    0 0 0 70px rgba(20, 125, 117, 0.04);
  z-index: 0;
  pointer-events: none;
}

/* ========================================= 6. STUDENT LIFE ============= */
/* Playful, slightly rotated abstract shapes; only a few float gently. */
.student-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.student-deco {
  position: absolute;
  --rot: 0deg;
}
.student-deco--ring {
  top: 11%;
  left: 5%;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(131, 41, 150, 0.22);
  border-radius: 50%;
  animation: decorFloat var(--float-slow) ease-in-out infinite;
}
.student-deco--triangle {
  top: 15%;
  right: 7%;
  width: 0;
  height: 0;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-bottom: 56px solid rgba(232, 169, 26, 0.22);
  --rot: 18deg;
  transform: rotate(18deg);
}
.student-deco--dots {
  bottom: 13%;
  left: 9%;
  width: 120px;
  height: 76px;
  background-image: radial-gradient(
    rgba(239, 123, 90, 0.4) 2px,
    transparent 2.5px
  );
  background-size: 16px 16px;
  opacity: 0.6;
}
.student-deco--squiggle {
  bottom: 17%;
  right: 11%;
  width: 130px;
  height: 44px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 40"><path d="M2,20C20,2,40,38,60,20C80,2,100,38,118,20" fill="none" stroke="rgba(15,118,110,0.45)" stroke-width="4" stroke-linecap="round"/></svg>')
    no-repeat center / contain;
  animation: decorFloatX var(--float-slower) ease-in-out infinite;
}
.student-deco--square {
  top: 44%;
  left: 3.5%;
  width: 26px;
  height: 26px;
  background: rgba(131, 41, 150, 0.18);
  border-radius: 7px;
  --rot: 20deg;
  transform: rotate(20deg);
  animation: decorFloat 18s ease-in-out infinite;
}
.student-deco--spark {
  top: 28%;
  right: 20%;
  width: 16px;
  height: 16px;
  background: rgba(220, 118, 3, 0.5);
  border-radius: 3px;
  --rot: 45deg;
  transform: rotate(45deg);
}

/* ========================================= 7. EVENTS ================== */
/* Faded word motif, gold/orange spark accents, glass card edges,
   and readable light text on the new dark plum background. */
.events-showcase__watermark {
  position: absolute;
  top: 4%;
  right: 4%;
  font-family: var(--font-family-secondary);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.events-showcase__watermark::before,
.events-showcase__watermark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
}
.events-showcase__watermark::before {
  top: 14%;
  left: -26px;
  background: rgba(212, 160, 23, 0.6);
}
.events-showcase__watermark::after {
  bottom: 10%;
  right: -22px;
  background: rgba(240, 138, 36, 0.5);
}
.events-showcase .heading-playfair {
  color: #fff;
}
.events-showcase .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--pas-orange-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.events-gallery figure {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* ========================================= 8. MANAGEMENT =============== */
/* Top wave separator (from the dark Events section), a restrained
   "LEADERSHIP" watermark, and behind-the-content shapes
   (outline ring, orange dot grid, connecting curve). */
/* Removed .management-section::before to remove curve */

/* Restrained decorative shapes — all sit behind content and are non-interactive. */
.management-section__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Large faint purple outlined circle behind the header */
.management-section__decor-circle {
  position: absolute;
  top: 6%;
  left: -7%;
  width: clamp(220px, 26vw, 360px);
  height: clamp(220px, 26vw, 360px);
  border: 1.5px solid rgba(131, 41, 150, 0.18);
  border-radius: 50%;
}

/* Small orange dot grid near the cards */
.management-section__decor-dots {
  position: absolute;
  bottom: 14%;
  right: 3%;
  width: 116px;
  height: 116px;
  opacity: 0.75;
  background-image: radial-gradient(rgba(220, 118, 3, 0.34) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}

/* Subtle curved line connecting the header to the profile area */
.management-section__decor-curve {
  position: absolute;
  top: 32%;
  left: 33%;
  width: clamp(260px, 38vw, 520px);
  height: clamp(150px, 20vw, 300px);
  border: 1.5px solid transparent;
  border-bottom-color: rgba(131, 41, 150, 0.16);
  border-radius: 0 0 50% 50%;
  transform: rotate(-8deg);
}

/* ========================================= 9. FOOTER ================== */
/* Large low-opacity arch glow + clearer separation between columns. */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -32%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 85%;
  border-radius: 45% 45% 0 0 / 100% 100% 0 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(131, 41, 150, 0.3),
    transparent 62%
  );
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 992px) {
  .site-footer__links,
  .site-footer__info {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ========================================= REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  .student-deco--ring,
  .student-deco--squiggle,
  .student-deco--square {
    animation: none !important;
  }
}

/* ========================================= RESPONSIVE DECOR ============ */
/* Reduce, simplify, or hide purely decorative objects on smaller screens. */
@media (max-width: 1023px) {
  .campus-showcase::after,
  .about-section::after,
  .events-showcase__watermark {
    display: none;
  }
  .student-deco--triangle,
  .student-deco--squiggle,
  .student-deco--dots {
    display: none;
  }
}
@media (max-width: 767px) {
  .about-section__pattern-dots,
  .about-section::before,
  .core-values__watermark,
  .academic-journey::after,
  .campus-showcase::before {
    display: none;
  }
  .student-decor {
    display: none;
  }
}

/* ========================================= FOOTER ALIGNMENT ============ */
/* Every footer column carries the same number of rows at the same row
   rhythm, so the columns and their divider rules end on the same baseline. */

.site-footer__credential {
  margin: 0.85rem 0 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.site-footer__links ul,
.site-footer__info ul {
  gap: 0.72rem;
}

.site-footer__links li,
.site-footer__info li {
  line-height: 1.5;
  min-height: 1.5em;
}

.site-footer__contact li {
  line-height: 1.5;
}

/* Long addresses fit the column without wrapping unpredictably. */
.site-footer__contact a,
.site-footer__contact span {
  overflow-wrap: anywhere;
}

@media (min-width: 992px) {
  /* Give the contact column the width its email addresses need. */
  .site-footer__grid {
    grid-template-columns: 1.55fr 0.9fr 1.05fr 1.95fr;
  }

  .site-footer__contact {
    font-size: 0.9rem;
  }

  /* Columns stretch to a common height so the divider rules match. */
  .site-footer__brand,
  .site-footer__links,
  .site-footer__info {
    display: flex;
    flex-direction: column;
  }
}

/* ========================================= MENU GROUPS ================= */
/* The overlay menu groups related pages behind expandable parents. */

.site-menu__group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-menu__toggle {
  /* A button, but it must read exactly like the sibling menu links, so it
     inherits .site-menu__link and only clears the browser's button chrome.
     Do not reset font or color here: that would override .site-menu__link. */
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0 0 6px;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: inherit;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}

.site-menu__toggle i {
  font-size: 0.55em;
  opacity: 0.7;
  transition: transform 0.35s ease;
}

.site-menu__group.is-open .site-menu__toggle i {
  transform: rotate(180deg);
}

.site-menu__sub {
  display: block;
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
}

.site-menu__group.is-open .site-menu__sub {
  margin-top: 0.85rem;
}

.site-menu__sub > li + li {
  margin-top: 0.55rem;
}

.site-menu__sublink {
  display: block;
  padding: 0.18rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-family-primary);
  font-size: clamp(0.86rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-menu__sublink:hover,
.site-menu__sublink:focus-visible {
  color: var(--color-accent-light);
}

.site-menu__sublink[aria-current="page"] {
  color: #fff;
}

.site-menu__sublink[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 0.5rem;
  vertical-align: middle;
  background: var(--color-accent-light);
}

/* No JS: show every group expanded rather than hiding the sub-pages. */
html:not(.js) .site-menu__sub {
  max-height: none;
  margin-top: 0.85rem;
  opacity: 1;
}
