
:root {
  --navy: #1b3d2f;
  --blue: #3a7d5c;
  --light: #f2f7f4;
  --text: #2d3e35;
  --muted: #607b6e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 7%;
  border-bottom: 1px solid #e5eaf0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
}

.brand img {
  height: 96px;
  width: auto;
}

.brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.95rem;
}

nav a:hover,
.contact a:hover {
  color: var(--blue);
}

.hero {
  padding: 45px 10%;
  background: var(--navy);
  color: white;
}

.hero h1 {
  margin: 12px 0;
}

.hero .intro {
  margin-bottom: 16px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.hero .eyebrow {
  color: #b9e5d0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.12;
  margin: 20px 0;
}

.intro {
  max-width: 650px;
  font-size: 1.15rem;
  color: #dff0e8;
  margin-bottom: 32px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 5px;
  background: white;
  color: var(--navy);
  font-weight: 700;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 7%;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.section > p:not(.eyebrow) {
  max-width: 800px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.research-card {
  display: block;
  padding: 24px;
  border: 1px solid #d8e8df;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #1b3d2f12;
}

.research-card h3 {
  color: var(--navy);
  margin-top: 0;
}

.research-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  padding: 45px 7%;
  background: var(--light);
  text-align: center;
}

.contact a {
  color: var(--blue);
  font-weight: 700;
}

footer {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px 18px;
  }

  .hero {
    padding: 35px 7%;
  }
}

.figure {
  margin: 24px 0;
}

.figure > img {
  display: block;
  margin: 0 auto;
}

.subfigures {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.subfigure {
  flex: 1;
  min-width: 200px;
}

.subfigure img {
  width: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 4px;
}

.subfigure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.figure > figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
  text-align: center;
}

.pub-venue a {
  color: var(--blue);
  font-weight: 600;
  font-style: normal;
}
.pub-venue a:hover {
  text-decoration: underline;
}

.research-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}

.research-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.research-card-content {
  padding: 1.25rem;
}

.research-card-content h3 {
  margin: 0 0 0.5rem;
}

.research-card-content p {
  margin: 0;
  line-height: 1.6;
}

.research-card:hover .research-card-image {
  filter: brightness(0.96);
}