@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
  color-scheme: light;
  font-family: 'Source Sans Pro', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f6f8fb;
  color: #1a243a;
  line-height: 1.65;
  --navy: #10203f;
  --navy-dark: #0b162c;
  --navy-light: #1f3357;
  --gold: #c99a34;
  --sky: #e8edf6;
  --neutral: #f6f8fb;
  --muted: #5d6a84;
  --surface: #ffffff;
  --border: rgba(16, 32, 63, 0.08);
  --shadow-lg: 0 40px 80px rgba(16, 32, 63, 0.16);
  --shadow-md: 0 24px 48px rgba(16, 32, 63, 0.12);
  --shadow-sm: 0 12px 24px rgba(16, 32, 63, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--neutral);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}

.top-bar__content a {
  color: #fff;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(16, 32, 63, 0.06);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--navy-dark);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand__eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand__title {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
  color: var(--navy);
}

.nav__links a {
  position: relative;
  padding: 0.3rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-link {
  color: var(--gold);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 22, 44, 0.92) 0%, rgba(33, 61, 116, 0.78) 45%, rgba(33, 61, 116, 0.45) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  align-items: center;
}

.hero__text h1 {
  margin: 0.5rem 0 1.3rem;
  font-family: 'Merriweather', serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.2;
}

.hero__text p {
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.12);
  padding: 2.2rem;
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.hero__panel h2 {
  margin-top: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
}

.hero__panel ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  font-weight: 600;
}

.section {
  padding: clamp(3rem, 9vw, 6rem) 0;
}

.section__header {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3rem;
}

.section__header h2 {
  margin: 0.9rem 0;
  font-family: 'Merriweather', serif;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.section__header p {
  color: var(--muted);
  margin: 0 auto;
}

.highlights {
  background: linear-gradient(120deg, rgba(16, 32, 63, 0.04), rgba(16, 32, 63, 0.08));
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.highlight-card__value {
  display: block;
  font-size: 2rem;
  font-family: 'Merriweather', serif;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--academics {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.academic-card {
  background: var(--surface);
  padding: 2.2rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.1rem;
}

.academic-card h3 {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
}

.academic-card p {
  margin: 0;
  color: var(--muted);
}

.link-arrow {
  font-weight: 600;
  color: var(--navy-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.section--split {
  background: linear-gradient(120deg, rgba(16, 32, 63, 0.02), rgba(16, 32, 63, 0.04));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}

.split__media img {
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.split__content h2 {
  margin: 0.75rem 0 1.2rem;
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.split__content ul {
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.split__content li {
  position: relative;
  padding-left: 1.8rem;
}

.split__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.section--muted {
  background: #ffffff;
}

.visit {
  display: grid;
  gap: 3rem;
}

.visit__intro h2 {
  margin: 0.8rem 0 1.2rem;
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.visit__intro p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.visit-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.section--stories {
  background: linear-gradient(135deg, rgba(16, 32, 63, 0.92), rgba(16, 32, 63, 0.72));
  color: rgba(255, 255, 255, 0.9);
}

.stories {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}

.stories__content {
  display: grid;
  gap: 1.2rem;
}

.stories__media img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.stories__content blockquote {
  margin: 1.5rem 0;
  font-size: 1.2rem;
  font-family: 'Merriweather', serif;
  line-height: 1.5;
}

.stories__attribution {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admissions {
  display: grid;
  gap: 2.5rem;
}

.admissions__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 3rem);
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline__step {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.timeline__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 154, 52, 0.16);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline__step h3 {
  margin: 0 0 0.75rem;
  font-family: 'Merriweather', serif;
}

.timeline__step p {
  margin: 0;
  color: var(--muted);
}

.admissions__aside {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
  display: grid;
  gap: 1.25rem;
}

.admissions__aside h3 {
  margin: 0;
  font-family: 'Merriweather', serif;
}

.admissions__aside ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.section--apply {
  background: linear-gradient(180deg, rgba(16, 32, 63, 0.05) 0%, rgba(16, 32, 63, 0.02) 100%);
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 6vw, 3.2rem);
  align-items: start;
}

.apply-cta {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.6rem;
}

.apply-cta h2 {
  margin: 0.8rem 0 1.2rem;
  font-family: 'Merriweather', serif;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: clamp(1.9rem, 3vw, 2.6rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.card__header {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.card__header h2 {
  margin: 0 0 0.5rem;
  font-family: 'Merriweather', serif;
}

.card__header p {
  margin: 0;
  color: var(--muted);
}

.tabs {
  display: inline-flex;
  gap: 0.6rem;
  background: rgba(16, 32, 63, 0.06);
  padding: 0.4rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.tab-button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-button.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(16, 32, 63, 0.16);
}

.form {
  display: grid;
  gap: 1.3rem;
}

.form.visible {
  display: grid;
}

.form:not(.visible) {
  display: none;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}

input,
textarea {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 63, 0.16);
  background: rgba(255, 255, 255, 0.98);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 52, 0.28);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form__feedback {
  min-height: 1.2rem;
  font-size: 0.9rem;
  margin: 0;
  color: #c53030;
}

.form__helper {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.status {
  margin-top: 2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--border);
}

.status dl {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.status dt {
  font-weight: 600;
  color: var(--muted);
}

.status dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

.button,
button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.button.primary,
button[type='submit'] {
  background: linear-gradient(135deg, #204080, #10203f);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.button.primary:hover,
button[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(16, 32, 63, 0.25);
}

.button.ghost,
.button.secondary,
button.ghost,
button.secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(16, 32, 63, 0.28);
  box-shadow: none;
}

.button.ghost:hover,
.button.secondary:hover,
button.ghost:hover,
button.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16, 32, 63, 0.14);
}

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.2rem 0 2.4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.footer a:hover {
  text-decoration-color: #fff;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer__legal {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1080px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    max-width: 480px;
  }

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

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .split,
  .stories,
  .admissions__body {
    grid-template-columns: 1fr;
  }

  .stories__media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .top-bar__content {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: 70vh;
  }

  .tabs {
    width: 100%;
    justify-content: space-between;
  }

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

  .status dl {
    grid-template-columns: 1fr;
  }
}
