:root {
  --teal: #16324f;
  --teal-deep: #0b1d32;
  --teal-soft: #e4eef6;
  --sunrise: #c9a227;
  --sunrise-soft: #f6edd0;
  --gold: #e0c56a;
  --ink: #15202b;
  --muted: #5b6b7a;
  --line: #d5dde4;
  --bg: #f4f6f8;
  --bg-alt: #e8eef3;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 29, 50, 0.1);
  --accent-hover: #a8861a;
  --hero-overlay: linear-gradient(90deg, rgba(11,29,50,0.82) 0%, rgba(11,29,50,0.35) 52%, rgba(11,29,50,0.12) 100%);
  --header-bg: #0b1d32;
  --radius: 2px;
  --max: 1200px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sunrise);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--sunrise);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--teal-deep);
  max-width: 16ch;
}
.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}
.btn-primary { background: var(--sunrise); color: var(--teal-deep); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: #fff; color: var(--teal-deep); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-header {
  background: var(--sunrise);
  color: var(--teal-deep);
  padding: 10px 16px;
}

/* Top bar + header */
.topbar {
  background: var(--sunrise);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--teal); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: cover;
  background: var(--white);
  border: 2px solid var(--sunrise);
}
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 320px;
  color: #fff;
}
.brand-text span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.nav {
  display: flex;
  gap: 4px 18px;
  align-items: center;
}
.nav a {
  padding: 6px 0;
  border-radius: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active {
  background: none;
  color: #fff;
  border-bottom-color: var(--sunrise);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--sunrise);
  color: var(--teal-deep);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
}

/* Hero slider — editorial left panel */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 7s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-slide:first-child img {
  object-position: center 68%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(560px, calc(100% - 40px));
  margin: 48px auto 48px max(20px, calc((100% - var(--max)) / 2));
  padding: 36px 34px;
  background: color-mix(in srgb, var(--teal-deep) 88%, transparent);
  border-left: 5px solid var(--sunrise);
  backdrop-filter: blur(10px);
}
.hero-caption {
  display: inline-block;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-college {
  max-width: none !important;
  margin: 0 0 12px !important;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
  color: #fff !important;
  text-shadow: none;
}
.hero-nav,
.hero-dots {
  position: absolute;
  z-index: 3;
}
.hero-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 0;
  background: rgba(11,29,50,0.35);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.hero-nav.prev { left: 18px; }
.hero-nav.next { right: 18px; }
.hero-nav:hover { background: var(--sunrise); color: var(--teal-deep); border-color: var(--sunrise); }
.hero-dots {
  right: 28px;
  left: auto;
  bottom: 28px;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.hero-dots button.active { background: var(--sunrise); width: 8px; height: 28px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 500;
  max-width: 12ch;
}
.hero p { max-width: 46ch; margin: 16px 0 28px; font-size: 1.02rem; color: #d8e0e8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--sunrise);
  padding: 2px 0 2px 10px;
  border-radius: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,29,50,0.88), rgba(11,29,50,0.35));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 42px;
  border-left: 5px solid var(--sunrise);
  padding-left: 22px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  max-width: 18ch;
}

/* Cards / grids */
.stats-band {
  background: var(--teal-deep);
  color: #d8e0e8;
  border-top: 4px solid var(--sunrise);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
}
.stat {
  background: transparent;
  border-radius: 0;
  padding: 28px 22px;
  box-shadow: none;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: cards; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
  counter-increment: cards;
}
.card img { height: 200px; width: 100%; object-fit: cover; filter: saturate(0.9); }
.card-body { padding: 22px 22px 26px; position: relative; }
.card-body::before {
  content: counter(cards, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  color: var(--sunrise);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.soft-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: none;
  border: 1px solid var(--line);
}
.list { padding-left: 18px; color: var(--muted); }
.list li { margin: 8px 0; }
.photo-frame {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--sunrise);
  z-index: -1;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; filter: saturate(0.92); }

.split-dark {
  background: var(--teal-deep);
  color: #d8e0e8;
  position: relative;
}
.split-dark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--sunrise);
}
.split-dark .section-title { color: #fff; max-width: 14ch; }
.leader {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 48px;
  align-items: center;
}
.leader-photo-wrap {
  border: 1px solid var(--sunrise);
  padding: 8px;
}
.leader-photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
}
.leader-copy { margin-top: 16px; max-width: 62ch; }
.leader-name { margin-top: 22px; color: var(--gold); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.86rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  background: transparent;
  color: var(--teal);
  border-radius: 0;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.split-dark .badge { color: #fff; border-color: rgba(255,255,255,0.2); }
.quote {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 8px 22px;
  box-shadow: none;
  border-left: 3px solid var(--sunrise);
}
.quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.quote cite { display: block; margin-top: 16px; color: var(--teal); font-style: normal; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.quote small { color: var(--muted); }

/* Staff */
.staff-toolbar {
  display: grid;
  gap: 14px;
  margin: 28px 0 22px;
}
.search {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.staff-card {
  background: var(--white);
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
  border-top: 3px solid var(--sunrise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sunrise);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.staff-card.lead { background: var(--white); }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.staff-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--teal-deep);
}
.role {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 3px 0;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.role.professor { background: transparent; color: var(--accent-hover); }
.role.associate { background: transparent; color: var(--teal); }
.role.assistant { background: transparent; color: #4a6b1f; }
.role.lecturer { background: transparent; color: #5a3d8a; }
.meta { color: var(--muted); font-size: 0.92rem; }
.meta div { margin: 5px 0; }
.staff-card a.phone {
  margin-top: auto;
  padding-top: 16px;
  color: var(--sunrise);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  min-height: 260px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: 0.5s ease;
  filter: grayscale(0.15);
}
.gallery-grid figure:hover img { transform: scale(1.04); filter: grayscale(0); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 18px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(transparent, color-mix(in srgb, var(--teal-deep) 88%, transparent));
}

/* Forms */
.form { display: grid; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
}
.form textarea { min-height: 140px; resize: vertical; }

.footer {
  background: var(--teal-deep);
  color: #c5ced6;
  padding: 64px 0 24px;
  border-top: 4px solid var(--sunrise);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--white);
  margin-bottom: 16px;
  border: 2px solid var(--sunrise);
}
.footer h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
}
.footer a { display: block; margin: 8px 0; color: #c5ced6; }
.footer a:hover { color: var(--gold); }
.copy { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 1180px) {
  .stats, .grid-2, .grid-3, .grid-4, .staff-grid, .gallery-grid, .footer-grid, .leader {
    grid-template-columns: 1fr 1fr;
  }
  .nav { display: none; }
  .header-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    background: var(--teal-deep);
    padding: 16px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
  }
  .nav.open a { color: #fff; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-content { margin: 32px 20px; width: auto; }
  .hero-dots { flex-direction: row; right: 20px; bottom: 20px; }
  .hero-dots button.active { width: 28px; height: 8px; }
}
@media (max-width: 700px) {
  .stats, .grid-2, .grid-3, .grid-4, .staff-grid, .gallery-grid, .footer-grid, .leader {
    grid-template-columns: 1fr;
  }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero { min-height: 88vh; }
  .hero-content { padding: 26px 22px; }
  .hero-content h1 { font-size: clamp(2rem, 11vw, 3rem); max-width: none; }
  .hero-nav { width: 40px; height: 40px; }
  .hero-nav.prev { left: 10px; }
  .hero-nav.next { right: 10px; }
  .section-title { max-width: none; }
}
