/* oconnorkyle.com - simple, fast, mobile-first. Maroon, gray and black. */
:root {
  --ink: #1a1618;
  --muted: #6f6a6c;
  --bg: #fbfafa;
  --maroon: #71212e;
  --maroon-dark: #551723;
  --band: #f2f0f0;
  --rule: #e5e1e2;
}

* { box-sizing: border-box; }

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

body {
  margin: 0 auto;
  padding: 1.25rem 1.1rem 3rem;
  max-width: 43rem;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
  border-top: 4px solid var(--maroon);
}

a { color: var(--maroon); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--maroon-dark); }

h1, h2, h3, .site-name {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1.6rem 0 0.75rem; font-weight: 700; }
h2 { font-size: 1.32rem; line-height: 1.3; margin: 2.4rem 0 0.5rem; font-weight: 600; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.35rem; font-weight: 600; }

img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.site-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.site-name:hover { color: var(--maroon); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  font-size: 0.92rem;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--maroon); }
.site-nav a[aria-current="page"] { font-weight: 600; }

/* Bits */
.headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: block;
  margin: 1.9rem 0 0.25rem;
  border: 3px solid var(--maroon);
  padding: 4px;
  background: #fff;
}
.lede { font-size: 1.13rem; }
.muted, .post-meta { color: var(--muted); }
.post-meta { font-size: 0.9rem; margin: 0.1rem 0 1.5rem; }

.btn {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.6rem 1.1rem;
  background: var(--maroon);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--maroon-dark); color: #fff; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.25rem 0; }

blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--maroon);
  font-style: italic;
}
blockquote .attribution { display: block; font-style: normal; font-weight: 600; margin-top: 0.35rem; }

ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }

.todo { color: var(--muted); font-style: italic; }

/* Home page link list */
.home-links { list-style: none; padding: 0; margin: 0.9rem 0 2rem; }
.home-links li {
  margin: 0 0 0.5rem;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  border-left: 3px solid var(--maroon);
  background: var(--band);
  border-radius: 0 6px 6px 0;
}
.home-links a { font-weight: 600; text-decoration: none; }
.home-links a:hover { text-decoration: underline; }

figure { margin: 1.9rem 0; }
figure img { width: 100%; border-radius: 8px; display: block; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

.article-list { list-style: none; padding: 0; }
.article-list li { margin: 1.4rem 0; }
.article-list .date { color: var(--muted); font-size: 0.88rem; display: block; }
.article-list a { font-weight: 600; font-size: 1.08rem; }

/* Footer */
.site-footer {
  margin-top: 3.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--maroon); }
