@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin-standard-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #050506;
  --coal: #0e0e12;
  --pink: #ff1f8e;
  --sun: #ffc93c;          /* the bead colours: pink leads, these three keep it from being one note */
  --aqua: #3ad6c6;
  --lilac: #a98bff;
  --white: #f5f5f7;
  --grey: #a3a3ad;
  --dim: #84848e;
  --line: rgba(245, 245, 247, .18);
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --gutter: clamp(1rem, 3.4vw, 3.5rem);
  --s12: .75rem; --s14: .875rem; --s16: 1rem; --s20: 1.25rem;
  --h2: clamp(3.5rem, 11vw, 11rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
html { font-size: clamp(16px, 16px + (100vw - 1440px) * .006, 24px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 var(--s16)/1.55 var(--text); overflow-x: clip; caret-color: var(--pink); -webkit-font-smoothing: antialiased; }
/* film grain over everything, so the flat black and the flat pink have a surface */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .11; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--pink); color: var(--black); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--pink); color: var(--black); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

/* two voices of one typeface: packed tight and huge, or wide, small and spaced */
h1, h2 { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; margin: 0; letter-spacing: -0.012em; line-height: .84; }
h2 { font-size: var(--h2); }
h1 em, h2 em { font-style: normal; color: var(--pink); }
.cap { font: 500 var(--s14)/1.35 var(--text); font-stretch: normal; text-transform: none; letter-spacing: 0; }
.lede { font-size: var(--s20); line-height: 1.4; max-width: 25em; text-wrap: balance; }
.small { font-size: var(--s14); color: var(--grey); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0 1.7rem; border: 0; border-radius: 999px;
  font: 600 var(--s16)/1 var(--text); text-decoration: none; cursor: pointer;
  background: var(--pink); color: var(--black); transition: background-color .18s ease, color .18s ease; }
.btn:hover { background: var(--white); }
.link { font: 600 var(--s16)/1 var(--text); text-decoration: underline; text-underline-offset: .5em; text-decoration-thickness: 2px; text-decoration-color: var(--pink); padding: .9rem 0; }
.link:hover { color: var(--pink); }

/* ---------- the wordmark: the name in plain type until the logo is redrawn ---------- */
.mark { display: inline-grid; justify-self: start; text-decoration: none; line-height: 1; }
.wm { display: block; font: 900 2rem/.8 var(--display); font-stretch: 62%; letter-spacing: .005em; }
/* STUDIOS margins come from Archivo's own side bearings (P and D at 900/62%, S at 700/125%), so its S sits under the P and its last S ends under the D; the right side is pulled in a little more, because the round S looks wider than the D's rounded corner */
.sts { display: flex; justify-content: space-between; font: 700 .55rem/1 var(--display); font-stretch: 125%; text-transform: uppercase; margin: .42rem .12em 0 .09em; color: var(--pink); }
.sts i { font-style: normal; }

/* ---------- bar ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; height: 5.25rem; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.bar nav { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; }
.bar nav a { font: 600 var(--s14)/1 var(--text); text-decoration: none; padding: .9rem 0; }
.bar nav a:hover { color: var(--pink); }
.bar nav .store { background: var(--pink); color: var(--black); padding: .9rem 1.3rem; border-radius: 999px; }
.bar nav .store:hover { background: var(--white); color: var(--black); }
.now { display: flex; align-items: center; gap: .6rem; color: var(--grey); }
.now i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--pink); }
@media (prefers-reduced-motion: no-preference) { .now i { animation: blink 1.6s steps(2, jump-none) infinite; } }
@keyframes blink { 50% { opacity: .15; } }
@media (max-width: 900px) { .now { display: none; } .bar { grid-template-columns: 1fr auto; } }
@media (max-width: 760px) { .bar nav a:not(.store) { display: none; } .bar { height: 4.25rem; } .wm { font-size: 1.6rem; } .sts { margin-left: .061em; margin-right: .09em; } }

.deck > main > *, .deck > footer { position: relative; }

/* ---------- footer ---------- */
.foot { background: var(--black); padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) 2rem; overflow: clip; }
.foot .big { display: inline-grid; margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.foot .big .wm { font-size: 18.4vw; line-height: .78; margin-left: -.03em; white-space: nowrap; }
.foot .big .sts { font-size: 2.4vw; margin: 1.6vw .7vw 0 .051vw; }
.foot nav.apps { grid-template-columns: repeat(2, max-content); column-gap: 2.4rem; }
.foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: var(--s14); color: var(--grey); }
.foot nav { display: grid; gap: .55rem; align-content: start; justify-items: start; }
.foot a { color: var(--grey); text-decoration: none; }
.foot button { all: unset; cursor: pointer; color: var(--grey); }
.foot a:hover, .foot button:hover { color: var(--pink); }
.foot .id { display: grid; gap: .3rem; align-content: start; }
.foot .id b { color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .id { grid-column: 1 / -1; } }

