/* tobynoskillson.com — one continuous painted descent: the Creation on the crust, the Gate, nine circles, the way out.
   Neighbouring sets meet directly. Scrolling is never held: depth drift rides the compositor's view
   timeline, and ambient motion runs only in the set on screen. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --text: #f4f2fb;
  --dim: #c9c5dc;
  --lav: #c4b5fd;
  --rubric: #c25b43; /* the red of a Dante manuscript's rubrics: chapter numerals and the caret */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --gutter: 1.25rem;
  --legible: 0 1px 2px rgba(5, 4, 9, .9), 0 0 18px rgba(5, 4, 9, .85), 0 0 42px rgba(5, 4, 9, .6);
}
@media (min-width: 700px) { :root { --gutter: 3rem; } }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .5rem 1rem; background: var(--lav); color: var(--bg); border-radius: 6px; }
.skip:focus { top: 1rem; }

.nav { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem var(--gutter); font-size: .9375rem; text-shadow: var(--legible); }
.nav a { text-decoration: none; transition: color .15s ease; }
.nav nav { display: flex; gap: 1.6rem; }
.nav .brand { white-space: nowrap; }
/* 320-359 px: the brand wrapped to two lines and ran into the hero's words */
@media (max-width: 359px) { .nav { gap: 1rem; font-size: .875rem; } .nav nav { gap: 1rem; } }
.nav nav a { color: var(--dim); }
.nav a:hover { color: var(--lav); }
/* Phones: one Apps link to the band at the foot stands in for the three app names */
.nav .nav-apps { display: none; }
@media (max-width: 599px) { .nav .nav-app { display: none; } .nav .nav-apps { display: inline; } }

/* Neighbouring sets overlap by --join of the set height (scripts/theatre.py JOIN_WIDE/JOIN_NARROW must match).
   The arriving backdrop dissolves in over that band along a wandering edge, never a ruled line. Only join pieces
   (smoke, mist, fog: .set-join) lie across a border; every other piece stays inside its own circle. */
.scene { --W: max(100vw, 150svh); --set-h: calc(var(--W) * 2 / 3); --join: .08; --overlap: calc(var(--set-h) * var(--join)); position: relative; height: calc(var(--set-h) - var(--overlap)); overflow-x: clip; }
.scene:nth-of-type(2n) { --jx: 41%; } .scene:nth-of-type(3n) { --jx: 73%; }
.scene.out { height: var(--set-h); overflow-y: clip; }
.stage { position: absolute; left: calc(50% - var(--W) / 2); width: var(--W); top: 0; height: var(--set-h); pointer-events: none; }
.stage a { pointer-events: auto; }
/* The painting is a picture, the words are text. A press anywhere on a set (backdrop, cut, canvas, glow, join smoke)
   hits nothing: it never drags an image out, never highlights a cut, never opens an image menu or a phone's save
   sheet, and a click, double-click or long-press there selects nothing. Hover reactions read the pointer from the
   document (home.js), not from the pieces. Every caption, the Gate's number and the words under it select and copy; a
   press on a link drags the link. The nav's empty band belongs to the painting; words no one sees (skip link, the
   hero's clipped heading) stay out of a copy. home.js keeps a drag that runs off the words following the pointer. */
.scene, .nav, .skip { -webkit-user-select: none; user-select: none; }
.set { pointer-events: none; -webkit-touch-callout: none; }
.set img { -webkit-user-drag: none; }
.nav { pointer-events: none; }
.nav a, .say, .gate-col { pointer-events: auto; }
.say, .gate-col, .nav a, #h-gate { -webkit-user-select: text; user-select: text; }
.say .vh, .stage svg { -webkit-user-select: none; user-select: none; }
/* The number's tall glyph box reaches over the label above it, which then could not be pointed at; the link still
   takes the press and the drag, and a selection still runs through the number. */
