:root {
  --bg: #07080c;
  --bg2: #0d1017;
  --field: #10141c;
  --ink: #eef1f6;
  --sub: #a3adbd;
  --dim: #6f7889;
  --rule: rgba(255, 255, 255, .14);
  --rule2: rgba(255, 255, 255, .07);
  --tone: rgba(255, 255, 255, .04);
  --accent: #ff5b3a;
  --on-accent: #160601;
  --link: #8fd0ff;
  --alert: #ff8a6b;
  --hue: var(--accent);
  --out: cubic-bezier(.2, .7, .2, 1);
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.85 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-color: rgba(143, 208, 255, .45); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* inner pages share the graph's night sky as a still backdrop */
.page, .inside, .admin {
  background:
    radial-gradient(900px 480px at 88% -120px, rgba(255, 91, 58, .13), transparent 70%),
    radial-gradient(700px 420px at 6% 0, rgba(76, 201, 240, .08), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 28px 28px,
    var(--bg);
  background-attachment: scroll, scroll, fixed, scroll;
}

/* header */
.masthead { border-bottom: 1px solid var(--rule2); background: rgba(7, 8, 12, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 12px; padding-bottom: 12px; max-width: 1280px; }
.brand { font: 800 18px/1.3 var(--sans); color: var(--ink); text-decoration: none; margin: 0; letter-spacing: .04em; }
.brand small { display: block; font: 600 9px/1.4 var(--mono); color: var(--accent); letter-spacing: .32em; }
.masthead nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; flex: 1; }
.masthead nav a { color: var(--sub); text-decoration: none; font-weight: 600; transition: color .2s; }
.masthead nav a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 14px; font-size: 13px; margin: 0; }
.actions span { color: var(--sub); }
.actions a:not(.solid) { color: var(--sub); text-decoration: none; }
.actions a:not(.solid):hover { color: var(--ink); }

.solid, button.solid, a.solid, .ghost {
  display: inline-block; padding: 9px 22px; font: 700 14px/1.5 var(--sans); text-decoration: none; cursor: pointer; border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.solid, button.solid, a.solid { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.solid:hover { background: #ff7a5e; border-color: #ff7a5e; color: var(--on-accent); }
.ghost { background: rgba(16, 19, 26, .82); color: var(--ink); border: 1px solid var(--rule); }
.ghost:hover { border-color: var(--ink); }
.masthead .solid { padding: 6px 18px; font-size: 13px; }
button { font: 14px/1.5 var(--sans); background: var(--field); color: var(--ink); border: 1px solid var(--rule); padding: 5px 14px; cursor: pointer; border-radius: 6px; white-space: nowrap; }
button:hover { border-color: var(--sub); }

/* type */
h1 { font: 800 28px/1.5 var(--sans); margin: 0 0 16px; letter-spacing: .02em; }
h2 { font: 700 19px/1.5 var(--sans); margin: 56px 0 16px; padding: 0 0 10px; border-bottom: 1px solid var(--rule); position: relative; }
h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 1px; background: var(--accent); }
h3 { font: 700 16px/1.6 var(--sans); margin: 4px 0 6px; }
p { margin: 0 0 14px; }
.intro { margin-top: 28px; color: var(--sub); }
.quiet, .note { color: var(--sub); font-size: 13px; }
.more { margin-top: 12px; font-size: 14px; }
.more a::before { content: "› "; color: var(--accent); }
.prose { white-space: pre-line; }

/* lists and tables */
.feed { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.7; }
.feed li { padding: 10px 0; border-top: 1px solid var(--rule2); }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed time { display: block; font: 12px var(--mono); color: var(--dim); }
.feed small { display: block; font-size: 12px; color: var(--sub); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.org { margin: 4px 0 24px; display: grid; gap: 0; }
.org .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.org .row.three { grid-template-columns: repeat(3, 1fr); }
.org .box { border: 1px solid var(--rule); padding: 12px 14px; background: var(--tone); text-align: center; border-radius: 6px; }
.org .box b { display: block; font-size: 15px; color: var(--ink); }
.org .box span { display: block; font-size: 13px; line-height: 1.6; color: var(--sub); }
.org .box small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.org .box.wide { background: rgba(255, 91, 58, .12); border-color: var(--accent); margin: 22px 0; position: relative; }
.org .box.wide::before, .org .box.wide::after { content: ""; position: absolute; left: 50%; width: 1px; height: 22px; background: var(--accent); }
.org .box.wide::before { top: -23px; }
.org .box.wide::after { bottom: -23px; }
.org .box.plain { background: transparent; border-style: dashed; }

.dated { list-style: none; margin: 0; padding: 0; }
.dated li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule2); }
.dated time { font: 13px var(--mono); color: var(--dim); }
.dated small { display: block; color: var(--sub); font-size: 13px; }
.entry { padding: 18px 0; border-bottom: 1px solid var(--rule2); }
.entry time { font: 13px var(--mono); color: var(--dim); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.steps { margin: 0; padding-left: 1.6em; }
.steps li { padding: 3px 0; }
.steps li::marker { color: var(--accent); font-family: var(--mono); }
.names { list-style: none; margin: 0; padding: 0; columns: 2; line-height: 2.2; }

.ledger { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; line-height: 1.75; }
.ledger caption { text-align: left; font-weight: 700; font-size: 14px; padding: 0 0 6px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--rule2); }
.ledger thead th { font: 600 11px var(--mono); letter-spacing: .08em; color: var(--dim); border-bottom-color: var(--rule); }
.ledger tbody th { font-weight: 700; white-space: nowrap; width: 1%; color: var(--ink); }
.ledger tbody td { color: #d5dbe5; }
.ledger tbody tr:hover > * { background: var(--tone); }
.ledger.compact th, .ledger.compact td { padding: 7px 10px; font-size: 13px; }
.ledger.compact tbody th { white-space: normal; width: 34%; }
.ledger ul { margin: 0; padding-left: 1.2em; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; }
.plans .price { white-space: nowrap; font-weight: 700; color: var(--ink); }
.verdict.likely { color: var(--link); font-weight: 700; }
.verdict.hard { color: var(--alert); font-weight: 700; }

/* inner pages */
main.wrap { padding-top: 48px; padding-bottom: 96px; }
.page main.wrap > h1:first-child, .inside main.wrap > h1:first-child { padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; position: relative; }
.page main.wrap > h1:first-child::after, .inside main.wrap > h1:first-child::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--accent); }
.page main.wrap > *, .inside main.wrap > * { max-width: 880px; }

.draft { border: 1px solid var(--alert); color: var(--alert); padding: 8px 12px; font-size: 13px; font-weight: 700; border-radius: 6px; }
.clause h2 { font-size: 16px; margin-top: 36px; }
.clause ul { margin: 0 0 14px; padding-left: 1.4em; }
.clause li { margin-bottom: 4px; }

/* forms */
.sheet { max-width: 560px; display: grid; gap: 16px; margin: 20px 0 28px; padding: 24px; border: 1px solid var(--rule); background: rgba(13, 16, 23, .8); border-radius: 10px; }
.sheet label { display: block; font-size: 14px; font-weight: 700; }
.sheet label > input, .sheet label > select, .sheet label > textarea { display: block; margin-top: 4px; }
.sheet em { font-style: normal; font-size: 11px; color: var(--on-accent); background: var(--accent); padding: 1px 6px; margin-left: 8px; border-radius: 2px; }
input, select, textarea { font: 16px/1.6 var(--sans); color: var(--ink); background: var(--field); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px; width: 100%; }
input:hover, select:hover, textarea:hover { border-color: var(--dim); }
input[type="checkbox"], input[type="radio"] { width: auto; margin: 0; accent-color: var(--accent); }
input[type="file"] { border: 0; padding: 0; background: none; }
.sheet label.check, .check { display: flex; align-items: baseline; gap: 8px; font-weight: 400; font-size: 14px; }
fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 12px 0 0; display: grid; gap: 6px; }
legend { font-weight: 700; font-size: 14px; padding: 0 12px 0 0; }
.sheet .solid { justify-self: start; }
.errors { border: 1px solid var(--alert); color: var(--alert); padding: 10px 14px 10px 32px; margin: 20px 0; max-width: 560px; border-radius: 6px; }

