@font-face { font-family: "Archivo Expanded"; src: url("/fonts/ArchivoExpanded-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/MartianMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* Layout: one cut runs down the middle of the page. Every section is two halves:
   the heading on the left, set against the cut, and the content on the right.
   One dot travels the cut from the top mark to the bottom one. */
:root {
  --void: #0d0c0f;
  --raised: #16141a;
  --sunken: #1f1c24;
  --line: #2e2a34;
  --ash: #ccc6be;
  --smoke: #8c857e;
  --sakura: #ffb7c5;
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --gap: 40px;
  --side-l: max(24px, env(safe-area-inset-left, 0px));
  --side-r: max(24px, env(safe-area-inset-right, 0px));
  --snap: cubic-bezier(.3, 1.6, .6, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--ash); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sakura); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ash); }
:focus-visible { outline: 2px solid var(--sakura); outline-offset: 3px; border-radius: 6px; }
code { font: 400 .84em/1.4 var(--mono); color: var(--ash); background: var(--sunken); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--sakura); color: var(--void); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.top { max-width: 1200px; margin: 0 auto; padding: 20px var(--side-r) 20px var(--side-l); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ash); text-decoration: none; }
.brand:hover { color: var(--ash); }
.brand-mark { width: 30px; height: 30px; }
.brand-mark .half { fill: var(--ash); }
.brand-mark .dot { fill: var(--sakura); }
.wordmark { margin: 0; font: 900 22px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.wordmark i { display: inline-block; width: .21em; height: .21em; margin: 0 .045em; border-radius: 50%; background: var(--sakura); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.nav a { color: var(--smoke); text-decoration: none; font-size: 15px; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ash); }

/* Giveaway bar, above the header on every page while a giveaway is open */
.gbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 10px var(--side-r) 10px var(--side-l); background: var(--sakura); color: var(--void); font: 600 14px/1.35 var(--sans); text-align: center; text-decoration: none; }
.gbar:hover { background: var(--ash); color: var(--void); }
.gbar .go { text-decoration: underline; text-underline-offset: 3px; }
.livedot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--void); animation: beat-dark 2.4s ease-out infinite; }
@keyframes beat-dark { 0% { box-shadow: 0 0 0 0 rgba(13, 12, 15, .5); } 45%, 100% { box-shadow: 0 0 0 7px rgba(13, 12, 15, 0); } }

/* Phones: a Menu button opens every page full screen. Without JavaScript the nav shows instead. */
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ash); font: 600 14px/1 var(--sans); cursor: pointer; }
.menu-btn:hover { border-color: var(--ash); }
.bars { width: 16px; height: 10px; border-block: 2px solid currentColor; }
.menu { position: fixed; inset: 0; z-index: 40; overflow-y: auto; display: grid; align-content: start; gap: 26px; padding: max(16px, env(safe-area-inset-top, 0px)) var(--side-r) max(40px, env(safe-area-inset-bottom, 0px)) var(--side-l); background: var(--void); }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-head .menu-btn { display: inline-flex; }
.menu ol { list-style: none; margin: 0; padding: 0; display: grid; }
.menu ol a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ash); text-decoration: none; font: 900 clamp(26px, 7.4vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.menu ol a[aria-current="page"] { color: var(--sakura); }
.menu ol a[aria-current="page"]::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--sakura); }
.menu > .btn { justify-self: start; }
.live { font: 600 11px/1 var(--mono); letter-spacing: .04em; text-transform: none; color: var(--void); background: var(--sakura); padding: 6px 9px; border-radius: 999px; }
html.menu-open { overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; color: var(--ash); font: 600 15px/1 var(--sans); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--ash); color: var(--ash); }
.btn-primary { background: var(--sakura); border-color: var(--sakura); color: var(--void); }
.btn-primary:hover { background: var(--ash); border-color: var(--ash); color: var(--void); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* The page and its cut */
.page { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 var(--side-r) 0 var(--side-l); }
.cut, .cut-trail { display: none; position: absolute; left: 50%; width: 1px; margin-left: -.5px; pointer-events: none; transform-origin: top; }
.cut { background: var(--line); }
.cut-trail { height: 0; background: rgba(204, 198, 190, .32); }
.ride .cut, .ride .cut-trail { display: block; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--gap) * 2); align-items: start; }
.split > .l { text-align: right; }
.section { padding-top: clamp(104px, 13vw, 168px); }

