@font-face {
  font-family: 'Courier Prime';
  src: url('/fonts/courier-prime-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  --accent: #B93221;
  --ink: #252422;
  --ink2: #57534E;
  --bg: #F8F6F1;
  --card: #FFFFFF;
  --rule: #D3CFC6;
  --display: 'Courier Prime', 'Courier New', monospace;
}
body { font-family: 'IBM Plex Sans', Arial, sans-serif; }
.sitebar, .sitenav, .datebar, .footnav, .credit, .backlink {
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}
.sitebar { min-height: 78px; margin-bottom: 32px; }
.sitebar .brand { font-family: var(--display); font-size: 22px; }
.mast h1, .mast .masthead, h1, h2, h3 { font-weight: 700; }
.mast h1, .mast > .masthead { font-size: clamp(30px, 5vw, 46px); }
header.mast { padding-bottom: 20px; }
.mast .kicker { font-family: var(--display); letter-spacing: .02em; }
.hero { border-radius: 0; }
a { text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #E8C6A1; color: var(--ink); }

/* Match the site's Header.astro without inheriting Stork's .wrap width. */
.wtf-header {
  --gutter: clamp(24px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; min-height: 100px; position: relative;
  width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}
.wtf-header::after { content: ''; position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); border-bottom: 1px solid var(--rule); }
.wtf-logo { display: block; width: 270px; flex-shrink: 0; }
.wtf-logo img { display: block; width: 100%; height: auto; }
.wtf-nav-desktop { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.wtf-nav-link { color: var(--ink); text-decoration: none; padding-block: 12px; }
.wtf-nav-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.wtf-nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid var(--ink); font-size: 15px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.wtf-nav-cta:hover { background: #EEEAE2; }
.wtf-nav-mobile { display: none; }
.wtf-nav-mobile summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; cursor: pointer; border: 1px solid var(--rule); }
.wtf-nav-mobile summary::-webkit-details-marker { display: none; }
.wtf-nav-mobile[open] summary { background: #EEEAE2; }
.wtf-nav-sheet { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 10px var(--gutter) 28px; z-index: 20; box-shadow: 0 15px 20px #24272308; display: flex; flex-direction: column; }
.wtf-nav-sheet .wtf-nav-link { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.wtf-nav-sheet .wtf-nav-cta { margin-top: 20px; background: var(--ink); color: white; min-height: 50px; font-size: 16px; }
.wtf-nav-sheet .wtf-nav-cta:hover { background: var(--accent); }
body > .wrap { padding-top: 40px; }
@media(max-width:960px) {
  .wtf-nav-desktop { display: none; }
  .wtf-nav-mobile { display: block; }
  .wtf-header { min-height: 88px; }
  .wtf-logo { width: 210px; }
}
@media(max-width:380px) { .wtf-logo { width: 180px; } }
