@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/instrument-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/plex-mono-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/plex-mono-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #161411;
  --ink-soft: #2a2620;
  --ink-muted: #595247;
  --paper: #f3ede1;
  --paper-deep: #e4dac8;
  --paper-bright: #faf6ee;
  --red: #d9232b;
  --red-deep: #ad141b;
  --blue: #2f4f9e;
  --olive: #5f6f57;
  --line: rgba(22, 20, 17, 0.15);
  --line-light: rgba(243, 237, 225, 0.22);
  --shadow-panel: 0 32px 88px rgba(13, 12, 10, 0.28);
  --shadow-soft: 0 10px 30px rgba(13, 12, 10, 0.16);
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Instrument Sans', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(22px, 5vw, 82px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html,
body {
  height: 100%;
}

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-dragging,
body.is-dragging #world-canvas {
  cursor: grabbing !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

img,
svg {
  display: block;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

#app {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

#world-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  cursor: grab;
}

body:not(.is-entered) #world-canvas {
  cursor: default;
}

.canvas-vignette {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17, 15, 12, 0.42) 0, rgba(17, 15, 12, 0) 18%),
    linear-gradient(0deg, rgba(17, 15, 12, 0.45) 0, rgba(17, 15, 12, 0) 38%),
    radial-gradient(ellipse at center, transparent 48%, rgba(15, 13, 11, 0.24) 100%);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font: 500 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* The only skip target lives inside the studio HUD, which is hidden and inert
   while the intro is open, so the link would land on nothing. */
