@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2-variations"), url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2-variations"), url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2-variations"), url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Zapas";
  font-weight: 100 500;
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
  size-adjust: 98.6%;
  ascent-override: 89%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Zapas";
  font-weight: 501 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Liberation Sans Bold"), local("Roboto Bold");
  size-adjust: 113%;
  ascent-override: 77.7%;
  descent-override: 18.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "JetBrains Mono Zapas";
  src: local("DejaVu Sans Mono"), local("Liberation Mono"), local("Menlo"), local("SF Mono"), local("Courier New");
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;

  --bg-0: #050506;
  --bg-1: #0a0b0d;
  --bg-2: #111216;
  --bg-3: #17181d;
  --bg-4: #1f2026;
  --bg-5: #2a2b32;

  --ink: #eef0f3;
  --ink-2: #b9bdc4;
  --ink-3: #8d96a3;
  --ink-4: #6b7078;
  --ink-5: #50545b;

  --line-1: rgb(255 255 255 / 0.06);
  --line-2: rgb(255 255 255 / 0.12);
  --line-3: rgb(255 255 255 / 0.22);
  --line-4: rgb(255 255 255 / 0.4);

  --glow: #dfe8ff;
  --glow-a: rgb(223 232 255 / 0.18);

  --ok: #3ddc84;
  --idle: #f0b232;
  --dnd: #f23f43;
  --off: #80848e;

  --glass: rgb(14 15 19 / 0.62);
  --scrim: rgb(5 5 6 / 0.88);
  --shade: rgb(0 0 0 / 0.6);
  --shadow-1: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 8px 24px -12px rgb(0 0 0 / 0.6);
  --shadow-2: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 24px 64px -24px rgb(0 0 0 / 0.75);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  --pad: clamp(20px, 16.4706px + 0.9804vw, 24px);
  --gutter: 16px;
  --cols: 4;
  --content: 1440px;
  --frame: 1760px;
  --rail: 0px;
  --block: var(--s-7);
  --hud-h: 64px;
  --dock-h: 48px;
  --hair: 1px;

  --fs-xs: clamp(0.75rem, 0.7292rem + 0.0926vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.8542rem + 0.0926vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.9792rem + 0.0926vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.0625rem + 0.2778vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.25rem + 0.5556vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.5rem + 1.1111vw, 2.5rem);
  --fs-2xl: clamp(2.125rem, 1.5833rem + 2.4074vw, 3.75rem);
  --fs-3xl: clamp(2.625rem, 1.5rem + 5vw, 6rem);
  --fs-4xl: clamp(3.25rem, 1rem + 10vw, 10rem);

  --sans: "Archivo", "Archivo Zapas", system-ui, sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Zapas", ui-monospace, monospace;

  --r-1: 6px;
  --r-2: 12px;
  --r-3: 20px;
  --r-4: 28px;
  --r-full: 999px;

  --z-world: 0;
  --z-content: 10;
  --z-hud: 40;
  --z-rail: 45;
  --z-menu: 60;
  --z-map: 70;
  --z-talk: 80;
  --z-toast: 90;
  --z-cursor: 100;
  --z-boot: 110;

  --d-1: 120ms;
  --d-2: 220ms;
  --d-3: 420ms;
  --d-4: 900ms;
  --d-5: 1600ms;
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-in: cubic-bezier(0.7, 0, 0.84, 0);
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --st: 40ms;
  --st-line: 55ms;
  --d-quiet: 200ms;
  --d-fade: 240ms;
  --beat: 0.5s;
}

@media (min-width: 768px) {
  :root {
    --pad: clamp(24px, 5.7143px + 2.381vw, 40px);
    --gutter: 24px;
    --cols: 8;
    --rail: var(--s-7);
    --block: var(--s-8);
    --hud-h: 72px;
  }
}
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --cols: 12;
  }
}
@media (min-width: 1440px) {
  :root {
    --pad: clamp(40px, 9.1429px + 2.1429vw, 64px);
  }
}
@media (min-resolution: 2dppx) {
  :root {
    --hair: 0.5px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--bg-5) var(--bg-0);
  scrollbar-gutter: stable;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-5);
  border: 3px solid var(--bg-0);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-4);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg-0);
  font-size: var(--fs-base);
}

::selection {
  background: var(--glow);
  color: var(--bg-0);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus {
  outline: none;
}
:focus-visible,
.is-focus {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}
.glass:focus-visible,
.glass :focus-visible,
.liquid:focus-visible,
.glass .is-focus {
  box-shadow: 0 0 0 6px var(--glow-a);
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd,
figure,
blockquote,
pre {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

em {
  font-style: normal;
}
p,
li,
dd {
  text-wrap: pretty;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums slashed-zero;
}

.sr-only,
.svg-defs {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  z-index: var(--z-toast);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-5);
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg-0);
  font-size: var(--fs-sm);
  font-weight: 560;
  transform: translateY(calc(-100% - var(--s-5)));
  transition: transform var(--d-2) var(--e-out);
}
.skip:focus-visible {
  transform: none;
}

.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2 + var(--rail));
  margin-inline: auto;
  padding-inline: calc(var(--pad) + var(--rail)) var(--pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
}

.t-hero {
  font-size: var(--fs-4xl);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.t-h1 {
  font-size: var(--fs-3xl);
  font-weight: 780;
  font-stretch: 112%;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 14ch;
}
.t-h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 20ch;
}
.t-h2s {
  font-size: var(--fs-xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 20ch;
}
.t-h3 {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.t-hero em {
  font-weight: 500;
  color: var(--ink-2);
}
.t-h1 em {
  font-weight: 480;
  color: var(--ink-2);
}
.t-h2 em,
.t-h2s em {
  font-weight: 400;
  color: var(--ink-2);
}
.t-h3 em {
  font-weight: 340;
  color: var(--ink-2);
}
.lead {
  font-size: var(--fs-md);
  font-weight: 420;
  line-height: 1.45;
  letter-spacing: -0.006em;
  color: var(--ink-2);
  max-width: 48ch;
  text-wrap: pretty;
}
.prose {
  display: grid;
  gap: 0.9em;
  max-width: 64ch;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
  hyphens: manual;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.label {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-3);
}
.label b {
  color: var(--ink);
  font-weight: 500;
}
.tele {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-3);
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-3);
  transition: text-decoration-color var(--d-1) var(--e-out), color var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .link:hover {
    text-decoration-color: var(--ink);
  }
}
.link.is-hover {
  text-decoration-color: var(--ink);
}
.link .i {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.08em;
  margin-left: 0.1em;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 560;
  font-stretch: 104%;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  user-select: none;
  transition: background-color var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out), color var(--d-2) var(--e-out), transform var(--d-1) var(--e-out), box-shadow var(--d-2) var(--e-out);
}
.btn .i {
  width: 16px;
  height: 16px;
  transition: transform var(--d-2) var(--e-out);
}
.btn--solid {
  background: var(--ink);
  color: var(--bg-0);
}
.btn--line {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
@media (hover: hover) {
  .btn--solid:hover {
    background: var(--glow);
  }
  .btn--line:hover {
    background: var(--bg-2);
    border-color: var(--line-3);
  }
  .btn:hover .i {
    transform: translateX(var(--s-1));
  }
}
.btn--solid.is-hover {
  background: var(--glow);
}
.btn--line.is-hover {
  background: var(--bg-2);
  border-color: var(--line-3);
}
.btn.is-hover .i {
  transform: translateX(var(--s-1));
}
.btn:active,
.btn.is-active {
  transform: scale(0.97);
}
.btn.is-done {
  background: var(--bg-3);
  color: var(--ink);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 1;
  background: var(--bg-3);
  border-color: var(--line-1);
  color: var(--ink-4);
  transform: none;
}
.btn.is-loading {
  cursor: progress;
  pointer-events: none;
}
.btn.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: var(--r-full);
  animation: spin 700ms linear infinite;
}
.btn.is-loading .i {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.glass {
  position: relative;
  border-radius: var(--r-4);
  background: var(--noise), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow-2);
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--line-3), var(--line-1));
  -webkit-mask: linear-gradient(var(--bg-0) 0 0) content-box, linear-gradient(var(--bg-0) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--bg-0) 0 0) content-box exclude, linear-gradient(var(--bg-0) 0 0);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .liquid {
    background: color-mix(in srgb, var(--bg-2) 96%, transparent);
  }
}
.card {
  border-radius: var(--r-3);
}

