/* crazykickboxer.com — site stylesheet
   Palette: nixie / amber CRT / lidar. Everything anchored stays still. */

/* ---------- fonts (self-hosted, Latin subset) ---------- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #08070a;
  --bg-2: #0e0c11;
  --bg-3: #15121a;
  --amber: #ffb43c;
  --scarlet: #ff3b2f;
  --hot: #fff6e0;
  --muted: #9a938c;
  --text: #cfc7bb;
  --line: rgba(255, 180, 60, 0.28);
  --line-soft: rgba(255, 180, 60, 0.12);
  --glow: rgba(255, 180, 60, 0.35);

  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 64ch;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-slow: 900ms;

  color-scheme: dark;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  position: relative;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--mono); color: var(--hot); line-height: 1.15; margin: 0 0 0.6em; font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; max-width: var(--measure); }
a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(255, 180, 60, 0.45); text-underline-offset: 0.2em; }
a:hover { color: var(--hot); text-decoration-color: var(--amber); }
code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
code { color: var(--amber); background: rgba(255, 180, 60, 0.07); padding: 0.05em 0.35em; border-radius: 2px; }
::selection { background: var(--amber); color: var(--bg); }

/* Focus: visible everywhere, always. */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(255, 180, 60, 0.2); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.5rem 0.9rem; background: var(--amber); color: var(--bg);
  font-family: var(--mono); font-size: 0.85rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- overlays: scanlines + grain (static, never animated) ---------- */
body::before, body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
}
body::before {
  /* scanlines */
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.16) 3px, rgba(0, 0, 0, 0.16) 4px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}
body::after {
  /* grain — a fixed noise tile, not re-seeded per frame */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.75  0 0 0 0 0.35  0 0 0 0.55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  opacity: 0.045;
  mix-blend-mode: screen;
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--amber); opacity: 0.6; }

/* ---------- header / nav ---------- */
.site-head {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap;
  padding-block: 1.1rem;
  font-family: var(--mono);
}
.brand {
  color: var(--hot); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.brand::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px 2px var(--glow);
}
.brand:hover { color: var(--amber); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.75rem, 2.5vw, 1.75rem); flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--hot); border-bottom-color: var(--amber); }
.nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
@media (max-width: 600px) { .nav { width: 100%; } .nav ul { gap: 0.9rem; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.hero .site-head { grid-row: 1; }
/* Stacking inside the hero (isolation: isolate): bg video 0 < shade/sweep 1 < content 2 < placeholder label 3 */
.hero > .wrap { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: auto; }
.hero-bg .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; z-index: auto; }
.hero-bg .ph::before, .hero-bg .ph::after { display: none; }
.hero-bg .ph-label { top: auto; bottom: 1.25rem; left: auto; right: var(--gutter); transform: none; text-align: right; z-index: 3; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(255, 59, 47, 0.14), transparent 60%),
    radial-gradient(80% 60% at 50% 30%, rgba(255, 180, 60, 0.10), transparent 70%),
    linear-gradient(to bottom, rgba(8, 7, 10, 0.55), rgba(8, 7, 10, 0.25) 40%, var(--bg) 100%);
}
/* single slow lidar sweep — one line, one direction, no jitter */
.hero-sweep {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 180, 60, 0.10) 49%, rgba(255, 180, 60, 0.22) 50%, rgba(255, 180, 60, 0.10) 51%, transparent 100%);
  background-size: 100% 22vh; background-repeat: no-repeat; background-position: 0 -22vh;
  animation: sweep 14s linear infinite;
  opacity: 0.6;
}
@keyframes sweep { from { background-position: 0 -22vh; } to { background-position: 0 122vh; } }

.hero-body { grid-row: 2; align-self: center; padding-block: clamp(3rem, 10vh, 7rem); }
.hero-title {
  margin: 0 0 0.35em;
  text-shadow: 0 0 18px var(--glow), 0 0 42px rgba(255, 180, 60, 0.18);
}
.hero-title small { display: block; font-size: 0.32em; font-weight: 400; color: var(--amber); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 0.9em; text-shadow: none; }
.tagline { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--text); max-width: 52ch; }

