/* ── Typography ── */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #2d2d2d;
  background-color: #f0eeeb;
}

/* ── Hero name label ── */
.hero-name {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-weight: 400;
  color: #666;
  margin-bottom: 0.25rem;
  margin-top: 0;
  text-transform: uppercase;
}

/* ── Role subtitle under name ── */
.role-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ── Broadside: hide default title, show large role heading ── */
.quarto-about-broadside h1.title {
  font-size: 2.6rem;
  white-space: nowrap;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

/* ── Pill buttons ── */
.btn.rounded-pill {
  border-radius: 50rem !important;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

/* ── Circular profile image ── */
.quarto-about-broadside .about-image {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

h1, h2, h3 {
  font-weight: 700;
}

/* ── Navbar ── */
.navbar {
  padding: 0.75rem 1.5rem;
}

/* ── Hero / Landing ── */
.quarto-title-block {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* ── Project cards (sections separated by <hr>) ── */
main h3 {
  color: #1a1a2e;
  margin-top: 1.5rem;
}

main hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 2rem 0;
}

/* ── Buttons ── */
.btn-primary {
  background-color: #1a73e8;
  border-color: #1a73e8;
  border-radius: 50rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.btn-primary:hover {
  background-color: #1558b0;
  border-color: #1558b0;
}

.btn-outline-primary {
  color: #1a73e8;
  border-color: #1a73e8;
  border-radius: 50rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.btn-outline-primary:hover {
  background-color: #1a73e8;
  color: #fff;
}

/* ── About page table ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table th, table td {
  padding: 0.6rem 1rem;
  border: 1px solid #e0e0e0;
  text-align: left;
}

table th {
  background-color: #f5f5fa;
  font-weight: 600;
}

/* ── Footer ── */
.nav-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #777;
}

/* ── Project Card Grid ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  background: #c0392b;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none !important;
  color: #fff !important;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  background: #922b21;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  color: #fff !important;
  text-decoration: none !important;
}

.project-year {
  display: inline-block;
  background: #444;
  color: #bbb;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff !important;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.project-info p {
  font-size: 0.92rem;
  color: #bbb;
  line-height: 1.65;
  margin: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-tags {
  opacity: 1;
  transform: translateY(0);
}

.project-tags span {
  background: #a93226;
  color: #f5f5f5;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #922b21;
}

/* ── Callout ── */
.callout-note {
  border-left: 4px solid #6c63ff;
  background: #f5f4ff;
}