h1, h2, h3 { margin: 0; color: var(--ash); overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: .96; }
.end { display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: var(--sakura); }
.note { margin: 22px 0 0 auto; max-width: 32ch; color: var(--smoke); }
.prose p { margin: 0 0 18px; max-width: 54ch; }
.prose p:last-child { margin-bottom: 0; }

/* Hero */
.hero { padding-top: clamp(16px, 3vw, 40px); display: grid; justify-items: center; }
.sight { position: relative; width: min(360px, 72vw); padding: 30px; }
.corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--smoke); }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.mark { width: 100%; height: auto; overflow: visible; }
.mark .half { fill: var(--ash); }
.mark .own-dot { fill: var(--sakura); transform-box: fill-box; transform-origin: center; }
.mark .tick { stroke: var(--smoke); stroke-width: 3; fill: none; }
.ride .mark .own-dot { visibility: hidden; }
.est { position: relative; z-index: 1; margin: 16px 0 30px; padding: 6px 12px; background: var(--void); font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); }
.title { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--gap) * 2); font-size: clamp(42px, 7vw, 88px); line-height: .9; }
.title .l { text-align: right; }
.title .l, .title .r { display: block; }
.hero-foot { width: 100%; margin-top: 30px; align-items: center; }
.lede { margin: 0 0 0 auto; max-width: 25ch; font-size: 19px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.split > .l .actions { justify-content: flex-end; }

/* Inner pages open with a small mark on the cut, the title on the left and the lede on the right */
.page-head { padding-top: clamp(24px, 4vw, 48px); row-gap: 30px; align-items: end; }
.head-mark { grid-column: 1 / -1; justify-self: center; width: 120px; }
.page-head h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: .92; }
.nw { white-space: nowrap; }
.page-head .lede { margin: 0; max-width: 34ch; color: var(--smoke); }

/* Divisions */
.divisions, .ranks, .steps, .caps, .chat { list-style: none; margin: 0; padding: 0; }
.divisions { display: grid; gap: 34px; }
.divisions li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.tile { width: 56px; height: 56px; }
.tile rect { fill: var(--ash); }
.tile text { fill: var(--void); font: 900 30px var(--display); text-anchor: middle; }
.divisions h3 { font: 900 26px/1 var(--display); }
.divisions .addr { margin: 10px 0 8px; }
.divisions p { margin: 0; max-width: 46ch; color: var(--smoke); }
.divisions .addr code { color: var(--ash); }

/* Kit bot */
.status { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--mono); }
.beat { width: 8px; height: 8px; border-radius: 50%; background: var(--sakura); animation: beat 2.6s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(255, 183, 197, .55); } 45%, 100% { box-shadow: 0 0 0 9px rgba(255, 183, 197, 0); } }
.demo { margin: 28px 0 0 auto; max-width: 440px; padding: 18px 20px 20px; text-align: left; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; }
.demo figcaption { margin-bottom: 14px; font-size: 13px; color: var(--smoke); }
.chat { display: grid; gap: 11px; min-height: 212px; align-content: start; font-size: 15px; line-height: 1.45; }
.chat li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
.chat .who { font-weight: 600; color: var(--smoke); }
.chat .bot .who { color: var(--sakura); }
.chat .game span:last-child { color: var(--smoke); font-style: italic; }
.chat code { padding: 1px 6px; }
.js .chat li { opacity: 0; transform: translateY(6px); transition: opacity .3s ease-out, transform .3s ease-out; }
.js .chat li.on { opacity: 1; transform: none; }
.caps { display: grid; gap: 16px; margin-top: 26px; }
.caps li { position: relative; max-width: 54ch; padding-left: 28px; }
.caps li::before { content: ""; position: absolute; left: 0; top: .48em; width: 11px; height: 11px; border: 2px solid var(--smoke); border-radius: 50%; }

