@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/SourceSerif4-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-alt: #e6eeea;
  --text: #1f2a2a;
  --muted: #536161;
  --accent: #047857;
  --accent-strong: #065f46;
  --accent-soft: #d1fae5;
  --line: #cbd5d1;
  --shadow: 0 12px 30px rgb(16 45 38 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgb(4 120 87 / 15%), transparent 26%),
    radial-gradient(circle at 88% 10%, rgb(7 94 84 / 14%), transparent 22%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

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

.section-alt {
  background: linear-gradient(180deg, rgb(255 255 255 / 58%), rgb(255 255 255 / 88%));
  border-top: 1px solid rgb(255 255 255 / 70%);
  border-bottom: 1px solid rgb(255 255 255 / 70%);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -200px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--accent-strong);
  color: #ffffff;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgb(243 246 244 / 84%);
  border-bottom: 1px solid rgb(2 44 34 / 10%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #0f766e);
}

.brand-text {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.45rem 0.8rem;
  background: #ffffff;
  font: inherit;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.kicker {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-top: 0.8rem;
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.campus-banner {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.campus-slide {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #ffffff;
  min-height: 170px;
  box-shadow: var(--shadow);
}

.campus-slide img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}

.campus-slide h3 {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  color: #ffffff;
  background: linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 68%));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 0.65rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: #ffffff;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid rgb(4 120 87 / 25%);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.inline-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.badge-year {
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  font-weight: 700;
}

.callout {
  border-left: 6px solid var(--accent);
  background: var(--surface);
  border-radius: 0.8rem;
  padding: 1.2rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}

.clean-list {
  padding-left: 1.2rem;
}

.stats-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.9rem;
}

.stat-value {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-strong);
}

.stat-label {
  margin-bottom: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #ffffff;
}

.campus-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
}

.campus-table th,
.campus-table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.campus-table th {
  background: var(--surface-alt);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.career-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.career-card .meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
}

.news-card .meta {
  font-size: 0.84rem;
  color: var(--muted);
}

.news-card a {
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.contact-form label {
  display: block;
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #ffffff;
}

.contact-form button {
  margin-top: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgb(2 44 34 / 10%);
  background: rgb(255 255 255 / 64%);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid rgb(4 120 87 / 40%);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(270px, 92%);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }

  .main-nav.is-open {
    display: flex;
  }

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

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

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

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}
