/* collin rijock · site e
   white page. the colour sits behind it: a sky at the top that fades out,
   then a horizon along the bottom that the words rise out of. */

/* the type is served from here (public/fonts): no third-party font request, and no blocking css */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* the palette. main.js rewrites these when you pick another set */
  --c0: #6a2bff;
  --c1: #18a0ff;
  --c2: #ff2d87;
  --c3: #ff7a1a;
  --c4: #ffd23f;

  --bg: #ffffff;
  --ink: #0b1020;
  --ink-2: #4a5468;
  --ink-3: #667085; /* 4.9:1 on white: small mono labels pass AA */
  --line: #e8ebf2;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --m: clamp(20px, 5vw, 72px);
  /* the palette, made safe for words and rings: each colour mixed toward the ink, so it clears 4.5:1 on the page
     in every palette (worst case measured 5.3:1 light, 5.0:1 dark). the raw --c* stay for fills and glows. */
  --t0: color-mix(in oklab, var(--c0) 46%, #0b1020);
  --t1: color-mix(in oklab, var(--c1) 46%, #0b1020);
  --t2: color-mix(in oklab, var(--c2) 46%, #0b1020);
  --t3: color-mix(in oklab, var(--c3) 46%, #0b1020);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; } /* anchors and focus land below the dock */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, li { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--c0); color: #fff; }
:focus-visible { outline: 2px solid var(--t0); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--m); }

/* ── the colour ────────────────────────────────────────────────────── */
/* the splash: a three.js canvas filling the hero, fading out at its foot.
   everything readable is positioned, so it paints over the canvas, and
   nothing between the headline and the root makes a stacking context,
   so the headline can burn into the canvas. */
.sky, .sky-fallback, .sky-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sky { display: block; opacity: 0; transition: opacity 1.2s ease; }
.sky.on { opacity: 1; }
.sky-fallback {
  background:
    radial-gradient(55% 70% at 12% 26%, var(--c2) 0%, transparent 62%),
    radial-gradient(45% 60% at 55% 8%, var(--c4) 0%, transparent 62%),
    radial-gradient(55% 80% at 86% 40%, var(--c1) 0%, transparent 60%),
    radial-gradient(70% 80% at 40% 70%, var(--c3) 0%, transparent 62%),
    var(--c0);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%);
  transition: opacity 1.2s ease;
}
.gl-on .sky-fallback { opacity: 0 !important; }

.hero, main, .foot { position: relative; }
.hero > :not(.sky):not(.sky-fallback):not(.sky-shade):not(.grunt) { position: relative; }
/* the words must read on any colour the sky drifts through: a deep pool behind the text block,
   a band behind the nav. it only darkens where the words are; the rest of the sky stays loud. */
.sky-shade {
  z-index: 0;
  background:
    linear-gradient(rgba(12, 8, 44, .68), rgba(12, 8, 44, 0) 190px),
    radial-gradient(75% 62% at 24% 52%, rgba(12, 8, 44, .62) 0%, rgba(12, 8, 44, .5) 38%, rgba(12, 8, 44, 0) 100%);
}

/* ── hero ──────────────────────────────────────────────────────────── */
.hero {
  overflow-x: clip; /* the drifting grunt must never widen a phone's page */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-bottom: clamp(88px, 15vh, 180px); /* the fade lives down here */
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; font-size: 15px; font-weight: 500; color: #fff; }
.me { letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.nav-links a:hover { text-decoration-color: #fff; }

.hero-body { align-self: center; padding-top: 2vh; }
[data-lift] { position: relative; transform-origin: 50% 100%; will-change: transform, opacity; }
.nav, .lede { text-shadow: 0 1px 2px rgba(11, 16, 32, .45), 0 2px 18px rgba(11, 16, 32, .4); }
.eyebrow, .gh { /* small type on the sky gets its own dark glass, so it never depends on the colour behind it */
  width: fit-content; padding: 7px 11px; border-radius: 999px; color: #fff;
  background: rgba(11, 16, 32, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.eyebrow { font: 500 13px/1.3 var(--mono); letter-spacing: .02em; margin-left: -4px; }
/* the name: white on the pool. (it used to be burned into the colour, which looked great and
   measured 1.3:1 on the hot parts of the sky.) */
h1 {
  margin-top: 20px;
  margin-left: -0.05em;
  font-weight: 600;
  font-size: clamp(64px, 12.5vw, 184px);
  line-height: .84;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(11, 16, 32, .35);
  max-width: 9ch;
}
.lede {
  margin-top: 30px;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 450;
  color: #fff;
  max-width: 30ch;
}
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  color: var(--ink); background: #fff;
  box-shadow: 0 6px 24px rgba(24, 10, 70, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill span { transition: transform .2s ease; }
.pill .ico { width: 16px; height: 16px; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(24, 10, 70, .24); }
.pill:hover span { transform: translateX(3px); }
.pill.ghost { color: #fff; background: rgba(11, 16, 32, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }

.palettes { display: flex; gap: 8px; margin-left: auto; } /* the colour dots: in the nav, beside the links */
.swatch {
  width: 20px; height: 20px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  background: var(--sw);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px rgba(11, 16, 32, .18); }
/* focus on the sky and in the reels: the violet ring disappears on violet */
.hero :focus-visible, .reel :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px rgba(11, 16, 32, .6); }

/* ── the dock: the nav after the hero has scrolled away (main.js turns it on). liquid glass, in layers:
   ::before   the body: what's behind, blurred and richer, under a tint
   ::after    the edge: a thin band sharper and brighter than the body, like the rim of a thick lens
              bending light, with specular glints at top left and bottom right
   .dock-lens a drop of clearer glass under the section you're in; it stretches as it slides
   main.js looks under the dock as you scroll: data-tone (light or dark glass, from the backdrop) and
   data-busy (words behind it: frost harder so they never fight the links) ── */
.dock {
  --tint: rgba(255, 255, 255, .46); --frost: blur(9px) saturate(1.9) brightness(1.08);
  --rim: rgba(255, 255, 255, .95); --rim-2: rgba(255, 255, 255, .55); --edge: rgba(255, 255, 255, .16); --hov: rgba(11, 16, 32, .07);
  --drop: rgba(255, 255, 255, .7); --drop-rim: #fff; --drop-base: rgba(11, 16, 32, .045); --line: rgba(11, 16, 32, .1);
  --edge-f: blur(2px) saturate(2.4) brightness(1.18);
  position: fixed; z-index: 40; left: 50%; top: max(12px, env(safe-area-inset-top)); translate: -50% -90px;
  display: flex; align-items: center; gap: 2px; height: 50px; padding: 0 5px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: #0b1020; white-space: nowrap; isolation: isolate;
  box-shadow: 0 1px 1px rgba(11, 16, 32, .1), 0 10px 30px -10px rgba(11, 16, 32, .35), 0 24px 48px -28px rgba(11, 16, 32, .3);
  opacity: 0; visibility: hidden; transition: translate .34s cubic-bezier(.2, .9, .3, 1.2), opacity .28s ease, visibility 0s .34s, color .3s;
}
.dock[data-busy] { --tint: rgba(255, 255, 255, .74); --frost: blur(20px) saturate(1.7) brightness(1.06); --edge-f: blur(6px) saturate(2) brightness(1.15); --drop-base: rgba(11, 16, 32, .07); }
.dock[data-tone="dark"] {
  --tint: rgba(18, 22, 36, .3); --frost: blur(9px) saturate(1.8) brightness(.78);
  --rim: rgba(255, 255, 255, .7); --rim-2: rgba(255, 255, 255, .32); --edge: rgba(255, 255, 255, .07); --hov: rgba(255, 255, 255, .1);
  --drop: rgba(255, 255, 255, .16); --drop-rim: rgba(255, 255, 255, .75); --drop-base: rgba(255, 255, 255, .06); --line: rgba(255, 255, 255, .08);
  color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 12px 32px -10px rgba(0, 0, 0, .6);
}
.dock[data-tone="dark"][data-busy] { --tint: rgba(14, 18, 30, .62); --frost: blur(20px) saturate(1.4) brightness(.6); --edge-f: blur(6px) saturate(1.8) brightness(1.1); }
.dock::before, .dock::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.dock::before {
  z-index: -2; background: var(--tint);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  box-shadow: inset 0 0 0 .5px var(--line), inset 0 -12px 18px -14px var(--rim-2), inset 0 10px 16px -14px rgba(11, 16, 32, .12); /* a hairline, and a caustic glow along the bottom */
  transition: background-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.dock::after {
  z-index: -1; padding: 4px; border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--rim) 0%, transparent 28%, transparent 70%, var(--rim-2) 100%) border-box,
    linear-gradient(var(--edge), var(--edge)) padding-box;
  -webkit-backdrop-filter: var(--edge-f); backdrop-filter: var(--edge-f);
  /* only the outer band: the 1px glint plus a 4px lens edge */
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); /* (safari 26 reads this one; -webkit-mask-composite: xor no longer works) */
}
.dock.on { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .34s cubic-bezier(.2, .9, .3, 1.2), opacity .28s ease, color .3s; }
.dock a { display: inline-flex; align-items: center; height: 40px; padding: 0 13px; border-radius: 999px; position: relative; z-index: 1; transition: background-color .2s; }
.dock a::after { content: ''; position: absolute; inset: -5px 0; } /* 50px tall target */
.dock a:hover { background: var(--hov); }
.dock a[aria-current] { font-weight: 600; }
.dock .dock-me { font-weight: 600; letter-spacing: -0.01em; }
/* the lens: main.js sets --x and --w */
.dock-lens {
  position: absolute; left: 0; top: 5px; height: 40px; width: var(--w, 0); translate: var(--x, 0) 0; border-radius: 999px; opacity: 0;
  background: radial-gradient(120% 90% at 50% 110%, var(--drop), transparent 70%), linear-gradient(180deg, var(--drop), transparent 60%) var(--drop-base);
  box-shadow: inset 0 1px 0 var(--drop-rim), inset 0 -1px 1px var(--rim-2), inset 0 0 0 .5px var(--rim-2),
    0 1px 2px rgba(11, 16, 32, .14), 0 6px 14px -6px rgba(11, 16, 32, .28);
  transition: translate .42s cubic-bezier(.3, 1.3, .4, 1), width .42s cubic-bezier(.3, 1.3, .4, 1), opacity .2s;
}
.dock-lens.on { opacity: 1; }
.dock :focus-visible { outline-color: currentColor; }
@media (max-width: 640px) { .dock .dock-me { display: none; } .dock a { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .dock, .dock-lens, .dock::before { transition: none; } }
html:not(.js) .dock { display: none; }

/* a year of github under the pitch: 53 weeks of little squares (main.js) and the count */
.gh { display: block; margin-top: 22px; margin-left: -4px; width: min(100%, 548px); padding: 12px 14px 11px; border-radius: 16px; }
.gh-grid { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; aspect-ratio: 53 / 7; }
.gh-grid i { border-radius: 2px; background: rgba(255, 255, 255, .13); }
.gh-grid i[data-l="1"] { background: rgba(255, 255, 255, .38); }
.gh-grid i[data-l="2"] { background: rgba(255, 255, 255, .6); }
.gh-grid i[data-l="3"] { background: rgba(255, 255, 255, .8); }
.gh-grid i[data-l="4"] { background: #fff; }
.gh-n { display: block; margin-top: 9px; font: 400 13px/1.3 var(--mono); }
/* the year in two numbers, big, above the squares. shortcut: baked from gh search (all orgs, last 12 months, 2026-11-11); re-run the two counts in the memory note when they drift */
.gh-big { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 2px 2px 12px; font: 500 14px/1.2 var(--mono); color: rgba(255, 255, 255, .86); }
.gh-big span { display: flex; align-items: baseline; gap: 8px; }
.gh-big b { font: 600 clamp(34px, 4.4vw, 52px)/1 var(--sans); letter-spacing: -0.05em; color: #fff; }
.gh-n b { font-weight: 600; }
.gh-pat { margin-top: 3px; }
.gh:hover { background: rgba(11, 16, 32, .72); }
.pill .av { width: 28px; height: 28px; border-radius: 50%; margin-left: -12px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
html:not(.js) .palettes { display: none; } /* the colour dots need the script */

/* ── the words stand up as they scroll in ──────────────────────────── */
[data-rise] { transform-origin: 50% 100%; will-change: transform, opacity; }
.label { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); color: var(--ink-3); letter-spacing: .01em; }
.label i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 40%, transparent); }

/* the big lines ("how i build"), now an article on the board; board.css sizes them there */
.line {
  position: relative;
  width: fit-content;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  padding: .06em 0;
}
.line.soft { color: var(--ink-3); }
.line.grad {
  margin-top: .2em;
  background: linear-gradient(100deg, var(--c0) 0%, var(--c2) 38%, var(--c3) 68%, var(--c4) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.more { margin-top: auto; padding-top: 22px; font-weight: 500; font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.more:hover { text-decoration-color: var(--c0); }
.more span { transition: transform .2s ease; }
.more:hover span { transform: translateX(4px); }
.more:hover { background: linear-gradient(90deg, var(--c1), var(--c0), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── footer ────────────────────────────────────────────────────────── */
.say-row { position: relative; display: flex; align-items: flex-end; gap: 10px; width: fit-content; }
.say {
  font-size: clamp(56px, 9vw, 128px); line-height: .9; font-weight: 600; letter-spacing: -0.055em;
  background: linear-gradient(100deg, var(--t1) 0%, var(--t0) 35%, var(--t2) 68%, var(--t3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.say-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 17px; font-weight: 500; }
.say-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.say-links a:hover { text-decoration-color: var(--c0); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.foot-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: color .2s, text-decoration-color .2s; }
.foot-links a::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: max(100%, 44px); translate: -50% 0; }
.foot-links a:hover { color: var(--ink); text-decoration-color: var(--c0); }
.foot-links a[aria-current] { color: var(--ink); }
.fine { font: 400 13px/1.6 var(--mono); color: var(--ink-3); }
/* keyboard users: first tab stop jumps past the hero */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 15px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 14px/1 var(--sans); transition: top .15s; }
.skip:focus { top: 12px; outline: 2px solid var(--t0); outline-offset: 2px; }
.nb { white-space: nowrap; } /* a hyphenated word that must not break at its hyphen */
[tabindex="-1"]:focus { outline: none; } /* skip-link targets take focus without a ring */
.fine a { color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.fine a .ico { width: 12px; height: 12px; }
.ico { width: 15px; height: 15px; flex: none; display: inline-block; vertical-align: -0.15em; }

/* ── grunts ────────────────────────────────────────────────────────── */
.grunt {
  position: absolute;
  width: var(--gs, 56px); height: var(--gs, 56px);
  display: block;
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  /* its own layer: the svg is redrawn many times a second, and that must only re-paint
     the little guy, never the text and cards around it */
  will-change: transform;
}
.grunt-body { display: block; width: 100%; height: 100%; }
/* the svg is redrawn ~30 times a second; a touch that starts on a node that then
   disappears loses its moves, so the steady host takes the pointer instead */
.grunt-body > * { pointer-events: none; }
.grunt svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px rgba(24, 10, 70, .18)); }
.grunt-bubble {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  padding: 6px 11px;
  font: 500 13px/1.35 var(--mono); letter-spacing: 0; width: max-content; max-width: 230px; text-align: center; border-radius: 14px; /* a fact about collin fits on two lines */
  color: var(--ink); background: #fff;
  -webkit-text-fill-color: currentColor;
  box-shadow: 0 4px 16px rgba(24, 10, 70, .16), 0 0 0 1px var(--line);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.grunt.talk .grunt-bubble { opacity: 1; transform: translate(-50%, 0); }
.g-wave .grunt-bubble { left: 30%; transform: translate(0, 4px); } /* off to the right, clear of "hi." */
.g-wave.talk .grunt-bubble { transform: none; }
html:not(.js) .grunt { display: none; } /* the little guys need the script */

/* ── dark ──────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root { --bg: #070a14; --ink: #eef1f8; --ink-2: #a7afc2; --ink-3: #808aa0; --line: #1b2133; color-scheme: dark;
    --t0: color-mix(in oklab, var(--c0) 55%, #fff); --t1: color-mix(in oklab, var(--c1) 55%, #fff); --t2: color-mix(in oklab, var(--c2) 55%, #fff); --t3: color-mix(in oklab, var(--c3) 55%, #fff); }
  .pill { color: #0b1020; }
  .grunt-bubble { color: #0b1020; }
}

/* ── small screens ─────────────────────────────────────────────────── */
/* the hero's little guy lives inside .hero-body, so it's placed against the words and can't land on them:
   wide screens, in the open sky beside the pitch and buttons (the name ends above it) */
.g-hero { right: var(--m); bottom: 4%; }
@media (max-width: 860px) {
  /* phones: its own band above the words. half size, so its drift (±23px, ±18px) stays inside the band */
  .hero-body { padding-top: 92px; }
  .g-hero { right: calc(var(--m) + 8px); top: 16px; bottom: auto; scale: .5; transform-origin: 100% 0; }
  /* its bubble: beside it (the nav is above), and scaled back up to full size */
  .g-hero .grunt-bubble { left: auto; right: calc(100% + 10px); bottom: auto; top: 50%; scale: 2; transform-origin: 100% 0; transform: translate(4px, -50%); }
  .g-hero.talk .grunt-bubble { transform: translate(0, -50%); }
  .g-hero .grunt-bubble { max-width: 160px; } /* clear of the colour dots */
  .g-wave .grunt-bubble { left: auto; right: -6px; transform: translate(0, 4px); max-width: 190px; }
  .g-wave.talk .grunt-bubble { transform: none; }
}
@media (max-width: 560px) {
  .sky-shade { background: linear-gradient(rgba(12, 8, 44, .68), rgba(12, 8, 44, 0) 170px), radial-gradient(130% 46% at 40% 50%, rgba(12, 8, 44, .64) 0%, rgba(12, 8, 44, .52) 45%, rgba(12, 8, 44, 0) 100%); }
  .foot { padding-bottom: 28px; }
  .nav-links { gap: 14px; }
  .nav { font-size: 14px; }
  .nav-links a[href="https://github.com/collinrijock"], .nav-links a[href$=".pdf"] { display: none; } /* github + résumé live in "say hi" on phones */
  h1 { font-size: clamp(60px, 19vw, 96px); }
}
@media (max-width: 420px) { .nav-links .ico { display: none; } .nav-links a[href*="x.com"] .ico { display: inline-block; } } /* 375px phones: the words fit, the icons don't. x keeps its mark: a lone "x" reads as close */
/* the nav links, colour dots and small text links keep their look but get a ~44px hit area (mouse or finger) */
.nav-links a::after { content: ''; position: absolute; top: -12px; bottom: -12px; left: 50%; translate: -50% 0; width: calc(100% + 14px); min-width: 44px; }
.nav > a { position: relative; }
.nav > a::after { content: ''; position: absolute; inset: -12px -8px; }
.swatch { position: relative; }
.swatch::after { content: ''; position: absolute; inset: -12px -4px; border-radius: 50%; }
@media (pointer: coarse) { .palettes { gap: 12px; } }
/* phones: the nav is full, so the dots sit in the band under it, left of the little guy */
@media (max-width: 860px) { .nav .palettes { position: absolute; left: var(--m); top: 86px; margin: 0; } .nav { position: relative; } }
@media (prefers-reduced-motion: reduce) {
  [data-rise], [data-lift] { transform: none !important; opacity: 1 !important; }
}
