/* styles.css — the entire site's stylesheet (Zola serves this file as-is;
   there is no CSS build step).

   Structure:
   1. @font-face rules for the fonts vendored in /fonts/ (redesign 2026-08:
      Atkinson Hyperlegible Next for body, SimpleBits Cartridge for display,
      Departure Mono for pixel-flavored UI text — replacing the old
      fontsource Marko One / Carme / Brawler stack).
   2. normalize.css v8.0.1, vendored verbatim (was `@import "normalize.css"`).
   3. The design layer (rewritten in the 2026-08 "pixel platinum" redesign:
      light theme built around the pixel-art portrait; the six-color rainbow
      palette carries over from the original design as the site's identity).
   4. Flattened scoped styles from the old .astro pages (follow, us, 404,
      search), scoped by the per-page class base.html puts on <main>
      (.follow-page, .us-page, .notfound-page, .search-page). */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/AtkinsonHyperlegibleNext-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2) format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/AtkinsonHyperlegibleNext-SemiBold.woff2) format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/AtkinsonHyperlegibleNext-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "Cartridge";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Cartridge-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Cartridge";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Cartridge-Semibold.woff2) format("woff2");
}
@font-face {
  font-family: "Cartridge";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Cartridge-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "Cartridge";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/Cartridge-Black.woff2) format("woff2");
}
@font-face {
  font-family: "Departure Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/DepartureMono-Regular.woff2) format("woff2");
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* ---- design layer: "pixel platinum" ---- */

:root {
  /* type */
  --font-body: "Atkinson Hyperlegible Next", "Helvetica Neue", Arial,
    sans-serif;
  --font-display: "Cartridge", var(--font-body);
  --font-pixel: "Departure Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* --font-serif kept as an alias so any straggler rule still resolves */
  --font-serif: var(--font-body);

  /* platinum light theme */
  --color-background: #e8e8e2;
  --color-body-text: #1c1c1c;
  --color-ink: #1c1c1c;
  --color-panel: #ffffff;
  --color-accent-bg: #f2f2ec; /* quiet panel: blockquotes, details, boxes */
  --color-muted: #5a5a60;

  /* the six-color rainbow — the site's identity, carried over.
     Base values are the originals (decorative fills, stripes);
     the -ink variants are darkened for legible text/icons on light bg. */
  --color-one: rgb(99, 183, 75);
  --color-two: rgb(248, 181, 38);
  --color-three: rgb(243, 128, 32);
  --color-four: rgb(228, 57, 64);
  --color-five: rgb(147, 63, 150);
  --color-six: rgb(18, 155, 215);
  --color-one-ink: #2e7d20;
  --color-two-ink: #a37200;
  --color-three-ink: #c05708;
  --color-four-ink: #c2242b;
  --color-five-ink: #7c3080;
  --color-six-ink: #0b6e9b;

  --color-link: var(--color-six-ink);

  --rainbow: linear-gradient(
    90deg,
    var(--color-one) 0 16.66%,
    var(--color-two) 0 33.33%,
    var(--color-three) 0 50%,
    var(--color-four) 0 66.66%,
    var(--color-five) 0 83.33%,
    var(--color-six) 0 100%
  );

  --shadow-hard: 6px 6px 0 var(--color-ink);
  --shadow-soft: 4px 4px 0 rgba(28, 28, 28, 0.18);

  --search-bg: var(--color-panel);
  --search-border: var(--color-ink);
  --search-tag: var(--color-two);
  --search-tag-text: black;
  --search-primary: var(--color-ink);
  --search-primary-text: var(--color-body-text);
  --search-results-text: var(--color-body-text);
  --search-results-link: var(--color-six-ink);
}

html {
  height: 100vh;
}

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.55;
  background-color: var(--color-background);
  /* faint desk-mat grid behind everything */
  background-image: linear-gradient(rgba(28, 28, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 28, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--color-body-text);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

a,
a:visited {
  color: var(--color-link);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-four-ink);
}

::selection {
  background: var(--color-two);
  color: var(--color-ink);
}

:focus-visible {
  outline: 3px solid var(--color-six);
  outline-offset: 2px;
}

/* ---- header: pixel portrait + Cartridge title + rainbow underline ---- */

.header {
  margin: 3rem 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  column-gap: 1.75rem;
  justify-content: center;
  align-items: center;
}

.header a {
  text-decoration: none;
}

.header h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 98%;
  color: var(--color-ink);
  padding: 0 0 0.12em;
  margin: 0;
  background: var(--rainbow) no-repeat bottom / 100% 0.09em;
}

