@font-face {
  font-family: JostLocal;
  src: url("fonts/main-font/Jost,Oleo_Script,Tajawal/Jost/Jost-VariableFont_wght.ttf");
}

@font-face {
  font-family: TajawalLocal;
  src: url("fonts/main-font/Jost,Oleo_Script,Tajawal/Tajawal/Tajawal-Bold.ttf");
  font-weight: 700;
}

:root {
  --navy: #102e68;
  --navy-deep: #06152f;
  --red: #ff3b3f;
  --ink: #151821;
  --muted: #5d6270;
  --paper: #f5f7fb;
  --mist: #eaf0f8;
  --blue-mist: #dce8fb;
  --white: #ffffff;
  --line: rgba(18, 34, 66, 0.12);
  --shadow: 0 20px 60px rgba(6, 21, 47, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: JostLocal, TajawalLocal, system-ui, sans-serif;
  overflow-x: hidden;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 30px;
  left: 50%;
  z-index: 50;
  width: min(1240px, calc(100% - 56px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: top 0.35s ease, color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, opacity 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled {
  top: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.chrome-hidden .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -145%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 54px;
  object-fit: contain;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 650;
}

.icon-btn,
.round-action,
.close-btn {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-btn span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 2px 0;
  background: currentColor;
}

.round-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 28px;
}

.site-header.scrolled .round-action {
  background: rgba(16, 46, 104, 0.08);
}

.pill-action {
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 800;
}

.site-header.scrolled .pill-action {
  color: #fff;
  background: var(--navy);
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: min(390px, 100%);
  padding: 72px 32px 28px;
  background: #fff;
  box-shadow: 16px 0 80px rgba(0, 0, 0, 0.22);
  transform: translateX(-105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: auto;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu h2 {
  margin: 14px 0 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.side-menu a {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.side-menu a:nth-of-type(2)::after,
.side-menu a:nth-of-type(3)::after,
.side-menu a:nth-of-type(5)::after,
.side-menu a:nth-of-type(6)::after {
  content: "›";
  font-size: 24px;
  line-height: 0.8;
}

.close-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 28px;
  color: #6a6f7b;
}

.menu-mini {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}

.menu-mini img {
  height: 64px;
  object-fit: contain;
}

.menu-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.search-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 11, 22, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.search-card {
  width: min(760px, 100%);
  min-height: 360px;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}

.search-card input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
}

.search-tabs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.search-tabs button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
}

.search-card p {
  margin: 60px 0 0;
  text-align: center;
  color: var(--muted);
}

.scene-section {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.hero {
  min-height: max(860px, 100svh);
  margin-bottom: 0;
  color: #fff;
  overflow: visible;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform-origin: 55% 42%;
  will-change: transform;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(-0.8%, -0.8%, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.2%, 1%, 0);
  }
}

.hero-shade {
  background:
    radial-gradient(circle at 52% 56%, rgba(16, 46, 104, 0.12), rgba(3, 8, 18, 0.7) 55%, rgba(0, 0, 0, 0.86)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2) 45%, #050914);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(185px, 28svh, 300px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  margin: 16px auto 22px;
  font-size: clamp(18px, 1.8vw, 26px);
}

.hero-search {
  width: min(650px, 100%);
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.hero-search input {
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.hero-search button,
.apply-form button,
.admin-toolbar button {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: var(--navy);
  font-weight: 850;
}

.hero-search button {
  padding: 0 22px;
}

.slider-dots {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.slider-dots .active {
  width: 32px;
  border-radius: 999px;
  background: #fff;
}

.service-strip {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 4vh, 46px);
  z-index: 3;
  width: min(980px, calc(100% - 88px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transform: translateX(-50%);
}

.service-card {
  min-width: 0;
  min-height: 148px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(6, 21, 47, 0.18);
}

.service-icon {
  color: #8d94a4;
  font-size: 34px;
  line-height: 1;
}

.service-card strong {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.service-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.manifest {
  position: relative;
  min-height: calc(100svh * 9.2);
  margin-top: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 88% 8%, rgba(220, 232, 251, 0.74), transparent 34%),
    radial-gradient(circle at 4% 100%, rgba(255, 59, 63, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.9) 68%, rgba(229, 238, 252, 0.82)),
    #fff;
}

.manifest-pin {
  position: relative;
  top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
  min-height: 100svh;
  padding: 150px 8vw 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(220, 232, 251, 0.74), transparent 34%),
    radial-gradient(circle at 4% 100%, rgba(255, 59, 63, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.9) 68%, rgba(229, 238, 252, 0.82)),
    #fff;
}

.manifest.is-active .manifest-pin {
  position: fixed;
  inset: 0;
  z-index: 2;
}

.manifest.is-after .manifest-pin {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
}

.manifest-copy h2 {
  display: grid;
  margin: 0;
  color: var(--navy);
  font-size: clamp(56px, 8vw, 126px);
  line-height: 0.9;
  letter-spacing: 0;
}

.manifest-copy h2 span:nth-child(2) {
  color: #526b9f;
}

.manifest-copy p:last-child {
  max-width: 590px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.orbit-graphic {
  position: relative;
  min-height: min(720px, 80vw);
  display: grid;
  place-items: center;
}

.stipple-stage {
  position: relative;
  width: min(720px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  --marker-radius: min(312px, 35.5vw);
  --ring-size: clamp(30px, 3vw, 44px);
  --lens-scale: 1;
  --lens-fit: contain;
  --lens-x: 50%;
  --lens-y: 50%;
  --stipple-mask: radial-gradient(ellipse 45% 44% at 54% 56%, #000 0 72%, rgba(0, 0, 0, 0.9) 80%, rgba(0, 0, 0, 0.34) 90%, transparent 98%);
  --edge-feather: radial-gradient(ellipse 46% 45% at 54% 56%, transparent 0 66%, rgba(0, 0, 0, 0.38) 76%, #000 86%, transparent 98%);
  --image-bottom-mask: linear-gradient(180deg, #000 0 54%, rgba(0, 0, 0, 0.92) 61%, rgba(0, 0, 0, 0.36) 72%, transparent 86%);
  --bottom-feather: linear-gradient(180deg, transparent 0 48%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.82) 78%, #000 100%);
}

.stipple-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(255, 255, 255, 0.72), transparent 48%),
    radial-gradient(ellipse at 74% 18%, rgba(229, 238, 252, 0.52), transparent 46%),
    radial-gradient(ellipse at 74% 92%, rgba(229, 238, 252, 0.66), transparent 50%);
  mask-image: var(--edge-feather);
  -webkit-mask-image: var(--edge-feather);
}

.stipple-stage canvas,
.stipple-lens {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  mask-image: var(--stipple-mask);
  -webkit-mask-image: var(--stipple-mask);
  z-index: 1;
  overflow: hidden;
}

.stipple-lens::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 48% 100%, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.92) 34%, rgba(229, 238, 252, 0.34) 60%, transparent 80%),
    linear-gradient(180deg, transparent 48%, rgba(246, 249, 255, 0.34) 62%, rgba(229, 238, 252, 0.98) 100%);
  mask-image: var(--bottom-feather);
  -webkit-mask-image: var(--bottom-feather);
}

.stipple-lens::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 66%, rgba(246, 249, 255, 0.1) 78%, rgba(229, 238, 252, 0.58) 100%),
    radial-gradient(ellipse at 14% 100%, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.22) 34%, transparent 62%),
    radial-gradient(ellipse at 100% 100%, rgba(229, 238, 252, 0.62), rgba(229, 238, 252, 0.2) 38%, transparent 68%);
  mask-image: var(--edge-feather);
  -webkit-mask-image: var(--edge-feather);
}

.stipple-fallback {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  object-fit: var(--lens-fit);
  object-position: var(--lens-x) var(--lens-y);
  transform: scale(var(--lens-scale));
  transform-origin: center;
  mask-image: var(--stipple-mask), var(--image-bottom-mask);
  mask-composite: intersect;
  -webkit-mask-image: var(--stipple-mask), var(--image-bottom-mask);
  -webkit-mask-composite: source-in;
  filter: none;
  mix-blend-mode: multiply;
  opacity: 1;
  transition: transform 0.62s ease, object-position 0.62s ease;
}

.stipple-stage canvas {
  display: none;
}

.loading-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: transform 0.18s linear;
  overflow: visible;
}

.loading-ring circle {
  fill: none;
  stroke: rgba(16, 46, 104, 0.72);
  stroke-width: 6.4;
  stroke-linecap: round;
  stroke-dasharray: 26 74;
  transform: rotate(96deg);
  transform-origin: 50% 50%;
}

.loading-ring-soft {
  display: none;
}

.orbit-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: transform 0.18s linear;
}

.orbit-markers span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  background: rgba(16, 46, 104, 0.92);
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(calc(var(--marker-radius) * -1));
}

.orbit-markers span:nth-child(n + 9):nth-child(-n + 14) {
  border-radius: 7px;
}

.orbit-markers span:nth-child(1) { --a: 300deg; opacity: 0.14; }
.orbit-markers span:nth-child(2) { --a: 318deg; opacity: 0.24; }
.orbit-markers span:nth-child(3) { --a: 336deg; opacity: 0.36; }
.orbit-markers span:nth-child(4) { --a: 354deg; opacity: 0.5; }
.orbit-markers span:nth-child(5) { --a: 12deg; opacity: 0.64; }
.orbit-markers span:nth-child(6) { --a: 30deg; opacity: 0.78; }
.orbit-markers span:nth-child(7) { --a: 48deg; opacity: 0.9; }
.orbit-markers span:nth-child(8) { --a: 66deg; opacity: 0.98; }
.orbit-markers span:nth-child(9) { --a: 84deg; opacity: 0.9; }
.orbit-markers span:nth-child(10) { --a: 102deg; opacity: 0.8; }
.orbit-markers span:nth-child(11) { --a: 120deg; opacity: 0.68; }
.orbit-markers span:nth-child(12) { --a: 138deg; opacity: 0.56; }
.orbit-markers span:nth-child(13) { --a: 156deg; opacity: 0.44; }
.orbit-markers span:nth-child(14) { --a: 174deg; opacity: 0.3; }
.orbit-markers span:nth-child(n + 15) { display: none; }

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

.section-pad {
  position: relative;
  z-index: 1;
  padding: 110px max(8vw, 24px);
}

.section-head {
  max-width: 850px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.96;
}

.section-head p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.programs {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background: var(--paper);
}

.programs .section-head {
  grid-column: 1 / -1;
}

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

.program-card.large {
  grid-row: span 2;
}

.program-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 13, 30, 0.82));
}

