/* Palette extracted from the original Sass in _sass/base/_variables.scss. */
:root {
  color-scheme: light;
  --brand-dark: #3f1906;
  --brand-teal: #008b82;
  --brand-paper: #f0ebe2;
  --brand-border: #333333;
  --text: #222222;
  --link: #8b3307;
  --link-visited: #00665f;
  --focus: #063f3b;
  --content-width: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--brand-paper); }
body { margin: 0; color: var(--text); background: var(--brand-paper); font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--link); text-decoration: underline; text-underline-offset: .15em; }
a:visited { color: var(--link-visited); }
a:hover { color: var(--focus); text-decoration-thickness: .15em; }
a:focus-visible, button:focus-visible { outline: .2rem solid var(--focus); outline-offset: .2rem; border-radius: .12rem; }
.skip-link { position: absolute; z-index: 10; top: .5rem; left: .5rem; transform: translateY(-160%); background: #fff; color: #111; padding: .7rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { color: var(--brand-paper); background: var(--brand-dark); border-top: .5rem solid var(--brand-teal); padding: 1rem max(1rem, calc((100vw - var(--content-width)) / 2)); }
.brand { display: grid; grid-template-columns: 5rem 1fr; grid-template-rows: auto auto; gap: 0 .9rem; align-items: center; max-width: 34rem; color: var(--brand-paper); text-decoration: none; }
.brand:visited { color: var(--brand-paper); }
.brand img { grid-row: 1 / 3; width: 4.75rem; height: 4.75rem; object-fit: contain; background: var(--brand-paper); border-radius: 50%; }
.brand-name { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.brand-tagline { font-size: clamp(.95rem, 2.4vw, 1.2rem); }
nav { margin-top: 1rem; }
.nav-list { display: flex; flex-wrap: wrap; gap: .35rem .75rem; list-style: none; padding: 0; margin: 0; }
.nav-list a { display: inline-block; color: var(--brand-paper); padding: .45rem .25rem; font-weight: 650; }
.nav-list a:visited { color: var(--brand-paper); }
.content { width: min(calc(100% - 2rem), var(--content-width)); margin: 2rem auto 4rem; }
.content:focus { outline: none; }
h1, h2, h3 { color: var(--brand-dark); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { margin-top: 2rem; font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
.prose { max-width: 72ch; }
p, ul, ol, blockquote { max-width: 75ch; }
.news-list, .archive-list { padding-left: 1.35rem; }
.news-list li { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: .65rem 0; }
time, .meta { color: #3e3a35; font-size: .92rem; }
.button { display: inline-block; padding: .6rem .9rem; color: #fff; background: var(--brand-dark); border-radius: .25rem; }
.button:visited { color: #fff; }
.historical-note { margin: 1.5rem 0; padding: .9rem 1rem; border-left: .3rem solid var(--brand-teal); background: #e5ded2; font-weight: 600; }
.post-navigation { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--brand-border); }
.site-footer { background: var(--brand-dark); color: var(--brand-paper); padding: 1.25rem max(1rem, calc((100vw - var(--content-width)) / 2)); }
.site-footer p { margin: 0 0 .5rem; }
.site-footer a, .site-footer a:visited { color: var(--brand-paper); }
@media (max-width: 40rem) {
  .content { margin-top: 1.25rem; }
  .brand { grid-template-columns: 3.75rem 1fr; }
  .brand img { width: 3.5rem; height: 3.5rem; }
  .nav-list { gap: .15rem .45rem; }
  .nav-list a { padding: .55rem .25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
