/* =====================
   Import Book-Style Fonts
===================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Cormorant+Garamond:wght@500;600&family=Fira+Code&display=swap');

/* =====================
   Base Styles
===================== */
:root {
  --accent: #5b4b8a; /* softer literary tone */
  --bg: #fdfcf9; /* warmer paper-like background */
  --text: #2b2b2b;
  --card-bg: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,0.06);
}

body {
  font-family: "Merriweather", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  margin: 0;
  line-height: 1.75;
  padding: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

/* =====================
   Headings
===================== */
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  background: none;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

/* =====================
   Links
===================== */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 75, 138, 0.3);
  transition: all 0.25s ease;
}
a:hover {
  color: #43346d;
  border-bottom-color: rgba(91, 75, 138, 0.6);
}

/* =====================
   Code
===================== */
code, pre {
  font-family: "Fira Code", monospace;
  background: #f3f1eb;
  padding: 0.3em 0.5em;
  border-radius: 6px;
  font-size: 0.9em;
}

/* =====================
   Layout Tweaks
===================== */
.quarto-about-content {
  max-width: 900px;
  margin: 0 auto;
}

main.content {
  max-width: 900px;
  margin: 0 auto;
}

