/* Freedom Guild — the whole design system. Guild banner green, gold charges, charter paper.
   Tokens first; every colour and face below derives from them (ARCHITECTURE.md §5). */

@font-face { font-family: "Big Shoulders Display"; src: url(/f/big-shoulders-display.203dd8ba.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/f/atkinson-next.1e4cea71.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/f/plex-mono-500.a76f53ca.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BSD fb"; src: local("Arial Narrow"), local("ArialNarrow"), local("Arial"); size-adjust: 84%; }

:root {
  --vert: #17382B;      /* the banner field */
  --vert-2: #1D4535;
  --line: #3E6E5A;      /* edges on the field */
  --mist: #A9C2B5;      /* quiet text on the field */
  --or: #F2B705;        /* gold: the one accent */
  --or-hi: #FFC929;
  --or-ink: #231A00;    /* label on a gold fill */
  --argent: #EEF0EA;    /* charter paper */
  --argent-2: #E1E6DD;
  --sable: #0E1A14;     /* ink on paper */
  --sable-2: #4A5A51;
  --rule: #C6CEC1;
  --gules: #B8321C;     /* wax: demo flags and your seal */
  --f-disp: "Big Shoulders Display", "BSD fb", Impact, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar: 60px;
  --col: clamp(360px, 41vw, 620px);
  color-scheme: dark;
}

*, ::before, ::after { box-sizing: border-box; }
html { background: var(--vert); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body { margin: 0; background: var(--vert); color: var(--argent); font: 400 17px/1.55 var(--f-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 900; }
kbd { font: 500 10px/1 var(--f-mono); border: 1px solid currentColor; border-radius: 3px; padding: 2px 4px; opacity: .75; }

.skip { position: absolute; z-index: 99; top: -99px; left: 16px; padding: 10px 14px; background: var(--or); color: var(--or-ink); font-weight: 700; }
.skip:focus { top: 10px; }

.eyebrow { font: 500 11.5px/1.35 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); margin: 0 0 14px; }
.tag { display: inline-block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 6px 2px; border: 1px solid currentColor; border-radius: 2px; vertical-align: .12em; white-space: nowrap; }
.tag-red { color: var(--gules); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1.5px solid transparent; border-radius: 3px; font: 700 16px/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-or { background: var(--or); color: var(--or-ink); }
.btn-or:hover { background: var(--or-hi); }
.btn-line { border-color: currentColor; color: var(--argent); background: transparent; }
.btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-s { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-wide { width: 100%; }
.is-placeholder { border-style: dashed; opacity: .72; cursor: not-allowed; font-size: 14.5px; }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; height: var(--bar); display: flex; align-items: center; gap: 14px; padding: 0 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); background: var(--vert); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand span { font: 800 23px/1 var(--f-disp); letter-spacing: .03em; text-transform: uppercase; }
.logo { width: 26px; height: 26px; fill: none; stroke: var(--or); stroke-width: 2.4; stroke-linecap: square; }

/* ---------- stage: hero + map ---------- */
.stage { display: grid; grid-template-areas: "hero" "map" "index" "foot"; }
.hero { grid-area: hero; container-type: inline-size; padding: 26px 16px 8px; }
.hero h1 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; color: var(--or); font-size: clamp(3.1rem, 19.5cqi, 9.4rem); line-height: .84; letter-spacing: -.005em; margin: 0 0 20px; }
.hero h1 .l { display: block; }
.hero h1 .l4 { color: var(--argent); }
.lede { font-size: 19px; line-height: 1.45; max-width: 26rem; color: var(--argent); text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }

.map { grid-area: map; position: relative; height: clamp(400px, 72svh, 640px); background-image: radial-gradient(circle, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1.2px); background-size: 28px 28px; background-position: 14px 14px; border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); margin-top: 18px; overflow: hidden; }
.graph { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.map-hint { display: none; position: absolute; left: 16px; bottom: 12px; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--mist); pointer-events: none; }
.map-hint kbd { margin-right: 2px; }

.index { grid-area: index; padding: 22px 16px 6px; }
.index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 52px; padding: 14px 2px; text-decoration: none; }
.i-name { font: 800 24px/1 var(--f-disp); text-transform: uppercase; letter-spacing: .02em; }
.i-k { font: 500 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); text-align: right; }
.index a:hover .i-name { color: var(--or); }
.foot { grid-area: foot; padding: 18px 16px calc(28px + env(safe-area-inset-bottom)); font: 500 11px/1.6 var(--f-mono); letter-spacing: .03em; color: var(--mist); }
.foot p { margin: 0; }
.foot .tag { color: var(--or); margin-right: 6px; }