.program-card div {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 1;
}

.program-card span,
.promise-pills span,
.fee-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.program-card h3 {
  margin: 18px 0 8px;
  font-size: 34px;
}

.program-card p {
  max-width: 620px;
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.immersive {
  position: relative;
  min-height: calc(100svh * 7.8);
  overflow: visible;
  color: #fff;
  background: #020711;
}

.immersive-pin {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #020711;
}

.immersive.is-active .immersive-pin {
  position: fixed;
  inset: 0;
  z-index: 2;
}

.immersive.is-after .immersive-pin {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.92), rgba(2, 7, 17, 0.25), rgba(2, 7, 17, 0.8)),
    url("images/library.jpg") center / cover;
  filter: saturate(0.82) contrast(1.08);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.32s ease, transform 0.72s ease;
  will-change: opacity, transform;
}

.immersive-bg-next {
  z-index: 0;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.immersive-bg-next.visible {
  opacity: 1;
  transform: scale(1);
}

.immersive-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 59, 63, 0.34), transparent 22%),
    radial-gradient(circle at 58% 72%, rgba(44, 111, 212, 0.32), transparent 34%);
}

.vertical-tabs {
  position: absolute;
  left: 3vw;
  top: 48%;
  z-index: 2;
  display: grid;
  gap: 16px;
  transform: translateY(-50%);
}