/* Ranks */
.ranks { display: grid; gap: 30px; }
.ranks li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: center; }
.rank { width: 64px; height: 64px; overflow: visible; }
.rank .ring { fill: none; stroke: var(--ash); stroke-width: 9; transform-box: fill-box; transform-origin: center; }
.rank .ring-thin { stroke-width: 5.5; }
.rank .dot { fill: var(--sakura); transform-box: fill-box; transform-origin: center; }
.ranks h3 { margin-bottom: 6px; font: 900 24px/1 var(--display); text-transform: uppercase; }
.ranks p { margin: 0; max-width: 44ch; color: var(--smoke); }
.js .ranks .ring { transform: scale(.55); opacity: 0; transition: transform .7s var(--snap), opacity .35s ease-out; }
.js .ranks .ring.inner { transform: scale(.2); }
.js .ranks .dot { transform: translateY(-34px); opacity: 0; transition: transform .6s var(--snap), opacity .2s ease-out; }
.js .ranks.shown .ring, .js .ranks.shown .dot { transform: none; opacity: 1; }
.js .ranks.shown li:nth-child(2) .ring { transition-delay: .15s; }
.js .ranks.shown li:nth-child(2) .dot { transition-delay: .55s; }
.js .ranks.shown li:nth-child(3) .ring { transition-delay: .3s; }
.js .ranks.shown li:nth-child(3) .ring.inner { transition-delay: .5s; }
.js .ranks.shown li:nth-child(3) .dot { transition-delay: .8s; }

/* Join */
.steps { display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; align-items: start; }
.steps .n { font: 900 30px/1 var(--display); color: var(--sakura); }
.steps p { margin: 2px 0 14px; max-width: 46ch; }

/* Numbers under the hero: two on each side of the cut */
.numbers { padding-top: clamp(72px, 9vw, 120px); }
.numbers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 48px; }
.numbers .l { justify-content: flex-end; }
.numbers li { display: grid; gap: 8px; }
.numbers .l li { justify-items: end; }
.num { font: 900 clamp(48px, 6vw, 80px)/.9 var(--display); color: var(--ash); font-variant-numeric: tabular-nums; }
.lbl { font: 500 12px/1.4 var(--mono); color: var(--smoke); }

/* The giveaway: the pot as a big number, then one double chest per dub */
.gcard { display: grid; gap: 14px; padding: 24px 22px 26px; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.gcard .status { margin: 0; width: max-content; max-width: 100%; }
.split > .l > .actions { margin-top: 28px; }
.big { margin: 0; font: 900 clamp(64px, 9vw, 120px)/.85 var(--display); color: var(--ash); }
.big small { font-size: .36em; color: var(--smoke); }
.potcap { margin: 0; font: 500 13px/1.5 var(--mono); color: var(--smoke); }
.potcap b { color: var(--ash); font-weight: 600; }
.pot { display: flex; flex-wrap: wrap; gap: 7px; }
.dub { width: 32px; height: 20px; animation: drop .45s var(--snap) backwards; animation-delay: calc(var(--i) * 40ms + 200ms); }
.dub .chest { fill: var(--ash); }
.dub .seam { fill: none; stroke: var(--raised); stroke-width: 1.5; }
.dub .latch { fill: var(--sakura); stroke: var(--raised); stroke-width: 1.5; }
@keyframes drop { from { transform: translateY(-8px) scale(.7); } }
.ghost { display: grid; place-items: center; width: 32px; height: 20px; border: 1.5px dashed var(--sakura); border-radius: 4px; font: 600 10px/1 var(--mono); color: var(--sakura); animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-3px); } }