/* footer */
.colophon { border-top: 1px solid var(--rule2); background: #05060a; font-size: 13px; padding: 40px 0 48px; color: var(--sub); }
.colophon .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; max-width: 1280px; }
.colophon ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.colophon a { color: var(--sub); text-decoration: none; }
.colophon a:hover { color: var(--ink); }
.colophon .brand { font-size: 16px; }
.colophon .tagline { color: var(--dim); margin-bottom: 12px; }

/* admin */
.admin { font-size: 14px; line-height: 1.7; }
.admin .wrap { max-width: 1280px; }
.admin .masthead { border-bottom-color: var(--alert); }
.admin main.wrap { padding-top: 24px; }
.admin h1 { font-size: 20px; }
.admin h2 { font-size: 15px; margin-top: 36px; }
.dense th, .dense td { padding: 6px 10px; font-size: 13px; }
.dense tbody th { white-space: normal; width: auto; }
.inline { display: flex; gap: 6px; margin-bottom: 4px; }
.inline select { width: auto; padding: 4px 6px; font-size: 13px; }
.inline input { padding: 4px 6px; font-size: 13px; min-width: 8em; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.filters a.on { color: var(--ink); font-weight: 700; text-decoration: none; }
code { font: 12px/1.6 var(--mono); word-break: break-all; }

/* ============ top page: the 3D graph and the stops along it ============ */
.home { overflow-x: clip; }
#graph { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; display: block; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .7), transparent 120px),
    radial-gradient(ellipse at center, transparent 45%, rgba(3, 4, 7, .7) 100%);
}
#leader { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
#leader path { stroke-width: 1; }
#labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.static #leader, .static #labels { display: none; }