.header p {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.header img {
  display: block;
  margin: 0;
  border-radius: 0;
  border: 3px solid var(--color-ink);
  background: var(--color-panel);
  box-shadow: var(--shadow-hard);
  height: 120px;
  width: 120px;
  image-rendering: pixelated;
  transform: rotate(-2deg);
  transition: transform 0.15s ease-out;
}

.header a:hover img {
  transform: rotate(0deg);
}

/* ---- menu: pixel-font menu bar ---- */

menu {
  margin: 0 auto 4rem;
  text-align: center;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  background-color: var(--color-panel);
  border-top: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  padding: 0;
  width: 100%;
}

menu a,
menu a:visited {
  text-decoration: none;
  color: var(--color-ink);
}

menu ul {
  margin: 0;
  padding: 0.4ch 2ch;
}
menu li {
  display: inline;
  white-space: nowrap;
  margin: 0.5rem;
  font-size: 0.9rem;
}

menu li:before {
  content: "\/";
  font-weight: 900;
  margin-right: 0.5ch;
}

menu li:nth-child(1):before,
menu li:nth-child(1) a:hover,
menu li:nth-child(1) a:active {
  color: var(--color-one-ink);
}
menu li:nth-child(2):before,
menu li:nth-child(2) a:hover,
menu li:nth-child(2) a:active {
  color: var(--color-two-ink);
}
menu li:nth-child(3):before,
menu li:nth-child(3) a:hover,
menu li:nth-child(3) a:active {
  color: var(--color-three-ink);
}
menu li:nth-child(4):before,
menu li:nth-child(4) a:hover,
menu li:nth-child(4) a:active {
  color: var(--color-four-ink);
}
menu li:nth-child(5):before,
menu li:nth-child(5) a:hover,
menu li:nth-child(5) a:active {
  color: var(--color-five-ink);
}
menu li:nth-child(6):before,
menu li:nth-child(6) a:hover,
menu li:nth-child(6) a:active {
  color: var(--color-six-ink);
}

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

/* ---- episode cards ---- */

h2.episode {
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

h2.episode a,
h2.episode a:visited {
  text-decoration: none;
  color: var(--color-ink);
}

h2.episode a:hover {
  color: var(--color-four-ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

p.episode-date {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin: 0;
}

p.episode-description {
  color: var(--color-muted);
}

[data-icon="bi:calendar2-week-fill"] {
  font-size: 1em;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
  color: var(--color-four-ink);
}

[data-icon="fluent:chat-warning-20-filled"] {
  font-size: 3em;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
  color: var(--color-two-ink);
}

[data-icon="el:twitter"] {
  font-size: 2em;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
  color: var(--color-six-ink);
}

[data-icon="icomoon-free:rss2"] {
  color: var(--color-three-ink);
  font-size: 2rem;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
}

[data-icon="el:podcast"] {
  color: var(--color-four-ink);
  font-size: 2rem;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
}

[data-icon="fontisto:safari"] {
  color: var(--color-six-ink);
  font-size: 2rem;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
}

[data-icon="simple-icons:mastodon"] {
  color: var(--color-five-ink);
  font-size: 2rem;
  margin: 0 0.5rem 0 0;
  padding: 0;
  text-align: center;
}

/* No-JS fallback only: player.js hides the native <audio> and builds the
   .ss-player controls below (Safari ignores the ::-webkit-media-controls-*
   overrides Chrome honors, so native controls can never match the design).
   When JS is off, the native pill at least sits in a deliberate frame. */
audio {
  display: block;
  margin: 1.5rem 0;
  width: 100%;
  height: 54px;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 0;
  border: 2px solid var(--color-ink);
  background: var(--color-accent-bg);
  box-shadow: 4px 4px 0 var(--color-six);
}

audio.ss-hidden {
  display: none;
}

/* the custom player: pixel button, pixel time, chunky seek bar */
.ss-player {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 10px 14px;
  border: 2px solid var(--color-ink);
  background: var(--color-accent-bg);
  box-shadow: 4px 4px 0 var(--color-six);
}

.ss-play {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  background: var(--color-two);
  border: 2px solid var(--color-ink);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--color-ink);
}

.ss-play:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--color-ink);
}

/* play triangle / pause bars drawn with borders — no glyph dependencies */
.ss-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--color-ink);
  margin-left: 3px;
}

.ss-player.playing .ss-icon {
  width: 0;
  height: 16px;
  border-style: double;
  border-width: 0 0 0 12px;
  border-color: var(--color-ink);
  margin-left: 0;
}

.ss-time {
  flex: none;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  min-width: 4ch;
  text-align: center;
}

.ss-seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 14px;
  margin: 0;
  cursor: pointer;
  border: 2px solid var(--color-ink);
  border-radius: 0;
  /* --p (0–100%) is set by player.js as playback progresses */
  background: linear-gradient(
    90deg,
    var(--color-six) var(--p, 0%),
    var(--color-panel) var(--p, 0%)
  );
}