.scroll-cue {
  grid-row: 3; justify-self: start;
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; padding-block: 1.5rem;
}
.scroll-cue .tick { width: 1px; height: 3rem; background: linear-gradient(to bottom, var(--amber), transparent); animation: cue 3.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* project-page hero: title sits on the media */
.hero--project { min-height: auto; }
.hero--project .hero-body { padding-block: clamp(2rem, 6vh, 4rem) clamp(1rem, 3vh, 2rem); }
.hero--project .hero-media { grid-row: 2; position: relative; }
.hero--project .hero-media .ph { margin-top: 1rem; }
.hero--project .hero-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(8, 7, 10, 0.92), rgba(8, 7, 10, 0.55) 60%, transparent);
  pointer-events: none;
}
.hero--project .hero-overlay * { pointer-events: auto; }
.hero--project .hero-overlay h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 3.75rem); text-shadow: 0 0 18px var(--glow); }
.hero--project .hero-overlay .eyebrow { margin-bottom: 0.6rem; }
@media (max-width: 640px) {
  .hero--project .hero-overlay { position: static; background: none; padding: 1.25rem 0 0; }
  .hero--project .hero-media .ph { margin-top: 0.5rem; }
}

/* ---------- placeholders ---------- */
/* Swap rule: uncomment the <source> (video) or <img> line inside; the label hides itself. */
.ph {
  position: relative; overflow: hidden; margin: 0;
  aspect-ratio: 16 / 9; width: 100%;
  border: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 180, 60, 0.06) 0 1px, transparent 1px 14px),
    radial-gradient(60% 60% at 50% 50%, rgba(255, 180, 60, 0.05), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(8, 7, 10, 0.6);
}
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--21x9 { aspect-ratio: 21 / 9; }
/* corner ticks */
.ph::before, .ph::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--amber); border-style: solid; opacity: 0.9;
}
.ph::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.ph::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }
.ph video, .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* keep the media invisible until a real source is wired in, so a missing file never shows a broken frame */
.ph video { opacity: 0; }
.ph:has(source) video, .ph:has(img) img { opacity: 1; }
.ph-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: calc(100% - 1.5rem); padding: 0.5rem 0.75rem;
  font-family: var(--mono); font-size: clamp(0.62rem, 1.1vw, 0.78rem); line-height: 1.5; letter-spacing: 0.04em;
  color: var(--amber); text-align: center; overflow-wrap: break-word;
  background: rgba(8, 7, 10, 0.72); border: 1px solid var(--line-soft);
}
.ph-label b { font-weight: 500; color: var(--hot); }
.ph:has(source) .ph-label, .ph:has(img) .ph-label { display: none; }
figcaption { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; letter-spacing: 0.03em; }
figure.gal { margin: 0; }

/* ---------- landing: project cards ---------- */
.cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards > :last-child:nth-child(odd) { grid-column: auto; } }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); background: linear-gradient(to bottom, var(--bg-2), var(--bg));
  transition: border-color var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.card:hover, .card:focus-within { border-color: var(--line); box-shadow: 0 0 0 1px rgba(255, 180, 60, 0.08), 0 20px 50px -30px var(--glow); }
