:root {
  color: #151d25;
  background: #f4f5f5;
  font: 100%/1.65 "IBM Plex Sans", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: #614800; text-underline-offset: .18em; }
a:focus-visible { outline: .17rem solid #d29100; outline-offset: .2rem; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }

.shell { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.site-header { background: #0c1a26; color: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.5rem; }
.site-header a { color: inherit; text-decoration: none; }
.wordmark { font-size: 1.4rem; font-weight: 750; }
.site-header nav { display: flex; gap: 1rem; }
.site-header nav a { padding-block: .5rem; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #ffbf1b; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 2; background: white; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

.blog-heading { padding: clamp(2.5rem, 7vw, 5.5rem) 0 2.5rem; border-bottom: 1px solid #d7dcdf; }
.blog-heading h1, .post h1 { margin: 0; font-size: clamp(2.25rem, 5.5vw, 4.5rem); letter-spacing: -.035em; }
.blog-heading p { margin: .8rem 0 0; color: #485a65; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.article-section { margin: 2.3rem 0 3rem; }
.article-section h2 { margin-block: 0 1rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); gap: 1.1rem; }
.card { border: 1px solid #d7dcdf; border-radius: 1rem; background: #fff; }
.card-link { display: block; height: 100%; color: #151d25; text-decoration: none; border-radius: inherit; }
.card-link:hover h3 { color: #614800; text-decoration: underline; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem 1rem 0 0; }
.card-body { padding: 1.25rem; }
time { color: #52636e; font-size: .9rem; }
.card h3 { margin: .5rem 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.card p { margin: 0; color: #485a65; }

.post { margin: 2.5rem auto 4rem; max-width: 48rem; }
.post-header { margin: 1.35rem 0 1.7rem; }
.post h1 { margin-top: .5rem; }
.back { display: inline-block; font-weight: 650; }
.archive-note { margin: 1.25rem 0 0; padding: .75rem 1rem; border-left: .2rem solid #d29100; background: #fff8e6; color: #4f3f19; }
.post-credit { color: #485a65; margin: .9rem 0 0; }
.post-cover { margin: 0 0 1.8rem; }
.post-cover img { max-height: 27rem; margin-inline: auto; object-fit: contain; border-radius: .7rem; }
.post-content { font-size: clamp(1.05rem, 2vw, 1.15rem); overflow-wrap: anywhere; }
.post-content h2 { margin-top: 2rem; }
.post-content blockquote { border-left: .2rem solid #d29100; padding-inline-start: 1rem; margin-inline-start: 0; }
.post-content table { display: block; overflow-x: auto; max-width: 100%; }

.site-footer { background: #0c1a26; padding-block: 1.15rem; }
.site-footer a { color: #fff; }