.ss-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 22px;
  background: var(--color-ink);
  border: none;
  border-radius: 0;
}

.ss-seek::-moz-range-thumb {
  width: 12px;
  height: 22px;
  background: var(--color-ink);
  border: none;
  border-radius: 0;
}

.ss-seek::-moz-range-track {
  background: none;
}

audio + p {
  line-height: 1.5em;
}

/* transcript quotes: quiet panels with a rotating rainbow edge */

blockquote {
  margin: 2.5rem 0 0;
  padding: 1em 1.5em 0.9em;
  background-color: var(--color-accent-bg);
  border: 2px solid var(--color-ink);
  border-left-width: 8px;
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  font-size: 0.92em;
  font-style: italic;
}

blockquote:nth-of-type(6n + 1) {
  border-left-color: var(--color-one);
}
blockquote:nth-of-type(6n + 2) {
  border-left-color: var(--color-two);
}
blockquote:nth-of-type(6n + 3) {
  border-left-color: var(--color-three);
}
blockquote:nth-of-type(6n + 4) {
  border-left-color: var(--color-four);
}
blockquote:nth-of-type(6n + 5) {
  border-left-color: var(--color-five);
}
blockquote:nth-of-type(6n + 6) {
  border-left-color: var(--color-six);
}

blockquote:before {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
  font-size: 300%;
  line-height: 0.55;
  content: "\201C";
  color: var(--color-four);
  margin: 0.15em 0 0.1em;
}

/* speaker names (<strong> at the head of each paragraph): upright and a
   touch larger than the italic spoken text */
blockquote strong {
  font-style: normal;
  font-size: 1.12em;
}

/* pixel-dot divider between episodes on list pages */
hr.episode-hr {
  border: none;
  height: 6px;
  margin: 4rem auto;
  width: 40%;
  background: repeating-linear-gradient(
    90deg,
    var(--color-ink) 0 6px,
    transparent 6px 18px
  );
  opacity: 0.35;
}

hr.episode-hr:last-of-type {
  visibility: hidden;
  margin: 0;
}

article {
  width: 100%;
  margin-bottom: 5em;
}

article:last-of-type {
  margin-bottom: 0;
}

/* the episode card: white panel, ink border, hard 8-bit shadow */
div.article-content {
  margin: 1rem auto;
  padding: 1.75rem 2.5rem 2rem;
  max-width: 52ch;
  background: var(--color-panel);
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-hard);
}

div#disclaimer {
  background-color: var(--color-accent-bg);
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border: 2px solid var(--color-ink);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  color: var(--color-four-ink);
  font-weight: bold;
}

div#disclaimer h2 {
  margin-top: 0;
  padding-top: 0;
}

div#disclaimer p {
  color: var(--color-body-text);
  margin-bottom: 0;
  font-size: 0.8em;
  font-style: italic;
}

div#disclaimer p.disclaimer {
  color: var(--color-four-ink);
  font-size: 1em;
}

div.disclaimer-link {
  margin: 3em auto;
  font-style: italic;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  align-content: center;
  background-color: var(--color-accent-bg);
  padding: 0.5em;
  border: 1px solid var(--color-ink);
  border-radius: 0;
}

details {
  margin-bottom: 2em;
}

details summary {
  font-family: var(--font-pixel);
  font-size: 0.9em;
  cursor: pointer;
}

details div {
  background-color: var(--color-accent-bg);
  padding: 0.1em 1em;
  margin: 1em 0;
  border: 1px solid var(--color-ink);
  border-radius: 0;
}

details div ul {
  color: var(--color-muted);
  font-size: 0.85em;
}

div.who {
  margin: 3rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  column-gap: 2rem;
}

div.who:last-of-type {
  margin-bottom: 0;
}

div.who img {
  border-radius: 0;
  border: 3px solid var(--color-ink);
  box-shadow: 6px 6px 0 var(--color-two);
  width: 200px;
  height: 200px;
}

div.who p {
  font-size: 0.9em;
  color: var(--color-muted);
}

div.who div:nth-child(3) {
  display: flex;
  align-items: center;
  align-content: center;
}

div.url-link {
  margin: 1rem 0;
  display: flex;
  column-gap: 1rem;
  align-items: center;
  align-content: center;
}

/* pager: pixel buttons */
nav#pager {
  display: flex;
  column-gap: 0.5rem;
  justify-content: space-evenly;
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  text-transform: uppercase;
}

nav#pager a,
nav#pager a:visited {
  display: inline-block;
  color: var(--color-ink);
  background: var(--color-panel);
  border: 2px solid var(--color-ink);
  box-shadow: 4px 4px 0 var(--color-ink);
  padding: 0.5em 1em;
  text-decoration: none;
}

