:root {
  --primary: #002a5c;
  --secondary: #0d6efd;
  --light-gray: #f5f5f5;
  --dark: #1e1e1e;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== NAVIGATION ===== */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--secondary);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 3px;
  background: var(--dark);
  transition: transform 0.3s;
}

/* ===== HERO / INTRO ===== */
#home {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1rem 5rem;
  background: linear-gradient(135deg, #fff 0%, #e3eaf8 100%);
  text-align: center;
}
.hero-wrapper {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  gap: 3rem;
  max-width: 900px;
  width: 90%;
}
.hero-text {
  flex: 1 1 0;
  text-align: left;
} /* right-aligns Hi! & intro text */
.hi {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--primary);
}
.intro-text {
  margin-top: 1rem;
  max-width: 600px;
  font-size: 1.05rem;
}
.hero-photo {
  flex: 0 0 280px;
}
.hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* feather the edges in all directions */
  mask-image: radial-gradient(
    ellipse 75% 60% at center,
    #000 60%,          /* fully opaque core */
    transparent 100%   /* fades to nothing */
  );
  /* identical syntax for Safari */
  -webkit-mask-image: radial-gradient(
    ellipse 75% 60% at center,
    #000 60%,
    transparent 100%
  );

  /* subtle depth */
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.2rem 0;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .nav-links.open {
    max-height: 300px;
  }
  .burger {
    display: flex;
  }
  .hero-wrapper {
    flex-direction: column;
  }
  .hero-text {
    text-align: center;
  }
  .hero-photo {
    margin-bottom: 1.5rem;
  }
}

.text-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover {
  border-bottom-color: var(--secondary);
}

.pub-wrapper {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 1rem;
  line-height: 1.75;
}
.pub-year {
  margin-top: 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.pub-type {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  /* color: var(--secondary); */
}
.pub-list {
  list-style: disc;
  padding-left: 1.25rem;
}
.pub-list li {
  margin-bottom: 0.75rem;