.world {
  position: fixed;
  inset: 0;
  z-index: var(--z-world);
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-5) var(--e-out);
}
.has-world .world {
  opacity: 1;
}
.veil {
  position: fixed;
  inset: 0;
  z-index: var(--z-world);
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, var(--bg-0) 55%, transparent) 100%);
}
:is([data-page="about"], [data-page="projekt"], [data-page="stack"], [data-page="section"], [data-page="notfound"], [data-page="projekty"], [data-page="uslugi"]) .veil {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg-0) 82%, transparent), color-mix(in srgb, var(--bg-0) 40%, transparent) 50%, transparent 72%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, var(--bg-0) 55%, transparent) 100%);
}
@media (max-width: 767px) {
  :is([data-page="about"], [data-page="projekt"], [data-page="stack"], [data-page="section"], [data-page="notfound"], [data-page="projekty"], [data-page="uslugi"]) .veil {
    background: linear-gradient(transparent 20%, color-mix(in srgb, var(--bg-0) 88%, transparent) 55%);
  }
}
.no-webgl .veil {
  background:
    radial-gradient(60% 50% at 70% 30%, var(--glow-a), transparent 70%),
    linear-gradient(var(--line-1) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-0);
}
.no-webgl .world {
  display: none;
}

.frame {
  position: fixed;
  inset: var(--s-3);
  z-index: var(--z-content);
  pointer-events: none;
}
.frame i {
  position: absolute;
  width: 16px;
  height: 16px;
}
.frame i::before,
.frame i::after {
  content: "";
  position: absolute;
  background: var(--line-3);
}
.frame i::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}
.frame i::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.frame i:nth-child(1) {
  left: calc(var(--s-2) * -1);
  top: calc(var(--s-2) * -1);
}
.frame i:nth-child(2) {
  right: calc(var(--s-2) * -1);
  top: calc(var(--s-2) * -1);
}
.frame i:nth-child(3) {
  left: calc(var(--s-2) * -1);
  bottom: calc(var(--s-2) * -1);
}
.frame i:nth-child(4) {
  right: calc(var(--s-2) * -1);
  bottom: calc(var(--s-2) * -1);
}

.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-hud);
  height: calc(var(--hud-h) + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: var(--s-5);
  padding: calc(env(safe-area-inset-top, 0px) + (var(--hud-h) - 40px) / 2) max(var(--pad), env(safe-area-inset-right, 0px)) 0 max(var(--pad), env(safe-area-inset-left, 0px));
  background: linear-gradient(color-mix(in srgb, var(--bg-0) 80%, transparent), transparent);
  pointer-events: none;
}
.hud > * {
  pointer-events: auto;
}
.brand-row {
  justify-self: start;
  display: flex;
  align-items: baseline;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  min-height: 40px;
  line-height: 40px;
  border-radius: var(--r-1);
}
.brand b {
  font-size: var(--fs-lg);
  font-weight: 800;
  font-stretch: 116%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand span {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink-3);
}
.hud__room {
  display: none;
}
.nav {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  padding: var(--s-1);
  border-radius: var(--r-full);
}
.nav a {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  height: 32px;
  padding: 0 var(--s-4);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 560;
  font-stretch: 104%;
  line-height: 32px;
  color: var(--ink-2);
  transition: color var(--d-1) var(--e-out), background-color var(--d-2) var(--e-out);
}
.nav a i {
  font-family: var(--mono);
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-3);
  transition: color var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .nav a:hover {
    color: var(--ink);
    background: var(--bg-3);
  }
}
.nav a[aria-current="page"] {
  color: var(--bg-0);
  background: var(--ink);
}
.nav a[aria-current="page"] i {
  color: var(--bg-5);
}
.hud__actions {
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 40px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--bg-1) 70%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-sm);
  font-weight: 560;
  font-stretch: 104%;
  line-height: 1;
  color: var(--ink);
  transition: background-color var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out), transform var(--d-1) var(--e-out);
}
.chip-btn .i {
  width: 16px;
  height: 16px;
}
@media (hover: hover) {
  .chip-btn:hover {
    background: var(--bg-3);
    border-color: var(--line-3);
  }
}
.chip-btn:active,
.chip-btn.is-active {
  transform: scale(0.97);
}
.chip-btn.is-hover {
  background: var(--bg-3);
  border-color: var(--line-3);
}
.chip-btn:disabled {
  cursor: not-allowed;
  color: var(--ink-4);
  border-color: var(--line-1);
}
.menu-btn {
  display: none;
}

.liquid {
  position: relative;
  background: var(--noise), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow-1);
}
.lg-svg .liquid {
  -webkit-backdrop-filter: url(#liquid-lens) blur(4px) saturate(160%);
  backdrop-filter: url(#liquid-lens) blur(4px) saturate(160%);
}
.liquid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--line-3), var(--line-1));
  -webkit-mask: linear-gradient(var(--bg-0) 0 0) content-box, linear-gradient(var(--bg-0) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--bg-0) 0 0) content-box exclude, linear-gradient(var(--bg-0) 0 0);
  pointer-events: none;
}
.talk {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  height: 40px;
  padding: 0 var(--s-1) 0 var(--s-4);
  border-radius: var(--r-full);
  color: var(--ink);
  transition: transform var(--d-1) var(--e-out), opacity var(--d-2) var(--e-out);
}
.talk__label {
  font-size: var(--fs-sm);
  font-weight: 560;
  font-stretch: 104%;
  line-height: 1;
  white-space: nowrap;
}
.talk__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg-0);
  transition: background-color var(--d-2) var(--e-out), transform var(--d-2) var(--e-out);
}
.talk__icon .i {
  width: 16px;
  height: 16px;
}
@media (hover: hover) {
  .talk:hover .talk__icon {
    background: var(--glow);
  }
}
.talk:active {
  transform: scale(0.97);
}
.talk.is-press {
  transform: scale(1.04);
}
.talk.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  align-content: center;
  gap: var(--s-7);
  padding: calc(var(--hud-h) + var(--s-5) + env(safe-area-inset-top, 0px)) var(--pad) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  background: var(--scrim);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  clip-path: circle(0 at var(--ox, 100%) var(--oy, 0%));
  transition: clip-path var(--d-2) var(--e-in);
}
.menu.is-open {
  clip-path: circle(150vmax at var(--ox, 100%) var(--oy, 0%));
  transition: clip-path var(--d-3) var(--e-out);
}
.menu ol {
  display: grid;
  gap: var(--s-1);
}
.menu a {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  min-height: 44px;
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-2);
  border-radius: var(--r-1);
  transition: color var(--d-1) var(--e-out);
}
.menu a span {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-3);
  min-width: 4ch;
}
.menu a[aria-current="page"],
.menu a:hover {
  color: var(--ink);
}
.menu__foot {
  display: grid;
  gap: var(--s-2);
}

