:root {
  --text: #322f28;
  --muted: #817a6d;
  --accent: #bd6745;
  --line: #e8e2d9;
  --paper: #fbfaf8;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

h1, h2, h3, p { line-height: inherit; }
.anchorjs-link { display: none; }

a { color: var(--accent); text-underline-offset: 3px; }

.navbar {
  min-height: 64px;
  background: rgba(251, 250, 248, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.navbar > .container-fluid,
.navbar .navbar-container {
  width: min(940px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand { display: none; }
.navbar-toggler { display: none !important; }
.navbar-collapse { display: flex !important; flex-basis: auto; }
.navbar-nav { flex-direction: row; }
.navbar-nav { margin: 0; padding: 0; list-style: none; }
.navbar-nav .nav-item { margin: 0; }
.navbar-nav .nav-link { display: block; padding: 8px 0; text-decoration: none; }

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 650;
}

#quarto-content,
#quarto-document-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-columns { display: block; }
.quarto-title-block { display: none; }

.profile-layout {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 74px;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: 112px;
}

.profile-card { text-align: center; }

.profile-photo {
  width: 176px;
  height: 176px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee9e1;
  border: 1px solid #e2dbd0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  letter-spacing: -3px;
}

.profile-card h1 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.profile-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-location {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #655e52;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(55, 46, 36, 0.04);
}

.profile-link:hover {
  color: var(--accent);
  border-color: #d8c5b9;
}

.profile-content { min-width: 0; }

.profile-content > section > h2 {
  width: fit-content;
  margin: 0 0 25px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-size: 17px;
  font-weight: 720;
}

.profile-content > section + section { margin-top: 58px; }
.profile-content > section > p { margin: 0; color: #5f594f; }

.entry {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}

.entry-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #8c3f30;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.entry-body h3 {
  margin: -2px 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
}

.entry-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.entry-body strong { color: #5f594f; font-weight: 500; }

.entry-date {
  margin-top: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

.interest-list {
  border-left: 1px solid #dfb39f;
  padding-left: 25px;
}

.interest-row {
  position: relative;
  padding: 0 0 24px;
}

.interest-row:last-child { padding-bottom: 0; }

.interest-row::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
}

.interest-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quiet-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 13px;
}

.quiet-note p { margin: 0; }

.nav-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .profile-layout {
    width: min(620px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 42px;
  }

  .profile-sidebar { position: static; }

  .profile-photo {
    width: 150px;
    height: 150px;
    font-size: 44px;
  }

  .profile-content > section + section { margin-top: 46px; }
}

@media (max-width: 420px) {
  .profile-layout { width: calc(100% - 28px); }
  .entry { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .entry-mark { width: 44px; height: 44px; }
}
