@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap");


/* variables */
:root {
  --site-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --site-sans: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Arial, sans-serif;

  --paper: #f8f4ea;
  --paper-2: #f3ebdc;
  --ink: #23211f;
  --ink-soft: #3b3832;
  --muted: #5f5a51;
  --accent: #4b5f6a;
  --accent-dark: #33454d;
  --accent-2: #8d7453;
  --border: #d9cfbf;
}

/* all body / main / margin text in serif */
body,
p,
li,
.column-margin,
.margin-caption,
.quarto-title-meta,
.quarto-post .listing-description {
  font-family: var(--site-serif);
}

/* headings in sans-serif */
h1, h2, h3, h4, h5, h6,
.title,
.navbar,
.navbar-brand,
.nav-link,
.nav-footer {
  font-family: var(--site-sans);
}

/* slightly "airier" prose */
body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* links */
a {
  color: var(--accent);
  text-decoration-color: rgba(75, 95, 106, 0.35);
}
a:hover,
a:focus,
a:visited {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

/* blockquotes and callouts */
blockquote,
.callout,
div.callout {
  border-left: 3px solid var(--accent-2);
  background: var(--paper-2);
  padding: 0.8rem 1rem;
  color: var(--muted);
}

/* code */
code,
pre {
  background: #efe6d6;
  color: var(--ink-soft);
  border-radius: 0.25rem;
}

/* navbar */
.navbar {
  background-color: rgba(248, 244, 234, 0.96) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(35, 33, 31, 0.03);
}
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .nav-item .nav-link {
  color: var(--ink) !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.navbar .nav-item.active > .nav-link {
  color: var(--accent) !important;
}
.navbar .nav-link.active {
  font-weight: 600;
}

/* margin notes and figure captions (which land in margin bc yaml setting) */
.column-margin,
.margin-caption {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

/* circular photo in nav-bar */
.navbar-logo {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: 3rem;
  margin-right: 0.5rem;
}


/* photo on landing page */
.landing-photo {
  display: block;
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

/* page titles */
#title-block-header .title {
  text-align: center;
}

/* little hack: disable external link icons in footer */
.nav-footer a.external::after {
  content: none;
}