:root {
  --bg: #faf8f3;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --link: #1a1a1a;
  --link-underline: #b4b4b4;
  --link-underline-hover: #9a9a9a;
  --border: #e3ded6;
  --serif: "Iowan Old Style", "Charter", "Palatino", serif;
  --sans: "Avenir Next", "Gill Sans", "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: auto;
  transition: text-decoration-color 120ms ease-in-out;
}

a:hover,
a:focus-visible {
  text-decoration-color: var(--link-underline-hover);
}

/* Enforce always-underlined body links across content renderers. */
.content a,
.post-content a,
.prose a {
  text-decoration-line: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: auto;
}

.content a:hover,
.content a:focus-visible,
.post-content a:hover,
.post-content a:focus-visible,
.prose a:hover,
.prose a:focus-visible {
  text-decoration-color: var(--link-underline-hover);
}

.site-title a,
.site-nav a,
.social-link,
.footer-social a {
  text-decoration: none;
}

.site-title a:hover,
.site-nav a:hover,
.social-link:hover,
.footer-social a:hover,
.site-title a:focus-visible,
.site-nav a:focus-visible,
.social-link:focus-visible,
.footer-social a:focus-visible {
  text-decoration: none;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--border);
  background: #f5f2ec;
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.site-header.is-project,
.site-footer.is-project {
  background: #f7f6f1;
  opacity: 0.9;
}

.site-header-inner,
.site-footer-inner,
.site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
}

.site-title a {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header-inner {
  text-align: center;
}

.site-title {
  margin-bottom: 10px;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  margin-right: 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

h1,
h2,
h3 {
  font-family: var(--sans);
  line-height: 1.2;
}

.meta,
.update {
  color: var(--muted);
  font-size: 0.95rem;
}

.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

.home-list,
.post-list,
.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-list li,
.post-list li,
.project-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  margin-bottom: 30px;
  text-align: center;
}

.home-hero-media {
  display: flex;
  justify-content: center;
}

.mark {
  margin: 0;
}

.mark-img {
  width: 168px;
  height: auto;
  display: block;
}

.home-hero-copy h1 {
  margin: 0 0 8px 0;
}


.social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.social-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: #111;
  color: #111;
}

@media (max-width: 720px) {
  .home-hero-media {
    max-width: 240px;
  }
}
