/* Reinitz Industries theme. Tokens from the Astro brand.css; live page = bone ground, centered logo. */
@font-face { font-family: "Oswald Variable"; font-style: normal; font-display: swap; font-weight: 200 700; src: url("fonts/oswald-latin-wght-normal.22c3b00d2e65.woff2") format("woff2-variations"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/ibm-plex-sans-latin-400-normal.77bc02670657.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/ibm-plex-sans-latin-500-normal.f7016cd446d2.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/ibm-plex-mono-latin-400-normal.79936b18df9f.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-display: swap; font-weight: 300; src: url("fonts/ibm-plex-sans-condensed-latin-300-normal.ec464aca8c4b.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-display: swap; font-weight: 700; src: url("fonts/ibm-plex-sans-condensed-latin-700-normal.2d17ba69ba22.woff2") format("woff2"); }

:root {
  --ink: #1b1b19;
  --bone: #edebe4;
  --bg: var(--bone);
  --fg: var(--ink);
  --muted: #6f6e6a;
  --rule: color-mix(in srgb, var(--fg) 18%, transparent);
  --face-display: "Oswald Variable", "Arial Narrow", sans-serif;
  --face-body: "IBM Plex Sans", system-ui, sans-serif;
  --face-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body.ri {
  margin: 0;
  background: var(--bone);
  color: var(--fg);
  font-family: var(--face-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.ri h1 { font-family: var(--face-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; margin: 0; text-wrap: balance; font-size: clamp(2.75rem, 1.5rem + 6vw, 6.5rem); }
.ri p { text-wrap: pretty; }
.ri a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.ri img { max-width: 100%; height: auto; }
.ri :where(a, button):focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Home: the logo, vertically and horizontally centered (as the live page). */
.ri-home { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; }
.ri-intro { width: min(576px, 100%); aspect-ratio: 1200 / 1020; margin-inline: auto; }
.ri-intro img { display: block; box-sizing: border-box; width: 100%; max-width: 100%; height: auto; }

/* /jerrycard (unlisted contact card). */
.ri-page-jerrycard, .ri-page-not-found { display: grid; place-items: center; min-height: 100svh; padding: var(--gutter); }
.ri .card { width: min(24rem, 100%); text-align: center; }
.ri .card h1 { font-size: clamp(2.25rem, 1.5rem + 4vw, 3rem); margin-block: 0; }
.ri .card .save {
  display: block; margin-block: 2.25rem 2rem; padding: 1.15rem 1.5rem; background: var(--ink); color: var(--bone);
  font-family: var(--face-display); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
}
.ri .card .save:active { opacity: 0.85; }
.ri .card .lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; border-top: 1px solid var(--rule); padding-top: 1.75rem; }
.ri .card .lines a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 0.15rem; }

/* 404 */
.ri .notfound { text-align: center; }
.ri .notfound h1 { font-size: clamp(2.25rem, 1.5rem + 4vw, 3rem); }
.ri .notfound p { margin-block: 1.25rem 0; }
/* Visible to screen readers and search engines, not on screen (standard visually-hidden pattern). */
.ri-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
