:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1d1f24;
  --muted: #5b6070;
  --border: #e1e4ea;
  --accent: #866a00; /* dark gold: links and buttons; 5.2:1 on white */
  --accent-text: #ffffff;
  --hero-bg: #14161c;
  --hero-text: #fff952;
  --hero-body: #f2f2f2;
  --measure: 46rem;
  --wide: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --surface: #1b1e24;
    --text: #e8eaee;
    --muted: #a0a6b4;
    --border: #2c3039;
    --accent: #fff952; /* the hero yellow */
    --accent-text: #14161c;
    --hero-bg: #0b0c0f;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg);
  padding: 0.5rem;
  z-index: 10;
}

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

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-title {
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.site-title__by {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover, .site-nav a[aria-current=page] {
  color: var(--accent);
}

.hero {
  background: var(--hero-bg);
  color: var(--hero-body);
  padding: 4rem 0;
}

.hero__inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
}

.hero__photo {
  flex: none;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 4px solid var(--hero-text);
  object-fit: cover;
}

@media (max-width: 700px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__photo {
    width: 160px;
    height: 160px;
  }
}
.hero__kicker {
  color: var(--hero-text);
  font-size: 1.25rem;
  margin: 0;
}

.hero__title {
  color: var(--hero-text);
  font-size: clamp(2.25rem, 7vw, 4rem);
  margin: 0.25rem 0 1.5rem;
}

.hero__lede {
  max-width: var(--measure);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
}

.hero .button {
  background: var(--hero-text);
  color: #14161c;
}

.section {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.section__title {
  font-size: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.25rem;
  color: var(--text);
}

.card p {
  margin: 0.5rem 0 0;
}

.card__title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--accent);
}

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

.card__title a:hover {
  text-decoration: underline;
}

.card__meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.4rem !important;
}

.card--link {
  text-decoration: none;
  transition: border-color 0.15s;
}

.card--link:hover {
  border-color: var(--accent);
}

.card--link:hover .card__title {
  text-decoration: underline;
}

.page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.page-header {
  max-width: var(--measure);
}

.page-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-top: 0.5rem;
}

.page-lede {
  color: var(--muted);
  font-size: 1.15rem;
  margin-top: 0;
}

.prose {
  max-width: var(--measure);
}

.prose img {
  display: block;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  background: #fff;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  display: block;
  overflow-x: auto;
}

.prose td, .prose th {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  vertical-align: top;
  text-align: left;
}

.prose td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.prose--wide {
  max-width: none;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.glossary-nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  z-index: 1;
}

.glossary-nav p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.6rem;
}

.glossary-nav a {
  text-decoration: none;
  font-weight: 600;
}

:target {
  scroll-margin-top: 4rem;
}

.video {
  margin: 0;
}

.video__frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--measure);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.post-nav a:last-child {
  text-align: right;
}

.prose em > a, .prose p > em:only-child {
  color: var(--muted);
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
}

/*# sourceMappingURL=main.css.map */