:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --line: #d9d4ca;
  --text: #161616;
  --muted: #666055;
  --accent: #1b1b1b;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 2rem));
}

.site-header,
.site-footer {
  background: var(--bg);
}

.header-shell,
.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.brand {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-subtitle,
.footer-note,
.meta,
.muted {
  color: var(--muted);
}

.brand-subtitle,
.footer-note {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-nav,
.footer-links,
.link-list,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-nav a.active,
.site-nav a:hover,
.footer-links a:hover,
.link-list a:hover {
  color: var(--text);
}

.home-intro,
.page-hero,
.page-content {
  padding: 3rem 0 0;
}

.intro-grid,
.split-grid,
.card-grid,
.post-grid,
.two-column {
  display: grid;
  gap: 2.5rem;
}

.intro-grid,
.split-grid,
.two-column {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  align-items: start;
}

.three-up,
.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-image-wrap {
  position: sticky;
  top: 2rem;
}

.intro-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.intro-copy {
  max-width: 720px;
}

.bio-text p,
.page-copy p,
.post-content p {
  margin: 0 0 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.08rem;
}

.bio-text blockquote {
  margin: 1.75rem 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}

.contact-block {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-label,
.page-intro,
.section-copy,
.post-excerpt,
.post-meta,
.archive-intro {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-label {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}

.icon-link:hover {
  color: var(--text);
}

.icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.icon svg {
  width: 1rem;
  height: 1rem;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}

.eyebrow,
.mini-heading,
.section-label {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

h4 {
  font-size: 1.1rem;
}

.page-section,
.section-block {
  padding: 2rem 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.panel,
.post-card,
.archive-item,
.timeline-item {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.post-card,
.archive-item,
.timeline-item {
  padding-bottom: 1rem;
}

.card-link,
.post-card {
  display: block;
}

.post-card:hover h3,
.archive-item:hover h3,
.card-link:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.compact-list,
.clean-list {
  margin: 0;
  padding-left: 1.1rem;
}

.clean-list li,
.compact-list li {
  margin-bottom: 0.45rem;
}

.post-meta,
.meta {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.footer-title {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

@media (max-width: 900px) {
  .intro-grid,
  .split-grid,
  .two-column,
  .two-up,
  .three-up,
  .post-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .intro-image-wrap {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-shell,
  .footer-shell {
    flex-direction: column;
  }

  .home-intro,
  .page-hero,
  .page-content {
    padding-top: 2rem;
  }

  .icon-links,
  .site-nav,
  .footer-links {
    gap: 0.75rem 1rem;
  }

  .bio-text p,
  .page-copy p,
  .post-content p {
    text-align: left;
  }
}
.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
}



.prose,
.post-content {
  max-width: 720px;
}

.prose p,
.post-content p {
  margin: 0 0 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.08rem;
}

.post-figure {
  margin: 2rem auto;
  width: 100%;
  max-width: 520px;
}

.post-figure.small {
  max-width: 420px;
}

.post-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.post-figure figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.cover-image {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 1.5rem auto 2.5rem;
}