.card .ph { border-left: 0; border-right: 0; border-top: 0; }
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-index { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted); }
.card-index em { font-style: normal; color: var(--scarlet); }
.card h3 { margin: 0; }
.card h3 a { color: var(--hot); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--amber); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-go { margin-top: auto; padding-top: 0.75rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.card-go::after { content: " \2192"; }

/* ---------- prose blocks ---------- */
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); }
.two-col { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* ---------- spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.85rem; border-top: 1px solid var(--line); }
.spec caption { text-align: left; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); padding-block: 0 0.75rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.spec th { width: 34%; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.spec td { color: var(--hot); }
.spec td code { background: none; padding: 0; color: var(--amber); }
.spec-wrap { overflow-x: auto; }

/* ---------- feature list ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.features li { position: relative; padding-left: 1.6rem; max-width: var(--measure); }
.features li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.65rem; height: 1px; background: var(--amber); box-shadow: 0 0 6px var(--glow); }
.features strong { color: var(--hot); font-weight: 500; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: 1fr; }
.gallery + .gallery { margin-top: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .gallery--shots { grid-template-columns: repeat(4, 1fr); } }

/* ---------- links row ---------- */
.links { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem; border: 1px solid var(--line); color: var(--amber);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  background: rgba(255, 180, 60, 0.03);
  transition: background var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
}
.btn:hover { background: rgba(255, 180, 60, 0.1); border-color: var(--amber); color: var(--hot); }
.btn--hot { border-color: var(--scarlet); color: var(--hot); background: rgba(255, 59, 47, 0.08); }
.btn--hot:hover { background: rgba(255, 59, 47, 0.18); border-color: var(--scarlet); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- pager between projects ---------- */
.pager { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.8rem; flex-wrap: wrap; }
.pager a { text-decoration: none; color: var(--muted); }
.pager a:hover { color: var(--amber); }
.pager a span { display: block; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.2rem; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); padding-block: 2rem 3rem; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: baseline; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- reveal on scroll (pure CSS, scroll-driven; degrades to plain visible) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal both linear;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
  }
}
/* Mostly motion: opacity never drops below 0.88, so text caught at the fold edge mid-reveal still passes AA contrast (muted text at 0.7 fell to 3.7:1). */
@keyframes reveal { from { opacity: 0.88; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- particle layer (particles.js; every rule here is inert without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* landing hero: lidar terrain canvas sits over the shade, under the title, fading out top and bottom */
  .hero-bg .field {
    position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none;
    opacity: 0; transition: opacity 1600ms var(--ease);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 90%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 90%, transparent 100%);
  }
  .hero-bg .field--on { opacity: 1; }
  /* ember trail behind the pointer, above everything, never interactive */
  .embers { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

  /* headings: letters resolve out of scatter into place, with a brief hot flare */
  .glyphs .glyph {
    display: inline-block; opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.6);
    filter: blur(6px);
    transition: opacity 700ms var(--ease), transform 900ms var(--ease), filter 700ms var(--ease), text-shadow 900ms var(--ease);
    transition-delay: calc(var(--i, 0) * 26ms);
    text-shadow: 0 0 22px var(--amber), 0 0 6px var(--hot);
  }
  .glyphs--in .glyph { opacity: 1; transform: none; filter: none; text-shadow: none; }
  .hero-title.glyphs--in .glyph { text-shadow: 0 0 18px var(--glow), 0 0 42px rgba(255, 180, 60, 0.18); }
  .hero-title.glyphs--in { text-shadow: none; }
  .hero-title.glyphs--in small .glyph { text-shadow: none; }

  /* nixie tube: a rare, tiny dip in the hero title's glow */
  .fx .hero-title { animation: nixie 9s steps(1, end) infinite; }
  @keyframes nixie {
    0%, 93.5%, 94.5%, 97%, 100% { opacity: 1; }
    94%   { opacity: 0.86; }
    97.6% { opacity: 0.92; }
  }

  /* cards: one lidar line scans the card top to bottom on hover/focus */
  .card::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 180, 60, 0.14) 48%, rgba(255, 246, 224, 0.5) 50%, rgba(255, 180, 60, 0.14) 52%, transparent 100%);
    background-size: 100% 30%; background-repeat: no-repeat; background-position: 0 -30%;
    mix-blend-mode: screen;
  }
  .card:hover::before, .card:focus-within::before { opacity: 1; animation: cardscan 1.1s var(--ease) 1 forwards; }
  @keyframes cardscan { from { background-position: 0 -30%; } to { background-position: 0 130%; opacity: 0; } }

  /* buttons: an amber pulse ring on hover */
  .btn { position: relative; }
  .btn:hover::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--amber); pointer-events: none; animation: ring 900ms var(--ease) 1 forwards; }
  @keyframes ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.12, 1.35); } }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sweep, .scroll-cue .tick { animation: none; }
  .hero-sweep { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- print ---------- */
@media print {
  body::before, body::after, .hero-sweep, .hero-bg, .scroll-cue { display: none; }
  html { background: #fff; color: #000; }
}

/* ---------- wide screens: keep type from ballooning at 4K ---------- */
@media (min-width: 1900px) {
  :root { --wrap: 1400px; }
  html { font-size: 112.5%; }
}