.rail {
  position: fixed;
  left: max(var(--pad), calc((100vw - var(--content) - var(--rail)) / 2));
  top: 50%;
  z-index: var(--z-rail);
  display: none;
  gap: var(--s-1);
  width: calc(var(--rail) - var(--s-3));
  transform: translateY(-50%);
  transition: opacity var(--d-3) var(--e-out);
}
.is-booting .rail {
  opacity: 0;
}
.rail a {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 28px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-4);
  white-space: nowrap;
  border-radius: var(--r-1);
  transition: color var(--d-1) var(--e-out);
}
.rail a::before {
  content: "";
  width: 8px;
  height: 1px;
  flex: none;
  background: currentColor;
  transition: width var(--d-2) var(--e-out);
}
.rail a span {
  position: absolute;
  left: calc(100% + var(--s-2));
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-1);
  background: var(--bg-2);
  color: var(--ink);
  opacity: 0;
  transform: translateX(calc(var(--s-1) * -1));
  pointer-events: none;
  transition: opacity var(--d-2) var(--e-out), transform var(--d-2) var(--e-out);
}
.rail a:hover span,
.rail a:focus-visible span {
  opacity: 1;
  transform: none;
}
.rail a.is-active {
  color: var(--ink);
}
.rail a.is-active::before {
  width: 16px;
}
@media (hover: hover) {
  .rail a:hover {
    color: var(--ink-2);
  }
}

.telemetry {
  position: fixed;
  left: max(var(--pad), env(safe-area-inset-left, 0px));
  bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-content);
  display: flex;
  gap: var(--s-5);
  pointer-events: none;
  white-space: nowrap;
}
.telemetry span {
  display: inline-block;
}
.telemetry span:nth-child(1) {
  width: 16ch;
}
.telemetry span:nth-child(2) {
  width: 14ch;
}
.telemetry span:nth-child(3) {
  width: 18ch;
}
.telemetry b {
  font-weight: 500;
  color: var(--ink-2);
}

.gizmo {
  position: fixed;
  right: max(var(--pad), env(safe-area-inset-right, 0px));
  top: calc(var(--hud-h) + var(--s-4) + env(safe-area-inset-top, 0px));
  z-index: var(--z-content);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.gizmo canvas {
  width: 56px;
  height: 56px;
}
.gizmo div {
  display: grid;
  gap: var(--s-1);
  justify-items: end;
}
.gizmo small {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}
.gizmo span {
  color: var(--ink-2);
  white-space: pre;
  width: 22ch;
  text-align: right;
}
.gizmo button {
  height: 24px;
  padding: 0 var(--s-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background-color var(--d-1) var(--e-out), color var(--d-1) var(--e-out);
}
.gizmo button:disabled {
  color: var(--ink-4);
  border-color: var(--line-1);
  cursor: default;
}
@media (hover: hover) {
  .gizmo button:not(:disabled):hover {
    background: var(--ink);
    color: var(--bg-0);
  }
}
.no-webgl .gizmo,
.no-webgl .telemetry {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-toast);
  display: grid;
  justify-items: center;
  width: min(calc(100vw - var(--pad) * 2), 440px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  max-width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--ink);
  pointer-events: auto;
  animation: toast-in var(--d-3) var(--e-out) both;
}
.toast__item.is-out {
  animation: toast-out var(--d-2) var(--e-in) both;
}
.toast__item i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--r-full);
  background: var(--ink);
}
.toast__item i[data-tone="online"] {
  background: var(--ok);
}
.toast__item i[data-tone="idle"] {
  background: var(--idle);
}
.toast__item i[data-tone="dnd"] {
  background: var(--dnd);
}
.toast__item i[data-tone="offline"] {
  background: var(--off);
}
.toast__card {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.toast__card small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(var(--s-3));
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(var(--s-2));
  }
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-2) var(--e-out);
}
.has-cursor .cursor.is-on {
  opacity: 1;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: var(--r-full);
  will-change: transform;
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
}
.cursor__ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-4);
  opacity: 0;
  transition: opacity var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out);
}
.cursor.is-hover .cursor__ring {
  opacity: 1;
}
.cursor.is-action .cursor__ring {
  border-color: var(--glow);
}
.cursor__label {
  position: absolute;
  left: var(--s-6);
  top: var(--s-2);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-1);
  background: var(--glow);
  color: var(--bg-0);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--d-1) var(--e-out);
}
.cursor.is-label .cursor__label {
  opacity: 1;
}
.has-cursor body,
.has-cursor a,
.has-cursor button,
.has-cursor label,
.has-cursor [data-cursor] {
  cursor: none;
}
.has-cursor input,
.has-cursor textarea,
.has-cursor select {
  cursor: auto;
}
.is-orbiting,
.is-orbiting * {
  user-select: none;
  -webkit-user-select: none;
}

.is-booting main,
.is-booting .hud,
.is-booting .dock,
.is-booting .rail,
.is-booting .telemetry,
.is-booting .gizmo,
.is-booting .frame {
  opacity: 0;
  visibility: hidden;
}
.hud,
.dock,
.telemetry,
.gizmo,
.frame {
  transition: opacity var(--d-4) var(--e-out), visibility 0s;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: var(--z-boot);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--s-5);
  padding: calc(var(--s-5) + env(safe-area-inset-top, 0px)) var(--pad) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg-0) 88%, transparent), color-mix(in srgb, var(--bg-0) 40%, transparent));
  clip-path: inset(0 0 0 0);
  transition: opacity var(--d-4) var(--e-out), clip-path var(--d-4) var(--e-inout);
}
.boot.is-done {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.boot__top {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
}
.boot__log {
  align-self: end;
  display: grid;
  grid-template-rows: repeat(12, 1.6em);
  align-content: start;
  max-width: 72ch;
  height: calc(1.6em * 12);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-2);
  overflow: hidden;
  contain: layout paint;
}
.boot__log p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: log-in var(--d-2) var(--e-out) both;
}
.boot__log .t {
  color: var(--ink-4);
}
.boot__log .ok {
  color: var(--ink);
}
.boot__log .warn {
  color: var(--ink-2);
}
.boot__log .info {
  color: var(--ink-3);
}
@keyframes log-in {
  from {
    opacity: 0;
  }
}
.boot__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-5) var(--s-7);
}
.boot__mark {
  grid-column: 1 / -1;
  font-size: var(--fs-4xl);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-4);
  user-select: none;
}
.boot__mark span {
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.boot__meter {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
  overflow: hidden;
  white-space: pre;
}
[data-boot-bar] {
  display: inline-block;
  width: 44ch;
  overflow: hidden;
}
[data-boot-clock] {
  display: inline-block;
  min-width: 12ch;
  text-align: right;
}
@media (max-width: 599px) {
  [data-boot-bar] {
    width: 20ch;
  }
}
.boot__meter b {
  color: var(--ink);
  font-weight: 500;
  width: 4ch;
  text-align: right;
}
.boot__gate {
  display: grid;
  justify-items: start;
  gap: var(--s-3);
  visibility: hidden;
  opacity: 0;
}
.boot__gate.is-ready {
  visibility: visible;
  opacity: 1;
  animation: gate-in var(--d-3) var(--e-out) both;
}
.boot__gate .actions {
  gap: var(--s-3);
}
.boot__gate p {
  max-width: 40ch;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(var(--s-3));
  }
}

