:root {
  --midnight: #061a3d;
  --navy: #0b2c63;
  --blue: #1768d8;
  --teal: #16a3a8;
  --gold: #d5a11e;
  --maroon: #7a1834;
  --green: #17775e;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ef;
  --soft: #f4f7fb;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(6, 26, 61, 0.16);
  --shadow-soft: 0 14px 34px rgba(6, 26, 61, 0.09);
  --radius: 8px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.site-header,
main,
.footer {
  max-width: 100%;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(calc(100% - clamp(24px, 5vw, 48px)), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--midnight);
  font-weight: 900;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 26, 61, 0.72);
  color: white;
  backdrop-filter: blur(18px);
  overflow: visible;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(217, 226, 239, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(6, 26, 61, 0.12);
}

.navbar {
  position: relative;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.brand strong {
  display: block;
  color: currentColor;
  font-size: 17px;
  line-height: 1.08;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.site-header.scrolled .brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.86;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
  background: #edf4ff;
  color: var(--navy);
}

.nav-links .nav-cta {
  margin-left: 8px;
  background: var(--gold);
  color: var(--midnight);
  opacity: 1;
  box-shadow: 0 12px 24px rgba(213, 161, 30, 0.22);
}

.nav-links .nav-cta:hover {
  background: #f0bd36;
  color: var(--midnight);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: var(--radius);
  padding: 11px;
  background: var(--gold);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--midnight);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(980px, 100svh);
  padding: clamp(118px, 12vh, 150px) 0 84px;
  color: white;
  overflow: hidden;
  background: var(--midnight);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: saturate(1.02) contrast(1.04);
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 26, 61, 0.98) 0%, rgba(6, 26, 61, 0.88) 38%, rgba(6, 26, 61, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 26, 61, 0.18), rgba(6, 26, 61, 0.94));
}

.hero-shine {
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 38%, transparent 52%),
    linear-gradient(0deg, rgba(213, 161, 30, 0.16), transparent 38%);
  animation: lightSweep 8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4.8vw, 58px);
}

.hero-copy,
.section-copy,
.prestige-copy,
.tech-copy,
.admission-copy,
.contact-card {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  border: 1px solid rgba(213, 161, 30, 0.34);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe4a1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.section-kicker {
  background: #fff8e3;
  color: #815f08;
  border-color: rgba(213, 161, 30, 0.26);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #31d394;
  box-shadow: 0 0 0 6px rgba(49, 211, 148, 0.14);
}

.hero h1 {
  margin: 22px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 7.8vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 780px;
  text-wrap: balance;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.72;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f1c24a);
  color: var(--midnight);
  box-shadow: 0 20px 42px rgba(213, 161, 30, 0.25);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.btn-light {
  background: white;
  color: var(--midnight);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 38px;
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  color: white;
  font-size: 32px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  width: min(100%, 540px);
  min-height: clamp(420px, 45vw, 560px);
  justify-self: end;
}

.showcase-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.main-card {
  inset: 70px 42px 72px 42px;
  display: grid;
  place-items: center;
  padding: 42px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(6, 26, 61, 0.18);
  animation: floatPanel 5.8s ease-in-out infinite;
}

.main-card img {
  width: min(68%, 320px);
  margin-inline: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.24));
}

.main-card span,
.card-a span,
.card-b span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-card strong,
.card-a strong,
.card-b strong {
  display: block;
  margin-top: 7px;
  color: white;
  font-size: 20px;
}

.card-a,
.card-b {
  z-index: 3;
  width: min(260px, 66%);
  padding: 17px 18px;
}

.card-a {
  left: 0;
  top: 24px;
}

.card-b {
  right: 0;
  bottom: 28px;
}

.orbit-ring {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(213, 161, 30, 0.28);
  border-radius: var(--radius);
  transform: rotate(-2deg);
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 26, 61, 0.72);
  backdrop-filter: blur(16px);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 38px;
  padding: 18px 0;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.notice-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-radius: var(--radius);
  padding: 10px;
  background: white;
  box-shadow: var(--shadow);
}

.strip-grid a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.strip-grid a:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  border-color: rgba(23, 104, 216, 0.28);
}

.strip-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--midnight);
  color: white;
  font-size: 12px;
}

.section {
  padding: clamp(72px, 8vw, 104px) 0;
}

.section-head {
  max-width: 790px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2,
.section-copy h2,
.tech-copy h2,
.contact-card h2,
.admission-copy h2 {
  margin: 16px 0 14px;
  color: var(--midnight);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p,
.section-copy p,
.tech-copy p,
.contact-card p,
.admission-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 52px);
}

.quote-card {
  margin-top: 28px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(135deg, var(--midnight), var(--navy));
  color: white;
  box-shadow: var(--shadow-soft);
}

.quote-card p {
  margin: 0;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
}

.quote-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.about-stack {
  position: relative;
  min-height: clamp(440px, 48vw, 520px);
}

