/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1b2a4a;
  --navy-light: #2c4270;
  --navy-subtle: #e8ecf4;
  --white: #ffffff;
  --off-white: #fafbfd;
  --grey-bg: #f2f4f8;
  --grey-border: #dce0e8;
  --grey-text: #5a6277;
  --gold: #a67c2e;
  --gold-light: #c49a3c;
  --gold-pale: #f8f3e8;
  --text: #2d3142;
  --max-width: 1060px;
  --nav-height: 60px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 8px 30px rgba(27, 42, 74, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav-brand, .btn, .tag, .meta, .pub-meta, .pub-link, .nav-links a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ===== Navigation ===== */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.nav-brand:hover {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.65rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 0 var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

/* ===== Hero Section ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(166, 124, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.hero-photo {
  width: 190px;
  height: 235px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-text .subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
}

.hero-text .institution {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ===== Page Header ===== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
}

/* ===== Sections ===== */
.section {
  padding: 3rem 0;
}

.section:nth-child(even) {
  background: var(--grey-bg);
}

.section h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section h2::before {
  content: '';
  width: 4px;
  height: 1.3em;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.card p {
  color: var(--grey-text);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.card .meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Tags ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(166, 124, 46, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ===== Lists ===== */
.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-border);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  font-weight: 700;
  color: var(--navy);
  min-width: 130px;
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Publication List ===== */
.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grey-border);
  position: relative;
}

.pub-list li:last-child {
  border-bottom: none;
}

.pub-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}

.pub-meta {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-top: 0.3rem;
}

.pub-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pub-link:hover {
  color: var(--navy);
}

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(166, 124, 46, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== External Links Row ===== */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ===== Embed Container ===== */
.embed-container {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.embed-container iframe {
  max-width: 100%;
  border-radius: 6px;
}

/* ===== Image Placeholder ===== */
.img-placeholder {
  background: var(--grey-bg);
  border: 2px dashed var(--grey-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  min-height: 150px;
  text-align: center;
  padding: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

.footer a {
  color: var(--gold-light);
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.15rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

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

  .nav-links a {
    padding: 0.65rem 1rem;
    width: 100%;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-photo {
    width: 150px;
    height: 185px;
  }

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

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .info-list li {
    flex-direction: column;
    gap: 0.15rem;
  }

  .info-list .label {
    min-width: auto;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .section {
    padding: 2rem 0;
  }

  .card {
    padding: 1.25rem;
  }
}