main {
  position: relative;
  z-index: var(--z-content);
  padding-bottom: calc(var(--dock-h) + var(--s-6) + env(safe-area-inset-bottom, 0px));
  transition: opacity var(--d-3) var(--e-out), transform var(--d-3) var(--e-out);
}
main:focus {
  outline: none;
}
.is-leaving main {
  opacity: 0;
  transform: translateY(calc(var(--s-3) * -1));
  transition-duration: var(--d-2);
  transition-timing-function: var(--e-in);
}
.is-arriving main {
  opacity: 0;
  transform: translateY(var(--s-3));
  transition: none;
}
.is-fading main,
.is-fading .world {
  opacity: 0;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--bg-3), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s var(--e-inout) infinite;
  pointer-events: none;
}
.skeleton.is-loaded::after {
  display: none;
}
.skeleton > img {
  opacity: 0;
  transition: opacity var(--d-3) var(--e-out);
}
.skeleton.is-loaded > img {
  opacity: 1;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--d-3) var(--e-out), transform var(--d-3) var(--e-out);
  transition-delay: calc(var(--n, 0) * var(--st));
}
[data-reveal].is-in,
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

.is-waiting {
  visibility: hidden;
}
.split-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform var(--d-4) var(--e-out);
  transition-delay: calc(var(--l, 0) * var(--st-line));
}
.is-in .split-line > span,
.split-line.is-in > span {
  transform: none;
}

.room {
  position: relative;
}
.room__head {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.room__head .lead {
  margin-top: calc(var(--s-1) * -1);
}

.hero {
  position: relative;
  padding-top: calc(var(--hud-h) + var(--s-9) + env(safe-area-inset-top, 0px));
  padding-bottom: var(--s-8);
  background: linear-gradient(transparent 40%, color-mix(in srgb, var(--bg-0) 72%, transparent));
}
.hero__grid {
  row-gap: var(--s-5);
}
.hero__copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-content: end;
  row-gap: var(--s-5);
  min-height: calc(100svh - var(--hud-h) - var(--s-9) - var(--s-8) - env(safe-area-inset-top, 0px));
}
.hero__copy > * {
  justify-self: start;
}
.hero__title,
.hero__lead {
  justify-self: stretch;
}
.hero__actions {
  margin-top: var(--s-2);
}
.hero__side {
  grid-column: 1 / -1;
  margin-top: var(--s-8);
}
.hero__hint {
  position: fixed;
  left: 50%;
  bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-content);
  transform: translateX(-50%);
  transition: opacity var(--d-2) var(--e-out);
  pointer-events: none;
}
.is-scrolled .hero__hint,
.is-booting .hero__hint {
  opacity: 0;
}
@media (max-width: 767px) {
  .hero__actions .btn {
    flex: 1 1 auto;
  }
}
@media (min-width: 768px) {
  .hero__copy {
    grid-column: 1 / span 7;
  }
  .hero__side {
    grid-column: 1 / span 5;
  }
}
@media (min-width: 1280px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-content: end;
  }
  .hero__grid {
    align-items: end;
  }
  .hero__copy {
    display: contents;
  }
  .chip {
    grid-column: 1 / 10;
    grid-row: 1;
  }
  .hero__title {
    grid-column: 1 / 10;
    grid-row: 2;
  }
  .hero__lead {
    grid-column: 1 / 8;
    grid-row: 3;
    align-self: last baseline;
  }
  .hero__actions {
    grid-column: 1 / 8;
    grid-row: 4;
  }
  .hero__side {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
    margin-top: 0;
    align-self: last baseline;
  }
}

.chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 32px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: color-mix(in srgb, var(--bg-1) 60%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.chip i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--r-full);
  background: var(--ink-3);
}
.chip i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 2.4s var(--e-inout) infinite;
}
.chip[data-state="wolny"] i {
  background: var(--glow);
}
.chip[data-state="zajety"] i {
  background: var(--ink-3);
}
.chip[data-state="przerwa"] i {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink-4);
}
.chip[data-state="przerwa"] i::after {
  animation: none;
}
@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