.tag { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; color: var(--ink); text-decoration: none; white-space: nowrap; will-change: transform, opacity; }
.tag span { display: block; transform: translate(-50%, 12px); font: 600 12px/1.2 var(--sans); letter-spacing: .05em; text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg), 0 0 2px var(--bg); }
.tag.hub { pointer-events: auto; }
.tag.hub span { transform: translate(-50%, 24px); font-weight: 700; padding: 4px 11px; border: 1px solid var(--rule); border-radius: 99px; background: rgba(7, 8, 12, .66); transition: border-color .2s, color .2s; }
.tag.hub:hover span { border-color: var(--accent); color: #fff; }
.tag.you span { transform: translate(-50%, 18px); color: var(--accent); font-weight: 700; }

.home .masthead { position: fixed; left: 0; right: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home main { position: relative; z-index: 3; pointer-events: none; overflow-x: clip; }
.home .colophon { position: relative; z-index: 3; }

/* one accent for every stop: the graph is greyscale and only the knot in focus is coloured */
.stop { --hue: var(--accent); }

.stop { position: relative; min-height: 100vh; min-height: 100svh; }
.pin { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 104px clamp(20px, 7vw, 120px) 56px; }
.stop.right .pin { justify-items: end; }
.stop.left .pin { justify-items: start; }

.panel { position: relative; isolation: isolate; width: min(500px, 100%); padding-top: 26px; pointer-events: auto; }
.hue-membership .panel { width: min(620px, 100%); }
.hue-join .panel { width: min(600px, 100%); }
/* the rule the leader line lands on */
.panel::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--hue), rgba(255, 255, 255, .12) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--out) .1s; }
.stop.left .panel::before { background: linear-gradient(270deg, var(--hue), rgba(255, 255, 255, .12) 70%, transparent); transform-origin: right; }
/* soft shade so text stays readable over the nodes */
.panel::after { content: ""; position: absolute; inset: -70px -90px; z-index: -1; background: radial-gradient(closest-side, rgba(7, 8, 12, .9), rgba(7, 8, 12, .62) 62%, transparent); opacity: 0; transition: opacity .8s; pointer-events: none; }
.stop.on .panel::before { transform: scaleX(1); }
.stop.on .panel::after { opacity: 1; }
html:not(.js) .panel::before, .static .panel::before { transform: none; }
html:not(.js) .panel::after, .static .panel::after { opacity: 1; }

