/* The Last Board Game · Open Sky: internal website draft. Palette, type and voice: brand-ideas/opensky/README.md.
   The sky is one long gradient, sampled from the key picture, that the page scrolls down through:
   night at the top of the hero, peach where the sky ends and the table begins. Below the sky the page
   is plain sections; the flat tiles in their diagrams are drawn at the end of this file. */

:root {
  --dusk: #052766; --dusk-deep: #0A1A4A; --violet: #6E62B8; --peach: #D5A6A2; --cloud: #FBF1E6; --signal: #F0642B;
  --ink: #1B1D3C; --fall: #3C8DC9; --blossom: #F4A9B8; --rule: rgba(27, 29, 60, .16);
  --display: "HelveticaNeue-CondensedBlack", "Helvetica Neue Condensed Black", "Arial Narrow Bold", Impact, sans-serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --plate: "DIN Alternate", "DIN Condensed", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cloud); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* the plate: the wordmark, and every game title */
.plate { display: inline-flex; align-items: center; gap: .55em; background: var(--cloud); color: var(--ink);
  font: 400 30px/1 var(--display); letter-spacing: .01em; padding: .34em .5em .36em; border-radius: .28em;
  box-shadow: inset 0 0 0 .11em var(--cloud), inset 0 0 0 .17em var(--ink); text-decoration: none; white-space: nowrap; }
.plate::before, .plate::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--ink); }
.plate.game { background: var(--ink); color: var(--cloud); box-shadow: inset 0 0 0 .11em var(--ink), inset 0 0 0 .17em var(--cloud);
  font: 700 17px/1 var(--plate); letter-spacing: .14em; text-transform: uppercase; padding: .62em .7em .56em; }
.plate.game::before, .plate.game::after { background: var(--cloud); }

/* the logo (brand-ideas/fullstop): the back of a tile, white with its one button, beside the name. The button is the
   full stop. Turned over, the tile shows a face from one of the games; the type and the badge are img/brand/*.svg */