.manifest-wrap {
  padding-block: var(--s-10);
}
.manifest {
  max-width: 24ch;
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.manifest .w {
  color: var(--ink-4);
  transition: color var(--d-3) var(--e-out);
}
.manifest .w.is-lit {
  color: var(--ink);
}

.rpc {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: var(--r-3);
}
.rpc__banner {
  aspect-ratio: 5 / 2;
  background: var(--bg-3);
  overflow: hidden;
}
.rpc__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rpc--compact .rpc__banner {
  display: none;
}
.rpc__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: var(--s-3);
  margin: calc(var(--s-7) * -1) var(--s-4) 0;
}
.rpc--compact .rpc__head {
  margin: var(--s-4) var(--s-4) 0;
  align-items: center;
}
.rpc__avatar {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  padding: var(--s-1);
  border-radius: var(--r-full);
  background: var(--bg-1);
}
.rpc--compact .rpc__avatar {
  width: 56px;
  height: 56px;
  padding: 0;
  background: none;
}
.rpc__pic {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--r-full);
}
.rpc__avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--r-full);
  object-fit: cover;
  background: var(--bg-3);
}
.rpc__status {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  border: 4px solid var(--bg-1);
  background: var(--off);
}
.rpc--compact .rpc__status {
  width: 16px;
  height: 16px;
  border-width: 3px;
  right: calc(var(--s-1) * -1);
  bottom: calc(var(--s-1) * -1);
}
.rpc__status[data-status="online"] {
  background: var(--ok);
}
.rpc__status[data-status="idle"] {
  background: var(--idle);
}
.rpc__status[data-status="dnd"] {
  background: var(--dnd);
}
.rpc__bubble {
  margin-bottom: var(--s-3);
  padding: var(--s-1) var(--s-3);
  max-width: 220px;
  border-radius: var(--r-2) var(--r-2) var(--r-2) var(--r-1);
  background: var(--bg-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rpc--compact .rpc__bubble {
  margin-bottom: 0;
}
.rpc__body {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4) var(--s-4);
}
.rpc__name {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  min-width: 0;
}
.rpc__name b {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rpc__tag {
  padding: 0 var(--s-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-2);
}
.rpc__user {
  margin-top: calc(var(--s-2) * -1);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.rpc__activity {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-2);
  background: var(--bg-2);
}
.rpc__activity img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: var(--r-1);
  object-fit: cover;
}
.rpc__activity div {
  display: grid;
  gap: var(--s-1);
  min-width: 0;
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.rpc__activity small {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.rpc__activity b,
.rpc__activity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rpc__activity span {
  color: var(--ink-2);
}
.rpc__activity .mono {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.rpc__bar {
  position: relative;
  display: block;
  height: 2px;
  margin-top: var(--s-1);
  border-radius: var(--r-full);
  background: var(--line-2);
  overflow: hidden;
}
.rpc__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: var(--ink);
}
.rpc__now,
.rpc__bio {
  display: grid;
  gap: var(--s-1);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-2);
}
.rpc__now small,
.rpc__bio small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.rpc--compact .rpc__bio {
  display: none;
}
.rpc__foot {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: var(--hair) solid var(--line-2);
}
.rpc__src {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.rpc__src::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--ink-4);
}
.rpc.is-live .rpc__src {
  color: var(--ink);
}
.rpc.is-live .rpc__src::before {
  background: var(--ink);
}

.scene--work {
  height: calc(var(--slides, 3) * 80vh + 60vh);
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding-top: calc(var(--hud-h) + var(--s-7) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--dock-h) + var(--s-7) + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.sticky > * {
  pointer-events: auto;
}
#work-title {
  max-width: 10ch;
}
.scene__count {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--ink-3);
}
.scene__count b {
  color: var(--ink);
  font-weight: 500;
}
.slides {
  position: relative;
  align-self: end;
  width: 100%;
  max-width: 560px;
  min-height: 360px;
}
.slide {
  display: grid;
  gap: var(--s-4);
  align-content: end;
}
.js .slide {
  position: absolute;
  inset: auto 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--d-3) var(--e-out), transform var(--d-3) var(--e-out), visibility 0s step-end var(--d-3);
}
.js .slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--d-3) var(--e-out), transform var(--d-3) var(--e-out), visibility 0s;
}
.slide__top {
  display: flex;
  gap: var(--s-4);
}
.slide__top span:first-child {
  color: var(--ink);
}
.slide p {
  max-width: 46ch;
  color: var(--ink-2);
}
.slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}
.facts div {
  display: grid;
  gap: var(--s-1);
  align-content: start;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-2);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
}
.facts dt {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.facts dd {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink);
}
.slides__nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.slides__nav i {
  position: relative;
  width: 128px;
  height: 1px;
  background: var(--line-2);
}
.slides__nav b {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.slides__nav span:first-child {
  color: var(--ink);
}
.hint {
  margin-left: auto;
}

.scene--services {
  padding-top: calc(var(--hud-h) + var(--s-9) + env(safe-area-inset-top, 0px));
}
.services {
  row-gap: var(--block);
}
.services > * {
  grid-column: 1 / -1;
}
.services__process {
  margin-top: var(--s-10);
}
@media (min-width: 1024px) {
  .services__main {
    grid-column: 1 / span 7;
  }
  .services__process {
    grid-column: 6 / span 7;
  }
}
.term {
  overflow: hidden;
  border-radius: var(--r-3);
}
.term__bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 40px;
  padding: 0 var(--s-4);
  border-bottom: var(--hair) solid var(--line-2);
}
.term__bar i {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--ink-5);
}
.term__bar span {
  margin-left: var(--s-2);
}
.term__body {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  font-family: var(--mono);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.term__cmd {
  color: var(--ink);
}
.term__cmd::after {
  content: "_";
  margin-left: var(--s-1);
  animation: blink calc(var(--d-3) * 2) step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.svc {
  display: grid;
}
.svc li {
  display: grid;
  grid-template-columns: 4ch minmax(0, 1fr);
  gap: var(--s-1) var(--s-3);
  padding: var(--s-4) 0;
  border-top: var(--hair) solid var(--line-2);
}
.svc__no {
  color: var(--ink-4);
}
.svc b {
  font-family: var(--sans);
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.svc em {
  grid-column: 2;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.svc__desc {
  grid-column: 2;
  font-family: var(--sans);
  font-size: var(--fs-base);
  color: var(--ink-2);
}
.svc__meta {
  grid-column: 2;
  display: grid;
  gap: var(--s-1);
  margin-top: var(--s-2);
}
.svc__meta div {
  display: grid;
  grid-template-columns: 11ch minmax(0, 1fr);
  gap: var(--s-3);
}
.svc__meta dt {
  color: var(--ink-3);
}
@media (max-width: 479px) {
  .svc__meta div {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0;
  }
  .svc__meta div + div {
    margin-top: var(--s-2);
  }
}
.svc__meta dd {
  color: var(--ink-2);
}
.services__nope {
  margin-top: var(--s-8);
}
@media (min-width: 1024px) {
  .services__nope {
    grid-column: 1 / span 6;
  }
}
.nope {
  display: grid;
  gap: var(--s-2);
}
.nope li {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: var(--hair) solid var(--line-2);
  font-size: var(--fs-md);
  color: var(--ink);
}
.nope li::before {
  content: "×";
  font-family: var(--mono);
  color: var(--ink-3);
}
.steps {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.step {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.step span {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.step h3 {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.step p {
  color: var(--ink-2);
}

.page {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--hud-h) + var(--s-10) + env(safe-area-inset-top, 0px));
}
.page__grid {
  row-gap: var(--block);
  align-content: start;
}
.page__grid > * {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .page__main {
    grid-column: 1 / span 7;
  }
}
.block {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}

.techgrid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 560px) {
  .techgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .techgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.tech {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: var(--s-2);
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.tech__abbr {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.tech h3 {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.tech p {
  color: var(--ink-2);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 1024px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.metrics div {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  min-width: 0;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-2);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
}
.metrics dt {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.metrics dd {
  font-family: var(--mono);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.15;
  font-variant-numeric: tabular-nums slashed-zero;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metrics dd small {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.map-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.map-grid article {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tags li {
  height: 28px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 26px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.scene--contact {
  padding-top: calc(var(--hud-h) + var(--s-9) + env(safe-area-inset-top, 0px));
}
.contact {
  row-gap: var(--s-5);
  justify-items: center;
  text-align: center;
}
.contact > * {
  grid-column: 1 / -1;
}
.contact h1 {
  max-width: 16ch;
  margin-inline: auto;
}
.contact .lead {
  margin-inline: auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
  width: 100%;
  max-width: 960px;
  margin-top: var(--s-5);
  text-align: left;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cards .card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-width: 0;
  min-height: 80px;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-3);
  text-align: left;
  transition: background-color var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .cards .card:hover {
    background: color-mix(in srgb, var(--bg-3) 80%, transparent);
  }
}
.cards .card img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-2);
  object-fit: cover;
}
.cards .card img.round {
  border-radius: var(--r-full);
}
.cards .card img.qr {
  padding: var(--s-1);
  background: var(--ink);
}
.cards .card > span {
  display: grid;
  min-width: 0;
}
.cards .card small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cards .card strong {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cards .card em {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.card__hint {
  margin-left: auto;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.channels {
  display: grid;
  gap: var(--s-2);
  width: 100%;
  max-width: 640px;
  margin-top: var(--s-5);
  text-align: left;
}
.channels--compact {
  margin-top: var(--s-5);
}
.channel {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-height: 56px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-base);
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  transition: background-color var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out);
}
.channel > .i {
  color: var(--ink-2);
}
.channel__name {
  display: grid;
  font-weight: 560;
  font-stretch: 104%;
  min-width: 0;
}
.channel__note {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink-3);
}
.channel__note:empty {
  display: none;
}
.channel__handle {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.channel__act {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.channel__act .i {
  width: 16px;
  height: 16px;
  transition: transform var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .channel:hover {
    background: var(--bg-3);
    border-color: var(--line-3);
  }
  .channel:hover .channel__act .i {
    transform: translate(2px, -2px);
  }
}
@media (max-width: 479px) {
  .channel {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    padding: var(--s-3) var(--s-4);
  }
  .channel__handle {
    grid-column: 2;
    grid-row: 2;
  }
  .channel__act {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}
.form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
  width: 100%;
  max-width: 960px;
  padding: var(--s-5);
  border-radius: var(--r-4);
  text-align: left;
}
@media (min-width: 768px) {
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form .field--wide,
  .form__note,
  .form .btn {
    grid-column: 1 / -1;
  }
}
.form__note {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.form .btn {
  justify-self: start;
}
.field {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  min-width: 0;
}
.field__label {
  font-size: var(--fs-sm);
  font-weight: 560;
  font-stretch: 104%;
  line-height: 1.3;
  color: var(--ink);
}
.field__hint,
.field__error {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-3);
}
.field__error {
  color: var(--ink);
}
.field__error .i {
  width: 16px;
  height: 16px;
  flex: none;
  translate: 0 2px;
}
.input[aria-invalid="true"],
.talk-input[aria-invalid="true"] {
  border-color: var(--ink);
}
.input:disabled,
.talk-input:disabled {
  cursor: not-allowed;
  background: var(--bg-1);
  border-color: var(--line-1);
  color: var(--ink-4);
}
.input.is-hover,
.talk-input.is-hover {
  border-color: var(--line-3);
}
.input.is-focus,
.talk-input.is-focus {
  border-color: var(--line-4);
}
.input {
  width: 100%;
  height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--bg-2);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color var(--d-1) var(--e-out), box-shadow var(--d-2) var(--e-out);
}
textarea.input {
  height: auto;
  min-height: 140px;
  padding: var(--s-4);
  line-height: 1.6;
  resize: vertical;
}
.input::placeholder {
  color: var(--ink-4);
}
@media (hover: hover) {
  .input:hover {
    border-color: var(--line-3);
  }
}
.input:focus-visible {
  border-color: var(--line-4);
}
.hp,
.talk-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}
.feedback {
  min-height: 1.6em;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: var(--hair) solid var(--line-2);
}

.about {
  row-gap: var(--block);
}
.about > * {
  grid-column: 1 / -1;
}
.about__caption {
  justify-self: start;
}
@media (min-width: 1024px) {
  .about__main {
    grid-column: 1 / span 6;
  }
  .about__caption {
    grid-column: 8 / -1;
    grid-row: 1;
    align-self: end;
    justify-self: center;
  }
  .about__facts {
    grid-column: 1 / span 6;
  }
  .about__card {
    grid-column: 8 / -1;
  }
}
.facts.facts--list {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0;
}
.facts.facts--list div {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  padding: var(--s-3) 0;
  border-radius: 0;
  background: none;
  border-top: var(--hair) solid var(--line-2);
}
@media (min-width: 768px) {
  .facts.facts--list div {
    grid-template-columns: 12ch minmax(0, 1fr);
    gap: var(--s-4);
    align-items: baseline;
  }
}

.page--project .browser {
  overflow: hidden;
  border-radius: var(--r-3);
}
.browser {
  max-width: var(--frame);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 28px;
  padding: 0 var(--s-3);
  border-bottom: var(--hair) solid var(--line-2);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 1;
  color: var(--ink-3);
}
.browser__bar i {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--ink-5);
}
.browser__bar span {
  flex: 1;
  margin: 0 var(--s-3);
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser__bar b {
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.browser__view {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}
.browser__view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: object-position calc(var(--d-5) * 4) var(--e-inout);
}
@media (hover: hover) {
  .browser:hover .browser__view img {
    object-position: 50% 100%;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}
.stat {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4);
  border-radius: var(--r-2);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
}
.stat b {
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.case {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-7);
}
@media (min-width: 1024px) {
  .case {
    grid-column: 1 / span 8;
  }
}
.case__block {
  display: grid;
  gap: var(--s-4);
}
.reviews {
  display: grid;
  gap: var(--s-5);
  padding-block: var(--s-8);
}
.reviews__list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .reviews__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.review {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.review blockquote p {
  font-size: var(--fs-md);
  line-height: 1.45;
  color: var(--ink);
}
.hero__link {
  font-size: var(--fs-sm);
  font-weight: 560;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.page--404 .page__grid {
  min-height: calc(100svh - var(--hud-h) - var(--s-10) - var(--s-9));
  align-content: end;
}

.dock {
  position: fixed;
  right: max(var(--pad), env(safe-area-inset-right, 0px));
  bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-hud);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: var(--dock-h);
  padding: 0 var(--s-2) 0 var(--s-1);
  border-radius: var(--r-full);
}
.dock__play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg-0);
  transition: background-color var(--d-2) var(--e-out), transform var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .dock__play:hover {
    background: var(--glow);
  }
}
.dock__play:active {
  transform: scale(0.97);
}
.dock__play .i {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
.dock__play .i-pause,
.is-playing .dock__play .i-play {
  display: none;
}
.is-playing .dock__play .i-pause {
  display: block;
}
.dock__meta {
  display: grid;
  gap: var(--s-1);
  min-width: 0;
  max-width: 160px;
  line-height: 1;
}
.dock__meta b {
  font-size: var(--fs-sm);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock__meta span {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock__eq {
  font-size: var(--fs-sm);
  line-height: 1;
  color: var(--ink-2);
}
.dock__more {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  color: var(--ink-3);
  transition: color var(--d-1) var(--e-out), transform var(--d-2) var(--e-out), background-color var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .dock__more:hover {
    color: var(--ink);
    background: var(--bg-3);
  }
}
.dock__more[aria-expanded="true"] {
  transform: rotate(180deg);
}
.dock__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + var(--s-2));
  display: grid;
  gap: var(--s-3);
  width: 336px;
  padding: var(--s-4);
  border-radius: var(--r-4);
  animation: toast-in var(--d-3) var(--e-out) both;
}
.dock__head {
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
}
.dock__head span:last-child {
  color: var(--ink);
}
.dock__scope,
.dock__bands {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  line-height: 1.2;
  color: var(--ink-2);
  white-space: pre;
  overflow: hidden;
}
.dock__row {
  display: grid;
  grid-template-columns: 5ch minmax(0, 1fr) 5ch;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink-3);
}
.dock__row span:last-child {
  text-align: right;
}
.dock input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
}
.dock input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: var(--r-full);
  background: var(--line-3);
}
.dock input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: calc(var(--s-1) * -1 - 1px);
  border-radius: var(--r-full);
  background: var(--ink);
}
.dock input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: var(--r-full);
  background: var(--line-3);
}
.dock input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--ink);
}
.dock__tracks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.dock__tracks button,
.dock__upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--d-1) var(--e-out), color var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .dock__tracks button:hover,
  .dock__upload:hover {
    background: var(--ink);
    color: var(--bg-0);
  }
}
.dock__upload:focus-within {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}
.dock__upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dock__note {
  font-family: var(--sans);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-3);
}

.dropzone {
  position: fixed;
  inset: var(--s-3);
  z-index: var(--z-toast);
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-4);
  border-radius: var(--r-4);
  background: var(--scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-2) var(--e-out);
}
.is-dragging .dropzone {
  opacity: 1;
}