.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 11px/1 var(--mono); letter-spacing: .22em; color: var(--hue); }
.kicker b { font-weight: 600; }
.kicker span { font: 700 12px/1 var(--sans); letter-spacing: .12em; color: var(--ink); padding-left: 12px; border-left: 1px solid var(--rule); }
.home h2 { font: 800 clamp(24px, 2.5vw, 34px)/1.42 var(--sans); letter-spacing: .01em; margin: 0 0 18px; padding: 0; border: 0; text-wrap: balance; }
.home h2::after { content: none; }
/* Japanese headlines: break between phrases, never inside a word */
.home h2, .hero-inner h1 { word-break: keep-all; overflow-wrap: anywhere; }
@supports (word-break: auto-phrase) { .home h2, .hero-inner h1 { word-break: auto-phrase; } }
.panel > p { color: #d5dbe5; }
.panel .fine { font-size: 13px; color: var(--sub); }

.steps3 { margin: 22px 0 0; display: grid; gap: 0; }
.steps3 > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule2); align-items: baseline; }
.steps3 dt { font-weight: 700; color: var(--hue); }
.steps3 dd { margin: 0; color: #d5dbe5; }

.checks { list-style: none; margin: 18px 0; padding: 0; }
.checks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--rule2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px; border: 1px solid var(--hue); transform: rotate(45deg); }

.next { margin-top: 22px; padding: 16px 0 0 18px; border-left: 1px solid var(--hue); }
.next h3 { font-size: 18px; margin: 0 0 6px; }
.next p { margin: 0; color: #d5dbe5; }

.chain { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; margin: 20px 0; padding: 0; font-weight: 700; font-size: 14px; }
.chain li { display: flex; align-items: center; }
.chain li::after { content: ""; width: 22px; height: 1px; margin: 0 8px; background: var(--hue); opacity: .7; }
.chain li:last-child { color: var(--hue); font-family: var(--mono); letter-spacing: .1em; }
.chain li:last-child::after { content: none; }

.tiers { display: grid; margin: 4px 0 14px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); align-items: start; }
.tier h3 { font-size: 17px; margin: 0; }
.tier .for { margin: 0; font-size: 12px; color: var(--sub); }
.tier .price { margin: 6px 0 0; font: 700 16px/1.4 var(--sans); color: var(--hue); font-variant-numeric: tabular-nums; }
.tier .price small { margin-left: 8px; font: 500 11px var(--sans); color: var(--dim); }
.tier ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.75; color: #d5dbe5; }
.tier li { padding-left: 14px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--hue); }

.links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; margin: 0 0 14px; }
.links a::before { content: "› "; color: var(--hue); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.cta .solid, .cta .ghost { padding: 11px 26px; }

.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.feeds h3 { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--dim); margin: 0 0 10px; }
.feeds .quiet { margin: 0; }