/* Hall of fame: one dot for every month on the team, and the medals */
.wall { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wall li { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.who-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.name { font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ash); overflow-wrap: anywhere; }
.tag { font: 500 11px/1 var(--mono); color: var(--smoke); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; }
.tenure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 12px/1.4 var(--mono); color: var(--smoke); }
.months { display: inline-flex; gap: 4px; }
.months i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line); }
.months i.on { background: var(--sakura); border-color: var(--sakura); }
.minis { display: flex; flex-wrap: wrap; gap: 6px; }
.mini { width: 24px; height: 24px; }
.after { margin: 20px 0 0; color: var(--smoke); }
.r > .btn { margin-top: 26px; }
.medals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
.medals li { display: grid; align-content: start; gap: 8px; }
.medal { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--sunken); border: 1px solid var(--line); }
.medal svg { width: 46px; height: 46px; }
.medals h3 { margin-top: 6px; font: 900 17px/1.05 var(--display); text-transform: uppercase; }
.medals p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--smoke); }
.mg-f { fill: var(--ash); }
.mg-s { fill: none; stroke: var(--ash); stroke-width: 3; }
.mg-t { fill: none; stroke: var(--ash); stroke-width: 2; stroke-dasharray: 3.5 3; }
.mg-o { fill: none; stroke: var(--smoke); stroke-width: 1.3; }
.mg-ring { fill: none; stroke: var(--smoke); stroke-width: 1.5; }
.mg-a { fill: var(--sakura); }
.mg-cut { fill: none; stroke: var(--void); stroke-width: 1.6; }
.mg-latch { fill: var(--sakura); stroke: var(--void); stroke-width: 1.6; }

/* Timeline: on wide screens each moment sits on the cut. On phones a line runs down the left. */
.tl { position: relative; list-style: none; margin: 0; padding: 0; }
.tl::before { content: ""; position: absolute; left: 50%; top: 12px; bottom: 12px; width: 1px; margin-left: -.5px; background: var(--line); }
.tl li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--gap) * 2); padding-bottom: 72px; }
.tl li:last-child { padding-bottom: 0; }
.tl .l { text-align: right; }
.tl li::before { content: ""; position: absolute; left: 50%; top: 2px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ash); box-shadow: 0 0 0 6px var(--void); }
.tl li.now::before { background: var(--sakura); animation: beat 2.6s ease-out infinite; }
.tl time, .feed time { display: block; font: 500 12px/1.4 var(--mono); color: var(--smoke); }
.tl h2 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.tl p, .feed p { margin: 0; max-width: 46ch; color: var(--smoke); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { position: relative; padding: 0 0 30px 30px; }
.feed li:last-child { padding-bottom: 0; }
.feed li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ash); }
.feed li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.feed h3 { margin: 6px 0; font: 900 clamp(16px, 5vw, 24px)/1.05 var(--display); text-transform: uppercase; }

/* Doors to the other pages, and questions */
.doors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doors a { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ash); text-decoration: none; }
.door { display: flex; align-items: center; gap: 12px; font: 900 clamp(22px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; }
.door::after { content: ""; flex: none; width: .26em; height: .26em; border-radius: 50%; background: var(--sakura); }
.doors a:hover .door { color: var(--sakura); }
.doors .muted { color: var(--smoke); font-size: 15px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--sakura); font: 600 18px/1.3 var(--mono); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; max-width: 56ch; color: var(--smoke); }

/* Close */
.close { padding: clamp(140px, 16vw, 220px) 0 48px; display: grid; justify-items: center; text-align: center; }
.close .mark { width: min(200px, 48vw); }
.wordmark-big { margin: 30px 0 10px; font-size: 40px; }
.motto { margin: 0; color: var(--smoke); }
.emotes { display: flex; gap: 14px; margin: 38px 0 40px; }
.emotes img { width: 80px; height: 80px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 24px; }
.foot-nav a { color: var(--smoke); text-decoration: none; font-size: 14px; padding: 6px 0; }
.foot-nav a:hover { color: var(--ash); }
.legal { margin: 0; font-size: 13px; color: var(--smoke); }