.talk-layer {
  position: fixed;
  inset: 0;
  z-index: var(--z-talk);
}
.talk-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg-0) 40%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--d-3) var(--e-out);
}
.talk-layer.is-open .talk-backdrop {
  opacity: 1;
}
.talk-blob {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: var(--r-full);
  will-change: left, top, width, height, border-radius;
}
.talk-panel {
  position: fixed;
  left: 0;
  top: 0;
  width: 440px;
  max-width: calc(100vw - var(--s-5));
  max-height: calc(100dvh - var(--hud-h) - var(--s-5));
  padding: var(--s-5);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-4);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transform-origin: top right;
  transition: opacity var(--d-2) var(--e-out), transform var(--d-3) var(--e-out);
}
.talk-layer.is-open .talk-panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.talk-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.talk-panel__head > div {
  display: grid;
  gap: var(--s-2);
}
.talk-panel h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
}
.talk-panel p {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-2);
}
.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  background: var(--bg-1);
  color: var(--ink);
  transition: background-color var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out), transform var(--d-1) var(--e-out);
}
.icon-btn .i {
  width: 20px;
  height: 20px;
}
@media (hover: hover) {
  .icon-btn:hover {
    background: var(--bg-3);
    border-color: var(--line-3);
  }
}
.icon-btn:active,
.icon-btn.is-active {
  transform: scale(0.97);
}
.icon-btn.is-hover {
  background: var(--bg-3);
  border-color: var(--line-3);
}
.icon-btn:disabled {
  cursor: not-allowed;
  color: var(--ink-4);
  border-color: var(--line-1);
}
.talk-discord {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  margin-top: var(--s-5);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-3);
  background: var(--ink);
  color: var(--bg-0);
  text-align: left;
  transition: background-color var(--d-2) var(--e-out), transform var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .talk-discord:hover {
    background: var(--glow);
  }
}
.talk-discord:active {
  transform: scale(0.98);
}
.talk-discord img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
}
.talk-discord span {
  display: grid;
}
.talk-discord small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-5);
}
.talk-discord strong {
  font-family: var(--mono);
  font-size: var(--fs-md);
  font-weight: 500;
}
.talk-discord__hint {
  margin-left: auto;
  padding: var(--s-1) var(--s-2);
  border: 1px solid currentColor;
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
}
.talk-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.talk-links a {
  display: grid;
  justify-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--bg-2);
  text-align: center;
  transition: border-color var(--d-2) var(--e-out), background-color var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .talk-links a:hover {
    border-color: var(--line-3);
    background: var(--bg-3);
  }
}
.talk-links img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: var(--r-2);
}
.talk-links span {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--fs-sm);
  font-weight: 560;
}
.talk-links span .i {
  width: 16px;
  height: 16px;
}
.talk-links small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.talk-form {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: var(--hair) solid var(--line-2);
}
.talk-form > .mono {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.talk-input {
  width: 100%;
  height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--bg-2);
  font-size: var(--fs-base);
  color: var(--ink);
  resize: none;
  transition: border-color var(--d-1) var(--e-out);
}
textarea.talk-input {
  height: auto;
  min-height: 140px;
  padding: var(--s-4);
}
.talk-input::placeholder {
  color: var(--ink-4);
}
@media (hover: hover) {
  .talk-input:hover {
    border-color: var(--line-3);
  }
}
.talk-input:focus-visible {
  border-color: var(--line-4);
}
.talk-send {
  width: 100%;
}
.talk-feedback {
  min-height: 1.45em;
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  line-height: 1.45;
  text-align: center;
  color: var(--ink-2);
}