/* hero */
.stop.hero { display: grid; align-items: center; padding: 120px clamp(20px, 7vw, 120px) 96px; }
.hero-inner { position: relative; isolation: isolate; max-width: 860px; pointer-events: auto; }
.hero-inner::after { content: ""; position: absolute; inset: -60px -120px -60px -160px; z-index: -1; background: radial-gradient(closest-side, rgba(7, 8, 12, .72), rgba(7, 8, 12, .4) 60%, transparent); pointer-events: none; }
/* sized so each of the two lines (13 characters at most) stays on one line */
.hero-inner h1 { font: 800 clamp(20px, 6.6vw, 46px)/1.28 var(--sans); letter-spacing: .01em; margin: 0 0 24px; }
.hero-inner h1 span { display: block; }
.hero-inner h1 span:last-child { background: linear-gradient(90deg, #fff 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-inner .lead { max-width: 34em; color: #d5dbe5; font-size: 16px; line-height: 2; }
.cue { position: absolute; left: clamp(20px, 7vw, 120px); bottom: 34px; margin: 0; display: flex; align-items: center; gap: 12px; font: 600 10px/1 var(--mono); letter-spacing: .3em; color: var(--sub); }
.cue span { font: 500 11px var(--sans); letter-spacing: .08em; color: var(--dim); }
.cue i { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s var(--out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* position rail */
.rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 9; display: grid; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 6px 0; color: var(--dim); text-decoration: none; font: 600 10px/1 var(--mono); letter-spacing: .1em; }
.rail a::after { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .35s var(--out), background .35s; }
.rail a span { font: 600 11px/1 var(--sans); letter-spacing: .06em; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; text-shadow: 0 0 8px var(--bg); }
.rail a b { font-weight: 600; opacity: 0; transition: opacity .3s; }
.rail a:hover span, .rail a:focus-visible span, .rail a:hover b, .rail a.on b { opacity: 1; transform: none; }
.rail a:hover { color: var(--ink); }
.rail a.on { color: var(--ink); }
.rail a.on::after { width: 30px; background: var(--accent); }

/* things that unfold as their stop comes up (only once the script is running) */
.js [data-r] { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(5px); transition: opacity .7s var(--out), transform .7s var(--out), filter .7s var(--out), clip-path .9s var(--out); }
.js [data-r].in { opacity: 1; transform: none; filter: none; }
.js h1[data-r], .js h2[data-r] { clip-path: inset(0 100% 0 0); transform: none; filter: none; }
.js h1[data-r].in, .js h2[data-r].in { clip-path: inset(0 -2% -10% 0); }
.js .chain [data-r] { transform: translate3d(-10px, 0, 0); }
.js .hero-inner > :nth-child(2) { transition-delay: .12s; }
.js .hero-inner > :nth-child(3) { transition-delay: .5s; }
.js .hero-inner > :nth-child(4) { transition-delay: .65s; }
.js .cue { transition-delay: 1.1s; }
.static [data-r] { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }

/* opening: a counter under the core the nodes stream into, then a flash as it bursts */
#loader { position: fixed; inset: 0; z-index: 30; display: none; pointer-events: none; overflow: hidden; }
.loading #loader, .bang:not(.loaded) #loader { display: block; }
.loader-count { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); margin: 0; font: 200 clamp(44px, 7vw, 84px)/1 var(--mono); letter-spacing: .04em; white-space: nowrap; text-shadow: 0 0 24px rgba(7, 8, 12, .9); transition: opacity .2s; }
.loader-count b { font-weight: 200; }
.loader-count span { margin-left: 8px; font-size: .28em; letter-spacing: .2em; color: var(--accent); }
.loader-label { position: absolute; left: 50%; top: calc(66% + clamp(60px, 9vw, 104px)); transform: translateX(-50%); margin: 0; font: 600 10px/1 var(--mono); letter-spacing: .42em; color: var(--sub); white-space: nowrap; transition: opacity .2s; }
.bang .loader-count, .bang .loader-label { opacity: 0; }
.loader-flash { position: absolute; left: 50%; top: 50%; width: 64vmax; height: 64vmax; margin: -32vmax 0 0 -32vmax; border-radius: 50%; opacity: 0; transform: scale(.02); background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(255, 244, 234, .32) 6%, rgba(255, 132, 96, .1) 20%, rgba(150, 165, 255, .03) 42%, transparent 60%); }
/* a thin luminous ring riding the bloom outward */
.loader-flash::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 0 60px 6px rgba(255, 160, 120, .14), inset 0 0 60px 6px rgba(255, 255, 255, .06); }
.bang .loader-flash { animation: flash 2.8s cubic-bezier(.08, .7, .15, 1) forwards; }
@keyframes flash { 0% { opacity: 0; transform: scale(.02); } 4% { opacity: 1; } 22% { opacity: .7; } 100% { opacity: 0; transform: scale(4.4); } }
.home .masthead, .rail { transition: opacity .9s ease .25s; }
.loading .masthead, .loading .rail, .loading main, .loading .colophon { opacity: 0; }