.vertical-tabs button {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  font-size: 22px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.vertical-tabs .active {
  color: var(--red);
}

.immersive-copy {
  position: relative;
  z-index: 1;
  width: min(660px, calc(100% - 48px));
  margin-left: auto;
  padding: 34vh 8vw 0 0;
}

.immersive-copy h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.96;
}

.immersive-copy p:not(.eyebrow) {
  max-width: 560px;
  font-size: 22px;
  line-height: 1.5;
}

.promise-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fees,
.admissions {
  background: #fff;
}

.fees-grid {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  margin: 0 max(-8vw, -96px);
  padding: 42px max(8vw, 24px) 48px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(8vw, 24px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fees-grid::-webkit-scrollbar {
  display: none;
}

.fee-card {
  position: relative;
  z-index: 1;
  flex: 0 0 clamp(292px, 29vw, 420px);
  min-height: 340px;
  padding: clamp(26px, 2.6vw, 38px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 35px rgba(16, 46, 104, 0.08);
  transform: scale(0.92);
  transform-origin: center;
  transition: transform 0.32s ease, color 0.32s ease, background 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.fee-card.active {
  z-index: 3;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 59, 63, 0.48), transparent 34%),
    linear-gradient(140deg, #173a7d 0%, #102e68 42%, #07152d 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(6, 21, 47, 0.24);
  transform: scale(1.05);
}

.fee-card span {
  color: var(--navy);
  background: rgba(16, 46, 104, 0.08);
}

.fee-card.active span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.fee-card h3 {
  margin: 24px 0 8px;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 0.98;
}

.fee-card p,
.fee-card li {
  color: inherit;
  opacity: 0.72;
}

.fee-card.active p,
.fee-card.active li {
  opacity: 0.86;
}

.fee-card ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.campus {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 59, 63, 0.12), transparent 28%),
    var(--mist);
}

.campus-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.campus-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.campus-grid figure:first-child {
  grid-row: span 2;
}

.campus-grid img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.campus-grid figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 21, 47, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.admissions-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  padding: 42px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(16, 46, 104, 0.95), rgba(6, 21, 47, 0.94)),
    url("images/11.jpg") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.apply-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
}