body:not(.is-entered) .skip-link {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Shared typographic pieces                                           */
/* ------------------------------------------------------------------ */

.eyebrow {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.body-copy {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.body-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.key {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-bottom-color: rgba(24, 22, 19, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 21px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s var(--ease-out);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button--red {
  background: var(--red);
  color: var(--paper-bright);
}

.button--red:hover {
  background: var(--red-deep);
}

.button--ghost {
  border-color: rgba(24, 22, 19, 0.28);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: rgba(24, 22, 19, 0.045);
}

.button--ink {
  background: var(--ink);
  color: var(--paper);
}

.button--ink:hover {
  background: var(--ink-soft);
}

.button__value {
  padding-left: 12px;
  border-left: 1px solid rgba(24, 22, 19, 0.22);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Loader                                                              */
/* ------------------------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--paper);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: min(210px, 44vw);
  height: auto;
}

.loader__label {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
}

.loader__track {
  width: 170px;
  height: 2px;
  overflow: hidden;
  background: rgba(24, 22, 19, 0.15);
}

.loader__track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--red);
  transition: width 0.28s var(--ease-out);
}

@keyframes loader-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(340%);
  }
}

/* ------------------------------------------------------------------ */
/* Intro                                                              */
/* ------------------------------------------------------------------ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  overflow: hidden;
  background: rgba(17, 15, 12, 0.08);
  transition:
    opacity 0.8s var(--ease-out),
    visibility 0.8s ease;
}

body.is-entered .intro {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body:not(.is-entered) .intro:not(.is-animated) {
  opacity: 0;
}

.intro.is-animated .intro__logo {
  animation: intro-rise 0.75s var(--ease-out) 0.08s both;
}

.intro.is-animated .intro__top-side {
  animation: intro-rise 0.65s var(--ease-out) 0.18s both;
}

.intro.is-animated .intro__eyebrow {
  animation: intro-rise 0.62s var(--ease-out) 0.27s both;
}

.intro.is-animated h1 {
  animation: intro-rise 0.82s var(--ease-out) 0.38s both;
}

.intro.is-animated .intro__body {
  animation: intro-rise 0.68s var(--ease-out) 0.62s both;
}

.intro.is-animated .intro__actions {
  animation: intro-rise 0.68s var(--ease-out) 0.78s both;
}

.intro.is-animated .intro__footer {
  animation: intro-rise 0.68s var(--ease-out) 0.96s both;
}

.intro.is-animated .intro__aside::before {
  animation: intro-frame 1.05s var(--ease-out) 0.34s both;
}

.intro.is-animated .intro__aside::after {
  animation: intro-scan 5.8s var(--ease-in-out) 1.4s infinite alternate;
}

.intro.is-animated .button--red span:last-child {
  animation: intro-arrow 0.65s var(--ease-out) 1.15s both;
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-frame {
  from {
    opacity: 0;
    transform: rotate(-1.8deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: rotate(-1.8deg) scale(1);
  }
}

@keyframes intro-scan {
  from {
    opacity: 0.45;
    transform: translateY(0) scaleY(0.55);
  }
  to {
    opacity: 1;
    transform: translateY(28vh) scaleY(1);
  }
}

@keyframes intro-arrow {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.intro__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(22px, 3.6vh, 42px) var(--gutter) clamp(18px, 3vh, 34px);
  overflow: auto;
  background:
    radial-gradient(circle at 88% 12%, rgba(60, 90, 166, 0.08), transparent 24%),
    linear-gradient(116deg, rgba(255, 255, 255, 0.34), transparent 46%),
    var(--paper);
  box-shadow: 26px 0 80px rgba(13, 12, 10, 0.28);
}

.intro__panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(24, 22, 19, 0.16);
  content: '';
}

.intro__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.intro__logo {
  width: clamp(130px, 15vw, 196px);
  height: auto;
}

.intro__top .eyebrow {
  padding-top: 7px;
  text-align: right;
}

.intro__copy {
  width: min(720px, 100%);
  margin-block: auto;
  padding: clamp(40px, 7vh, 86px) 0 36px;
}

.intro__eyebrow {
  margin-bottom: clamp(20px, 3.4vh, 34px);
  color: var(--red);
}

.intro h1 {
  max-width: 9.1ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(44px, 5.85vw, 88px);
  font-stretch: 108%;
  font-weight: 800;
  line-height: 0.89;
  letter-spacing: -0.055em;
}

.intro h1 em {
  color: var(--red);
  font-style: normal;
}

.intro__body {
  max-width: 480px;
  margin-top: clamp(24px, 4vh, 38px);
  color: var(--ink-muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3.6vh, 36px);
}

.intro__footer {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.intro__footer p:last-child {
  margin-left: auto;
}

.intro__hint {
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.04em;
}

.intro__hint .key {
  background: transparent;
}

.intro__aside {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.intro__aside::before {
  position: absolute;
  inset: 9vh 4.5vw 12vh 4vw;
  border: 1px solid rgba(247, 242, 232, 0.62);
  content: '';
  transform: rotate(-1.8deg);
  transform-origin: center;
}

.intro__aside::after {
  position: absolute;
  top: 20%;
  right: 7vw;
  width: 1px;
  height: 38%;
  background: linear-gradient(transparent, rgba(227, 38, 46, 0.9), transparent);
  content: '';
}

.intro__frame-label {
  position: absolute;
  color: rgba(247, 242, 232, 0.82);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.intro__frame-label:first-of-type {
  top: 12vh;
  right: 6.2vw;
}

.intro__frame-label:last-of-type {
  right: 6.2vw;
  bottom: 14vh;
}

.intro__frame-line {
  position: absolute;
  right: 6.2vw;
  top: 25vh;
  width: 1px;
  height: 8vh;
  background: rgba(247, 242, 232, 0.4);
}

/* ------------------------------------------------------------------ */
/* HUD shell                                                           */
/* ------------------------------------------------------------------ */

.hud {
  position: fixed;
  inset: 0;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease-out) 0.1s,
    visibility 0.7s ease;
}

body.is-entered .hud {
  visibility: visible;
  opacity: 1;
}

.hud button,
.hud a {
  pointer-events: auto;
}

.topbar {
  position: absolute;
  top: clamp(12px, 2.2vh, 22px);
  right: clamp(12px, 2.1vw, 24px);
  left: clamp(12px, 2.1vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 58px;
  padding: 7px 12px;
  border: 1px solid rgba(24, 22, 19, 0.12);
  background: rgba(243, 237, 226, 0.96);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  transition:
    background-color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.brand-chip:hover {
  background: var(--paper-bright);
  transform: translateY(-1px);
}

.brand-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.room-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(24, 22, 19, 0.1);
  background: rgba(243, 237, 226, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.room-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  color: rgba(24, 22, 19, 0.68);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.room-nav__item:hover {
  background: rgba(24, 22, 19, 0.055);
  color: var(--ink);
}

.room-nav__item.is-active {
  background: var(--ink);
  color: var(--paper);
}

.room-nav__item.is-pending {
  color: var(--ink);
  background: rgba(24, 22, 19, 0.06);
}

.room-nav__item.is-pending::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  content: '';
  animation: nav-pending 1.15s ease-in-out infinite;
}

@keyframes nav-pending {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(24, 22, 19, 0.16);
  background: rgba(255, 255, 255, 0.32);
}

.lang-switch__option {
  min-width: 30px;
  height: 27px;
  padding: 0 6px;
  color: rgba(24, 22, 19, 0.68);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.lang-switch__option:hover {
  color: var(--ink);
}

.lang-switch__option.is-active {
  background: var(--ink);
  color: var(--paper);
}

.lang-switch--compact {
  padding: 2px;
  border-color: rgba(24, 22, 19, 0.1);
  background: rgba(243, 237, 226, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.lang-switch--compact .lang-switch__option {
  height: 38px;
  min-width: 33px;
}

.intro .lang-switch {
  margin-top: 2px;
}

.chrome-button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(24, 22, 19, 0.1);
  background: rgba(243, 237, 226, 0.94);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  transition:
    background-color 0.18s ease,
    transform 0.18s var(--ease-out);
}

.chrome-button:hover {
  background: var(--paper-bright);
  transform: translateY(-1px);
}

.chrome-button__icon {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1;
}

.chrome-button__short {
  display: none;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.chrome-button kbd {
  min-width: 18px;
  height: 18px;
  margin-left: 2px;
  font-size: 8px;
}

.chrome-button--avatar {
  max-width: 190px;
}

.avatar-swatch {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid rgba(24, 22, 19, 0.18);
  border-radius: 50%;
  background: var(--red);
}

#avatar-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.chrome-button--icon {
  justify-content: center;
  width: 44px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Room name flash */
.room-stamp {
  position: absolute;
  top: clamp(92px, 13vh, 122px);
  left: clamp(16px, 2.2vw, 28px);
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 11px 15px 11px 13px;
  opacity: 0;
  transform: translateY(-6px);
  background: rgba(20, 18, 15, 0.84);
  color: var(--paper);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease-out);
}

.room-stamp.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.room-stamp__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.room-stamp strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.room-stamp em {
  color: rgba(241, 234, 220, 0.56);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Toast */
.toast {
  position: absolute;
  top: clamp(94px, 12.5vh, 118px);
  left: 50%;
  z-index: 45;
  padding: 11px 16px;
  opacity: 0;
  transform: translate(-50%, -7px);
  background: rgba(20, 18, 15, 0.92);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* World interaction prompt */
.world-prompt {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 42;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.3s var(--ease-out);
}

.world-prompt.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.world-prompt button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(241, 234, 220, 0.18);
  background: rgba(20, 18, 15, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.world-prompt__key {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--red);
  color: var(--paper-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

/* Touch hint + joystick */
.touch-hint {
  position: absolute;
  bottom: calc(154px + env(safe-area-inset-bottom, 0px));
  left: 24px;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(20, 18, 15, 0.78);
  color: rgba(241, 234, 220, 0.78);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
}

.touch-hint.is-visible {
  display: flex;
}

.touch-hint span {
  color: var(--paper);
}

.touch-hint i {
  width: 12px;
  height: 1px;
  background: rgba(241, 234, 220, 0.32);
}

.joystick {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 41;
  width: 118px;
  height: 118px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.15s ease;
}

.joystick.is-visible {
  opacity: 0.72;
}

.joystick.is-idle {
  top: auto;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  opacity: 0.34;
  transform: none;
}

.joystick__ring {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(241, 234, 220, 0.55);
  border-radius: 50%;
  background: rgba(20, 18, 15, 0.16);
  backdrop-filter: blur(4px);
}

.joystick__knob {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 234, 220, 0.7);
  border-radius: 50%;
  background: rgba(227, 38, 46, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* ------------------------------------------------------------------ */
/* Information content                                                 */
/* ------------------------------------------------------------------ */

.info-content {
  max-height: min(62svh, 580px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 22, 19, 0.22) transparent;
}

.info-content::-webkit-scrollbar {
  width: 5px;
}

.info-content::-webkit-scrollbar-thumb {
  background: rgba(24, 22, 19, 0.2);
}

.info-content .info-meta {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.info-rule {
  width: 100%;
  height: 1px;
  margin: 16px 0;
  background: var(--line);
}

.info-content .info-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-content .info-caption .key {
  min-width: 17px;
  height: 17px;
  font-size: 8px;
}

/* Home information */
.home-info {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: end;
}

.home-info__lead h2 {
  max-width: 690px;
  margin-top: 8px;
  font-size: clamp(26px, 2.8vw, 41px);
}

.home-info__lead .body-copy {
  max-width: 570px;
  margin-top: 12px;
}

.home-info__manifesto {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-style: italic;
}

.home-info__manifesto::before {
  width: 17px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--red);
  content: '';
  transform: translateY(-4px);
}

.room-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.room-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
  padding: 11px 12px 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.room-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.room-link strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.room-link em {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.room-link:hover em {
  color: rgba(241, 234, 220, 0.55);
}

.room-link i {
  position: absolute;
  top: 9px;
  right: 10px;
  color: rgba(24, 22, 19, 0.38);
  font-style: normal;
  font-size: 11px;
}

.room-link:hover i {
  color: var(--paper);
}

/* About information */
.about-info {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: clamp(22px, 3.6vw, 46px);
}

.about-info__main h2 {
  margin-top: 7px;
}

.about-info__main .body-copy {
  max-width: 510px;
  margin-top: 12px;
}

.about-quote {
  margin-top: 13px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  color: var(--ink-soft);
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.fact-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.25;
}

.fact-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-list dd {
  max-width: 62%;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 17px;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 13px 14px 0 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step {
  padding-left: 14px;
}

.process-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-step > span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.process-step h3 {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.process-step p {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.48;
}

/* Services information */
.services-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.services-info__lead h2 {
  margin-top: 6px;
}

.services-info__description {
  max-width: 540px;
  min-height: 57px;
  margin-top: 13px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
  transition: opacity 0.18s ease;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 11px;
}

.service-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(24, 22, 19, 0.18);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  text-align: left;
  transition:
    color 0.16s ease,
    padding 0.2s var(--ease-out);
}

.service-list__item > span:first-child {
  color: rgba(24, 22, 19, 0.36);
  font-family: var(--font-mono);
  font-size: 8px;
}

.service-list__item strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.service-list__item em {
  display: block;
  margin-top: 1px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-style: normal;
  line-height: 1.3;
}

.service-list__item .service-arrow {
  color: rgba(24, 22, 19, 0.3);
  font-size: 14px;
  line-height: 1;
}

.service-list__item:hover,
.service-list__item.is-active {
  color: var(--ink);
  padding-left: 6px;
}

.service-list__item.is-active {
  color: var(--red);
}

.service-list__item.is-active > span:first-child,
.service-list__item.is-active .service-arrow {
  color: var(--red);
}

/* Portfolio information */
.portfolio-info {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 46px);
  align-items: center;
}

.portfolio-info__info {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.project-count {
  white-space: nowrap;
}

.project-title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.5vw, 37px);
  font-stretch: 104%;
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.project-category {
  margin-top: 8px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-description {
  min-height: 54px;
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 10px;
}

.project-tags span {
  padding: 3px 5px;
  border: 1px solid rgba(24, 22, 19, 0.14);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 6.8px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel-stage {
  position: relative;
  height: 220px;
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: 50% 45%;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.carousel-stage::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84%;
  height: 1px;
  background: rgba(24, 22, 19, 0.08);
  content: '';
  transform: translate(-50%, 77px);
}

.work-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 185px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(24, 22, 19, 0.16);
  background: #24211d;
  box-shadow: 0 18px 35px rgba(26, 22, 17, 0.22);
  transform-style: preserve-3d;
  transition:
    transform 0.46s var(--ease-out),
    opacity 0.3s ease,
    border-color 0.2s ease;
  will-change: transform;
}

.work-card.is-active {
  border: 2px solid var(--red);
  box-shadow: 0 24px 48px rgba(26, 22, 17, 0.3);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s var(--ease-out);
}

.work-card.is-active:hover img {
  transform: scale(1.025);
}

.work-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 11, 0.04) 35%, rgba(14, 13, 11, 0.72) 100%);
  content: '';
  pointer-events: none;
}

.work-card__number {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 18px;
  background: rgba(20, 18, 15, 0.7);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.work-card__caption {
  position: absolute;
  right: 12px;
  bottom: 11px;
  left: 13px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: var(--paper);
  text-align: left;
}

.work-card__caption strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.work-card__caption em {
  color: rgba(241, 234, 220, 0.65);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(24, 22, 19, 0.2);
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-50%);
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.carousel-arrow:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-arrow svg {
  width: 14px;
  height: 14px;
}

.carousel-arrow svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.carousel-index {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

/* Contact information */
.contact-info {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: end;
}

.contact-info h2 {
  margin-top: 7px;
  max-width: 500px;
}

.contact-info__lead .body-copy {
  max-width: 440px;
  margin-top: 11px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.contact-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 69px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact-link span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-link:hover span {
  color: rgba(241, 234, 220, 0.5);
}

.contact-link strong {
  display: block;
  margin-top: 7px;
  padding-right: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.contact-link i {
  position: absolute;
  top: 11px;
  right: 11px;
  color: rgba(24, 22, 19, 0.36);
  font-style: normal;
  font-size: 11px;
}

.contact-link:hover i {
  color: var(--paper);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin-top: 13px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Information board modal                                             */
/* ------------------------------------------------------------------ */

.modal--info {
  width: min(1180px, calc(100vw - 28px));
}

.modal--info .modal__panel {
  padding: clamp(20px, 2.4vw, 30px);
}

.modal__head--info {
  margin-bottom: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.modal__head--info h2 {
  font-size: clamp(27px, 2.7vw, 38px);
}

.info-content h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.45vw, 36px);
  font-stretch: 104%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.info-content h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.info-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------------ */
/* Modals                                                              */
/* ------------------------------------------------------------------ */

.modal {
  width: min(900px, calc(100vw - 30px));
  max-height: min(88svh, 900px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(15, 13, 11, 0.68);
  backdrop-filter: blur(6px);
}

.modal[open] {
  animation: modal-in 0.35s var(--ease-out);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__panel {
  max-height: min(88svh, 900px);
  padding: clamp(20px, 3vw, 34px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.modal__head .eyebrow {
  color: var(--red);
  margin-bottom: 7px;
}

.modal__head h2 {
  font-family: var(--font-display);
  font-size: clamp(29px, 3.1vw, 46px);
  font-stretch: 104%;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.modal__close {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.modal__close:hover {
  background: var(--ink);
  color: var(--paper);
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

.modal__close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.avatar-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
}

.avatar-preview-wrap {
  position: relative;
  aspect-ratio: 0.86;
  min-height: 310px;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 22%, rgba(227, 38, 46, 0.2), transparent 30%),
    linear-gradient(160deg, #2d2923 0%, #171512 70%);
}

#avatar-preview {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.preview-frame {
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(241, 234, 220, 0.22);
  pointer-events: none;
}

.avatar-preview__caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  color: var(--paper);
  pointer-events: none;
}

.avatar-preview__caption span {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 0.8;
}

.avatar-preview__caption p {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.avatar-options {
  display: grid;
  border-top: 1px solid var(--line);
}

.avatar-option {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 17px;
  gap: 9px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  transition:
    background-color 0.18s ease,
    padding 0.2s var(--ease-out);
}

.avatar-option:hover {
  padding-left: 7px;
  background: rgba(24, 22, 19, 0.035);
}

.avatar-option__number {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
}

.avatar-option strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}

.avatar-option em {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.35;
}

.avatar-option__check {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid rgba(24, 22, 19, 0.3);
  border-radius: 50%;
}

.avatar-option.is-active .avatar-option__check {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.avatar-option.is-active strong {
  color: var(--red);
}

.modal__note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.modal__done {
  width: 100%;
  margin-top: 15px;
  min-height: 43px;
  font-size: 12px;
}

.modal--npc {
  width: min(620px, calc(100vw - 30px));
}

.npc-role {
  margin-top: 7px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.npc-conversation {
  padding: clamp(18px, 2.6vw, 28px);
  background:
    linear-gradient(135deg, rgba(227, 38, 46, 0.055), transparent 46%),
    rgba(24, 22, 19, 0.035);
  border-left: 2px solid var(--red);
}

.npc-conversation__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.npc-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
}

.npc-index {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.npc-topic {
  margin-bottom: 9px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.npc-line {
  max-width: 46ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.npc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.npc-actions .button {
  min-height: 40px;
  padding: 11px 17px;
  font-size: 10px;
}

.npc-actions .button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.help-grid h3 {
  margin-bottom: 12px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-grid dl {
  border-top: 1px solid var(--line);
}

.help-grid dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.help-grid dt {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  color: var(--ink);
  font-size: 9px;
  line-height: 1.2;
}

.help-grid dd {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.25;
  text-align: right;
}

.help-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.help-foot p {
  max-width: 48ch;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

.help-foot .button {
  min-height: 39px;
  padding: 10px 14px;
  font-size: 10px;
}

/* ------------------------------------------------------------------ */
/* Transition veil                                                     */
/* ------------------------------------------------------------------ */

.transition {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.transition.is-active {
  visibility: visible;
  opacity: 1;
}

.transition::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(227, 38, 46, 0.9), transparent);
  content: '';
}

.transition span {
  position: relative;
  padding-left: 19px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 86px);
  font-stretch: 110%;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.transition span::before {
  position: absolute;
  top: 0.13em;
  left: 0;
  width: 6px;
  height: 0.66em;
  background: var(--red);
  content: '';
}

/* ------------------------------------------------------------------ */
/* Fallback + noscript                                                 */
/* ------------------------------------------------------------------ */

.fallback {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: auto;
  background: var(--ink);
}

.fallback__panel {
  width: min(620px, 100%);
  padding: clamp(25px, 5vw, 52px);
  background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.fallback__panel img {
  width: 170px;
  height: auto;
  margin-bottom: 30px;
}

.fallback__panel .eyebrow {
  color: var(--red);
}

.fallback__panel h1 {
  margin-top: 11px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.fallback__panel > p:not(.eyebrow) {
  max-width: 50ch;
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.fallback__contact {
  display: grid;
  gap: 8px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fallback__contact a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(24, 22, 19, 0.24);
  text-underline-offset: 3px;
}

.fallback__contact a:hover {
  color: var(--red);
}

.fallback .fallback__note {
  margin-top: 28px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 32px;
  overflow: auto;
  background: var(--paper);
}

.noscript img {
  width: 190px;
  margin-bottom: 30px;
}

.noscript h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.noscript p {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

.noscript a {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1220px) {
  .chrome-button--avatar {
    max-width: 130px;
  }

  .chrome-button kbd {
    display: none;
  }

  .portfolio-info {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .work-card {
    width: 300px;
    height: 168px;
  }

  .carousel-stage {
    height: 205px;
  }
}

@media (max-width: 980px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      'brand actions'
      'nav nav';
    gap: 8px;
  }

  .brand-chip {
    grid-area: brand;
    width: 118px;
    height: 51px;
  }

  .room-nav {
    grid-area: nav;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .room-nav::-webkit-scrollbar {
    display: none;
  }

  .room-nav__item {
    flex: 1 0 auto;
    justify-content: center;
    padding-inline: 11px;
  }

  .topbar__actions {
    grid-area: actions;
    justify-content: flex-end;
    min-width: 0;
  }

  .chrome-button {
    min-height: 41px;
    padding-inline: 11px;
  }

  .chrome-button--avatar {
    max-width: 160px;
  }

  .chrome-button--icon {
    width: 41px;
  }

  .room-stamp {
    top: 132px;
  }

  .home-info,
  .about-info,
  .services-info,
  .contact-info {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.8fr);
  }

  .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(n + 3) {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .portfolio-info {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .work-card {
    width: 260px;
    height: 146px;
  }

  .carousel-stage {
    height: 185px;
  }

  .carousel-stage::before {
    transform: translate(-50%, 68px);
  }
}

@media (max-width: 1180px) {
  #board-label {
    display: none;
  }
}

@media (max-width: 760px) {
  .intro {
    display: block;
    background: rgba(17, 15, 12, 0.3);
  }

  .intro__panel {
    width: 100%;
    height: 100%;
    padding: 20px clamp(19px, 6vw, 40px) 22px;
    background:
      radial-gradient(circle at 85% 8%, rgba(60, 90, 166, 0.08), transparent 24%),
      linear-gradient(180deg, rgba(241, 234, 220, 0.99) 0%, rgba(241, 234, 220, 0.95) 58%, rgba(241, 234, 220, 0.78) 100%);
    box-shadow: none;
  }

  .intro__logo {
    width: 116px;
  }

  .intro__top .eyebrow {
    display: none;
  }

  .intro__copy {
    padding: 24px 0;
  }

  .intro__eyebrow {
    margin-bottom: 18px;
  }

  .intro h1 {
    font-size: clamp(42px, 11vw, 66px);
    max-width: 10ch;
  }

  .intro__body {
    margin-top: 21px;
    font-size: 15px;
    max-width: 43ch;
  }

  .intro__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-top: 23px;
  }

  .intro__actions .button {
    justify-content: space-between;
  }

  .intro__footer {
    margin-top: auto;
    flex-wrap: wrap;
    gap: 7px 14px;
    padding-top: 13px;
    font-size: 9px;
    line-height: 1.4;
  }

  .intro__footer p:last-child {
    margin-left: 0;
  }

  .intro__aside {
    display: none;
  }

  .canvas-vignette {
    background:
      linear-gradient(180deg, rgba(17, 15, 12, 0.38) 0, transparent 20%),
      linear-gradient(0deg, rgba(17, 15, 12, 0.32) 0, transparent 30%);
  }

  .brand-chip {
    width: 92px;
    height: 43px;
    padding: 7px 10px;
  }

  .chrome-button {
    min-height: 39px;
    height: 39px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .chrome-button--avatar {
    max-width: 42px;
    padding: 0;
    justify-content: center;
    gap: 6px;
  }

  #avatar-label {
    display: none;
  }

  .chrome-button--avatar > span:last-child {
    display: inline;
    color: var(--ink);
    font-size: 12px;
  }

  .avatar-swatch {
    width: 17px;
    height: 17px;
  }

  .chrome-button--icon {
    width: 39px;
    height: 39px;
  }

  #view-label,
  #view-icon {
    display: none;
  }

  .chrome-button__short {
    display: inline;
  }

  .lang-switch--compact .lang-switch__option {
    font-size: 9px;
  }

  .room-nav {
    padding: 4px;
  }

  .room-nav__item {
    min-height: 33px;
    padding: 0 10px;
    font-size: 11px;
  }

  .room-stamp {
    top: 117px;
    left: 12px;
    transform: translateY(-5px) scale(0.94);
    transform-origin: top left;
  }

  .toast {
    top: auto;
    bottom: 82px;
    width: calc(100vw - 32px);
  }

  .info-content h2 {
    font-size: clamp(23px, 6vw, 31px);
  }

  .modal--info .modal__panel {
    padding: 16px;
  }

  .modal__head--info h2 {
    font-size: 27px;
  }

  .info-foot .button {
    width: 100%;
    justify-content: center;
  }

  .home-info,
  .about-info,
  .services-info,
  .contact-info,
  .portfolio-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-content {
    max-height: min(58svh, 520px);
  }

  .home-info__lead h2 {
    margin-top: 6px;
    font-size: 25px;
  }

  .home-info__lead .body-copy {
    margin-top: 9px;
    font-size: 12.5px;
  }

  .home-info__manifesto {
    display: none;
  }

  .room-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .room-link {
    min-height: 64px;
    padding: 9px;
  }

  .room-link strong {
    font-size: 10.5px;
  }

  .room-link em {
    font-size: 6.5px;
  }

  .room-link i {
    display: none;
  }

  .about-info__main .body-copy {
    font-size: 12.5px;
  }

  .about-info__facts {
    display: none;
  }

  .process-strip {
    display: none;
  }

  .services-info {
    gap: 13px;
  }

  .services-info__description {
    min-height: 0;
    margin-top: 8px;
    font-size: 12px;
  }

  .service-tags {
    margin-top: 8px;
  }

  .service-list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .service-list__item {
    padding: 7px 0;
  }

  .service-list__item strong {
    font-size: 11px;
  }

  .portfolio-info {
    gap: 10px;
  }

  .portfolio-info__info {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-title {
    margin-top: 4px;
    font-size: 27px;
  }

  .project-category {
    margin-top: 4px;
  }

  .project-description {
    min-height: 0;
    margin-top: 6px;
    font-size: 12px;
  }

  .project-tags {
    display: none;
  }

  .carousel-hint {
    display: none;
  }

  .carousel-stage {
    height: 155px;
    mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
  }

  .work-card {
    width: 230px;
    height: 129px;
  }

  .work-card__caption strong {
    font-size: 12px;
  }

  .carousel-stage::before {
    display: none;
  }

  .carousel {
    padding-bottom: 36px;
  }

  .carousel-arrow {
    top: auto;
    bottom: 0;
    width: 27px;
    height: 27px;
    transform: none;
  }

  .carousel-index {
    right: auto;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-info {
    gap: 14px;
  }

  .contact-info__lead .body-copy {
    font-size: 12.5px;
    margin-top: 8px;
  }

  .contact-links {
    gap: 4px;
  }

  .contact-link {
    min-height: 60px;
    padding: 9px 10px;
  }

  .contact-link strong {
    font-size: 10px;
  }

  .contact-link:first-child,
  .contact-link:last-child {
    grid-column: span 2;
  }

  .contact-meta {
    margin-top: 9px;
  }

  .modal {
    width: calc(100vw - 16px);
    max-height: 92svh;
  }

  .modal__panel {
    max-height: 92svh;
    padding: 20px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }

  .modal__head {
    margin-bottom: 18px;
  }

  .modal__head h2 {
    font-size: 31px;
  }

  .avatar-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .avatar-preview-wrap {
    aspect-ratio: 1.35;
    min-height: 0;
    max-height: 245px;
  }

  .avatar-preview__caption {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .avatar-preview__caption span {
    font-size: 28px;
  }

  .avatar-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .avatar-option {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .avatar-option:nth-child(2n) {
    border-right: 0;
  }

  .avatar-option:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .avatar-option:hover {
    padding-left: 10px;
  }

  .avatar-option__check {
    position: absolute;
    right: 9px;
    bottom: 10px;
  }

  .avatar-option {
    position: relative;
  }

  .avatar-option strong {
    font-size: 11px;
  }

  .avatar-option em {
    font-size: 9px;
    line-height: 1.3;
  }

  .modal__note {
    display: none;
  }

  .modal__done {
    margin-top: 13px;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .help-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .help-foot .button {
    width: 100%;
  }

  .world-prompt {
    bottom: 18px;
  }

  .world-prompt button {
    font-size: 11px;
  }

  .touch-hint {
    bottom: calc(154px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 430px) {
  .room-nav__item {
    padding-inline: 8px;
    font-size: 10.5px;
  }

  .topbar {
    gap: 6px;
  }

  .chrome-button {
    padding-inline: 8px;
  }

  .chrome-button--avatar {
    max-width: 39px;
  }

  .topbar__actions {
    gap: 4px;
  }

  .room-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .avatar-option em {
    display: none;
  }

  .avatar-option {
    padding: 10px 8px;
  }

  .avatar-option strong {
    font-size: 10px;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .intro__panel {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .intro__logo {
    width: clamp(112px, 12vw, 152px);
  }

  .intro__copy {
    padding: 22px 0 16px;
  }

  .intro__eyebrow {
    margin-bottom: 16px;
  }

  .intro h1 {
    font-size: clamp(44px, 5.8vw, 78px);
  }

  .intro__body {
    margin-top: 18px;
    font-size: 15px;
    max-width: 46ch;
  }

  .intro__actions {
    margin-top: 20px;
  }

  .intro__footer {
    padding-top: 12px;
  }
}

/* Short desktop windows (e.g. 1280x600 browser viewport) still need the
   primary entry button above the fold. */
@media (min-width: 761px) and (max-height: 700px) {
  .intro__panel {
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .intro__logo {
    width: clamp(100px, 10vw, 130px);
  }

  .intro__copy {
    padding: 12px 0 8px;
  }

  .intro__eyebrow {
    margin-bottom: 10px;
  }

  .intro h1 {
    font-size: clamp(33px, 3.9vw, 50px);
  }

  .intro__body {
    margin-top: 12px;
    font-size: 14px;
    max-width: 54ch;
  }

  .intro__actions {
    margin-top: 12px;
  }

  .intro__footer {
    padding-top: 4px;
    font-size: 8.5px;
  }

  .intro__hint {
    display: none;
  }
}

@media (pointer: coarse) {
  .intro__hint {
    display: none;
  }

  .chrome-button kbd {
    display: none;
  }
}

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


/* ------------------------------------------------------------------ */
/* Upgraded HUD, info boards, brief composer & lightbox                */
/* ------------------------------------------------------------------ */

.chrome-button--board {
  gap: 7px;
  border-color: rgba(217, 35, 43, 0.35);
}

.chrome-button--board:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-bright);
}

.board-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.chrome-button--board:hover .board-dot {
  background: var(--paper-bright);
}

.button--sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

/* About: Team strip */
.team-strip {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.team-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.team-card__photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--line);
}

.team-card__meta strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.team-card__meta span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
}

.team-card__meta em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-muted);
}

.team-card__talk {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.team-card__talk:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

/* Services: Deliverables + CTA */
.service-deliverables {
  margin-top: 14px;
  padding: 11px 13px;
  border-left: 2px solid var(--blue);
  background: rgba(47, 79, 158, 0.05);
}

.service-deliverables ul {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.service-deliverables li {
  position: relative;
  padding-left: 13px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.service-deliverables li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: var(--font-mono);
}

.services-info__cta {
  margin-top: 14px;
}

/* Portfolio: Filters, scope & actions */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.filter-pill {
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.project-scope {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.project-scope strong {
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

/* Contact: Copy chips & Quick Brief form */
.contact-info {
  align-items: start;
}

.contact-info__lead .contact-links {
  margin-top: 16px;
}

.contact-link--copy {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.contact-link--copy:hover {
  background: var(--paper-bright);
  color: var(--ink);
  border-color: var(--ink);
}

.contact-link--copy:hover span {
  color: var(--ink-muted);
}

.contact-link__main {
  min-width: 0;
  flex: 1 1 auto;
}

.copy-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.copy-chip:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.brief-form {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.brief-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
}

.brief-form textarea {
  margin-top: 8px;
  resize: vertical;
  min-height: 78px;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
}

.brief-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Lightbox modal */
.modal--lightbox {
  width: min(1040px, calc(100vw - 24px));
  background: #141210;
  color: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal--lightbox::backdrop {
  background: rgba(10, 9, 8, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox__panel {
  padding: clamp(16px, 2.2vw, 26px);
}

.lightbox__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.lightbox__head .eyebrow {
  color: var(--red);
}

.lightbox__head h2 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--paper-bright);
}

.modal--lightbox .modal__close {
  color: var(--paper-bright);
  border-color: rgba(255, 255, 255, 0.2);
}

.lightbox__figure img {
  width: 100%;
  max-height: 68svh;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__figure figcaption {
  margin-top: 10px;
  color: rgba(250, 246, 238, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  #board-label {
    display: none;
  }
}

@media (max-width: 760px) {
  .team-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-form__row {
    grid-template-columns: 1fr;
  }

  #board-button kbd {
    display: none;
  }
}

/* Single Service Station modal */
.modal--service {
  width: min(640px, calc(100vw - 28px));
}

.modal--service .modal__panel {
  padding: clamp(20px, 2.6vw, 32px);
}

.service-modal__short {
  margin-top: 6px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-modal__desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.service-modal__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
