:root {
  --ocean: #0c4a6e;
  --ocean-dark: #082f49;
  --ocean-light: #1e6fa0;
  --ocean-glow: rgba(12, 74, 110, 0.15);
  --aqua: #38bdf8;
  --aqua-light: #7dd3fc;
  --aqua-dim: rgba(56, 189, 248, 0.12);
  --teal: #22d3ee;
  --white: #ffffff;
  --off-white: #f6f9fc;
  --gray-50: #f8fafc;
  --gray-100: #f0f4f8;
  --gray-200: #dde4ec;
  --gray-300: #bcc6d0;
  --gray-400: #8c99a7;
  --gray-600: #4a5568;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- ANIMATIONS ---- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes wave {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-20px) scaleY(1.05); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ---- NAVIGATION ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 47, 73, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(56, 189, 248, 0.3);
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(8, 47, 73, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  border-bottom-color: var(--aqua);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}

nav .nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

nav .nav-brand span {
  color: var(--aqua);
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ocean-dark);
}

nav .nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

nav .nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--white);
  background: rgba(56, 189, 248, 0.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */

.hero {
  padding: 11rem 2rem 7rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-campus-bg {
  position: absolute;
  inset: 0;
  background: url('assets/campus.png') center center / cover no-repeat;
  z-index: 0;
}

.hero-campus-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(8, 47, 73, 0.75) 0%,
    rgba(12, 74, 110, 0.6) 30%,
    rgba(8, 47, 73, 0.55) 60%,
    rgba(15, 23, 42, 0.8) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--aqua);
}

.hero-bg-shapes .shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-shapes .shape:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -150px;
  animation: float 10s ease-in-out infinite 2s;
}

.hero-bg-shapes .shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 20%;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text {
  animation: fadeUp 0.8s ease-out;
}

.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-text .title {
  font-size: 1.25rem;
  color: var(--aqua);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-text .affiliation {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.hero-tags span {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--aqua-light);
  padding: 0.4rem 1rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-tags span:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.4);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: var(--ocean-dark);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.4);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--aqua);
  color: var(--aqua-light);
  background: rgba(56, 189, 248, 0.08);
}

.hero-photo {
  position: relative;
  animation: scaleIn 0.9s ease-out 0.2s both;
}

.hero-photo-wrapper {
  position: relative;
  width: 290px;
  height: 290px;
}

.hero-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--aqua), transparent 30%, transparent 70%, var(--teal));
  animation: spin 6s linear infinite;
  opacity: 0.5;
}

.hero-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.2);
  animation: spin 20s linear infinite reverse;
}

.hero-photo img {
  width: 290px;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 4px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 0 12px rgba(56, 189, 248, 0.06), 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.hero-orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--aqua);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -5px;
  animation: orbit 8s linear infinite;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  z-index: 2;
}

/* ---- METRICS BAR ---- */

.metrics-bar {
  position: relative;
  z-index: 5;
  margin-bottom: 2.5rem;
}

.metrics-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.metric {
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-200);
}

.metric:hover {
  background: var(--aqua-dim);
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  font-weight: 600;
}

/* ---- SECTIONS ---- */

section {
  padding: 6rem 2rem;
  position: relative;
}

.section-alt {
  background: var(--gray-50);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 3rem;
  position: relative;
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--gray-400);
}

.section-heading .accent-line {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--teal));
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* ---- ABOUT ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--aqua), var(--ocean));
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 2px 0;
}

.about-card:hover::before {
  height: 100%;
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-card.full-width {
  grid-column: 1 / -1;
}

.about-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean);
  margin-bottom: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-card h3 .icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--aqua-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-card h3 .icon svg {
  width: 14px;
  height: 14px;
}

.about-card p, .about-card ul {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.about-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
}

/* ---- RESEARCH ---- */

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

.research-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.research-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--ocean));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-card:hover::after {
  transform: scaleX(1);
}

.research-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.research-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.25);
}

.research-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.research-card p {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---- PUBLICATIONS ---- */

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pub-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pub-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--aqua-dim);
  transition: width 0.4s ease;
  z-index: 0;
}

.pub-item:hover::before {
  width: 100%;
}

.pub-item > * {
  position: relative;
  z-index: 1;
}

.pub-item:hover {
  border-color: var(--aqua);
  transform: translateX(4px);
}

.pub-item.highlight {
  border-left: 4px solid var(--aqua);
}

.pub-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.pub-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.pub-title a:hover {
  color: var(--ocean);
}

.pub-authors {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.pub-journal {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

.pub-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 76px;
  padding: 0.6rem 0.75rem;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
}

.cite-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ocean);
  line-height: 1;
}

.cite-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: 0.2rem;
}

.pub-year-badge {
  display: inline-block;
  background: var(--aqua-dim);
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 5px;
  margin-left: 0.5rem;
  font-style: normal;
}

.pub-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pub-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.pub-section-label:first-child {
  margin-top: 0;
}

.scholar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: var(--ocean);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--ocean);
  border-radius: 10px;
}

.scholar-link:hover {
  background: var(--ocean);
  color: var(--white);
}

.scholar-link svg {
  transition: var(--transition);
}

.scholar-link:hover svg {
  transform: translateX(4px);
}

/* ---- PROSPECTIVE STUDENTS ---- */

.students-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.students-campus-bg {
  position: absolute;
  inset: 0;
  background: url('assets/campus.png') center 30% / cover no-repeat;
  z-index: 0;
}

.students-campus-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(8, 47, 73, 0.94) 0%,
    rgba(12, 74, 110, 0.92) 40%,
    rgba(15, 23, 42, 0.95) 100%);
}

.students-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.students-section .section-heading h2 {
  color: var(--white);
}

.students-section .section-heading p {
  color: rgba(255,255,255,0.6);
}

.students-section .accent-line {
  background: linear-gradient(90deg, var(--aqua), var(--teal)) !important;
}

.students-intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 3rem;
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.student-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.student-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}

.student-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.student-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ocean-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.student-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.student-card ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.student-card li {
  padding: 0.25rem 0;
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.student-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
}

.students-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.students-cta .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: var(--ocean-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.students-cta .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.45);
}

.students-cta .cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ---- CONTACT ---- */

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  transition: var(--transition);
}

.contact-row:hover {
  background: var(--gray-50);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(12, 74, 110, 0.2);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--aqua);
}

.contact-row .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 600;
}

.contact-row .value {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 600;
}

.contact-row a.value {
  text-decoration: none;
  transition: var(--transition);
}

.contact-row a.value:hover {
  color: var(--ocean);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  min-height: 320px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---- FOOTER ---- */

footer {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ocean-dark);
}

.footer-text {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-text a {
  color: var(--aqua);
  text-decoration: none;
  transition: var(--transition);
}

.footer-text a:hover {
  color: var(--aqua-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--aqua);
}

/* ---- SCROLL TO TOP ---- */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ocean);
  color: var(--aqua);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--ocean-dark);
  transform: translateY(-2px);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .hero-photo-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-photo img {
    width: 220px;
    height: 220px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-contact {
    justify-content: center;
  }

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

  .metric:nth-child(2)::after {
    display: none;
  }

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

  .research-areas {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .pub-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .pub-stats {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    width: fit-content;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 47, 73, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--aqua);
  }

  nav .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 8rem 1.5rem 5rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

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

  .research-areas {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 1.5rem;
  }
}