.transit {
  position: fixed;
  inset: 0;
  z-index: var(--z-content);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--s-3);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-2) var(--e-out);
}
.transit.is-on {
  opacity: 1;
}
.transit b {
  font-size: var(--fs-3xl);
  font-weight: 780;
  font-stretch: 112%;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-4);
}

.gate {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-10);
}
@media (min-width: 768px) {
  .gate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.gate a {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  min-height: 128px;
  padding: var(--s-5);
  border-radius: var(--r-3);
  background: color-mix(in srgb, var(--bg-1) 76%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-1);
  transition: background-color var(--d-2) var(--e-out), box-shadow var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .gate a:hover {
    background: color-mix(in srgb, var(--bg-3) 86%, transparent);
    box-shadow: inset 0 0 0 1px var(--line-3);
  }
}
.gate span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.gate span .i {
  width: 16px;
  height: 16px;
  transition: transform var(--d-2) var(--e-out);
}
.gate b {
  font-size: var(--fs-xl);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.025em;
}
.gate__next {
  justify-items: end;
  text-align: right;
}
@media (min-width: 768px) {
  .gate__next {
    grid-column: 2;
  }
  .gate__next:only-child {
    grid-column: 1 / -1;
  }
}
@media (hover: hover) {
  .gate__next:hover span .i {
    transform: translateX(var(--s-1));
  }
  .gate__prev:hover span .i {
    transform: translateX(calc(var(--s-1) * -1));
  }
}

.map {
  position: fixed;
  inset: 0;
  z-index: var(--z-map);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--s-5);
  padding: calc(var(--hud-h) + var(--s-3) + env(safe-area-inset-top, 0px)) var(--pad) calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
  background: var(--scrim);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
  clip-path: circle(0 at var(--ox, 100%) var(--oy, 0%));
  transition: clip-path var(--d-2) var(--e-in);
}
.map.is-open {
  clip-path: circle(150vmax at var(--ox, 100%) var(--oy, 0%));
  transition: clip-path var(--d-3) var(--e-out);
}
.map__head,
.map__body,
.map__legend {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
}
.map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
}
.map__head > div {
  display: grid;
  gap: var(--s-3);
}
.map__body {
  overflow: auto;
  overscroll-behavior: contain;
  align-self: center;
  -webkit-mask-image: linear-gradient(var(--bg-0) calc(100% - var(--s-7)), transparent);
  mask-image: linear-gradient(var(--bg-0) calc(100% - var(--s-7)), transparent);
  padding-bottom: var(--s-7);
}
.map__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  padding-top: var(--s-4);
  border-top: var(--hair) solid var(--line-2);
}
.map__keys {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  margin-left: auto;
}
.map__keys kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-right: var(--s-1);
  padding: 0 var(--s-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink);
}
.lg {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: var(--s-2);
  vertical-align: -1px;
}
.lg--hall {
  background: var(--ink);
}
.lg--room {
  border: 1px solid var(--ink-2);
}
.lg--sub {
  border: 1px dashed var(--ink-2);
  border-radius: var(--r-full);
}
.lg--here {
  border-radius: var(--r-full);
  background: var(--glow);
  box-shadow: 0 0 0 3px var(--glow-a);
}
.metro {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  padding: var(--s-6) 0 var(--s-3);
}
.metro::before {
  content: "";
  position: absolute;
  left: var(--s-2);
  right: 0;
  top: calc(var(--s-6) + var(--s-1));
  height: 1px;
  background: linear-gradient(90deg, var(--line-3), var(--line-3) 92%, transparent);
}
.metro__hall {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding-right: var(--s-4);
  animation: metro-in var(--d-3) var(--e-out) both;
  animation-delay: calc(var(--i, 0) * var(--st));
}
@keyframes metro-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.metro__stop {
  position: relative;
  display: grid;
  gap: var(--s-1);
  padding-top: var(--s-6);
  border-radius: var(--r-1);
}
.metro__stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background: var(--ink);
  transition: transform var(--d-2) var(--e-out);
}
@media (hover: hover) {
  .metro__stop:hover::before {
    transform: rotate(45deg);
  }
  .metro__stop:hover b {
    color: var(--ink-2);
  }
}
.metro__stop b {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  transition: color var(--d-1) var(--e-out);
}
.metro__no,
.metro__stop small {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.metro__rooms {
  display: grid;
  margin-left: var(--s-1);
  padding-left: var(--s-4);
  border-left: 1px dashed var(--line-2);
}
.metro__rooms a {
  position: relative;
  display: grid;
  gap: var(--s-1);
  padding: var(--s-2) 0;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 560;
  color: var(--ink-2);
  border-radius: var(--r-1);
  transition: color var(--d-1) var(--e-out);
}
.metro__rooms a::before {
  content: "";
  position: absolute;
  left: calc(var(--s-5) * -1);
  top: var(--s-4);
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink-2);
  background: var(--bg-0);
}
@media (hover: hover) {
  .metro__rooms a:hover {
    color: var(--ink);
  }
}
.metro__rooms .mono {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.metro__sub {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  max-width: 100%;
  height: 28px;
  margin-top: var(--s-1);
  padding: 0 var(--s-2);
  border: 1px dashed var(--line-3);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color var(--d-1) var(--e-out), color var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .metro__sub:hover {
    border-color: var(--ink);
    color: var(--ink);
  }
}
.metro__sub .i {
  width: 12px;
  height: 12px;
}
.is-here > .metro__stop::before,
.metro__rooms .is-here > a::before {
  background: var(--glow);
  border-color: var(--glow);
  box-shadow: 0 0 0 4px var(--glow-a);
}
.is-here > .metro__stop::after,
.metro__rooms .is-here > a::after {
  content: attr(data-here);
  position: absolute;
  left: var(--s-5);
  top: 0;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glow);
}
.metro__rooms .is-here > a::after {
  position: static;
  order: -1;
  line-height: 1.3;
}
.metro__cam {
  position: absolute;
  top: var(--s-6);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--glow);
  box-shadow: 0 0 0 4px var(--glow-a);
  transform: translateX(var(--x, 0px));
  transition: transform var(--d-3) var(--e-out);
  pointer-events: none;
}