.logo { display: inline-flex; align-items: center; gap: .26em; font-size: 46px; text-decoration: none; flex: none; transition: font-size .3s; }
.logo-tile { width: 1em; height: 1em; flex: none; perspective: 6em; }
.logo-card { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.3, .9, .3, 1); }
.logo-back, .logo-front { position: absolute; inset: 0; border-radius: 8.4%; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 .04em .07em rgba(3, 8, 34, .28), 0 .16em .3em -.08em rgba(3, 8, 34, .45); }
.logo-back { background: var(--cloud); }
.logo-back::after { content: ""; position: absolute; right: 6.8%; bottom: 6.8%; width: 22.4%; aspect-ratio: 1; border-radius: 50%; background: var(--signal); }
.logo-front { background: #f2f1ed; transform: rotateY(180deg); }
.logo-front b { position: absolute; inset: 8%; border-radius: 4.8%; background: #c6c3ba; }
.logo.armed .logo-front b { background: #c6c3ba url(../img/brand/flip.webp) calc(var(--f, 0) * 20%) 0 / 600% 100% no-repeat; }
.logo.up .logo-card { transform: rotateY(180deg); }
.logo-word { width: auto; height: .86em; }
/* over the open sky the name carries a little of the night, as the hero's words do: a cloud behind a letter falls back from it */
.top:not(.on) .logo-word { filter: drop-shadow(0 0 3px #062a6e) drop-shadow(0 0 9px rgba(6, 42, 110, .92)); }
/* the full stop that ends a line the way it ends the name */
.stop { display: inline-block; width: .18em; height: .18em; margin-left: .035em; border-radius: 50%; background: var(--signal); color: transparent; overflow: hidden; vertical-align: baseline; }

.eyebrow { font: 700 14px/1.2 var(--plate); letter-spacing: .2em; text-transform: uppercase; color: var(--signal); }
.eyebrow.blossom { color: var(--blossom); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(50px, 6.6vw, 104px); }
h2 { font-size: clamp(40px, 5.4vw, 78px); }
h3 { font-size: 30px; line-height: 1.05; }
p.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 34em; }
figure { margin: 0; }
figure img { border-radius: 14px; width: 100%; }
figcaption { font-size: 14.5px; line-height: 1.45; margin-top: 10px; opacity: .8; max-width: 46em; }
.btn { display: inline-block; background: var(--signal); color: #fff; font: 700 16px/1 var(--plate); border: 0; cursor: pointer;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 1.05em 1.3em 1em; border-radius: 999px; }
.btn:hover { background: #ff7a41; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(251, 241, 230, .12); }
.btn.dark { background: var(--ink); } .btn.dark:hover { background: #2c2f5c; }
/* a card on the light page: paper on a soft, layered shadow, with a piece of the sky set into it */
.slab { border-radius: 26px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(27, 29, 60, .04), 0 2px 5px rgba(27, 29, 60, .05), 0 16px 30px -12px rgba(27, 29, 60, .16), 0 40px 60px -34px rgba(27, 29, 60, .34); }
.pic { position: relative; overflow: hidden; border-radius: 17px; background: var(--sky); }
.pic .cl { position: absolute; max-width: none; pointer-events: none; }
.pic .mat { position: absolute; left: 50%; top: 50%; width: auto; translate: -50% -50%; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
section { padding: 96px 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.head .eyebrow { margin-bottom: 16px; }

/* ------------------------------------------------------------------ the sky and its scenes */
.sky { position: relative; overflow: clip; color: var(--cloud);
  background: linear-gradient(#052767 0%, #0b3178 30%, #164092 64%, #1c489c 86%, #4a5bae 91%, #8176ba 95%, #c093ab 98%, #d5a6a2 100%); }
.sky.band { background: linear-gradient(#0a1a4a 0%, #164092 9%, #2c51a9 28%, #4a5bae 60%, #8176ba 82%, #c093ab 94%, #d5a6a2 100%); }   /* the box's own piece of sky */
.sky.dusk { background: linear-gradient(#d5a6a2 0%, #c093ab 14%, #917eba 42%, #8176ba 66%, #7570b7 100%); }                                          /* peach back up into dusk */
.stars { position: absolute; inset: 0 0 auto 0; height: 190vh; pointer-events: none; opacity: .9;
  background:
    radial-gradient(1.6px 1.6px at 12% 9%, #fff4d0 50%, transparent 51%), radial-gradient(1.2px 1.2px at 31% 22%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 47% 6%, #ffe9a8 50%, transparent 51%), radial-gradient(1.3px 1.3px at 63% 17%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 78% 4%, #fff4d0 50%, transparent 51%), radial-gradient(1.2px 1.2px at 91% 26%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 5% 33%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 22% 41%, #ffe9a8 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 56% 36%, #fff 50%, transparent 51%), radial-gradient(1.7px 1.7px at 84% 44%, #fff4d0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 38% 58%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 70% 63%, #fff 50%, transparent 51%);
  background-size: 620px 520px; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.sky-foot { position: relative; height: 64vh; overflow: hidden; }
.sky-foot .bank { position: absolute; max-width: none; animation: drift var(--dur, 46s) ease-in-out infinite alternate; }
.bank.a { width: 620px; left: -4%; bottom: -6%; --d: 34px; }
.bank.b { width: 520px; left: 30%; bottom: 4%; --d: 46px; --dur: 58s; }
.bank.c { width: 560px; right: -6%; bottom: -8%; --d: 30px; --dur: 52s; }
.bank.d { width: 380px; left: 12%; bottom: 38%; --d: 52px; --dur: 64s; opacity: .9; }
.bank.e { width: 420px; right: 14%; bottom: 30%; --d: 40px; --dur: 70s; opacity: .92; }

.scene { position: relative; padding: 0; height: 320vh; }
.scene[data-scene="arrival"] { height: 400vh; }
.scene[data-scene="rail"] { height: 340vh; }
.scene[data-scene="stream"] { height: 380vh; }
.scene[data-scene="falls"] { height: 300vh; }
.sky.dusk .scene[data-scene="falls"] { height: 230vh; }
.sky.band .scene[data-scene="stream"] { height: 330vh; }
.scene[data-scene="door"] { height: 280vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
header.hero > .pin { overflow: visible; overflow-x: clip; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; will-change: transform; pointer-events: none; }
.l { position: absolute; left: 0; top: 0; will-change: transform, opacity; transform-origin: 0 0; }
.l img { display: block; width: 100%; height: 100%; max-width: none; user-select: none; }
.l.sheet { overflow: hidden; }
.l.sheet img, .l.loop img { will-change: transform; }
.clip { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
.group { isolation: isolate; }
.i { width: 100%; height: 100%; }
.rv, .rvi { width: 100%; height: 100%; transform-origin: 50% 0; will-change: transform; }
.rv { overflow: hidden; }

/* idle life: all transform and opacity, all on the compositor */
.drift { animation: drift var(--dur, 40s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(calc(var(--d, 30px) * -1), 0, 0); } to { transform: translate3d(var(--d, 30px), 0, 0); } }
.bob { animation: bob var(--dur, 7s) ease-in-out infinite; }
@keyframes bob { 50% { transform: translate3d(0, var(--b, -8px), 0); } }
.spin { animation: spin var(--dur, 30s) linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rise { animation: rise var(--dur, 26s) linear infinite; animation-delay: var(--delay, 0s); opacity: 0; }
/* a lantern's light: a warm halo behind it that breathes a little. Light in the sky, never on a tile. */
.rise { position: relative; }
.rise img { position: relative; filter: brightness(1.12) saturate(1.1); }
.rise::before { content: ""; position: absolute; inset: -190% -230%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 232, 130, .7), rgba(255, 214, 92, .32) 34%, rgba(255, 200, 70, .1) 62%, rgba(255, 200, 70, 0));
  animation: glow 3.4s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes glow { 50% { opacity: .68; transform: scale(.92); } }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; }
  100% { transform: translate3d(var(--dx, 20px), var(--r, -300px), 0); opacity: 0; } }
.flap { animation: flap .42s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes flap { 50% { transform: scaleY(.3); } }
.breathe { transform-origin: 50% 100%; animation: breathe 6.5s ease-in-out infinite; }
@keyframes breathe { 0%, 50% { transform: scale(.2, 0); opacity: 0; } 58% { transform: scale(1, 1.06); opacity: 1; }
  82% { transform: scale(1, 1); opacity: 1; } 100% { transform: scale(1.1, .3); opacity: 0; } }
.smoke { animation: smoke 4.2s ease-out infinite; animation-delay: var(--delay, 0s); opacity: 0; }
@keyframes smoke { 0% { transform: translate3d(0, 0, 0) scale(.35); opacity: 0; } 12% { opacity: .95; }
  100% { transform: translate3d(var(--dx, 26px), var(--r, -90px), 0) scale(1.5); opacity: 0; } }
.pulse { animation: pulse 1.1s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes pulse { 50% { transform: scale(1.07, .93); } }
.l.loop { overflow: hidden; }
.l.loop img { animation: run var(--dur, 1s) steps(var(--n, 12)) infinite; }
@keyframes run { to { transform: translate3d(-100%, 0, 0); } }
.arrive { animation: arrive 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes arrive { from { transform: translate3d(5vw, -46vh, 0); } }

@keyframes arrive-side { from { transform: translate3d(-70vw, -4vh, 0); } }

/* the words beside a scene */
.say { position: absolute; z-index: 2; max-width: 23em; background: var(--cloud); color: var(--ink); padding: 26px 28px 24px;
  border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 26, 74, .28); will-change: transform, opacity; }
.say.left { left: max(32px, calc(50vw - 588px)); bottom: 12vh; }
.say.right { right: max(32px, calc(50vw - 588px)); bottom: 12vh; }
.say .eyebrow { margin-bottom: 10px; }
.say h3 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 10px; }
.say .fine, .fine { font-size: 13.5px; line-height: 1.4; opacity: .7; margin-top: 10px; }
.say.bare { max-width: 9.5em; padding: 0; background: none; box-shadow: none; color: var(--cloud); font-size: clamp(38px, 4.8vw, 68px); text-shadow: 0 2px 26px rgba(5, 20, 80, .55); }
.say.bare .eyebrow { color: var(--blossom); text-shadow: none; margin-bottom: 14px; }
.say.bare h2 { font-size: 1em; }

/* hero */
.top { position: fixed; z-index: 60; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 20px; color: var(--cloud);
  padding: 20px max(32px, calc(50vw - 588px)); transition: background-color .3s, padding .3s, box-shadow .3s; }
.top.on { background: rgba(10, 26, 74, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 10px 30px -18px rgba(5, 12, 40, .8); }
.top.on .logo { font-size: 40px; }
.top .links { display: flex; gap: 18px; margin-left: auto; white-space: nowrap; font: 700 13px/1 var(--plate); letter-spacing: .15em; text-transform: uppercase; }
.top .links a { text-decoration: none; opacity: .86; } .top .links a:hover { opacity: 1; color: var(--blossom); }
.top .btn { font-size: 13px; white-space: nowrap; padding: .85em 1.15em .8em; margin-left: 4px; transition: opacity .3s, transform .3s, background-color .2s; }
.top:not(.on) .btn { opacity: 0; transform: translateY(-8px); pointer-events: none; }   /* at the very top the hero has the same button */
.hero-ui { position: relative; z-index: 2; padding-top: 78px; }
/* The words carry a little of the night with them, in the colour the sky has behind them as the page
   opens: nothing to see on open sky, and a cloud, the moon or a lantern that gets behind a letter falls
   back from it. Close layers, because one soft blur does nothing for the thin strokes of the lede. */
.hero-copy { max-width: 620px; padding-top: clamp(20px, 6vh, 72px);
  text-shadow: 0 0 1px rgba(6, 41, 107, .95), 0 0 3px rgba(6, 41, 107, .9), 0 0 6px rgba(6, 41, 107, .7), 0 0 14px rgba(6, 41, 107, .35); }
.hero-copy .btn { text-shadow: none; }
.hero-copy .btn.ghost { background: rgba(6, 41, 107, .55); }
.hero-copy .btn.ghost:hover { background: rgba(58, 78, 150, .6); }
.hero-copy h1 { font-size: clamp(46px, 5.8vw, 90px); max-width: 10em; }
.hero-copy .eyebrow { margin-bottom: 18px; color: var(--blossom); }
.hero-copy .lede { margin-top: 20px; max-width: 26em; }
.hero-copy .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cue { position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%); font: 700 12px/1 var(--plate);
  letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; animation: cue 1.8s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.intro { padding: 14vh 0 4vh; }
.intro .eyebrow { color: var(--blossom); }
figure.still { padding: 40px 32px; }

/* ------------------------------------------------------------------ the rest of the page: plain sections */
section[id] { scroll-margin-top: 60px; }
.library, .sky.band, .box, .sky.dusk, .join { margin-top: -1px; }      /* where two bands share a colour, no hairline of the page shows between them */
p.cta { margin-top: 28px; }

/* numbered steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 20px; }
.steps li { counter-increment: n; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.steps li::before { content: counter(n, decimal-leading-zero); font: 700 15px/54px var(--plate); letter-spacing: .08em;
  width: 54px; height: 54px; text-align: center; border-radius: 12px; background: var(--ink); color: var(--cloud); transition: background-color .3s, transform .3s; }
.steps li b { display: block; font: 400 26px/1.1 var(--display); margin-bottom: 3px; }
.steps.two { grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
.steps.two li { cursor: pointer; transition: opacity .35s; }
.steps.live li { opacity: .45; }
.steps.live li.done { opacity: .8; }
.steps.live li.on { opacity: 1; }
.steps.live li.on::before { background: var(--signal); transform: scale(1.08) rotate(-3deg); }

/* the library: the app to one side, the air beam between them, the table beside it */
.library { background: linear-gradient(var(--peach), var(--cloud) 340px); padding: 56px 0 72px; overflow-x: clip; }
.library .head { margin-bottom: 48px; }
.deck { position: relative; display: grid; grid-template-columns: minmax(280px, 330px) 48px 1fr; gap: 10px; align-items: center; }
.app { position: relative; z-index: 5; padding: 10px; border-radius: 38px; background: var(--ink); box-shadow: 0 30px 50px -26px rgba(10, 26, 74, .75); }
/* The phone stays on the game library view at a fixed size. */
.app .screen { position: relative; height: 640px; padding: 22px 16px 16px; border-radius: 29px; background: #fff; color: var(--ink); overflow: hidden; }
.deck > * { min-width: 0; }                                   /* a row of covers that scrolls must not widen the phone */
.app .view { height: 100%; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@keyframes page { from { opacity: 0; transform: translate3d(18px, 0, 0); } }
.app-head { display: grid; gap: 5px; padding: 0 4px; }
.app-title { font: 400 30px/1 var(--display); padding: 0 4px; }
.app-head .app-title { padding: 0; }
.arriving { justify-self: start; text-decoration: none; white-space: nowrap; font: 700 9.5px/1.3 var(--plate); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.arriving::after { content: " →"; }
.arriving:hover { text-decoration: underline; }
.covers { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cover { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 7px 8px 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 0; border-radius: 14px; background: var(--cloud);
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .22s, transform .22s cubic-bezier(.22, 1, .36, 1), background-color .22s; }
.cover:hover { transform: translateY(-2px); }
.cover[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 3px var(--signal), 0 10px 18px -10px rgba(27, 29, 60, .5); }
.deck.beaming .cover[aria-pressed="true"] { transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--signal), 0 12px 22px -10px rgba(240, 100, 43, .45); }
.cover .art { flex: 1 1 0; min-height: 0; max-width: 100%; aspect-ratio: 1; align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 6px; }   /* as big a square as the row leaves */
.cover .art i { aspect-ratio: 1; border-radius: 5px; background: #c8c5bc no-repeat; }
.cover b { flex: none; font: 400 15.5px/1.1 var(--display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover > i { flex: none; font: 700 9.5px/1.3 var(--plate); font-style: normal; letter-spacing: .14em; text-transform: uppercase; opacity: .62; white-space: nowrap; }
.cover.twin, .steps li.twin { display: none; }                 /* the extra sets that let a phone's one row go round (Round, table.js) */
.app .setup { flex: none; width: 100%; text-align: center; font-size: 15px; padding: 1.1em 1em 1.05em; white-space: nowrap; transition: transform .18s cubic-bezier(.22, 1, .36, 1), background-color .24s; }
.app .setup.press { transform: scale(.96); background: #c9481a; }
.app .setup.armed { animation: arm-pulse .65s ease-out; }
@keyframes arm-pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 100, 43, .5); } 100% { box-shadow: 0 0 0 10px rgba(240, 100, 43, 0); } }
.deck.beaming .app .setup { background: #d64f1f; }
.deck[data-ready] .app .setup { background: var(--ink); }
.deck[data-ready] .app .setup:hover { background: #2c2f5c; }
.beam { position: relative; z-index: 6; width: 42px; height: 42px; justify-self: center; border-radius: 50%; display: grid; place-items: center;
  background: rgba(27, 29, 60, .07); color: var(--ink); pointer-events: none; transition: background-color .25s, color .25s, transform .28s cubic-bezier(.22, 1, .36, 1); }
.beam svg { width: 26px; height: 26px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; opacity: .52; transition: opacity .25s; }
.beam svg .dot { fill: currentColor; stroke: none; }
.deck.beaming .beam { background: var(--signal); color: #fff; transform: scale(1.1); box-shadow: 0 10px 20px -8px rgba(240, 100, 43, .65); }
.deck.beaming .beam svg { opacity: 1; }
.deck.beaming .beam .arc { animation: wave .55s ease-in-out infinite; }
.air-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: hidden; border-radius: 24px; fill: none; stroke-linecap: round; }
.air-svg .w-band { stroke: url(#air-band); stroke-width: 24; }
.air-svg .w-lead { stroke: url(#air-sig); stroke-width: 3; }
.air-svg .w-mid { stroke: url(#air-light); stroke-width: 2; }
.air-svg .w-tail { stroke: url(#air-sig); stroke-width: 1.5; }
.table { position: relative; z-index: 1; padding: 4.2% 5% 3.5%; border-radius: 24px; color: var(--cloud); overflow: hidden; background: radial-gradient(120% 100% at 26% 12%, #1a3a8c, var(--dusk-deep) 78%);
  box-shadow: 0 34px 60px -34px rgba(10, 26, 74, .7); }
.game-bar { margin-bottom: 3.6%; padding-bottom: 3%; border-bottom: 1px solid rgba(251, 241, 230, .16); transition: opacity .18s ease-out, transform .18s ease-out; }
.game-bar.swap { opacity: .3; transform: translateY(3px); }
.game-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 9px; }
.game-bar .plate.game { background: var(--cloud); color: var(--ink); box-shadow: inset 0 0 0 .11em var(--cloud), inset 0 0 0 .17em var(--ink); font-size: 14.5px; padding: .52em .64em .48em; }
.game-bar .plate.game::before, .game-bar .plate.game::after { background: var(--ink); }
.g-meta { font: 700 12px/1.3 var(--plate); letter-spacing: .16em; text-transform: uppercase; color: var(--blossom); }
.g-pitch { font-size: 15.5px; line-height: 1.45; opacity: .92; min-height: 1.45em; max-width: 44em; }
.table .now { min-height: 2.9em; margin-top: 3.5%; font-size: 16px; line-height: 1.45; opacity: 0; transform: translateY(5px); transition: opacity .26s ease-out, transform .26s ease-out; }
.table .now.on { opacity: .95; transform: none; }
.table .now.swap { opacity: .28; transform: translateY(3px); }
.table .now b { display: block; font: 700 12px/1.3 var(--plate); letter-spacing: .18em; text-transform: uppercase; color: var(--blossom); margin-bottom: 4px; }

/* on the table: the six-game table showcase, a gallery of renders, and the household value strip */
.on-table { padding: 0 0 112px; }
.on-table > .wrap > .head:first-child { padding-top: 72px; border-top: 2px solid var(--rule); margin-bottom: 44px; }

.real-stage { display: grid; grid-template-columns: 1.62fr 1fr; gap: 40px; align-items: center; padding: 14px 36px 14px 14px; }
.real-frame { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink); aspect-ratio: 3 / 2; }
.real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: opacity .2s ease-out; }
.real-img.swap { opacity: .45; }
.real-side { display: grid; gap: 16px; align-content: center; min-width: 0; }
.real-side h3 { font-size: clamp(27px, 2.6vw, 36px); line-height: 1.02; }
.real-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.real-tabs button { display: grid; gap: 2px; padding: 10px 12px 9px; text-align: left; font: inherit; color: var(--ink); background: var(--cloud); border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent; transition: background-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.real-tabs button:hover { transform: translateY(-1px); }
.real-tabs button[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 2.5px var(--signal), 0 8px 16px -10px rgba(27, 29, 60, .45); }
.real-tabs b { font: 400 17px/1.1 var(--display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.real-tabs i { font: 700 9.5px/1.25 var(--plate); font-style: normal; letter-spacing: .13em; text-transform: uppercase; opacity: .62; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.real-cap { display: grid; align-items: start; font-size: 15.5px; line-height: 1.45; opacity: .82; text-wrap: pretty; }
.real-cap > span { grid-area: 1 / 1; }
.real-cap > span[aria-hidden="true"] { visibility: hidden; pointer-events: none; user-select: none; }

/* the gallery: ten renders in two blocks of five, a large one with four around it, mirrored. No cards and no
   paragraphs: each picture carries a few words on its own shadow. */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.shot { position: relative; overflow: hidden; border-radius: 16px; background: var(--ink); aspect-ratio: 3 / 2;
  box-shadow: 0 2px 5px rgba(27, 29, 60, .06), 0 22px 36px -24px rgba(27, 29, 60, .55); }
.shot.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 22px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption { position: absolute; inset: auto 0 0 0; margin: 0; max-width: none; padding: 40px 15px 12px; opacity: 1; color: var(--cloud); pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 14, 44, .36) 48%, rgba(8, 14, 44, .76)); text-shadow: 0 1px 2px rgba(8, 14, 44, .5); }
.shot figcaption b { display: block; font: 400 19px/1.08 var(--display); letter-spacing: .012em; text-wrap: balance; }
.shot figcaption span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.4; opacity: .9; max-width: 30em; text-wrap: pretty; }
.shot.big figcaption { padding: 76px 24px 20px; }
.shot.big figcaption b { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.02; }

.worth-strip { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.worth-strip li { padding-top: 18px; border-top: 2px solid var(--rule); font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }
.worth-strip b { display: block; font: 400 27px/1.08 var(--display); margin-bottom: 7px; }

.beat { display: grid; grid-template-columns: 1.16fr .94fr; gap: 54px; align-items: center; margin-top: 68px; }
.beat:nth-of-type(even) { grid-template-columns: .94fr 1.16fr; }
.beat:nth-of-type(even) .beat-shot { order: 2; }
.beat-shot { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink); aspect-ratio: 3 / 2;
  box-shadow: 0 0 0 1px rgba(27, 29, 60, .05), 0 4px 10px rgba(27, 29, 60, .06), 0 28px 54px -28px rgba(27, 29, 60, .58); }
.beat-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.beat .plate { margin-bottom: 14px; }
.beat h3 { font-size: clamp(31px, 3.2vw, 44px); margin-bottom: 10px; }
.beat .words > p { max-width: 30em; font-size: 17.5px; line-height: 1.52; opacity: .92; text-wrap: pretty; }
.demo { position: relative; max-width: 344px; margin-top: 22px; padding: 18px 20px; border-radius: 18px; color: var(--cloud);
  background: radial-gradient(120% 100% at 26% 12%, #1c3f97, #0d2260 80%); box-shadow: 0 22px 40px -24px rgba(10, 26, 74, .65); }
[data-beat="winter"] .demo { max-width: 326px; padding: 16px 18px; }
.demo.demo-yours { max-width: 384px; }
.demo .side { min-height: 1.35em; margin-top: 12px; text-align: center; font: 700 11.5px/1.3 var(--plate); letter-spacing: .14em; text-transform: uppercase; color: var(--blossom); }
.name { display: grid; gap: 7px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(251, 241, 230, .16); }
.name span { font: 700 11px/1 var(--plate); letter-spacing: .18em; text-transform: uppercase; color: var(--blossom); }
.name input { font: 400 24px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; padding: .42em .6em .38em; border-radius: 11px; border: 0; background: var(--cloud); color: var(--ink); width: 100%; }
.name input::placeholder { color: rgba(27, 29, 60, .35); }

/* the tile, up close: a drawing of one from the front, the side and the back, and what is inside it.
   --u is the tile's width, so everything is to scale (docs/hardware.md); the paper's grid is 10 mm. */
.spec { background: var(--dusk-deep); color: var(--cloud); padding: 104px 0 96px; }
.spec .head { margin-bottom: 52px; }
.plan { --u: clamp(170px, 20.6vw, 272px); --line: rgba(251, 241, 230, .6); }
/* the paper is .blueprint, never .sheet: that name is the sky engine's, for a layer that is a sheet of frames */
.blueprint { position: relative; overflow: hidden; padding: 46px 44px 30px; border-radius: 24px; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .65);
  background: linear-gradient(rgba(251, 241, 230, .055) 1px, transparent 1px) 50% 0 / calc(var(--u) * .2) calc(var(--u) * .2),
    linear-gradient(90deg, rgba(251, 241, 230, .055) 1px, transparent 1px) 50% 0 / calc(var(--u) * .2) calc(var(--u) * .2),
    radial-gradient(120% 100% at 26% 12%, #1c3f97, #0d2260 80%); }
.draw { position: relative; display: grid; justify-content: center; align-items: start; row-gap: calc(var(--u) * .13);
  grid-template-columns: var(--u) calc(var(--u) * .3) calc(var(--u) * .04) calc(var(--u) * .3) var(--u) calc(var(--u) * .22) calc(var(--u) * 1.1);
  grid-template-areas: "front . side . rear . inside";
  font: 700 11.5px/1 var(--plate); letter-spacing: .18em; text-transform: uppercase; }
.v { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }   /* the side view is 2 mm wide: its words overhang it */
.v.fore { grid-area: front; } .v.side { grid-area: side; } .v.rear { grid-area: rear; }
.fore .mat { font-size: 22px; }                              /* a tile's shadow is in ems: this one is drawn large */
.dim { position: relative; height: 30px; }                    /* a dimension line: the measure above, ticks at both ends */
.dim span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; }
.dim::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 11px; border: solid var(--line); border-width: 0 1.5px;
  background: linear-gradient(var(--line), var(--line)) 50% 50% / 100% 1.5px no-repeat; }
.dim:empty::after { display: none; }
.cap { display: flex; align-items: center; justify-content: center; gap: .7em; min-width: 0; min-height: 22px; white-space: nowrap; color: rgba(251, 241, 230, .82); }
.no { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 10.5px/1 var(--plate); letter-spacing: .02em;
  color: var(--cloud); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s, box-shadow .3s, transform .3s; }
.no.on { background: var(--signal); color: #fff; box-shadow: none; transform: scale(1.14); }
.v > .no { position: absolute; z-index: 3; bottom: 0; }        /* a number under the tile, with a leader up to what it names */
.fore > .no { left: calc(var(--u) * .18 - 11px); }
.rear > .no { right: calc(var(--u) * .18 - 11px); }
.v > .no::before { content: ""; position: absolute; left: calc(50% - .75px); bottom: 100%; width: 1.5px; height: calc(var(--u) * .08 + 12px);
  background: linear-gradient(to top, var(--line) 12px, rgba(27, 29, 60, .5) 12px); }
.rear > .no::before { height: calc(var(--u) * .068 + 12px); }
.edge, .shell { background: #f4f2ed; box-shadow: inset 0 0 0 1px rgba(27, 29, 60, .1), 0 3px 4px rgba(3, 8, 34, .3), 0 11px 18px -4px rgba(3, 8, 34, .4); }
.edge { height: var(--u); border-radius: calc(var(--u) * .012); }
.shell { position: relative; aspect-ratio: 1; border-radius: 8.4%; }
.knob { position: absolute; right: 6.8%; bottom: 6.8%; width: 22.4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #e6e3dc 0 61%, transparent 63%); box-shadow: inset 0 0 0 1px #cdc9c0; }
.knob::after { content: ""; position: absolute; inset: -16%; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); opacity: 0; }   /* a fingertip, not a light */
.knob.press { animation: press .4s ease-out; }
.knob.press::after { animation: touch .55s ease-out; }
@keyframes press { 30% { transform: scale(.88); filter: brightness(.9); } }
@keyframes touch { 0% { opacity: 0; transform: scale(1.5); } 30% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.2); } }
.inside { grid-area: inside; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 8px; row-gap: calc(var(--u) * .1); align-items: end; }
.inside .dim, .inside .mem { grid-column: 1 / -1; }
.inside .dim { margin-bottom: calc(12px - var(--u) * .1); }      /* its line sits level with the views' own */
.part { display: grid; justify-items: center; row-gap: 12px; }
.part.mem { justify-items: stretch; }
.part:not(.mem) .cap { flex-direction: column; gap: 8px; }
.fly { position: absolute; z-index: 8; left: 0; top: 0; border-radius: 10%; background: #c6c3ba no-repeat; pointer-events: none; }   /* a picture on its way in */
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4%; }
.slots i { aspect-ratio: 1; border-radius: 10%; background: #c6c3ba no-repeat; opacity: .5; transition: opacity .3s, transform .3s; }
.slots i.none { background: none; box-shadow: inset 0 0 0 1.5px rgba(251, 241, 230, .32); }
.slots i.on, .slots i.peek { opacity: 1; }
.slots i.on { outline: 2px solid var(--cloud); outline-offset: 2px; }   /* the page that is showing */
.slots i.peek { transform: scale(1.16); }
.slots i.new { animation: pop .3s ease-out; }
.part svg { width: max(40px, calc(var(--u) * .24)); aspect-ratio: 1; overflow: visible; fill: none; stroke: var(--cloud); stroke-width: 2; stroke-linecap: round; opacity: .8; transition: opacity .3s; }
.part svg .dot { fill: var(--cloud); stroke: none; }
.plan[data-f="1"] .bt svg, .plan[data-f="3"] .clock svg, .plan[data-f="5"] .nfc svg { opacity: 1; }
.clock .hand { stroke-width: 2.6; transform-origin: 24px 24px; transition: transform 1s cubic-bezier(.5, 0, .3, 1); }
.plan.recv .bt .arc, .plan.read .nfc .arc { animation: wave .9s ease-in-out infinite; }
.arc:nth-of-type(2) { animation-delay: .15s !important; } .arc:nth-of-type(3) { animation-delay: .3s !important; }
@keyframes wave { 0%, 100% { opacity: .22; } 40% { opacity: 1; } }
/* the phone that reads the tile: it comes in from the side, lies on the tile and names it */
.reader { position: absolute; z-index: 6; left: calc(var(--u) * -.16); top: calc(42px - var(--u) * .08); width: calc(var(--u) * .58); aspect-ratio: 1 / 2;
  padding: calc(var(--u) * .028); border-radius: calc(var(--u) * .075); background: var(--ink); pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(251, 241, 230, .7), 0 18px 30px -12px rgba(0, 0, 0, .6); opacity: 0; transform: translate3d(-90%, 6%, 0) rotate(-10deg);
  transition: transform .75s cubic-bezier(.3, .8, .25, 1), opacity .35s; }
.plan.touch .reader { opacity: 1; transform: rotate(-4deg); }
.glass { height: 100%; display: grid; align-content: center; justify-items: center; row-gap: 9%; padding: 10%; border-radius: calc(var(--u) * .05); background: #fff; color: var(--ink); text-align: center; }
.glass .thumb { width: 84%; aspect-ratio: 1; border-radius: 8%; background: #c6c3ba no-repeat; box-shadow: 0 0 0 calc(var(--u) * .014) #f4f2ed, 0 0 0 calc(var(--u) * .014 + 1px) rgba(27, 29, 60, .22); }
.glass .thumb, .glass span { opacity: 0; transition: opacity .3s; }
.glass span { font: 700 max(7.5px, calc(var(--u) * .034))/1.3 var(--plate); letter-spacing: .12em; }
.plan.read .glass .thumb, .plan.read .glass span { opacity: 1; }
.blueprint .now { min-height: 3.7em; margin-top: 30px; text-align: center; font-size: 17px; line-height: 1.45; }
.blueprint .now b { display: block; font: 700 12px/1.3 var(--plate); letter-spacing: .18em; text-transform: uppercase; color: var(--blossom); margin-bottom: 4px; }
.steps.six { grid-template-columns: repeat(3, 1fr); gap: 28px 30px; margin-top: 40px; }
.steps.six li { cursor: pointer; }
.steps.six { counter-reset: none; }                            /* the list itself counts nothing, so each set of six starts its own count: */
.steps.six li:nth-child(6n + 1) { counter-reset: n; }           /* a phone's row holds five sets (Round, table.js), and every one runs 01 to 06 */
.spec .steps li::before { background: rgba(251, 241, 230, .14); }
.spec .steps li.on::before { background: var(--signal); color: #fff; transform: scale(1.08) rotate(-3deg); }
.inks { display: flex; gap: 7px; margin-top: 12px; }
.inks i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(251, 241, 230, .55); }

/* the box: everything at a glance */
.box { background: linear-gradient(var(--peach), var(--cloud) 320px); padding-top: 64px; }
.box .head { margin-bottom: 40px; }
.lay { position: relative; }
.lay img { border-radius: 20px; box-shadow: 0 34px 60px -36px rgba(27, 29, 60, .7); }
.counts { list-style: none; padding: 0; margin: 0; position: absolute; inset: 0; }
.counts li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); display: flex; align-items: baseline; gap: 6px; white-space: nowrap; padding: 4px 12px 3px 10px; border-radius: 999px;
  background: var(--ink); color: var(--cloud); font: 700 11.5px/1.45 var(--plate); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(27, 29, 60, .7); }
.counts b { font: 400 22px/1 var(--display); letter-spacing: .01em; color: #ffd9a8; }
.box-guide { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.box-guide li { padding-top: 16px; border-top: 2px solid var(--rule); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.box-guide b { display: block; font: 400 25px/1.1 var(--display); margin-bottom: 6px; }
.plus { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.plus .slab { display: grid; grid-template-columns: 43% 1fr; gap: 30px; align-items: center; padding: 12px; }
.plus .pic { align-self: stretch; min-height: 224px; }
.plus .txt { padding: 12px 22px 12px 0; }
.plus .txt .eyebrow { font-size: 12.5px; margin-bottom: 11px; }
.plus h3 { font-size: clamp(32px, 3vw, 40px); margin-bottom: 10px; }
.plus .txt p:last-child { font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }
/* the app: the library on a phone, in the night end of the sky */
.p-app { --sky: radial-gradient(1.4px 1.4px at 14% 16%, #fff4d0 50%, transparent 51%), radial-gradient(1.1px 1.1px at 30% 44%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 84% 12%, #ffe9a8 50%, transparent 51%),
  radial-gradient(1.1px 1.1px at 90% 52%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 72% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 8% 70%, #fff4d0 50%, transparent 51%),
  linear-gradient(165deg, #0a1a4a, #1b4298 55%, #5d61b4); }
.fon { position: absolute; left: 50%; top: 11%; width: min(47%, 132px); aspect-ratio: 9 / 18.5; translate: -50% 0; rotate: -6deg; padding: 11px 9px; border-radius: 19px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px rgba(251, 241, 230, .5), 0 24px 30px -8px rgba(3, 8, 34, .75); }
.fon em { display: block; margin: 0 1px 7px; font: 400 14px/1 var(--display); font-style: normal; letter-spacing: .01em; }
.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shelf i { aspect-ratio: 1; border-radius: 6px; background: #c8c5bc no-repeat; }
.shelf i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--signal); }
/* the games: a tile from each, hanging over a cloud where the sky turns to peach */
.p-games { --sky: linear-gradient(165deg, #3f55ab, #8176ba 56%, #dcaea6); }
.p-games .cl { width: 118%; left: -22%; bottom: -17%; --d: 10px; --dur: 26s; }
.mat.air { --w: 3.5; --h: 2.55; height: 70%; }

/* play it: the online table */
.online { background: linear-gradient(#3f55ab, #6a62b6); color: var(--cloud); }
.online .grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.online .lede { margin-top: 22px; }
.for { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.for li { font-size: 16.5px; line-height: 1.5; padding-top: 14px; border-top: 2px solid rgba(251, 241, 230, .45); }
.for b { display: block; font: 400 24px/1.1 var(--display); margin-bottom: 4px; }
.win { border-radius: 16px; overflow: hidden; background: var(--cloud); color: var(--ink); box-shadow: 0 40px 70px -30px rgba(8, 16, 60, .75); transform: rotate(.6deg); }
.win .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 2px solid var(--ink); }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.win .addr { flex: 1; min-width: 0; margin: 0 10px 0 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 700 11.5px/1 var(--plate); letter-spacing: .16em; text-transform: uppercase; padding: 8px 10px 7px; border-radius: 999px; background: rgba(27, 29, 60, .08); }
.win .addr::before { content: ""; display: inline-block; width: 1.2em; height: 1.2em; margin-right: .75em; vertical-align: -.26em; border-radius: 8.4%; background: radial-gradient(circle at 82% 82%, var(--signal) 0 13%, transparent 14.5%) var(--ink); }   /* the logo's tile, as the tab icon draws it */
.win .felt { padding: 9% 13% 13%; background: radial-gradient(120% 100% at 30% 10%, #1a3a8c, var(--dusk-deep) 80%); }
.win .seats { display: flex; justify-content: space-around; gap: 10px; padding: 12px 14px 11px; border-top: 2px solid var(--ink); font: 700 12px/1 var(--plate); letter-spacing: .14em; text-transform: uppercase; }
.win .seats b { display: inline-block; min-width: 1.6em; margin-left: .4em; padding: .3em .2em .22em; text-align: center; border-radius: 5px; background: var(--ink); color: var(--cloud); transition: transform .3s; }
.win .seats b.up { transform: scale(1.35) rotate(-6deg); }
.cur { position: absolute; z-index: 40; left: calc(var(--cx, 50) * 1%); top: calc(var(--cy, 50) * 1%); pointer-events: none;
  transition: left .75s cubic-bezier(.5, 0, .2, 1), top .75s cubic-bezier(.5, 0, .2, 1); }
.cur svg { display: block; width: 17px; fill: var(--cloud); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgba(3, 8, 34, .5)); }
.cur b { position: absolute; left: 13px; top: 17px; white-space: nowrap; font: 700 10.5px/1 var(--plate); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 999px; background: var(--cloud); color: var(--ink); }
.cur.you b { background: var(--signal); color: #fff; }
.cur.pal b { background: var(--blossom); }
.cur.tap svg { animation: tap .3s ease-out; }
@keyframes tap { 40% { transform: scale(.78); } }

/* designers: the box to count on, then build, play tonight, test online, publish and earn */
.make .head { margin-bottom: 44px; }
.kit { display: grid; grid-template-columns: .8fr 1.6fr; gap: 28px 48px; align-items: center; margin-bottom: 48px; padding: 34px 38px 30px; border-radius: 22px; color: var(--cloud);
  background: radial-gradient(120% 100% at 26% 12%, #1c3f97, var(--dusk-deep) 82%); box-shadow: 0 30px 50px -32px rgba(10, 26, 74, .8); }
.kit h3 { font-size: clamp(32px, 3.2vw, 44px); margin-bottom: 10px; }
.kit p { font-size: 16.5px; line-height: 1.5; opacity: .92; }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 18px 8px; }
.kit-list li { display: grid; justify-items: center; align-content: start; text-align: center; font: 700 11px/1.3 var(--plate); letter-spacing: .12em; text-transform: uppercase; }
.kit-list b { font: 400 30px/1 var(--display); letter-spacing: .01em; text-transform: none; color: #ffd9a8; margin: 12px 0 4px; }
/* the pieces, rendered in three-quarter 3D, each player colour with its symbol (docs/components.md) */
.k { display: grid; place-items: end center; width: 100%; height: 66px; }
.k img { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 3px 3px rgba(3, 8, 34, .42)) drop-shadow(2px 7px 9px rgba(3, 8, 34, .34)); }
.path { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.path li { counter-increment: n; position: relative; display: grid; gap: 10px; align-content: start; font-size: 16.5px; line-height: 1.5; }
.path li > b { font: 400 34px/1 var(--display); margin-top: 10px; }
.path li > b::before { content: counter(n, decimal-leading-zero); display: block; font: 700 13px/1 var(--plate); letter-spacing: .16em; color: var(--signal); margin-bottom: 8px; }
.path li:not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 22%; font: 700 20px/1 var(--plate); color: var(--signal); }
.path p a { text-decoration-color: var(--signal); text-underline-offset: 3px; }
.vig { display: grid; place-items: center; aspect-ratio: 16 / 11; padding: 9%; border-radius: 18px; background: radial-gradient(120% 100% at 26% 12%, #1c3f97, var(--dusk-deep) 82%); box-shadow: 0 24px 40px -28px rgba(10, 26, 74, .8); overflow: hidden; }
.v-make .mat { width: 46%; } .v-play .mat { width: 92%; }
/* the same hand in a browser window */
.sim { width: 100%; border-radius: 9px; overflow: hidden; background: var(--cloud); box-shadow: 0 0 0 2px var(--cloud), 0 16px 24px -10px rgba(3, 8, 34, .8); }
.sim .bar { display: flex; gap: 4px; padding: 6px 8px; border-bottom: 1.5px solid var(--ink); }
.sim .bar i { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sim .felt { padding: 10% 8% 17%; background: radial-gradient(120% 100% at 30% 10%, #1a3a8c, var(--dusk-deep) 80%); }
.sim .cur svg { width: 13px; }
.sim .cur b { left: 10px; top: 13px; font-size: 8.5px; padding: 4px 6px 3px; }
/* the shelf, and what a game on it earns */
.v-shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 5%; }
.v-shelf i { width: 19%; aspect-ratio: 3 / 4; border-radius: 9%; background: linear-gradient(var(--c, var(--signal)) 0 62%, var(--cloud) 62%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .5); }
.v-shelf i:nth-child(1) { --c: #c48a14; } .v-shelf i:nth-child(2) { --c: #1e4f7a; } .v-shelf i:nth-child(3) { --c: #4a6f35; }
.v-shelf i.new { --c: var(--blossom); animation: shelve 4.6s cubic-bezier(.3, 1.3, .5, 1) infinite; }
@keyframes shelve { 0%, 18% { transform: translate3d(0, -260%, 0) rotate(-14deg); opacity: 0; } 34%, 88% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.v-shelf b { position: absolute; left: 74%; top: 15%; width: 10.5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #f0c766, #c48a14 62%, #8f6208);
  box-shadow: inset 0 0 0 2px rgba(255, 240, 200, .35), 0 6px 10px -4px rgba(0, 0, 0, .55); animation: earn 4.6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
.v-shelf b + b { left: 61%; top: 25%; animation-delay: .22s; }
@keyframes earn { 0%, 42% { transform: translate3d(0, 150%, 0) scale(.4); opacity: 0; } 56%, 88% { transform: none; opacity: 1; } 100% { transform: translate3d(0, -40%, 0); opacity: 0; } }
.make .foot { display: grid; grid-template-columns: 300px 1fr auto; gap: 34px; align-items: center; margin-top: 56px; padding: 12px 34px 12px 12px; }
.make .foot .pic { align-self: stretch; min-height: 132px; }
.p-yours { --sky: linear-gradient(165deg, #5560b2, #9a80b8 52%, #e2b4a8); }
.p-yours .cl { width: 78%; right: -24%; bottom: -30%; --d: 8px; --dur: 30s; }
.p-yours .mat { width: 72%; --h: 1.2; }
.make .foot h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 7px; }
.make .foot p { max-width: 36em; font-size: 17px; line-height: 1.5; text-wrap: pretty; }

/* short answers */
.ask { background: linear-gradient(var(--cloud), var(--peach) 46%); padding-bottom: 120px; }
.ask .grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.qa { display: grid; gap: 12px; }
.qa details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(27, 29, 60, .04), 0 2px 4px rgba(27, 29, 60, .05), 0 14px 26px -16px rgba(27, 29, 60, .3); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; list-style: none; padding: 17px 22px 15px; font: 400 25px/1.1 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 13px; height: 13px; border-radius: 3px; background: var(--signal); transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--ink); }
.qa details p { padding: 0 22px 20px; max-width: 40em; font-size: 17px; }

/* the sign-up: the sky again, going up into the night */
.join { position: relative; overflow: hidden; padding: 130px 0 170px; color: var(--cloud); text-align: center;
  background: linear-gradient(#7570b7 0%, #5e63b1 16%, #2c51a9 46%, #164092 72%, #0a1a4a 100%); }
.join .wrap { position: relative; z-index: 2; }
.join h2 { margin-top: 16px; }
.join .lede { margin: 20px auto 0; }
.night { position: absolute; inset: 0; pointer-events: none; }
.stars.low { inset: auto 0 0 0; height: 62%; -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
.n-cloud { position: absolute; max-width: none; animation: drift var(--dur, 50s) ease-in-out infinite alternate; }
.n-cloud.a { width: 360px; left: -70px; top: 16%; --d: 40px; }
.n-cloud.b { width: 440px; right: -110px; top: 30%; --d: 56px; --dur: 62s; }
.n-cloud.c { width: 230px; left: 15%; bottom: 7%; --d: 30px; --dur: 44s; opacity: .9; }
.n-balloon { position: absolute; right: 9%; top: 43%; width: 104px; --b: -18px; --dur: 9s; }
.join .n-lantern { position: absolute; width: 26px; }
.signup { display: grid; gap: 12px; justify-items: center; margin: 34px auto 0; max-width: 620px; }
.signup .row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.signup input[type="email"] { flex: 1; min-width: 200px; font: inherit; padding: .8em 1.1em; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.signup label { display: flex; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; }
.signup input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--signal); }
.signup .done { display: none; font: 400 30px/1.15 var(--display); }
.signup.sent .row, .signup.sent label { display: none; }
.signup.sent .done { display: block; animation: page .4s ease-out; }
.signup button:disabled { opacity: .65; cursor: wait; }
.signup .signup-error { margin: 0; font-size: 16px; line-height: 1.5; }

footer { background: #0a1a4a; color: var(--cloud); padding: 56px 0 60px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px 34px; align-items: center; }
.foot-logo { flex: none; border-radius: 8.4%; box-shadow: 0 3px 6px rgba(3, 8, 34, .3), 0 22px 34px -16px rgba(3, 8, 34, .8); transition: transform .3s cubic-bezier(.3, .9, .3, 1); }
.foot-logo:hover { transform: translateY(-3px) rotate(-2deg); }
.foot-logo img { width: 120px; height: 120px; border-radius: 0; }
.foot-line { font: 400 30px/1.02 var(--display); letter-spacing: .005em; max-width: 9.5em; text-wrap: balance; }
.foot-line .eyebrow { display: block; margin-bottom: 12px; }
footer nav { margin-left: auto; max-width: 440px; justify-content: flex-end; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font: 700 13px/1 var(--plate); letter-spacing: .16em; text-transform: uppercase; }
footer nav a { text-decoration: none; opacity: .8; } footer nav a:hover { opacity: 1; color: var(--blossom); }

/* ------------------------------------------------------------------ a tile, flat, from above
   50 mm of white matte plastic, a 42 mm window, 4.2 mm corners; the back is blank but for the page button
   (docs/hardware.md). A mat counts in tile widths: --w across and --h down, and a tile sits at --x, --y.
   The faces are the games' own, in the colours the panel shows (img/faces/, from build_assets.py).
   A tile never glows: its only effects are a shadow on the table and the flash of a refresh. */
.mat { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); --w: 5.6; --h: 3.6; }
.mat.pairs { --w: 4.3; --h: 3.2; }
.mat.one { --w: 1; --h: 1; }
.mat.three { --w: 3.2; --h: 1; }
.tile { position: absolute; left: 0; top: 0; width: calc(100% / var(--w)); aspect-ratio: 1; z-index: var(--z, 1); perspective: 520px;
  transform: translate(calc(var(--x, 0) * 100%), calc(var(--y, 0) * 100%)) rotate(var(--r, 0deg));
  transition: transform .72s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.tile .card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .54s cubic-bezier(.25, .85, .3, 1) var(--fd, 0ms); }
.tile.down .card { transform: rotateY(180deg); }
.tile .front, .tile .back { position: absolute; inset: 0; border-radius: 8.4%; background: #f4f2ed; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(27, 29, 60, .1), 0 .12em .16em rgba(3, 8, 34, .3), 0 .5em .8em -.2em rgba(3, 8, 34, .4); }
.tile .back { transform: rotateY(180deg); }
.tile .back::after { content: ""; position: absolute; right: 6.8%; bottom: 6.8%; width: 22.4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #e6e3dc 0 61%, transparent 63%); box-shadow: inset 0 0 0 1px #cdc9c0; }
.face { position: absolute; inset: 8%; border-radius: 4.8%; background: #c6c3ba no-repeat; }
.face.refresh { animation: refresh .58s steps(1, end); }
@keyframes refresh { 0% { filter: invert(1) grayscale(1) contrast(.7); } 20% { filter: grayscale(1) brightness(1.32) contrast(.32); }
  40% { filter: invert(1) grayscale(1) contrast(.62); } 60% { filter: grayscale(1) contrast(.78); } 80% { filter: saturate(.6); } 100% { filter: none; } }
.card.pop { animation: pop .3s ease-out; }
@keyframes pop { 45% { scale: 1.09; } }
.piece { position: absolute; left: 0; top: 0; z-index: 20; width: calc(100% / var(--w) * .3); aspect-ratio: 1; pointer-events: none;
  transform: translate(calc(var(--x) / .3 * 100%), calc(var(--y) / .3 * 100%));
  animation: stand .45s cubic-bezier(.25, 1.25, .45, 1) both; transition: opacity .22s ease-out, scale .22s ease-out; }
.piece img { position: absolute; left: 50%; bottom: 2%; translate: -50% 0; width: 112%; height: auto; max-width: none;
  filter: drop-shadow(0 2px 2px rgba(3, 8, 34, .42)) drop-shadow(2px 5px 6px rgba(3, 8, 34, .3)); }
.piece.flame img { width: 106%; bottom: 4%; }
.piece.chip img { width: 136%; bottom: 12%; filter: drop-shadow(0 2px 3px rgba(3, 8, 34, .45)); }
.piece.out { opacity: 0; scale: 1.3; }
@keyframes stand { from { scale: 1.65; opacity: 0; } }
.mat .tag { position: absolute; z-index: 0; left: 0; right: 0; text-align: center; transform: translateY(-50%); white-space: nowrap;
  font: 700 10px/1 var(--plate); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .5s; }
.mat .tag.t-a { top: 32.6%; } .mat .tag.t-b { top: 67.4%; }                 /* in the gaps between Hexed's three rows */
.mat .tag.t-a::before { content: "↑ "; } .mat .tag.t-b::before { content: "↓ "; }
.deck[data-game="hexed"][data-laid] .tag { opacity: .7; }
[data-beat="steal"] .mat .tag { opacity: .78; top: 50%; width: 31.25%; font-size: 8.5px; letter-spacing: .09em; }
[data-beat="steal"] .mat .tag.t-a { left: 0; right: auto; }
[data-beat="steal"] .mat .tag.t-b { left: auto; right: 0; }

/* arriving: a section's words come up as it enters. Only when the script is running (html.go) */
.go [data-in] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .2, 1); }
.go [data-in].in { opacity: 1; transform: none; }

@media (max-width: 1220px) {   /* the wordmark, six links and the button need 1200px */
  .top .links { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 1100px) {
  .steps.six, .path, .box-guide { grid-template-columns: 1fr 1fr; }
  .steps.two { gap: 28px; }
  .real-stage { grid-template-columns: 1fr; gap: 24px; padding: 14px; }
  .real-side { padding: 0 10px 10px; }
  .shot figcaption b { font-size: 17px; }
  .g-pitch { min-height: 2.9em; }
  .beat, .beat:nth-of-type(even) { gap: 36px; }
  .plan { --u: clamp(190px, 24vw, 264px); }
  .draw { grid-template-columns: var(--u) calc(var(--u) * .3) calc(var(--u) * .04) calc(var(--u) * .3) var(--u); grid-template-areas: "front . side . rear" "inside inside inside inside inside"; }
  .inside { grid-template-columns: var(--u) repeat(3, 1fr); column-gap: calc(var(--u) * .1); row-gap: 14px; }
  .inside .mem { grid-column: auto; } .inside .dim { margin-bottom: 0; }
  .path li:not(:last-child)::after { display: none; }
  .kit { grid-template-columns: 1fr; }
  .plus .slab { grid-template-columns: 40% 1fr; gap: 22px; }
  .make .foot { grid-template-columns: 240px 1fr; } .make .foot .btn { grid-column: 2; justify-self: start; margin: -8px 0 12px; }
}
@media (max-width: 960px) {
  .worth-strip { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .plate { font-size: 24px; }
  .top { padding: 12px 20px; gap: 12px; } .top.on { padding-top: 8px; padding-bottom: 8px; }
  .logo, .top.on .logo { font-size: 40px; }
  .top .btn { font-size: 11.5px; letter-spacing: .1em; padding: .9em 1em .82em; }
  .head, .online .grid, .ask .grid, .deck, .beat, .beat:nth-of-type(even), .plus, .worth-strip, .box-guide { grid-template-columns: 1fr; gap: 24px; }
  .hero-ui { padding-top: 58px; }
  .hero-copy { padding-top: 14px; }
  .hero-copy .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .hero-copy .lede { font-size: 16.5px; margin-top: 12px; }
  .hero-copy .cta { margin-top: 16px; gap: 10px; }
  .btn { font-size: 14px; padding: .95em 1.1em .9em; }
  h1, .hero-copy h1 { font-size: clamp(38px, 11vw, 56px); }
  .cue { display: none; }
  .arrive { animation-name: arrive-side; }
  .say, .say.left, .say.right { left: 14px; right: 14px; bottom: 14px; max-width: none; padding: 16px 18px 15px; border-radius: 14px; }
  .say h3 { font-size: 27px; margin-bottom: 6px; }
  .say p { font-size: 15.5px; line-height: 1.45; }
  .say .eyebrow { font-size: 12px; margin-bottom: 6px; }
  .say.bare, .say.bare.right { left: 20px; right: 20px; bottom: 26px; padding: 0; font-size: 44px; }
  .sky-foot { height: 40vh; }
  .bank.a { width: 360px; } .bank.b { width: 300px; left: 34%; } .bank.c { width: 320px; } .bank.d { width: 230px; bottom: 44%; } .bank.e { display: none; }
  .intro { padding: 9vh 0 2vh; }
  .library { padding: 40px 0 52px; } .library .head { margin-bottom: 28px; }
  .on-table { padding: 0 0 72px; } .on-table > .wrap > .head:first-child { padding-top: 48px; margin-bottom: 28px; }
  .real-stage { padding: 10px; gap: 18px; }
  .real-frame, .real-img { border-radius: 14px; }
  .real-side { padding: 2px 8px 10px; gap: 12px; }
  .real-tabs button { padding: 9px 10px 8px; }
  .real-tabs b { font-size: 16px; }
  .shots { gap: 10px; margin-top: 18px; }
  .shot { border-radius: 13px; }
  .shot.big { border-radius: 16px; }
  .shot figcaption { padding: 30px 11px 9px; }
  .shot figcaption b { font-size: 15.5px; }
  .shot figcaption span { font-size: 14px; line-height: 1.36; margin-top: 4px; }
  .shot.big figcaption { padding: 56px 15px 13px; }
  .shot.big figcaption b { font-size: 24px; }
  .worth-strip { gap: 20px; margin-top: 32px; }
  .game-bar { margin-bottom: 9px; padding-bottom: 8px; }
  .game-top { margin-bottom: 5px; gap: 6px 10px; }
  .game-bar .plate.game { font-size: 12.5px; padding: .44em .56em .4em; }
  .g-meta { font-size: 10px; letter-spacing: .12em; }
  .g-pitch { font-size: 13px; line-height: 1.36; min-height: 2.72em; }
  .deck { gap: 0; }
  /* On a phone, the library comes first as a clean paper card (no fake phone bezel) with one row of covers that
     goes round: swipe it left or right and the game that stops in the middle is picked. Then the wireless bridge,
     then the game table directly underneath, in the height a second row of covers would take. */
  .app { border-radius: 22px; padding: 0; background: #fff; box-shadow: 0 0 0 1px rgba(27, 29, 60, .06), 0 4px 10px rgba(27, 29, 60, .06), 0 20px 36px -18px rgba(10, 26, 74, .34); }
  .app .screen { --pad: 12px; height: auto; border-radius: 22px; padding: 14px var(--pad) 20px; background: transparent; }
  .app .view { gap: 10px; }
  .app-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; padding: 0 2px; }
  .app-title { font-size: 24px; white-space: nowrap; }
  .arriving { font-size: 9px; letter-spacing: .1em; }
  .covers { flex: none; display: flex; gap: 6px; margin: -6px calc(var(--pad) * -1) -12px; padding: 6px 0 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent); mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent); }
  .covers::-webkit-scrollbar { display: none; }
  .cover, .cover.twin { flex: 0 0 min(26%, 112px); display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 6px 6px 8px; border-radius: 13px; text-align: center; scroll-snap-align: center; }
  .cover, .cover:hover { transform: scale(.92); }
  .cover[aria-pressed="true"], .cover[aria-pressed="true"]:hover { transform: none; background: #fff; box-shadow: inset 0 0 0 2.5px var(--signal), 0 8px 16px -10px rgba(27, 29, 60, .45); }
  .cover .art { flex: none; width: 100%; height: auto; aspect-ratio: 1; margin: 0; gap: 3px; }
  .cover .art i { border-radius: 4px; }
  .cover b { font-size: 13.5px; line-height: 1.1; letter-spacing: .005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cover b span, .cover > i { display: none; }
  .app .setup { font-size: 14px; padding: .95em 1em .9em; }
  .deck .beam { margin: -13px auto; width: 38px; height: 38px; background: #eae6de;
    box-shadow: 0 0 0 4px var(--cloud), 0 6px 14px -4px rgba(10, 26, 74, .3); }
  .deck.beaming .beam { background: var(--signal); box-shadow: 0 0 0 4px var(--cloud), 0 8px 20px -4px rgba(240, 100, 43, .7); }
  .deck .beam svg { transform: rotate(90deg); width: 22px; height: 22px; opacity: .7; }
  .air-svg { border-radius: 20px; }
  .table { padding: 20px 14px 14px; border-radius: 20px; }
  .table .now { font-size: 13px; line-height: 1.35; min-height: 3.6em; margin-top: 9px; }
  .table .now b { font-size: 10px; margin-bottom: 2px; }
  .steps.two, .steps.six, .path { grid-template-columns: 1fr; gap: 20px; }
  .steps.two { margin-top: 30px; }
  .steps li b { font-size: 23px; }
  .mat .tag { font-size: 8.5px; letter-spacing: .1em; }
  .beat, .beat:nth-of-type(even) { margin-top: 48px; }
  .beat:nth-of-type(even) .beat-shot { order: 0; }
  .beat-shot, .beat-shot img { border-radius: 16px; }
  .demo, [data-beat="winter"] .demo, .demo.demo-yours { max-width: none; padding: 18px 16px; border-radius: 16px; }
  .beat .words > p { font-size: 16.5px; }
  .spec { padding: 68px 0 64px; }
  .spec .head { margin-bottom: 30px; }
  /* One tile, up close, on a phone: the drawing is small enough to stay on the screen with one row of cards under it.
     The row goes round like the game library's covers: swipe it, and the card that stops in the middle plays above. */
  .plan { --u: min(31vw, 190px); }
  .blueprint { padding: 14px 16px 12px; border-radius: 18px; }
  .draw { grid-template-columns: var(--u) calc(var(--u) * .14) calc(var(--u) * .04) calc(var(--u) * .14) var(--u); row-gap: 12px; font-size: 9.5px; letter-spacing: .14em; }
  .fore .mat { font-size: 16px; }
  .inside { grid-template-columns: 1.3fr repeat(3, 1fr); column-gap: 8px; row-gap: 8px; }      /* the six pages in two rows, beside the clock and the radios */
  .dim { height: 24px; }
  .reader { top: calc(36px - var(--u) * .08); }                   /* the tile it lies on starts a dimension line and a gap down */
  .inside .mem { grid-column: auto; }
  .slots { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .part { row-gap: 8px; }
  .part svg { width: 34px; }
  .part .cap { flex-direction: column; gap: 6px; }
  .blueprint .now { min-height: 4.2em; margin-top: 10px; font-size: 14.5px; line-height: 1.4; }
  .steps.six { display: flex; gap: 10px; margin: 14px -20px 0; padding: 2px 0 6px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .steps.six::-webkit-scrollbar { display: none; }
  .steps.six li, .steps.six li.twin { flex: 0 0 min(78%, 340px); display: block; padding: 12px 15px 13px; border-radius: 16px; background: rgba(251, 241, 230, .06); font-size: 14.5px; line-height: 1.42; scroll-snap-align: center;
    opacity: .7; transform: scale(.95); transition: opacity .25s, transform .25s cubic-bezier(.22, 1, .36, 1), background-color .25s; }
  .steps.six li.on { opacity: 1; transform: none; background: rgba(251, 241, 230, .11); }
  .steps.six li::before { float: left; width: 34px; height: 34px; margin-right: 10px; font-size: 12.5px; line-height: 34px; border-radius: 9px; }
  .steps.six li b { font-size: 21px; line-height: 34px; margin-bottom: 5px; white-space: nowrap; }
  .inks { margin-top: 9px; } .inks i { width: 13px; height: 13px; }
  .counts { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .counts li { position: static; white-space: normal; border-radius: 12px; padding: 8px 12px 7px; font-size: 11.5px; line-height: 1.3; align-items: center; }
  .lay img { border-radius: 12px; }
  .slab { border-radius: 22px; } .pic { border-radius: 14px; }
  .plus .slab { grid-template-columns: 1fr; gap: 0; padding: 10px; }
  .plus .pic { min-height: 0; height: 190px; }
  .plus .txt { padding: 20px 12px 16px; } .plus h3 { font-size: 32px; }
  .fon { top: 12%; }
  .for { grid-template-columns: 1fr; gap: 16px; }
  .win .felt { padding: 10% 9% 12%; }
  .win .seats { font-size: 10.5px; letter-spacing: .08em; }
  .win .addr { font-size: 9.5px; letter-spacing: .1em; margin: 0 4px; }
  .cur b { font-size: 9.5px; }
  .make .head { margin-bottom: 30px; }
  .kit { margin-bottom: 34px; padding: 24px 20px 22px; border-radius: 18px; }
  .kit-list { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .sim .cur b { display: none; }
  .path li { grid-template-columns: 132px 1fr; gap: 4px 16px; }
  .path li .vig { grid-row: span 2; align-self: start; }
  .path li > b { font-size: 27px; margin-top: 0; }
  .make .foot { grid-template-columns: 1fr; gap: 0; margin-top: 36px; padding: 10px; }
  .make .foot .pic { min-height: 0; height: 150px; } .p-yours .mat { width: 62%; }
  .make .foot .txt { padding: 20px 12px 16px; } .make .foot h3 { font-size: 29px; }
  .make .foot .btn { grid-column: 1; justify-self: stretch; text-align: center; margin: 0 12px 12px; }
  .qa summary { font-size: 22px; padding: 15px 18px 13px; } .qa details p { padding: 0 18px 18px; }
  .join { padding: 90px 0 130px; }
  .n-cloud.a { width: 220px; top: 8%; } .n-cloud.b { width: 250px; top: auto; bottom: 2%; right: -90px; } .n-cloud.c { display: none; }
  .n-balloon { width: 64px; right: 6%; top: 12%; }
  .signup .row .btn { flex: 1; }
  .signup label { font-size: 15px; text-align: left; }
}
@media (max-width: 860px) {
  footer nav { margin-left: 0; flex-basis: 100%; max-width: none; justify-content: flex-start; }
}
@media (max-width: 620px) {   /* the gallery in two columns: a large picture, four small, a large one, four small */
  .shots { grid-template-columns: 1fr 1fr; }
  .shot.big { grid-row: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 480px) {   /* the logo a little smaller, so the button still fits beside it */
  .top { padding-top: 10px; }
  .logo, .top.on .logo { font-size: 36px; }
}
@media (max-width: 359px) {
  .top { gap: 10px; }
  .logo, .top.on .logo { font-size: 28px; }
  .top .btn { font-size: 10.5px; letter-spacing: .06em; padding: .9em .8em .82em; }
}
@media (max-width: 400px) {
  .shot figcaption b { font-size: 14px; } .shot.big figcaption b { font-size: 21px; }
  .app .screen { --pad: 10px; padding: 12px var(--pad) 18px; }
  .cover { padding: 5px 5px 7px; }
  .cover b { font-size: 12.5px; letter-spacing: 0; }
}

/* Reduced motion: every scene is its finished still, one screen tall, and nothing loops.
   The class is set in the page's head from prefers-reduced-motion (or ?still, to look at it). */
html.still { scroll-behavior: auto; }
.still .scene, .still .scene[data-scene], .still .sky .scene[data-scene] { height: 100vh; height: 100svh; }
.still .drift, .still .bob, .still .spin, .still .rise, .still .flap, .still .breathe, .still .smoke, .still .pulse,
.still .rise::before, .still .arrive, .still .l.loop img, .still .loop img, .still .cue::after, .still .n-cloud, .still .bank,
.still .face.refresh, .still .card.pop, .still .piece, .still .cur.tap svg, .still .v-shelf i, .still .v-shelf b,
.still .deck .view, .still .app .setup, .still .signup .done, .still .knob, .still .knob::after, .still .arc, .still .slots i { animation: none !important; }
.still .tile, .still .tile .card, .still .cur, .still [data-in], .still .table .now, .still .game-bar, .still .reader, .still .clock .hand, .still .slots i, .still .no, .still .real-img, .still .shot img { transition: none !important; }
.still .shot:hover img { transform: none; }
.still .logo-card, .still .logo, .still .foot-logo { transition: none !important; }
.still .rise, .still .smoke { opacity: 0; }
.still .breathe { opacity: 1; }
.still .cue { display: none; }
@media (prefers-reduced-motion: reduce) { .cue::after { animation: none; } html { scroll-behavior: auto; } }