.rv-num { pointer-events: none; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.say { position: absolute; z-index: 7; text-shadow: var(--legible); }
/* A soft painted shadow behind the words, with no rectangular plate. */
.circle .say::before, .hero .say::before { content: ""; position: absolute; z-index: -1; inset: -18% -30% -28% -45%; background: radial-gradient(closest-side, rgba(8, 7, 12, .78), rgba(8, 7, 12, .5) 55%, transparent); pointer-events: none; }
.inscription { font: 400 clamp(2.2rem, 5vw, 4.4rem)/1.06 var(--serif); letter-spacing: -.01em; text-align: center; text-wrap: balance; }

/* The Gate's lintel is painted; its accessible heading stays clipped. */
.vicon { width: 64px; height: 64px; display: block; filter: drop-shadow(0 6px 24px rgba(5, 4, 9, .8)); }
.vicon .lb, .mark .lb { transform-box: fill-box; transform-origin: 50% 50%; }
.said { display: grid; gap: 1rem; padding-top: .2rem; }
.typed { font-size: 1.1875rem; line-height: 1.55; }
.typed em { font-style: italic; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--rubric); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vlinks { display: flex; gap: 1.4rem; font-size: .9375rem; }
.vlinks a { color: var(--dim); text-underline-offset: .22em; transition: color .15s ease; }
.vlinks a:first-child { color: var(--lav); }
.vlinks a:hover { color: var(--lav); }

/* ---- the circles ---- */
.circle .say, .hero .say { left: var(--say-x, 5%); top: var(--say-y, 7%); width: var(--say-w, min(26rem, 30%)); display: grid; gap: .8rem; }
.num { white-space: nowrap; font: 400 clamp(2.4rem, 4.4vw, 4rem)/1 var(--serif); letter-spacing: -.01em; }
.num span { color: var(--rubric); margin-right: .15em; }
.line { display: flex; gap: .7rem; align-items: flex-start; min-height: 6.2em; font: 400 clamp(1.1rem, 1.3vw, 1.35rem)/1.42 var(--serif); }
.line .typed { font-size: inherit; }

/* ---- the way out ---- */
/* the Sponsor link waits at the very bottom, at the foot of the stair */
/* The two ways to give sit at the foot of the last screen, white over the painting, big enough to read at a glance. */
.out-view { position: absolute; inset: auto 0 0; height: min(100svh, 100%); }
/* Jumps to #support land with the painting's foot on the screen's bottom edge, not on the apps band below it. */
.out-anchor { position: absolute; bottom: 0; left: 50%; scroll-margin-top: 100vh; scroll-margin-top: 100dvh; }
.out-end { left: 50%; bottom: 8%; translate: -50% 0; margin: 0; display: flex; gap: clamp(2.5rem, 6vw, 6rem); white-space: nowrap; }
.out-end::before { content: ""; position: absolute; z-index: -1; inset: -70% -14%; background: radial-gradient(closest-side, rgba(8, 7, 12, .72), rgba(8, 7, 12, .4) 60%, transparent); pointer-events: none; }
.give { display: inline-flex; align-items: center; gap: .5em; font: 400 clamp(2rem, 3vw, 3.1rem)/1.1 var(--serif); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: .18em; transition: border-color .2s ease, text-shadow .2s ease; }
.give svg { width: .78em; height: .78em; fill: none; stroke: #fff; stroke-width: 1.7; transition: transform .2s ease; }
.give:hover, .give:focus-visible { border-color: #fff; text-shadow: var(--legible), 0 0 26px rgba(255, 255, 255, .45); }
.give:hover svg, .give:focus-visible svg { transform: scale(1.12); }
/* the panel's foot fades into the ground instead of ending on a straight cut */
.scene.out .piece[data-piece="fore-foot"] { mask-image: var(--foot-fade); }
.scene.out .backdrop, .scene.out .set::before { mask: url("/assets/join-edge.png?v=c404f95d1e") var(--jx, 0%) 0 / 100% calc(var(--join) * 100%) repeat-x, linear-gradient(#000 0 90%, transparent) 0 100% / 100% calc(100% - var(--join) * 100% + 1px) no-repeat; }
.scene.out { --foot-fade: linear-gradient(to bottom, transparent, #000 3%, #000 90%, transparent 100%); }
/* The cave rim's cut top runs straight across the whole Treachery join: let it come in along the wandering join edge
   over a quarter of its height (from its old fade start, 6.98 %), so Treachery's fog and Out's own cave mouth carry the
   join instead of a dark ruled band. The wandering band is short (11 % of the rim): a tall one left the rock
   half-transparent over Treachery's fog and read as melted. The solid mask reaches full opacity before the tiled join ends,
   preventing a horizontal alpha step. Bottom fade unchanged (--eb 89.92 %, --eg 4.3 %). */
.scene.out .piece[data-piece="fore-rim"] > img { mask: url("/assets/join-edge.png?v=c404f95d1e") 0 22.4% / 100% 11% repeat-x, linear-gradient(transparent 26%, #000 31% 85.62%, transparent 89.92%); }
.out-say { left: var(--gutter); right: var(--gutter); top: 12%; display: grid; justify-items: center; gap: 1.4rem; text-align: center; }
.out-say .line { max-width: 32em; justify-content: center; min-height: 4.4em; }

@media (orientation: portrait) {
  .scene { --W: 100vw; --set-h: 150vw; --join: .08; }
  .circle .say, .hero .say { left: var(--say-nx, 6%); top: var(--say-ny, 8%); width: var(--say-nw, 88%); }
  .num { font-size: 2.4rem; }
  .line { min-height: 4.6em; font-size: 1rem; }
  .vicon { width: 40px; height: 40px; }
  .out-say { top: 10%; gap: 1rem; }
  .out-end { bottom: 7%; flex-direction: column; align-items: center; gap: 1.2rem; }
  .give { font-size: min(1.8rem, 8.6vw); }
  .inscription { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none !important; } }

/* ---- the paper theatre (inferno v3): a painted backdrop and cut-out pieces at their own depths (scripts/theatre.py).
   The set is the backdrop's 1536×1024 box drawn at --W, centred and covering the scene; pieces sit by percentage.
   On portrait screens a set with a narrow layout becomes a 2:3 box and each piece moves to its --nx/--ny/--nw.
   Two animations per piece, both compositor-only: its idle motion (transform, on time, only while the set is on
   screen) and its depth drift (translate, on the scene's view timeline: nearer pieces slide further). Cloth and
   water that must ripple are canvases (data-warp, home.js), also only while on screen. ---- */
.set { position: absolute; left: calc(50% - var(--W) / 2); top: 0; width: var(--W); aspect-ratio: 3 / 2; }
/* One stacking order for the whole page: every backdrop, then the join pieces, then every figure and prop, then
   the circles' own foreground strips. A set clips its pieces (no stacking context, so this order holds). */
.set:not(.set-join) { overflow: clip; }
.set .backdrop { z-index: 0; }
/* Under each painting, a 240 px copy of the finished set (120 px wide on a phone), lightly blurred when saved, over
   its colours as a gradient that needs no fetch: the frame is never black while the cuts load, and each cut fades in over it as it decodes (home.js). No CSS filter, so
   scrolling past costs one scaled bitmap. Remake them (pre-blurred, from the rendered sets) when a set changes. */
.set:not(.set-join)::before { content: ""; position: absolute; inset: 0; z-index: 0; background-size: 100% 100%; background-repeat: no-repeat; }
[data-set="c1-limbo"]::before { background-image: url("/assets/lqip/c1-limbo-wide.webp?v=5d04ad295f"), linear-gradient(#39312c, #695c51, #584d45, #615448, #756555); }
[data-set="c2-lust"]::before { background-image: url("/assets/lqip/c2-lust-wide.webp?v=7786ca2b8b"), linear-gradient(#4a4a4c, #69696a, #575656, #5f5a58, #4c4642); }
[data-set="c3-gluttony"]::before { background-image: url("/assets/lqip/c3-gluttony-wide.webp?v=f61f095365"), linear-gradient(#504e4e, #5a5550, #60544a, #55483d, #483b31); }
[data-set="c4-greed"]::before { background-image: url("/assets/lqip/c4-greed-wide.webp?v=1af4440dba"), linear-gradient(#4d3f33, #594634, #795d40, #83694f, #625243); }
[data-set="c5-wrath"]::before { background-image: url("/assets/lqip/c5-wrath-wide.webp?v=3997775bd1"), linear-gradient(#4d433d, #47403b, #54453a, #4c4034, #5b4f40); }
[data-set="c6-heresy"]::before { background-image: url("/assets/lqip/c6-heresy-wide.webp?v=603f8f6060"), linear-gradient(#48362d, #342923, #5b3723, #674e3a, #6b5646); }
[data-set="c7-violence"]::before { background-image: url("/assets/lqip/c7-violence-wide.webp?v=ea10efd692"), linear-gradient(#38302d, #4c3830, #533b32, #482c26, #402723); }
[data-set="c8-fraud"]::before { background-image: url("/assets/lqip/c8-fraud-wide.webp?v=2b447b4324"), linear-gradient(#3f322b, #514034, #4f3f33, #594738, #5b4734); }
[data-set="c9-treachery"]::before { background-image: url("/assets/lqip/c9-treachery-wide.webp?v=719d5c93a4"), linear-gradient(#45515b, #3e4852, #5d6772, #515d69, #545f69); }
[data-set="gate"]::before { background-image: url("/assets/lqip/gate-wide.webp?v=b669b959ea"), linear-gradient(#4c3e36, #4c403a, #4c3f3b, #483c3a, #574a49); }
[data-set="hero"]::before { background-image: url("/assets/lqip/hero-wide.webp?v=718fda5ff2"), linear-gradient(#3f4047, #454144, #584e49, #55473f, #44322d); }
[data-set="out"]::before { background-image: url("/assets/lqip/out-wide.webp?v=779906d376"), linear-gradient(#444249, #7d7b89, #968a86, #7e746b, #615850); }
@media (orientation: portrait) {
  [data-set="c1-limbo"]::before { background-image: url("/assets/lqip/c1-limbo-tall.webp?v=38d9b305c8"), linear-gradient(#2e2825, #7d6e60, #5d5249, #62554b, #665849); }
  [data-set="c2-lust"]::before { background-image: url("/assets/lqip/c2-lust-tall.webp?v=705187c4fb"), linear-gradient(#3f4043, #717274, #656567, #535050, #564f4a); }
  [data-set="c3-gluttony"]::before { background-image: url("/assets/lqip/c3-gluttony-tall.webp?v=bc1e9b5397"), linear-gradient(#454343, #565452, #5c5349, #55493e, #4c3f34); }
  [data-set="c4-greed"]::before { background-image: url("/assets/lqip/c4-greed-tall.webp?v=7a6b539779"), linear-gradient(#372e27, #524333, #786047, #826446, #6a5643); }
  [data-set="c5-wrath"]::before { background-image: url("/assets/lqip/c5-wrath-tall.webp?v=6cbf4ab520"), linear-gradient(#433d37, #423b36, #534238, #3e362d, #4e4437); }
  [data-set="c6-heresy"]::before { background-image: url("/assets/lqip/c6-heresy-tall.webp?v=b899e6b84b"), linear-gradient(#3f332e, #382e29, #3e291d, #5f4431, #685341); }
  [data-set="c7-violence"]::before { background-image: url("/assets/lqip/c7-violence-tall.webp?v=dea3468f3f"), linear-gradient(#37312f, #4b3a33, #573b31, #472b23, #51342f); }
  [data-set="c8-fraud"]::before { background-image: url("/assets/lqip/c8-fraud-tall.webp?v=ff17d23b6d"), linear-gradient(#2c2625, #483c35, #534135, #4e3f33, #5e4937); }
  [data-set="c9-treachery"]::before { background-image: url("/assets/lqip/c9-treachery-tall.webp?v=da0a02acbb"), linear-gradient(#3e4853, #44505b, #606a74, #54616d, #56606b); }
  [data-set="gate"]::before { background-image: url("/assets/lqip/gate-tall.webp?v=79feb400d9"), linear-gradient(#493b34, #52453c, #2d2623, #443835, #554a49); }
  [data-set="hero"]::before { background-image: url("/assets/lqip/hero-tall.webp?v=0230e01d36"), linear-gradient(#3e3f46, #3c3e44, #575251, #533c35, #49322a); }
  [data-set="out"]::before { background-image: url("/assets/lqip/out-tall.webp?v=3153be0dd5"), linear-gradient(#302e36, #898897, #aaa1ac, #908680, #61594f); }
}
.set :is(img, canvas) { transition: opacity .2s ease; }
.set.wait :is(img, canvas) { opacity: 0; }
/* A cut that decodes while its set is still held back fades with the reveal itself, not unseen beforehand. */
html.js:not(.hero-ready) .hero .set img, .scene.arriving .set img, html.js.deep:not(.ready) #out .set img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .set :is(img, canvas) { transition: none; } }
.scene:not(.hero) .backdrop, .scene:not(.hero) .set::before { mask: url("/assets/join-edge.png?v=c404f95d1e") var(--jx, 0%) 0 / 100% calc(var(--join) * 100%) repeat-x, linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--join) * 100% + 1px) no-repeat; }
/* Treachery's painted fog meets Fraud on a near-level line: a narrower edge tile makes that boundary wander more. */
.scene[data-w="c9"] .backdrop, .scene[data-w="c9"] .set::before { mask-size: 45% calc(var(--join) * 100%), 100% calc(100% - var(--join) * 100% + 1px); }
.set > .piece, .pw > .piece { z-index: 2; }
/* home.js: the set-sized wrapper that carries a depth piece's pointer offset; it takes the piece's z-index. */
.pw { position: absolute; inset: 0; pointer-events: none; }
/* On the piece's own picture, so children reaching outside it (arms, a figure on its rock) are never cut.
   --et/--ef: where the top fade starts and its length; --eb/--eg: where the bottom fade ends and its length (theatre.py). */
/* Not inherited: a nested piece never takes its parent's fade. */
@property --et { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --ef { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --eb { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --eg { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --net { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --nef { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --neb { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --neg { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
/* A nested piece rides its parent's motion and depth drift; inheriting them added a second drift in its own height
   (Luckey's cut feet slid off the feet painted on his rock) and a second idle motion (the flame on his blade). */
@property --depth { syntax: '*'; inherits: false; }
@property --motion { syntax: '*'; inherits: false; }
.piece.edge-soften { --mt: var(--et, 0%); --mf: var(--ef, 0%); --mb: var(--eb, 100%); --mg: var(--eg, 0%); }
.piece.edge-soften > :is(img, canvas) { mask-image: linear-gradient(transparent var(--mt), rgba(0,0,0,.25) calc(var(--mt) + var(--mf) * .4), rgba(0,0,0,.7) calc(var(--mt) + var(--mf) * .7), #000 calc(var(--mt) + var(--mf)),
  #000 calc(var(--mb) - var(--mg)), rgba(0,0,0,.7) calc(var(--mb) - var(--mg) * .7), rgba(0,0,0,.25) calc(var(--mb) - var(--mg) * .4), transparent var(--mb)); }
/* fadeWander: the bottom fade is the backdrops' wandering join edge laid over the fade band, so a dissolving
   figure never ends on a ruled line (theatre.py writes --wp/--nwp). The solid layer runs 2px into the edge tile (its top
   rows are opaque): meeting exactly left a sub-pixel gap that showed as a pale 1px line across the figure. */
.piece.edge-soften.edge-wander { --mwp: var(--wp, 100%); }
.piece.edge-soften.edge-wander > :is(img, canvas) { mask-image: linear-gradient(transparent var(--mt), rgba(0,0,0,.25) calc(var(--mt) + var(--mf) * .4), rgba(0,0,0,.7) calc(var(--mt) + var(--mf) * .7), #000 calc(var(--mt) + var(--mf)),
  #000 calc(var(--mb) - var(--mg) + 2px), transparent calc(var(--mb) - var(--mg) + 2px)), url("/assets/join-edge-down.png?v=8fe61251e6");
  mask-position: 0 0, 0 var(--mwp); mask-size: 100% 100%, 100% var(--mg); mask-repeat: no-repeat, repeat-x; }
.set > [data-piece^="fore"], .pw > [data-piece^="fore"] { z-index: 6; }
.set.set-join > .piece, .set-join > .pw > .piece { z-index: 1; }
.set .backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--bx, 50%) 50%; }
.piece { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform-origin: var(--o, 50% 100%);
  animation-name: var(--motion, none), var(--depth, none);
  animation-duration: var(--t, 6s), 1ms; animation-timing-function: var(--ease, ease-in-out), linear; animation-delay: var(--d, 0s), 0s;
  animation-iteration-count: infinite, 1; animation-direction: var(--dir, alternate), normal; animation-fill-mode: none, both;
  animation-play-state: paused; }
.piece > img, .piece > canvas { display: block; width: 100%; height: auto; }
.piece > canvas { position: absolute; inset: 0; height: 100%; }
.piece.warping > img { visibility: hidden; }
/* A warp's canvas (drawn in a worker) shows only once it has drawn; until then the image stands in. */
.piece:not(.warping) > canvas { visibility: hidden; }
.set.live .piece { animation-play-state: running; }
/* home.js marks a cut well off screen .off: its idle motion holds, its depth drift keeps following the scroll. */
.set.live .piece.off { animation-play-state: paused, running; }
/* Without JS nothing turns live, so every piece and phone glow stands still at its resting place, as with reduced
   motion. A paused drift froze near pieces past their set's clip (a ruled line across each join); a running one kept
   ~170 scroll-linked compositor animations going, and Chrome then decoded late images seconds after the rest
   (Ilya's sleeve and hand above the slab, his body missing). */
html:not(.js) :is(.piece, .ph) { animation: none !important; }
@supports (animation-timeline: view()) {
  .piece { animation-timeline: auto, view(); }
  :is(.set, .pw) > .z-1 { --depth: depth-far; } :is(.set, .pw) > .z1 { --depth: depth-near; } :is(.set, .pw) > .z2 { --depth: depth-fore; }
}
@keyframes depth-far { from { translate: 0 -1.5%; } to { translate: 0 1.5%; } }
@keyframes depth-near { from { translate: 0 4%; } to { translate: 0 -4%; } }
@keyframes depth-fore { from { translate: 0 9%; } to { translate: 0 -9%; } }
@media (orientation: portrait) {
  .set.has-narrow { left: 0; width: 100%; aspect-ratio: 2 / 3; }
  .set.has-narrow > .piece, .set.has-narrow > .pw > .piece { left: var(--nx); top: var(--ny); width: var(--nw); rotate: var(--nrot, 0deg); transform-origin: var(--no, var(--o, 50% 100%)); }
  .set.has-narrow > .nh, .set.has-narrow > .pw > .nh { display: none; }
  .set.has-narrow .piece.edge-soften { --mt: var(--net, 0%); --mf: var(--nef, 0%); --mb: var(--neb, 100%); --mg: var(--neg, 0%); }
  .set.has-narrow .ph { --k: var(--ngk, 1); }
  .set.has-narrow .piece.edge-soften.edge-wander { --mwp: var(--nwp, 100%); }
  /* A phone layout may zoom its backdrop (theatre.py backdropZoom/backdropY): the picture grows about its focus, and
     the arriving join band stays on the set's own top edge, not the enlarged picture's. */
  .set.has-narrow.nbz .backdrop { left: calc((1 - var(--nbz)) * var(--bx)); top: calc((1 - var(--nbz)) * var(--nby) * 100%); width: calc(var(--nbz) * 100%); height: calc(var(--nbz) * 100%); }
  .scene:not(.hero) .set.has-narrow.nbz .backdrop { --nb0: calc((var(--nbz) - 1) * var(--nby) * var(--set-h));
    mask-position: var(--jx, 0%) var(--nb0), 0 100%; mask-size: 100% calc(var(--join) * var(--set-h)), 100% calc(100% - var(--nb0) - var(--join) * var(--set-h) + 1px); }
}
/* phone glow: a soft blue-white light on the face, flickering like a feed refreshing */
.ph { position: absolute; left: var(--gx); top: var(--gy); width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  --k: var(--gk, 1); /* the piece's edge-mask opacity at the glow (theatre.py): a glow never outlives its painting */
  background: radial-gradient(closest-side, rgba(225, 238, 255, calc(.55 * var(--k))), rgba(150, 190, 255, calc(.18 * var(--k))) 55%, rgba(150, 190, 255, 0)); mix-blend-mode: screen;
  animation: ph var(--gt) steps(2, jump-none) infinite alternate paused; }
.set.live .ph { animation-play-state: running; } .set.live .ph.off { animation-play-state: paused; }
@keyframes ph { 0% { opacity: .55; } 40% { opacity: 1; } 100% { opacity: .75; } }
.m-bob { --motion: p-bob; } .m-sway { --motion: p-sway; } .m-swing { --motion: p-swing; } .m-breathe { --motion: p-breathe; }
.m-light { --motion: p-light; --dir: normal; }
@keyframes p-light { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }
.m-drift { --motion: p-drift; } .m-flicker { --motion: p-flicker; } .m-wave { --motion: p-wave; } .m-float { --motion: p-float; }
.m-shiver { --motion: p-shiver; } .m-roll { --motion: p-roll; } .m-heave { --motion: p-heave; } .m-wade { --motion: p-wade; }
.m-undulate { --motion: p-undulate; } .m-jab { --motion: p-jab; --ease: cubic-bezier(.2, .9, .3, 1); --dir: normal; }
@keyframes p-bob { from { transform: translateY(calc(var(--a) * -1.2%)) rotate(calc(var(--a) * -1.2deg)); } to { transform: translateY(calc(var(--a) * 1.2%)) rotate(calc(var(--a) * 1.2deg)); } }
@keyframes p-heave { 0% { transform: translateY(0) rotate(calc(var(--a) * -2deg)); } 50% { transform: translateY(calc(var(--a) * 1.8%)) rotate(calc(var(--a) * .5deg)); } 100% { transform: translateY(calc(var(--a) * .4%)) rotate(calc(var(--a) * 2deg)); } }
@keyframes p-wade { from { transform: translateY(calc(var(--a) * -.8%)) rotate(calc(var(--a) * -.6deg)); } to { transform: translateY(calc(var(--a) * .8%)) rotate(calc(var(--a) * .6deg)); } }
@keyframes p-undulate { 0% { transform: translateY(0) rotate(calc(var(--a) * -.5deg)) scaleY(1); } 50% { transform: translateY(calc(var(--a) * -1.5%)) rotate(calc(var(--a) * .2deg)) scaleY(1.02); } 100% { transform: translateY(calc(var(--a) * .6%)) rotate(calc(var(--a) * .6deg)) scaleY(.99); } }
@keyframes p-jab { 0%, 55% { transform: rotate(0); } 63% { transform: rotate(calc(var(--a) * -5deg)); } 72% { transform: rotate(calc(var(--a) * 1.5deg)); } 80%, 100% { transform: rotate(0); } }
@keyframes p-sway { from { transform: rotate(calc(var(--a) * -1.6deg)); } to { transform: rotate(calc(var(--a) * 1.6deg)); } }
@keyframes p-swing { from { transform: rotate(calc(var(--a) * -5deg)); } to { transform: rotate(calc(var(--a) * 5deg)); } }
@keyframes p-breathe { from { transform: scale(1); } to { transform: scale(calc(1 + var(--a) * .018)); } }
@keyframes p-drift { from { transform: translateX(calc(var(--a) * -2%)); } to { transform: translateX(calc(var(--a) * 2%)); } }
@keyframes p-flicker { 0% { opacity: .78; transform: scaleY(.97); } 30% { opacity: 1; transform: scaleY(1.03); } 55% { opacity: .85; transform: scaleY(.99); } 100% { opacity: 1; transform: scaleY(1.02); } }
@keyframes p-wave { from { transform: skewY(calc(var(--a) * -2.5deg)) scaleX(.985); } to { transform: skewY(calc(var(--a) * 2.5deg)) scaleX(1.01); } }
@keyframes p-float { 0% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(calc(var(--a) * 6%), calc(var(--a) * -4%)) rotate(3deg); } 100% { transform: translate(calc(var(--a) * 12%), 0) rotate(-2deg); } }
@keyframes p-shiver { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(calc(var(--a) * -.4%)); } 40% { transform: translateX(calc(var(--a) * .4%)); } 60% { transform: translateX(calc(var(--a) * -.3%)); } 80% { transform: translateX(calc(var(--a) * .3%)); } }
@keyframes p-roll { from { transform: rotate(calc(var(--a) * -4deg)); } to { transform: rotate(calc(var(--a) * 6deg)); } }
@media (prefers-reduced-motion: reduce) { .piece, .ph { animation: none !important; } }
/* Lower sets stay unfetched until the first painting is in (their cuts are display: none), but their stand-ins show. */
html.js:not(.ready):not(.deep) .scene:not(.hero):not(.arriving) .set > *, html.js.deep:not(.ready) .scene:not(.hero):not(.out) .set > * { display: none; }
/* The hero painting appears in one frame once every hero cut has decoded (home.js), over its stand-in; if home.js
   never runs, it shows after 8 s anyway. */
html.js:not(.hero-ready) .hero .set { visibility: hidden; animation: hero-fallback 0s 8s forwards; }
@keyframes hero-fallback { to { visibility: visible; } }
.scene.arriving .set { visibility: hidden; }
.hero .set::before, .scene.arriving .set::before, html.js.deep .set::before { visibility: visible; }
/* Landing on #out/#support: that set is fetched first, hero and all; its words and links show at once (home.js). */
html.js.deep:not(.ready) #out .set { visibility: hidden; }
html.js.deep:not(.ready) body > :not(main), html.js.deep:not(.ready) main > :not(#out) { visibility: hidden; }
/* Captions follow quiet rock, sky and water, not a shared overlay position. */
[data-w="hero"] { --say-x: 4%; --say-y: 12%; --say-w: 27%; --say-ny: 9%; }
/* Below the join band (top --join of each set), in each circle's calm rock, sky or smoke. */
[data-w="c1"] { --say-x: 64%; --say-y: 11%; --say-w: 29%; --say-ny: 9%; }
[data-w="c2"] { --say-x: 41%; --say-y: 9%; --say-w: 29%; --say-ny: 9%; }
[data-w="c3"] { --say-x: 1.5%; --say-y: 11%; --say-w: 20%; --say-ny: 9%; }
[data-w="c4"] { --say-x: 5%; --say-y: 12%; --say-w: 27%; --say-ny: 9%; }
[data-w="c5"] { --say-x: 5%; --say-y: 11%; --say-w: 29%; --say-ny: 9%; }
[data-w="c6"] { --say-x: 5%; --say-y: 11%; --say-w: 29%; --say-ny: 9%; }
[data-w="c7"] { --say-x: 5%; --say-y: 11%; --say-w: 30%; --say-ny: 9%; }
[data-w="c8"] { --say-x: 5%; --say-y: 11%; --say-w: 34%; --say-ny: 9%; }
[data-w="c9"] { --say-x: 5%; --say-y: 11%; --say-w: 29%; --say-ny: 9%; }
@media (orientation: landscape) { [data-w="c3"] .num { font-size: clamp(2.2rem, 3.5vw, 3.2rem); } } /* clear of the crawler's first head */
@media (orientation: portrait) {
  /* Compact, so the words take the circle's top band and leave its figures below them. */
  .circle .say { gap: .45rem; }
  .circle .num { font-size: 2rem; }
  .circle .line { min-height: 0; font-size: .875rem; line-height: 1.35; }
}

/* The visitor's head moves the cut paper, never the fresco. Reactions belong to the
   image/canvas child; the parent's transform and view-timeline translate remain its own. */
@media (prefers-reduced-motion: no-preference) {
  @property --a { syntax: '<number>'; inherits: false; initial-value: 1; }
  .piece { pointer-events: none; transition: --a var(--recover, .45s) cubic-bezier(.2,.7,.2,1); cursor: default; }
  .piece > img, .piece > canvas {
    transform: rotate(var(--rr, 0deg)) scale(var(--rs, 1));
    transform-origin: inherit;
    transition: transform var(--recover, .5s) cubic-bezier(.2,.7,.2,1), opacity var(--recover, .5s);
    opacity: var(--ro, 1);
  }
  .set.fading .piece > :is(img, canvas) { transition: transform var(--recover, .5s) cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
  /* The lantern swings its image about its chain (--rr); the light inside must swing about the same point, not
     its own centre, or one bar hangs outside the glass. Parent pivot (48.09% 0.83%) in the flame's own box. */
  [data-piece="lantern-flame"] > img { transform-origin: 46.22% -228.11%; }
  /* Pointer parallax: home.js wraps each moving piece of a depth layer in a set-sized .pw and sets its transform
     (the piece's offset times its --pz). Only the wrapper restyles per pointer sample; the transition runs on the
     compositor. The offset now sits outside the piece's sway instead of inside it (the old p-parallax was added to
     the motion transform), so a swaying cut's offset is no longer turned by its sway angle: under a pixel, pointer only. */
  .pw { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .z-1 { --pz: -.35; } .z0 { --pz: 0; } .z1 { --pz: .7; } .z2 { --pz: 1.3; }
  [data-piece^="fore"] { --pz: 1.6; }
  [data-set="out"] :is([data-piece="stairs"], [data-piece="city"], [data-piece="fore-foot"], [data-piece="fore-rim"]) { --pz: 0; }
  [data-set="out"] [data-piece="sun-halo"] { --ro: .9; }
  [data-set="hero"] [data-piece="machine-energy-flow"] { --ro: .85; }
  [data-set="c1-limbo"] [data-piece="halo"] { --ro: .85; }
  .ph { transform: scale(var(--gs, 1)); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  @keyframes ph { 0% { opacity: var(--gmin, .55); } 40% { opacity: 1; } 100% { opacity: .75; } }
  @keyframes p-flicker { 0% { opacity: var(--fmin, .78); transform: scaleY(calc(1 - var(--fk, 1) * .03)); } 30% { opacity: 1; transform: scaleY(calc(1 + var(--fk, 1) * .03)); } 55% { opacity: .85; transform: scaleY(calc(1 - var(--fk, 1) * .01)); } 100% { opacity: 1; transform: scaleY(calc(1 + var(--fk, 1) * .02)); } }
  @keyframes p-light { 0%, 100% { opacity: var(--lmin, .9); } 50% { opacity: 1; } }
}

/* ---- the Gate: Vella's number, shining out of the doorway the souls are reaching for ---- */
.reveal { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; gap: .35rem; text-decoration: none; color: #f1edff; text-align: center; white-space: nowrap; pointer-events: auto; cursor: pointer; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.reveal:hover, .reveal:focus-visible { transform: scale(1.06); }
.reveal::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: 150%; aspect-ratio: 1.15; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 132, 235, .2), rgba(110, 92, 210, .08) 55%, transparent); pointer-events: none; }
.rv-was { font: 400 clamp(1rem, 1.35vw, 1.3rem)/1 var(--serif); color: rgba(225, 220, 240, .62); letter-spacing: .01em; }
.rv-was b { font-weight: 400; color: rgba(225, 220, 240, .8); }
.rv-num { font: 300 clamp(5.5rem, 10.5vw, 10rem)/.9 var(--serif); letter-spacing: -.035em; color: #f3efff; text-shadow: 0 0 .18em rgba(196, 181, 253, .55), 0 0 .6em rgba(160, 140, 250, .35), 0 .04em .02em rgba(0, 0, 0, .6); }
.rv-unit { font: 500 clamp(.68rem, .75vw, .78rem)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(225, 220, 240, .55); }
.rv-name { display: inline-flex; align-items: center; gap: .55rem; margin-top: .55rem; font: 600 clamp(1rem, 1.25vw, 1.2rem)/1 var(--sans); color: var(--lav); }
.rv-name svg { width: 1.05em; height: 1.2em; fill: currentColor; }
.rv-name rect { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .rv-name rect { animation: rv-bar 1.6s ease-in-out infinite alternate; }
  .rv-name.off rect { animation-play-state: paused; }
  .rv-name rect:nth-child(2), .rv-name rect:nth-child(4) { animation-delay: -.5s; }
  .rv-name rect:nth-child(3) { animation-delay: -1s; }
  @keyframes rv-bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
  @supports (animation-timeline: view()) {
    .reveal { animation: rv-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    @keyframes rv-rise { from { scale: .72; opacity: 0; } 60% { opacity: 1; } to { scale: 1; opacity: 1; } }
  }
}
@media (orientation: portrait) {
  .reveal { gap: .2rem; top: 46%; }
  .rv-num { font-size: 4.1rem; }
  .rv-was { font-size: .85rem; }
  .rv-unit { font-size: .6rem; letter-spacing: .12em; }
  .rv-name { margin-top: .3rem; font-size: .95rem; }
}
/* Phones: the measurement line stays inside the Gate's black opening (about 70 % of the width, the phone layout zooming
   the Gate 1.15×, between the relief figures); where one line would reach the relief arms it wraps into two balanced lines. */
@media (orientation: portrait) {
  .rv-unit { white-space: normal; text-wrap: balance; max-width: 56vw; line-height: 1.45; }
}
@media (orientation: portrait) and (max-width: 389px) {
  .rv-unit { max-width: 15em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal:hover, .reveal:focus-visible, .give:hover svg, .give:focus-visible svg { transform: none; }
}

/* Keep the narrative in the quiet bands above the faces, including the complete desktop copy. Eight verse lines need
   more height than the prose did: where the full size would reach a face, a hand or painted lettering, the circle takes
   the compact size and the quietest band (Limbo above Cook, Lust above Jensen's reach,
   Gluttony in the storm right of the crawler, Wrath above the banner, Violence above the rioters, Fraud above the booth). */
@media (orientation: landscape) {
  [data-w="c1"] { --say-x: 61.5%; --say-y: 8%; }
  [data-w="c2"] { --say-x: 43%; --say-y: 5%; }
  [data-w="c3"] { --say-y: 9%; }
  [data-w="c5"] { --say-y: 8%; }
  [data-w="c7"] { --say-y: 3.5%; }
  [data-w="c8"] { --say-y: 5%; }
  [data-w="c9"] { --say-y: 9.5%; } /* the last line ends above the frozen chair */
  :is([data-w="c1"], [data-w="c2"], [data-w="c3"], [data-w="c5"], [data-w="c7"], [data-w="c8"]) .num { font-size: 3.2rem; }
  :is([data-w="c1"], [data-w="c2"], [data-w="c3"], [data-w="c5"], [data-w="c7"], [data-w="c8"]) .line { font-size: 1rem; line-height: 1.35; min-height: 0; }
  /* Lust, Violence and Fraud: smaller headings (and in Violence smaller lines), so the last line ends above Jensen's
     reach, the centaur's head and the automaton's head */
  :is([data-w="c2"], [data-w="c7"], [data-w="c8"]) .say { gap: .6rem; }
  :is([data-w="c2"], [data-w="c8"]) .num { font-size: 2.9rem; }
  [data-w="c7"] .num { font-size: 2.6rem; }
  [data-w="c7"] .line { font-size: .9375rem; line-height: 1.3; }
}
/* Wide screens: a verse line never wraps; the box is as wide as its longest line and stays on screen when the painting
   is wider than the window (short landscape windows crop the set's sides). Gluttony hangs from the right edge. */
@media (orientation: landscape) {
  .line .v { white-space: nowrap; }
  .circle .say, .hero .say { width: max-content; left: max(var(--say-x, 5%), calc((var(--W) - 100vw) / 2 + 1rem)); }
  [data-w="c3"] .say { left: auto; right: max(1.5%, calc((var(--W) - 100vw) / 2 + 1rem)); }
}
/* Phones: the opening words end above the Creation group's raised papers (tighter lines; smaller below 360 px), and
   Violence's words sit high in the smoke, clear of the tomb above and of Luckey's raised flaming sword below (his group
   also stands smaller and lower in the narrow layout). */
@media (orientation: portrait) {
  .hero .line .typed { line-height: 1.45; }
  [data-w="c7"] { --say-ny: 3.5%; }
  [data-w="c7"] .line .typed { line-height: 1.3; }
}
@media (orientation: portrait) and (max-width: 359px) {
  .circle { --say-ny: 6%; }
  .circle[data-w="c7"] { --say-ny: 2.75%; }
  .hero .line { font-size: .875rem; }
  .hero .line .typed { line-height: 1.4; }
  .circle .num { font-size: 1.75rem; }
  .circle .line { font-size: .8125rem; line-height: 1.3; }
  .out-say { top: 7%; }
  .out-say .line { font-size: .9375rem; line-height: 1.35; }
}
/* The verse: each verse line on its own line, couplets set slightly apart; a line that ever wraps hangs indented.
   Phones show the first four lines, also without JavaScript. Dictation hides words still to come in place. */
.line .v { display: block; padding-left: .9em; text-indent: -.9em; }
.line .v:nth-child(2n+3) { margin-top: .3em; }
.out-say .line .v { padding-left: 0; text-indent: 0; }
.words.typing .w:not(.on) { visibility: hidden; }
@media (orientation: portrait) { .line .v:nth-child(n+5) { display: none; } }

/* ---- the Gate: under the carved inscription, at the top of the dark doorway, Vella's number and then its verse in
   one column (number above the words at every width) ---- */
.gate-col { position: absolute; left: 50%; top: var(--gc-y, 29.5%); translate: -50% 0; display: grid; justify-items: center; gap: var(--gc-gap, 1.3rem); width: max-content; }
.gate .reveal { position: relative; left: auto; top: auto; translate: none; }
.gate-say { position: relative; width: max-content; }
.gate-say .line { min-height: 0; }
@media (orientation: landscape) {
  .gate .rv-num { font-size: clamp(5rem, 8.5vw, 8.5rem); }
  .gate-say .line { font-size: clamp(1rem, 1.15vw, 1.2rem); line-height: 1.35; }
  .gate-say .typed { line-height: inherit; }
  .gate-say .line .v { text-align: center; padding-left: 0; text-indent: 0; }
}
/* Phones: the label set as one row (507× beside its baseline and measurement) with the name under it, then the four
   lines, so the whole column ends above the laptops and hands reaching into the opening. Sizes follow the width, as
   the painting does. */
@media (orientation: portrait) {
  .gate-col { --gc-y: 30.4%; --gc-gap: .5rem; }
  .gate-say .line { font-size: clamp(.75rem, 3.33vw, .875rem); line-height: 1.25; }
  .gate-say .typed { line-height: inherit; }
  .gate-say .line .v:nth-child(2n+3) { margin-top: .15em; }
  .gate .reveal { width: max-content; grid-template-columns: auto auto; grid-template-areas: "num was" "num unit" "name name"; column-gap: .5rem; row-gap: .1rem; align-items: center; }
  .gate .rv-num { grid-area: num; font-size: 12.5vw; }
  .gate .rv-was { grid-area: was; align-self: end; justify-self: start; font-size: max(.6rem, 2.9vw); }
  .gate .rv-unit { grid-area: unit; align-self: start; justify-self: start; text-align: left; max-width: none; font-size: max(.5rem, 2.4vw); letter-spacing: .07em; line-height: 1.3; color: rgba(225, 220, 240, .72); }
  .gate .rv-unit > span { display: block; white-space: nowrap; }
  .gate .rv-unit > .rv-sep { display: none; }
  .gate .rv-name { grid-area: name; margin-top: .25rem; font-size: max(.75rem, 3.4vw); }
}
/* Below 360 px the opening is shortest: a smaller number and tighter lines keep the last line above the raised laptop. */
@media (orientation: portrait) and (max-width: 359px) {
  .gate .rv-num { font-size: 11vw; }
  .gate-say .line { line-height: 1.18; }
}

/* ---- the way out on wide screens: the three couplets side by side, clear of the sun ---- */
@media (orientation: landscape) {
  .out-say .line { max-width: none; }
  .out-say .words { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; column-gap: 3.5rem; }
  .out-say .line .v { margin-top: 0; }
}
/* Phones on their side: the couplets do not fit beside each other; the heading and the two links carry it. */
@media (orientation: landscape) and (max-height: 500px) { .out-say .line { display: none; } }
/* Phones: four verse lines reach lower than the old copy did; Lust, Wrath and Fraud start higher so the last line
   ends above the PLEASE TAKE OUR MONEY placard, Grok's head and Jesse's head. */
@media (orientation: portrait) {
  .circle[data-w="c2"] { --say-ny: 6%; }
  /* Greed, Wrath and Fraud: Plutus's, Grok's and Jesse's heads rise to the bottom of the words' band, so these words
     start in the join band, in tighter lines, and the soft backing ends just under the last line (darker towards its
     edge to keep that line legible): neither the words nor the backing reach a head. */
  .circle:is([data-w="c4"], [data-w="c5"], [data-w="c8"]) { --say-ny: 2.5%; }
  :is([data-w="c4"], [data-w="c5"], [data-w="c8"]) .line .typed { line-height: 1.3; }
  :is([data-w="c4"], [data-w="c5"], [data-w="c8"]) .say::before { inset: -18% -30% -5% -45%; background: radial-gradient(closest-side, rgba(8, 7, 12, .78), rgba(8, 7, 12, .55) 70%, transparent); }
}
@media (orientation: portrait) and (max-width: 359px) {
  .circle:is([data-w="c4"], [data-w="c5"]) { --say-ny: 1.5%; }
}

/* ---- the apps, after the way out: each one's own mark glowing in its colour like Vella's number in the Gate, its
   name, the one-line idea in the verse's serif, then its links. ---- */
.apps { position: relative; z-index: 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; max-width: 76rem; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) var(--gutter) clamp(5rem, 9vw, 7.5rem); }
/* The painting's clipped foot dissolves into the page ground instead of stopping on a ruled line. The fade only rises
   as the band scrolls in, so a jump to #support (the foot on the screen's bottom edge) shows the painting untouched. */
.apps::before { content: ""; position: absolute; z-index: -1; left: 50%; top: calc(.1rem - var(--foot, 4.5rem)); width: 100vw; height: var(--foot, 4.5rem); translate: -50% 0; background: linear-gradient(rgba(11, 10, 16, 0), rgba(11, 10, 16, .35) 35%, rgba(11, 10, 16, .8) 75%, var(--bg)); pointer-events: none; opacity: 0; }
@supports (animation-timeline: view()) {
  .apps { view-timeline: --apps block; }
  .apps::before { animation: apps-foot linear both; animation-timeline: --apps; animation-range: entry 0px entry 16rem; }
}
@keyframes apps-foot { to { opacity: 1; } }
/* under the two ways to give, never over them */
@media (orientation: portrait) { .apps { --foot: 2.5rem; } }
.app { --c: var(--lav); --glow: 160, 140, 250; display: grid; justify-items: center; align-content: start; text-align: center; }
.app-heimdall { --c: #f5f5f7; --glow: 205, 215, 240; }
.app-arsenal { --c: #5aa9ff; --glow: 10, 132, 255; }
.app-head { position: relative; display: grid; justify-items: center; gap: 1.1rem; text-decoration: none; color: var(--c); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.app-head::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 2.6rem; width: 15rem; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), .2), rgba(var(--glow), .07) 55%, transparent); pointer-events: none; }
.app-head:hover, .app-head:focus-visible { transform: scale(1.05); }
.app-mark { height: 5.2rem; width: auto; max-width: 8rem; fill: currentColor; filter: drop-shadow(0 0 .9rem rgba(var(--glow), .5)) drop-shadow(0 0 2.4rem rgba(var(--glow), .3)); }
.app-name { display: inline-flex; align-items: center; gap: .6rem; font: 400 clamp(2rem, 2.6vw, 2.6rem)/1 var(--serif); letter-spacing: -.01em; color: var(--text); }
.app-tag { font: 600 .6875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c); border: 1px solid rgba(var(--glow), .55); border-radius: 99px; padding: .32rem .5rem .3rem .6rem; translate: 0 .1em; }
.app-idea { margin-top: .9rem; max-width: 19em; font: 400 clamp(1.05rem, 1.2vw, 1.2rem)/1.42 var(--serif); color: var(--dim); text-wrap: balance; }
.app-go { display: flex; justify-content: center; gap: 1.8rem; margin-top: 1.5rem; font: 400 1.15rem/1.1 var(--serif); }
.app-go a { display: inline-flex; align-items: center; gap: .45em; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: .2em; transition: border-color .2s ease, color .2s ease; }
.app-go svg { width: .85em; height: .85em; fill: currentColor; }
.app-go a:hover, .app-go a:focus-visible { color: var(--c); border-color: var(--c); }
.app-brew { margin-top: 1.3rem; font: 400 .8125rem/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(225, 220, 240, .6); -webkit-user-select: all; user-select: all; white-space: nowrap; }
/* Heimdall's command is the longest: it wraps at its spaces instead of leaving its column. */
.app-heimdall .app-brew { white-space: normal; max-width: 100%; }
.app-brew .nw { white-space: nowrap; }
@media (max-width: 899px) {
  .apps { grid-template-columns: minmax(0, 1fr); gap: 4.2rem; padding-top: 4.5rem; }
  .app-mark { height: 4.4rem; }
  .app-head::before { top: 2.2rem; width: 12rem; }
  .app-brew { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .app-head:hover, .app-head:focus-visible { transform: none; } }