.rich {
  display: grid;
  gap: 0.9em;
  max-width: 64ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.rich h2 {
  margin-top: var(--s-3);
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.rich a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-3);
  transition: text-decoration-color var(--d-1) var(--e-out);
}
@media (hover: hover) {
  .rich a:hover {
    text-decoration-color: var(--ink);
  }
}
.rich strong {
  color: var(--ink);
  font-weight: 600;
}
.rich__list {
  display: grid;
  gap: var(--s-2);
}
.rich__list li {
  position: relative;
  padding-left: var(--s-5);
}
.rich__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  color: var(--ink-3);
}
.items {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.item {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-5);
  border-radius: var(--r-3);
}
.item h3 {
  font-size: var(--fs-lg);
  font-weight: 640;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.item p {
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .rail {
    display: grid;
  }
}
@media (pointer: coarse) {
  .brand {
    min-height: 44px;
    line-height: 44px;
  }
  .link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  p .link,
  .prose .link,
  .rich .link,
  .lead .link {
    display: inline;
    min-height: 0;
  }
  .rpc__bio {
    gap: var(--s-2);
  }
  .chip-btn,
  .talk,
  .menu-btn,
  .map-btn {
    height: 44px;
    min-width: 44px;
  }
  .talk__icon {
    width: 36px;
    height: 36px;
  }
  .dock__play,
  .dock__more {
    width: 44px;
    height: 44px;
  }
  .gizmo button {
    height: 44px;
  }
  .hud {
    padding-top: calc(env(safe-area-inset-top, 0px) + (var(--hud-h) - 44px) / 2);
  }
}
@media (max-width: 1023px) {
  .nav,
  .gizmo,
  .telemetry {
    display: none !important;
  }
  .hud {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .menu-btn {
    display: inline-flex;
  }
  .map-btn span {
    display: none;
  }
  .map-btn {
    width: 40px;
    padding: 0;
  }
  .hint {
    display: none;
  }
}
@media (max-width: 767px) {
  .hud__room {
    display: inline-flex;
    align-items: baseline;
    gap: var(--s-2);
    margin-left: var(--s-3);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums slashed-zero;
    color: var(--ink-3);
  }
  .brand span {
    display: none;
  }
  .talk {
    width: 40px;
    padding: 0 var(--s-1);
    justify-content: center;
  }
  .talk__label {
    display: none;
  }
  .metro {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: var(--s-5);
    padding: var(--s-2) 0;
  }
  .metro::before {
    left: var(--s-3);
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(var(--line-3), var(--line-3) 92%, transparent);
  }
  .metro__hall {
    padding-left: var(--s-6);
    padding-right: 0;
    gap: var(--s-2);
  }
  .metro__stop {
    padding-top: 0;
  }
  .metro__stop::before {
    left: calc(var(--s-5) * -1);
    top: var(--s-2);
  }
  .is-here > .metro__stop::after {
    position: static;
    order: -1;
    line-height: 1.3;
  }
  .metro__cam,
  .map__keys {
    display: none;
  }
  .map__body {
    align-self: stretch;
  }
  .slides {
    min-height: 0;
    height: 40svh;
    max-width: none;
  }
  .slide .facts {
    display: none;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .page {
    padding-top: calc(var(--hud-h) + 40svh + env(safe-area-inset-top, 0px));
  }
  .dock__meta,
  .dock__more,
  .dock__eq {
    display: none;
  }
  .dock {
    padding: 0 var(--s-1);
  }
  .dock__panel {
    width: min(336px, calc(100vw - var(--s-5)));
  }
  .boot__foot {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  .js .slide {
    transform: none !important;
  }
  [data-reveal] {
    transition: opacity var(--d-quiet) var(--e-out) !important;
  }
  .split-line > span {
    transform: none !important;
  }
  .world,
  main {
    transition: opacity calc(var(--d-fade) / 2) var(--e-out) !important;
  }
}

.no-js .boot {
  animation: boot-fail var(--d-3) var(--e-out) calc(var(--d-5) * 4) forwards;
}
.no-js.is-booting main,
.no-js.is-booting .hud,
.no-js.is-booting .dock,
.no-js.is-booting .frame {
  animation: show-fail var(--d-3) var(--e-out) calc(var(--d-5) * 4) forwards;
}
@keyframes boot-fail {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes show-fail {
  to {
    opacity: 1;
    visibility: visible;
  }
}

.ui {
  display: grid;
  gap: var(--s-8);
  padding-top: calc(var(--hud-h) + var(--s-8) + env(safe-area-inset-top, 0px));
}
.ui__group {
  display: grid;
  gap: var(--s-5);
}
.ui__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
}
.ui__cell {
  display: grid;
  gap: var(--s-2);
  justify-items: start;
}
.ui__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .ui__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ui__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ui__swatch {
  display: grid;
  gap: var(--s-1);
  width: 112px;
}
.ui__swatch i {
  height: 48px;
  border-radius: var(--r-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.ui__type {
  display: grid;
  gap: var(--s-5);
}
.toast--static {
  position: static;
  transform: none;
  width: auto;
}
.toast--static .toast__item {
  animation: none;
}
.cursor--demo {
  position: relative;
  width: 160px;
  height: 64px;
  opacity: 1;
}
.cursor--demo .cursor__dot {
  transform: translate3d(17px, 29px, 0);
}
.cursor--demo .cursor__ring {
  opacity: 1;
  transform: translate3d(0, 12px, 0);
}
.cursor--demo .cursor__label {
  opacity: 1;
  transform: translate3d(20px, 12px, 0);
}