/* ---------- legal and 404 pages ---------- */
.page { max-width: 46rem; margin: 0 auto; padding: 9rem var(--gutter) 5rem; }
.page h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 1.6rem; }
.page h2 { font: 600 var(--s20)/1.3 var(--text); font-stretch: 100%; text-transform: none; letter-spacing: 0; margin: 2.4rem 0 .6rem; }
.page h1.q { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; }
.page h3 { font: 600 var(--s16)/1.4 var(--text); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--white); margin: 1.6rem 0 .3rem; }
.page p, .page li { color: var(--grey); }
.page p + p { margin-top: .8rem; }
.page a { color: var(--white); text-decoration-color: var(--pink); text-underline-offset: .3em; }
.page table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: var(--s14); }
.page th, .page td { text-align: left; padding: .6rem .8rem .6rem 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--grey); }
.page th { color: var(--white); font-weight: 600; }
.page code { font: 500 var(--s14)/1.4 ui-monospace, monospace; color: var(--white); }
.page strong { color: var(--white); font-weight: 600; }
.lost { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 1.4rem; padding: 7rem var(--gutter); }
.lost h1 { font-size: clamp(5rem, 22vw, 22rem); }
.lost p { max-width: 28em; }

/* the cookie banner (consent.js) in the site's own tokens */
:root { --consent-bg: var(--coal); --consent-fg: var(--white); --consent-line: var(--line); --consent-radius: 0;
  --consent-font: 500 .9375rem/1.45 "Geist", system-ui, sans-serif; --consent-button-radius: 0; }
.consent-link:hover { color: var(--pink); }

