:root {
  --bg: #f5f7fb;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-deep: #f4f6fb;
  --text: #1f2340;
  --muted: #67667a;
  --line: rgba(31, 35, 64, 0.1);
  --line-strong: rgba(31, 35, 64, 0.18);
  --accent: #4d2f78;
  --accent-deep: #2b1b4d;
  --accent-soft: #c7d2e6;
  --accent-soft-2: #e6ebf5;
  --shadow: 0 10px 28px rgba(30, 42, 74, 0.06);
  --shadow-strong: 0 16px 40px rgba(30, 42, 74, 0.08);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbfe 0%, var(--bg) 44%, var(--bg-2) 100%);
}

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

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 24px 54px;
}

.topbar,
.hero-content,
.section,
.footer {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  border: 1px solid #223155;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #26355d 0%, #1f2b4b 100%);
  box-shadow: 0 10px 26px rgba(23, 31, 56, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(214, 222, 241, 0.32);
  background: linear-gradient(180deg, #f8f8fd 0%, #e9edf8 100%);
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
  border-radius: 10px;
  mix-blend-mode: multiply;
  filter: sepia(0.16) saturate(0.9) hue-rotate(10deg) brightness(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-text span {
  font-size: 0.84rem;
  color: rgba(235, 240, 251, 0.9);
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.menu a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(236, 241, 252, 0.88);
  transition: color 0.22s ease, background-color 0.22s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: #dce5fb;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 30px;
  padding-top: 42px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.program-card,
.timeline article,
.campus-feature,
.campus-panels article,
.contact-card,
.requirement-card,
.about-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 48px 44px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-strong);
}

.hero-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.eyebrow,
.card-label,
.feature-tag,
.program-card span {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-plaque,
.hero-card-kicker {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #d7ddec;
  border-radius: 999px;
  background: #f6f8fd;
  color: color-mix(in srgb, var(--text) 72%, var(--accent));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 26px;
  font-size: clamp(3.5rem, 7vw, 5.6rem);
  max-width: 9ch;
  text-wrap: balance;
}

.lead {
  max-width: 60ch;
  margin-top: 24px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
}

.motto {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 4px solid #24345e;
  color: #24345e;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-note {
  max-width: 48ch;
  margin-top: 16px;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 0.98rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #374b82 0%, #24345e 100%);
  color: #f9fbff;
  box-shadow: none;
}

.button.secondary {
  border: 1px solid #ccd6ea;
  background: #f8fafe;
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.hero-stats div {
  padding-top: 20px;
  border-top: 1px solid rgba(31, 35, 64, 0.1);
}

.hero-stats dt {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.hero-card-image,
.program-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #dbe2f0;
  margin-bottom: 20px;
}

.program-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card h2 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4vw, 3.55rem);
}

.hero-card p,
.hero-card li,
.section-heading p,
.about-grid p,
.program-card p,
.timeline p,
.campus-layout p,
.contact-card p,
.footer p {
  color: var(--muted);
  line-height: 1.78;
}

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

.hero-card li + li {
  margin-top: 10px;
}

.admissions-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.admissions-summary {
  padding: 0 2px;
}

.application-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(208, 176, 110, 0.28);
  background: rgba(255, 250, 242, 0.88);
}

.application-box strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  position: relative;
  padding: 34px 24px 66px;
}

.section::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #d6deec, transparent 28%);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.about-grid,
.program-grid,
.timeline,
.campus-layout,
.requirements-grid {
  display: grid;
  gap: 22px;
}

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

.about-grid article,
.timeline article,
.campus-panels article {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #dde3ef;
}

.about-grid h3,
.program-card h3,
.campus-feature h3,
.campus-panels h4 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

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

.program-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.program-card p {
  margin-bottom: 0;
}

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

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

.timeline article strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #24345e;
}

.campus-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.requirement-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid #dde3ef;
  background: #ffffff;
}

.requirement-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.campus-feature {
  padding: 38px;
  border-radius: var(--radius-xl);
  background: #ffffff;
}

.campus-panels {
  display: grid;
  gap: 22px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #2b3a65 0%, #223055 100%);
  border-color: #223055;
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: #fff7eb;
}

.contact-card .eyebrow {
  color: var(--accent-soft-2);
}

.contact-card .button.primary {
  background: #ffffff;
  color: #24345e;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px 40px;
}

.footer p:first-child {
  font-weight: 800;
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-content,
  .about-grid,
  .program-grid,
  .timeline,
  .requirements-grid,
  .campus-layout,
  .contact-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .footer {
    display: grid;
  }

  .hero-copy {
    padding: 44px 30px 34px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid #223155;
    border-radius: 16px;
    background: #24345e;
    box-shadow: var(--shadow);
  }

  .topbar {
    position: relative;
  }

  .menu.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .hero-copy,
  .hero-card,
  .program-card,
  .campus-feature,
  .contact-card,
  .about-grid article,
  .timeline article,
  .campus-panels article {
    padding: 24px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .section-heading h2 {
    font-size: 2.35rem;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text span {
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 112px;
  }

  .brand-badge {
    padding: 8px 10px;
    border-radius: 18px;
  }
}
