/* ink's look, as on the phone: black, warm white type, 1px hairlines at 12%, two fonts. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo_black.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Silkscreen; src: url(/fonts/silkscreen.ttf) format("truetype"); font-display: swap; }

:root {
  --ink: #f1f0ec;
  --mid: rgba(241, 240, 236, .55);
  --dim: rgba(241, 240, 236, .17);
  --line: rgba(241, 240, 236, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; color: var(--ink); }
body { font: 15px/1.6 Silkscreen, monospace; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 4px; outline: none; }
::selection { background: var(--ink); color: #000; }

.wrap { width: 100%; max-width: 1300px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 48px; padding-right: 48px; } }

.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.head .name { font: 28px/1 "Archivo Black", sans-serif; letter-spacing: -.03em; text-transform: uppercase; }
.head nav { display: flex; gap: 24px; }
.head nav a { color: var(--mid); white-space: nowrap; }
@media (max-width: 480px) { .head nav { gap: 14px; font-size: 12px; } }
.head nav a:hover, .head nav a[aria-current] { color: var(--ink); }

h1, h2, h3 { font-family: "Archivo Black", sans-serif; font-weight: normal; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; margin: 0; }
h1 { font-size: clamp(56px, 13vw, 168px); }
h2 { font-size: clamp(40px, 8vw, 96px); }
h3 { font-size: 24px; letter-spacing: -.02em; }
p { margin: 0 0 12px; color: var(--mid); max-width: 60ch; }
p strong, li strong { color: var(--ink); font-weight: normal; }

section { border-top: 1px solid var(--line); padding: 72px 0; display: grid; gap: 40px; }
.hero { padding-bottom: 48px; }

/* screenshots: small in a lot of black, as ink frames things; their own black meets the page's,
   so a screen's edge disappears and what's on it floats. the caption under it in the pixel face */
.shot { margin: 0; display: grid; gap: 14px; align-content: start; justify-items: center; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; background: #000; }
.shot figcaption { font-size: 11px; color: var(--mid); line-height: 1.5; text-align: center; max-width: 36ch; }
.shot figcaption .t { color: var(--ink); }
.up { width: min(210px, 56vw); }
.side { width: min(560px, 100%); }
.tvs { width: min(640px, 100%); }
.wide { width: 100%; margin: 0 auto; padding: 24px 16px; display: flex; justify-content: center; }
.wide .side, .wide .tvs { width: min(720px, 100%); }
/* rows of screens, centred, wide gaps, wrapping as the room runs out */
.pair, .trio, .duo, .strip { width: 100%; max-width: 1300px; margin: 0 auto; padding: 24px 16px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 56px 72px; }
@media (min-width: 720px) { .pair, .trio, .duo, .strip, .wide { padding-left: 48px; padding-right: 48px; } }
.trio .tvs { width: min(360px, 100%); }
.pair .tvs, .pair .side { width: min(500px, 100%); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.given-card { display: grid; gap: 8px; justify-items: start; }
.given-card p { margin: 0; color: var(--ink); }
.given-card .dim, .dim { color: var(--mid); }
.huge { font-size: clamp(64px, 16vw, 200px); }
.sub { display: grid; gap: 8px; padding-top: 24px; }
.big3 { font-size: clamp(28px, 4.4vw, 52px); }
.lede { color: var(--ink); font-size: 17px; margin-top: 20px; }

/* the time given back: the one place the pixel face goes big */
.given { font: clamp(96px, 13vw, 200px)/.8 Silkscreen, monospace; letter-spacing: -.04em; white-space: nowrap; }

.words { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
@media (min-width: 720px) { .words { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.words li { border-top: 1px solid var(--line); padding-top: 14px; }
.words li p { margin: 6px 0 0; }

.cta { display: inline-block; margin-top: 24px; font: 24px/1 "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.cta::after { content: " \2192"; }

/* the artist marquee: a name and a gap of 0.7 its size as a tile, a screen width every 22 s */
.marquee { overflow: hidden; white-space: nowrap; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.marquee .track { display: inline-flex; animation: drift 22s linear infinite; will-change: transform; }
.marquee span { font: clamp(96px, 22vw, 260px)/.9 "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: -.04em; padding-right: .7em; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 40px; color: var(--dim); }
.foot a { color: var(--mid); }

/* arrival: drift 20px and fade, ease-out-expo, 50 ms apart */
.arrive { animation: arrive 260ms var(--ease) both; }
.arrive:nth-child(2) { animation-delay: 50ms; }
.arrive:nth-child(3) { animation-delay: 100ms; }
.arrive:nth-child(4) { animation-delay: 150ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) { .arrive { animation: none; } }

/* long pages (privacy) */
.doc h2 { font-size: 26px; margin: 40px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc ul { padding-left: 18px; color: var(--mid); }
.doc li { margin: 0 0 10px; }