/* ---------- huge outlined words that light up in a rainbow under the pointer, after Lusion's awards list ---------- */
.outline { position: absolute; z-index: 0; left: 0; right: 0; top: clamp(1rem, 3vw, 3rem); margin: 0; padding: 0 var(--gutter); overflow: hidden; white-space: nowrap;
  font: 900 clamp(6rem, 21vw, 24rem)/.8 var(--display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px rgba(245, 245, 247, .1); }
.outline::after { content: attr(data-word); position: absolute; inset: 0; padding: inherit; color: var(--black);
  background: linear-gradient(90deg, #ff1f8e, #ff8a3c, #ffc93c, #3ad6c6, #5b78ff, #a98bff, #ff1f8e); background-size: 60% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 2px transparent;
  -webkit-mask: radial-gradient(circle var(--rr, 0px) at var(--x, -50%) var(--y, -50%), #000 0, #000 30%, transparent 100%);
  mask: radial-gradient(circle var(--rr, 0px) at var(--x, -50%) var(--y, -50%), #000 0, #000 30%, transparent 100%); }


/* ---------- PhiSuite's picture: a mosaic of hexagons rippling out from the centre, after Active Theory ---------- */
.mosaic { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #0b0b0c; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.facts li { position: relative; padding-left: 1.4rem; font-size: var(--s14); }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; background: var(--c); }

/* the pictures themselves (tools/art.py) and the states worlds.js moves them through */
.art { display: block; width: 100%; height: auto; }
.art text { font-family: var(--display); font-stretch: 100%; }
/* only what moves turns about its own centre: a transform written on a shape keeps its own origin */
.art :is(.pl, .cp-card, .cf-card, .rd-die, .aw-tile, .ob-p, .ob-lid, .hr-mouth, .hr-bird, .hr-mark, .pa-here) { transform-box: fill-box; transform-origin: center; }
.art .br-cut { transform-box: fill-box; }
.art .cc-g { opacity: 0; transition: opacity .3s ease; }
.art .cc-g.on { opacity: 1; }
.art .pl { fill: #fff; stroke: #7a2148; stroke-width: 3; transition: transform .32s var(--ease), opacity .32s ease; }
.art .pl.taken { fill: none; stroke-dasharray: 1 7; stroke-linecap: round; }
.art .pl.today { fill: #d9577a; }
.art .pl.pop { transform: scale(1.6); opacity: 0; }
.art .br-cut { transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease); }
.art .br-x { opacity: 0; transition: opacity .2s ease .2s; }
.art .br-n { transition: opacity .3s ease; }
.art .br-row.gone .br-cut { transform: none; }
.art .br-row.gone .br-x { opacity: 1; }
.art .br-row.gone .br-n { opacity: .35; }
.art .cp-card { transition: transform .4s var(--ease); }
.art .cp-face { opacity: 0; transition: opacity .2s ease .12s; }
.art .cp-card.up { transform: translateY(-38px); }
.art .cp-card.up .cp-face { opacity: 1; }
.art .cf-card { transition: transform .18s ease-in; }
.art .cf-card.turn { transform: scaleX(0); }
.art .cf-face, .art .cf-card.open .cf-back { display: none; }
.art .cf-card.open .cf-face { display: inline; }
.art .rd-die { transition: opacity .3s ease; }
.art .rd-die.roll { animation: rd-shake .14s linear infinite; }
.art .rd-die.lost { opacity: .32; }
@keyframes rd-shake { 50% { transform: rotate(8deg) scale(.96); } }
.art .at-el { transition: opacity .2s ease; }
.art .at-el.on { stroke: #f7f3ea; stroke-width: 4; }
.art .pa-here { transition: transform .55s var(--ease); }
.art .pa-name { transition: opacity .2s ease; font-stretch: 62%; }
.art .cp-face text { font-stretch: 62%; font-size: 28px; }
.art .aw-tile { opacity: 0; transform: scale(.6); transition: transform .35s var(--ease), opacity .2s ease; }
.art .aw-row.on .aw-tile { opacity: 1; transform: none; }
.art .aw-row.on .aw-slot { opacity: 0; }
.art .ob-p { opacity: 0; transform: translateY(-70px); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease; }
.art .ob-p.on { opacity: 1; transform: none; }
.art .ob-lid { opacity: 0; transform: translateY(-140px); transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), opacity .25s ease; }
.art .ob-lid.on { opacity: 1; transform: none; }
.art .hr-mouth { transition: transform .12s ease; }
.art .ph-n { transition: fill .15s ease, stroke .15s ease; }
.art .ph-n.on { fill: #ff1f8e; stroke: #ff1f8e; }
@media (prefers-reduced-motion: reduce) { .art *, .toy, .door { transition: none !important; animation: none !important; } }

/* ---------- round 11: one universe. The page is a single dark space (assets/js/world.js) ---------- */
.world { position: relative; height: max(100svh, 38rem); background: var(--black); overflow: clip; }
.space { position: absolute; inset: 5.25rem 0 0; }   /* starts under the bar's line, like a window */
.space.is-over { cursor: pointer; }
.space canvas { display: block; width: 100%; height: 100%; }
.world-title { position: absolute; z-index: 2; left: var(--gutter); top: 6.6rem; color: var(--dim); pointer-events: none; }
.uni-word { position: absolute; z-index: 1; left: 0; right: auto; top: auto; bottom: 3.4rem; font-size: clamp(5rem, 15vw, 17rem); -webkit-text-stroke: 1.5px var(--u, var(--white)); transition: -webkit-text-stroke-color .6s ease; }
.uni-count { position: absolute; z-index: 2; left: var(--gutter); bottom: 1.6rem; color: var(--grey); pointer-events: none; }
.label { position: absolute; z-index: 3; left: 0; top: 0; display: grid; gap: .3rem; max-width: 18rem; pointer-events: none; transform: translate(var(--x, 0), var(--y, 0)); }
.label[hidden] { display: none; }
.label b { font: 900 2.2rem/.86 var(--display); font-stretch: 62%; text-transform: uppercase; }
.label span { font-size: var(--s14); line-height: 1.35; color: var(--grey); }
.chips { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.4rem; display: flex; flex-wrap: wrap; justify-content: end; gap: .4rem; }
.chips button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 5, 6, .5); color: var(--white); cursor: pointer;
  font: 600 var(--s14)/1 var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.chips button[aria-pressed="true"]:not(.pause) { background: var(--u); border-color: var(--u); color: var(--black); }
.chips .pause { padding: 0; }
.pause .ico { width: .7rem; height: .8rem; border-left: .22rem solid currentColor; border-right: .22rem solid currentColor; }
.pause[aria-pressed="true"] .ico { border: 0; border-left: .62rem solid currentColor; border-top: .38rem solid transparent; border-bottom: .38rem solid transparent; width: 0; height: 0; margin-left: .2rem; }
.space.flat { display: none; }
@media (max-width: 760px) {
  .world-title { top: 5.2rem; }
  .space { top: 4.25rem; }
  .uni-word { bottom: 5.4rem; font-size: 22vw; }
  .uni-count { bottom: 4.4rem; }
  .chips { left: 0; right: 0; padding: 0 var(--gutter); flex-wrap: nowrap; justify-content: start; overflow-x: auto; scrollbar-width: none; bottom: 1rem; }
  .chips button { flex: none; min-height: 2.75rem; padding: 0 .9rem; }
  .label { display: none; }
}

/* ---------- the sheet: one app, opened from its cube or its row ---------- */
.sheet { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(34rem, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--coal); border-left: 1px solid var(--line);
  padding: 1.6rem clamp(1.2rem, 3vw, 2.2rem) 3rem; transform: translateX(104%); transition: transform .45s var(--ease); }
.sheet.is-open { transform: none; }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.close { position: sticky; top: 0; float: right; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--coal); color: var(--white); font: 400 1.6rem/1 var(--text); cursor: pointer; }
.close:hover { border-color: var(--c); }
.sheet-app[hidden] { display: none; }
.sheet-app { display: grid; gap: 1.2rem; padding-top: .4rem; }
.sheet-top { display: flex; align-items: center; gap: 1rem; padding-right: 3.4rem; }
.sheet-top img { width: 4.2rem; border-radius: 23%; }
.sheet-top h2 { font-size: clamp(2.6rem, 6vw, 3.6rem); }
.sheet-top .cap { color: var(--grey); margin-top: .5rem; }
.sheet-app .say { font-size: var(--s20); line-height: 1.3; font-weight: 600; }
.sheet-app .desc { color: var(--grey); }
.sheet-app .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; }
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } }

/* ---------- every app, plainly: a list like an awards table ---------- */
.index { padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.index > .cap { color: var(--grey); margin-bottom: 2rem; }
.group { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0 2rem; border-top: 1px solid var(--line); padding: 1.2rem 0 1.6rem; }
.group h3 { margin: .3rem 0 0; font: 900 clamp(2rem, 3vw, 2.8rem)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; color: var(--u); }
.group ul { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 2.6rem minmax(9rem, 14rem) minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: .7rem .6rem; border-radius: 12px; text-decoration: none; color: var(--white); transition: background .25s ease; }
.row img { width: 2.6rem; border-radius: 23%; }
.row .nm { font: 900 1.5rem/.9 var(--display); font-stretch: 62%; text-transform: uppercase; transition: color .25s ease; }
.row .ln { color: var(--grey); font-size: var(--s14); }
.row .stat { font-size: var(--s14); color: var(--dim); white-space: nowrap; }
.row:hover, .row:focus-visible { background: rgba(245, 245, 247, .05); }
.row.hush, .row.hush:hover { background: none; color: var(--dim); }
.row.hush .nm { color: var(--dim); }
.row:hover .nm, .row:focus-visible .nm { color: var(--c); }
@media (max-width: 1080px) {
  .row { grid-template-columns: 2.6rem minmax(8rem, 11rem) minmax(0, 1fr); }
  .row .stat { display: none; }
}
@media (max-width: 760px) {
  .group { grid-template-columns: 1fr; gap: .8rem; }
  .row { grid-template-columns: 2.6rem minmax(0, 1fr); row-gap: .2rem; }
  .row img { grid-row: 1 / 3; }
  .row .stat { display: none; }
}
.sky-hint { position: absolute; z-index: 2; left: var(--gutter); bottom: 1.6rem; color: var(--dim); pointer-events: none; }
@media (hover: none) { .sky-hint { display: none; } }

/* ---------- real screens of each app, in its sheet and on its page ---------- */
.shots { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .2rem 0 .4rem; }
.shots::-webkit-scrollbar { display: none; }
.shots img { flex: none; width: min(13.5rem, 62%); aspect-ratio: 600 / 1303; object-fit: cover; border-radius: 1.6rem; border: 1px solid var(--line); background: #000; scroll-snap-align: start; }
.shots.is-land img { width: min(26rem, 92%); aspect-ratio: 956 / 440; border-radius: 1.2rem; }
.shots.is-wide img { width: min(30rem, 92%); aspect-ratio: 2 / 1; border-radius: 1.2rem; }
.sheet-app .facts, .app-page .facts { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.sheet-app .facts li, .app-page .facts li { position: relative; padding-left: 1.4rem; }
.sheet-app .facts li::before, .app-page .facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--c); }

/* ---------- the page of an app without its own website ---------- */
.app-page { max-width: 60rem; margin: 0 auto; padding: 8rem var(--gutter) 5rem; display: grid; gap: 1.6rem; }
.app-page .crumbs { color: var(--dim); }
.app-page .crumbs a { color: var(--grey); text-decoration: none; }
.app-head { display: flex; align-items: center; gap: 1.4rem; }
.app-head img { width: clamp(4.5rem, 9vw, 6.5rem); border-radius: 23%; }
.app-head h1 { font-size: clamp(3rem, 9vw, 7rem); }
.app-head .cap { color: var(--grey); margin-top: .7rem; }
.app-page h2 { font: 600 var(--s20)/1.3 var(--text); text-transform: none; letter-spacing: 0; margin-top: 1rem; }
.app-page > p:not(.lede):not(.more) { color: var(--grey); max-width: 40em; }
.app-page .shots.wide { margin: 0; padding: .2rem 0 .4rem; }
.app-page .shots.wide img { width: min(16rem, 64%); }
.app-page .shots.wide.is-wide img { width: min(36rem, 92%); }
.app-page .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; }
.app-page .more { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.app-page .more a, .app-page .by a { color: var(--white); text-decoration-color: var(--c); text-underline-offset: .3em; }

/* ---------- 4 December 2026: chrome only on what you press, and on the cursor (her pick: "buttons and cursor") ---------- */
:root { --chrome: linear-gradient(180deg, #ffffff 0%, #dfe2e8 30%, #a9aeb8 48%, #6f7480 52%, #c4c8d0 62%, #f3f4f7 84%, #ffffff 100%); }
@media (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.42' stop-color='%23c9cdd6'/%3E%3Cstop offset='.5' stop-color='%236f7480'/%3E%3Cstop offset='.6' stop-color='%23d8dbe2'/%3E%3Cstop offset='1' stop-color='%239aa0ab'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16 25.5 L12 16.8 L19.5 16.8 Z' fill='url%28%23c%29' stroke='%23050506' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto; }
  a, button, [role="button"], .space.is-over, label { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.42' stop-color='%23c9cdd6'/%3E%3Cstop offset='.5' stop-color='%236f7480'/%3E%3Cstop offset='.6' stop-color='%23d8dbe2'/%3E%3Cstop offset='1' stop-color='%239aa0ab'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16 25.5 L12 16.8 L19.5 16.8 Z' fill='url%28%23c%29' stroke='%23050506' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='23' cy='24' r='4' fill='%23ff1f8e' stroke='%23050506' stroke-width='1.4'/%3E%3C/svg%3E") 3 2, pointer; }
}
.btn, .bar nav .store, .chips button[aria-pressed="true"]:not(.pause) { background: var(--chrome); background-size: 100% 180%; background-position: 0 0; color: var(--black);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1px #050506; transition: background-position .5s var(--ease), color .2s ease; }
.btn:hover, .bar nav .store:hover { background: var(--chrome); background-size: 100% 180%; background-position: 0 100%; color: var(--pink); }
.chips button[aria-pressed="true"]:not(.pause) { border-color: transparent; }

/* ---------- the studio page: on the table, next drops, archive ---------- */
.studio { padding: 8.5rem var(--gutter) 5rem; display: grid; gap: clamp(4.5rem, 9vw, 8rem); }
.studio-head h1 { font-size: clamp(4.5rem, 16vw, 15rem); }
.part-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.part-head h2 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
.aside { color: var(--grey); font-size: var(--s16); }
.studio ul, .studio ol { list-style: none; margin: 0; padding: 0; }
.studio a { text-decoration: none; }
.studio .nm { font: 900 clamp(1.6rem, 2.4vw, 2.3rem)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; }

/* prints of the apps in the works, taped down at an angle; they straighten when you point at one */
.prints { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.2rem, 3vw, 2.6rem); padding: 1rem .5rem; }
.print a { position: relative; display: grid; gap: .45rem; padding: .7rem .7rem 1rem; background: #f3f1ec; color: var(--black); transform: rotate(var(--r)); transition: transform .5s var(--ease); }
.print a:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); }
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--c); }
.print.is-icon img { object-fit: contain; padding: 22%; }
.print .cap { color: #55555c; }
.tape { position: absolute; z-index: 1; top: -.8rem; left: 50%; width: 5.5rem; height: 1.6rem; margin-left: -2.75rem; background: rgba(255, 31, 142, .72); transform: rotate(-3deg); }

/* the next drops, as a running order */
.drops { display: grid; counter-reset: d; }
.drop a, .drop.hush { display: grid; grid-template-columns: 3rem 3.6rem minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: 1rem .4rem; border-bottom: 1px solid var(--line); color: var(--white); }
.drop.hush { grid-template-columns: 3rem minmax(0, 1fr) auto; color: var(--dim); }
.drop .no, .piece .no { font: 600 var(--s14)/1 var(--text); color: var(--grey); font-variant-numeric: tabular-nums; }
.drop img { width: 3.6rem; height: 3.6rem; border-radius: .9rem; transform: rotate(-8deg) scale(.85); transition: transform .45s var(--ease); }
.drop a:hover img { transform: rotate(4deg) scale(1.05); }
.drop a:hover .nm { color: var(--c); }
.drop .cap, .piece .cap { color: var(--grey); text-align: right; }

/* the archive: numbered pieces under their year */
.pieces { display: grid; }
.year { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 0 2rem; border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.year h3 { margin: 0; font: 900 clamp(3rem, 7vw, 6.5rem)/.8 var(--display); font-stretch: 62%; color: transparent; -webkit-text-stroke: 1.5px var(--pink); }
.year .piece:last-child a { border-bottom: 0; }
.piece a { display: grid; grid-template-columns: 4.5rem 2.6rem minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: .8rem .4rem; border-bottom: 1px solid var(--line); color: var(--white); transition: background-color .25s ease; }
.piece a:hover { background: rgba(255, 255, 255, .05); }
.piece img { width: 2.6rem; height: 2.6rem; border-radius: .65rem; }
@media (max-width: 640px) {
  .prints { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .print a { padding: .5rem .5rem .7rem; }
  .print .cap { display: none; }
  .studio .print .nm { font-size: 1.15rem; }
  .drop a { grid-template-columns: 2.2rem 3rem minmax(0, 1fr); }
  .drop a .cap, .drop.hush .cap { grid-column: 3; text-align: left; margin-top: -.6rem; }
  .drop.hush { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .drop.hush .cap { grid-column: 2; }
  .drop img { width: 3rem; height: 3rem; }
  .year { grid-template-columns: 1fr; gap: .8rem; }
  .piece a { grid-template-columns: 3.6rem 2.4rem minmax(0, 1fr); }
  .piece .cap { grid-column: 3; text-align: left; margin-top: -.6rem; }
}
@media (prefers-reduced-motion: reduce) { .print a, .drop img { transition: none; } }

/* ---------- round 16, 5 December 2026: patches and technology are one material ----------
   The cloth is perforated like a perfboard; a seam is a running stitch routed like a trace; an eyelet
   is also a via. Every line on the site is sewn, and nothing on the page says so. */
:root { --hole: 14px; --thread: rgba(245, 245, 247, .3);
  --seam: repeating-linear-gradient(90deg, var(--thread) 0 7px, transparent 7px 14px);
  --seam-v: repeating-linear-gradient(180deg, var(--thread) 0 7px, transparent 7px 14px); }
.space { background-color: #0a0a0d; background-image: radial-gradient(circle at 7px 7px, #000 0 1.8px, transparent 2.3px); background-size: var(--hole) var(--hole); }
.trace { position: absolute; z-index: 2; left: 0; top: 5.25rem; width: 100%; height: calc(100% - 5.25rem); overflow: visible; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.trace.is-on { opacity: 1; }
.tr-stitch { fill: none; stroke: var(--c, var(--pink)); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 7; }
.tr-reveal { fill: none; stroke: #fff; stroke-width: 12; }
.trace.is-on .tr-reveal { transition: stroke-dashoffset .4s cubic-bezier(.5, 0, .2, 1); }
.tr-via { fill: var(--black); stroke: #d9dce3; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); }
.trace.is-on .tr-via { opacity: 1; transform: none; transition: opacity .15s ease .36s, transform .3s var(--ease) .36s; }
.label { top: 5.25rem; transform: translate(var(--x, 0), calc(var(--y, 0px) - .95rem)); }
.label.is-left { transform: translate(calc(var(--x, 0px) - 100%), calc(var(--y, 0px) - .95rem)); justify-items: end; text-align: right; }
@media (prefers-reduced-motion: reduce) { .trace.is-on .tr-reveal, .trace.is-on .tr-via { transition: none; } }
@media (max-width: 760px) { .trace { top: 4.25rem; height: calc(100% - 4.25rem); } }

/* every rule on the site is a seam */
.bar { border-bottom: 0; background: var(--seam) left bottom / 100% 2px no-repeat; }
.index, .group, .part-head, .foot .cols { border-top: 0; background: var(--seam) left top / 100% 2px no-repeat; }
.foot .cols { background-color: transparent; }
.year { border-bottom: 0; background: var(--seam) left bottom / 100% 2px no-repeat; }
.drop a, .drop.hush, .piece a { border-bottom: 0; background-image: var(--seam); background-position: left bottom; background-size: 100% 2px; background-repeat: no-repeat; }
.year .piece:last-child a { background-image: none; }
.piece a:hover { background-color: rgba(255, 255, 255, .05); }

/* the index: each group is a bus, each app taps it at 45 degrees through an eyelet */
.group ul { position: relative; }
.group ul::before { content: ""; position: absolute; left: .9rem; top: .4rem; bottom: .4rem; width: 2px; margin-left: -1px; background: var(--seam-v); }
.row { position: relative; padding-left: 4rem; }
.row::before { content: ""; position: absolute; left: .9rem; top: calc(50% - 21px); width: 44px; height: 22px; background: var(--thread); transition: background-color .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath d='M1 1 L20 20 L44 20' fill='none' stroke='%23000' stroke-width='2' stroke-dasharray='6 5' stroke-linecap='round'/%3E%3C/svg%3E") left top / 44px 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath d='M1 1 L20 20 L44 20' fill='none' stroke='%23000' stroke-width='2' stroke-dasharray='6 5' stroke-linecap='round'/%3E%3C/svg%3E") left top / 44px 22px no-repeat; }
.row::after { content: ""; position: absolute; left: calc(.9rem - 6px); top: calc(50% - 26px); width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; border: 2.5px solid #9a9ea8; background: var(--black); transition: border-color .25s ease, transform .3s var(--ease); }
.row:hover::before, .row:focus-visible::before { background: var(--c); }
.row:hover::after, .row:focus-visible::after { border-color: #e6e8ee; transform: scale(1.25); }
.row.hush::before { background: rgba(245, 245, 247, .14); }
.row.hush::after { border-color: #4a4a52; }
@media (max-width: 760px) { .group ul::before { left: .6rem; } .row { padding-left: 3.5rem; } .row::before { left: .6rem; } .row::after { left: calc(.6rem - 6px); } }

/* the studio's prints are tacked down with two cross stitches instead of tape */
.tack::before, .tack::after { content: ""; position: absolute; z-index: 1; top: .4rem; width: 18px; height: 18px;
  background: linear-gradient(45deg, transparent 40%, var(--pink) 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, var(--pink) 40% 60%, transparent 60%); }
.tack::before { left: .45rem; }
.tack::after { right: .45rem; }

/* ---------- round 17, 5 December 2026: the opening is a quilt (assets/js/quilt.js) ----------
   The apps rain down and are sewn edge to edge; each is cross stitched, one stitch per pixel. */
.world { height: auto; padding-top: 5.25rem; }
.world .space { position: relative; inset: auto; height: 50vw; background: none; }
.world .space canvas { display: block; }
@media (max-width: 699px) { .world .space { height: 200vw; } }
@media (max-width: 760px) { .world { padding-top: 4.25rem; } }
.world .label { top: 5.25rem; z-index: 4; }
.world .label { background: var(--black); padding: .8rem 1rem .9rem; border-radius: 2px; box-shadow: 0 0 0 2px var(--pink); max-width: 17rem; }
.quilt-cap { padding: 1.1rem var(--gutter) 0; color: var(--dim); }

/* ---------- PhiSuite: a musical universe laid out at the golden angle (assets/js/phi.js) ---------- */
.phi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter); background: var(--seam) left top / 100% 2px no-repeat; overflow: clip; }
.phi-where { color: var(--grey); margin-bottom: 1rem; }
.phi h2 { font-size: clamp(4.5rem, 12vw, 12rem); }
.phi-lede { margin-top: 1.4rem; font: 600 clamp(1.6rem, 2.8vw, 2.6rem)/1.12 var(--text); max-width: 14em; text-wrap: balance;
  color: var(--pink); }
.phi-body { margin-top: 1.4rem; color: var(--grey); max-width: 31em; }
.phi-body a { color: var(--white); text-decoration-color: var(--pink); text-underline-offset: .3em; font-weight: 600; }
.phi-stage { all: unset; position: relative; display: block; width: 100%; max-width: 46rem; aspect-ratio: 1; justify-self: center; border-radius: 50%; }
.phi-stage:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
.phi-stage canvas { position: absolute; inset: 0; display: block; }
.phi-mark { position: absolute; left: 50%; top: 50%; width: 11%; height: auto; color: var(--white); transform: translate(-50%, -50%); transition: transform .5s var(--ease); pointer-events: none; }
.phi-stage.is-hit .phi-mark { animation: phi-hit .6s var(--ease); }
@keyframes phi-hit { 30% { transform: translate(-50%, -50%) scale(1.18) rotate(-6deg); } }
.phi-hint { position: absolute; left: 0; right: 0; bottom: -.4rem; text-align: center; color: var(--dim); pointer-events: none; }
@media (max-width: 860px) { .phi { grid-template-columns: 1fr; } .phi-stage { max-width: 30rem; } }
@media (prefers-reduced-motion: reduce) { .phi-stage.is-hit .phi-mark { animation: none; } }

/* ---------- the rain, kept further down the home page ---------- */
.rain { position: relative; height: max(88svh, 34rem); overflow: clip; background: var(--seam) left top / 100% 2px no-repeat; }
.rain .space { position: absolute; inset: 2px 0 0; }
.rain .trace { top: 2px; height: calc(100% - 2px); }
.rain .label { top: 2px; }
@media (max-width: 760px) { .rain .trace { top: 2px; height: calc(100% - 2px); } }

/* ---------- round 19: a section for each kind of app, and one about the developer ---------- */
.kind { padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3rem, 5vw, 4.5rem); background: var(--seam) left top / 100% 2px no-repeat; }
.kind-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.kind-head h2 { font-size: clamp(4rem, 11vw, 11rem); color: var(--u); }
.kind-head .cap { color: var(--grey); }
.kind-list { list-style: none; margin: 0; padding: 0; position: relative; }
.kind-list::before { content: ""; position: absolute; left: .9rem; top: .4rem; bottom: .4rem; width: 2px; margin-left: -1px; background: var(--seam-v); }
@media (max-width: 760px) { .kind-list::before { left: .6rem; } }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.keys img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 1.2rem; border: 1px solid var(--line); background: #000; }
.dev { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 1.5rem clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter); background: var(--seam) left top / 100% 2px no-repeat; }
.dev-cap { grid-column: 1 / -1; color: var(--grey); }
.dev h2 { font-size: clamp(4.5rem, 12vw, 12rem); }
.dev-body p { color: var(--grey); max-width: 30em; }
.dev-body p + p { margin-top: .9rem; }
.dev-body .dev-lede { color: var(--white); font-size: var(--s20); line-height: 1.4; font-weight: 600; }
.dev-links { display: flex; flex-wrap: wrap; gap: .2rem 1.8rem; margin-top: 1.4rem !important; }
@media (max-width: 860px) { .dev { grid-template-columns: 1fr; } }
.screens { list-style: none; margin: 0 calc(var(--gutter) * -1) clamp(2rem, 3.5vw, 3rem); padding: .6rem var(--gutter) 1rem; display: flex; gap: clamp(.8rem, 1.6vw, 1.4rem); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screens li { flex: none; width: clamp(9.5rem, 15vw, 13.5rem); scroll-snap-align: start; }
.screens a { display: grid; gap: .6rem; text-decoration: none; }
.screens img { width: 100%; aspect-ratio: 600 / 1303; object-fit: cover; object-position: top; border-radius: 1.4rem; border: 1px solid var(--line); background: #000; transition: transform .45s var(--ease), border-color .3s ease; }
.screens a:hover img, .screens a:focus-visible img { transform: translateY(-8px) rotate(-1.5deg); border-color: var(--c); }
.screens .cap { color: var(--grey); }
.screens a:hover .cap { color: var(--c); }
@media (prefers-reduced-motion: reduce) { .screens img { transition: none; } }
