:root {
  --paper: #FAFAF7;
  --red: #B23A2E;
  --teal: #1F5B5A;
  --ink: #211E1B;
  --subtle: #D7DDE2;
  --deep: #111827;
  --white: #FFFFFF;
}
html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}
h1, h2, h3, h4, .title, .site-brand, .site-footer-brand {
  font-family: Lora, Georgia, serif;
  color: var(--ink);
  letter-spacing: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: .5rem .75rem;
}
.site-header,
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 247, .96);
  border-bottom: 1px solid var(--subtle);
  backdrop-filter: blur(10px);
}
.site-navbar .navbar-item,
.site-navbar .navbar-link {
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.site-brand {
  font-size: 1.2rem;
  text-transform: none !important;
}
.site-navbar a:hover,
.site-navbar a:focus {
  color: var(--red);
  background: transparent;
}
.navbar-dropdown {
  border: 1px solid var(--subtle);
}
.site-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--subtle);
}
.site-hero .title {
  max-width: 800px;
}
.site-hero-image {
  border: 1px solid var(--deep);
  background: var(--white);
}
.site-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1);
}
.site-page {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.site-panel {
  background: var(--white);
  border: 1px solid var(--subtle);
  padding: 2rem;
}
.site-article {
  box-shadow: 0 18px 40px rgba(17, 24, 39, .06);
}
.site-page-header {
  border-bottom: 1px solid var(--subtle);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}
.site-kicker,
.site-meta,
.site-footer-heading {
  color: var(--teal);
  font-family: Inter, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-lead {
  border-left: 3px solid var(--red);
  color: #4D4843;
  font-size: 1.15rem;
  padding-left: 1rem;
}
.site-prose {
  overflow-wrap: anywhere;
}
.site-prose p {
  margin-bottom: 1.2rem;
}
.site-prose a,
.site-list-item a,
.site-card a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(178, 58, 46, .35);
  text-underline-offset: .18em;
}
.site-prose a:hover,
.site-list-item a:hover,
.site-card a:hover {
  color: var(--teal);
  text-decoration-color: var(--teal);
}
.site-figure {
  margin: 2rem 0;
}
.site-figure img,
.site-main-image img {
  max-width: 100%;
  border: 1px solid var(--subtle);
}
.site-main-image {
  float: right;
  max-width: 33%;
  margin: 0 0 1rem 1.5rem;
}
.site-list-item {
  border-top: 1px solid var(--subtle);
  padding: 1rem 0;
}
.site-list-item span {
  color: #6B7280;
  display: block;
  font-size: .85rem;
}
.site-tag-grid,
.site-grid {
  display: grid;
  gap: .6rem;
}
.site-tag-grid {
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}
.site-tag,
.site-sidebar a {
  border: 1px solid rgba(31, 91, 90, .35);
  color: var(--teal);
  display: inline-block;
  font-size: .82rem;
  padding: .35rem .55rem;
}
.site-tag:hover,
.site-sidebar a:hover {
  background: var(--teal);
  color: var(--white);
}
.site-sidebar {
  background: var(--white);
  border: 1px solid var(--subtle);
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}
.site-sidebar .menu-list a {
  margin-bottom: .35rem;
  overflow-wrap: anywhere;
}
.site-card {
  background: var(--white);
  border: 1px solid var(--subtle);
  height: 100%;
}
.site-card-body,
.site-card-minimal {
  padding: 1.25rem;
}
.site-card-minimal {
  border-left: 3px solid var(--red);
}
.site-toc {
  margin-bottom: 1.5rem;
}
.site-toc a {
  color: var(--red);
  display: block;
  margin-top: .4rem;
}
.sticky {
  position: sticky;
  top: 5rem;
}
.site-footer {
  background: var(--deep);
  color: #F8FAFC;
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.site-footer a {
  color: #E5E7EB;
  display: block;
  margin-bottom: .4rem;
  text-decoration: underline;
  text-decoration-color: transparent;
}
.site-footer a:hover {
  color: #FCA5A5;
  text-decoration-color: #FCA5A5;
}
.site-footer-brand {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.site-footer-note {
  color: #CBD5E1;
}
.button.is-dark,
.button.is-primary {
  background: var(--red);
  border-color: var(--red);
}
.button.is-dark:hover,
.button.is-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
}
blockquote {
  border-left: 3px solid var(--red);
  color: #4D4843;
  padding-left: 1rem;
}
@media (max-width: 768px) {
  .site-hero,
  .site-page,
  .site-footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .site-panel {
    padding: 1.5rem;
  }
  .site-main-image {
    float: none;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}
