a {
  color: inherit;
}

body {
    font-family: 'EB Garamond', Garamond, serif;
    background-color: #fffdfa;
    color: #0d0c0c;
    margin: 0;
    line-height: 1.5;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px 0;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.site-nav a:hover {
  border-bottom-color: #000;
}

.nav-dot {
  color: #b4aa9b;
  font-size: 1.2rem;
  line-height: 1;
}

.thesis-dot {
  font-size: 1rem;
  margin: 0 6px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 50px 24px 20px;
}


.hero-left img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-right h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3em;
}

.hero-right p {
  max-width: 480px;
  font-size: 1.1rem;
}

.contact {
  margin-top: 0.8em;
}

.contact a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #ccc;
}

.contact a:hover {
  border-bottom-color: #000;
}

/* Mobile-friendly: stack image above text on small screens */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .site-nav,
  .about-section,
  .research-section,
  .projects-section,
  .interests-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.about-section {
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  font-family: Garamond, serif;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-section {
  padding: 20px 24px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  font-family: Garamond, serif;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 1em;
}

.contact-row button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: 1px solid #0d0c0c;
  padding: 6px 14px;
  cursor: pointer;
  color: inherit;
}

.contact-row button:hover {
  background-color: #f0ece3;
}

.email-text {
  font-size: inherit;
  color: inherit;
}

.research-section {
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.research-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.research-section p {
  margin-bottom: 0.8em;
}

.projects-section {
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.interests-section {
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.interests-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.interests-layout {
  display: grid;
  grid-template-columns: minmax(140px, 170px) minmax(0, 1fr) minmax(140px, 170px);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.interest-photos {
  display: grid;
  gap: 12px;
}

.interest-photos img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e3ddd2;
  display: block;
}

.interests-card {
  max-width: 420px;
  min-width: 260px;
  width: 100%;
  justify-self: center;
  flex: initial;
  scroll-snap-align: initial;
}

.interests-card iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  border-radius: 10px;
}

.instagram-fallback {
  margin: 10px 0 0;
  text-align: center;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.project-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 24px;
  margin: 0 -6px;
}

.project-carousel::-webkit-scrollbar {
  height: 8px;
}

.project-carousel::-webkit-scrollbar-track {
  background: #f0ece3;
}

.project-carousel::-webkit-scrollbar-thumb {
  background: #c9c1b3;
  border-radius: 999px;
}

.project-card {
  border: 1px solid #d8d2c8;
  padding: 16px 18px 18px;
  min-width: 260px;
  flex: 0 0 72%;
  scroll-snap-align: start;
  background: #fffdfa;
  box-shadow: 0 14px 30px rgba(13, 12, 12, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card h3 {
  margin: 0 0 0.4em;
  font-size: 1.35rem;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(13, 12, 12, 0.12);
}

.project-visual {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #e3ddd2;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-1 {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, #d9d2c3, #d9d2c3 10px, #f0ece3 10px, #f0ece3 20px),
    linear-gradient(140deg, #c1a08a, #ead9c6);
}

.visual-2 {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 20%, #b9c6d6, transparent 45%),
    radial-gradient(circle at 80% 30%, #e0c9b7, transparent 50%),
    linear-gradient(160deg, #ece5da, #d7c8b5);
}

.visual-3 {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, #c8b6a6, #c8b6a6 12px, #efe7db 12px, #efe7db 24px),
    linear-gradient(120deg, #bda18a, #ede0d1);
}

.project-links a {
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.project-links a:hover {
  border-bottom-color: #000;
}

@media (min-width: 900px) {
  .project-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 900px) {
  .interests-layout {
    grid-template-columns: 1fr;
  }

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

.cv-button {
  display: inline-block;        /* makes the link behave like a button */
  font-family: inherit;
  background: #fffdfa;
  border: 1px solid #0d0c0c;
  padding: 6px 14px;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  text-decoration: none;        /* remove underline */
}

.cv-button:hover {
  background-color: #f0ece3;
}

.thesis-button {
  display: inline-block;        /* makes the link behave like a button */
  font-family: inherit;
  background: none;
  border: 1px solid #0d0c0c;
  padding: 6px 14px;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  text-decoration: none;        /* remove underline */
}

.thesis-button:hover {
  background-color: #f0ece3;
}

.thesis-button-container {
  text-align: center;
}

.thesis-card {
  max-width: 520px;
  margin: 18px auto;
}

.thesis-visual {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, #d9d2c3, #d9d2c3 8px, #f4efe6 8px, #f4efe6 16px),
    linear-gradient(140deg, #c1a08a, #ead9c6);
}


.research-list p strong {
  font-weight: bold;
}

.cv-button-container {
  text-align: center;
}