.apply-copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.apply-form .wide {
  grid-column: 1 / -1;
}

.apply-form input,
.apply-form select,
.apply-form textarea,
.admin-toolbar input,
.admin-toolbar select {
  width: 100%;
  border: 1px solid rgba(16, 46, 104, 0.12);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.apply-form input,
.apply-form select {
  height: 54px;
  padding: 0 16px;
}

.apply-form textarea {
  padding: 16px;
  resize: vertical;
}

.apply-form button {
  grid-column: 1 / -1;
  height: 58px;
  background: var(--red);
}

.admin {
  background: var(--paper);
}

.admin-shell {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr 220px 150px;
  gap: 12px;
}

.admin-toolbar input,
.admin-toolbar select {
  height: 52px;
  padding: 0 14px;
}

.request-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.request-card {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.request-card strong {
  display: block;
  font-size: 18px;
}

.request-card small {
  color: var(--muted);
}

.status-select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
}

.delete-request {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 8vw 112px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 50px;
  height: 60px;
  object-fit: contain;
}

.site-footer p {
  color: var(--muted);
}

.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  width: min(720px, calc(100% - 48px));
  height: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(16, 46, 104, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.dock-visible .bottom-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

body.chrome-hidden .bottom-dock {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
}

.bottom-dock a {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.bottom-dock a:first-child {
  color: var(--navy);
}

.bottom-dock a:last-child {
  border-right: 0;
}

@media (max-width: 1020px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .brand span,
  .main-nav a,
  .pill-action {
    display: none;
  }

  .brand {
    min-width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand img {
    width: 42px;
  }

  .campus-grid,
  .programs,
  .manifest-pin,
  .admissions-panel {
    grid-template-columns: 1fr;
  }

  .service-strip {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(900px, calc(100% - 32px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 34px auto 120px;
    transform: none;
  }

  .fees-grid {
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }

  .fee-card {
    flex-basis: min(360px, 31vw);
  }

  .manifest-pin {
    padding: 90px 24px;
  }

  .program-card,
  .campus-grid figure,
  .campus-grid figure:first-child {
    min-height: 430px;
    grid-row: auto;
  }

  .immersive-copy {
    margin: 0;
    padding: 32vh 24px 0 72px;
  }

  .admin-toolbar,
  .request-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 18px;
    left: 16px;
    right: 16px;
    width: auto;
    height: 76px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .site-header.scrolled {
    top: 18px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .main-nav,
  .header-actions {
    display: contents;
  }

  .icon-btn {
    position: absolute;
    left: 0;
    top: 4px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 9, 20, 0.2);
    backdrop-filter: blur(8px);
  }

  .icon-btn span {
    width: 18px;
    height: 1.5px;
    margin: 2.25px 0;
  }

  .site-header.scrolled .icon-btn {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
  }

  .round-action {
    position: absolute;
    right: 0;
    top: 4px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(5, 9, 20, 0.2);
    backdrop-filter: blur(8px);
    font-size: 22px;
    line-height: 1;
  }

  .site-header.scrolled .round-action {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
  }

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

  .hero {
    width: 100vw;
    min-height: 920px;
    overflow: hidden;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 350px;
  }

  .hero h1 {
    max-width: 300px;
    margin: 0 auto;
    font-size: 28px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 268px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  .hero-search {
    display: none;
  }

  .slider-dots {
    margin-top: 16px;
  }

  .service-strip {
    width: min(304px, calc(100vw - 56px));
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 76px;
  }

  .service-card {
    width: 100%;
    min-height: 104px;
    aspect-ratio: auto;
    padding: 15px 18px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }

  .service-icon {
    font-size: 26px;
  }

  .service-card strong {
    margin-top: 9px;
    font-size: 15px;
    line-height: 1.15;
  }

  .service-card small {
    max-width: 226px;
    font-size: 11.5px;
    line-height: 1.34;
  }

  .manifest-copy h2 {
    font-size: 46px;
    line-height: 0.96;
    text-align: center;
  }

  .manifest-copy p:last-child {
    max-width: 318px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.42;
    text-align: center;
  }

  .manifest .eyebrow {
    text-align: center;
  }

  .manifest-pin {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 20px;
    padding: 104px 18px 84px;
  }

  .orbit-graphic {
    order: 1;
    min-height: 338px;
  }

  .stipple-stage {
    width: min(390px, 96vw);
    --marker-radius: min(168px, 41vw);
    --ring-size: clamp(22px, 7vw, 28px);
  }

  .stipple-stage canvas,
  .stipple-lens {
    inset: 0;
    width: auto;
    height: auto;
  }

  .stipple-fallback {
    inset: -3%;
    width: 106%;
    height: 106%;
  }

  .manifest-copy {
    order: 2;
  }

  .immersive-bg {
    background-position: center;
  }

  .immersive {
    min-height: calc(100svh * 7.4);
  }

  .immersive-pin {
    min-height: 100svh;
    overflow: hidden;
  }

  .vertical-tabs {
    left: 16px;
    top: 50%;
    gap: 12px;
  }

  .vertical-tabs button {
    font-size: 19px;
    line-height: 1;
  }

  .immersive-copy {
    width: calc(100% - 92px);
    margin-left: 78px;
    padding: 27vh 14px 0 0;
  }

  .immersive-copy h2 {
    max-width: 260px;
    font-size: 44px;
    line-height: 1;
  }

  .immersive-copy p:not(.eyebrow) {
    max-width: 252px;
    font-size: 19px;
    line-height: 1.45;
  }

  .promise-pills {
    display: grid;
    justify-items: start;
    gap: 10px;
  }

  .promise-pills span {
    padding: 10px 14px;
    font-size: 12px;
  }

  .program-card h3 {
    font-size: 26px;
  }

  .fees-grid {
    gap: 14px;
    margin-inline: -18px;
    padding: 18px 18px 26px;
    scroll-padding-inline: 18px;
  }

  .fee-card {
    flex-basis: min(300px, calc(100vw - 78px));
    min-height: 326px;
    padding: 26px 22px;
    border-radius: 18px;
    transform: scale(0.94);
  }

  .fee-card.active {
    transform: scale(1);
  }

  .fee-card h3 {
    font-size: 40px;
  }

  .fee-card ul {
    margin-top: 20px;
  }

  .apply-form {
    grid-template-columns: 1fr;
  }

  .admissions-panel {
    padding: 26px;
  }

  .side-menu {
    width: min(340px, 88vw);
    padding: 62px 24px 120px;
  }

  .side-menu .close-btn,
  .search-layer .close-btn {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(16, 46, 104, 0.06);
    font-size: 24px;
    line-height: 1;
  }

  .side-menu h2 {
    margin: 10px 0 10px;
    font-size: 16px;
  }

  .side-menu a {
    padding: 11px 0;
    font-size: 14px;
  }

  .search-layer {
    padding: 18px;
  }

  .search-card {
    min-height: 300px;
    padding: 30px 22px;
    border-radius: 18px;
  }

  .search-card input {
    height: 52px;
    border-radius: 12px;
  }

  .bottom-dock {
    width: min(310px, calc(100% - 40px));
    height: 64px;
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-dock a {
    font-size: 12px;
  }

  .site-footer {
    display: block;
    padding-bottom: 108px;
  }
}