.about-card,
.feature-card,
.experience-card,
.program-card,
.campus-card,
.contact-card,
.contact-form,
.accordion,
.gallery-item,
.life-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.primary-photo {
  position: absolute;
  inset: 0 62px 72px 0;
  overflow: hidden;
}

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

.glass-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 86%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.glass-panel strong {
  display: block;
  color: var(--midnight);
  font-size: 23px;
  margin-bottom: 8px;
}

.glass-panel span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.values,
.gallery,
.faq,
.student-life {
  background:
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.prestige {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: white;
}

.prestige::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.7;
}

.prestige-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}

.prestige-photo {
  position: relative;
  min-height: clamp(460px, 52vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
  aspect-ratio: 1.12 / 1;
}

.prestige-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 26, 61, 0.34));
}

.prestige-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.prestige-copy h2 {
  margin: 16px 0 14px;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  text-wrap: balance;
}

.prestige-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.76;
}

.prestige-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.prestige-list div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.prestige-list strong {
  display: block;
  color: white;
  margin-bottom: 6px;
}

.prestige-list span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.experience-card {
  min-height: clamp(250px, 25vw, 300px);
  padding: 26px;
  color: white;
  background:
    linear-gradient(180deg, rgba(6, 26, 61, 0.1), rgba(6, 26, 61, 0.84)),
    linear-gradient(135deg, var(--navy), var(--teal));
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.experience-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(6, 26, 61, 0.08), rgba(6, 26, 61, 0.82)),
    linear-gradient(135deg, var(--maroon), var(--navy));
}

.experience-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(6, 26, 61, 0.08), rgba(6, 26, 61, 0.82)),
    linear-gradient(135deg, var(--green), var(--navy));
}

.experience-card:hover,
.program-card:hover,
.life-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.experience-card span,
.program-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-weight: 900;
}

.experience-card h3,
.program-card h3,
.life-card strong {
  margin: 0 0 10px;
  color: inherit;
  font-size: 23px;
  line-height: 1.16;
}

.experience-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

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

.program-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.program-card span {
  background: #eef5ff;
  color: var(--blue);
}

.program-card.featured {
  background: linear-gradient(145deg, var(--midnight), var(--blue));
  color: white;
  transform: translateY(-14px);
}

.program-card.featured span {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.program-card h3 {
  color: var(--midnight);
}

.program-card.featured h3,
.program-card.featured p,
.program-card.featured li {
  color: white;
}

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

.program-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding: 9px 0 9px 27px;
  color: #53617a;
  font-weight: 800;
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.facilities {
  background:
    linear-gradient(90deg, rgba(6, 26, 61, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  background-size: 56px 56px, auto;
}

.campus-showcase {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.campus-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr) minmax(0, 0.86fr);
  gap: 18px;
}

.showcase-image {
  position: relative;
  min-height: clamp(330px, 36vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--midnight);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.showcase-image:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.showcase-image:first-child {
  min-height: clamp(420px, 47vw, 560px);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
  transition: transform 0.42s ease;
}

.showcase-image:hover img {
  transform: scale(1.045);
}

.showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 61, 0.9));
}

.showcase-image div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: white;
}

.showcase-image span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(213, 161, 30, 0.92);
  color: var(--midnight);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-image strong {
  display: block;
  max-width: 410px;
  font-size: 24px;
  line-height: 1.18;
}

.facilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 42px);
}

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

.facility-board article {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.facility-board article:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 104, 216, 0.28);
}

.facility-board span {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #eef5ff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.facility-board strong {
  display: block;
  color: var(--midnight);
  font-size: 22px;
  margin-bottom: 7px;
}

.facility-board small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.techzone {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 4.2vw, 48px);
}

.tech-image img {
  width: 100%;
  max-height: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.skill-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.skill-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--midnight);
}

.skill-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admissions {
  padding-top: 32px;
}

.admission-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px);
  color: white;
  background:
    linear-gradient(135deg, rgba(6, 26, 61, 0.96), rgba(23, 104, 216, 0.9)),
    url("assets/admission_circle.png") center/cover;
  box-shadow: 0 32px 80px rgba(6, 26, 61, 0.25);
}

.admission-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.admission-copy,
.admission-steps {
  position: relative;
  z-index: 1;
}

.admission-copy h2,
.admission-copy p {
  color: white;
}

.admission-copy .section-kicker {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffe4a1;
}

.admission-steps {
  display: grid;
  gap: 12px;
}

.admission-steps div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 17px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.admission-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--midnight);
  font-size: 22px;
  font-weight: 900;
}

.admission-steps strong {
  font-size: 19px;
}

.admission-steps small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

.life-card {
  min-height: 172px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.life-card strong {
  display: block;
  color: var(--midnight);
}

.life-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 16px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--midnight);
  background: var(--midnight);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery-item {
  position: relative;
  grid-column: span 2;
  min-height: clamp(280px, 30vw, 330px);
  margin: 0;
  overflow: hidden;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.gallery-item.large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 3;
}

.gallery-item.hide {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-7px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: var(--radius);
  padding: 13px 15px;
  color: white;
  background: rgba(6, 26, 61, 0.9);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 36px;
}

