/* ════════════════════════════════════════════════════════════════════════════
   Pixelrain: site stylesheet
   A simple, light showcase: soft blue light from above, white cards drawn with
   hairlines, big type and small pixel details (the raindrop logo, LED dots, the
   rain and the PIXELRAIN wordmark). Each game brings its own colour through
   --accent, and its card shows a real screenshot.
   ════════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #F6F7FB;
  --panel: #FFFFFF;
  --panel-2: #ECEEF5;
  --ink: 15, 20, 45;              /* for hairlines and shadows: rgba(var(--ink), a) */
  --line: rgba(15, 20, 45, .08);
  --line-2: rgba(15, 20, 45, .12);
  --line-3: rgba(15, 20, 45, .2);
  /* --text-3 measures 4.85:1 on --bg and 5.2:1 on white; it is the floor for small text */
  --text: #0B0D1A;
  --text-2: #4B5168;
  --text-3: #666C84;
  --blue: #3D63FF;                /* white on it is 4.75:1 */
  --blue-text: #3355E8;           /* blue for small text: 5.4:1 on --bg */
  --blue-rgb: 61, 99, 255;
  --lime: #C6FF4D;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); font-feature-settings: "cv05", "cv08", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[class] { list-style: none; }
::selection { background: rgba(var(--blue-rgb), .18); color: var(--text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; position: relative; }
.narrow { max-width: 720px; }
.section { padding-block: clamp(56px, 7vw, 104px); position: relative; }
.section--first { padding-top: clamp(32px, 4vw, 56px); }
.i { width: 18px; height: 18px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type and small parts ───────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 1px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: #fff; background: var(--blue);
  transition: background .2s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: var(--blue-text); }

/* ── Light from above, and the rain ─────────────────────────────────────── */
.beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.beams__glow {
  position: absolute; inset: -10% -20% auto; height: 120%;
  background:
    radial-gradient(44% 50% at 50% 0%, rgba(var(--blue-rgb), .22), transparent 72%),
    radial-gradient(30% 36% at 20% 4%, rgba(31, 182, 242, .13), transparent 70%),
    radial-gradient(30% 36% at 82% 4%, rgba(138, 92, 255, .13), transparent 70%);
}
.beams__lines {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect x='7' y='7' width='2' height='2' fill='%233D63FF' fill-opacity='.22'/%3E%3C/svg%3E") center top / 16px 16px;
  -webkit-mask-image: radial-gradient(55% 62% at 50% 0%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 80%);
          mask-image: radial-gradient(55% 62% at 50% 0%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 80%);
}
.beams::after {
  content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb), .55), rgba(var(--blue-rgb), .9), rgba(var(--blue-rgb), .55), transparent);
}
.rain {
  position: absolute; inset: 0 0 auto; height: 400px; z-index: -1; pointer-events: none;
  background: url(/assets/rain.svg) top center / 1200px 400px repeat-x;
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000 35%, transparent 85%);
          mask-image: radial-gradient(70% 100% at 50% 0%, #000 35%, transparent 85%);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-stuck { background: rgba(246, 247, 251, .96); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 21px; height: 30px; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: translateY(2px); }
.logo__word { font-size: 21px; font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--text); background: rgba(var(--ink), .05); }
.nav__links .nav__support {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; margin-left: 8px; padding: 0 13px 0 10px;
  font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--panel);
  box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .2s;
}
.nav__links .nav__support:hover { background: var(--panel); box-shadow: 0 0 0 1px rgba(var(--blue-rgb), .5); }
.nav__support .i { width: 16px; height: 16px; color: var(--blue); }
.nav__links .nav__icon { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; margin-left: 6px; box-shadow: inset 0 0 0 1px var(--line-3); }

