:root {
  --accent-teal: #00796B;
  --accent-teal-dark: #004D40;
  --accent-terracotta: #A6743C;
  --paper-bg: #FBF8F3;
  --card-bg: #FFFFFF;
}

.more-height {
  /* For the contact info*/
  line-height: 2;
}

body {
  font-weight: 300;
  /* 100 is the thinnest, 400 is normal, and 900 is the boldest */
  background-color: var(--paper-bg);
  color: #2b2b28;
}

p {
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Fraunces", "Montserrat", serif;
}

h1 {
  font-weight: 500;
  letter-spacing: 0.01em;
}

h2 {
  color: var(--accent-teal);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2em;
}

h2::after {
  content: "";
  display: block;
  width: 2.5em;
  height: 3px;
  margin-top: 0.25em;
  background: var(--accent-terracotta);
  border-radius: 2px;
}

h3 {
  color: var(--accent-teal);
  font-weight: 500;
  font-size: 1.4em;
  /* This makes the size slightly smaller than normal text size */
}

a {
  color: var(--accent-teal);
  /* Teal color */
  text-decoration: underline;
  text-decoration-color: rgba(0, 121, 107, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-terracotta);
  text-decoration-color: rgba(166, 116, 60, 0.5);
}

/* Navbar */
.navbar {
  border-bottom: 1px solid rgba(166, 116, 60, 0.2);
}

/* Bio / hero card on the front page */
.bio-card {
  background: var(--card-bg);
  border: 1px solid rgba(166, 116, 60, 0.18);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(43, 43, 40, 0.06);
}

.bio-card img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(43, 43, 40, 0.12);
}

/* Small tag/pill used to highlight current projects e.g. "UnLost" */
.tag-pill {
  display: inline-block;
  background: rgba(166, 116, 60, 0.12);
  color: var(--accent-terracotta);
  border: 1px solid rgba(166, 116, 60, 0.3);
  border-radius: 999px;
  padding: 0.15em 0.75em;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Compact "at a glance" bio summary */
.bio-bullets {
  margin: 0.5em 0 0;
  padding-left: 1.2em;
  font-size: 0.95em;
}

.bio-bullets li {
  margin-bottom: 0.2em;
}

/* Social icon links (About-me style) */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: rgba(0, 121, 107, 0.08);
  color: var(--accent-teal);
  text-decoration: none;
  font-size: 1.1em;
}

.social-icons a:hover {
  background: var(--accent-teal);
  color: #fff;
}

/* Status pills used for publications & student projects */
.pill-status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.1em 0.7em;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 0.5em;
  vertical-align: middle;
}

.pill-submitted {
  background: rgba(166, 116, 60, 0.14);
  color: var(--accent-terracotta);
  border: 1px solid rgba(166, 116, 60, 0.35);
}

.pill-running {
  background: rgba(0, 121, 107, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 121, 107, 0.3);
}

/* Publications accordion */
.pub-list {
  display: flex;
  flex-direction: column;
}

.pub-row {
  display: flex;
  gap: 15px;
  padding: 0.6em 0;
  border-bottom: 1px solid rgba(43, 43, 40, 0.08);
}

.pub-year {
  flex: 0 0 3.5em;
  padding-top: 0.15em;
  color: var(--accent-terracotta);
  font-weight: 500;
}

.pub-content {
  flex: 1 1 auto;
}

.pub-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: var(--accent-teal);
  text-decoration: underline;
  text-decoration-color: rgba(0, 121, 107, 0.35);
  text-underline-offset: 2px;
  font-size: 1em;
  cursor: pointer;
}

.pub-toggle:hover {
  color: var(--accent-terracotta);
}

.pub-chevron {
  display: inline-block;
  transition: transform 0.15s ease;
  text-decoration: none;
}

.pub-toggle[aria-expanded="true"] .pub-chevron {
  transform: rotate(90deg);
}

.pub-authors {
  margin-top: 0.15em;
}

.pub-venue {
  margin-top: 0.1em;
}

.pub-details-inner {
  margin: 0.6em 0 0.2em;
  padding: 0.85em 1em;
  background: var(--paper-bg);
  border: 1px solid rgba(166, 116, 60, 0.18);
  border-radius: 10px;
}

.pub-details-inner p {
  margin-bottom: 0.5em;
}

/* Student project list */
.student-list {
  display: flex;
  flex-direction: column;
}

.student-row {
  display: flex;
  gap: 15px;
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(43, 43, 40, 0.08);
}

.student-date {
  flex: 0 0 3.5em;
  color: var(--accent-terracotta);
  font-weight: 500;
}

.thesis-desc {
  margin: 0.3em 0 0;
  color: rgba(43, 43, 40, 0.7);
  font-size: 0.92em;
  line-height: 1.5;
}

/* Footer */
footer {
  border-top: 1px solid rgba(166, 116, 60, 0.2);
  background-color: var(--paper-bg);
}