/* ---------- the graph ---------- */
.edge { stroke: var(--line); stroke-width: 1.1; transition: stroke .16s, opacity .16s; }
.e-room { stroke-width: 1.7; }
.e-x { stroke-dasharray: 2 5; opacity: .75; }
.graph.intro .e-x { stroke-dasharray: 2 5; stroke-dashoffset: 0; animation: fade .5s var(--ease) var(--d, 0ms) both; }
.node { cursor: pointer; outline: none; transition: opacity .16s; }
.node .hit { fill: transparent; }
.node .dot { fill: var(--or); transform-box: fill-box; transform-origin: center; transition: transform .18s var(--ease), fill .16s; }
.node.sat .dot { fill: var(--mist); }
.node .halo { fill: none; stroke: var(--or); stroke-width: 2; opacity: 0; transition: opacity .16s; }
.node .label { font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; fill: var(--argent); paint-order: stroke; stroke: var(--vert); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.node.sat .label { font-size: 11px; letter-spacing: .02em; text-transform: none; fill: var(--mist); }
.node:hover .dot, .node.on-self .dot { transform: scale(1.35); }
.node:focus-visible .halo, .node.here .halo { opacity: 1; }
.node.here .dot { fill: var(--argent); }
.graph.hl .node { opacity: .3; }
.graph.hl .node.on { opacity: 1; }
.graph.hl .node.on .label { fill: var(--argent); }
.graph.hl .edge { opacity: .14; }
.graph.hl .edge.on { opacity: 1; stroke: var(--or); }
.node.me .seal { fill: var(--gules); stroke: var(--or); stroke-width: 1.5; }
.node.me .mk { fill: none; stroke: var(--argent); stroke-width: 1.7; stroke-linecap: square; }
.node.me .label { fill: var(--or); }
.node.dragging { cursor: grabbing; }

/* Intro: the map draws itself outward from Mission, once. JS sets --d and --len; skipped under reduced motion. */
.graph.intro .edge { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw .55s var(--ease) var(--d, 0ms) forwards; }
.graph.intro .node > * { animation: pop .45s var(--ease) var(--d, 0ms) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } }
.graph.intro .node > .label { animation-name: fade; }
@keyframes fade { from { opacity: 0; } }
.node.ping .halo { animation: ping 1.1s var(--ease) 2; }
@keyframes ping { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
.node .halo { transform-box: fill-box; transform-origin: center; }

/* ---------- rooms (charter paper) ---------- */
.rooms { background: var(--argent); color: var(--sable); color-scheme: light; }
.room { position: relative; padding: 0 16px 40px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); border-top: 1px solid var(--rule); container-type: inline-size; }
.room-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 0; margin-bottom: 18px; background: var(--argent); border-bottom: 1px solid var(--rule); }
.room-head .eyebrow { margin: 0; color: var(--sable-2); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.room-head .eyebrow span:first-child { color: var(--sable); }
.close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sable-2); border-radius: 3px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--sable); flex: none; }
.close:hover { background: var(--argent-2); }
.room h2 { font: 900 clamp(2.5rem, 10.5cqi, 4rem)/.88 var(--f-disp); text-transform: uppercase; color: var(--sable); letter-spacing: 0; text-wrap: balance; margin: 6px 0 24px; outline: none; }
.room-body { max-width: 40rem; }
.room-body p { font-size: 17.5px; line-height: 1.6; }
.lede-s { font-size: 19px !important; line-height: 1.5 !important; text-wrap: pretty; }
.room h3 { font: 800 23px/1.05 var(--f-disp); text-transform: uppercase; letter-spacing: .015em; margin: 0 0 6px; }
.block { padding: 18px 0 4px; border-top: 1px solid var(--rule); }
.articles { list-style: none; margin: 0 0 18px; padding: 0; }
.articles li { padding: 16px 0 4px 16px; border-left: 3px solid var(--or); margin-bottom: 12px; background: linear-gradient(90deg, var(--argent-2), transparent 70%); }
.note { font-size: 14.5px !important; color: var(--sable-2); }
.note .tag, .faq .tag { color: var(--gules); }
.groups, .roles { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.group { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--rule); border-radius: 3px; background: #F7F8F4; }
.group .btn { color: var(--sable); justify-self: start; }
.roles li { padding: 14px 16px 2px; border: 1px solid var(--rule); border-left: 3px solid var(--sable); border-radius: 3px; }
.room .btn-line { color: var(--sable); }
.linked { margin-top: 36px; padding-top: 14px; border-top: 2px solid var(--sable); }
.linked .eyebrow { color: var(--sable-2); }
.linked ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.linked a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sable-2); border-radius: 3px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--sable); }
.linked a:hover { background: var(--sable); color: var(--argent); }
.dot-s { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 1.5px var(--sable); }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background-color: color-mix(in srgb, var(--or) 42%, transparent); } }

