:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --text: #182230;
  --muted: #5b6776;
  --navy: #081f3a;
  --blue: #0f4c81;
  --teal: #1f6f68;
  --gold: #b6862c;
  --border: #dce4ec;
  --shadow: 0 18px 50px rgba(8, 31, 58, 0.12);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 104, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 28rem);
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--navy);
  color: white;
  z-index: 100;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 228, 236, 0.85);
}

.nav,
.hero,
.section,
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--navy);
}

.hero {
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: -0.07em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
}

h3 {
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.title {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 760px;
}

.lead {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  max-width: 820px;
  color: #2a3647;
  margin: 1.5rem 0 2rem;
}

.hero-actions,
.project-card span {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 31, 58, 0.08);
}

.button:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(8, 31, 58, 0.12);
}

.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.profile-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}

.profile-body {
  padding: 1.25rem;
}

.profile-body p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.profile-body strong {
  color: var(--navy);
}

.email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
}

.fiu-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.intro-section,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.intro-text {
  font-size: 1.1rem;
  color: #2a3647;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.theme-grid,
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.theme-card,
.project-card,
.publication,
.people-card,
.recognition article,
.service-list {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(8, 31, 58, 0.06);
}

.theme-card,
.recognition article {
  padding: 1.2rem;
}

.theme-card p,
.recognition p,
.people-card li,
.service-list p,
.project-card p,
.publication p {
  color: var(--muted);
}

.project-list,
.publication-list {
  display: grid;
  gap: 1rem;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  padding: 1.35rem;
  align-items: center;
}

.project-tag,
.venue {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #edf7f5;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-card > a,
.project-card span a {
  white-space: nowrap;
  font-weight: 800;
}

.publication {
  padding: 1.25rem;
}

.publication h3 {
  font-size: 1.08rem;
}

.publication h3 a {
  color: var(--navy);
  text-decoration: none;
}

.publication h3 a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.section-cta {
  margin-top: 1.5rem;
}

.prospective {
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
  color: var(--muted);
}

.people-card {
  padding: 1.35rem;
}

.people-card ul {
  margin-top: 0.5rem;
  margin-bottom: 1.4rem;
  padding-left: 1.15rem;
}

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

.service-list {
  padding: 1.35rem;
}

.footer {
  padding-top: 2rem;
  padding-bottom: 3rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

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

  .profile-card {
    max-width: 420px;
  }

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

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .theme-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.1rem;
  }
}