/* The dot that rides the cut */
.rider { display: none; position: fixed; left: 0; top: 0; z-index: 5; width: 100px; height: 100px; margin: -50px 0 0 -50px; pointer-events: none; will-change: transform; }
.rider span { position: absolute; inset: 0; border-radius: 50%; background: var(--sakura); }
.rider span::after { content: ""; position: absolute; inset: -3px; border: 3px solid var(--sakura); border-radius: 50%; opacity: 0; }
.rider.pulse span::after { animation: ring .7s ease-out; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.ride .rider { display: block; }

/* Intro: the halves close in, the dot drops into place, the cut runs down the page */
.intro .hero .half-l { transform: translateX(-70px); opacity: 0; }
.intro .hero .half-r { transform: translateX(70px); opacity: 0; }
.intro .hero .own-dot, .intro .rider span { transform: scale(0); }
.intro .title .l { transform: translateX(-36px); opacity: 0; }
.intro .title .r { transform: translateX(36px); opacity: 0; }
.intro .hero-foot, .intro .est, .intro .corner { opacity: 0; }
.intro .cut { transform: scaleY(0); }
.go .hero .half { transform: none; opacity: 1; transition: transform 1s var(--snap), opacity .4s ease-out; }
.go .hero .own-dot, .go .rider span { transform: none; transition: transform .6s .65s var(--snap); }
.go .title .l, .go .title .r { transform: none; opacity: 1; transition: transform .9s .3s var(--snap), opacity .5s .3s ease-out; }
.go .hero-foot, .go .est, .go .corner { opacity: 1; transition: opacity .8s .9s ease-out; }
.go .cut { transform: none; transition: transform 1.6s 1s cubic-bezier(.2, .7, .2, 1); }

/* Every few seconds the top mark parts and snaps shut, the brand's one move */
.idle .hero .half-l { animation: part-l 6s 1s infinite; }
.idle .hero .half-r { animation: part-r 6s 1s infinite; }
@keyframes part-l { 0%, 84%, 100% { transform: none; } 89% { transform: translateX(-18px); } 94% { transform: translateX(3px); } 97% { transform: none; } }
@keyframes part-r { 0%, 84%, 100% { transform: none; } 89% { transform: translateX(18px); } 94% { transform: translateX(-3px); } 97% { transform: none; } }

/* When the dot lands in the bottom mark, the halves close on it */
.close .landed .half-l { animation: lock-l .7s var(--snap); }
.close .landed .half-r { animation: lock-r .7s var(--snap); }
@keyframes lock-l { from { transform: translateX(-26px); } to { transform: none; } }
@keyframes lock-r { from { transform: translateX(26px); } to { transform: none; } }

/* Phones and narrow windows: one column, no cut */
@media (max-width: 900px) {
  .split, .title { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .split > .l, .title .l { text-align: left; }
  .note, .lede, .demo { margin-left: 0; }
  .title { font-size: clamp(40px, 12.5vw, 76px); row-gap: 0; }
  .hero { justify-items: start; }
  .sight, .est { justify-self: center; }
  .section { padding-top: 96px; }
  .nav { order: 3; width: 100%; }
  .js .nav, .js .top .btn-small { display: none; }
  .js .menu-btn { display: inline-flex; }
  .head-mark { display: none; }
  .page-head { row-gap: 18px; }
  .split > .l .actions { justify-content: flex-start; }
  .numbers ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .numbers .l li { justify-items: start; }
  .tl::before { display: none; }
  .tl li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 0 0 34px 30px; }
  .tl .l { text-align: left; }
  .tl li::before { left: 0; margin-left: 0; box-shadow: none; }
  .tl li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
  .tl h2 { font-size: clamp(16px, 5.2vw, 26px); }
  .page-head h1 { font-size: clamp(30px, 9.4vw, 60px); }
}

@media (min-width: 901px) {
  .menu { display: none; }
}

@media (max-width: 420px) {
  .top .btn-small { display: none; }
  .chat { min-height: 330px; }
  .chat li { grid-template-columns: 1fr; gap: 2px; }
  .emotes img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Small pages: 404 and the Discord link */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; padding-block: 48px; text-align: center; }
.lost .mark { width: 150px; }
.lost h1 { font-size: clamp(30px, 6vw, 52px); line-height: .95; }
.lost p { margin: 0; max-width: 40ch; color: var(--smoke); }