nav#pager a:hover {
  color: var(--color-ink);
  background: var(--color-two);
}

nav#pager a:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--color-ink);
}

li.pagefind-ui__result:last-of-type {
  margin-bottom: 1em;
}

button.pagefind-ui__button {
  margin-bottom: 5em;
}

div.coffee-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

@media only screen and (max-width: 810px) {
  .header p {
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 660px) {
  div.who {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 500px) {
  body {
    font-size: 1rem;
  }
  main {
    padding: 1rem 0.5rem;
  }
  .header {
    flex-direction: column;
  }

  .header h1 {
    line-height: 95%;
    font-size: 2.6rem;
  }

  .header p {
    font-size: 0.7rem;
  }

  .header img {
    height: 100px;
    width: 100px;
  }

  div.article-content {
    padding: 1.25rem 1rem;
    box-shadow: 4px 4px 0 var(--color-ink);
  }

  div.who img {
    height: 150px;
    width: 150px;
    border-width: 3px;
  }

  menu {
    font-size: 1rem;
  }

  div.url-link {
    font-size: 0.8rem;
  }

  [data-icon="fontisto:safari"],
  [data-icon="simple-icons:mastodon"] {
    margin: 0;
  }
}

@media only screen and (max-width: 430px) {
  menu {
    font-size: 0.8rem;
  }

  menu li {
    margin: 0.5rem 0.2rem;
  }

  div.who img {
    height: 100px;
    width: 100px;
    border-width: 2px;
  }
}
/* ---- flattened scoped styles from the old .astro pages ---- */

/* follow.astro */
.follow-page [data-icon="simple-icons:mastodon"] {
  color: var(--color-five-ink);
  font-size: 2.2rem;
}

/* us.astro */
.us-page [data-icon] {
  font-size: 2.5rem;
}
.us-page [data-icon="simple-icons:mastodon"] {
  color: var(--color-five-ink);
}
.us-page [data-icon="fontisto:safari"] {
  color: var(--color-six-ink);
}
@media only screen and (max-width: 500px) {
  .us-page [data-icon] {
    font-size: 1.5rem;
  }
}

/* 404.astro */
.notfound-page p.fourohfour {
  font-size: 1.5rem;
  font-style: italic;
  margin: 1em auto 2.5em;
  width: fit-content;
}
.notfound-page span.fourohfour {
  font-family: var(--font-pixel);
  color: var(--color-four-ink);
  font-size: 2.5rem;
  font-style: normal;
  margin: 1rem;
}
.notfound-page div.fourohfour {
  max-width: 700px;
  margin: 0 auto;
}
.notfound-page .fourohfour-text {
  color: var(--color-muted);
}
.notfound-page a {
  display: inline-block;
  margin: 2rem 0 0;
}

/* search.astro (was is:global). Scoped to .search-page rather than :root:
   /pagefind/pagefind-ui.css loads AFTER this file (search.html head_extra)
   and sets these vars on :root — the old Astro build's overrides happened
   to load after pagefind's CSS instead. Vars on a closer ancestor win by
   inheritance, so this restores the old cascade order's effect. */
.search-page {
  --pagefind-ui-scale: 0.8;
  --pagefind-ui-primary: var(--search-primary);
  --pagefind-ui-text: var(--search-primary-text);
  --pagefind-ui-result-title-text: var(--search-results-link);
  --pagefind-ui-result-text: var(--search-results-text);
  --pagefind-ui-background: var(--search-bg);
  --pagefind-input-background: var(--search-bg);
  --pagefind-ui-border: var(--search-border);
  --pagefind-ui-tag: var(--search-tag);
  --pagefind-ui-border-width: 2px;
  --pagefind-ui-border-radius: 0px;
  --pagefind-ui-image-border-radius: 0px;
  --pagefind-ui-image-box-ratio: 3 / 2;
  --pagefind-ui-font: var(--font-body);
}

#search .pagefind-ui__search-input,
#search .pagefind-ui__search-clear {
  background-color: var(--pagefind-input-background);
}
#search .pagefind-ui__result-title,
#search .pagefind-ui__result-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(40px * var(--pagefind-ui-scale));
  color: var(--pagefind-ui-result-title-text);
}
#search .pagefind-ui__result-excerpt {
  color: var(--pagefind-ui-result-text);
  font-weight: 400;
  font-size: calc(1.5rem * var(--pagefind-ui-scale));
}
#search .pagefind-ui__message {
  color: var(--pagefind-ui-message-text);
  margin: calc(0.5rem * var(--pagefind-ui-scale)) 0
    calc(1.5rem * var(--pagefind-ui-scale))
    calc(0.5rem * var(--pagefind-ui-scale));
}
#search .pagefind-ui__result-thumb {
  display: none;
}
