:root {
  --paper: #efe8dc;
  --ink: #241f1a;
  --moss: #3f5344;
  --clay: #8c4a32;
  --line: #c9bfb0;
  --admin-paper: #e8ebe6;
  --void: #0c0e10;
  --gold: #e8c978;
  --gold-dim: rgba(232, 201, 120, 0.35);
  --glass: rgba(10, 12, 14, 0.72);
  --cream: #f4ead7;
  --ui: "Outfit", "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

/* Public quest runtime */
.tour-quest-desktop-host {
  position: absolute;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  right: var(--tour-chrome-inset-x, max(1rem, env(safe-area-inset-right)));
  z-index: 10040;
  width: var(--tour-chrome-column-width, min(17.5rem, calc(100vw - 2rem)));
  pointer-events: none;
}

.tour-quest-desktop-host .quest-hud,
.tour-overlay__quest-host .quest-hud {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  pointer-events: auto;
}

.tour-overlay__quest-host .quest-hud {
  max-height: none;
  margin: 0 0 0.85rem;
  overflow: visible;
  box-shadow: none;
}

.tour-overlay__quest-host:empty {
  display: none;
}

.tour-overlay__nav-label {
  display: none;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tour-chrome-fg, #f4ead7) 72%, transparent);
}

.quest-hud {
  position: absolute;
  z-index: 10040;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  right: var(--tour-chrome-inset-x, max(1rem, env(safe-area-inset-right)));
  width: var(--tour-chrome-column-width, min(17.5rem, calc(100vw - 2rem)));
  max-height: min(
    calc(100dvh - var(--tour-chrome-inset-top, 0.85rem) - var(--tour-chrome-inset-bottom, 1rem) - 5.75rem),
    38rem
  );
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 30%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  background: var(--tour-chrome-bg, rgba(9, 11, 13, 0.84));
  color: var(--tour-chrome-fg, var(--cream));
  font-family: var(--ui);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  scrollbar-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 45%, transparent) transparent;
}

.quest-hud__header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem 0.6rem 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
  background: color-mix(in srgb, var(--tour-chrome-bg, rgba(9, 11, 13, 0.94)) 94%, #000);
  border-radius: var(--tour-chrome-radius, 12px) var(--tour-chrome-radius, 12px) 0 0;
}

.quest-hud__header strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quest-hud__header strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--tour-chrome-accent, var(--gold));
  transform: rotate(45deg);
}

.quest-hud__toggle {
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 34%, transparent);
  border-radius: calc(var(--tour-chrome-radius, 12px) * 0.35);
  background: transparent;
  color: var(--tour-chrome-fg, var(--cream));
  cursor: pointer;
}

.quest-hud__toggle:hover {
  border-color: var(--tour-chrome-accent, var(--gold));
  color: var(--tour-chrome-accent, var(--gold));
}

.quest-hud.is-collapsed .quest-hud__list {
  display: none;
}

.quest-card {
  padding: 0.95rem 0.95rem 0.8rem;
}

.quest-card__head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.quest-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
}

.quest-card__meta {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.quest-card__meter {
  display: flex;
  flex: 1;
  gap: 3px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 18%, transparent);
}

.quest-card__meter.is-segmented {
  background: transparent;
}

.quest-card__meter span {
  display: block;
  height: 100%;
  background: var(--tour-chrome-accent, var(--gold));
}

.quest-card__meter.is-segmented span {
  flex: 1;
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 22%, transparent);
}

.quest-card__meter.is-segmented span.is-done {
  background: var(--tour-chrome-accent, var(--gold));
}

.quest-card__progress {
  margin: 0;
  color: color-mix(in srgb, var(--tour-chrome-fg, #f4ead7) 62%, transparent);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.quest-card__message,
.quest-answer__status.is-hint {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-left: 2px solid var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 8%, transparent);
  color: var(--tour-chrome-fg, var(--cream));
  font-size: 0.86rem;
  line-height: 1.4;
}

.quest-step {
  margin: 0 0 0.85rem;
  padding: 0.05rem 0 0.05rem 0.75rem;
  border-left: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 40%, transparent);
}

.quest-step.is-current {
  border-left-width: 2px;
  border-left-color: var(--tour-chrome-accent, var(--gold));
}

.quest-step__kicker,
.quest-step__cue,
.quest-card__inventory-label,
.quest-card__done-label {
  margin: 0 0 0.25rem;
  color: var(--tour-chrome-accent, var(--gold));
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quest-step__title {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
}

.quest-step__prompt,
.quest-step__cue {
  margin: 0 0 0.7rem;
  color: rgba(244, 234, 215, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.quest-step__cue {
  margin-bottom: 0;
  color: rgba(244, 234, 215, 0.62);
  font-size: 0.78rem;
}

.quest-answer {
  width: 100%;
}

.quest-answer__choices {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}

.quest-answer__choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 28%, transparent);
  border-radius: calc(var(--tour-chrome-radius, 12px) * 0.5);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.quest-answer__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.quest-answer__choice:hover,
.quest-answer__choice:focus-within {
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 72%, transparent);
}

.quest-answer__choice.is-selected {
  border-color: var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 14%, transparent);
  color: var(--tour-chrome-accent, var(--gold));
}

.quest-answer__text {
  width: 100%;
  margin: 0 0 0.6rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 35%, transparent);
  border-radius: calc(var(--tour-chrome-radius, 12px) * 0.45);
  background: rgba(8, 10, 12, 0.55);
  color: var(--tour-chrome-fg, var(--cream));
}

.quest-answer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

.quest-answer__submit,
.quest-answer__hint {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: calc(var(--tour-chrome-radius, 12px) * 0.55);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.quest-answer__submit {
  border: 1px solid var(--tour-chrome-accent, var(--gold));
  background: var(--tour-chrome-accent, var(--gold));
  color: #1a1610;
}

.quest-answer__submit:hover {
  filter: brightness(1.08);
}

.quest-answer__hint {
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 40%, transparent);
  background: transparent;
  color: var(--tour-chrome-fg, var(--cream));
  font-weight: 500;
}

.quest-answer__hint:hover {
  border-color: var(--tour-chrome-accent, var(--gold));
  color: var(--tour-chrome-accent, var(--gold));
}