/* wide screens: each stop is pinned while the page scrolls through it */
@media (min-width: 900px) and (min-height: 620px) {
  .hero-inner h1 { font-size: clamp(40px, 4.3vw, 64px); }
  .js:not(.static) .stop:not(.hero):not(.flow) { height: 230vh; }
  .js:not(.static) .stop.long:not(.hero):not(.flow) { height: 330vh; }
  .js:not(.static) .stop:not(.hero) .pin { position: sticky; top: 0; height: 100vh; }
  .js:not(.static) .stop.flow .pin { position: static; height: auto; }
}

/* narrow or short screens: the hub sits in the top half, the text scrolls up over it */
@media not all and (min-width: 900px) and (min-height: 620px) {
  .rail { display: none; }
  #leader { display: none; }
  .stop:not(.hero) .pin { align-items: end; justify-items: stretch; padding: 56vh 0 0; }
  .stop.right .pin, .stop.left .pin { justify-items: stretch; }
  .panel, .hue-membership .panel, .hue-join .panel { width: 100%; padding: 28px 20px 72px; background: linear-gradient(180deg, rgba(7, 8, 12, .74), rgba(7, 8, 12, .93) 120px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .panel::after { content: none; }
  .stop.left .panel::before { background: linear-gradient(90deg, var(--hue), rgba(255, 255, 255, .12) 70%, transparent); transform-origin: left; }
  .stop.hero { align-items: end; padding: 110px 20px 110px; }
  .cue { left: 20px; }
  .hero-inner .lead { font-size: 15px; line-height: 1.9; }
  .tag span { font-size: 11px; }
}

@media (max-width: 860px) {
  .pair, .two, .feeds { grid-template-columns: 1fr; }
  .org .row, .org .row.three { grid-template-columns: 1fr; gap: 8px; }
  .colophon .wrap { grid-template-columns: 1fr 1fr; }
  .masthead .wrap { gap: 6px 16px; }
  .masthead nav { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: 0 18px; }
  .masthead nav::-webkit-scrollbar { display: none; }
  .masthead .actions { margin-left: auto; }
  .home .masthead { background: linear-gradient(rgba(7, 8, 12, .9), rgba(7, 8, 12, .55) 70%, transparent); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 22px; }
  .names { columns: 1; }
  .ledger:not(.compact), .ledger:not(.compact) tbody, .ledger:not(.compact) tr, .ledger:not(.compact) th, .ledger:not(.compact) td { display: block; width: auto; }
  .ledger:not(.compact) thead { display: none; }
  .ledger:not(.compact) tr { border: 1px solid var(--rule2); border-radius: 6px; margin-bottom: 8px; padding: 4px 0; }
  .ledger:not(.compact) th, .ledger:not(.compact) td { border: 0; white-space: normal; padding: 5px 12px; }
  .dated li { grid-template-columns: 1fr; gap: 0; }
  .sheet { padding: 16px; }
  .colophon .wrap { grid-template-columns: 1fr; gap: 16px; }
  .tier { grid-template-columns: 1fr; gap: 8px; }
  .steps3 > div { grid-template-columns: 5.5em 1fr; }
  .actions a:not(.solid) { display: none; }
}

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