/* ── Home: a compact intro band, then straight into the work ──────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(32px, 4.5vw, 60px)) 0 clamp(52px, 5vw, 68px); text-align: center; }
.hero .rain { height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; z-index: -2; background: linear-gradient(rgba(246, 247, 251, 0), var(--bg)); }
.hero__title { margin-inline: auto; max-width: 24ch; font-size: clamp(32px, 4vw, 52px); font-weight: 650; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 30px; margin-bottom: clamp(14px, 1.6vw, 20px); padding: 0 13px 0 11px;
  border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px var(--line-2);
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
}
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; background: linear-gradient(135deg, #1FB6F2, #8A5CFF); }
.nowrap { white-space: nowrap; }
.pixel-word { display: inline-block; margin: 0 .06em 0 .14em; }
.pixel-word svg { display: inline-block; height: .74em; width: auto; overflow: visible; vertical-align: baseline; }
.puddle {
  position: absolute; left: 0; right: 0; bottom: 6px; height: 32px; z-index: -1; pointer-events: none;
  background: url(/assets/puddle.svg) center bottom / 1200px 32px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hero__sub { margin: 14px auto 0; max-width: 58ch; font-size: clamp(15px, 1.2vw, 17px); color: var(--text-2); text-wrap: pretty; }

/* ── Home: the games, laid out like a gallery of shots ───────────────────── */
.projects { padding-top: clamp(4px, 1vw, 12px); }
/* The featured project: a headline banner above the filters and tiles. */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); margin-bottom: clamp(24px, 3vw, 40px);
  border-radius: 18px; overflow: hidden; border: 1.5px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
              linear-gradient(115deg, #1FB6F2, #3D63FF 36%, #8A5CFF 68%, #F2559C) border-box;
  transition: transform .35s var(--ease);
}
a.feature:hover { transform: translateY(-2px); }
.feature__media { position: relative; overflow: hidden; background: var(--panel-2); }
.feature__media::before { content: ""; display: block; padding-top: 62.5%; }   /* at least 16:10, taller if the text is */
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.feature:hover .feature__media img { transform: scale(1.02); }
.feature__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(22px, 3.4vw, 48px); }
.feature__flag { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.feature__flag::before { content: ""; width: 7px; height: 7px; background: var(--blue); }
.feature__title { margin-top: 14px; font-size: clamp(28px, 3.5vw, 46px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.feature__text { margin-top: 12px; max-width: 44ch; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.feature__foot { display: flex; align-items: center; gap: 12px; margin-top: clamp(18px, 2vw, 26px); }
.feature__foot .card__cat { margin-left: 0; }
.feature__cta {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 22px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600;
  background: var(--blue); transition: background .2s;
}
.feature__cta .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a.feature:hover .feature__cta { background: var(--blue-text); }
a.feature:hover .feature__cta .i { transform: translate(2px, -2px); }
.feature__soon { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.feature.is-soon .feature__media img { filter: saturate(.5); opacity: .8; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; border-radius: 14px; }
  .feature__body { padding: 18px 18px 22px; }
}
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: clamp(18px, 2.2vw, 26px); }
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--text-2); transition: background .2s, color .2s; }
.tab sup { font: 500 10px/1 var(--mono); color: var(--text-3); margin-top: -4px; }
.tab:hover { color: var(--text); background: rgba(var(--ink), .05); }
.tab.is-active { color: #fff; background: var(--text); }
.tab.is-active sup { color: rgba(255, 255, 255, .7); }
.random {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px 0 9px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: var(--text); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2);
  transition: box-shadow .2s, color .2s;
}
.random .i { width: 16px; height: 16px; color: var(--blue); transition: transform .3s var(--ease); }
.random:hover { box-shadow: 0 0 0 1px rgba(var(--blue-rgb), .5); }
.random:hover .i { transform: rotate(-18deg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 34px 24px; }
.card { position: relative; display: block; min-width: 0; }
.card[hidden] { display: none; }
.card__media {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel-2);
  box-shadow: 0 0 0 1px var(--line);     /* a hairline edge, not a shadow */
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  font-size: clamp(20px, 2vw, 26px); font-weight: 650; letter-spacing: -.035em; color: rgba(var(--ink), .7);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(var(--accent-rgb), .32), transparent 62%),
    radial-gradient(110% 90% at 100% 100%, rgba(var(--blue-rgb), .16), transparent 62%), var(--panel-2);
}
.card__overlay {
  position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 48px 14px 12px; color: #fff; background: linear-gradient(rgba(8, 10, 20, 0), rgba(8, 10, 20, .74));
  opacity: 0; transition: opacity .3s var(--ease);
}
.card__overlay p { font-size: 13.5px; line-height: 1.4; text-wrap: pretty; }
.card__cta { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--text); font-size: 13px; font-weight: 600; }
.card__cta .i { width: 14px; height: 14px; }
a.card:hover .card__media { transform: translateY(-2px); box-shadow: 0 0 0 1.5px rgba(var(--blue-rgb), .6); }
a.card:hover .card__media img { transform: scale(1.03); }
a.card:hover .card__overlay, a.card:focus-visible .card__overlay { opacity: 1; }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-width: 0; }
.card__title { min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__cat {
  flex: none; margin-left: auto; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: var(--lime); color: #1F2A00; box-shadow: inset 0 0 0 1px rgba(80, 110, 0, .18);
}
.card__text { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
@media (hover: hover) {   /* with a mouse, the description shows over the picture instead */
  .card__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.card.is-soon .card__media img { filter: saturate(.5); opacity: .8; }
.card__soon { position: absolute; left: 12px; top: 12px; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--text); font-size: 12.5px; font-weight: 600; box-shadow: 0 0 0 1px rgba(var(--ink), .08); }
.empty { padding: 72px 24px; text-align: center; color: var(--text-2); font-size: 17px; border: 1px dashed var(--line-3); border-radius: 16px; background: rgba(255, 255, 255, .55); }
.empty[hidden] { display: none; }

/* ── Home: what Pixelrain is, in a few lines (for visitors and for search engines) ── */
.pitch { padding: clamp(44px, 5.5vw, 80px) 0 clamp(52px, 6.5vw, 96px); border-top: 1px solid var(--line); }
.pitch__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 72px); align-items: start; }
.pitch__title { margin-top: 16px; max-width: 15ch; font-size: clamp(26px, 3.1vw, 42px); font-weight: 650; letter-spacing: -.042em; line-height: 1.06; text-wrap: balance; }
.pitch__body p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.pitch__body p + p { margin-top: 12px; }
.pitch__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.pitch__tags li {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2);
  font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.pitch__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.pitch__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-text); }