.quest-answer__submit:disabled,
.quest-answer__hint:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quest-answer__status {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.quest-answer__status:empty {
  display: none;
}

.quest-answer.is-correct .quest-answer__status {
  color: #b7e7c4;
}

.quest-answer.is-wrong .quest-answer__status {
  color: #ffc2b4;
}

.quest-answer__status.is-hint {
  margin-top: 0.65rem;
}

.quest-card__done {
  margin: 0 0 0.75rem;
}

.quest-card__done-label {
  color: rgba(244, 234, 215, 0.62);
  cursor: pointer;
}

.quest-step.is-solved {
  margin: 0.4rem 0 0;
  border-left-color: #74c68a;
}

.quest-step.is-solved .quest-step__title {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(244, 234, 215, 0.72);
}

.quest-step.is-solved .quest-step__title::before {
  content: "✓ ";
  color: #9be2ac;
}

.quest-card__inventory {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.quest-card__inventory-label {
  margin: 0;
  color: rgba(244, 234, 215, 0.55);
}

.quest-card__inventory-empty {
  color: rgba(244, 234, 215, 0.55);
  font-size: 0.75rem;
}

.quest-card__item {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.18rem 0.35rem 0.18rem 0.45rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  color: var(--gold);
  font-size: 0.75rem;
}

.quest-card__use {
  padding: 0.15rem 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.quest-card__reset {
  margin-top: 0.1rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: rgba(244, 234, 215, 0.42);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.quest-card__reset:hover {
  color: #ffc2b4;
}

.quest-card__results {
  margin: 0.2rem 0.7rem 0 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.quest-screen {
  width: min(23.5rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: min(40rem, calc(100dvh - 2rem));
  height: fit-content;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(32, 28, 25, 0.72);
  color: #f4efe8;
  font-family: "Geologica", var(--ui);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
}

.quest-screen[open] {
  animation: pitch-ios-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.quest-screen::backdrop {
  background: rgba(16, 13, 11, 0.38);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.quest-screen__panel {
  padding: 1.35rem 1.15rem 1.15rem;
}

.quest-screen__kicker {
  margin: 0 0 0.35rem;
  color: rgba(244, 239, 232, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quest-screen__title {
  margin: 0 0 0.45rem;
  font-family: "Unbounded", var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.quest-screen__body {
  margin: 0 0 0.85rem;
  color: rgba(244, 239, 232, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.quest-screen__stats {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.85rem;
  padding: 0.8rem 0.95rem;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.quest-screen__stats dt {
  margin: 0;
  color: rgba(244, 239, 232, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: center;
}

.quest-screen__stats dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  align-self: center;
}

.quest-screen__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  margin-top: 0.15rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 14px;
  background: #c45c38;
  color: #fff8f4;
  font: 600 1rem/1 "Geologica", var(--ui);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.quest-screen__action:hover {
  filter: brightness(1.06);
}

.quest-screen__action:active {
  transform: scale(0.98);
}

.quest-screen__action:focus-visible {
  outline: 2px solid rgba(228, 176, 138, 0.9);
  outline-offset: 3px;
}

.quest-screen__name {
  width: 100%;
  min-height: 3rem;
  margin: 0.2rem 0 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4efe8;
  font: 1rem/1.4 "Geologica", var(--ui);
}

.quest-screen__name:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 92, 56, 0.35);
}

@media (max-width: 720px) {
  .quest-screen {
    width: min(23.5rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem);
    height: fit-content;
    margin: auto;
    border-radius: 28px;
  }

  .quest-screen__panel {
    padding: 1.2rem 1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quest-screen[open] {
    animation: none;
  }
}

.quest-hud__player {
  margin: 0 0 0.55rem;
  color: var(--tour-chrome-accent, var(--gold));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quest-hud button:focus-visible,
.quest-answer__text:focus-visible,
.quest-answer__choice:focus-within {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.task-check .quest-answer {
  align-self: stretch;
}

.quest-marker--solved {
  opacity: 0.65;
  filter: saturate(0.4);
}

@media (max-width: 720px) {
  .quest-hud {
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
  }

  body.tour-quest-in-overlay .tour-quest-desktop-host {
    display: none;
  }

  body:not(.tour-quest-in-overlay) .tour-quest-desktop-host {
    display: block;
  }

  body.tour-quest-in-overlay .quest-hud__header {
    border-radius: var(--tour-chrome-radius, 12px) var(--tour-chrome-radius, 12px) 0 0;
  }

  body.tour-quest-in-overlay .tour-overlay__nav-label {
    display: block;
  }

  body.tour-brand-in-overlay .tour-brand-desktop-host {
    display: none;
  }

  body.tour-brand-in-overlay .tour-overlay__brand-host:not(:empty) {
    display: block;
  }
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}

h1,
h2,
.cover__title {
  font-family: var(--display);
  font-weight: 600;
}

a {
  color: var(--moss);
}

.hit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
}

.site-nav,
.admin-bar,
.tour__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.site-nav {
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  z-index: 3;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-nav__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  display: block;
}

.site-nav__brand-text {
  display: grid;
  gap: 0.12rem;
  line-height: 1;
  min-width: 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.admin-bar {
  justify-content: space-between;
  background: var(--admin-paper);
}

.admin-bar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.admin-bar__logout {
  margin: 0;
}

.page__main {
  padding: 1.25rem;
}

.page--admin {
  background: var(--admin-paper);
}

.page--cover,
.page--catalog {
  background: var(--void);
  color: var(--cream);
}

.page--cover .page__main,
.page--catalog .page__main {
  padding: 0;
}

.page--cover .site-nav,
.page--catalog .site-nav {
  position: absolute;
  inset: 0 0 auto;
  border: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.72), transparent);
  color: #f4efe8;
  backdrop-filter: blur(12px);
}

.page--cover .site-nav a,
.page--catalog .site-nav a {
  color: #f4efe8;
  text-decoration: none;
}

.page--cover .site-nav a:hover,
.page--catalog .site-nav a:hover {
  color: #fff8f4;
}

.cover {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  background-color: #1c1916;
  background-size: cover;
  background-position: center;
  padding: 6.5rem 1.25rem 2.5rem;
  position: relative;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 13, 11, 0.28), rgba(16, 13, 11, 0.55));
  pointer-events: none;
}

.cover__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  width: min(26rem, 100%);
  padding: 1.4rem 1.25rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(32, 28, 25, 0.72);
  color: #f4efe8;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
}

.cover__kicker {
  margin: 0;
  color: rgba(244, 239, 232, 0.55);
  font: 500 0.72rem/1 "Geologica", var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover__logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(12, 14, 16, 0.45);
}

.cover__title {
  margin: 0;
  color: #f4efe8;
  font-family: "Unbounded", var(--display);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cover__intro {
  margin: 0;
  color: rgba(244, 239, 232, 0.78);
  font: 400 0.98rem/1.45 "Geologica", var(--ui);
}

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
}

.cover__cta {
  min-height: 3.15rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #c45c38;
  color: #fff8f4;
  font: 600 1rem/1 "Geologica", var(--ui);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.cover__cta:hover {
  filter: brightness(1.06);
}

.cover__cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cover__note,
.cover__error {
  margin: 0;
  font: 500 0.92rem/1.4 "Geologica", var(--ui);
}

.cover__note {
  color: rgba(244, 239, 232, 0.72);
}

.cover__error {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 69, 58, 0.16);
  color: #ffb4ae;
}

.cover__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.cover__code-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  text-align: left;
  color: rgba(244, 239, 232, 0.55);
  font: 500 0.78rem/1 "Geologica", var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover__code-field input {
  min-height: 3.15rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4efe8;
  font: 1rem/1.3 "Geologica", var(--ui);
  letter-spacing: 0.04em;
  text-transform: none;
}

.cover__code-field input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 92, 56, 0.35);
}

@media (max-width: 720px) {
  .cover {
    justify-content: flex-end;
    padding:
      5.25rem
      max(1rem, env(safe-area-inset-left))
      max(1.25rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-right));
  }

  .cover__card {
    width: 100%;
  }

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

  .cover__cta,
  .cover__ghost {
    width: 100%;
  }
}

.admin-tour-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.admin-tour-switch label {
  color: var(--admin-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-tour-switch select {
  min-height: 44px;
  max-width: 16rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--admin-line, #c9bfb0);
  background: #fff;
  color: inherit;
}

.admin-tour-manage {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--admin-line, #c9bfb0);
  background: #fff;
  color: var(--admin-green, #304a3b) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.cover__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 232, 0.28);
  color: #f4efe8;
  font: 600 1rem/1 "Geologica", var(--ui);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.cover__ghost:hover {
  background: rgba(244, 239, 232, 0.08);
}

.catalog {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 3rem;
}

.catalog h1,
.catalog-show h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.5rem;
}

.catalog__filter,
.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.catalog__filter {
  margin-bottom: 2rem;
}

.catalog__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.catalog__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog__item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: inherit;
}

.catalog__preview {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #1b1d20;
  border: 1px solid rgba(232, 201, 120, 0.22);
}

.catalog__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.catalog__author {
  font-size: 0.9rem;
  opacity: 0.8;
}

.catalog__show-in-hall {
  align-self: flex-start;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page--catalog .catalog__filter select,
.page--catalog .catalog__filter button {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  border: 1px solid rgba(232, 201, 120, 0.3);
}

.artwork-card {
  max-width: 36rem;
}

.artwork-card__frame {
  margin: 0;
}

.artwork-card__kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.artwork-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  margin: 0;
}

.artwork-card__author:empty,
.artwork-card__year:empty,
.artwork-card__description:empty,
.artwork-card__sep:has(+ .artwork-card__year:empty),
.artwork-card__author:empty + .artwork-card__sep {
  display: none;
}

.catalog-show {
  max-width: 40rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 3rem;
}

.catalog-show .artwork-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.1rem;
}

.catalog-show .artwork-card__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.catalog-show .artwork-card__meta {
  color: rgba(36, 31, 26, 0.68);
}

.catalog-show .artwork-card__action {
  align-self: flex-start;
  margin-top: 0.55rem;
  color: var(--moss);
}

.artwork-card__image {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  background: #1b1d20;
  border: 1px solid rgba(232, 201, 120, 0.22);
}

.tour {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: var(--void);
  color: var(--cream);
  font-family: var(--ui);
}

.tour a {
  color: var(--cream);
}

.tour__stage {
  position: relative;
  height: 100vh;
  min-height: 360px;
}

.tour__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 48%,
    rgba(8, 10, 12, 0.16) 74%,
    rgba(8, 10, 12, 0.42) 100%
  );
}

.tour__viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (pointer: coarse) {
  .pitch-hero__preview,
  .tour__stage {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }

  .pitch-hero__preview input,
  .pitch-hero__preview textarea,
  .tour__stage input,
  .tour__stage textarea,
  .tour__stage dialog,
  .tour__stage dialog * {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
  }
}

.tour__viewer .psv-loader-canvas {
  display: none;
}

.tour__viewer .psv-loader {
  width: auto;
  height: auto;
  color: var(--cream);
}

.tour__viewer .psv-loader-text {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.tour__unavailable {
  position: absolute;
  inset: 40% 1rem auto;
  text-align: center;
  margin: 0;
  z-index: 1;
}

.tour__toast {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.6rem 1rem;
  background: var(--glass);
  border: 1px solid var(--gold-dim);
  z-index: 6;
}

.tour-splash {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  background: var(--void);
  background-size: cover;
  background-position: center;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.tour-splash.has-cover {
  background-image: var(--tour-cover);
}

.tour-splash.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12, 14, 16, 0.28) 0%, rgba(12, 14, 16, 0.82) 72%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.2), rgba(12, 14, 16, 0.88));
}

.tour-splash > * {
  position: relative;
  z-index: 1;
}

.tour-splash.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tour-splash__logo {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  border: 1px solid rgba(232, 201, 120, 0.35);
}

.tour-splash__kicker {
  margin: 0;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

.tour-splash__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
}

.tour-splash__intro {
  margin: 0;
  max-width: 28rem;
  color: rgba(244, 234, 215, 0.84);
  font-size: 1rem;
  line-height: 1.5;
}

.tour-splash__status {
  margin: 0;
  opacity: 0.7;
}

.tour-brand {
  position: absolute;
  top: max(0.7rem, env(safe-area-inset-top));
  left: max(0.7rem, env(safe-area-inset-left));
  z-index: 7;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 201, 120, 0.28);
  background: rgba(10, 12, 14, 0.62);
  backdrop-filter: blur(12px);
  text-decoration: none;
}

.tour-brand-desktop-host {
  position: absolute;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  left: max(1rem, env(safe-area-inset-left));
  z-index: 10041;
  pointer-events: none;
}

.tour-brand-desktop-host .tour-brand {
  position: relative;
  top: auto;
  left: auto;
  pointer-events: auto;
}

.tour-overlay__brand-host {
  display: none;
  margin: 0 0 0.85rem;
}

.tour-overlay__brand-host .tour-brand {
  position: relative;
  top: auto;
  left: auto;
  width: 52px;
  height: 52px;
}

.tour-overlay__brand-host:empty {
  display: none;
}

.tour-brand__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tour-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

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

.tour-hud__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.tour-hud__mark {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.tour-hud__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.tour-hud__point {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.tour-hud__nav {
  display: flex;
  gap: 0.4rem;
}

.tour-chip,
.tour-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--gold-dim);
  background: var(--glass);
  color: var(--cream);
  text-decoration: none;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.tour-chip:hover,
.tour-tool:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tour-toolbar {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.tour__viewer .psv-marker--hit {
  overflow: visible;
  background: none;
  cursor: pointer;
}

.tour__viewer .psv-marker--info {
  overflow: visible;
}

.tour__viewer .psv-marker--hit:focus-visible {
  outline: none;
}

.tour__viewer .psv-marker--hit:focus-visible .hs__core,
.tour__viewer .psv-marker--hit:focus-visible .hs__disc {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hs {
  position: relative;
  width: 100%;
  height: 100%;
}

.hs__beacon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
}

.hs__ring,
.hs__pulse {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.hs__ring--a {
  animation: hs-ring 2.4s ease-out infinite;
}

.hs__ring--b {
  animation: hs-ring 2.4s ease-out infinite 0.85s;
}

.hs__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.hs--nav .hs__caption {
  left: 50%;
  bottom: calc(100% - 6px);
  transform: translateX(-50%);
}

.hs--art,
.hs--info {
  display: flex;
  align-items: center;
}

.hs--info {
  gap: 0.7rem;
  width: 100%;
  height: 100%;
}

.hs--info .hs__caption {
  position: static;
  left: auto;
  top: auto;
  bottom: auto;
  max-width: 22rem;
  width: 22rem;
  padding: 0.8rem 1rem;
  overflow: visible;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  text-overflow: unset;
  white-space: normal;
  transform: none;
}

.hs--info.hs--caption-hover .hs__caption,
.psv-marker--hit:hover .hs--info.hs--caption-hover .hs__caption,
.psv-marker--hit:focus-visible .hs--info.hs--caption-hover .hs__caption,
.hs--info.is-open .hs__caption {
  transform: none;
}

.hs--art .hs__icon {
  flex: 0 0 var(--hs-size, 44px);
  width: var(--hs-size, 44px);
  height: var(--hs-size, 44px);
}

.hs--info .hs__icon {
  flex: 0 0 var(--hs-info-size, var(--hs-size, 44px));
  width: var(--hs-info-size, var(--hs-size, 44px));
  height: var(--hs-info-size, var(--hs-size, 44px));
}

.hs--task .hs__icon {
  flex: 0 0 var(--hs-task-size, var(--hs-size, 44px));
  width: var(--hs-task-size, var(--hs-size, 44px));
  height: var(--hs-task-size, var(--hs-size, 44px));
}

.hs--art .hs__disc {
  background: var(--hs-color, #e31c79);
  border-radius: var(--hs-radius, 50%);
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.hs--info .hs__disc {
  background: var(--hs-info-color, var(--hs-color, #e31c79));
  border-radius: var(--hs-info-radius, var(--hs-radius, 50%));
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.hs--task .hs__disc {
  background: var(--hs-task-color, var(--hs-color, #e31c79));
  border-radius: var(--hs-task-radius, var(--hs-radius, 50%));
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.hs--art .hs__pulse {
  border-color: var(--hs-pulse, rgba(227, 28, 121, 0.55));
  border-radius: var(--hs-radius, 50%);
  box-shadow: none;
}

.hs--info .hs__pulse {
  border-color: var(--hs-info-pulse, var(--hs-pulse, rgba(227, 28, 121, 0.55)));
  border-radius: var(--hs-info-radius, var(--hs-radius, 50%));
  box-shadow: none;
}

.hs--task .hs__pulse {
  border-color: var(--hs-task-pulse, var(--hs-pulse, rgba(227, 28, 121, 0.55)));
  border-radius: var(--hs-task-radius, var(--hs-radius, 50%));
  box-shadow: none;
}

.hs__icon {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.hs__pulse {
  inset: -7px;
  animation: hs-ring 2.2s ease-out infinite;
}

.hs__disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef4 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.tour__viewer .hs--art .hs__disc {
  background: var(--hs-color, #e31c79);
  border-radius: var(--hs-radius, 50%);
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.tour__viewer .hs--info .hs__disc {
  background: var(--hs-info-color, var(--hs-color, #e31c79));
  border-radius: var(--hs-info-radius, var(--hs-radius, 50%));
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.tour__viewer .hs--task .hs__disc {
  background: var(--hs-task-color, var(--hs-color, #e31c79));
  border-radius: var(--hs-task-radius, var(--hs-radius, 50%));
  box-shadow: 0 4px 14px rgba(16, 12, 20, 0.35);
}

.tour__viewer .hs--art .hs__icon {
  flex: 0 0 var(--hs-size, 44px);
  width: var(--hs-size, 44px);
  height: var(--hs-size, 44px);
}

.tour__viewer .hs--info .hs__icon {
  flex: 0 0 var(--hs-info-size, var(--hs-size, 44px));
  width: var(--hs-info-size, var(--hs-size, 44px));
  height: var(--hs-info-size, var(--hs-size, 44px));
}

.tour__viewer .hs--task .hs__icon {
  flex: 0 0 var(--hs-task-size, var(--hs-size, 44px));
  width: var(--hs-task-size, var(--hs-size, 44px));
  height: var(--hs-task-size, var(--hs-size, 44px));
}

.hs__glyph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 16px;
  border: 0;
  border-radius: 0;
  gap: 2px;
}

.hs__glyph::before,
.hs__glyph::after {
  display: block;
  background: #1c2a38;
  content: "";
}

.hs__glyph::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.hs__glyph::after {
  width: 3px;
  height: 8px;
  margin: 0;
  border-radius: 1px;
}

.hs__caption {
  position: absolute;
  max-width: 11.5rem;
  padding: 0.28rem 0.55rem;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(16, 20, 26, 0.86);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hs--art .hs__caption {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.hs--caption-hover .hs__caption {
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.hs--art.hs--caption-hover .hs__caption {
  transform: translate(-6px, -50%);
}

.hs--caption-hover:hover .hs__caption,
.psv-marker--hit:hover .hs--caption-hover .hs__caption,
.psv-marker--hit:focus-visible .hs--caption-hover .hs__caption {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.psv-marker--hit:hover .hs--art.hs--caption-hover .hs__caption,
.psv-marker--hit:focus-visible .hs--art.hs--caption-hover .hs__caption,
.hs--art.hs--caption-hover:hover .hs__caption {
  transform: translateY(-50%);
}

.psv-marker--hit:hover .hs__core,
.psv-marker--hit:focus-visible .hs__core {
  transform: translate(-50%, -50%) scale(1.12);
}

.psv-marker--hit:hover .hs__disc,
.psv-marker--hit:focus-visible .hs__disc {
  transform: scale(1.06);
}

@keyframes hs-ring {
  0% {
    opacity: 0.85;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.plan-open {
  display: none;
}

.tour-tool--catalog {
  display: none;
}

.plan-panel {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  width: min(260px, calc(100vw - 2rem));
  padding: 0.5rem;
  background: var(--tour-chrome-bg, var(--glass));
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 35%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  backdrop-filter: blur(10px);
  color: var(--tour-chrome-fg, var(--cream));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.plan-drawer__chrome {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.plan-drawer__title {
  margin: 0;
  font-size: 1rem;
  font-family: var(--display);
}

.plan-drawer__close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: inherit;
}

.plan-map {
  position: relative;
  background-color: #161412;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(232, 201, 120, 0.18);
}

.plan-map > svg,
.plan-picker__surface > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plan-map > svg {
  position: absolute;
  inset: 0;
}

/* Hit-area ≥44px, видимая точка — компактный radar как у музейных туров */
.plan-point {
  position: absolute;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.plan-point::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(243, 238, 228, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(12, 14, 16, 0.45);
}

.plan-point__thumb {
  display: none;
}

.plan-point.is-current::before,
.plan-point[aria-current='true']::before {
  width: 14px;
  height: 14px;
  border-color: #fff;
  background: var(--gold);
  box-shadow:
    0 0 0 3px rgba(232, 201, 120, 0.35),
    0 0 12px rgba(232, 201, 120, 0.55);
}

.plan-point.is-current::after,
.plan-point[aria-current='true']::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(232, 201, 120, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: plan-radar 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes plan-radar {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.55);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@media (max-width: 720px) {
  .plan-open {
    display: inline-flex;
  }

  .tour-toolbar .plan-open {
    display: inline-flex;
  }

  .tour-tool--catalog {
    display: inline-flex;
  }

  .plan-panel.plan-drawer {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-height: 70vh;
    overflow: auto;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .plan-panel.plan-drawer.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .plan-drawer__chrome {
    display: flex;
  }

  .tour-hud__nav {
    display: none;
  }
}

.artwork-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  width: min(46rem, calc(100vw - 1.5rem));
  max-width: min(46rem, calc(100vw - 1.5rem));
  max-height: min(42rem, calc(100dvh - 1.5rem));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tour-modal-radius, 6px);
  background:
    linear-gradient(180deg, rgba(22, 20, 16, 0.22), transparent 28%),
    var(--tour-modal-bg, rgba(10, 11, 13, 0.96));
  color: var(--tour-modal-fg, var(--cream));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.artwork-modal[open] {
  animation: artwork-modal-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.artwork-modal::backdrop {
  background: rgba(6, 7, 9, 0.62);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.artwork-modal[open]::backdrop {
  animation: artwork-backdrop-in 240ms ease;
}

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

@keyframes artwork-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.artwork-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
}

.artwork-modal__body {
  max-height: min(42rem, calc(100dvh - 1.5rem));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
}

.artwork-modal .artwork-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 1fr);
  max-width: none;
  min-height: 18rem;
}

.artwork-modal .artwork-card--note {
  grid-template-columns: 1fr;
  min-height: 0;
}

.artwork-modal .artwork-card__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, #161410 0%, #0b0c0e 100%);
  border-right: 1px solid rgba(232, 201, 120, 0.16);
}

.artwork-modal__body .artwork-card__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(62vh, 28rem);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.artwork-modal .artwork-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 1.6rem 2.6rem 1.6rem 1.45rem;
}

.artwork-modal .artwork-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.artwork-modal .artwork-card__meta {
  color: inherit;
  opacity: 0.72;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.artwork-modal .artwork-card__description {
  margin: 0.45rem 0 0;
  max-width: 36em;
  color: inherit;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.55;
}

.artwork-modal .artwork-card__action {
  align-self: flex-start;
  margin-top: 0.7rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(232, 201, 120, 0.38);
  border-radius: 2px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.artwork-modal .artwork-card__action + .artwork-card__action {
  margin-top: 0.45rem;
}

.task-check {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.task-check__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
}

.task-check__submit {
  margin-top: 0.35rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(232, 201, 120, 0.38);
  border-radius: 2px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.task-check__status {
  margin: 0.15rem 0 0;
  min-height: 1.3em;
  font-size: 0.92rem;
}

.task-check.is-ok .task-check__status {
  color: #8dcea8;
}

.task-check.is-bad .task-check__status {
  color: #e6a08a;
}

.artwork-modal .artwork-card__action:hover {
  background: rgba(232, 201, 120, 0.12);
}

@media (max-width: 720px) {
  .artwork-modal {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: min(92dvh, 100%);
    max-height: min(92dvh, 100%);
    margin: 0;
    border-radius: 14px 14px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .artwork-modal__body {
    max-height: min(92dvh, 100%);
    height: 100%;
  }

  .artwork-modal .artwork-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .artwork-modal .artwork-card__frame {
    min-height: 12rem;
    padding: 0.85rem 0.85rem 0.4rem;
    border-right: 0;
    border-bottom: 1px solid rgba(232, 201, 120, 0.16);
  }

  .artwork-modal__body .artwork-card__image {
    max-height: min(42vh, 18rem);
  }

  .artwork-modal .artwork-card__copy {
    justify-content: flex-start;
    padding: 1.05rem 1.2rem max(1.4rem, env(safe-area-inset-bottom));
  }
}

/* Refined museum controls: one visual language for HUD, plan and audio. */
.tour {
  min-width: 320px;
  overflow: hidden;
  background: var(--void);
  color: var(--cream);
}

.tour__stage {
  height: 100vh;
  height: 100dvh;
  min-height: 360px;
  isolation: isolate;
  overflow: hidden;
  --tour-chrome-inset-x: max(1rem, env(safe-area-inset-right));
  --tour-chrome-inset-top: max(0.85rem, env(safe-area-inset-top));
  --tour-chrome-inset-bottom: max(1rem, env(safe-area-inset-bottom));
  --tour-chrome-column-width: min(17.5rem, calc(100vw - 2rem));
}

.tour-hud {
  padding:
    max(0.85rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    2.8rem
    max(1rem, env(safe-area-inset-left));
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.82) 0%, rgba(7, 8, 9, 0.34) 52%, transparent 100%);
}

.tour-hud__brand {
  min-width: 0;
}

.tour-hud__mark {
  flex: 0 0 auto;
  box-shadow: 0 0 18px rgba(232, 201, 120, 0.3);
}

.tour-hud__name,
.tour-hud__point {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-hud__name {
  max-width: min(54vw, 34rem);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  letter-spacing: 0.01em;
}

.tour-hud__point {
  max-width: min(58vw, 38rem);
  color: rgba(244, 234, 215, 0.76);
}

.tour-hud__nav {
  flex: 0 0 auto;
}

.tour-icon-button,
.audio-guide__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 34%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  background: var(--tour-chrome-bg, rgba(10, 12, 14, 0.76));
  color: var(--tour-chrome-fg, var(--cream));
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.035);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.tour-icon-button svg,
.audio-guide__toggle svg,
.audio-guide__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audio-guide__play-icon {
  fill: currentColor !important;
  stroke: none !important;
}

.tour-icon-button:hover,
.audio-guide__toggle:hover {
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 76%, transparent);
  color: var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-bg, rgba(20, 20, 18, 0.88)) 88%, #141412);
}

.tour-icon-button:active,
.audio-guide__toggle:active {
  transform: translateY(1px);
}

.tour-icon-button:focus-visible,
.audio-guide__toggle:focus-visible,
.plan-point:focus-visible,
.audio-guide input:focus-visible {
  outline: 2px solid var(--tour-chrome-fg, var(--cream));
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(12, 14, 16, 0.82);
}

.tour-icon-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.tour-icon-button:disabled:hover {
  color: var(--tour-chrome-fg, var(--cream));
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 34%, transparent);
  transform: none;
}

.tour-icon-button.is-active,
.tour-icon-button[aria-pressed='true'] {
  border-color: var(--tour-chrome-accent, var(--gold));
  color: var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
}

.tour-toolbar {
  bottom: max(1rem, env(safe-area-inset-bottom));
  gap: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.tour-toolbar .tour-icon-button {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(12, 14, 16, 0.38);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tour-toolbar .tour-icon-button + .tour-icon-button {
  border-left-color: rgba(255, 255, 255, 0.42);
}

.tour-toolbar .tour-icon-button.is-active,
.tour-toolbar .tour-icon-button[aria-pressed='true'] {
  border-color: var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
}

/* Навигация | просмотр — визуальный разделитель перед гироскопом */
.tour-toolbar #tour-gyro {
  margin-left: 0.35rem;
}

.tour-toolbar .plan-open {
  display: none;
}

.tour__toast {
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.2rem);
  max-width: calc(100vw - 2rem);
  border-radius: 2px;
  backdrop-filter: blur(14px);
}

.plan-panel {
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(280px, calc(100vw - 2rem));
  padding: 0.55rem;
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 30%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  background: var(--tour-chrome-bg, rgba(9, 11, 13, 0.78));
  color: var(--tour-chrome-fg, var(--cream));
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  transition: width 180ms ease;
}

.plan-drawer__chrome {
  display: flex;
  min-height: 44px;
  margin: 0 0 0.45rem;
}

.plan-drawer__title {
  padding-left: 0.35rem;
  font-size: 1.1rem;
  letter-spacing: 0.025em;
}

.plan-drawer__actions {
  display: contents;
}

.plan-drawer__collapse,
.plan-drawer__close {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.plan-drawer__collapse {
  margin-left: auto;
}

.plan-drawer__close {
  display: none;
}

.plan-panel.is-collapsed {
  width: 56px;
  padding: 0.35rem;
}

.plan-panel.is-collapsed .plan-drawer__chrome {
  margin: 0;
}

.plan-panel.is-collapsed .plan-drawer__title,
.plan-panel.is-collapsed .plan-map {
  display: none;
}

.plan-panel.is-collapsed .plan-drawer__collapse svg {
  transform: rotate(180deg);
}

.plan-map {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 24%, transparent);
  border-radius: calc(var(--tour-chrome-radius, 12px) * 0.35);
  background-size: contain;
}

.plan-point::before {
  width: 11px;
  height: 11px;
  border-width: 1.5px;
  background: rgba(244, 234, 215, 0.96);
}

.plan-point:hover::before,
.plan-point:focus-visible::before {
  transform: translate(-50%, -50%) scale(1.24);
}

.plan-point.is-current::before,
.plan-point[aria-current='true']::before {
  width: 15px;
  height: 15px;
  border: 3px solid var(--tour-chrome-fg, var(--cream));
  background: var(--tour-chrome-accent, var(--gold));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 30%, transparent),
    0 0 16px color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 72%, transparent);
}

.audio-guide {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 5;
  width: min(340px, calc(100vw - 2rem));
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 30%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  background: var(--tour-chrome-bg, rgba(9, 11, 13, 0.8));
  color: var(--tour-chrome-fg, var(--cream));
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}

.audio-guide__toggle {
  width: 100%;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.audio-guide__icon {
  display: inline-flex;
  color: var(--tour-chrome-accent, var(--gold));
}

.audio-guide__label {
  font-family: var(--display);
  font-size: 1.08rem;
}

.audio-guide__status {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: rgba(244, 234, 215, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.audio-guide__controls {
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 13%, transparent);
}

.audio-guide__track {
  margin: 0.65rem 0 0.5rem;
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-guide__row {
  display: grid;
  grid-template-columns: 44px auto minmax(70px, 1fr) auto 44px 58px;
  gap: 0.38rem;
  align-items: center;
}

.audio-guide__row .tour-icon-button {
  border-color: transparent;
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 8%, transparent);
  box-shadow: none;
}

.audio-guide__time {
  color: color-mix(in srgb, var(--tour-chrome-fg, #f4ead7) 72%, transparent);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.audio-guide input[type='range'] {
  min-height: 44px;
  width: 100%;
  margin: 0;
  padding: 0;
  accent-color: var(--tour-chrome-accent, var(--gold));
  cursor: pointer;
}

.audio-guide input[type='range']:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.audio-guide__pause-icon {
  display: none;
}

.audio-guide.is-playing .audio-guide__play-icon {
  display: none;
}

.audio-guide.is-playing .audio-guide__pause-icon {
  display: block;
}

.audio-guide__empty {
  margin: 0.35rem 0 0;
  color: rgba(244, 234, 215, 0.64);
  font-size: 0.75rem;
}

.audio-guide.has-track .audio-guide__empty {
  display: none;
}

@media (min-width: 721px) and (max-width: 1024px) {
  .tour-toolbar {
    right: max(1rem, env(safe-area-inset-right));
    left: auto;
    transform: none;
  }

  .audio-guide {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.25rem);
  }
}

@media (max-width: 720px) {
  .tour-hud {
    gap: 0.5rem;
  }

  .tour-hud__nav {
    display: flex;
  }

  .tour-hud__name {
    max-width: calc(100vw - 9.6rem);
  }

  .tour-hud__point {
    max-width: calc(100vw - 8rem);
  }

  .tour-hud__nav .tour-icon-button {
    min-width: 44px;
    padding: 0;
  }

  .tour-toolbar {
    display: flex;
    width: max-content;
  }

  .tour-toolbar .plan-open {
    display: inline-flex;
  }

  .plan-panel.plan-drawer {
    z-index: 9;
    max-height: min(78dvh, 42rem);
    padding:
      0.65rem
      max(0.75rem, env(safe-area-inset-right))
      max(0.75rem, env(safe-area-inset-bottom))
      max(0.75rem, env(safe-area-inset-left));
    border-top-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 45%, transparent);
    background: var(--tour-chrome-bg, rgba(9, 11, 13, 0.96));
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.52);
  }

  .plan-drawer__chrome {
    display: flex;
  }

  .plan-drawer__collapse {
    display: none;
  }

  .plan-drawer__close {
    display: inline-flex;
  }

  .plan-map {
    max-height: calc(78dvh - 4.7rem);
  }

  .audio-guide {
    right: 0.75rem;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.25rem);
    width: calc(100vw - 1.5rem);
  }

  .audio-guide__row {
    grid-template-columns: 44px auto minmax(60px, 1fr) auto 44px;
  }

  .audio-guide__volume {
    display: none;
  }

  .tour.is-plan-open .audio-guide {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  .tour-hud__mark {
    display: none;
  }

  .tour-hud__brand {
    gap: 0;
  }

  .tour-hud__name {
    max-width: calc(100vw - 7.2rem);
  }

  .audio-guide__label {
    font-size: 1rem;
  }

  .audio-guide__status {
    max-width: 7.5rem;
  }
}

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

.form-error {
  color: var(--clay);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  min-height: 44px;
  width: 100%;
  padding: 0.4rem 0.6rem;
}

button {
  cursor: pointer;
}

.page--admin a {
  color: var(--moss);
}

.page--admin h1,
.page--admin h2 {
  font-family: var(--display);
}

/* Admin exhibition editor */
.page--admin {
  --admin-bg: #f5f1e8;
  --admin-surface: #fffdf8;
  --admin-ink: #20251f;
  --admin-muted: #687067;
  --admin-green: #304a3b;
  --admin-green-soft: #dfe8df;
  --admin-line: #d9d5ca;
  --admin-accent: #b56f43;
  --admin-danger: #9b3d32;
  min-width: 320px;
  background:
    linear-gradient(rgba(48, 74, 59, 0.025) 1px, transparent 1px),
    var(--admin-bg);
  background-size: 100% 32px;
  color: var(--admin-ink);
  font-family: "Manrope", sans-serif;
}

.page--admin h1,
.page--admin h2 {
  font-family: "Literata", Georgia, serif;
  line-height: 1.15;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  grid-template-rows: 4.75rem minmax(0, 1fr);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--admin-ink) !important;
  text-decoration: none;
}

.admin-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--admin-green);
  color: var(--admin-green);
  font-family: "Literata", Georgia, serif;
  font-size: 1.25rem;
  transform: rotate(-3deg);
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  font-family: "Literata", Georgia, serif;
  font-size: 1rem;
}

.admin-brand small {
  margin-top: 0.1rem;
  color: var(--admin-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-tour-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  color: var(--admin-green) !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-sidebar {
  position: sticky;
  top: 4.75rem;
  display: flex;
  height: calc(100vh - 4.75rem);
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem 1rem 1.2rem;
  border-right: 1px solid var(--admin-line);
  background: rgba(255, 253, 248, 0.56);
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav__label {
  margin: 0.9rem 0 0.05rem;
  padding: 0 0.8rem;
  color: var(--admin-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-nav__label:first-child {
  margin-top: 0;
}

.admin-nav__item {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid transparent;
  color: var(--admin-muted) !important;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-nav__item > span {
  min-width: 1.5rem;
  color: var(--admin-accent);
  font-family: "Literata", Georgia, serif;
  font-size: 0.75rem;
  text-align: center;
}

.admin-nav__text {
  min-width: 0;
  color: inherit;
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
}

.admin-nav__item:hover,
.admin-nav__item.is-active {
  border-left-color: var(--admin-green);
  background: var(--admin-green-soft);
  color: var(--admin-green) !important;
}

.admin-logout {
  margin: 0;
}

.admin-logout button {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--admin-muted);
  text-align: left;
}

.admin-main {
  min-width: 0;
  padding: clamp(1.25rem, 3.2vw, 3.5rem);
}

.admin-page {
  width: min(100%, 76rem);
  margin: 0 auto;
}

.admin-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--admin-muted);
  font-size: 0.78rem;
}

.admin-breadcrumbs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--admin-muted) !important;
}

.admin-page-header,
.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-page-header h1,
.admin-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.admin-page-header p:last-child,
.admin-hero .admin-lead {
  max-width: 47rem;
  margin: 0.7rem 0 0;
  color: var(--admin-muted);
}

.admin-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--admin-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--admin-green);
  background: transparent;
  color: var(--admin-green) !important;
  font: 700 0.8rem "Manrope", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.admin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(32, 37, 31, 0.1);
}

.admin-button--primary {
  border-color: var(--admin-green);
  background: var(--admin-green);
  color: #fffdf8 !important;
}

.admin-button--quiet {
  border-color: var(--admin-line);
  background: var(--admin-surface);
}

.admin-button--small {
  min-height: 40px;
  padding: 0.5rem 0.75rem;
}

.admin-button--danger,
.admin-button--danger-quiet {
  border-color: var(--admin-danger);
  color: var(--admin-danger) !important;
}

.admin-button--danger {
  background: var(--admin-danger);
  color: white !important;
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.workflow-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1px;
  background: var(--admin-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.workflow-card {
  position: relative;
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--admin-surface);
}

.workflow-card__number {
  color: var(--admin-accent);
  font: 600 0.72rem "Literata", Georgia, serif;
}

.workflow-card__count {
  margin: 2.8rem 0 0;
  color: var(--admin-green);
  font: 500 clamp(3.2rem, 7vw, 5.8rem) "Literata", Georgia, serif;
  line-height: 0.9;
}

.workflow-card h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 500;
}

.workflow-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.88rem;
}

.workflow-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

.admin-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--admin-accent);
  background: #eee3d3;
}

.admin-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--admin-accent);
  border-radius: 50%;
  font-family: "Literata", Georgia, serif;
}

.admin-note p {
  margin: 0;
  font-size: 0.84rem;
}

.error-summary {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(155, 61, 50, 0.45);
  border-left: 4px solid var(--admin-danger);
  background: #faece8;
  color: #6f2b24;
}

.error-summary p {
  margin: 0.25rem 0 0;
}

.admin-collection {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--admin-line);
  list-style: none;
}

.admin-collection__item {
  display: grid;
  min-height: 7rem;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--admin-line);
  grid-template-columns: 4rem minmax(0, 1fr) auto;
}

.admin-collection__index {
  color: var(--admin-accent);
  font: 500 1.4rem "Literata", Georgia, serif;
  text-align: center;
}

.admin-collection__item h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.admin-collection__item p {
  margin: 0.3rem 0 0;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.admin-collection__thumb {
  display: grid;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--admin-line);
  background: var(--admin-green-soft);
  color: var(--admin-green);
  font-size: 0.7rem;
}

.admin-collection__thumb--art {
  height: 5rem;
}

.admin-collection__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-board {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  list-style: none;
}

.space-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.1rem;
  border: 1px solid var(--admin-line);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f4eee3 100%);
  box-shadow: 0 10px 28px rgba(32, 37, 31, 0.06);
}

.space-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.space-card__order {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--admin-line);
  background: #fff;
  color: var(--admin-accent);
  font: 600 0.85rem "Literata", Georgia, serif;
}

.space-card h2 {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.space-card__lead {
  display: -webkit-box;
  margin: 0.85rem 0 0;
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.space-card__meta {
  margin: auto 0 1rem;
  padding-top: 1.1rem;
  color: var(--admin-green);
  font-size: 0.78rem;
  font-weight: 700;
}

.space-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hall-studio__form {
  display: grid;
  align-items: start;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.hall-preview-fold {
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.hall-preview-fold summary {
  padding: 0.75rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.hall-preview-fold .hall-preview {
  position: static;
  margin: 0 1rem 1rem;
}

.hall-studio__fields {
  grid-column: 1;
}

.hall-preview {
  position: sticky;
  top: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--admin-line);
  background: #2f5245;
  color: #fffdf8;
}

.hall-preview__kicker {
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hall-preview__name {
  margin: 1.1rem 0 0;
  font: 500 1.7rem "Literata", Georgia, serif;
  letter-spacing: -0.03em;
}

.hall-preview__text {
  margin: 0.7rem 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hall-studio .form-action-bar {
  grid-column: 1 / -1;
}

.hall-stack {
  margin: 0 0 1.75rem;
  padding: 1rem 1rem 1.15rem;
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.hall-stack.is-focus {
  border-color: var(--admin-green);
  box-shadow: 0 0 0 3px var(--admin-green-soft);
}

.hall-stack__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hall-stack__head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.hall-stack__head p {
  margin: 0.25rem 0 0;
  color: var(--admin-muted);
  font-size: 0.8rem;
}

.hall-stack__empty {
  margin: 0;
  padding: 1.2rem;
  border: 1px dashed #c8c2b6;
  color: var(--admin-muted);
  font-size: 0.86rem;
}

.spot-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  list-style: none;
}

.spot-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  background: #fffdf8;
  color: var(--admin-ink) !important;
  text-decoration: none;
}

.spot-card:hover,
.spot-card:focus-visible {
  border-color: var(--admin-green);
  box-shadow: 0 8px 22px rgba(32, 37, 31, 0.08);
}

.spot-card__media {
  display: grid;
  height: 7.5rem;
  place-items: center;
  background: #ece6d8;
  color: var(--admin-green);
  font: 600 1rem "Literata", Georgia, serif;
}

.spot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-card__body {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0.8rem 0.85rem;
  background: #fffdf8;
  color: var(--admin-ink);
}

.spot-card h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 0.98rem;
  font-weight: 650;
}

.spot-card .status-badge {
  margin: 0;
  justify-self: start;
}

.spot-card__hint {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.72rem;
}

.point-studio__form {
  display: grid;
  align-items: start;
  gap: 1rem;
}

.point-studio__fold {
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.point-studio__fold > summary {
  padding: 0.8rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.point-studio__fold > .form-section {
  margin: 0;
  border: 0;
}

@media (min-width: 1080px) {
  .point-studio__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .point-studio__who,
  .point-studio__map,
  .point-studio__links,
  .point-studio .advanced-settings,
  .point-studio .form-action-bar,
  .point-studio__fold {
    grid-column: 1;
    grid-row: auto;
  }
}

.upload-grid--compact {
  margin-top: 1.1rem;
}

.direction-picker--simple {
  grid-template-areas:
    "panorama"
    "hint"
    "extras";
  grid-template-columns: minmax(0, 1fr);
}

.direction-picker--simple .direction-picker__controls {
  padding: 0.75rem 0 0;
  border-left: 0;
}

.neighbor-extras {
  grid-area: extras;
  margin-top: 0.35rem;
}

.neighbor-extras summary,
.advanced-settings summary {
  cursor: pointer;
}

.neighbor-card legend {
  font: 600 1rem "Literata", Georgia, serif;
  text-transform: none;
  letter-spacing: 0;
  color: var(--admin-ink);
}

.neighbor-card.is-linked {
  border-color: rgba(47, 82, 69, 0.35);
}

.is-muted {
  color: var(--admin-muted) !important;
}

.status-badge {
  display: inline-flex;
  margin-left: 0.4rem;
  padding: 0.2rem 0.45rem;
  background: var(--admin-green-soft);
  color: var(--admin-green);
  font: 700 0.62rem "Manrope", sans-serif;
  vertical-align: middle;
}

.status-warning {
  color: var(--admin-danger) !important;
}

.admin-empty {
  display: grid;
  min-height: 22rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  place-items: center;
  align-content: center;
  border: 1px dashed #b9b4a8;
  background: rgba(255, 253, 248, 0.48);
  text-align: center;
}

.admin-empty__number {
  color: var(--admin-accent);
  font: 500 3.5rem "Literata", Georgia, serif;
}

.admin-empty h1,
.admin-empty h2 {
  margin: 0.6rem 0;
  font-weight: 500;
}

.admin-empty p {
  max-width: 34rem;
  margin: 0 0 1.2rem;
  color: var(--admin-muted);
}

.admin-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.admin-form {
  display: grid;
  max-width: none;
  gap: 1.25rem;
}

.form-section,
.advanced-settings {
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.form-section {
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.form-section__heading {
  display: grid;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  grid-template-columns: 2.5rem minmax(0, 1fr);
}

.form-section__heading > span {
  color: var(--admin-accent);
  font: 600 0.75rem "Literata", Georgia, serif;
}

.form-section__heading h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
}

.form-section__heading p {
  margin: 0.35rem 0 0;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.78rem;
  font-weight: 700;
}

.field__hint,
.form-note {
  color: var(--admin-muted);
  font-size: 0.73rem;
}

.tour-embed__copy {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.tour-embed__copy p,
.tour-embed__link {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tour-embed__link {
  margin-bottom: 1rem;
}

.tour-embed__code {
  width: 100%;
  min-height: 9.5rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-note {
  margin: 0.9rem 0 0;
}

.page--admin input,
.page--admin select,
.page--admin textarea {
  border: 1px solid #bbb8af;
  border-radius: 0;
  background: #fff;
  color: var(--admin-ink);
}

.page--admin input,
.page--admin select {
  min-height: 48px;
}

.page--admin textarea {
  padding: 0.75rem;
  resize: vertical;
}

.page--admin input:hover,
.page--admin select:hover,
.page--admin textarea:hover {
  border-color: var(--admin-green);
}

.check-field {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--admin-line);
  background: #f8f6ef;
}

.check-field input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 auto;
  margin: 0.1rem 0 0;
  accent-color: var(--admin-green);
}

.check-field strong,
.check-field small {
  display: block;
}

.check-field small {
  margin-top: 0.25rem;
  color: var(--admin-muted);
}

.upload-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.file-drop {
  position: relative;
  display: grid;
  min-height: 10rem;
  padding: 1.2rem;
  place-items: center;
  align-content: center;
  border: 1px dashed #aaa89f;
  background: #faf8f2;
  text-align: center;
  cursor: pointer;
}

.file-drop--wide {
  grid-column: 1 / -1;
  min-height: 12rem;
}

.file-drop--artwork {
  min-height: 18rem;
}

.file-drop:hover,
.file-drop.is-dragging,
.file-drop:focus-within {
  border-color: var(--admin-green);
  background: var(--admin-green-soft);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop__icon {
  margin-bottom: 0.55rem;
  color: var(--admin-accent);
  font: 500 1.5rem "Literata", Georgia, serif;
}

.file-drop > span:not(.file-drop__icon),
.file-drop small {
  margin-top: 0.3rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.file-drop__preview {
  width: 96px;
  height: 62px;
  margin-top: 0.8rem;
  border: 1px solid var(--admin-line);
  object-fit: cover;
}

.file-drop__preview--art {
  width: 110px;
  height: 140px;
}

.plan-picker {
  display: grid;
  gap: 0.7rem;
}

.plan-picker__surface {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--admin-line);
  background: #e8e4da;
  cursor: crosshair;
}

.plan-picker__surface img,
.plan-picker__surface > svg {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.plan-picker__marker {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--admin-danger);
  box-shadow: 0 0 0 3px rgba(155, 61, 50, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.plan-picker__status {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.76rem;
}

.plan-picker__fallback {
  padding: 2rem;
  border: 1px dashed #aaa89f;
  background: #faf8f2;
  text-align: center;
}

.plan-picker__fallback p {
  margin: 0.4rem auto 0;
  max-width: 35rem;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.neighbor-list {
  display: grid;
  gap: 1rem;
}

.neighbor-card {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--admin-line);
  background: #faf8f2;
}

.floor-ring-fields {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(8rem, 12rem);
  gap: 0.8rem 1rem;
  align-items: end;
}

.floor-ring-fields__note {
  grid-column: 1 / -1;
  margin: 0;
}

.floor-ring-fields input[type='color'] {
  width: 100%;
  height: 2.4rem;
  padding: 0.15rem;
  border: 1px solid var(--admin-line);
  background: #fff;
  cursor: pointer;
}

.neighbor-card legend {
  padding: 0 0.4rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hotspot-caption-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .hotspot-caption-fields {
    grid-template-columns: 1fr;
  }
}

.direction-picker {
  display: grid;
  grid-template-areas:
    "panorama controls"
    "hint controls";
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 0.8fr);
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid var(--admin-line);
  background: #fff;
}

.direction-panorama {
  grid-area: panorama;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  background:
    linear-gradient(135deg, rgba(47, 82, 69, 0.08), rgba(184, 94, 57, 0.08)),
    #eee9df;
  cursor: crosshair;
  touch-action: none;
}

.direction-panorama:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.direction-panorama:focus-visible {
  outline: 3px solid var(--admin-accent);
  outline-offset: 3px;
}

.direction-panorama img {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.direction-picker.has-panorama .direction-panorama img {
  display: block;
}

.direction-panorama__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--admin-muted);
  font-size: 0.78rem;
  text-align: center;
}

.direction-panorama__empty[hidden] {
  display: none;
}

.direction-panorama__marker {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--admin-accent);
  box-shadow:
    0 0 0 2px var(--admin-accent),
    0 5px 18px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.direction-picker:not(.has-panorama) .direction-panorama__marker {
  display: none;
}

.direction-panorama__hint {
  grid-area: hint;
  margin: 0;
}

.direction-picker.direction-picker--simple {
  grid-template-areas:
    "panorama"
    "hint"
    "extras";
  grid-template-columns: minmax(0, 1fr);
}

.direction-picker.direction-picker--simple .direction-panorama {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: auto;
}

.direction-panorama::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
}

.direction-picker__controls {
  grid-area: controls;
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
  padding: 0.8rem;
  border-left: 1px solid var(--admin-line);
}

.direction-picker__controls-title {
  margin: 0 0 0.15rem;
  color: var(--admin-ink);
  font: 600 0.9rem "Literata", Georgia, serif;
}

.direction-picker__labels {
  display: flex;
  justify-content: space-between;
  color: var(--admin-muted);
  font-size: 0.68rem;
}

.direction-picker__track {
  position: relative;
  min-height: 44px;
  border-top: 1px solid var(--admin-green);
  background:
    linear-gradient(90deg, transparent 49.8%, var(--admin-line) 49.8%, var(--admin-line) 50.2%, transparent 50.2%);
  cursor: ew-resize;
  touch-action: none;
}

.direction-picker__track::before,
.direction-picker__track::after {
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--admin-green);
  border-radius: 50%;
  background: white;
  content: "";
}

.direction-picker__track::before {
  left: 0;
}

.direction-picker__track::after {
  right: 0;
}

.direction-picker [data-direction-thumb] {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--admin-accent);
  box-shadow: 0 0 0 2px var(--admin-accent);
  transform: translate(-50%, -50%);
}

.direction-picker__track [data-direction-thumb] {
  top: 0;
}

.direction-picker__height {
  display: grid;
  min-height: 118px;
  gap: 0.75rem;
  grid-template-columns: minmax(8rem, 1fr) 44px;
}

.direction-picker__vertical-labels {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding-block: 0.2rem;
  color: var(--admin-muted);
  font-size: 0.68rem;
}

.direction-picker__vertical {
  position: relative;
  width: 44px;
  min-height: 118px;
  border-left: 1px solid var(--admin-green);
  background:
    linear-gradient(transparent 49.8%, var(--admin-line) 49.8%, var(--admin-line) 50.2%, transparent 50.2%);
  cursor: ns-resize;
  touch-action: none;
}

.direction-picker__vertical [data-direction-thumb] {
  left: 0;
}

.direction-picker__summary {
  margin: 0.15rem 0 0;
  padding: 0.65rem;
  border: 1px solid rgba(48, 74, 59, 0.2);
  background: var(--admin-green-soft);
  color: var(--admin-green);
  font: 600 0.82rem "Literata", Georgia, serif;
  text-align: center;
}

.precision-settings,
.advanced-settings {
  color: var(--admin-muted);
}

.precision-settings summary,
.advanced-settings summary {
  min-height: 44px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.precision-settings__grid,
.advanced-settings__body {
  padding: 1rem;
  border-top: 1px solid var(--admin-line);
}

.precision-settings__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.precision-settings label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.7rem;
}

.form-action-bar {
  position: sticky;
  z-index: 10;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 4.75rem;
  padding: 0.8rem;
  border: 1px solid var(--admin-line);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 -8px 24px rgba(32, 37, 31, 0.08);
  backdrop-filter: blur(12px);
}

.content-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.content-switch a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.content-switch a.is-active,
.content-switch a:hover {
  border-color: var(--admin-green);
  background: var(--admin-green-soft);
  color: var(--admin-green);
}

.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(155, 61, 50, 0.3);
  background: #faece8;
}

.danger-zone h2 {
  margin: 0;
  color: var(--admin-danger);
  font-size: 1rem;
}

.danger-zone p {
  margin: 0.25rem 0 0;
  color: #74433e;
  font-size: 0.76rem;
}

.danger-zone form {
  margin: 0;
}

.confirm-dialog {
  width: min(92vw, 30rem);
  padding: 1.6rem;
  border: 1px solid var(--admin-danger);
  background: var(--admin-surface);
  color: var(--admin-ink);
}

.confirm-dialog::backdrop {
  background: rgba(32, 37, 31, 0.58);
  backdrop-filter: blur(3px);
}

.confirm-dialog__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--admin-danger);
  border-radius: 50%;
  color: var(--admin-danger);
  font-family: "Literata", Georgia, serif;
}

.confirm-dialog h2 {
  margin: 1rem 0 0.5rem;
}

.confirm-dialog p {
  color: var(--admin-muted);
}

.confirm-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.admin-login-shell {
  min-height: 100vh;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  align-content: center;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(48, 74, 59, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(48, 74, 59, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.admin-brand--login,
.admin-login__card,
.admin-login__back {
  width: min(100%, 31rem);
  margin-inline: auto;
}

.admin-brand--login {
  margin-bottom: 1.5rem;
}

.admin-login__card {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
  box-shadow: 12px 12px 0 var(--admin-green-soft);
}

.admin-login__card h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
}

.admin-login__card > p:not(.admin-eyebrow) {
  color: var(--admin-muted);
}

.admin-login__form {
  margin-top: 1.5rem;
}

.admin-login__back {
  min-height: 44px;
  margin-top: 1.5rem;
  color: var(--admin-muted) !important;
  font-size: 0.78rem;
}

.page--admin :focus-visible {
  outline: 3px solid var(--admin-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .admin-topbar {
    position: relative;
    min-height: 4.75rem;
    padding-inline: 1rem;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 18;
    height: auto;
    overflow-x: auto;
    padding: 0.4rem;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line);
    background: var(--admin-bg);
  }

  .admin-nav {
    display: flex;
    min-width: max-content;
  }

  .admin-nav__item {
    min-height: 44px;
    border-bottom: 3px solid transparent;
    border-left: 0;
  }

  .admin-nav__item:hover,
  .admin-nav__item.is-active {
    border-bottom-color: var(--admin-green);
    border-left-color: transparent;
  }

  .admin-logout {
    display: none;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 19rem;
  }
}

/* Конструктор: ясная трёхпанельная рабочая среда */
.builder-modes {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--admin-line);
  border-radius: 0.65rem;
  background: #ebe6da;
}

.builder-modes button {
  min-height: 2rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--admin-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.builder-modes button.is-active {
  background: #fffdf8;
  color: var(--admin-ink);
  box-shadow: 0 1px 5px rgba(32, 37, 31, 0.12);
}

.builder-save-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--admin-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.builder-save-status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4b8268;
}

.builder-save-status[data-status="dirty"] i { background: #c28a26; }
.builder-save-status[data-status="saving"] i {
  background: #477f94;
  animation: builder-pulse 0.8s ease-in-out infinite alternate;
}
.builder-save-status[data-status="error"] { color: #9d392f; }
.builder-save-status[data-status="error"] i { background: #b74438; }

@keyframes builder-pulse {
  to { opacity: 0.35; transform: scale(0.75); }
}

.admin-shell--studio .blueprint-editor__layout {
  grid-template-columns: 16rem minmax(0, 1fr) 22rem;
}

.builder-navigator {
  min-width: 0;
  overflow: auto;
  border-right: 1px solid var(--admin-line);
  background: #f8f4eb;
}

.builder-navigator__head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem 0.85rem 0.7rem;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(248, 244, 235, 0.96);
}

.builder-navigator__head div {
  display: grid;
  gap: 0.1rem;
}

.builder-navigator__head span,
.builder-quest__intro > span,
.builder-quest-inspector > span {
  color: var(--admin-accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-navigator__head strong { font-size: 0.86rem; }

.builder-navigator__head > a {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 50%;
  background: var(--admin-green);
  color: #fff;
  text-decoration: none;
}

.builder-tree { padding: 0.55rem; }
.builder-tree__hall { margin-bottom: 0.3rem; }

.builder-tree__hall > button,
.builder-tree__points > button {
  display: grid;
  width: 100%;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--admin-ink);
  text-align: left;
  cursor: pointer;
}

.builder-tree__hall > button {
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  padding: 0.35rem 0.45rem;
}

.builder-tree__hall > button:hover,
.builder-tree__hall.is-selected > button,
.builder-tree__points > button:hover,
.builder-tree__points > button.is-selected {
  background: #e7eadf;
}

.builder-tree__hall small {
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: #ded9ce;
  font-size: 0.65rem;
}

.builder-tree__points {
  display: grid;
  gap: 0.1rem;
  padding: 0.15rem 0 0.35rem 1.15rem;
}

.builder-tree__points > button {
  grid-template-columns: 0.8rem minmax(0, 1fr);
  padding: 0.3rem 0.5rem;
  font: inherit;
  font-size: 0.76rem;
}

.builder-tree__points > button > span:first-child { color: var(--admin-green); }
.builder-tree__points > a {
  padding: 0.4rem 0.5rem;
  color: var(--admin-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.builder-tree__empty {
  margin: 0.8rem;
  color: var(--admin-muted);
  font-size: 0.8rem;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__commandbar,
.blueprint-editor[data-mode="quest"] .blueprint-editor__commandbar,
.blueprint-editor[data-mode="quest"] .blueprint-editor__legend {
  display: none;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__stage,
.blueprint-editor[data-mode="quest"] .blueprint-editor__stage {
  background: #171a18;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__world,
.blueprint-editor[data-mode="quest"] .blueprint-editor__world {
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  overflow: hidden;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__point-layer,
.blueprint-editor[data-mode="scene"] .blueprint-editor__pano,
.blueprint-editor[data-mode="scene"] .blueprint-editor__pano-frame,
.builder-scene,
.builder-scene .psv-container,
.builder-scene .psv-canvas-container {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__point-layer {
  position: absolute;
  inset: 0;
}

.blueprint-editor[data-mode="scene"] .blueprint-editor__pano-frame {
  border: 0;
  border-radius: 0;
  background: #171a18;
}

.builder-psv-marker { overflow: visible !important; }

.is-pano-pending .psv-marker,
.is-pano-pending .psv-markers {
  visibility: hidden !important;
}

.builder-psv-marker--nav {
  cursor: grab;
  touch-action: none;
}

.builder-psv-marker--nav.is-dragging {
  cursor: grabbing;
}

.builder-psv-marker--nav.is-selected .hs__core {
  box-shadow:
    0 0 0 3px #fff,
    0 0 10px rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.45);
}

.builder-psv-marker--nav.is-selected .hs__floor-ring {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.55),
    0 0 0 3px rgba(0, 0, 0, 0.2);
}
.builder-scene-marker {
  display: inline-flex;
  min-width: 2.7rem;
  min-height: 2.7rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  background: rgba(20, 25, 22, 0.88);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  cursor: grab;
  touch-action: none;
}

.builder-psv-marker.is-dragging .builder-scene-marker,
.builder-scene-marker:active {
  cursor: grabbing;
}

.builder-scene-marker > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #f6f0e2;
  color: #18251f;
  font-weight: 900;
}

.builder-scene-marker small {
  max-width: 8.5rem;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-scene-marker--info > span { background: #8cc4ac; }
.builder-scene-marker--artwork > span { background: #f1c36f; }
.builder-scene-marker--quest > span { background: #dd7c64; color: #fff; }
.builder-scene-marker.is-selected {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.builder-quest {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 80% 10%, rgba(90, 132, 108, 0.22), transparent 30%),
    linear-gradient(145deg, #17201b, #101411);
  color: #f6f0e2;
}

.builder-quest[hidden] { display: none; }
.builder-quest__intro { max-width: 40rem; }
.builder-quest__intro h2 {
  margin: 0.4rem 0;
  color: #fff;
  font-family: "Literata", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.builder-quest__intro p { color: #b9c5bd; }

.builder-quest__state {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px dashed rgba(255,255,255,0.25);
  color: #cbd4ce;
}

.builder-quest__graph {
  display: grid;
  max-width: 54rem;
  gap: 0.75rem;
  margin-top: 2rem;
}

.builder-quest__node {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.06);
}

.builder-quest__node > span {
  color: #8cc4ac;
  font-family: "Literata", serif;
  font-size: 1.5rem;
}
.builder-quest__node h3 { margin: 0.15rem 0; color: #fff; }
.builder-quest__node p,
.builder-quest__node small { margin: 0; color: #aebbb3; }
.builder-quest-inspector { display: grid; gap: 0.5rem; }
.builder-quest-inspector p { color: var(--admin-muted); }

@media (max-width: 1180px) {
  .admin-shell--studio .blueprint-editor__layout {
    grid-template-columns: 13rem minmax(0, 1fr) 19rem;
  }
  .blueprint-editor__stats { display: none; }
}

@media (max-width: 900px) {
  .admin-shell--studio .blueprint-editor__layout {
    grid-template-columns: 1fr;
  }
  .builder-navigator { max-height: 18rem; border-right: 0; border-bottom: 1px solid var(--admin-line); }
  .builder-modes { order: 3; width: 100%; }
  .builder-modes button { flex: 1; }
  .builder-save-status { display: none; }
}

@media (max-width: 640px) {
  .direction-picker {
    grid-template-areas:
      "panorama"
      "hint"
      "controls";
    grid-template-columns: minmax(0, 1fr);
  }

  .direction-picker__controls {
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--admin-line);
    border-left: 0;
  }

  .admin-brand small {
    display: none;
  }

  .admin-tour-link {
    font-size: 0.74rem;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-page-header,
  .admin-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .hall-studio__form,
  .point-studio__form {
    grid-template-columns: 1fr;
  }

  .hall-preview {
    position: static;
  }

  .hall-stack__head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-page-header .admin-button,
  .admin-hero .admin-button {
    width: 100%;
  }

  .admin-collection__item {
    align-items: start;
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .admin-collection__item > .admin-button {
    grid-column: 1 / -1;
  }

  .admin-collection__thumb {
    width: 3.5rem;
    height: 3.5rem;
  }

  .form-grid,
  .upload-grid,
  .precision-settings__grid {
    grid-template-columns: 1fr;
  }

  .field--wide,
  .file-drop--wide {
    grid-column: auto;
  }

  .form-section {
    padding: 1rem;
  }

  .form-section__heading {
    grid-template-columns: 1.8rem minmax(0, 1fr);
  }

  .form-action-bar {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .form-action-bar .admin-button {
    flex: 1;
  }

  .danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-zone .admin-button {
    width: 100%;
  }

  .admin-login {
    padding: 1rem;
  }
}

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

/* Native plan editor — deliberately scoped to avoid changing other admin screens. */
.plan-editor {
  --plan-shadow: 0 18px 50px rgba(32, 37, 31, 0.12);
  width: min(100%, 108rem);
}

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

.plan-editor__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.plan-editor__header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.plan-editor__header p:last-child {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: var(--admin-muted);
  font-size: 0.88rem;
}

.plan-editor__header-actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.plan-editor__save-state {
  position: relative;
  margin-right: 0.35rem;
  padding-left: 1rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.plan-editor__save-state::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--admin-green);
  content: "";
  transform: translateY(-50%);
}

.plan-editor__save-state.is-dirty::before {
  background: var(--admin-accent);
}

.plan-editor__save-state.is-error {
  color: var(--admin-danger);
}

.plan-editor__save-state.is-error::before {
  background: var(--admin-danger);
}

.plan-editor__commandbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--admin-line);
  border-bottom: 0;
  background: rgba(255, 253, 248, 0.95);
}

.plan-editor__icon-button,
.plan-editor__text-button,
.plan-editor__order-actions button,
.plan-editor__layer-controls button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--admin-green);
  font-weight: 700;
}

.plan-editor__icon-button {
  font-size: 1.2rem;
}

.plan-editor__text-button {
  padding-inline: 0.75rem;
  font-size: 0.72rem;
}

.plan-editor__icon-button:hover,
.plan-editor__text-button:hover,
.plan-editor__order-actions button:hover,
.plan-editor__layer-controls button:hover {
  border-color: var(--admin-line);
  background: var(--admin-green-soft);
}

.plan-editor__icon-button:disabled,
.plan-editor__text-button:disabled,
.plan-editor__order-actions button:disabled {
  opacity: 0.32;
  pointer-events: none;
}

.plan-editor__separator {
  width: 1px;
  height: 28px;
  margin-inline: 0.25rem;
  background: var(--admin-line);
}

.plan-editor__zoom {
  min-width: 3.6rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.plan-editor__toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-inline: 0.55rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.plan-editor__toggle + .plan-editor__toggle {
  margin-left: 0;
}

.plan-editor__toggle input,
.plan-editor__checks input {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--admin-green);
}

.plan-editor__layout {
  display: grid;
  min-height: min(72vh, 52rem);
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
  box-shadow: var(--plan-shadow);
  grid-template-columns: 11.5rem minmax(28rem, 1fr) 19rem;
}

.plan-editor__tools,
.plan-editor__inspector {
  min-width: 0;
  background: #faf8f2;
}

.plan-editor__tools {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border-right: 1px solid var(--admin-line);
}

.plan-editor__tools > h2 {
  margin: 0.25rem 0.45rem 0.8rem;
  color: var(--admin-muted);
  font: 700 0.68rem "Manrope", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-editor__tool-list {
  display: grid;
  gap: 0.25rem;
}

.plan-editor__tool {
  display: grid;
  min-height: 52px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--admin-ink);
  text-align: left;
  grid-template-columns: 1.6rem minmax(0, 1fr) auto;
}

.plan-editor__tool > span {
  color: var(--admin-accent);
  font-family: "Literata", Georgia, serif;
  font-size: 1.15rem;
  text-align: center;
}

.plan-editor__tool strong {
  font-size: 0.76rem;
}

.plan-editor__tool small {
  color: var(--admin-muted);
  font-size: 0.62rem;
}

.plan-editor__tool:hover {
  border-color: var(--admin-line);
}

.plan-editor__tool.is-active {
  border-left-color: var(--admin-green);
  background: var(--admin-green-soft);
  color: var(--admin-green);
}

.plan-editor__upload {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--admin-line);
}

.plan-editor__upload label {
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-editor__upload input[type="file"] {
  min-height: 44px;
  padding: 0.4rem;
  font-size: 0.65rem;
}

.plan-editor__upload small {
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-editor__upload .admin-button {
  width: 100%;
}

.plan-editor__stage-panel {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background:
    linear-gradient(45deg, rgba(48, 74, 59, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(48, 74, 59, 0.035) 25%, transparent 25%),
    #e5e2d9;
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
}

.plan-editor__stage {
  display: grid;
  min-height: 34rem;
  flex: 1;
  overflow: hidden;
  padding: clamp(0.65rem, 2vw, 1.5rem);
  place-items: center;
}

.plan-editor__canvas {
  display: block;
  width: 100%;
  max-height: calc(72vh - 4rem);
  border: 1px solid rgba(48, 74, 59, 0.32);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(32, 37, 31, 0.14);
  cursor: default;
  touch-action: none;
  user-select: none;
}

.plan-editor__canvas[data-tool="pan"],
.plan-editor__canvas.is-pan-ready {
  cursor: grab;
}

.plan-editor__canvas.is-panning {
  cursor: grabbing;
}

.plan-editor__canvas[data-tool="wall"],
.plan-editor__canvas[data-tool="room"],
.plan-editor__canvas[data-tool="door"],
.plan-editor__canvas[data-tool="text"],
.plan-editor__canvas[data-tool="shape"] {
  cursor: crosshair;
}

.plan-editor__object,
.plan-editor__point {
  cursor: move;
}

.plan-editor__object.is-locked {
  cursor: not-allowed;
}

.plan-editor__object.is-selected {
  filter: drop-shadow(0 0 3px rgba(181, 111, 67, 0.65));
}

.plan-editor__point > circle,
.plan-editor__point > text {
  pointer-events: none;
}

.plan-editor__point.is-selected > circle:first-child {
  fill: var(--admin-green);
}

.plan-editor__handle {
  cursor: nwse-resize;
}

.plan-editor__stage-footer {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  border-top: 1px solid var(--admin-line);
  background: rgba(255, 253, 248, 0.92);
  color: var(--admin-muted);
  font-size: 0.65rem;
}

.plan-editor__stage-footer [data-coordinates] {
  flex: 0 0 auto;
  color: var(--admin-green);
  font-variant-numeric: tabular-nums;
}

.plan-editor__inspector {
  display: grid;
  min-height: 0;
  overflow: auto;
  border-left: 1px solid var(--admin-line);
  grid-template-rows: auto minmax(13rem, 1fr);
}

.plan-editor__panel {
  min-width: 0;
  padding: 1rem;
}

.plan-editor__panel + .plan-editor__panel {
  border-top: 1px solid var(--admin-line);
}

.plan-editor__panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plan-editor__panel-heading > div {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.plan-editor__panel-heading p,
.plan-editor__panel-heading h2 {
  margin: 0;
}

.plan-editor__panel-heading p {
  color: var(--admin-accent);
  font: 600 0.65rem "Literata", Georgia, serif;
}

.plan-editor__panel-heading h2 {
  font-size: 1rem;
  font-weight: 500;
}

.plan-editor__panel-heading > span {
  max-width: 9rem;
  overflow: hidden;
  color: var(--admin-muted);
  font-size: 0.63rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-editor__empty-properties {
  padding: 1.2rem;
  border: 1px dashed #bbb8af;
  color: var(--admin-muted);
  font-size: 0.73rem;
  line-height: 1.55;
  text-align: center;
}

.plan-editor__properties {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 0.8rem;
}

.plan-editor__properties[hidden] {
  display: none;
}

.plan-editor__properties .field {
  gap: 0.3rem;
}

.plan-editor__properties input {
  min-height: 44px;
}

.plan-editor__properties input[type="color"] {
  padding: 0.25rem;
}

.plan-editor__property-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-editor__checks {
  display: grid;
  gap: 0.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-editor__checks label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  color: var(--admin-muted);
  font-size: 0.68rem;
}

.plan-editor__order-actions {
  display: grid;
  border: 1px solid var(--admin-line);
  grid-template-columns: repeat(4, 1fr);
}

.plan-editor__order-actions button + button {
  border-left-color: var(--admin-line);
}

.plan-editor__protected-note {
  margin: 0;
  padding: 0.75rem;
  border-left: 3px solid var(--admin-accent);
  background: #eee3d3;
  color: #654535;
  font-size: 0.68rem;
}

.plan-editor__layers-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.plan-editor__layers {
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  border-top: 1px solid var(--admin-line);
  list-style: none;
}

.plan-editor__layer {
  display: grid;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--admin-line);
  grid-template-columns: minmax(0, 1fr) auto;
}

.plan-editor__layer > button {
  min-width: 0;
  min-height: 47px;
  overflow: hidden;
  padding: 0.55rem 0.4rem;
  border: 0;
  background: transparent;
  color: var(--admin-ink);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-editor__layer.is-selected {
  box-shadow: inset 3px 0 var(--admin-green);
  background: var(--admin-green-soft);
}

.plan-editor__layer-controls {
  display: flex;
}

.plan-editor__layer-controls button {
  min-width: 36px;
  min-height: 44px;
  font-size: 0.7rem;
}

.plan-editor__layer--protected {
  min-height: 52px;
  padding: 0.5rem;
  border-left: 3px solid var(--admin-accent);
  background: #eee3d3;
  color: #654535;
  font-size: 0.7rem;
}

.plan-editor__layer--protected span,
.plan-editor__layer--protected small {
  display: block;
}

.plan-editor__layer--protected small {
  color: #816654;
  font-size: 0.6rem;
  text-align: right;
}

.plan-editor__footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--admin-muted);
  font-size: 0.7rem;
}

.plan-editor__collapse {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  margin: 0 0 0.45rem;
  border: 1px solid var(--admin-line);
  border-radius: 0.35rem;
  background: #fffdf8;
  color: var(--admin-ink);
  font: 700 0.85rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.plan-editor__upload-fold {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--admin-line);
}

.plan-editor__upload-fold summary {
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.plan-editor__upload-fold .plan-editor__upload {
  margin-top: 0.55rem;
  padding-top: 0;
  border-top: 0;
}

.plan-editor.is-tools-collapsed .plan-editor__tools > h2,
.plan-editor.is-tools-collapsed .plan-editor__tool strong,
.plan-editor.is-tools-collapsed .plan-editor__tool small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.plan-editor.is-tools-collapsed .plan-editor__upload-fold[open] .plan-editor__upload {
  position: absolute;
  z-index: 6;
  left: 0.35rem;
  bottom: 2.2rem;
  width: 16rem;
  padding: 0.75rem;
  border: 1px solid var(--admin-line);
  background: #fffdf8;
  box-shadow: var(--plan-shadow);
}

.plan-editor.is-tools-collapsed .plan-editor__tool {
  justify-items: center;
  grid-template-columns: 1fr;
}

.plan-editor.is-tools-collapsed .plan-editor__collapse {
  justify-self: center;
}

.plan-editor.is-inspector-collapsed .plan-editor__inspector > :not(.plan-editor__collapse) {
  display: none;
}

.plan-editor.is-inspector-collapsed .plan-editor__inspector {
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}

.plan-editor.is-inspector-collapsed .plan-editor__collapse {
  margin-inline: auto;
}

.plan-editor.is-tools-collapsed .plan-editor__tools {
  padding: 0.35rem 0.15rem;
  overflow: auto;
}

.plan-editor.is-tools-collapsed .plan-editor__tool {
  min-height: 2.35rem;
  padding: 0.15rem;
}

.plan-editor.is-preview .plan-editor__commandbar,
.plan-editor.is-preview .plan-editor__tools,
.plan-editor.is-preview .plan-editor__inspector,
.plan-editor.is-preview .plan-editor__stage-footer,
.plan-editor.is-preview .plan-editor__footer-actions {
  display: none;
}

.plan-editor.is-preview .plan-editor__layout {
  border-color: transparent;
  box-shadow: none;
  grid-template-columns: minmax(0, 1fr);
}

.plan-editor.is-preview .plan-editor__stage {
  min-height: 70vh;
  background: var(--admin-bg);
}

.plan-editor.is-preview .plan-editor__canvas {
  max-height: 76vh;
}

@media (max-width: 1280px) {
  .plan-editor__layout {
    grid-template-columns: 5.5rem minmax(25rem, 1fr) 18rem;
  }

  .plan-editor__tool {
    justify-items: center;
    grid-template-columns: 1fr;
  }

  .plan-editor__tool strong,
  .plan-editor__tool small,
  .plan-editor__tools > h2 {
    display: none;
  }

  .plan-editor__tool > span {
    font-size: 1.3rem;
  }

  .plan-editor__upload label,
  .plan-editor__upload small {
    display: none;
  }

  .plan-editor__upload input[type="file"] {
    width: 100%;
    color: transparent;
  }

  .plan-editor__upload .admin-button {
    padding-inline: 0.25rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 1040px) {
  .plan-editor__header {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .plan-editor__header-actions {
    justify-content: flex-start;
  }

  .plan-editor__layout {
    grid-template-columns: 5rem minmax(0, 1fr);
    grid-template-rows: minmax(32rem, 62vh) auto;
  }

  .plan-editor__inspector {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow: visible;
    border-top: 1px solid var(--admin-line);
    border-left: 0;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(18rem, 1.2fr);
    grid-template-rows: auto;
  }

  .plan-editor__panel + .plan-editor__panel {
    border-top: 0;
    border-left: 1px solid var(--admin-line);
  }

  .plan-editor__layers {
    max-height: 18rem;
  }

  .plan-editor__stage,
  .plan-editor__canvas {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .plan-editor__header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-editor__save-state {
    grid-column: 1 / -1;
  }

  .plan-editor__commandbar {
    overflow-x: auto;
  }

  .plan-editor__toggle {
    flex: 0 0 auto;
  }

  .plan-editor__layout {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .plan-editor__tools {
    display: block;
    order: 0;
    padding: 0.4rem;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line);
  }

  .plan-editor__tool-list {
    display: flex;
    min-width: max-content;
  }

  .plan-editor__tool {
    width: 52px;
    min-height: 52px;
  }

  .plan-editor__upload {
    display: none;
  }

  .plan-editor__stage-panel {
    order: 1;
  }

  .plan-editor__stage {
    min-height: 23rem;
    padding: 0.5rem;
  }

  .plan-editor__canvas {
    max-height: 62vh;
  }

  .plan-editor__stage-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .plan-editor__inspector {
    display: block;
    order: 2;
  }

  .plan-editor__panel + .plan-editor__panel {
    border-top: 1px solid var(--admin-line);
    border-left: 0;
  }

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

  .plan-editor__footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-editor__footer-actions .admin-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .plan-editor__header-actions {
    grid-template-columns: 1fr;
  }

  .plan-editor__save-state {
    grid-column: auto;
  }

  .plan-editor__header-actions .admin-button {
    width: 100%;
  }

  .plan-editor__property-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .page--admin .admin-topbar,
  .page--admin .admin-sidebar,
  .plan-editor .admin-breadcrumbs,
  .plan-editor__header-actions,
  .plan-editor__commandbar,
  .plan-editor__tools,
  .plan-editor__inspector,
  .plan-editor__stage-footer,
  .plan-editor__footer-actions {
    display: none !important;
  }

  .page--admin .admin-shell,
  .page--admin .admin-main,
  .plan-editor__layout {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .plan-editor__stage {
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  .plan-editor__canvas {
    width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
  }
}

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

.tour-place {
  position: absolute;
  top: auto;
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 3.35rem);
  left: 50%;
  z-index: 6;
  max-width: min(72vw, 28rem);
  margin: 0;
  padding: 0 0.4rem;
  transform: translateX(-50%);
  border-radius: 0;
  background: none;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 480ms ease;
}

.tour-place.is-dismissed {
  opacity: 0;
}

.tour-place::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 2px;
  margin: 0.4rem auto 0;
  background: var(--tour-chrome-accent, var(--gold));
}

.tour-fab {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(16, 18, 22, 0.78);
  color: #f4ead7;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.tour-fab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.tour-fab--menu {
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
}

.tour-fab--menu.is-active,
body.is-tour-menu-open .tour-fab--menu {
  background: var(--gold);
  color: #1a1612;
}

.tour-overlay-scrim {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: rgba(8, 12, 20, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.tour-overlay-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tour-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: min(22rem, 86vw);
  padding:
    0
    1.1rem
    5.5rem
    max(1.1rem, env(safe-area-inset-left));
  background: rgba(8, 14, 24, 0.94);
  color: #f4ead7;
  overflow: auto;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tour-overlay__top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 -1.1rem 0.35rem;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.75rem
    max(1.1rem, env(safe-area-inset-left));
  border-bottom: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 18%, transparent);
  background: rgba(8, 14, 24, 0.98);
}

.tour-overlay__heading {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tour-chrome-accent, var(--gold));
}

.tour-overlay__close {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
}

.tour-overlay__list {
  padding-top: max(1.2rem, env(safe-area-inset-top));
}

.tour-home {
  position: absolute;
  z-index: 10045;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  left: max(1rem, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 14, 16, 0.88);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.tour-home img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.tour-brand-desktop-host {
  left: calc(max(1rem, env(safe-area-inset-left)) + 3.4rem);
}

.tour-home-menu {
  position: absolute;
  z-index: 10044;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  left: calc(max(1rem, env(safe-area-inset-left)) + 38px);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: 44px;
  max-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0 999px 999px 0;
  background: rgba(12, 14, 16, 0.82);
  color: #f4ead7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform-origin: left center;
  transition:
    max-width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.tour-home-menu[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

.tour-home-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  max-width: 16rem;
  padding: 0 0.35rem 0 0.7rem;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .tour-home-menu {
    transition: none;
  }
}

.tour-home-menu a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.tour-home-menu a[href='/enter'] {
  background: #c45c38;
  color: #fff8f4;
}

.tour-home-menu a:hover,
.tour-home-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.tour-home-menu a[href='/enter']:hover,
.tour-home-menu a[href='/enter']:focus-visible {
  background: #d26842;
}

.tour-burger {
  position: absolute;
  z-index: 10045;
  top: var(--tour-chrome-inset-top, max(0.85rem, env(safe-area-inset-top)));
  left: max(1rem, env(safe-area-inset-left));
  display: none;
}

.tour-burger__icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.tour-burger__icon--close {
  display: none;
}

.tour-burger.is-active .tour-burger__icon--open {
  display: none;
}

.tour-burger.is-active .tour-burger__icon--close {
  display: block;
}

.tour-burger.is-active {
  border-color: var(--tour-chrome-accent, var(--gold));
  color: var(--tour-chrome-accent, var(--gold));
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
}

.tour-overlay[hidden],
.tour-overlay-scrim[hidden] {
  display: none;
}

.tour-overlay__hall {
  margin-bottom: 0.35rem;
}

.tour-overlay__hall-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--display);
  font-size: 1.55rem;
  text-align: left;
  cursor: pointer;
}

.tour-overlay__hall-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.tour-overlay__hall.is-open .tour-overlay__hall-toggle svg {
  transform: rotate(180deg);
}

.tour-overlay__points {
  margin: 0 0 0.4rem;
  padding: 0;
  list-style: none;
}

.tour-overlay__point {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: rgba(244, 234, 215, 0.72);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.tour-overlay__point.is-current {
  color: var(--gold);
  font-weight: 600;
}

.tour-dots {
  position: absolute;
  left: 50%;
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 6;
  display: flex;
  gap: 0.4rem;
  transform: translateX(-50%);
}

.tour-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.tour-dot.is-current {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.tour-filmstrip {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(5.2rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: auto;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  pointer-events: none;
}

.tour-filmstrip[hidden] {
  display: none;
}

.tour-filmstrip__title {
  margin: 0 0.15rem;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.tour-filmstrip__row {
  display: flex;
  gap: 0.45rem;
  width: 100%;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.35rem;
  pointer-events: auto;
}

.tour-filmstrip__item {
  flex: 0 0 auto;
  width: 96px;
  height: auto;
  padding: 4px 4px 6px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.tour-filmstrip__thumb {
  display: block;
  height: 58px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(12, 14, 16, 0.45);
}

.tour-filmstrip__thumb img,
.tour-filmstrip__thumb span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: #f4ead7;
  font-size: 0.7rem;
  line-height: 58px;
  text-align: center;
}

.tour-filmstrip__name {
  display: -webkit-box;
  height: auto;
  margin-top: 0.28rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tour-filmstrip__item.is-current .tour-filmstrip__name {
  box-shadow: inset 0 -2px 0 var(--tour-chrome-accent, var(--gold));
}

@media (prefers-reduced-motion: no-preference) {
  .tour-filmstrip:not([hidden]) {
    animation: pitch-rise 0.45s ease both;
  }
}

.tour-toolbar {
  left: auto;
  right: var(--tour-chrome-inset-x, max(1rem, env(safe-area-inset-right)));
  bottom: var(--tour-chrome-inset-bottom, max(1rem, env(safe-area-inset-bottom)));
  transform: none;
  z-index: 10050;
  pointer-events: auto;
  opacity: 0.96;
  width: max-content;
  max-width: var(--tour-chrome-column-width, min(17.5rem, calc(100vw - 2rem)));
}

.tour-overlay,
.tour-overlay-scrim,
.audio-guide,
.tour-location-note,
.tour-filmstrip,
.tour-place,
.tour-dots,
.plan-panel,
.quest-hud,
.tour-burger {
  z-index: 10040;
}

.tour-overlay-scrim {
  z-index: 10055;
}

.tour-overlay {
  z-index: 10060;
}

.tour-toolbar .plan-open {
  display: inline-flex;
}

.tour-toolbar .tour-icon-button[hidden] {
  display: none !important;
}

.audio-guide {
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.4rem);
  width: min(22rem, calc(100vw - 2rem));
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audio-guide.is-open {
  border: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 28%, transparent);
  border-radius: var(--tour-chrome-radius, 12px);
  background: var(--tour-chrome-bg, rgba(9, 11, 13, 0.88));
  color: var(--tour-chrome-fg, var(--cream));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
}

.audio-guide.is-open .audio-guide__toggle.tour-fab {
  background: transparent;
  box-shadow: none;
}

.tour-location-note,
.tour-location-note__show {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 7.15rem);
  z-index: 10040;
}

.tour-location-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: min(22rem, calc(100% - 2rem));
  max-height: min(11rem, 32dvh);
  padding: 0.75rem 0.7rem 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--tour-note-bg, rgba(10, 12, 14, 0.86));
  color: var(--tour-note-fg, var(--cream));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.tour-location-note[hidden] {
  display: none;
}

.tour-location-note__text {
  flex: 1 1 auto;
  min-width: 0;
  max-height: min(8.5rem, 26dvh);
  margin: 0.35rem 0;
  overflow: auto;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.tour-location-note__close,
.tour-location-note__show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.tour-location-note__close {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
}

.tour-location-note__close svg,
.tour-location-note__show svg {
  display: block;
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.tour-location-note__show .is-mark {
  fill: currentColor;
  stroke: none;
}

.tour-location-note__close:hover,
.tour-location-note__show:hover,
.tour-location-note__close:focus-visible,
.tour-location-note__show:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.tour-location-note__show {
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--tour-note-bg, rgba(10, 12, 14, 0.86));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  font: 600 0.92rem/1 var(--ui, "Outfit", sans-serif);
}

.tour-location-note__show[hidden],
.tour-location-note[hidden] {
  display: none;
}

body.is-tour-menu-open .tour-dots,
body.is-tour-menu-open .tour-filmstrip,
body.is-tour-menu-open .audio-guide,
body.is-tour-menu-open .tour-location-note,
body.is-tour-menu-open .tour-location-note__show,
body.is-tour-menu-open .tour-toolbar,
body.is-tour-menu-open .tour-place,
body.is-filmstrip-open .tour-location-note,
body.is-filmstrip-open .tour-location-note__show,
body:has(.audio-guide.is-open) .tour-location-note,
body:has(.audio-guide.is-open) .tour-location-note__show {
  opacity: 0;
  pointer-events: none;
}

body.is-tour-menu-open {
  overflow: hidden;
}

.audio-guide__controls {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.tour-toolbar #tour-dots-toggle svg {
  fill: currentColor;
  stroke: none;
}

.tour-toolbar #tour-gyro.is-active {
  color: var(--tour-chrome-accent, var(--gold));
  border-color: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 76%, transparent);
  background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
}

.plan-panel[hidden],
.tour-dots[hidden],
.tour-filmstrip[hidden] {
  display: none !important;
}

.audio-guide:not(.is-open) {
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.audio-guide.is-open {
  width: min(22rem, calc(100vw - 6rem));
}

.hs--nav .hs__pop {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding-right: 0.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-27px);
  transition: opacity 180ms ease;
}

.hs--nav .hs__beacon {
  transition: opacity 160ms ease;
}

.hs__thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1c2a38 center/cover no-repeat;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hs__thumb--empty {
  background-image: none;
  background-color: #314155;
}

.hs--nav .hs__caption {
  position: static;
  max-width: 9rem;
  transform: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #3aa7c2, #2f8fa8);
  white-space: nowrap;
}

.hs--floor {
  width: 240px;
  height: 240px;
  pointer-events: auto;
}

.hs__floor-ring {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 22px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.22),
    inset 0 0 0 4px rgba(0, 0, 0, 0.16);
  transform-origin: center;
  animation: floor-ring-pulse 2.6s ease-in-out infinite;
}

@keyframes floor-ring-pulse {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hs__floor-ring {
    animation: none;
  }

  .tour-place {
    transition: none;
  }
}

.psv-marker--floor:hover .hs__floor-ring,
.psv-marker--floor:focus-visible .hs__floor-ring {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 0 0 3px rgba(0, 0, 0, 0.2);
}

.hs__task {
  color: #fff;
  font: 700 1.15rem/1 "Manrope", sans-serif;
}

.hs--caption-always .hs__pop,
.psv-marker--hit:hover .hs--nav:not(.hs--caption-off) .hs__pop,
.psv-marker--hit:focus-visible .hs--nav:not(.hs--caption-off) .hs__pop {
  opacity: 1;
  pointer-events: none;
}

.hs--caption-always .hs__beacon,
.psv-marker--hit:hover .hs--nav:not(.hs--caption-off) .hs__beacon,
.psv-marker--hit:focus-visible .hs--nav:not(.hs--caption-off) .hs__beacon {
  opacity: 0;
}

.hs--nav.hs--caption-hover .hs__caption,
.psv-marker--hit:hover .hs--nav .hs__caption,
.psv-marker--hit:focus-visible .hs--nav .hs__caption {
  opacity: 1;
  transform: none;
}

.hs--caption-off .hs__pop {
  display: none;
}

.hs--art .hs__caption {
  max-width: 16.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tour-tooltip-radius, 4px);
  background: var(--tour-tooltip-bg, rgba(10, 12, 14, 0.88));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  color: var(--tour-tooltip-fg, var(--cream));
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  backdrop-filter: blur(16px);
}

.hs--info .hs__caption {
  background: var(--tour-tooltip-bg, rgba(10, 12, 14, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tour-tooltip-radius, 4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  color: var(--tour-tooltip-fg, var(--cream));
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  backdrop-filter: blur(16px);
}

.hs--art .hs__caption,
.hs--info .hs__caption {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.hs--info.is-open .hs__caption,
.psv-marker--hit:hover .hs--info .hs__caption,
.psv-marker--hit:focus-visible .hs--info .hs__caption,
.hs--art.is-open:not(.hs--caption-off) .hs__caption,
.psv-marker--hit:hover .hs--art:not(.hs--caption-off) .hs__caption,
.psv-marker--hit:focus-visible .hs--art:not(.hs--caption-off) .hs__caption {
  opacity: 1;
  visibility: visible;
}

.psv-marker--hit:hover .hs--art:not(.hs--caption-off) .hs__caption,
.psv-marker--hit:focus-visible .hs--art:not(.hs--caption-off) .hs__caption,
.hs--art.is-open:not(.hs--caption-off) .hs__caption {
  transform: translateY(-50%);
}

.hs__bars,
.hs__bars::before,
.hs__bars::after,
.hs__mark--bars,
.hs__mark--bars::before,
.hs__mark--bars::after {
  display: block;
  width: calc(var(--hs-size, 44px) * 0.32);
  height: 2px;
  background: #fff;
  content: "";
}

.hs__bars,
.hs__mark--bars {
  position: relative;
}

.hs__bars::before,
.hs__bars::after,
.hs__mark--bars::before,
.hs__mark--bars::after {
  position: absolute;
  left: 0;
}

.hs__bars::before,
.hs__mark--bars::before {
  top: -5px;
}

.hs__bars::after,
.hs__mark--bars::after {
  top: 5px;
}

.hs__mark--info {
  position: relative;
  width: 0.28em;
  height: 0.85em;
  font-size: calc(var(--hs-size, 44px) * 0.42);
  border-radius: 2px;
  background: #fff;
}

.hs__mark--info::before {
  position: absolute;
  top: -0.42em;
  left: 50%;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}

.hs__mark--dot {
  width: calc(var(--hs-size, 44px) * 0.22);
  height: calc(var(--hs-size, 44px) * 0.22);
  border-radius: 50%;
  background: #fff;
}

.hs__mark--plus,
.hs__mark--plus::after {
  width: calc(var(--hs-size, 44px) * 0.34);
  height: 2px;
  background: #fff;
}

.hs__mark--plus {
  position: relative;
}

.hs__mark--plus::after {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  transform: rotate(90deg);
}

.hs__mark--artwork {
  width: calc(var(--hs-size, 44px) * 0.34);
  height: calc(var(--hs-size, 44px) * 0.4);
  border: 2px solid #fff;
  border-radius: 2px;
  background: transparent;
}

.hs__mark--none {
  display: none;
}

@media (max-width: 720px) {
  .tour-burger {
    display: inline-flex;
    left: auto;
    right: max(1rem, env(safe-area-inset-right));
  }

  .tour-toolbar #tour-menu-toggle {
    display: none !important;
  }

  .tour-place {
    max-width: calc(100vw - 8.5rem);
  }

  .tour-overlay-scrim[hidden] {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .tour-overlay-scrim.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .tour-overlay[hidden] {
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-104%);
  }

  .tour-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .tour-overlay-scrim {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.68);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .tour-overlay {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(22rem, 92vw);
    max-width: 100%;
    padding:
      0
      max(0.85rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(0.85rem, env(safe-area-inset-left));
    border-right: 1px solid color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 16%, transparent);
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.42);
    transform: translateX(-104%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tour-overlay__top {
    display: flex;
  }

  .tour-overlay__list {
    padding-top: 0.35rem;
  }

  .tour-overlay__hall-toggle {
    font-size: 1.25rem;
  }

  .tour-overlay__point {
    min-height: 44px;
    padding-left: 0.45rem;
    border-radius: calc(var(--tour-chrome-radius, 12px) * 0.45);
  }

  .tour-overlay__point.is-current {
    background: color-mix(in srgb, var(--tour-chrome-accent, #e8c978) 12%, transparent);
  }

  .tour-toolbar {
    right: max(0.75rem, env(safe-area-inset-right));
    left: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.4rem;
    transform: none;
  }

  .tour-toolbar .tour-icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(8, 10, 12, 0.82);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .tour-toolbar .tour-icon-button svg {
    width: 22px;
    height: 22px;
    overflow: visible;
    stroke-width: 1.8;
  }

  .tour-filmstrip {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 8.4rem);
  }

  .audio-guide {
    width: auto;
  }

  .tour-location-note {
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
  }

  .tour-location-note__close {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.tour-ui-preview {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 1.1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18, 22, 28, 0.92), rgba(12, 14, 18, 0.96)),
    #1a1e24;
}

.tour-ui-preview__hotspots {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.tour-ui-preview .hs--art,
.tour-ui-preview .hs--info {
  position: relative;
  min-height: 4.5rem;
  padding-left: 0.2rem;
}

.tour-ui-preview .hs--art .hs__caption,
.tour-ui-preview .hs--info .hs__caption {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.tour-ui-preview .hs--info .hs__caption {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  max-width: 8rem;
  width: auto;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  transform: translateY(-50%);
}

.tour-ui-preview .tour-location-note {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(100%, 22rem);
}

.tour-ui-preview__modal.artwork-modal {
  position: relative;
  inset: auto;
  z-index: 0;
  width: min(100%, 22rem);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem 1.1rem;
  animation: none;
}

.tour-ui-preview__modal .artwork-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.tour-ui-preview__modal .artwork-card__description {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.88;
}

.tour-ui-preview__chrome {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  width: min(17.5rem, 100%);
}

.tour-ui-preview__toolbar.tour-toolbar {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  z-index: 0;
  width: max-content;
  pointer-events: none;
  opacity: 1;
}

.tour-ui-preview__toolbar .tour-icon-button {
  pointer-events: none;
}

.tour-ui-preview__toolbar .tour-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-ui-preview__quest.quest-hud {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  z-index: 0;
  width: 100%;
  max-height: none;
  overflow: hidden;
  pointer-events: none;
}

.tour-ui-preview__quest .quest-card {
  padding: 0.75rem 0.85rem 0.85rem;
}

.tour-ui-preview__quest .quest-card__title {
  font-size: 1.2rem;
}

.tour-ui-preview__quest .quest-answer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tour-ui-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tour-ui-group {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  border-radius: 12px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tour-ui-group legend {
  padding: 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.tour-ui-group .field:nth-child(n + 3) {
  grid-column: auto;
}

.tour-ui-icons {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tour-ui-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.16));
  border-radius: 999px;
  font-size: 0.78rem;
}

.page--admin .tour-ui-group input[type="color"] {
  width: 100%;
  height: 2.4rem;
  padding: 0.15rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .tour-ui-groups,
  .tour-ui-group {
    grid-template-columns: 1fr;
  }
}

.page--landing {
  background: var(--void);
  color: var(--cream);
}

.page--landing .page__main {
  padding: 0;
}

.page--landing .site-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  border: 0;
  background: rgba(12, 14, 16, 0.88);
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  backdrop-filter: blur(8px);
}

.page--landing .site-nav a {
  color: var(--cream);
  text-decoration: none;
}

.page--landing .site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}

.site-nav__name {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav__domain,
.pitch-footer__domain {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.pitch-footer__domain {
  margin: -0.2rem 0 0.55rem;
}

.pitch-footer__domain a {
  color: var(--gold);
  text-decoration: none;
}

.pitch-footer__domain a:hover {
  text-decoration: underline;
}

.page--landing .site-nav a:hover {
  color: var(--gold);
}

.pitch-nav-cta {
  border: 1px solid var(--gold);
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.pitch {
  background-image:
    linear-gradient(rgba(232, 201, 120, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 201, 120, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}

.pitch-hero,
.pitch-offers,
.pitch-demo {
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
}

.pitch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  gap: 2.5rem;
  align-items: start;
  padding: 1.6rem 0 2.5rem;
}

.pitch-hero__side {
  display: grid;
  gap: 1rem;
}

.pitch-hero__preview {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.35);
  border-radius: 12px;
  background: #07090b;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pitch-hero__preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease;
}

.pitch-hero__preview-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.82);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pitch-hero__preview:hover img {
  transform: scale(1.03);
}

.pitch-infographic {
  margin-bottom: 1.5rem;
}

.pitch-infographic__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(232, 201, 120, 0.28);
  border-radius: 12px;
  background: rgba(8, 10, 12, 0.45);
}

.pitch-infographic__node {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 14, 16, 0.88);
  color: rgba(244, 234, 215, 0.82);
  font-size: 0.82rem;
}

.pitch-infographic__node.is-accent {
  background: rgba(232, 201, 120, 0.14);
  color: var(--gold);
  font-weight: 600;
}

.pitch-infographic__arrow {
  width: 1.5rem;
  height: 1px;
  background: rgba(232, 201, 120, 0.45);
  position: relative;
}

.pitch-infographic__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: rgba(232, 201, 120, 0.55);
}

.pitch-story__icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.55rem;
  opacity: 0.92;
}

.pitch-gallery {
  padding-bottom: 0;
}

.pitch-gallery__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 13.5rem 13.5rem;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-gallery__grid li:first-child {
  grid-row: 1 / span 2;
}

.pitch-gallery__grid li:nth-child(4) {
  grid-column: 2 / span 2;
}

.pitch-gallery__plan {
  grid-column: 2 / span 2;
}

.pitch-gallery__grid figure {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 12px;
}

.pitch-gallery__grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pitch-gallery__plan img {
  object-fit: contain;
  padding: 0.85rem;
  background: #efe8dc;
}

.pitch-gallery__grid figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.82);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-gallery__note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 1.05rem 0 0;
  padding: 0 0 0 0.9rem;
  border: 0;
  color: rgba(244, 234, 215, 0.78);
  font-size: 1rem;
  line-height: 1.45;
}

.pitch-gallery__places,
.pitch-gallery__line {
  margin: 0;
}

.pitch-gallery__places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pitch-gallery__places span {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.pitch-gallery__places span + span::before {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.pitch-gallery__line {
  max-width: 36rem;
  padding-bottom: 0.12rem;
}

.pitch-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-flow::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: rgba(232, 201, 120, 0.45);
}

.pitch-flow li {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0 0.4rem;
  text-align: center;
}

.pitch-flow__icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(232, 201, 120, 0.55);
  border-radius: 50%;
  background: #0c0e10;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.pitch-flow li.is-accent .pitch-flow__icon {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--void);
}

.pitch-flow__icon svg,
.pitch-quest__route svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pitch-flow strong {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.pitch-flow em {
  font-style: normal;
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.92rem;
}

.pitch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.pitch-chips li {
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  border-radius: 999px;
  color: rgba(244, 234, 215, 0.9);
  font-size: 0.82rem;
}

.pitch-places {
  padding-block: 0;
}

.pitch-places__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-places__grid li {
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.72);
}

.pitch-places__grid img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.pitch-places__grid strong {
  display: block;
  margin: 0.75rem 0.9rem 0.15rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}

.pitch-places__grid span {
  display: block;
  margin: 0 0.9rem 0.95rem;
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.9rem;
}

.site-nav__menu,
.site-nav__scrim {
  display: none;
}

.site-nav__burger {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.pitch-folio {
  padding-bottom: 0;
}

.pitch-folio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.pitch-folio__nav,
.folio-dialog__stage > button {
  display: flex;
  gap: 0.4rem;
}

.pitch-folio__nav button,
.folio-dialog__stage > button {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(232, 201, 120, 0.4);
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.72);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
}

.pitch-folio__nav button:hover,
.folio-dialog__stage > button:hover {
  background: rgba(232, 201, 120, 0.12);
}

.pitch-folio__scroller,
.folio-dialog__shots {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: rgba(232, 201, 120, 0.4) transparent;
}

.pitch-folio__scroller {
  margin-top: 0.25rem;
  padding-bottom: 0.35rem;
}

.pitch-folio__card {
  flex: 1 0 min(28rem, 86vw);
  scroll-snap-align: start;
}

.pitch-folio__open {
  display: grid;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 10, 12, 0.72);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}

.pitch-folio__open img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.pitch-folio__tag,
.pitch-folio__open strong,
.pitch-folio__open span:last-child {
  margin-inline: 0.9rem;
}

.pitch-folio__tag {
  margin-top: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.pitch-folio__open strong {
  margin-top: 0.25rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.pitch-folio__open span:last-child {
  margin-bottom: 0.9rem;
  color: rgba(244, 234, 215, 0.74);
  font-size: 0.9rem;
}

.folio-dialog {
  width: min(40rem, calc(100vw - 1.25rem));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}

.folio-dialog::backdrop {
  background: rgba(5, 6, 8, 0.78);
}

.folio-dialog__panel {
  position: relative;
  max-height: min(92vh, 44rem);
  overflow: auto;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid rgba(232, 201, 120, 0.32);
  border-radius: 16px;
  background: rgba(8, 10, 12, 0.98);
}

.folio-dialog__panel h3 {
  margin: 0 2rem 0.35rem 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
}

.folio-dialog__address {
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
}

.folio-dialog__text {
  margin: 0.55rem 0 0.9rem;
  color: rgba(244, 234, 215, 0.82);
  line-height: 1.45;
}

.folio-dialog__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.folio-dialog__shots {
  border-radius: 12px;
  scrollbar-width: none;
}

.folio-dialog__shots::-webkit-scrollbar {
  display: none;
}

.folio-dialog__shots img {
  flex: 0 0 100%;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 12px;
  background: #efe8dc;
}

.folio-dialog__count {
  margin: 0.45rem 0 0.85rem;
  color: rgba(244, 234, 215, 0.62);
  font-size: 0.82rem;
}

.pitch-case--featured {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.12), transparent 55%),
    rgba(8, 10, 12, 0.72);
}

.pitch-case__thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 9.5rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(232, 201, 120, 0.22);
}

.pitch-maps__mock {
  margin: 0;
}

.pitch-maps__mock-card {
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.pitch-maps__mock-bar {
  height: 0.55rem;
  background: linear-gradient(90deg, rgba(232, 201, 120, 0.45), rgba(232, 201, 120, 0.12));
}

.pitch-maps__mock-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pitch-maps__mock-card figcaption {
  padding: 0.65rem 0.85rem 0.75rem;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.82rem;
  text-align: center;
}

.pitch-process__steps li {
  position: relative;
}

@media (min-width: 861px) {
  .pitch-process__steps li:not(:last-child)::after {
    content: none;
  }
}

.pitch-kicker {
  margin: 0 0 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}

.pitch-hero h1,
.pitch-demo h2,
.pitch-demo h3,
.pitch-offers h2 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--cream);
}

.pitch-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4.4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.pitch-lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(244, 234, 215, 0.84);
}

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
  margin-top: 1.8rem;
}

.pitch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  background: var(--gold);
  color: var(--void);
  text-decoration: none;
  border: 0;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--ui);
  cursor: pointer;
  transition: filter 180ms ease, background 180ms ease, transform 180ms ease;
}

.pitch-cta:hover {
  filter: brightness(1.08);
}

.pitch-cta--ghost {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-dim);
}

.pitch-cta--ghost:hover {
  background: rgba(232, 201, 120, 0.08);
}

.pitch-cta--compact {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.pitch-cta--full {
  width: 100%;
}

.pitch-price {
  margin: 1.15rem 0 0;
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.95rem;
}

.pitch-price__note {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pitch-price__note strong {
  color: var(--cream);
  font-size: 1rem;
  font-family: var(--ui);
  letter-spacing: 0;
}


.pitch-folio__go {
  display: inline-block;
  margin: 0.65rem 0.9rem 0.95rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.pitch-folio__go:hover {
  text-decoration: underline;
}

.page--landing .pitch-folio__stage {
  position: relative;
}

.page--landing .pitch-folio__card {
  position: relative;
}

.page--landing .pitch-folio__nav {
  position: absolute;
  z-index: 3;
  top: calc(0.25rem + 9rem);
  left: 0.7rem;
  right: 0.7rem;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.page--landing .pitch-folio__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(243, 238, 230, 0.28);
  border-radius: 999px;
  background: rgba(22, 19, 16, 0.72);
  color: var(--pitch-paper);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
}

.page--landing .pitch-folio__nav button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page--landing .pitch-folio__nav button:hover:not(:disabled) {
  background: var(--pitch-brick);
  border-color: transparent;
  color: #fff8f4;
}

.page--landing .pitch-folio__nav button:disabled {
  opacity: 0.38;
  cursor: default;
}

.page--landing .pitch-folio__nav button:focus-visible {
  outline: 2px solid rgba(228, 176, 138, 0.9);
  outline-offset: 3px;
}

.page--landing .folio-dialog__stage {
  position: relative;
  display: block;
}

.page--landing .folio-dialog__stage > button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(243, 238, 230, 0.28);
  border-radius: 999px;
  background: rgba(22, 19, 16, 0.72);
  color: var(--pitch-paper);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.page--landing .folio-dialog__stage > button[data-folio-shot-prev] {
  left: 0.65rem;
}

.page--landing .folio-dialog__stage > button[data-folio-shot-next] {
  right: 0.65rem;
}

.page--landing .folio-dialog__stage > button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page--landing .folio-dialog__stage > button:hover:not(:disabled) {
  background: var(--pitch-brick);
  border-color: transparent;
  color: #fff8f4;
}

.page--landing .folio-dialog__stage > button:disabled {
  opacity: 0.38;
  cursor: default;
}

.page--landing .folio-dialog__stage > button:focus-visible {
  outline: 2px solid rgba(228, 176, 138, 0.9);
  outline-offset: 3px;
}

.page--landing .folio-dialog [data-folio-tour] {
  display: flex;
  width: max-content;
  margin-inline: auto;
}

.page--landing .pitch-folio__go {
  position: absolute;
  top: calc(18rem - 3.35rem);
  right: 1rem;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.5rem 1.05rem 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--pitch-brick);
  color: #fff8f4;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(40, 14, 6, 0.42);
}

.page--landing .pitch-folio__go::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.page--landing .pitch-folio__go:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.pitch-rates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-rates__grid li {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.72);
}

.pitch-rates__grid li.is-accent {
  border-color: rgba(232, 201, 120, 0.55);
  background:
    linear-gradient(165deg, rgba(232, 201, 120, 0.14), transparent 48%),
    rgba(8, 10, 12, 0.82);
}

.pitch-rates__grid span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-rates__grid strong {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
}

.pitch-rates__grid em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}

.pitch-rates__grid p {
  margin: 0.25rem 0 0;
  color: rgba(244, 234, 215, 0.78);
  line-height: 1.45;
}

.pitch-service__price {
  margin: 0 0 0.75rem;
  color: var(--cream);
  font-size: 0.95rem;
}

.pitch-service__price strong {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
}

.pitch-service ul {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.pitch-service li {
  position: relative;
  padding-left: 0.95rem;
  color: rgba(244, 234, 215, 0.82);
  font-size: 0.92rem;
  line-height: 1.35;
}

.pitch-service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
}

.pitch-faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0;
}

.pitch-faq__list details {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.72);
}

.pitch-faq__list summary {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
  list-style: none;
  cursor: pointer;
}

.pitch-faq__list summary::-webkit-details-marker {
  display: none;
}

.pitch-faq__answer {
  margin: 0.45rem 0 0;
  color: rgba(244, 234, 215, 0.78);
  line-height: 1.45;
}

.pitch-edge__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: edge;
}

.pitch-edge__grid li {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(232, 201, 120, 0.1), transparent 42%),
    rgba(8, 10, 12, 0.72);
}

.pitch-edge__grid li::before {
  counter-increment: edge;
  content: counter(edge, decimal-leading-zero);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.pitch-edge__grid strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.pitch-edge__grid p {
  margin: 0;
  color: rgba(244, 234, 215, 0.78);
  line-height: 1.45;
}

.pitch-price strong {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.pitch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.pitch-badges li {
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  color: rgba(244, 234, 215, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-section {
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  scroll-margin-top: 5rem;
}

.pitch-story,
.pitch-offers {
  padding-block: 0;
}

.pitch-service .pitch-cta {
  margin-top: auto;
  align-self: flex-start;
}

.pitch-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 2rem;
}

.pitch-ask h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
}

.pitch-ask p {
  margin: 0;
  max-width: 36rem;
  color: rgba(244, 234, 215, 0.82);
  line-height: 1.5;
}

.pitch-section--band {
  width: 100%;
  padding-inline: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
  border-block: 1px solid rgba(232, 201, 120, 0.12);
  background: rgba(12, 14, 16, 0.78);
}

.pitch-section--band.pitch-section {
  width: 100%;
}

.pitch-section--accent {
  padding-block: 3.5rem;
  border-block: 1px solid rgba(232, 201, 120, 0.18);
  background:
    radial-gradient(circle at top right, rgba(232, 201, 120, 0.12), transparent 42%),
    rgba(12, 14, 16, 0.55);
}

.pitch-section__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.pitch-section__head--compact {
  margin-bottom: 1.5rem;
}

.pitch-section__head h2,
.pitch-story h3,
.pitch-quest h2,
.pitch-maps h2,
.pitch-contact h2,
.pitch-case h3,
.pitch-contact__success h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--cream);
}

.pitch .pitch-section__head h2,
.pitch .pitch-quest h2,
.pitch .pitch-contact__copy h2,
.pitch .pitch-demo h2,
.pitch .pitch-ask h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.pitch .pitch-demo h2,
.pitch .pitch-ask h2 {
  margin-bottom: 0.7rem;
}

.pitch-section__head h2 {
  margin: 0;
}

.pitch-offers article h2,
.pitch-service h2,
.pitch-aside h2 {
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0.15rem 0 0.45rem;
}

.pitch-section__lead {
  margin: 0.7rem 0 0;
  color: rgba(244, 234, 215, 0.84);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pitch-story__grid,
.pitch-story__grid article,
.pitch-benefits__grid,
.pitch-cases__grid,
.pitch-process__steps {
  display: grid;
  gap: 1rem;
}

.pitch-story__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pitch-story__grid article,
.pitch-benefits__grid article,
.pitch-case {
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(12, 14, 16, 0.72);
}

.pitch-story__num {
  margin: 0 0 0.45rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.pitch-story h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.pitch-story p {
  margin: 0;
  color: rgba(244, 234, 215, 0.82);
}

.pitch-quest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.pitch-checklist {
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pitch-checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(244, 234, 215, 0.88);
}

.pitch-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.pitch-quest__card {
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  background: rgba(8, 10, 12, 0.72);
}

.pitch-quest__route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.pitch-quest__route::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(232, 201, 120, 0.4);
}

.pitch-quest__route li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.pitch-quest__route span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(232, 201, 120, 0.55);
  border-radius: 50%;
  background: #0c0e10;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.pitch-quest__route strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}

.pitch-aside {
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  background: rgba(12, 14, 16, 0.72);
}

.pitch-aside h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.pitch-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pitch-aside li {
  display: grid;
  gap: 0.2rem;
}

.pitch-aside strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.pitch-aside span {
  color: rgba(244, 234, 215, 0.82);
}

.pitch-offers {
  padding-bottom: 0;
}

.pitch-offers__grid,
.pitch-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pitch-service {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.15rem 1.35rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(12, 14, 16, 0.78);
}

.pitch-service--core {
  border-color: rgba(232, 201, 120, 0.42);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.1), transparent 58%),
    rgba(12, 14, 16, 0.82);
}

.pitch-service--accent {
  border-color: rgba(232, 201, 120, 0.34);
  background:
    linear-gradient(180deg, rgba(232, 201, 120, 0.08), transparent 70%),
    rgba(12, 14, 16, 0.82);
}

.pitch-service__tag {
  margin: 0 0 0.45rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 600;
}

.pitch-platform {
  padding-block: 2.75rem;
}

.pitch-platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.pitch-platform__card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(232, 201, 120, 0.35);
  background: rgba(8, 10, 12, 0.72);
}

.pitch-platform__card ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.pitch-platform__card li {
  display: grid;
  gap: 0.15rem;
}

.pitch-platform__card strong {
  font-family: var(--display);
  font-size: 1.12rem;
}

.pitch-platform__card span {
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.9rem;
}

.pitch-site__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.pitch-site__mock {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 14px;
  background: rgba(8, 10, 12, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.pitch-site__mock img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pitch-site__mock figcaption {
  padding: 0.65rem 0.85rem 0.75rem;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.82rem;
  text-align: center;
}

.pitch-offers__grid article,
.pitch-services__grid article {
  padding: 1.2rem 1.15rem 1.4rem;
  background: rgba(12, 14, 16, 0.78);
  border: 1px solid rgba(232, 201, 120, 0.22);
}

.pitch-offers article > p:first-child {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.pitch-offers h2 {
  margin: 0.45rem 0 0.6rem;
  font-size: 1.8rem;
}

.pitch-offers article p:last-child {
  margin: 0;
  color: rgba(244, 234, 215, 0.82);
}

.pitch-demo__more {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.pitch-demo__more a {
  color: var(--gold);
}

.pitch-cases {
  padding-block: 2.75rem;
}

.pitch-cases__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pitch-cases__stats div {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(8, 10, 12, 0.55);
}

.pitch-cases__stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold);
}

.pitch-cases__stats span {
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.88rem;
}

.pitch-case--featured h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.75rem;
}

.pitch-case--featured p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: rgba(244, 234, 215, 0.84);
}

.pitch-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pitch-case__tag {
  margin: 0 0 0.35rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.pitch-case h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

.pitch-case p {
  margin: 0;
  color: rgba(244, 234, 215, 0.8);
  font-size: 0.92rem;
}

.pitch-maps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.pitch-maps__list {
  margin: 0;
  padding: 1rem 1.1rem;
  list-style: none;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(12, 14, 16, 0.72);
  display: grid;
  gap: 0.65rem;
}

.pitch-maps__list li {
  position: relative;
  padding-left: 1rem;
  color: rgba(244, 234, 215, 0.86);
}

.pitch-maps__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.pitch-benefits {
  padding-bottom: 2.5rem;
}

.pitch-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pitch-benefits__grid article {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(12, 14, 16, 0.72);
}

.pitch-benefits__grid strong {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--cream);
}

.pitch-benefits__grid span {
  color: rgba(244, 234, 215, 0.8);
  font-size: 0.92rem;
}

.pitch-process {
  padding-block: 0;
}

.pitch-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pitch-lanes > div {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(8, 10, 12, 0.55);
}

.pitch-lanes > div.is-accent {
  border-color: rgba(232, 201, 120, 0.5);
  background:
    linear-gradient(160deg, rgba(232, 201, 120, 0.14), transparent 70%),
    rgba(8, 10, 12, 0.72);
}

.pitch-lanes ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-lanes li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--cream);
}

.pitch-lanes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.pitch-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-process__steps::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(232, 201, 120, 0.4);
  z-index: 0;
}

.pitch-process__steps li {
  padding: 0 0.3rem;
  border: 0;
  background: transparent;
  text-align: center;
}

.pitch-process__steps span {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin: 0 auto 0.55rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #0c0e10;
  color: var(--gold);
  letter-spacing: 0;
  font-size: 0.72rem;
  position: relative;
  z-index: 1;
}

.pitch-process__steps li.is-skip span {
  border-style: dashed;
  color: rgba(244, 234, 215, 0.7);
}

.pitch-process__steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--cream);
}

.pitch-process__steps p {
  margin: 0;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.pitch-contact {
  padding-bottom: 0;
  scroll-margin-top: 5rem;
}

.pitch-contact__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(22rem, 1.18fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}

.pitch-contact__copy .pitch-section__lead {
  max-width: 36rem;
}

.pitch-contact__form-wrap .inquiry-modal__fields,
.pitch-contact__form-wrap .pitch-kind-picker__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pitch-contact__form-wrap .inquiry-modal__fields {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.pitch-contact__form-wrap .pitch-kind-card {
  min-height: 5.2rem;
  align-content: start;
}

.pitch-contact__form-wrap .inquiry-modal__success {
  min-height: 16rem;
  display: grid;
  align-content: center;
  justify-items: start;
}

.pitch-contact__channels {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.pitch-contact__channels li {
  display: grid;
  gap: 0.15rem;
}

.pitch-contact__channels span {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.pitch-contact__channels strong {
  color: rgba(244, 234, 215, 0.92);
  font-weight: 500;
}

.pitch-contact__form-wrap {
  position: relative;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(232, 201, 120, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(232, 201, 120, 0.08), transparent 4.5rem),
    rgba(8, 10, 12, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.inquiry-modal {
  width: min(44rem, calc(100vw - 1.5rem));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.inquiry-modal[open] {
  animation: pitch-modal-in 0.28s ease;
}

.inquiry-modal::backdrop {
  background: rgba(5, 6, 8, 0.78);
}

.inquiry-modal__panel {
  position: relative;
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid rgba(232, 201, 120, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(232, 201, 120, 0.1), transparent 5.5rem),
    rgba(8, 10, 12, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.inquiry-modal__head {
  margin: 0 2.2rem 1.1rem 0;
}

.inquiry-modal__head h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.inquiry-modal__head p:last-child {
  margin: 0;
  max-width: 28rem;
  color: rgba(244, 234, 215, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
}

.inquiry-modal__fields {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem;
}

.inquiry-modal .pitch-kind-picker__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.inquiry-modal .pitch-kind-card {
  min-height: 5.4rem;
  align-content: start;
}

.inquiry-modal .pitch-kind-card:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.inquiry-modal .pitch-field textarea {
  min-height: 4.2rem;
}

.inquiry-modal__success {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  min-height: 12rem;
  padding: 0.4rem 2rem 0.6rem 0;
}

.inquiry-modal__success h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
}

.inquiry-modal__success p {
  margin: 0 0 0.6rem;
  max-width: 24rem;
  color: rgba(244, 234, 215, 0.84);
  line-height: 1.5;
}

.inquiry-modal__success .pitch-submit {
  width: auto;
  min-width: 9rem;
}

.inquiry-modal__x {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.72);
  color: var(--cream);
  cursor: pointer;
}

.inquiry-modal__x svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.inquiry-modal__x:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .inquiry-modal__fields,
  .inquiry-modal .pitch-kind-picker__grid,
  .pitch-contact__form-wrap .inquiry-modal__fields,
  .pitch-contact__form-wrap .pitch-kind-picker__grid {
    grid-template-columns: 1fr;
  }

  .inquiry-modal .pitch-kind-card {
    min-height: 0;
  }
}

.pitch-contact__form-head {
  margin-bottom: 1.15rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(232, 201, 120, 0.16);
}

.pitch-contact__form-head h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
}

.pitch-contact__form-head p {
  margin: 0;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pitch-contact__form {
  display: grid;
  gap: 1rem;
}

.pitch-field {
  display: grid;
  gap: 0.4rem;
}

.pitch-field__label,
.pitch-kind-picker legend {
  color: rgba(244, 234, 215, 0.82);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.pitch-field__optional {
  color: rgba(244, 234, 215, 0.45);
  font-weight: 400;
}

.pitch-field input,
.pitch-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  border-radius: 10px;
  background: rgba(12, 14, 16, 0.94);
  color: var(--cream);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pitch-field input::placeholder,
.pitch-field textarea::placeholder {
  color: rgba(244, 234, 215, 0.38);
}

.pitch-field textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.45;
}

.pitch-field input:hover,
.pitch-field textarea:hover {
  border-color: rgba(232, 201, 120, 0.38);
}

.pitch-field input:focus,
.pitch-field textarea:focus {
  outline: none;
  border-color: rgba(232, 201, 120, 0.72);
  box-shadow: 0 0 0 3px rgba(232, 201, 120, 0.14);
  background: rgba(10, 12, 14, 0.98);
}

.pitch-field--invalid input,
.pitch-field--invalid textarea,
.pitch-kind-picker--invalid .pitch-kind-card {
  border-color: rgba(255, 140, 140, 0.55);
}

.pitch-kind-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.pitch-kind-picker__grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.pitch-kind-card {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem 0.8rem;
  border: 1px solid rgba(232, 201, 120, 0.2);
  border-radius: 10px;
  background: rgba(12, 14, 16, 0.72);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pitch-kind-card:hover {
  border-color: rgba(232, 201, 120, 0.42);
  background: rgba(14, 16, 18, 0.88);
}

.pitch-kind-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pitch-kind-card__title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cream);
}

.pitch-kind-card__hint {
  color: rgba(244, 234, 215, 0.68);
  font-size: 0.82rem;
  line-height: 1.35;
}

.pitch-kind-card__badge {
  width: fit-content;
  margin-bottom: 0.15rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(232, 201, 120, 0.16);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-kind-card--accent {
  border-color: rgba(232, 201, 120, 0.34);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.1), transparent 58%),
    rgba(12, 14, 16, 0.82);
}

.pitch-kind-card:has(input:checked) {
  border-color: rgba(232, 201, 120, 0.82);
  background: rgba(232, 201, 120, 0.08);
  box-shadow: inset 0 0 0 1px rgba(232, 201, 120, 0.18);
}

.pitch-kind-card:has(input:focus-visible) {
  outline: 2px solid rgba(232, 201, 120, 0.55);
  outline-offset: 2px;
}

.pitch-field__error {
  margin: 0;
  color: #ffb4b4;
  font-size: 0.82rem;
  line-height: 1.35;
}

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

.pitch-contact__submit {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.pitch-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: var(--void);
  font: 600 0.95rem/1.2 var(--ui);
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.pitch-submit:hover {
  filter: brightness(1.06);
}

.pitch-submit:active {
  transform: translateY(1px);
}

.pitch-submit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.pitch-contact__fineprint {
  margin: 0;
  color: rgba(244, 234, 215, 0.48);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
}

.pitch-contact__success {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  padding: 0.35rem 0;
}

.pitch-contact__success-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(232, 201, 120, 0.16);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
}

.pitch-contact__success h3 {
  margin: 0;
  font-size: 1.6rem;
}

.pitch-contact__success p {
  margin: 0;
  color: rgba(244, 234, 215, 0.86);
  line-height: 1.5;
}

.pitch-footer {
  width: 100%;
  margin-top: 0;
  border-top: 1px solid rgba(232, 201, 120, 0.18);
  background: var(--void);
}

.pitch-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(8rem, 0.55fr) minmax(14rem, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: start;
  padding-block: 2.4rem 2rem;
}

.pitch-footer__brand {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
}

.pitch-footer__note {
  margin: 0;
  max-width: 28rem;
  color: rgba(244, 234, 215, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pitch-footer__label {
  margin: 0 0 0.75rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
}

.pitch-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
  align-content: start;
}

.pitch-footer__nav .pitch-footer__label {
  grid-column: 1 / -1;
}

.pitch-footer__nav a,
.pitch-footer__bar a {
  color: rgba(244, 234, 215, 0.88);
  text-decoration: none;
}

.pitch-footer__nav a:hover,
.pitch-footer__bar a:hover {
  color: var(--gold);
}

.pitch-footer__nav a:focus-visible,
.pitch-footer__bar a:focus-visible,
.pitch-footer__enter:focus-visible,
.pitch-footer__order .pitch-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.pitch-footer__order {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.pitch-footer__order .pitch-footer__label {
  margin: 0;
}

.pitch-footer__order p:not(.pitch-footer__label) {
  margin: 0;
  color: rgba(244, 234, 215, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pitch-footer__bar {
  border-top: 1px solid rgba(232, 201, 120, 0.12);
}

.pitch-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.5rem;
  padding-block: 0.95rem 1.35rem;
}

.pitch-footer__bar-inner p {
  margin: 0;
  color: rgba(244, 234, 215, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pitch-footer__enter {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin-top: 0;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.88rem;
  line-height: 1.3;
  text-decoration: none;
}

.pitch-footer__enter:hover {
  color: var(--gold);
}

.page--landing .pitch-footer__legal {
  border-top: 1px solid rgba(244, 239, 232, 0.08);
}

.page--landing .pitch-footer__legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem 1.15rem;
}

.page--landing .pitch-footer__copy {
  margin: 0;
  color: rgba(244, 239, 232, 0.48);
  font-size: 0.78rem;
  line-height: 1.45;
}

.page--landing .pitch-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.page--landing .pitch-footer__legal-links a {
  color: rgba(244, 239, 232, 0.62);
  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: none;
}

.page--landing .pitch-footer__legal-links a:hover {
  color: var(--pitch-paper);
}

.page--landing .pitch-footer__legal-links a:focus-visible {
  outline: 2px solid var(--pitch-brick);
  outline-offset: 3px;
}

.page--landing .pitch-legal {
  width: min(46rem, calc(100% - 2rem));
  margin: 1.75rem auto 2.5rem;
}

.page--landing .pitch-legal h1 {
  margin: 0.45rem 0 1.35rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.page--landing .pitch-legal__doc {
  display: grid;
  gap: 0.85rem;
}

.page--landing .pitch-legal__doc p,
.page--landing .pitch-legal__lead {
  margin: 0;
  color: rgba(244, 239, 232, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.page--landing .pitch-legal__a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

.page--landing .pitch-legal__a:hover {
  color: var(--pitch-paper);
}

.page--landing .pitch-legal__toc-title {
  margin: 0 0 0.55rem;
  color: rgba(244, 239, 232, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page--landing .pitch-legal__toc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}

.page--landing .pitch-legal__toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page--landing .pitch-legal__toc-list li + li {
  margin-top: 0.35rem;
}

.page--landing .pitch-legal__h {
  margin: 1.15rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.page--landing .pitch-legal__list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(244, 239, 232, 0.82);
  line-height: 1.55;
}

.page--landing .pitch-legal__list li + li {
  margin-top: 0.35rem;
}

.page--landing .pitch-legal__dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.page--landing .pitch-legal__dl div {
  display: grid;
  gap: 0.15rem;
}

.page--landing .pitch-legal__dl dt {
  color: rgba(244, 239, 232, 0.48);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page--landing .pitch-legal__dl dd {
  margin: 0;
  line-height: 1.45;
}

.page--landing .pitch-legal__external {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(244, 239, 232, 0.22);
  border-radius: 999px;
  color: var(--pitch-paper);
  text-decoration: none;
}

.page--landing .pitch-legal__external:hover {
  border-color: var(--pitch-brick);
  color: var(--pitch-paper);
}

@media (min-width: 720px) {
  .page--landing .pitch-legal__dl div {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: baseline;
  }
}

@media (max-width: 719px) {
  .page--landing .pitch-legal__toc-cols {
    grid-template-columns: 1fr;
  }
}

.page--landing .site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.page--landing .site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: center;
}

.pitch-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 0;
  scroll-margin-top: 5rem;
}

.pitch-demo h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.pitch-demo__copy > p {
  margin: 0;
  color: rgba(244, 234, 215, 0.84);
}

.pitch-facts {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.pitch-facts li {
  display: grid;
  gap: 0.2rem;
}

.pitch-facts strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.pitch-facts span {
  color: rgba(244, 234, 215, 0.82);
}

.pitch-stage {
  position: relative;
  border: 1px solid rgba(232, 201, 120, 0.35);
  background: #07090b;
}

.pitch-viewer {
  height: 22rem;
  background: #07090b;
}

.pitch-stage__hint {
  margin: 0;
  padding: 0.55rem 0.8rem 0.7rem;
  color: rgba(244, 234, 215, 0.72);
  font-size: 0.85rem;
}

.pitch-hotspot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--void);
  font: italic 600 1.35rem/44px var(--display);
  text-align: center;
  cursor: pointer;
}

.pitch-hotspot--task {
  font-style: normal;
}

.pitch-door {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.pitch-door .hs {
  pointer-events: none;
}

.pitch-floor {
  display: block;
  width: 240px;
  height: 240px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pitch-floor .hs {
  pointer-events: none;
}

.pitch-modal {
  width: min(24.5rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 2rem));
  margin: auto;
  padding: 1.7rem 1.45rem 1.35rem;
  overflow: auto;
  border: 1px solid rgba(232, 201, 120, 0.55);
  background:
    linear-gradient(180deg, rgba(232, 201, 120, 0.1), transparent 5.5rem),
    #0c0e10;
  color: var(--cream);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.pitch-modal[open] {
  animation: pitch-modal-in 0.28s ease;
}

.pitch-modal::backdrop {
  background: rgba(7, 9, 11, 0.74);
  backdrop-filter: blur(3px);
}

.pitch-modal__x {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.pitch-modal__x svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
}

.pitch-modal__x:hover {
  color: var(--cream);
}

.pitch-sheet {
  display: grid;
  gap: 0.55rem;
}

.pitch-sheet[hidden] {
  display: none;
}

.pitch-sheet h3 {
  margin: 0;
  max-width: 14ch;
  font-size: 2.15rem;
  line-height: 0.98;
}

.pitch-sheet__lead {
  margin: 0;
  color: rgba(244, 234, 215, 0.84);
}

.pitch-sheet textarea {
  width: 100%;
  min-height: 6.5rem;
  margin-top: 0.35rem;
  padding: 0.7rem 0.1rem;
  border: 0;
  border-bottom: 1px solid rgba(232, 201, 120, 0.45);
  background: transparent;
  color: var(--cream);
  font: 1.15rem/1.45 var(--display);
  resize: vertical;
}

.pitch-sheet textarea::placeholder {
  color: rgba(244, 234, 215, 0.38);
}

.pitch-sheet textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.pitch-sheet__go {
  min-height: 48px;
  margin-top: 0.35rem;
  border: 0;
  background: var(--gold);
  color: var(--void);
  font: 600 0.75rem/1 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.pitch-sheet__go:hover {
  filter: brightness(1.08);
}

.pitch-options {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.pitch-options label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.65rem 0.9rem 0.65rem 2.7rem;
  border: 1px solid rgba(232, 201, 120, 0.28);
  color: var(--cream);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.pitch-options label::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  transform: translateY(-50%);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.pitch-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pitch-options label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(232, 201, 120, 0.1);
}

.pitch-options label:has(input:checked)::before {
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #0c0e10;
}

.pitch-options label:has(input:focus-visible) {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.pitch-options label.is-right {
  border-color: var(--gold);
  background: rgba(232, 201, 120, 0.16);
}

.pitch-options label.is-wrong {
  border-color: #f0b4a2;
}

.pitch-sheet__status {
  min-height: 1.25em;
  margin: 0.1rem 0 0;
  color: rgba(244, 234, 215, 0.86);
}

.pitch-sheet__status:empty {
  display: none;
}

.pitch-sheet.is-ok .pitch-sheet__status {
  color: var(--gold);
}

.pitch-sheet.is-bad .pitch-sheet__status {
  color: #f0b4a2;
}

.pitch-puzzle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.55rem;
  border: 1px solid rgba(232, 201, 120, 0.22);
  background: rgba(244, 234, 215, 0.04);
  touch-action: none;
}

.pitch-puzzle button {
  aspect-ratio: 1;
  min-height: 44px;
  border: 0;
  background: linear-gradient(180deg, #f4e6c4, var(--gold));
  color: var(--void);
  font: 600 1.35rem/1 var(--display);
  cursor: pointer;
}

.pitch-puzzle button:hover {
  filter: brightness(1.06);
}

@media (pointer: coarse) {
  .pitch-puzzle button:hover {
    filter: none;
  }
}

.pitch-puzzle button.is-empty {
  background: transparent;
  border: 1px dashed rgba(232, 201, 120, 0.4);
  cursor: default;
  filter: none;
}

.pitch-cryptex {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  touch-action: none;
}

.pitch-cryptex__ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.pitch-cryptex__turn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 201, 120, 0.16);
  color: var(--gold);
  font: 600 0.8rem/1 var(--ui);
  cursor: pointer;
  touch-action: none;
}

.pitch-cryptex__window {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 2.75rem;
  height: 5.5rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.28)),
    rgba(244, 234, 215, 0.06);
  box-shadow: inset 0 0 0 1px rgba(232, 201, 120, 0.35);
}

.pitch-cryptex__side {
  color: rgba(244, 234, 215, 0.38);
  font: 600 0.75rem/1 var(--display);
}

.pitch-cryptex__current {
  color: var(--gold);
  font: 650 1.45rem/1 var(--display);
}

.pitch-sheet.is-ok .pitch-cryptex__current {
  color: #d7f5c8;
}

@keyframes pitch-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pitch-hero__copy > * {
  animation: pitch-rise 0.7s ease both;
}

.pitch-hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.pitch-hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.pitch-hero__copy > *:nth-child(4) { animation-delay: 0.24s; }

@keyframes pitch-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pitch > section {
  padding-block: 3.5rem;
}

.pitch > .pitch-hero {
  padding-top: 2.15rem;
}

.pitch-service,
.pitch-rates__grid li,
.pitch-faq__list details,
.pitch-places__grid li,
.pitch-folio__open,
.pitch-case--featured {
  transition: transform 220ms ease, border-color 220ms ease;
}

.pitch-service:hover,
.pitch-rates__grid li:hover,
.pitch-faq__list details:hover,
.pitch-places__grid li:hover,
.pitch-folio__open:hover,
.pitch-case--featured:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: no-preference) {
  .pitch > section.will-reveal {
    opacity: 0;
    transform: translateY(18px);
  }

  .pitch > section.is-in {
    animation: pitch-rise 0.72s ease both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page--landing .pitch-section.is-arriving > .pitch-section__head,
  .page--landing .pitch-section.is-arriving .pitch-folio__head,
  .page--landing .pitch-hero.is-arriving .pitch-rail__home > * {
    animation: pitch-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .page--landing .pitch-section.is-arriving .pitch-rates__grid > li,
  .page--landing .pitch-section.is-arriving .pitch-offers__grid > .pitch-service,
  .page--landing .pitch-section.is-arriving .pitch-folio__card,
  .page--landing .pitch-section.is-arriving .pitch-lanes > div,
  .page--landing .pitch-section.is-arriving .pitch-quest__grid > *,
  .page--landing .pitch-section.is-arriving .pitch-case--featured,
  .page--landing .pitch-section.is-arriving .pitch-contact__copy,
  .page--landing .pitch-section.is-arriving .pitch-contact__form-wrap {
    animation: pitch-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .page--landing .pitch-section.is-arriving .pitch-rates__grid > li:nth-child(2),
  .page--landing .pitch-section.is-arriving .pitch-offers__grid > .pitch-service:nth-child(2),
  .page--landing .pitch-section.is-arriving .pitch-folio__card:nth-child(2),
  .page--landing .pitch-section.is-arriving .pitch-lanes > div:nth-child(2),
  .page--landing .pitch-section.is-arriving .pitch-quest__grid > :nth-child(2),
  .page--landing .pitch-hero.is-arriving .pitch-rail__home > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .page--landing .pitch-section.is-arriving .pitch-rates__grid > li:nth-child(3),
  .page--landing .pitch-section.is-arriving .pitch-offers__grid > .pitch-service:nth-child(3),
  .page--landing .pitch-section.is-arriving .pitch-quest__grid > :nth-child(3),
  .page--landing .pitch-hero.is-arriving .pitch-rail__home > :nth-child(3) {
    animation-delay: 0.12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.page--landing) {
    scroll-behavior: auto;
  }

  .pitch-hero__copy > *,
  .pitch > section.is-in {
    animation: none;
  }

  .page--landing .site-nav__indicator {
    transition: none;
  }
}

.inquiry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.quest-registration {
  margin: 0.4rem 0 0;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  display: grid;
  gap: 0.7rem;
}

.quest-registration legend {
  padding: 0 0.35rem;
  font-weight: 600;
}

.player-filter {
  max-width: 22rem;
  margin-bottom: 1rem;
}

.player-list,
.player-answers,
.player-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.player-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.player-card small,
.player-answer p,
.player-log span {
  display: block;
  color: rgba(20, 18, 14, 0.62);
}

.player-card__number {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.player-answer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  background: #fff;
}

.player-answer form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.player-section-title {
  margin: 1.4rem 0 0.7rem;
  font-size: 1.05rem;
}

.player-log li {
  display: grid;
  grid-template-columns: 8.5rem 9rem 1fr;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(20, 18, 14, 0.08);
}

.player-log time {
  color: rgba(20, 18, 14, 0.55);
  font-variant-numeric: tabular-nums;
}

.inquiry-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  background: #fff;
}

.inquiry-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.inquiry-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.inquiry-card__top span,
.inquiry-card__time {
  color: var(--admin-muted, #6d675f);
  font-size: 0.85rem;
}

.inquiry-card__contact {
  margin: 0.35rem 0;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .pitch-offers__grid,
  .pitch-services__grid,
  .pitch-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pitch-places__grid li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .pitch-hero,
  .pitch-hero__side,
  .pitch-offers__grid,
  .pitch-services__grid,
  .pitch-demo,
  .pitch-story__grid,
  .pitch-quest__grid,
  .pitch-platform__grid,
  .pitch-site__grid,
  .pitch-cases__stats,
  .pitch-cases__grid,
  .pitch-maps__grid,
  .pitch-benefits__grid,
  .pitch-process__steps,
  .pitch-gallery__grid,
  .pitch-edge__grid,
  .pitch-rates__grid,
  .pitch-faq__list,
  .pitch-flow,
  .pitch-places__grid,
  .pitch-contact__grid,
  .pitch-section {
    grid-template-columns: 1fr;
    width: min(72rem, calc(100% - 2rem));
  }

  .pitch-gallery__grid {
    grid-template-rows: none;
  }

  .pitch-gallery__grid li:first-child,
  .pitch-gallery__grid li:nth-child(4),
  .pitch-gallery__plan {
    grid-row: auto;
    grid-column: auto;
  }

  .pitch-gallery__grid figure,
  .pitch-places__grid img {
    height: 14rem;
  }

  .pitch-gallery__note {
    gap: 0.4rem;
  }

  .pitch-gallery__grid,
  .pitch-flow,
  .pitch-places__grid {
    width: auto;
  }

  .pitch-section--band {
    padding-inline: 1rem;
  }

  .page--landing .site-nav__links {
    width: 100%;
  }

  .pitch-viewer {
    height: 16rem;
  }

  .pitch-case--featured {
    grid-template-columns: 1fr;
  }

  .pitch-infographic__arrow {
    display: none;
  }

  .pitch-hero h1 {
    max-width: none;
  }

  .page--landing {
    overflow-x: clip;
  }

  .page--landing .site-nav {
    padding: 0.7rem 1rem;
    padding-top: max(0.7rem, env(safe-area-inset-top));
  }

  .site-nav__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--cream);
    cursor: pointer;
  }

  .page--landing .site-nav__scrim {
    display: block;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(12, 10, 8, 0.58);
    opacity: 0;
    pointer-events: none;
  }

  .page--landing .site-nav__scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .page--landing .site-nav__links {
    display: flex;
    position: absolute;
    z-index: 6;
    top: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: min(18rem, calc(100vw - 4.5rem));
    height: 100dvh;
    margin: 0;
    padding: 1.35rem 1.2rem 1.5rem;
    overflow: auto;
    background: #161310;
    border-right: 1px solid rgba(244, 239, 232, 0.1);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  .page--landing .site-nav__links.is-open {
    transform: none;
  }

  .page--landing .site-nav__links a {
    padding: 0.75rem 0.15rem;
  }

  .page--landing .site-nav__links .pitch-nav-cta {
    margin-top: 0.55rem;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .pitch-nav-cta {
    text-align: center;
  }

  .pitch > section {
    padding-block: 2.4rem;
  }

  .pitch > .pitch-hero {
    padding-top: 1.35rem;
  }

  .pitch-hero {
    gap: 1.2rem;
    padding-top: 1.35rem;
  }

  .pitch-hero__side,
  .pitch-offers__grid,
  .pitch-services__grid,
  .pitch-story__grid,
  .pitch-quest__grid,
  .pitch-cases__stats,
  .pitch-cases__grid,
  .pitch-process__steps,
  .pitch-contact__grid,
  .pitch-footer__main {
    width: auto;
  }

  .pitch-footer__main,
  .pitch-ask {
    grid-template-columns: 1fr;
  }

  .pitch-ask {
    align-items: stretch;
  }

  .pitch-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pitch-actions .pitch-cta {
    width: 100%;
  }

  .inquiry-modal,
  .folio-dialog,
  .pitch-modal {
    width: calc(100vw - 1rem);
  }

  .inquiry-modal__fields,
  .inquiry-modal .pitch-kind-picker__grid {
    grid-template-columns: 1fr;
  }

  .folio-dialog__shots img {
    height: 12.5rem;
  }

  .pitch-folio__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pitch-flow::before,
  .pitch-process__steps::before {
    top: 1.15rem;
    bottom: 1.15rem;
    left: 1.3rem;
    right: auto;
    width: 1px;
    height: auto;
  }

  .pitch-flow li,
  .pitch-process__steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    column-gap: 0.75rem;
  }

  .pitch-flow__icon,
  .pitch-process__steps span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .pitch-quest__route::before {
    display: none;
  }

  .pitch-lanes {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 521px) and (max-width: 860px) {
  .pitch-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pitch-hero__copy > *,
  .pitch-modal[open],
  .inquiry-modal[open] {
    animation: none;
  }
}

/* —— Landing: aperture. Scoped to .page--landing, tour chrome stays on gold. —— */
.page--landing {
  --void: #14110e;
  --cream: #f4efe8;
  --gold: #e4b08a;
  --gold-dim: rgba(196, 92, 56, 0.55);
  --pitch-brick: #c45c38;
  --pitch-paper: #f3eee6;
  --pitch-ink: #1a1613;
  --display: "Unbounded", "Segoe UI", sans-serif;
  --ui: "Geologica", "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 92, 56, 0.16), transparent 46%),
    var(--void);
  color: var(--cream);
  font-family: var(--ui);
}

.page--landing .pitch {
  background-image: none;
}

.page--landing .site-nav {
  justify-content: flex-start;
  background: rgba(20, 17, 14, 0.78);
  border-bottom: 1px solid rgba(244, 239, 232, 0.08);
  backdrop-filter: blur(18px) saturate(1.15);
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
}

.page--landing .site-nav__name,
.page--landing .pitch-footer__brand {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.page--landing .site-nav__name {
  font-size: 1.02rem;
}

.page--landing .site-nav__domain,
.page--landing .pitch-footer__domain,
.page--landing .pitch-footer__domain a {
  color: var(--gold);
  letter-spacing: 0.08em;
}

html:has(.page--landing) {
  scroll-behavior: smooth;
}

@media (min-width: 861px) {
  .page--landing .site-nav__links {
    position: relative;
  }
}

.page--landing .site-nav__links {
  gap: 0.15rem 1.15rem;
  font-size: 0.92rem;
}

.page--landing .site-nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pitch-brick, #c45c38);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.page--landing .site-nav__drawer-list a.is-current {
  color: #fff8f4;
}

.page--landing .site-nav__drawer-head {
  display: none;
}

.page--landing .site-nav__drawer-list {
  display: contents;
}

.page--landing .pitch-nav-cta {
  border: 0;
  border-radius: 999px;
  background: var(--pitch-brick);
  color: #fff8f4;
  padding: 0.48rem 0.95rem;
}

.page--landing .site-nav a.pitch-nav-cta,
.page--landing .site-nav a.pitch-nav-cta:hover {
  color: #fff8f4;
  filter: brightness(1.06);
}

.page--landing .pitch-kicker,
.page--landing .pitch-footer__label {
  font-family: var(--ui);
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--gold);
}

.page--landing .pitch-hero {
  width: 100%;
  max-width: none;
  min-height: calc(100dvh - 4.25rem);
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(20rem, 36rem) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.page--landing .pitch-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.4rem, 4vw, 3.4rem);
}

.page--landing .pitch-hero h1 {
  max-width: 11ch;
  font-weight: 500;
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.page--landing .pitch-lead {
  max-width: 34rem;
  color: rgba(244, 239, 232, 0.78);
}

.page--landing .pitch-badges li {
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0 0.35rem 0.7rem;
  border-left: 2px solid var(--pitch-brick);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.84rem;
}

.page--landing .pitch-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-top: 1.5rem;
}

.page--landing .pitch-price strong {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.page--landing .pitch-hero__side {
  position: relative;
  min-height: 100%;
  display: block;
}

.page--landing .pitch-hero__preview {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page--landing .pitch-hero__preview img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.page--landing .pitch-hero__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 17, 14, 0.28), transparent 12%);
  pointer-events: none;
}

.page--landing .pitch-hero-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #100e0c;
}

.page--landing .pitch-find {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.page--landing .pitch-hero__preview.is-find .pitch-find {
  opacity: 1;
}

.page--landing .pitch-find__shade {
  fill: rgba(8, 10, 12, 0.72);
}

.page--landing .pitch-find__stroke {
  stroke: rgba(255, 248, 244, 0.92);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page--landing .pitch-find__leader {
  stroke: #fff8f4;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page--landing .pitch-find__dot {
  fill: #c45c38;
  stroke: #fff8f4;
  stroke-width: 2;
}

.page--landing .pitch-find__note {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: min(15.5rem, calc(100% - 1.5rem));
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(28, 25, 22, 0.9);
  color: #f4efe8;
  font-family: Geologica, var(--ui), sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.page--landing .pitch-find__note-title,
.page--landing .pitch-find__note-close {
  display: none;
}

.page--landing .pitch-hero__preview.is-find .pitch-find__note {
  opacity: 1;
  visibility: visible;
}

.page--landing .pitch-find-task {
  position: absolute;
  z-index: 6;
  left: 1.1rem;
  bottom: 1.1rem;
  width: min(16.5rem, calc(100% - 2.2rem));
  margin: 0;
  padding: 0.75rem 0.95rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  background: rgba(20, 17, 14, 0.78);
  color: var(--cream);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.page--landing .pitch-find-task__kicker,
.page--landing .pitch-find-task__title,
.page--landing .pitch-find-task__text,
.page--landing .pitch-find-task__status {
  margin: 0;
}

.page--landing .pitch-find-task__kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pitch-brick);
}

.page--landing .pitch-find-task__title {
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page--landing .pitch-find-task__text {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(244, 239, 232, 0.78);
}

.page--landing .pitch-find-task__status {
  margin-top: 0.55rem;
  color: #e4b08a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page--landing .pitch-find-task.is-found {
  border-color: rgba(228, 176, 138, 0.45);
}

.page--landing .pitch-find-task.is-found .pitch-find-task__text {
  display: none;
}

@media (pointer: coarse) {
  .page--landing .pitch-find__leader,
  .page--landing .pitch-find__dot {
    display: none;
  }

  .page--landing .pitch-find__note {
    top: auto;
    right: auto;
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    left: max(0.65rem, env(safe-area-inset-left, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.55rem;
    align-items: center;
    width: min(16.5rem, calc(100% - 1.3rem));
    padding: 0.65rem 0.7rem 0.7rem;
    transform: translateY(120%);
    transition:
      opacity 180ms ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .page--landing .pitch-hero__preview.is-find .pitch-find__note {
    transform: translateY(0);
    pointer-events: auto;
  }

  .page--landing .pitch-hero__preview.is-find .pitch-hero__place,
  .page--landing .pitch-hero__preview.is-find .pitch-hero__preview-hint {
    opacity: 0;
  }

  .page--landing .pitch-find__note-title {
    display: block;
    grid-column: 1;
    margin: 0;
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .page--landing .pitch-find__note > span:not(.pitch-find__note-title) {
    grid-column: 1 / -1;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .page--landing .pitch-find__note-close {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.2rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--pitch-brick, #c45c38);
    color: #fff8f4;
    font: 600 0.78rem/1 var(--ui), sans-serif;
    cursor: pointer;
  }
}

@media (max-width: 860px) {
  .page--landing .pitch-find-task {
    top: 3.25rem;
    right: auto;
    bottom: auto;
    left: 0.65rem;
    width: max-content;
    max-width: min(15.5rem, calc(100% - 1.3rem));
    padding: 0.45rem 0.7rem 0.5rem;
  }

  .page--landing .pitch-find-task__title {
    font-size: 0.98rem;
  }

  .page--landing .pitch-find-task__text {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .page--landing .pitch-find-task.is-found {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
  }

  .page--landing .pitch-find-task.is-found .pitch-find-task__kicker,
  .page--landing .pitch-find-task.is-found .pitch-find-task__text {
    display: none;
  }

  .page--landing .pitch-find-task.is-found .pitch-find-task__title,
  .page--landing .pitch-find-task.is-found .pitch-find-task__status {
    margin: 0;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--landing .pitch-find {
    transition: none;
  }
}

.page--landing .pitch-hero-viewer .psv-container {
  width: 100%;
  height: 100%;
  background: #100e0c;
}

.page--landing .pitch-hero__preview-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.15rem;
  margin: 0;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.55);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.page--landing .pitch-hero__preview.is-looking .pitch-hero__preview-hint {
  opacity: 0;
}

.page--landing .pitch-hero__preview-label {
  left: 1.1rem;
  bottom: auto;
  top: 1.1rem;
  z-index: 2;
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.55);
  color: var(--cream);
  backdrop-filter: blur(10px);
  letter-spacing: 0.08em;
}

.page--landing .pitch-hero__place {
  position: absolute;
  z-index: 2;
  right: 1.1rem;
  bottom: 1.1rem;
  width: min(17rem, calc(100% - 2.2rem));
  margin: 0;
  padding: 0.8rem 1rem 0.9rem;
  border-radius: 2px;
  border-left: 2px solid var(--pitch-brick);
  background: rgba(20, 17, 14, 0.62);
  color: var(--cream);
  backdrop-filter: blur(12px);
}

.page--landing .pitch-hero__place-kicker,
.page--landing .pitch-hero__place-title,
.page--landing .pitch-hero__place-line {
  margin: 0;
}

.page--landing .pitch-hero__place-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pitch-brick);
}

.page--landing .pitch-hero__place-title {
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page--landing .pitch-hero__place-line {
  margin-top: 0.28rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(244, 239, 232, 0.78);
}

.page--landing .pitch-modal {
  width: min(23.5rem, calc(100vw - 2rem));
  max-height: min(40rem, calc(100dvh - 2rem));
  margin: auto;
  padding: 1.35rem 1.15rem 1.15rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(28, 24, 21, 0.96);
  color: var(--cream);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.page--landing .pitch-modal::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 0.28rem;
  margin: -0.35rem auto 0.85rem;
  border-radius: 999px;
  background: rgba(244, 239, 232, 0.32);
}

.page--landing .pitch-modal[open] {
  animation: pitch-ios-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.page--landing .pitch-modal::backdrop {
  background: rgba(16, 13, 11, 0.38);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.page--landing .pitch-modal__x {
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(244, 239, 232, 0.16);
  color: var(--cream);
}

.page--landing .pitch-modal__x svg {
  display: block;
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.page--landing .pitch-modal__x:hover {
  background: rgba(244, 239, 232, 0.26);
  color: var(--cream);
}

.page--landing .pitch-modal .pitch-kicker {
  margin: 0;
  color: rgba(244, 239, 232, 0.55);
  letter-spacing: 0.14em;
}

.page--landing .pitch-modal .pitch-sheet {
  gap: 0.45rem;
}

.page--landing .pitch-modal .pitch-sheet h3 {
  max-width: none;
  padding-right: 1.6rem;
  font-family: var(--ui);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page--landing .pitch-modal .pitch-sheet__lead {
  color: rgba(244, 239, 232, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.page--landing .pitch-modal .pitch-options {
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.page--landing .pitch-modal .pitch-options label {
  min-height: 3rem;
  padding: 0.7rem 2.6rem 0.7rem 0.95rem;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
}

.page--landing .pitch-modal .pitch-options label::before {
  left: auto;
  right: 0.85rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid rgba(244, 239, 232, 0.35);
  background: transparent;
  box-shadow: none;
}

.page--landing .pitch-modal .pitch-options label:has(input:checked) {
  background: rgba(196, 92, 56, 0.22);
}

.page--landing .pitch-modal .pitch-options label:has(input:checked)::before {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.5 2.4 5.1-5.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.75rem no-repeat,
    var(--pitch-brick);
  box-shadow: none;
}

.page--landing .pitch-modal .pitch-options label.is-right {
  background: rgba(48, 209, 88, 0.16);
}

.page--landing .pitch-modal .pitch-options label.is-wrong {
  background: rgba(255, 69, 58, 0.14);
}

.page--landing .pitch-modal .pitch-sheet textarea {
  min-height: 5.5rem;
  margin-top: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font: 1rem/1.4 var(--ui);
  resize: none;
}

.page--landing .pitch-modal .pitch-sheet textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 92, 56, 0.35);
}

.page--landing .pitch-modal .pitch-sheet__go {
  min-height: 3.15rem;
  margin-top: 0.45rem;
  border-radius: 14px;
  background: var(--pitch-brick);
  color: #fff8f4;
  font: 600 1rem/1 var(--ui);
  letter-spacing: 0;
  text-transform: none;
}

.page--landing .pitch-modal .pitch-sheet__go:active {
  transform: scale(0.98);
}

.page--landing .pitch-modal .pitch-sheet__status {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
}

.page--landing .pitch-modal .pitch-sheet.is-ok .pitch-sheet__status {
  color: #7ddea4;
}

.page--landing .pitch-modal .pitch-sheet.is-bad .pitch-sheet__status {
  color: #ff8f86;
}

.page--landing .pitch-modal .pitch-puzzle {
  gap: 0.35rem;
  margin-top: 0.2rem;
  padding: 0.45rem;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  touch-action: none;
}

.page--landing .pitch-modal .pitch-puzzle button {
  min-height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
  font: 600 1.05rem/1 var(--ui);
  touch-action: none;
}

.page--landing .pitch-modal .pitch-puzzle button.is-empty {
  background: transparent;
  border: 0;
}

.page--landing .pitch-cryptex {
  margin-top: 0.35rem;
  padding: 0.55rem 0.3rem 0.45rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.page--landing .pitch-cryptex__turn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.page--landing .pitch-cryptex__turn:active {
  background: var(--pitch-brick);
  color: #fff8f4;
}

.page--landing .pitch-cryptex__window {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.35)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.page--landing .pitch-cryptex__side {
  color: rgba(244, 239, 232, 0.38);
  font-family: var(--ui);
}

.page--landing .pitch-cryptex__current {
  color: #fff8f4;
  font-family: var(--display);
}

.page--landing .pitch-sheet.is-ok .pitch-cryptex__current {
  color: #7ddea4;
}

@keyframes pitch-ios-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page--landing .pitch-aside {
  margin-top: 1.6rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.page--landing .pitch-aside h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--cream);
}

.page--landing .pitch-aside ul {
  gap: 0.85rem;
}

.page--landing .pitch-aside strong {
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 600;
}

.page--landing .pitch-aside span {
  font-size: 0.82rem;
  color: rgba(244, 239, 232, 0.68);
}

.page--landing .pitch-strip__nav {
  display: none;
}

@media (min-width: 861px) {
  .page--landing .pitch-faq__list summary {
    pointer-events: none;
    cursor: default;
  }
}

.page--landing .pitch-aside h2,
.page--landing .pitch-section__head h2,
.page--landing .pitch-quest h2,
.page--landing .pitch-contact h2,
.page--landing .pitch-demo h2,
.page--landing .pitch-ask h2,
.page--landing .pitch-faq__list summary,
.page--landing .pitch-rates__grid strong,
.page--landing .pitch-flow strong,
.page--landing .pitch-service h2,
.page--landing .pitch-places__grid strong,
.page--landing .pitch-folio__open strong,
.page--landing .folio-dialog__panel h3,
.page--landing .inquiry-modal__head h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
}

.page--landing .pitch-cta {
  border-radius: 999px;
  background: var(--pitch-brick);
  color: #fff8f4;
}

.page--landing .pitch-cta:hover {
  filter: brightness(1.08);
}

.page--landing .pitch-cta--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 232, 0.28);
}

.page--landing .pitch-cta--ghost:hover {
  background: rgba(244, 239, 232, 0.06);
}

.page--landing .pitch-gallery__grid figure,
.page--landing .pitch-folio__open,
.page--landing .pitch-places__grid li,
.page--landing .pitch-rates__grid li,
.page--landing .pitch-service,
.page--landing .pitch-offers__grid article,
.page--landing .pitch-faq__list details,
.page--landing .pitch-case--featured,
.page--landing .pitch-lanes > div,
.page--landing .pitch-quest__card,
.page--landing .pitch-stage,
.page--landing .folio-dialog__panel,
.page--landing .inquiry-modal__panel,
.page--landing .pitch-contact__form-wrap {
  border-radius: 2px;
  border-color: rgba(244, 239, 232, 0.12);
}

.page--landing .pitch-gallery__grid figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(8, 10, 12, 0.78), transparent);
  pointer-events: none;
}

.page--landing .pitch-gallery__grid figcaption {
  z-index: 1;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-shadow: none;
}

.page--landing .pitch-folio__open img,
.page--landing .pitch-places__grid img,
.page--landing .pitch-case__thumb {
  border-radius: 0;
}

.page--landing .pitch-cases {
  padding-block: 2.25rem 2.5rem;
}

.page--landing .pitch-lanes {
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.page--landing .pitch-lanes > div {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.page--landing .pitch-lanes > div.is-accent {
  border-color: rgba(228, 176, 138, 0.4);
  background: rgba(196, 92, 56, 0.18);
}

.page--landing .pitch-lanes .pitch-kicker {
  margin-bottom: 0.3rem;
  color: #e4b08a;
}

.page--landing .pitch-lanes__lead {
  margin: 0 0 0.85rem;
  color: rgba(244, 239, 232, 0.66);
  font-size: 0.92rem;
  line-height: 1.35;
}

.page--landing .pitch-lanes ul {
  gap: 0.4rem;
  margin-top: auto;
}

.page--landing .pitch-lanes li {
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  background: rgba(16, 14, 12, 0.42);
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page--landing .pitch-lanes li::before {
  content: none;
}

.page--landing .pitch-case--featured {
  grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
  gap: 1.15rem 1.35rem;
  align-items: center;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.page--landing .pitch-case--featured > div {
  padding: 0.45rem 0.85rem 0.55rem 0.15rem;
}

.page--landing .pitch-cases .pitch-case__thumb {
  border: 0;
  border-radius: 22px;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.page--landing .pitch-case--featured h3 {
  font-family: var(--ui);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.page--landing .pitch-case--featured p {
  margin-bottom: 0;
  max-width: 36rem;
}

.page--landing .pitch-case--featured .pitch-actions {
  margin-top: 1rem;
  gap: 0.55rem 0.65rem;
}

.page--landing .pitch-rates {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
  background: var(--pitch-paper);
  color: var(--pitch-ink);
}

.page--landing .pitch-rates .pitch-kicker {
  color: var(--pitch-brick);
}

.page--landing .pitch-rates h2,
.page--landing .pitch-rates .pitch-rates__grid strong {
  color: var(--pitch-ink);
}

.page--landing .pitch-rates .pitch-section__lead,
.page--landing .pitch-rates .pitch-rates__grid p {
  color: rgba(26, 22, 19, 0.72);
}

.page--landing .pitch-rates .pitch-rates__grid li {
  background: #fffdf9;
  border: 1px solid rgba(26, 22, 19, 0.08);
  box-shadow: 0 18px 40px rgba(60, 36, 18, 0.06);
}

.page--landing .pitch-rates .pitch-rates__grid li.is-accent {
  background: var(--pitch-ink);
  border-color: transparent;
}

.page--landing .pitch-rates .pitch-rates__grid li.is-accent strong,
.page--landing .pitch-rates .pitch-rates__grid li.is-accent p {
  color: var(--cream);
}

.page--landing .pitch-rates .pitch-rates__grid span {
  color: #7a3824;
}

.page--landing .pitch-rates .pitch-rates__grid em {
  color: var(--pitch-ink);
}

.page--landing .pitch-rates .pitch-rates__grid li.is-accent span,
.page--landing .pitch-rates .pitch-rates__grid li.is-accent em {
  color: #f6e7c4;
}

.page--landing .pitch-rates .pitch-rates__grid li.is-accent p {
  color: rgba(244, 239, 232, 0.74);
}

.page--landing .pitch-service--core {
  background: var(--pitch-paper);
  color: var(--pitch-ink);
  border-color: transparent;
}

.page--landing .pitch-service--core .pitch-service__tag,
.page--landing .pitch-service--core .pitch-service__price,
.page--landing .pitch-service--core h2 {
  color: var(--pitch-ink);
}

.page--landing .pitch-service--core .pitch-service__price strong {
  color: var(--pitch-brick);
}

.page--landing .pitch-service--core li {
  color: rgba(26, 22, 19, 0.78);
}

.page--landing .pitch-service--core li::before {
  background: var(--pitch-brick);
}

.page--landing .pitch-section--accent {
  background:
    linear-gradient(105deg, rgba(196, 92, 56, 0.16), transparent 42%),
    #1c1714;
  border-color: rgba(244, 239, 232, 0.08);
}

.page--landing .pitch-section--band {
  background: #100e0c;
  border-color: rgba(244, 239, 232, 0.08);
}

.page--landing .pitch-ask {
  background:
    linear-gradient(90deg, rgba(196, 92, 56, 0.2), transparent 55%),
    #1c1714;
}

.page--landing .pitch-flow::before,
.page--landing .pitch-process__steps::before {
  background: rgba(228, 176, 138, 0.35);
}

.page--landing .pitch-flow__icon svg,
.page--landing .pitch-quest__route svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.7;
}

.page--landing .pitch-quest__route .is-mark {
  fill: currentColor;
  stroke: none;
}

.page--landing .pitch-flow__icon,
.page--landing .pitch-process__steps span,
.page--landing .pitch-quest__route span {
  border-color: rgba(228, 176, 138, 0.45);
  background: #14110e;
  color: var(--gold);
}

.page--landing .pitch-quest__card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page--landing .pitch-quest__route {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.page--landing .pitch-quest__route::before {
  display: none;
}

.page--landing .pitch-quest__route li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 10.5rem;
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-align: center;
  backdrop-filter: blur(16px);
}

.page--landing .pitch-quest__route span {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 14px;
  background: var(--pitch-brick);
  color: #fff8f4;
}

.page--landing .pitch-quest__route strong {
  font-family: var(--ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page--landing .pitch-quest__route em {
  margin-top: -0.35rem;
  font-style: normal;
  font-weight: 400;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(244, 239, 232, 0.66);
}

.page--landing .pitch-quest .pitch-chips li {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.page--landing .pitch-quest__card > .pitch-kicker {
  margin: 0 0 0.75rem;
  color: var(--pitch-brick-soft, #e4b08a);
  text-align: center;
}

.page--landing .pitch-quest__route li:last-child {
  background: rgba(196, 92, 56, 0.28);
  border-color: rgba(228, 176, 138, 0.4);
}

@media (max-width: 560px) {
  .page--landing .pitch-quest__route {
    grid-template-columns: 1fr;
  }

  .page--landing .pitch-quest__route li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.1rem;
    align-items: center;
    justify-items: start;
    min-height: 0;
    text-align: left;
  }

  .page--landing .pitch-quest__route span {
    grid-row: 1 / span 2;
  }

  .page--landing .pitch-quest__route em {
    margin-top: 0;
  }
}

.page--landing .pitch-flow li.is-accent .pitch-flow__icon {
  background: var(--pitch-brick);
  border-color: var(--pitch-brick);
  color: #fff8f4;
}

.page--landing .pitch-service:hover,
.page--landing .pitch-rates__grid li:hover,
.page--landing .pitch-faq__list details:hover,
.page--landing .pitch-places__grid li:hover,
.page--landing .pitch-folio__open:hover,
.page--landing .pitch-case--featured:hover {
  transform: none;
}

.page--landing .pitch-hero__preview:hover img,
.page--landing .pitch-folio__open:hover img,
.page--landing .pitch-gallery__grid figure:hover img {
  transform: scale(1.035);
}

.page--landing .pitch-gallery__grid img,
.page--landing .pitch-folio__open img {
  transition: transform 640ms ease;
}

.page--landing .pitch-field input,
.page--landing .pitch-field textarea,
.page--landing .pitch-kind-card {
  border-radius: 2px;
  border-color: rgba(244, 239, 232, 0.16);
  background: rgba(20, 17, 14, 0.55);
}

.page--landing .pitch-field input:focus,
.page--landing .pitch-field textarea:focus {
  border-color: var(--pitch-brick);
  box-shadow: 0 0 0 3px rgba(196, 92, 56, 0.22);
}

.page--landing .pitch-submit {
  border-radius: 999px;
  background: var(--pitch-brick);
  color: #fff8f4;
}

.page--landing .pitch-footer {
  border-top-color: rgba(244, 239, 232, 0.1);
}

.page--landing .pitch-rail__title {
  margin: 0;
  max-width: 12em;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.page--landing .pitch-rail__live .pitch-lead {
  margin-top: 1rem;
}

.page--landing .pitch-rail__dock {
  display: none;
  margin-top: 1.6rem;
}

.page--landing .pitch-hero__copy.is-chapter .pitch-rail__dock {
  display: block;
}

.page--landing .pitch-rail__live.is-in {
  animation: pitch-rise 0.45s ease;
}

@media (min-width: 861px) {
  .page--landing {
    --rail-width: min(34rem, 36vw);
    --rail-top: 4.5rem;
  }

  .page--landing .pitch-hero__copy {
    position: fixed;
    z-index: 3;
    top: var(--rail-top);
    left: 0;
    justify-content: center;
    width: var(--rail-width);
    height: calc(100dvh - var(--rail-top));
    overflow: hidden;
    padding: clamp(0.7rem, 1.8dvh, 1.6rem) clamp(1.15rem, 1.5vw, 2.1rem);
    background: #14110e;
    border-right: 1px solid rgba(244, 239, 232, 0.08);
    container: rail / size;
  }

  .page--landing .pitch-rail__home,
  .page--landing .pitch-rail__live {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.35rem, 1.05dvh, 0.8rem);
    min-height: 0;
  }

  .page--landing .pitch-rail__home[hidden],
  .page--landing .pitch-rail__live[hidden] {
    display: none;
  }

  .page--landing .pitch-hero__copy .pitch-kicker,
  .page--landing .pitch-hero__copy .pitch-lead,
  .page--landing .pitch-hero__copy .pitch-badges,
  .page--landing .pitch-hero__copy .pitch-price,
  .page--landing .pitch-hero__copy .pitch-price__note,
  .page--landing .pitch-hero__copy .pitch-actions,
  .page--landing .pitch-hero__copy .pitch-aside {
    margin: 0;
  }

  .page--landing .pitch-hero__copy .pitch-badges,
  .page--landing .pitch-hero__copy .pitch-price,
  .page--landing .pitch-hero__copy .pitch-actions,
  .page--landing .pitch-hero__copy .pitch-aside {
    margin-top: clamp(0.7rem, 2.1dvh, 1.45rem);
  }

  .page--landing .pitch-hero h1 {
    font-size: clamp(1.55rem, 5.4dvh, 3.15rem);
  }

  .page--landing .pitch-hero__copy .pitch-lead {
    font-size: clamp(0.78rem, 1.7dvh, 0.98rem);
    line-height: 1.35;
  }

  .page--landing .pitch-hero__copy .pitch-badges {
    gap: 0.15rem 0.65rem;
  }

  .page--landing .pitch-hero__copy .pitch-badges li {
    padding-block: 0.12rem;
    font-size: clamp(0.72rem, 1.35dvh, 0.82rem);
  }

  .page--landing .pitch-hero__copy .pitch-price {
    font-size: clamp(0.78rem, 1.45dvh, 0.92rem);
  }

  .page--landing .pitch-hero__copy .pitch-price strong {
    font-size: clamp(1.4rem, 3.5dvh, 2.45rem);
  }

  .page--landing .pitch-hero__copy .pitch-price__note {
    font-size: clamp(0.72rem, 1.4dvh, 0.86rem);
    line-height: 1.3;
  }

  .page--landing .pitch-hero__copy .pitch-actions {
    gap: 0.45rem 0.65rem;
  }

  .page--landing .pitch-hero__copy .pitch-cta {
    min-height: 0;
    padding: 0.48rem 0.95rem;
    font-size: clamp(0.8rem, 1.5dvh, 0.92rem);
  }

  .page--landing .pitch-hero__copy .pitch-aside h2 {
    margin: clamp(0.4rem, 1dvh, 0.7rem) 0 clamp(0.65rem, 1.5dvh, 1.05rem);
    font-size: clamp(0.95rem, 2.1dvh, 1.25rem);
  }

  .page--landing .pitch-hero__copy .pitch-aside ul {
    gap: clamp(0.15rem, 0.6dvh, 0.5rem);
  }

  .page--landing .pitch-hero__copy .pitch-aside strong {
    font-size: clamp(0.76rem, 1.45dvh, 0.9rem);
  }

  .page--landing .pitch-hero__copy .pitch-aside span {
    font-size: clamp(0.68rem, 1.25dvh, 0.8rem);
    line-height: 1.25;
  }

  .page--landing .pitch-rail__title {
    font-size: clamp(1.45rem, 4.2dvh, 2.55rem);
  }

  .page--landing .pitch-rail__dock {
    margin-top: clamp(0.6rem, 1.4dvh, 1.2rem);
  }

  .page--landing .pitch-hero {
    display: block;
    min-height: calc(100dvh - var(--rail-top));
    margin-left: var(--rail-width);
    width: auto;
  }

  .page--landing .pitch-hero__side {
    min-height: calc(100dvh - var(--rail-top));
  }

  .page--landing .pitch > section:not(.pitch-hero),
  .page--landing .pitch-footer,
  .page--landing .pitch-section--band,
  .page--landing .pitch-section--band.pitch-section,
  .page--landing .pitch-section--accent,
  .page--landing .pitch-rates {
    margin-left: var(--rail-width);
    margin-right: 0;
    width: auto;
    max-width: none;
  }

  .page--landing .pitch-rates {
    padding-inline: clamp(1.5rem, 3vw, 3.5rem);
  }

  .page--landing .pitch-section__head,
  .page--landing .pitch-quest__grid > div:first-child > .pitch-kicker,
  .page--landing .pitch-quest__grid > div:first-child > h2,
  .page--landing .pitch-quest__grid > div:first-child > .pitch-section__lead,
  .page--landing .pitch-demo__copy > .pitch-kicker,
  .page--landing .pitch-demo__copy > h2,
  .page--landing .pitch-contact__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .page--landing .pitch > section {
    position: relative;
  }

  .page--landing .pitch-contact__grid {
    grid-template-columns: 1fr;
  }

  .page--landing .pitch-quest__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
  }

  .page--landing .pitch-quest__card,
  .page--landing .pitch-quest__grid > div:first-child {
    width: min(100%, 72rem);
  }

  .page--landing .pitch-quest__card {
    order: -1;
  }

  .page--landing .pitch-quest__grid > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .page--landing .pitch-quest .pitch-chips,
  .page--landing .pitch-quest .pitch-actions {
    margin: 0;
  }

  .page--landing .pitch-cases {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: stretch;
    padding-inline: clamp(1.25rem, 2vw, 2.25rem);
  }

  .page--landing .pitch-cases .pitch-lanes {
    display: contents;
  }

  .page--landing .pitch-cases .pitch-lanes > div,
  .page--landing .pitch-cases .pitch-case--featured {
    height: 100%;
    min-height: 0;
  }

  .page--landing .pitch-cases .pitch-case--featured {
    display: flex;
    flex-direction: column;
  }

  .page--landing .pitch-cases .pitch-case__thumb {
    flex: 1 1 10rem;
    width: 100%;
    height: auto;
    min-height: 10rem;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .page--landing .pitch-cases .pitch-case--featured > div {
    padding: 0.85rem 0.55rem 0.35rem;
  }
}

@container rail (max-height: 640px) {
  .pitch-price__note,
  .pitch-aside span {
    display: none;
  }
}

@media (max-width: 860px) {
  .page--landing .pitch,
  .page--landing .pitch > section,
  .page--landing .pitch-footer,
  .page--landing .pitch-footer__main,
  .page--landing .pitch-footer__bar-inner {
    min-width: 0;
    max-width: 100%;
  }

  .page--landing .pitch-quest__grid > div:first-child {
    padding-inline: 1.25rem;
  }

  .page--landing .pitch-hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page--landing .pitch-hero__copy {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }

  .page--landing .pitch-hero__side {
    min-height: 28rem;
    min-width: 0;
    max-width: 100%;
  }

  .page--landing .pitch-hero__preview {
    position: absolute;
    max-width: 100%;
  }

  .page--landing .pitch-hero h1,
  .page--landing .pitch-section__head h2,
  .page--landing .pitch-rail__title {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page--landing .pitch-hero h1 {
    font-size: clamp(1.85rem, 8.6vw, 3.2rem);
  }

  .page--landing .pitch-case--featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .page--landing .pitch-case--featured > * {
    min-width: 0;
  }

  .page--landing .pitch-kind-card,
  .page--landing .pitch-field input,
  .page--landing .pitch-field textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  .page--landing .pitch-rates__grid,
  .page--landing .pitch-offers__grid,
  .page--landing .pitch-gallery__grid,
  .page--landing .pitch-places__grid,
  .page--landing .pitch-process__steps,
  .page--landing .pitch-faq__list,
  .page--landing .pitch-flow,
  .page--landing .pitch-lanes,
  .page--landing .pitch-contact__grid,
  .page--landing .pitch-footer__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.05rem;
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
    padding-block: 1.35rem 1.15rem;
    container: footer-main / inline-size;
  }

  .page--landing .pitch-strip {
    position: relative;
    width: 100%;
  }

  .page--landing .pitch-strip__nav {
    position: absolute;
    z-index: 2;
    top: 7.25rem;
    left: 0.4rem;
    right: 0.4rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .page--landing .pitch-strip__nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(243, 238, 230, 0.28);
    border-radius: 999px;
    background: rgba(22, 19, 16, 0.72);
    color: var(--pitch-paper);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    cursor: pointer;
    pointer-events: auto;
  }

  .page--landing .pitch-strip__nav button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .page--landing .pitch-strip__nav button:hover:not(:disabled) {
    background: var(--pitch-brick);
    border-color: transparent;
    color: #fff8f4;
  }

  .page--landing .pitch-strip__nav button:disabled {
    opacity: 0.38;
    cursor: default;
  }

  .page--landing .pitch-strip__nav button:focus-visible,
  .page--landing .pitch-faq__list summary:focus-visible {
    outline: 2px solid var(--pitch-brick);
    outline-offset: 3px;
  }

  .page--landing .pitch-gallery .pitch-gallery__grid,
  .page--landing .pitch-offers .pitch-offers__grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding-block: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .page--landing .pitch-gallery .pitch-gallery__grid::-webkit-scrollbar,
  .page--landing .pitch-offers .pitch-offers__grid::-webkit-scrollbar {
    display: none;
  }

  .page--landing .pitch-gallery__grid li,
  .page--landing .pitch-offers__grid > .pitch-service {
    flex: 0 0 86%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .page--landing .pitch-gallery__grid figure,
  .page--landing .pitch-gallery__grid img {
    height: 16rem;
  }

  .page--landing .pitch-faq__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.75rem;
  }

  .page--landing .pitch-faq__list summary::after {
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: -0.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .page--landing .pitch-faq__list details[open] summary::after {
    margin-top: 0.2rem;
    transform: rotate(-135deg);
  }

  .page--landing .pitch-footer__brand-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    align-items: baseline;
  }

  .page--landing .pitch-footer__brand {
    margin: 0;
    font-size: 1.45rem;
  }

  .page--landing .pitch-footer__domain {
    margin: 0;
    font-size: 0.82rem;
  }

  .page--landing .pitch-footer__note {
    grid-column: 1 / -1;
    max-width: 36rem;
    font-size: 0.92rem;
  }

  .page--landing .pitch-footer__order {
    position: relative;
  }

  .page--landing .pitch-footer__order .pitch-footer__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .page--landing .pitch-footer__order .pitch-cta {
    width: 100%;
    min-height: 3rem;
  }

  .page--landing .pitch-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .page--landing .pitch-footer__nav .pitch-footer__label {
    flex: 1 0 100%;
    margin: 0.15rem 0 0.05rem;
  }

  .page--landing .pitch-footer__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(244, 239, 232, 0.14);
    border-radius: 999px;
    background: rgba(244, 239, 232, 0.05);
  }

  @container footer-main (max-width: 34rem) {
    .page--landing .pitch-footer__nav {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page--landing .pitch-footer__nav .pitch-footer__label {
      grid-column: 1 / -1;
    }

    .page--landing .pitch-footer__nav a {
      min-width: 0;
      padding-inline: 0.45rem;
    }
  }

  .page--landing .pitch-folio__nav {
    left: 0.4rem;
    right: 0.4rem;
  }

  .page--landing .pitch-folio__nav button,
  .page--landing .folio-dialog__stage > button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .page--landing .folio-dialog__stage > button[data-folio-shot-prev] {
    left: 0.45rem;
  }

  .page--landing .folio-dialog__stage > button[data-folio-shot-next] {
    right: 0.45rem;
  }

  .page--landing .pitch-folio__scroller {
    max-width: 100%;
  }

  .page--landing .pitch-folio__card {
    flex-basis: min(28rem, 100%);
    min-width: 0;
  }

  .page--landing .pitch-footer__bar a {
    white-space: normal;
  }

  .page--landing .pitch-footer__legal-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }

  .page--landing .pitch-footer__legal-links {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .page--landing .pitch-footer__legal-links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.82rem;
  }

  .page--landing .pitch-modal {
    width: min(23.5rem, calc(100% - 1rem));
    max-width: calc(100% - 1rem);
  }

  .page--landing .folio-dialog {
    width: min(40rem, calc(100% - 1rem));
    max-width: calc(100% - 1rem);
  }

  .page--landing .inquiry-modal {
    width: min(44rem, calc(100% - 1rem));
    max-width: calc(100% - 1rem);
  }

  .page--landing .site-nav__menu {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .page--landing .site-nav__menu[aria-expanded='true'] {
    visibility: hidden;
    pointer-events: none;
  }

  .page--landing .site-nav {
    backdrop-filter: none;
    background: rgba(12, 14, 16, 0.94);
  }

  .page--landing .site-nav__scrim {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    transition: opacity 0.34s ease;
  }

  .page--landing .site-nav__links {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    width: min(21.5rem, calc(100vw - 3.5rem));
    max-width: calc(100vw - 3.5rem);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    background: #1c1916;
    border-right: 1px solid rgba(243, 238, 230, 0.08);
    border-radius: 0 1.5rem 1.5rem 0;
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.38);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition:
      transform 0.34s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0s linear 0.34s;
  }

  .page--landing .site-nav__links.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
      transform 0.34s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0s linear 0s;
  }

  .page--landing .site-nav__drawer-head {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding:
      max(0.7rem, env(safe-area-inset-top, 0px))
      0.65rem
      0.7rem
      max(1rem, env(safe-area-inset-left, 0px));
    background: #1c1916;
    box-shadow: inset 0 -1px 0 rgba(243, 238, 230, 0.1);
  }

  .page--landing .site-nav__drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    min-height: 3rem;
    color: var(--pitch-paper);
    text-decoration: none;
  }

  .page--landing .site-nav__drawer-brand:hover,
  .page--landing .site-nav__drawer-brand:focus-visible {
    color: var(--pitch-paper);
  }

  .page--landing .site-nav__drawer-brand .site-nav__mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .page--landing .site-nav__drawer-brand .site-nav__name {
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .page--landing .site-nav__close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(243, 238, 230, 0.08);
    color: var(--pitch-paper);
    cursor: pointer;
  }

  .page--landing .site-nav__close:hover,
  .page--landing .site-nav__close:focus-visible {
    background: rgba(243, 238, 230, 0.16);
  }

  .page--landing .site-nav__close:focus-visible {
    outline: 2px solid rgba(228, 176, 138, 0.9);
    outline-offset: 2px;
  }

  .page--landing .site-nav__close svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .page--landing .site-nav__drawer-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0.35rem 0 0;
    padding: 0;
  }

  .page--landing .site-nav__drawer-list a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 3rem;
    padding: 0.85rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.85rem max(1.25rem, env(safe-area-inset-left, 0px));
    color: var(--pitch-paper);
    font-size: 1.05rem;
    line-height: 1.25;
    background-image: linear-gradient(rgba(243, 238, 230, 0.12), rgba(243, 238, 230, 0.12));
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: calc(100% - 1.25rem) 1px;
  }

  .page--landing .site-nav__drawer-list a:last-child {
    background-image: none;
  }

  .page--landing .site-nav__drawer-list a:hover,
  .page--landing .site-nav__drawer-list a:focus-visible {
    background-color: rgba(243, 238, 230, 0.07);
    color: var(--pitch-paper);
  }

  .page--landing .site-nav__drawer-list a:active {
    background-color: rgba(196, 92, 56, 0.18);
  }

  .page--landing .site-nav__drawer-list a:focus-visible {
    outline: 2px solid rgba(228, 176, 138, 0.9);
    outline-offset: -2px;
  }

  .page--landing .site-nav__links .pitch-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    align-self: stretch;
    min-height: 3rem;
    margin:
      1.15rem
      max(1.15rem, env(safe-area-inset-right, 0px))
      max(1.15rem, env(safe-area-inset-bottom, 0px))
      max(1.15rem, env(safe-area-inset-left, 0px));
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    text-align: center;
  }

  .page--landing .pitch-modal {
    width: min(23.5rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem);
    height: fit-content;
    margin: auto;
    border-radius: 28px;
  }

  .page--landing .pitch-modal::before {
    display: none;
  }

  .page--landing .pitch-case--featured > div {
    padding: 0.15rem 0.45rem 0.45rem;
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .page--landing .pitch-quest__route {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--landing .pitch-hero__preview img,
  .page--landing .pitch-folio__open img,
  .page--landing .pitch-gallery__grid img,
  .page--landing .pitch-rail__live.is-in,
  .page--landing .pitch-modal[open],
  .page--landing .site-nav__links,
  .page--landing .site-nav__scrim {
    transition: none;
    animation: none;
  }
}

/* —— Blueprint editor (префикс .blueprint-editor; не трогать .plan-editor*) —— */
.blueprint-editor {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}

.blueprint-editor__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  align-items: flex-end;
}

.blueprint-editor__header h1 {
  margin: 0 0 0.25rem;
  font: 650 1.65rem/1.2 "Literata", serif;
}

.blueprint-editor__header p {
  margin: 0;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__crumbs {
  margin: 0;
}

.blueprint-editor__crumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.blueprint-editor__crumbs-list li:not(:last-child)::after {
  content: "→";
  margin-left: 0.5rem;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__layout {
  display: grid;
  min-height: min(68vh, 48rem);
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  background: var(--admin-surface, #fff);
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.blueprint-editor__stage-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: min(68vh, 48rem);
  border-right: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
}

.blueprint-editor__commandbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  min-height: 3rem;
  padding: 0.3rem 0.55rem;
  border-bottom: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  background: rgba(255, 253, 248, 0.95);
}

.blueprint-editor__icon-button,
.blueprint-editor__text-button {
  display: inline-grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--admin-green, #304a3b);
  font-weight: 700;
  cursor: pointer;
}

.blueprint-editor__icon-button {
  font-size: 1.2rem;
}

.blueprint-editor__text-button {
  font-size: 0.78rem;
}

.blueprint-editor__icon-button:hover,
.blueprint-editor__text-button:hover {
  border-color: var(--admin-line, rgba(20, 18, 14, 0.12));
  background: rgba(48, 74, 59, 0.08);
}

.blueprint-editor__zoom {
  min-width: 3.2rem;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.blueprint-editor__commandbar-hint {
  margin: 0 0 0 0.35rem;
  color: var(--admin-muted, #6d675f);
  font-size: 0.78rem;
}

.blueprint-editor__stage {
  position: relative;
  flex: 1;
  min-height: 22rem;
  overflow: hidden;
  background: #f7f4ee;
  cursor: grab;
  touch-action: none;
}

.blueprint-editor__stage:focus-visible {
  outline: 2px solid rgba(42, 111, 151, 0.45);
  outline-offset: -2px;
}

.blueprint-editor__stage.is-panning,
.blueprint-editor__stage.is-space-pan {
  cursor: grabbing;
}

.blueprint-editor__world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(20, 18, 14, 0.05) 39px,
      rgba(20, 18, 14, 0.05) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(20, 18, 14, 0.05) 39px,
      rgba(20, 18, 14, 0.05) 40px
    );
}

.blueprint-editor__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.blueprint-editor__nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blueprint-editor__nodes--tour,
.blueprint-editor__nodes--hall {
  display: block;
}

.blueprint-editor__hall-card {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 11rem;
  padding: 0.85rem 0.95rem 0.75rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.14));
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 18, 14, 0.04);
  cursor: grab;
  user-select: none;
}

.blueprint-editor__hall-card:hover,
.blueprint-editor__hall-card:focus-visible {
  border-color: rgba(20, 18, 14, 0.35);
  outline: none;
}

.blueprint-editor__hall-card.is-selected {
  border-color: rgba(20, 18, 14, 0.55);
  box-shadow: inset 0 0 0 1px rgba(20, 18, 14, 0.2);
}

.blueprint-editor__hall-card-name {
  margin: 0;
  font: 650 1rem/1.25 "Literata", serif;
}

.blueprint-editor__hall-card-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__hall-enter {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.blueprint-editor__edge {
  stroke: rgba(20, 18, 14, 0.35);
  stroke-width: 2;
  fill: none;
}

.blueprint-editor__point-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 9.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(20, 18, 14, 0.18);
  border-radius: 0.35rem;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(20, 18, 14, 0.06);
  cursor: grab;
  user-select: none;
}

.blueprint-editor__point-card:hover,
.blueprint-editor__point-card:focus-visible {
  border-color: rgba(20, 18, 14, 0.4);
  outline: none;
}

.blueprint-editor__point-card.is-selected {
  border-color: rgba(20, 18, 14, 0.55);
  box-shadow: inset 0 0 0 1px rgba(20, 18, 14, 0.2);
}

.blueprint-editor__point-card-name {
  margin: 0;
  font: 650 0.92rem/1.25 "Literata", serif;
}

.blueprint-editor__point-badge {
  font-size: 0.72rem;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__proxy-hall {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 9rem;
  padding: 0.5rem 0.65rem;
  border: 1px dashed rgba(20, 18, 14, 0.4);
  border-radius: 0.35rem;
  background: rgba(250, 248, 242, 0.95);
  cursor: grab;
  user-select: none;
}

.blueprint-editor__proxy-hall:hover,
.blueprint-editor__proxy-hall:focus-visible {
  border-color: rgba(20, 18, 14, 0.65);
  outline: none;
}

.blueprint-editor__proxy-hall-label {
  font: 700 0.65rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__proxy-hall-name {
  margin: 0;
  font: 650 0.9rem/1.25 "Literata", serif;
}

.blueprint-editor__neighbor-edge {
  fill: none;
  stroke-width: 2.25;
}

.blueprint-editor__neighbor-edge--door {
  stroke: rgba(20, 18, 14, 0.55);
  stroke-dasharray: none;
}

.blueprint-editor__neighbor-edge--floor {
  stroke: rgba(40, 90, 140, 0.75);
  stroke-dasharray: 6 4;
}

.blueprint-editor__neighbor-caption {
  fill: rgba(20, 18, 14, 0.75);
  font: 600 0.7rem/1 "Manrope", sans-serif;
  text-anchor: middle;
  pointer-events: none;
}

.blueprint-editor__point-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blueprint-editor__point-meta {
  margin: 0;
  font-size: 0.85rem;
  word-break: break-all;
}

.blueprint-editor__point-meta .field__label {
  display: block;
  margin-bottom: 0.15rem;
}

.blueprint-editor__neighbors {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blueprint-editor__neighbor-row {
  margin: 0;
  padding: 0.65rem 0.7rem 0.75rem;
  border: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  border-radius: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blueprint-editor__neighbor-row legend {
  padding: 0 0.25rem;
  font: 700 0.7rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blueprint-editor__neighbor-angles,
.blueprint-editor__neighbor-floor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.blueprint-editor__slider input[type="range"] {
  width: 100%;
  min-height: 1.5rem;
  margin: 0;
  accent-color: #37735a;
  cursor: pointer;
}

.blueprint-editor__slider output {
  color: var(--bp-ink, #17201e);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.blueprint-editor__crumb-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.blueprint-editor__empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.85rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
}

.blueprint-editor__empty[hidden] {
  display: none;
}

.blueprint-editor__empty p {
  margin: 0;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__panel {
  min-width: 0;
  padding: 1rem 1.1rem;
  background: #faf8f2;
}

.blueprint-editor__panel h2 {
  margin: 0 0 0.5rem;
  font: 700 0.72rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--admin-muted, #6d675f);
}

.blueprint-editor__panel-hint {
  margin: 0 0 0.75rem;
  color: var(--admin-muted, #6d675f);
  font-size: 0.9rem;
}

.blueprint-editor__panel-hint[hidden] {
  display: none;
}

.blueprint-editor__panel-body:empty {
  display: none;
}

.blueprint-editor__hall-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blueprint-editor__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.blueprint-editor__panel-error {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(140, 40, 30, 0.35);
  background: rgba(180, 50, 40, 0.08);
  color: #7a2a22;
  font-size: 0.88rem;
}

.blueprint-editor__panel-error[hidden] {
  display: none;
}

/* Масштаб «Точка»: эквирект 2:1, метки info / interactive / task (без рёбер) */
.blueprint-editor__card.is-dragging {
  cursor: grabbing;
  z-index: 3;
}

.blueprint-editor__point-layer {
  position: absolute;
  left: 72px;
  top: 72px;
  z-index: 2;
  width: 80rem;
}

.blueprint-editor__point-layer[hidden] {
  display: none;
}

.blueprint-editor__pano {
  width: min(100%, 56rem);
}

.blueprint-editor__pano-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background:
    linear-gradient(135deg, rgba(30, 28, 24, 0.06), rgba(30, 28, 24, 0.14)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(20, 18, 14, 0.04) 10px,
      rgba(20, 18, 14, 0.04) 20px
    );
  border: 1px solid var(--admin-line);
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
}

.blueprint-editor__pano-frame.has-panorama {
  background: #1a1814;
}

.blueprint-editor__view-bar {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 24px);
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(20, 18, 14, 0.86);
  color: #f6f1e8;
  pointer-events: auto;
}

.blueprint-editor__view-bar[hidden] {
  display: none;
}

.blueprint-editor__view-bar p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.blueprint-editor__view-bar button {
  min-height: 1.9rem;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 0.3rem;
  background: #f4efe6;
  color: #1c1915;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.blueprint-editor__view-bar button[hidden] {
  display: none;
}

.blueprint-editor__pano-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.blueprint-editor__pano-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blueprint-editor__hotspot {
  position: absolute;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  font-size: 0.7rem;
  line-height: 1;
  color: #fff;
  display: grid;
  place-items: center;
}

.blueprint-editor__hotspot:active {
  cursor: grabbing;
}

.blueprint-editor__hotspot.is-selected {
  outline: 2px solid var(--admin-accent, #2a6f97);
  outline-offset: 2px;
  z-index: 2;
}

.blueprint-editor__hotspot--info {
  background: #3d6b4f;
}

.blueprint-editor__hotspot--nav {
  background: #d95732;
  pointer-events: none;
  cursor: default;
}

.blueprint-editor__hotspot--nav-floor {
  border-color: #d95732;
  background: rgba(217, 87, 50, 0.18);
  color: #fff;
  box-shadow:
    0 0 0 4px rgba(217, 87, 50, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.35);
}

.blueprint-editor__hotspot--interactive {
  background: #2a6f97;
}

.blueprint-editor__hotspot--task {
  background: #9a5b2e;
}

.blueprint-editor__hotspot-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blueprint-editor__artwork-form,
.blueprint-editor__info-form {
  display: grid;
  gap: 0.75rem;
}

.blueprint-editor__hotspot-picker {
  display: grid;
  gap: 0.4rem;
}

.blueprint-editor__hotspot-picker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blueprint-editor__task-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--admin-muted, #5c574e);
}

.blueprint-editor[data-scale='point'] .blueprint-editor__nodes,
.blueprint-editor[data-scale='point'] .blueprint-editor__canvas {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .blueprint-editor__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blueprint-editor__stage-panel {
    border-right: 0;
    border-bottom: 1px solid var(--admin-line, rgba(20, 18, 14, 0.12));
  }

  .blueprint-editor__stage {
    min-height: 22rem;
  }
}

/* Blueprint workspace — spatial authoring UI */
.blueprint-editor {
  --bp-ink: #17201e;
  --bp-muted: #68736f;
  --bp-canvas: #17211f;
  --bp-canvas-soft: #1e2a27;
  --bp-grid: rgba(184, 218, 197, 0.085);
  --bp-mint: #abd4bd;
  --bp-mint-strong: #37735a;
  --bp-orange: #df8b4f;
  --bp-blue: #6c9fbd;
  --bp-panel: #f8f6ef;
  width: 100%;
  max-width: none;
  gap: 1rem;
}

.blueprint-editor__header {
  align-items: center;
  gap: 1.5rem;
  padding: 0.25rem 0;
}

.blueprint-editor__heading {
  max-width: 47rem;
}

.blueprint-editor__eyebrow {
  margin-bottom: 0.45rem !important;
  color: var(--admin-accent) !important;
  font: 700 0.68rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blueprint-editor__header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.blueprint-editor__header p:last-child {
  max-width: 44rem;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.blueprint-editor__header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.blueprint-editor__overview {
  display: flex;
  min-height: 4.25rem;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
  box-shadow: 0 8px 28px rgba(26, 35, 31, 0.045);
}

.blueprint-editor__crumbs {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
}

.blueprint-editor__crumbs-list {
  gap: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.blueprint-editor__crumbs-list li {
  display: inline-flex;
  align-items: center;
}

.blueprint-editor__crumbs-list li:not(:last-child)::after {
  content: "/";
  margin: 0 0.75rem;
  color: #a7aea9;
  font-weight: 400;
}

.blueprint-editor__crumbs-list [aria-current="page"] {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
  background: var(--bp-ink);
  color: #fff;
}

.blueprint-editor__crumb-btn {
  min-height: 2rem;
  padding: 0.3rem 0.15rem;
  color: var(--bp-mint-strong);
  font-weight: 700;
  text-decoration: none;
}

.blueprint-editor__crumb-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.blueprint-editor__stats {
  display: flex;
  margin: 0;
  border-left: 1px solid var(--admin-line);
}

.blueprint-editor__stats > div {
  display: grid;
  min-width: 6.2rem;
  align-content: center;
  padding: 0.65rem 1rem;
  border-left: 1px solid var(--admin-line);
}

.blueprint-editor__stats > div:first-child {
  border-left: 0;
}

.blueprint-editor__stats dt {
  color: var(--bp-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blueprint-editor__stats dd {
  grid-row: 1;
  margin: 0 0 0.12rem;
  color: var(--bp-ink);
  font: 650 1.35rem/1 "Literata", serif;
}

.blueprint-editor__layout {
  min-height: min(72vh, 52rem);
  overflow: hidden;
  border-color: #26322f;
  border-radius: 0.7rem;
  background: var(--bp-canvas);
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  box-shadow: 0 18px 50px rgba(26, 35, 31, 0.14);
}

.blueprint-editor__stage-panel {
  min-height: min(72vh, 52rem);
  border-right-color: rgba(255, 255, 255, 0.12);
}

.blueprint-editor__commandbar {
  min-height: 3.65rem;
  flex-wrap: nowrap;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-bottom-color: rgba(255, 255, 255, 0.11);
  background: #111917;
  color: #d9e5df;
}

.blueprint-editor__toolbar-group {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.45rem;
}

.blueprint-editor__icon-button,
.blueprint-editor__text-button {
  min-height: 2.5rem;
  border-radius: 0.4rem;
  color: #dce9e2;
}

.blueprint-editor__toolbar-group .blueprint-editor__icon-button {
  border: 0;
  border-radius: 0;
}

.blueprint-editor__icon-button:hover,
.blueprint-editor__text-button:hover {
  border-color: rgba(171, 212, 189, 0.45);
  background: rgba(171, 212, 189, 0.12);
}

.blueprint-editor__zoom {
  min-width: 3.6rem;
  color: var(--bp-mint);
  font-weight: 700;
}

.blueprint-editor__toolbar-separator {
  width: 1px;
  height: 1.6rem;
  margin: 0 0.2rem;
  background: rgba(255, 255, 255, 0.13);
}

.blueprint-editor__commandbar-hint {
  overflow: hidden;
  margin-right: auto;
  color: #899b94;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blueprint-editor__commandbar-hint kbd {
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd8d2;
  font: 600 0.68rem/1 "Manrope", sans-serif;
}

.blueprint-editor__scale-badge {
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border-radius: 2rem;
  background: rgba(171, 212, 189, 0.1);
  color: var(--bp-mint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.blueprint-editor__stage {
  min-height: 29rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(83, 117, 102, 0.13), transparent 38rem),
    var(--bp-canvas);
}

.blueprint-editor__world {
  background:
    linear-gradient(var(--bp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

.blueprint-editor__world::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(171, 212, 189, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 212, 189, 0.035) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
}

.blueprint-editor__legend {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.45rem;
  background: rgba(12, 18, 16, 0.84);
  color: #a8b7b0;
  font-size: 0.65rem;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.blueprint-editor__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blueprint-editor__legend-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bp-mint-strong);
}

.blueprint-editor__legend-dot--info {
  background: #3d6b4f;
}

.blueprint-editor__legend-dot--nav {
  background: #d95732;
}

.blueprint-editor__legend-dot--interactive {
  background: var(--bp-blue);
}

.blueprint-editor__legend-dot--task {
  background: var(--bp-orange);
}

.blueprint-editor__legend-line {
  width: 1.25rem;
  height: 2px;
  background: #8ea099;
}

.blueprint-editor__legend-line--floor {
  background: repeating-linear-gradient(90deg, var(--bp-blue) 0 4px, transparent 4px 7px);
}

.blueprint-editor__hall-card {
  gap: 0.45rem;
  width: 12.5rem;
  padding: 0.8rem;
  overflow: visible;
  border: 1px solid #d9e1dc;
  border-radius: 0.55rem;
  background: #f9fbf8;
  box-shadow: 0 12px 28px rgba(3, 8, 6, 0.28);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.blueprint-editor__hall-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.28rem;
  border-radius: 0.55rem 0 0 0.55rem;
  background: var(--bp-mint-strong);
}

.blueprint-editor__hall-card:hover,
.blueprint-editor__hall-card:focus-visible {
  border-color: var(--bp-mint);
  box-shadow: 0 15px 34px rgba(3, 8, 6, 0.38);
  transform: translateY(-2px);
}

.blueprint-editor__hall-card.is-selected {
  border-color: var(--bp-mint);
  box-shadow: 0 0 0 3px rgba(171, 212, 189, 0.22), 0 18px 36px rgba(3, 8, 6, 0.38);
}

.blueprint-editor__card-topline {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blueprint-editor__node-type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #718078;
  font: 700 0.58rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blueprint-editor__node-type i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bp-mint-strong);
}

.blueprint-editor__node-port {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: -1.11rem;
  border: 2px solid var(--bp-canvas);
  border-radius: 50%;
  background: var(--bp-mint);
  box-shadow: 0 0 0 2px rgba(171, 212, 189, 0.2);
}

.blueprint-editor__hall-card-name {
  color: var(--bp-ink);
  font-size: 1.05rem;
}

.blueprint-editor__hall-card-meta {
  color: var(--bp-muted);
}

.blueprint-editor__hall-enter.admin-button {
  min-height: 2rem;
  margin-top: 0.15rem;
  padding: 0.3rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--bp-mint-strong) !important;
}

.blueprint-editor__hall-enter.admin-button:hover {
  box-shadow: none;
  transform: none;
}

.blueprint-editor__edge {
  stroke: #7e9289;
  stroke-width: 2.5;
}

.blueprint-editor__point-card {
  gap: 0.42rem;
  width: 10.5rem;
  padding: 0.68rem 0.72rem;
  border-color: #d5dfd9;
  border-radius: 0.5rem;
  background: #f9fbf8;
  box-shadow: 0 9px 24px rgba(3, 8, 6, 0.26);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.blueprint-editor__point-card:hover,
.blueprint-editor__point-card:focus-visible {
  border-color: var(--bp-mint);
  transform: translateY(-2px);
}

.blueprint-editor__point-card.is-selected {
  border-color: var(--bp-mint);
  box-shadow: 0 0 0 3px rgba(171, 212, 189, 0.22), 0 12px 28px rgba(3, 8, 6, 0.35);
}

.blueprint-editor__point-card-name {
  color: var(--bp-ink);
}

.blueprint-editor__point-card-meta {
  margin: 0;
  color: var(--bp-muted);
  font-size: 0.72rem;
}

.blueprint-editor__point-badge {
  padding: 0.16rem 0.35rem;
  border-radius: 2rem;
  background: #f4dfcd;
  color: #8b4c22;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blueprint-editor__proxy-hall {
  width: 10rem;
  padding: 0.65rem 0.7rem;
  border-color: rgba(171, 212, 189, 0.55);
  border-radius: 0.5rem;
  background: rgba(28, 40, 36, 0.94);
  color: #ecf3ef;
  box-shadow: 0 10px 24px rgba(3, 8, 6, 0.24);
}

.blueprint-editor__proxy-hall:hover,
.blueprint-editor__proxy-hall:focus-visible {
  border-color: var(--bp-mint);
}

.blueprint-editor__proxy-hall-label {
  color: #98aaa1;
}

.blueprint-editor__neighbor-edge--door {
  stroke: #91a49b;
}

.blueprint-editor__neighbor-edge--floor {
  stroke: var(--bp-blue);
}

.blueprint-editor__neighbor-caption {
  fill: #d9e5df;
}

.blueprint-editor__panel {
  max-height: min(72vh, 52rem);
  overflow-y: auto;
  padding: 0;
  background: var(--bp-panel);
  scrollbar-color: #b8bdb7 transparent;
  scrollbar-width: thin;
}

.blueprint-editor__panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(248, 246, 239, 0.96);
  backdrop-filter: blur(8px);
}

.blueprint-editor__panel-header p {
  margin: 0;
  color: var(--bp-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blueprint-editor__panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--bp-muted);
  font-size: 0.58rem;
}

.blueprint-editor__panel-status i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--bp-orange);
}

.blueprint-editor__panel > .blueprint-editor__panel-hint,
.blueprint-editor__panel > .blueprint-editor__panel-body,
.blueprint-editor__panel > .blueprint-editor__panel-error {
  margin-right: 1rem;
  margin-left: 1rem;
}

.blueprint-editor__panel-header h2 {
  margin: 0;
  color: var(--bp-ink);
  font: 650 1.05rem/1.2 "Literata", serif;
  letter-spacing: -0.02em;
  text-transform: none;
}

.blueprint-editor__panel-hint {
  position: relative;
  margin-top: 0.75rem;
  padding: 1rem 1rem 1rem 2.75rem;
  border: 1px dashed #c9cec8;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.blueprint-editor__panel-hint::before {
  content: "↖";
  position: absolute;
  left: 1rem;
  top: 0.86rem;
  color: var(--bp-mint-strong);
  font-size: 1.15rem;
}

.blueprint-editor__panel-body {
  padding-bottom: 1.2rem;
}

.blueprint-editor__point-context {
  display: grid;
  gap: 0.1rem;
  margin: 0.9rem 0 0.8rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #d8dcd6;
  border-left: 3px solid var(--bp-mint-strong);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.68);
}

.blueprint-editor__point-context > span {
  color: var(--bp-muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blueprint-editor__point-context strong {
  color: var(--bp-ink);
  font: 650 0.95rem/1.25 "Literata", serif;
}

.blueprint-editor__point-context small {
  color: var(--bp-muted);
  font-size: 0.68rem;
}

.blueprint-editor__media-link {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #e1e4de;
  color: #244d39;
  text-decoration: none;
}

.blueprint-editor__media-link > span {
  font-size: 0.74rem;
  font-weight: 800;
}

.blueprint-editor__media-link > span::after {
  content: " →";
}

.blueprint-editor__media-link small {
  color: var(--bp-muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.blueprint-editor__media-link:hover > span {
  text-decoration: underline;
}

.blueprint-editor__hotspot-picker {
  gap: 0;
}

.blueprint-editor__look[hidden] {
  display: none !important;
}

.blueprint-editor__look-preview {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.35rem 0.15rem 0.15rem;
}

.blueprint-editor__look-preview .hs__caption {
  position: static;
  max-width: 9rem;
  opacity: 1;
  transform: none;
  visibility: visible;
}

.builder-psv-marker.is-selected .hs__disc {
  box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(16, 12, 20, 0.35);
}

.blueprint-editor__look {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.7rem;
  margin: 0.2rem 0 0.85rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border: 1px solid #d8dcd6;
  border-radius: 0.7rem;
  background: #f7f6f2;
}

.blueprint-editor__look legend {
  grid-column: 1 / -1;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blueprint-editor__look .form-note,
.blueprint-editor__look .field--wide {
  grid-column: 1 / -1;
}

.blueprint-editor__look input[type="color"] {
  width: 100%;
  height: 2.4rem;
  padding: 0.2rem;
}

.blueprint-editor__mechanics-head,
.blueprint-editor__properties-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blueprint-editor__mechanics-head > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blueprint-editor__mechanics-head > div > span,
.blueprint-editor__properties-head > span {
  color: var(--bp-ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint-editor__mechanics-head > div > small {
  display: inline-grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: #e2e8e1;
  color: var(--bp-ink);
  font-size: 0.62rem;
  font-weight: 800;
}

.blueprint-editor__mechanic-add {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.85rem;
  padding: 0 0.55rem;
  border: 1px solid var(--bp-mint-strong);
  border-radius: 0.35rem;
  color: #244d39;
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: none;
}

.blueprint-editor__mechanic-add:hover {
  background: var(--admin-green-soft);
}

.blueprint-editor__mechanics-help {
  margin: 0.45rem 0 0.65rem;
  color: var(--bp-muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

.blueprint-editor__hotspot-picker-list {
  display: grid;
  max-height: 14rem;
  gap: 0.35rem;
  padding-right: 0.2rem;
  overflow-y: auto;
  scrollbar-color: #b8bdb7 transparent;
  scrollbar-width: thin;
}

.blueprint-editor__mechanic {
  display: grid;
  width: 100%;
  min-height: 3.15rem;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d7dbd5;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--bp-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.blueprint-editor__mechanic:hover {
  border-color: #9eb9aa;
  background: #fff;
  transform: translateX(2px);
}

.blueprint-editor__mechanic.is-selected {
  border-color: var(--bp-mint-strong);
  background: #edf5ee;
  box-shadow: inset 3px 0 var(--admin-green);
}

.blueprint-editor__mechanic-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 1px 5px rgba(20, 30, 24, 0.2);
  font-size: 0.68rem;
  font-weight: 850;
}

.blueprint-editor__mechanic-icon--info {
  background: #3d6b4f;
}

.blueprint-editor__mechanic-icon--interactive {
  background: var(--bp-blue);
}

.blueprint-editor__mechanic-icon--task {
  background: var(--bp-orange);
}

.blueprint-editor__mechanic-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.blueprint-editor__mechanic-copy strong {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blueprint-editor__mechanic-copy small {
  color: var(--bp-muted);
  font-size: 0.6rem;
}

.blueprint-editor__mechanic-arrow {
  color: #829087;
  font-size: 1rem;
}

.blueprint-editor__routes-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  background: #eceee9;
  color: var(--bp-muted);
  font-size: 0.66rem;
}

.blueprint-editor__routes-summary b {
  color: #d95732;
}

.blueprint-editor__routes-summary button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #345e49;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.blueprint-editor__properties-head {
  margin: 1rem 0 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--admin-line);
}

.blueprint-editor__properties-head small {
  color: var(--bp-muted);
  font-size: 0.62rem;
}

.blueprint-editor__panel .field__label {
  color: #53605a;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.blueprint-editor__panel input,
.blueprint-editor__panel select,
.blueprint-editor__panel textarea {
  border-radius: 0.4rem;
  border-color: #c9cec8;
  background: #fff;
}

.blueprint-editor__neighbor-row {
  border-color: #d4d7d1;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.62);
}

.blueprint-editor__panel-actions {
  position: sticky;
  bottom: -1px;
  z-index: 1;
  margin: 0.5rem -1rem -1.2rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--admin-line);
  background: rgba(248, 246, 239, 0.96);
  backdrop-filter: blur(8px);
}

.blueprint-editor__panel-actions:has(> span) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.blueprint-editor__panel-actions > span {
  max-width: 7rem;
  color: var(--bp-muted);
  font-size: 0.58rem;
  line-height: 1.35;
}

.blueprint-editor__pano-frame {
  border: 1px solid rgba(171, 212, 189, 0.35);
  border-radius: 0.65rem;
  box-shadow: 0 18px 45px rgba(3, 8, 6, 0.34);
}

.blueprint-editor__hotspot {
  width: 2rem;
  height: 2rem;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12), 0 3px 9px rgba(0, 0, 0, 0.45);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.blueprint-editor__hotspot:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.blueprint-editor__hotspot.is-selected {
  outline-color: var(--bp-mint);
  box-shadow: 0 0 0 6px rgba(171, 212, 189, 0.2), 0 4px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1180px) {
  .blueprint-editor__stats > div {
    min-width: 5rem;
    padding-inline: 0.7rem;
  }

  .blueprint-editor__commandbar-hint {
    display: none;
  }
}

@media (max-width: 900px) {
  .blueprint-editor__header {
    align-items: flex-start;
  }

  .blueprint-editor__header-actions {
    justify-content: flex-start;
  }

  .blueprint-editor__overview {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .blueprint-editor__stats {
    width: 100%;
    border-top: 1px solid var(--admin-line);
    border-left: 0;
  }

  .blueprint-editor__stats > div {
    min-width: 0;
    flex: 1;
  }

  .blueprint-editor__layout {
    grid-template-columns: 1fr;
  }

  .blueprint-editor__stage-panel {
    min-height: 34rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .blueprint-editor__panel {
    max-height: none;
  }
}

@media (max-width: 560px) {
  .blueprint-editor__header-actions,
  .blueprint-editor__header-actions .admin-button {
    width: 100%;
  }

  .blueprint-editor__crumbs {
    overflow-x: auto;
  }

  .blueprint-editor__stats dt {
    font-size: 0.55rem;
  }

  .blueprint-editor__commandbar {
    overflow-x: auto;
  }

  .blueprint-editor__scale-badge {
    display: none;
  }

  .blueprint-editor__legend {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
  }
}

/* Полноэкранный редактор: холст занимает всё, что осталось под шапкой */
.page--admin:has(.admin-shell--studio) {
  height: 100dvh;
  overflow: hidden;
}

.admin-shell--studio {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-rows: 3.25rem minmax(0, 1fr);
}

.admin-shell--studio .admin-topbar {
  height: 3.25rem;
  min-height: 0;
  padding-inline: 0.85rem;
}

.admin-shell--studio .admin-brand small {
  display: none;
}

.admin-shell--studio .admin-sidebar {
  top: 3.25rem;
  height: calc(100dvh - 3.25rem);
  padding: 0.45rem 0.3rem 0.55rem;
  overflow: auto;
}

.admin-shell--studio .admin-nav__label,
.admin-shell--studio .admin-nav__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.admin-shell--studio .admin-nav {
  justify-items: center;
}

.admin-shell--studio .admin-nav__item {
  justify-content: center;
  width: 100%;
  padding-inline: 0.2rem;
  border-left-width: 0;
  border-bottom: 3px solid transparent;
}

.admin-shell--studio .admin-nav__item:hover,
.admin-shell--studio .admin-nav__item.is-active {
  border-bottom-color: var(--admin-green);
  border-left-color: transparent;
}

.admin-shell--studio .admin-logout button {
  padding: 0.35rem 0.15rem;
  font-size: 0.68rem;
  text-align: center;
}

.admin-shell--studio .admin-main {
  display: flex;
  height: calc(100dvh - 3.25rem);
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.admin-shell--studio .blueprint-editor {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
}

.admin-shell--studio .blueprint-editor__header {
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(245, 241, 232, 0.96);
}

.admin-shell--studio .blueprint-editor__eyebrow {
  display: none;
}

.admin-shell--studio .blueprint-editor__header h1 {
  font-size: 1.05rem;
}

.admin-shell--studio .blueprint-editor__overview {
  flex: 0 0 auto;
  min-height: 0;
  gap: 0.75rem;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.admin-shell--studio .blueprint-editor__commandbar-hint,
.admin-shell--studio .blueprint-editor__scale-badge {
  display: none;
}

.blueprint-editor__stats-fold {
  margin-left: auto;
  align-self: center;
}

.blueprint-editor__stats-fold summary {
  padding: 0.35rem 0.7rem;
  color: var(--bp-muted, #68736f);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.blueprint-editor__stats-fold[open] {
  display: flex;
  align-items: stretch;
}

.blueprint-editor__collapse {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 0.35rem;
  background: #fffdf8;
  color: var(--admin-ink);
  font: 700 0.85rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.blueprint-editor.is-nav-collapsed .builder-navigator__head div,
.blueprint-editor.is-nav-collapsed .builder-navigator__head > a,
.blueprint-editor.is-nav-collapsed .builder-tree {
  display: none;
}

.blueprint-editor.is-nav-collapsed .builder-navigator__head {
  justify-content: center;
  padding: 0.45rem 0.25rem;
  border-bottom: 0;
}

.blueprint-editor.is-panel-collapsed .blueprint-editor__panel-header h2,
.blueprint-editor.is-panel-collapsed .blueprint-editor__panel-hint,
.blueprint-editor.is-panel-collapsed .blueprint-editor__panel-body,
.blueprint-editor.is-panel-collapsed .blueprint-editor__panel-error {
  display: none;
}

.blueprint-editor.is-panel-collapsed .blueprint-editor__panel-header {
  justify-content: center;
  min-height: 0;
  padding: 0.45rem 0.25rem;
  border-bottom: 0;
}

.admin-shell--studio .blueprint-editor__layout,
.admin-shell--studio .blueprint-editor__stage-panel {
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-shell--studio .blueprint-editor__layout {
  flex: 1 1 auto;
  border-width: 0;
  grid-template-rows: minmax(0, 1fr);
}

.admin-shell--studio .blueprint-editor__stage {
  min-height: 0;
}

.admin-shell--studio .blueprint-editor__panel {
  max-height: none;
  min-height: 0;
  overflow: auto;
}

.admin-shell--studio .plan-editor {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.admin-shell--studio .plan-editor .admin-breadcrumbs,
.admin-shell--studio .plan-editor .admin-eyebrow,
.admin-shell--studio .plan-editor__lead,
.admin-shell--studio .plan-editor__stage-hint,
.admin-shell--studio .plan-editor__draft-note {
  display: none;
}

.admin-shell--studio .plan-editor__tools,
.admin-shell--studio .plan-editor__inspector {
  min-height: 0;
}

.admin-shell--studio .plan-editor__header {
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-shell--studio .plan-editor__header h1 {
  font-size: 1.05rem;
}

.admin-shell--studio .plan-editor__commandbar {
  margin: 0;
  border-radius: 0;
}

.admin-shell--studio .plan-editor__layout {
  flex: 1 1 auto;
  min-height: 0;
  border-width: 0;
  box-shadow: none;
  grid-template-columns: 11.5rem minmax(0, 1fr) 18rem;
}

.admin-shell--studio .plan-editor.is-tools-collapsed .plan-editor__layout {
  grid-template-columns: 3.15rem minmax(0, 1fr) 18rem;
}

.admin-shell--studio .plan-editor.is-inspector-collapsed .plan-editor__layout {
  grid-template-columns: 11.5rem minmax(0, 1fr) 2.5rem;
}

.admin-shell--studio .plan-editor.is-tools-collapsed.is-inspector-collapsed .plan-editor__layout {
  grid-template-columns: 3.15rem minmax(0, 1fr) 2.5rem;
}

.admin-shell--studio .plan-editor__stage,
.admin-shell--studio .plan-editor__canvas {
  min-height: 0;
  max-height: none;
  height: 100%;
}

.admin-shell--studio .plan-editor__stage {
  padding: 0.35rem;
}

.admin-shell--studio .plan-editor__footer-actions {
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-top: 1px solid var(--admin-line);
}

.blueprint-editor__flow {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.blueprint-editor__flow li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blueprint-editor__flow li:not(:last-child)::after {
  content: "→";
  margin-left: 0.35rem;
  color: var(--admin-muted);
  font-weight: 500;
}

.blueprint-editor__flow span {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--admin-green);
  color: #fffdf8;
  font-size: 0.68rem;
}

.content-sheet__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--admin-line);
}

.content-sheet__header h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.content-sheet__header p:last-child {
  max-width: 40rem;
  margin: 0.45rem 0 0;
  color: var(--admin-muted);
}

.content-sheet__layout {
  display: grid;
  align-items: start;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
}

.content-sheet__main .form-section {
  margin-bottom: 1rem;
}

.content-sheet__side {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.content-sheet__side-label {
  margin: 0;
  color: var(--admin-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-sheet__side h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
}

.content-sheet__side > p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.88rem;
}

.content-sheet__actions {
  display: grid;
  gap: 0.45rem;
}

.content-sheet__actions .admin-button {
  width: 100%;
}

.content-sheet__fold {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.content-sheet__fold summary {
  cursor: pointer;
  font-weight: 700;
}

.content-sheet__fold .form-grid {
  margin-top: 0.9rem;
}

@media (max-width: 900px) {
  .content-sheet__header,
  .content-sheet__layout {
    display: block;
  }

  .content-sheet__header .admin-button {
    margin-top: 0.8rem;
  }

  .content-sheet__side {
    position: static;
    margin-top: 1rem;
  }
}

.editor-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
}

.editor-callout p {
  max-width: 46rem;
  margin: 0;
  color: var(--admin-muted);
}

.tour-desk__grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.tour-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.1rem 1.15rem 1rem;
  border: 1px solid var(--admin-line);
  background: linear-gradient(180deg, #fffdf8 0%, #f3eee4 100%);
  box-shadow: 0 10px 28px rgba(32, 37, 31, 0.06);
}

.tour-card.is-current {
  border-color: var(--admin-green);
  box-shadow: 8px 8px 0 var(--admin-green-soft);
}

.tour-card__head h2 {
  margin: 0.45rem 0 0;
  font-size: 1.7rem;
  font-weight: 500;
}

.tour-card__badge {
  display: inline-flex;
  min-height: 1.6rem;
  align-items: center;
  padding: 0 0.55rem;
  background: var(--admin-green);
  color: #fffdf8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-card__badge--idle {
  background: transparent;
  color: var(--admin-muted);
  border: 1px solid var(--admin-line);
}

.tour-card__code {
  margin: 0.35rem 0 0;
  color: var(--admin-accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tour-card__meta,
.tour-card__link {
  margin: 0.45rem 0 0;
  color: var(--admin-muted);
  font-size: 0.88rem;
}

.tour-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tour-card__actions form {
  margin: 0;
}

@media (max-width: 900px) {
  .page--admin:has(.admin-shell--studio) {
    height: auto;
    overflow: visible;
  }

  .admin-shell--studio {
    height: auto;
    overflow: visible;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .admin-shell--studio .admin-topbar,
  .admin-shell--studio .admin-sidebar {
    height: auto;
  }

  .admin-shell--studio .admin-nav__label,
  .admin-shell--studio .admin-nav__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .admin-shell--studio .admin-nav {
    justify-items: stretch;
  }

  .admin-shell--studio .admin-nav__item {
    justify-content: flex-start;
    border-bottom-width: 3px;
  }

  .admin-shell--studio .admin-main {
    height: auto;
    overflow: visible;
  }

  .admin-shell--studio .blueprint-editor__layout,
  .admin-shell--studio .blueprint-editor__stage-panel,
  .admin-shell--studio .blueprint-editor__stage {
    min-height: 70vh;
  }
}

/* Quest domain editor */
.blueprint-editor[data-mode="quest"] .builder-navigator {
  display: none;
}

.blueprint-editor[data-mode="quest"] .blueprint-editor__layout {
  grid-template-columns: minmax(0, 1fr) 24rem;
}

.quest-workspace__header {
  position: sticky;
  z-index: 6;
  top: 0;
  display: flex;
  min-height: 4.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(16, 20, 17, 0.94);
  backdrop-filter: blur(14px);
}

.quest-workspace__header > div:first-child {
  display: grid;
  gap: 0.12rem;
}

.quest-workspace__header h2 {
  margin: 0;
  color: #fff;
  font-family: "Literata", serif;
  font-size: 1.35rem;
}

.quest-workspace__header > div:first-child span {
  color: #8cc4ac;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quest-workspace__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.quest-workspace__toolbar select {
  min-width: 14rem;
  height: 2.1rem;
  padding-inline: 0.55rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.35rem;
  background: #232b26;
  color: #f6f0e2;
}

.quest-publish {
  border-color: #8cc4ac;
  color: #d9eee5;
  background: rgba(80, 139, 110, 0.16);
}

.quest-publish.is-published {
  border-color: #d9a451;
  color: #f3d49f;
  background: rgba(169, 114, 38, 0.14);
}

.quest-draft-note {
  flex: 1 0 100%;
  margin: 0.15rem 0 0;
  color: #f3d49f;
  font-size: 0.75rem;
  line-height: 1.35;
}

.quest-workspace__body {
  display: grid;
  min-height: calc(100% - 4.7rem);
  grid-template-columns: 13.5rem minmax(0, 1fr);
}

.quest-workspace__body[hidden] { display: none; }

.quest-workspace__rail {
  overflow: auto;
  border-right: 1px solid rgba(255,255,255,0.12);
  background: rgba(18, 23, 20, 0.78);
}

.quest-rail__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.quest-rail__tabs button {
  min-height: 2.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #91a097;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.quest-rail__tabs button.is-active {
  border-bottom-color: #8cc4ac;
  color: #fff;
}

.quest-rail__tabs small {
  margin-left: 0.2rem;
  color: #8cc4ac;
}

.quest-rail__list {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem;
}

.quest-rail__list > button {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  color: #dce5df;
  text-align: left;
  cursor: pointer;
}

.quest-rail__list > button:hover,
.quest-rail__list > button.is-selected {
  border-color: rgba(140,196,172,0.35);
  background: rgba(140,196,172,0.1);
}

.quest-rail__list > button span {
  color: #8cc4ac;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
}

.quest-rail__list > button strong { font-size: 0.75rem; }
.quest-rail__list > button small { color: #84928a; font-size: 0.62rem; }
.quest-rail__list > .quest-rail__add {
  margin-top: 0.4rem;
  border-style: dashed;
  border-color: rgba(255,255,255,0.2);
  color: #b9c6be;
  text-align: center;
}

.builder-quest__graph {
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0.85rem;
  overflow: auto;
}

.quest-graph__canvas {
  position: relative;
  margin-top: 0.8rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.8rem;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
}

.quest-graph__canvas > svg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.quest-edge {
  fill: none;
  stroke: #7fb39d;
  stroke-width: 2;
  marker-end: url(#quest-arrow);
}

.quest-edge--condition {
  stroke: #b89662;
  stroke-dasharray: 5 5;
}

.quest-edge--goto { stroke: #d98269; }
.quest-edge--transition { stroke: #5d8f73; }

.quest-node {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 10rem;
  min-height: 4.4rem;
  gap: 0.12rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.6rem;
  background: #252d28;
  color: #eef3ef;
  text-align: left;
  box-shadow: 0 10px 26px rgba(0,0,0,0.24);
  cursor: pointer;
}

.quest-node:hover,
.quest-node.is-selected {
  border-color: #8cc4ac;
  box-shadow: 0 0 0 2px rgba(140,196,172,0.2), 0 12px 28px rgba(0,0,0,0.3);
}

.quest-node small {
  overflow: hidden;
  color: #8cc4ac;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
  text-overflow: ellipsis;
}

.quest-node strong { font-size: 0.76rem; }
.quest-node span { color: #99a69e; font-size: 0.6rem; }

.quest-diagnostics {
  border: 1px solid rgba(220,126,100,0.4);
  border-radius: 0.55rem;
  background: rgba(126,52,39,0.16);
  color: #f0c4b7;
}

.quest-diagnostics--ok {
  border-color: rgba(140,196,172,0.3);
  background: rgba(65,113,91,0.13);
  color: #b9ddcd;
}

.quest-diagnostics summary {
  padding: 0.65rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.quest-diagnostics ul,
.quest-diagnostics p {
  margin: 0;
  padding: 0 0.9rem 0.8rem 1.8rem;
  font-size: 0.68rem;
}

.quest-empty {
  display: grid;
  min-height: 18rem;
  place-content: center;
  justify-items: center;
  color: #aab7af;
  text-align: center;
}

.quest-empty h3 { margin: 0; color: #fff; font-family: "Literata", serif; }
.quest-empty p { max-width: 24rem; }

.quest-form {
  display: grid;
  gap: 0.75rem;
}

.quest-form__row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quest-builder {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--admin-line);
  border-radius: 0.55rem;
  background: #f3eee4;
}

.quest-builder legend {
  padding: 0 0.35rem;
  color: var(--admin-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quest-builder__note {
  margin: 0 0 0.65rem;
  color: var(--admin-muted, #6d675f);
  font-size: 0.78rem;
  line-height: 1.4;
}

.quest-builder__row {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  grid-template-columns: minmax(6.5rem, 1fr) minmax(3rem, 0.45fr) minmax(6rem, 1fr) minmax(5rem, 0.8fr) 1.7rem;
}

.quest-builder__row select,
.quest-builder__row input {
  min-width: 0;
  height: 2rem;
  padding: 0 0.38rem;
  border: 1px solid var(--admin-line);
  background: #fffdf8;
  font: inherit;
  font-size: 0.66rem;
}

.quest-builder__row [hidden] { display: none; }

.quest-builder__row button {
  border: 0;
  border-radius: 0.3rem;
  background: #e5ded1;
  color: #8f3e34;
  cursor: pointer;
}

.quest-builder__hint {
  margin: 0;
  color: #5d564c;
  font-size: 0.68rem;
  line-height: 1.35;
}

.quest-transition {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.45rem;
  border: 1px dashed var(--admin-line);
  border-radius: 0.4rem;
  background: #fffdf8;
}

.quest-transition__line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

.quest-transition__line--target {
  grid-template-columns: 1fr 1fr 1.7rem;
}

.quest-transition select,
.quest-transition input {
  min-width: 0;
  height: 2rem;
  padding: 0 0.38rem;
  border: 1px solid var(--admin-line);
  background: #fffdf8;
  font: inherit;
  font-size: 0.66rem;
}

.quest-transition button {
  border: 0;
  border-radius: 0.3rem;
  background: #e5ded1;
  color: #8f3e34;
  cursor: pointer;
}

.quest-builder__add {
  justify-self: start;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: var(--admin-accent);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.quest-form__actions {
  position: sticky;
  z-index: 2;
  bottom: -1px;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  margin: 0 -1rem -1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--admin-line);
  background: rgba(255,253,248,0.96);
  backdrop-filter: blur(10px);
}

@media (max-width: 1100px) {
  .blueprint-editor[data-mode="quest"] .blueprint-editor__layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }
  .quest-workspace__body { grid-template-columns: 10.5rem minmax(0, 1fr); }
  .quest-workspace__toolbar select { min-width: 10rem; }
}

@media (max-width: 900px) {
  .blueprint-editor[data-mode="quest"] .blueprint-editor__layout {
    grid-template-columns: 1fr;
  }
  .quest-workspace__header { align-items: flex-start; flex-direction: column; }
  .quest-workspace__toolbar { justify-content: flex-start; }
  .quest-workspace__body { grid-template-columns: 1fr; }
  .quest-workspace__rail { max-height: 13rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .quest-form__row { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .admin-shell--studio .blueprint-editor.is-nav-collapsed:not([data-mode="quest"]) .blueprint-editor__layout {
    grid-template-columns: 2.35rem minmax(0, 1fr) 22rem;
  }

  .admin-shell--studio .blueprint-editor.is-panel-collapsed:not([data-mode="quest"]) .blueprint-editor__layout {
    grid-template-columns: 16rem minmax(0, 1fr) 2.35rem;
  }

  .admin-shell--studio .blueprint-editor.is-nav-collapsed.is-panel-collapsed:not([data-mode="quest"]) .blueprint-editor__layout {
    grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
  }

  .admin-shell--studio .blueprint-editor[data-mode="quest"].is-panel-collapsed .blueprint-editor__layout {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
  }
}

.v360-catalog__lead {
  max-width: 40rem;
  margin: -0.75rem 0 1.75rem;
  color: rgba(245, 241, 232, 0.78);
}

.v360-catalog__list {
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.v360-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.v360-card__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 45%, rgba(232, 201, 120, 0.28), transparent 46%),
    #1b1d20;
  border: 1px solid rgba(232, 201, 120, 0.22);
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.v360-card__title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.v360-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;
}

.v360-page {
  height: 100vh;
  overflow: hidden;
  background: #111;
  color: var(--cream);
  font-family: var(--ui);
}

.v360 {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.v360__bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: none;
  min-height: 3.25rem;
  padding: 0.55rem 1rem;
  background: #16181b;
  border-bottom: 1px solid rgba(232, 201, 120, 0.28);
}

.v360__back {
  flex: none;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.v360__titles {
  min-width: 0;
}

.v360__titles h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.v360__titles p {
  margin: 0.15rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  opacity: 0.8;
}

.v360__stage {
  position: relative;
  flex: 1;
  min-height: 0;
}

.v360-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.v360-admin-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--admin-line);
}

.v360-admin-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.v360-admin-card h2 a {
  color: inherit;
  text-decoration: none;
}

.v360-admin-card__meta,
.v360-admin-card__link {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0.2rem 0 0;
  color: #5d564c;
  font-size: 0.85rem;
}

.v360-access {
  margin: 0;
  padding: 0;
  border: 0;
}

.v360-access__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.v360-choice {
  position: relative;
  display: grid;
  gap: 0.28rem;
  min-height: 6.5rem;
  padding: 0.9rem 1rem 1rem 1.15rem;
  border: 1px solid var(--admin-line);
  background: #fff;
  cursor: pointer;
}

.v360-choice::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 3px;
  height: 1.1rem;
  background: transparent;
}

.v360-choice:hover {
  border-color: #b7c3b8;
  background: #fbfaf6;
}

.v360-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.v360-choice__title {
  font-family: "Literata", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--admin-ink);
}

.v360-choice__hint {
  color: var(--admin-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.v360-choice__hint code {
  font-size: 0.78rem;
}

.v360-choice:has(input:checked) {
  border-color: var(--admin-green);
  background: var(--admin-green-soft);
}

.v360-choice:has(input:checked)::before {
  background: var(--admin-green);
}

.v360-choice:has(input:focus-visible) {
  outline: 2px solid var(--admin-green);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .v360-access__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .v360__bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .v360-admin-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