.accordion {
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  background: white;
  color: var(--midnight);
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}

.accordion-btn span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: #eef5ff;
}

.accordion-btn.open span {
  background: var(--midnight);
  color: white;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  background: #f8fbff;
  transition: max-height 0.25s ease;
}

.accordion-body p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.contact-card,
.contact-form {
  padding: 30px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f8fbff;
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: white;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--midnight);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 104, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(23, 104, 216, 0.1);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer {
  padding: 64px 0 24px;
  background: var(--midnight);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: 32px;
}

.footer-brand img {
  width: 70px;
  height: 70px;
}

.footer .brand strong,
.footer .brand small {
  color: white;
}

.footer p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer h4 {
  margin: 0 0 14px;
}

.footer a:not(.brand) {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--midnight);
  box-shadow: 0 16px 35px rgba(6, 26, 61, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@keyframes slowZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-10%);
    opacity: 0.72;
  }
  50% {
    transform: translateX(10%);
    opacity: 1;
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .navbar {
    padding-right: 58px;
  }

  .menu-toggle {
    display: grid !important;
    place-content: center;
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--gold) !important;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 92px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: white;
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .split,
  .prestige-grid,
  .tech-grid,
  .admission-panel,
  .facilities-layout,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 124px;
  }

  .hero-showcase {
    min-height: 440px;
  }

  .experience-grid,
  .program-grid,
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card.featured {
    transform: none;
  }

  .strip-grid,
  .facility-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-image:first-child {
    grid-column: span 2;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 3;
    grid-row: span 1;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 108px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 78px);
    line-height: 0.96;
  }

  .hero-lead {
    max-width: 620px;
    font-size: 17px;
  }

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

  .hero-showcase {
    width: min(100%, 500px);
    min-height: 390px;
    justify-self: center;
  }

  .notice-strip {
    margin-top: -24px;
  }

  .strip-grid {
    padding: 8px;
  }

  .experience-grid,
  .program-grid,
  .life-grid,
  .facility-board,
  .skill-list {
    grid-template-columns: 1fr;
  }

  .experience-card,
  .program-card,
  .life-card,
  .facility-board article {
    min-height: auto;
  }

  .campus-showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-image:first-child,
  .showcase-image {
    grid-column: span 1;
    min-height: 340px;
  }

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

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .navbar {
    height: 74px;
  }

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

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 126px;
  }

  .hero h1 {
    font-size: clamp(42px, 14.5vw, 62px);
    line-height: 1;
  }

  .hero .eyebrow {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow .live-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .admission-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics,
  .experience-grid,
  .program-grid,
  .life-grid,
  .strip-grid,
  .facility-board,
  .campus-showcase-grid,
  .skill-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 15px;
  }

  .hero-showcase {
    min-height: 315px;
  }

  .main-card {
    inset: 16px 0 28px;
    padding: 22px;
  }

  .main-card img {
    width: min(62%, 230px);
  }

  .card-a,
  .card-b,
  .orbit-ring {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .section-copy h2,
  .tech-copy h2,
  .contact-card h2,
  .admission-copy h2 {
    font-size: clamp(31px, 10vw, 40px);
    line-height: 1.08;
  }

  .about-stack {
    min-height: auto;
  }

  .primary-photo,
  .glass-panel {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .primary-photo {
    min-height: 320px;
  }

  .primary-photo img {
    min-height: 320px;
  }

  .glass-panel {
    margin-top: 12px;
  }

  .prestige-photo,
  .prestige-photo img {
    min-height: 310px;
  }

  .showcase-image,
  .showcase-image:first-child {
    grid-column: span 1;
    min-height: 330px;
  }

  .admission-panel {
    padding: 24px;
  }

  .admission-steps div {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .admission-steps span {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

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

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 260px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 18px), var(--max));
  }

  .brand {
    gap: 9px;
  }

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

  .brand strong {
    max-width: 160px;
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-links {
    left: 9px;
    right: 9px;
  }

  .eyebrow,
  .section-kicker {
    max-width: 100%;
    align-items: flex-start;
    line-height: 1.35;
    white-space: normal;
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 8px 9px;
  }

  .hero h1 {
    font-size: clamp(38px, 14vw, 52px);
  }

  .hero-actions,
  .admission-actions {
    gap: 10px;
  }

  .btn {
    min-height: 48px;
    padding: 13px 16px;
  }

  .hero-showcase {
    min-height: 270px;
  }

  .main-card strong {
    font-size: 17px;
  }

  .strip-grid a,
  .contact-lines a,
  .contact-lines span {
    font-size: 13px;
  }

  .quote-card,
  .contact-card,
  .contact-form,
  .program-card,
  .experience-card,
  .life-card {
    padding: 20px;
  }

  .showcase-image,
  .showcase-image:first-child,
  .prestige-photo,
  .prestige-photo img {
    min-height: 280px;
  }

  .showcase-image strong {
    font-size: 20px;
  }
}