/* wall */
.seats { list-style: none; margin: 20px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 14px 10px; }
.seat { display: grid; justify-items: center; gap: 8px; text-align: center; }
.seat-ring { width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed var(--sable-2); display: grid; place-items: center; }
.seat-l { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sable-2); overflow-wrap: anywhere; }
.seat.taken .seat-ring { border: 0; background: var(--gules); }
.seat.taken .seat-ring svg { width: 40px; height: 40px; fill: none; stroke: var(--argent); stroke-width: 2.2; stroke-linecap: square; }
.seat.taken .seat-l { color: var(--sable); }
.wall-empty { font-size: 15.5px !important; color: var(--sable-2); }

/* faq */
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 0; font: 700 18px/1.3 var(--f-body); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--f-mono); color: var(--sable-2); margin-left: auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 6px; }

/* ---------- the application ---------- */
.demo-flag { font-size: 14.5px !important; line-height: 1.45 !important; padding: 10px 12px; margin: 0 0 20px; background: var(--argent-2); border-left: 3px solid var(--gules); }
.apply-grid { display: grid; gap: 22px; }
.mark-card { margin: 0; display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: var(--vert); color: var(--argent); border-radius: 3px; position: sticky; top: 72px; z-index: 1; box-shadow: 0 10px 18px -14px rgba(0,0,0,.6); }
.mark-svg { width: 64px; height: 64px; flex: none; }
@container (min-width: 420px) { .mark-svg { width: 84px; height: 84px; } }
.seal { fill: var(--vert-2); stroke: var(--line); stroke-width: .5; }
.lattice circle { fill: var(--mist); opacity: .5; }
.mark-path { fill: none; stroke: var(--or); stroke-width: 2.3; stroke-linecap: square; stroke-linejoin: miter; }
.mark-card figcaption { display: grid; gap: 6px; min-width: 0; }
.mark-card .eyebrow { margin: 0; }
.mark-name { text-wrap: balance; font: 800 24px/1 var(--f-disp); text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.progress { font: 500 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.form-intro { color: var(--sable-2); }
.field { display: grid; gap: 6px; margin: 0 0 20px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field .label, legend { font: 700 16.5px/1.3 var(--f-body); color: var(--sable); padding: 0; }
legend { margin-bottom: 8px; }
.apply input[type="text"], .apply input[type="url"], .apply input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; font: 400 17px/1.3 var(--f-body); color: var(--sable); background: #FBFCF9; border: 1.5px solid var(--sable-2); border-radius: 3px; }
.apply input::placeholder { color: #7D8A83; }
.apply input:focus-visible { outline: 3px solid var(--or); outline-offset: 1px; border-color: var(--sable); }
.apply input[aria-invalid="true"] { border-color: var(--gules); box-shadow: inset 4px 0 0 var(--gules); }
.hint { font-size: 14.5px !important; line-height: 1.4 !important; color: var(--sable-2); margin: 0 !important; }
.err { font: 700 14.5px/1.4 var(--f-body); color: var(--gules); margin: 0 !important; }
.seg { display: inline-flex; width: max-content; border: 1.5px solid var(--sable-2); border-radius: 3px; overflow: hidden; }
.seg label { position: relative; font-weight: 700; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; font: 700 15px/1 var(--f-body); }
.seg input:checked + span { background: var(--sable); color: var(--argent); }
.seg input:focus-visible + span { outline: 3px solid var(--or); outline-offset: -3px; }
.pick { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; padding: 14px; margin-bottom: 8px; border: 1.5px solid var(--rule); border-radius: 3px; cursor: pointer; }
.pick input { grid-row: span 2; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sable); }
.pick:has(input:checked) { border-color: var(--sable); background: var(--argent-2); }
.pick-name { font: 700 16.5px/1.3 var(--f-body); }
.pick-p { font-size: 14.5px; line-height: 1.4; color: var(--sable-2); }
.js .apply:not(.is-voice) .audience { display: none; }
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; margin: 4px 0 24px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.box { width: 24px; height: 24px; border: 1.5px solid var(--sable); border-radius: 3px; display: grid; place-items: center; background: #FBFCF9; }
.check input:checked + .box { background: var(--sable); }
.check input:checked + .box::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--argent); border-bottom: 2.5px solid var(--argent); transform: translateY(-2px) rotate(-45deg); }
.check input:focus-visible + .box { outline: 3px solid var(--or); outline-offset: 2px; }
.check-l { display: block; font: 700 16.5px/1.3 var(--f-body); margin-bottom: 2px; }
.done { margin: 0 0 22px; padding: 22px 18px; background: var(--vert); color: var(--argent); border-radius: 3px; outline: none; }
.done h3 { font-size: 34px !important; color: var(--or); margin-bottom: 12px !important; }
.done .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.done .btn-line { color: var(--argent); }

@container (min-width: 560px) {
  .apply-grid { grid-template-columns: 168px 1fr; align-items: start; }
  .mark-card { flex-direction: column; align-items: flex-start; top: 84px; }
  .mark-svg { width: 136px; height: 136px; }
}

.lost { padding: 40px 16px; container-type: inline-size; }
.lost h1 { font: 900 clamp(4rem, 22cqi, 10rem)/.84 var(--f-disp); text-transform: uppercase; color: var(--or); margin-bottom: 18px; }
.lost h1 .l { display: block; }

/* ---------- follow links (bar + footer) ---------- */
.social { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.soc { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); text-decoration: none; }
.soc:hover { color: var(--or); }
.foot a { color: var(--argent); }
.foot a:hover { color: var(--or); }

/* ---------- the member wall ---------- */
.wall-grid { list-style: none; margin: 20px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.member a { display: grid; grid-template-rows: 76px auto; align-items: center; justify-items: center; gap: 8px; height: 100%; padding: 14px 10px 12px; background: #FBFCF9; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; color: var(--sable); transition: border-color .15s, transform .15s var(--ease); }
.member a:hover { border-color: var(--sable); transform: translateY(-1px); }
.m-logo { display: grid; place-items: center; width: 64px; height: 64px; }
.m-logo.wide { width: 100%; height: 56px; }
.m-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.m-text { width: 100%; font: 700 17px/1.1 Georgia, "Times New Roman", serif; letter-spacing: .04em; text-transform: uppercase; color: #65543c; text-align: center; }
.m-name { font: 500 10.5px/1.25 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--sable-2); overflow-wrap: anywhere; }
.member.join a { background: transparent; border-style: dashed; border-color: var(--sable-2); }
.m-plus { font: 400 34px/1 var(--f-mono); color: var(--sable-2); }

/* ---------- FAQ answers ---------- */
.faq .a { padding-bottom: 6px; }
.faq .a ul { margin: 0 0 14px; padding-left: 20px; }
.faq .a li { margin-bottom: 6px; }

/* ---------- the application ---------- */
.opt { font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sable-2); margin-left: 6px; vertical-align: .12em; }
.apply textarea { width: 100%; min-height: 96px; padding: 12px 14px; font: 400 17px/1.4 var(--f-body); color: var(--sable); background: #FBFCF9; border: 1.5px solid var(--sable-2); border-radius: 3px; resize: vertical; }
.apply textarea:focus-visible { outline: 3px solid var(--or); outline-offset: 1px; border-color: var(--sable); }
.apply textarea::placeholder { color: #7D8A83; }
.check .err { display: block; margin-top: 4px !important; }
.check:has(input[aria-invalid="true"]) .box { border-color: var(--gules); box-shadow: 0 0 0 2px var(--gules); }
.privacy { font-size: 13.5px !important; line-height: 1.45 !important; color: var(--sable-2); margin: 14px 0 0 !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply button[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Sent / failed: shown by the URL fragment the konsensus.net send redirects to. Works with no script at all. */
.notice { display: none; }
.notice:target { display: block; }
.room:has(#applied:target) .apply { display: none; }
.retry { margin: 0 0 22px; padding: 16px 18px; border-left: 3px solid var(--gules); background: var(--argent-2); outline: none; }
.retry h3 { font-size: 22px !important; margin-bottom: 8px !important; }
@media (max-width: 419px) { .soc { padding: 0 6px; } }

/* ---------- razor-thin scrollbar on the room panel (house rule) ---------- */
.rooms { scrollbar-width: thin; scrollbar-color: transparent transparent; }
.rooms:hover, .rooms:focus-within { scrollbar-color: color-mix(in srgb, var(--sable-2) 55%, transparent) transparent; }
.rooms::-webkit-scrollbar { width: 12px; background: transparent; }
.rooms::-webkit-scrollbar-track, .rooms::-webkit-scrollbar-corner { background: transparent; }
.rooms::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.rooms::-webkit-scrollbar-thumb { background-color: transparent; background-clip: padding-box; border: 3px solid transparent; border-radius: 999px; min-height: 40px; }
.rooms:hover::-webkit-scrollbar-thumb, .rooms:focus-within::-webkit-scrollbar-thumb { background-color: color-mix(in srgb, var(--sable-2) 55%, transparent); }

/* ---------- JS on: the map is the navigation, rooms open as a sheet ---------- */
.js .room { display: none; border-top: 0; }
.js .room.is-open { display: block; }
.js .rooms { position: fixed; z-index: 40; inset: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateY(102%); visibility: hidden; transition: transform .34s var(--ease), visibility 0s linear .34s; }
.js.room-open .rooms { transform: none; visibility: visible; transition: transform .34s var(--ease), visibility 0s; }
.js.room-open body { overflow: hidden; }

@media (hover: hover) and (pointer: fine) { .map-hint { display: block; } }
@media (hover: none) { .close kbd { display: none; } }
@media (max-width: 599px) {
  .node.sat { pointer-events: none; }
  .node.sat .label { display: none; }
  .graph.hl .node.sat.on .label { display: block; }
}
@media (max-width: 419px) {
  .bar { gap: 10px; }
  .brand span { font-size: 21px; }
  .logo { width: 22px; height: 22px; }
  .d-x { display: none; }
}

@media (min-width: 600px) {
  .hero { padding: 36px 28px 8px; }
  .index, .foot { padding-left: 28px; padding-right: 28px; }
  .room { padding-left: 32px; padding-right: 32px; }
}

@media (min-width: 960px) {
  .stage { grid-template-columns: var(--col) 1fr; grid-template-rows: 1fr auto auto; grid-template-areas: "hero map" "index map" "foot map"; min-height: calc(100svh - var(--bar)); }
  .hero { padding: clamp(28px, 6svh, 64px) 40px 12px; align-self: center; }
  .hero h1 { font-size: min(19.5cqi, 13.4svh); }
  .map { height: auto; min-height: 520px; margin: 0; border-block: 0; border-left: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
  .index { padding: 8px 40px 0; }
  .index ul { display: flex; flex-wrap: wrap; gap: 4px 15px; border: 0; }
  .index li { border: 0; }
  .index a { min-height: 34px; padding: 4px 0; }
  .index .i-k { display: none; }
  .index .i-name { font-size: 18px; }
  .foot { padding: 12px 40px 22px; }
  .js .stage { position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0; min-height: 0; }
  .js .bar { position: fixed; left: 0; right: 0; }
  .js body { overflow: hidden; }
  /* the room opens over the copy column and leaves the map live beside it: the fold of a cracked-open book */
  .js .rooms { inset: var(--bar) auto 0 0; width: var(--col); transform: translateX(-101%); border-right: 1px solid var(--rule); box-shadow: inset -13px 0 16px -15px color-mix(in srgb, var(--sable-2) 45%, transparent), 18px 0 40px -20px rgba(0, 0, 0, .55); }
  .js.room-open body { overflow: hidden; }
  .room { padding-left: 40px; padding-right: 34px; }
}

@media (min-width: 960px) and (max-height: 640px) {
  .hero .lede { font-size: 17px; }
  .index { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