.pitch__link .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pitch__link:hover .i { transform: translate(2px, -2px); }
@media (max-width: 760px) { .pitch__inner { grid-template-columns: 1fr; } .pitch__title { max-width: none; } }

/* ── Contact: what to send, then the one way to send it ─────────────────── */
.contact__lede { max-width: 30em; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; letter-spacing: -.02em; color: var(--text); text-wrap: pretty; }
.contact__h { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(24px, 2.2vw, 30px); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 20px; }
.contact__item { padding: 22px 22px 24px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.contact__item h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.contact__item p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.contact__cta {
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.4vw, 44px); border-radius: 18px; border: 1.5px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
              linear-gradient(115deg, #1FB6F2, #3D63FF 36%, #8A5CFF 68%, #F2559C) border-box;
}
.contact__handle { margin-top: 14px; font-size: clamp(30px, 4.2vw, 54px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
.contact__cta > p:not(.eyebrow) { margin-top: 12px; max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.contact__actions .btn { gap: 10px; }
.contact__actions .btn svg { width: 16px; height: 16px; }
.contact__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-text); }
.contact__more .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.contact__more:hover .i { transform: translate(2px, -2px); }

/* ── About and privacy ──────────────────────────────────────────────────── */
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(24px, 3vw, 40px); }
.page-title { margin-top: 20px; font-size: clamp(44px, 7vw, 92px); font-weight: 650; letter-spacing: -.055em; line-height: .95; max-width: 14ch; text-wrap: balance; }
.prose { color: var(--text-2); font-size: 17px; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(24px, 2.2vw, 30px); color: var(--text); }
.prose h2 + * { margin-top: .7em; }
.prose__lede { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; letter-spacing: -.02em; color: var(--text); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--blue-rgb), .5); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: currentColor; }
.link-btn { font: inherit; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--blue-rgb), .5); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link-btn:hover { text-decoration-color: currentColor; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--blue-text); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot { margin-top: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); overflow: hidden; }
.foot__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; padding-top: 40px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--text-2); }
.foot__links a:hover { color: var(--text); }
.foot__note { margin-top: 24px; font-size: 13.5px; color: var(--text-3); }
.foot__word { width: min(100% - 2 * var(--gut), 1440px); margin: 32px auto 0; height: clamp(64px, 12vw, 190px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 20%, rgba(0, 0, 0, .25) 75%, transparent); mask-image: linear-gradient(#000 20%, rgba(0, 0, 0, .25) 75%, transparent); }
.wordmark { width: 100%; height: auto; overflow: visible; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.lost { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); min-height: 88vh; display: grid; place-items: center; padding: calc(var(--nav-h) + 48px) 0 64px; }
.lost__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lost__num { width: min(400px, 80%); height: auto; overflow: visible; }
.lost h1 { margin-top: 36px; font-size: clamp(34px, 5vw, 60px); }
.lost p { margin: 14px 0 32px; color: var(--text-2); font-size: 18px; }

/* ── Motion: nothing moves on its own. Only hover feedback, which also respects reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .nav__links a { padding: 10px; }
  .nav__links .nav__support { width: 36px; height: 36px; margin-left: 4px; padding: 0; justify-content: center; }
  .nav__support span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 460px) {   /* no room in the top menu on a phone: Contact stays in the page and the footer */
  .nav__links .nav__contact { display: none; }
}
