:root {
  --ink-0: #0B0718;
  --ink-1: #140B2E;
  --panel: #1E1240;
  --violet: #7A3BFF;
  --blue: #2E8BFF;
  --pink: #FF3D8B;
  --lemon: #E8FF4D;
  --mint: #17E0B0;
  --warn: #FF9A3D;
  --text: #E6E1FF;
  --muted: #A79FC9;
  --line: #2A2350;
  --rail-w: 286px;
  --brand-h: 78px;
  --content-max: 1280px;
  --gutter: clamp(20px, 3vw, 36px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --panel-border: rgba(122, 59, 255, .35);
  --panel-border-strong: rgba(122, 59, 255, .62);
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, .38);
  --glow-violet: 0 0 24px rgba(122, 59, 255, .45);
  --glow-pink: 0 0 22px rgba(255, 61, 139, .35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--brand-h);
  padding-left: var(--rail-w);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(circle at 72% 8%, rgba(122, 59, 255, .16), transparent 34%),
    radial-gradient(circle at 18% 68%, rgba(46, 139, 255, .10), transparent 32%),
    linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 48%, var(--ink-0) 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 59, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  top: 20vh;
  right: -10vw;
  z-index: 0;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 61, 139, .10), transparent 68%);
  filter: blur(20px);
  animation: ambient-drift 22s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-6vw, 4vh, 0) scale(1.12);
  }
}

#main-content,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.15;
}

a {
  color: var(--blue);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--lemon);
}

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

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

button {
  cursor: pointer;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  color: var(--ink-0);
  background: var(--lemon);
}

:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(232, 255, 77, .16);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 5000;
  padding: 10px 16px;
  color: var(--ink-0);
  font-weight: 800;
  text-decoration: none;
  background: var(--lemon);
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4000;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink), var(--lemon));
  box-shadow: 0 0 16px rgba(122, 59, 255, .55);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
}

.brand-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  min-height: var(--brand-h);
  padding: 10px var(--gutter);
  pointer-events: auto;
  background: linear-gradient(90deg, rgba(11, 7, 24, .98), rgba(20, 11, 46, .95) 58%, rgba(11, 7, 24, .9));
  border-bottom: 1px solid var(--panel-border);
  box-shadow: 0 12px 44px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand-band::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: -1px;
  left: var(--gutter);
  height: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(232, 255, 77, .55) 0 16px, transparent 16px 32px);
  opacity: .55;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  background: linear-gradient(135deg, rgba(122, 59, 255, .24), rgba(46, 139, 255, .12));
  border: 1px solid var(--violet);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(122, 59, 255, .35), inset 0 0 12px rgba(46, 139, 255, .18);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 0 24px rgba(122, 59, 255, .45);
}

.brand-note {
  margin: 0;
  padding-left: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  border-left: 1px solid var(--line);
}

.quick-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
}

.quick-link {
  position: relative;
  padding: 8px 0;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}

.quick-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--lemon);
  box-shadow: 0 0 10px rgba(232, 255, 77, .65);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .24s var(--ease);
}

.quick-link:hover::after,
.quick-link:focus-visible::after {
  transform: scaleX(1);
}

.quick-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--line);
}

.nav-shell {
  position: fixed;
  top: var(--brand-h);
  bottom: 0;
  left: 0;
  z-index: 999;
  width: var(--rail-w);
  padding: 22px 20px 24px;
  overflow-y: auto;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(20, 11, 46, .97), rgba(11, 7, 24, .985) 72%, rgba(11, 7, 24, .94));
  border-right: 1px solid var(--panel-border);
  box-shadow: 18px 0 64px rgba(0, 0, 0, .30);
  scrollbar-width: thin;
}

.nav-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--violet), transparent 34%, var(--blue) 68%, transparent);
  opacity: .55;
}

.main-nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.nav-index {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
}

.nav-list {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  min-width: 0;
}

.nav-link {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 12px 12px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 35, 80, .55);
  transition: color .25s var(--ease), padding .25s var(--ease), background .25s var(--ease);
}

.nav-link::before {
  content: attr(data-index);
  width: 2.2em;
  color: rgba(167, 159, 201, .65);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.nav-link:hover,
.nav-link:focus-visible {
  padding-left: 8px;
  color: var(--text);
  background: linear-gradient(90deg, rgba(122, 59, 255, .12), transparent);
}

.nav-link[aria-current="page"] {
  color: var(--lemon);
}

.nav-link[aria-current="page"]::before {
  color: var(--lemon);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 3px;
  height: 22px;
  background: var(--lemon);
  box-shadow: 0 0 18px var(--lemon);
  transform: translateY(-50%);
}

.nav-mini {
  margin: auto 0 0;
  padding-top: 32px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
}

.nav-toggle {
  display: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(80px, 12vw, 160px);
  padding: clamp(48px, 7vw, 88px) 0 0;
  background: linear-gradient(180deg, rgba(20, 11, 46, .82), rgba(11, 7, 24, .98));
  border-top: 1px solid var(--panel-border);
}

.footer-shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--content-max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.footer-brand {
  min-width: 0;
}

.footer-brand-link {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-shadow: 0 0 22px rgba(122, 59, 255, .45);
}

.footer-brand-link:hover {
  color: var(--lemon);
}

.footer-kicker {
  margin: 14px 0 10px;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
}

.footer-note {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
}

.footer-group {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}

.footer-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.footer-link:hover {
  color: var(--lemon);
  border-bottom-color: rgba(232, 255, 77, .45);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-meta-item {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.footer-meta-label {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.footer-meta-value {
  color: var(--text);
}

.footer-service-note {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 30px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-link {
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 59, 255, .45);
}

.footer-legal-link:hover {
  color: var(--lemon);
  border-bottom-color: var(--lemon);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.footer-grid-line {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 24px, transparent 24px 48px);
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--content-max));
  margin-right: auto;
  margin-left: auto;
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.eyebrow,
.index-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
}

.index-label {
  color: var(--muted);
}

.display-title {
  max-width: 16ch;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-shadow: 0 0 24px rgba(122, 59, 255, .45);
}

.lede {
  max-width: 36ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.8;
}

.body-copy {
  max-width: 38em;
  line-height: 1.75;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.blueprint-grid {
  position: relative;
  background-image:
    linear-gradient(rgba(122, 59, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 18, 64, .85), rgba(11, 7, 24, .9));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(230, 225, 255, .04), var(--shadow-panel);
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 60%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(46, 139, 255, .12), transparent 64%);
}

.panel--accent {
  border-color: rgba(255, 61, 139, .52);
  box-shadow: inset 0 1px 0 rgba(255, 61, 139, .08), 0 24px 80px rgba(0, 0, 0, .38), 0 0 28px rgba(255, 61, 139, .08);
}

.panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 800;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.meta-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
}

.data-value {
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 1.08em;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  border: 1px solid rgba(255, 61, 139, .58);
  border-radius: 2px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  vertical-align: middle;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(23, 224, 176, .8);
}

.status-dot[data-state="warn"] {
  background: var(--warn);
  box-shadow: 0 0 10px rgba(255, 154, 61, .8);
}

.status-dot[data-state="idle"] {
  background: var(--muted);
  box-shadow: none;
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

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

.btn--primary {
  color: var(--ink-0);
  background: var(--lemon);
  box-shadow: 0 0 24px rgba(232, 255, 77, .25);
}

.btn--primary:hover {
  color: var(--ink-0);
  background: #f2ff7a;
  box-shadow: 0 0 34px rgba(232, 255, 77, .42);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--panel-border-strong);
}

.btn--ghost:hover {
  color: var(--lemon);
  border-color: var(--lemon);
  box-shadow: 0 0 24px rgba(232, 255, 77, .12);
}

.btn--small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.breadcrumbs {
  margin-top: 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--lemon);
}

.breadcrumb-current {
  color: var(--text);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 61, 139, .18), transparent 34%),
    linear-gradient(145deg, rgba(30, 18, 64, .95), rgba(11, 7, 24, .98));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 7, 24, .62));
  box-shadow: inset 0 0 80px rgba(46, 139, 255, .08);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 18, 64, .82), rgba(11, 7, 24, .88));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  transition: border-color .36s var(--ease), transform .36s var(--ease), box-shadow .36s var(--ease);
}

.room-card::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -20%;
  width: 70%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(122, 59, 255, .18), transparent);
  transform: rotate(14deg) translateX(-120%);
  transition: transform .6s var(--ease);
}

.room-card:hover {
  border-color: var(--pink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4), 0 0 28px rgba(255, 61, 139, .12);
  transform: translateY(-3px);
}

.room-card:hover::after {
  transform: rotate(14deg) translateX(260%);
}

.room-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.room-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.room-card-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .48s var(--ease), transform .48s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --rail-w: 250px;
  }

  .brand-note {
    display: none;
  }

  .footer-grid {
    grid-template-columns: minmax(200px, .9fr) minmax(0, 2fr);
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 0;
    padding-bottom: 84px;
    padding-left: 0;
  }

  body::after {
    width: 64vw;
    height: 64vw;
  }

  .site-header {
    position: static;
    pointer-events: auto;
  }

  .brand-band {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
    padding: 14px var(--gutter);
  }

  .brand-link {
    flex: 1 1 auto;
  }

  .quick-links {
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(42, 35, 80, .65);
  }

  .quick-divider {
    height: 14px;
  }

  .nav-shell {
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-shell::before {
    display: none;
  }

  .main-nav {
    position: fixed;
    right: 12px;
    bottom: 76px;
    left: 12px;
    z-index: 1200;
    max-height: calc(100vh - 172px);
    padding: 20px;
    overflow-y: auto;
    visibility: hidden;
    background: linear-gradient(180deg, rgba(30, 18, 64, .99), rgba(11, 7, 24, .99));
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: 0 -20px 70px rgba(0, 0, 0, .65);
    opacity: 0;
    transform: translateY(calc(100% + 92px));
    transition: transform .32s var(--ease), opacity .24s var(--ease), visibility .32s;
  }

  .site-header[data-open] .main-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-index {
    margin-bottom: 14px;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-link {
    padding: 13px 6px;
  }

  .nav-link[aria-current="page"]::after {
    top: auto;
    right: 0;
    bottom: 5px;
    left: auto;
    width: 24px;
    height: 2px;
    transform: none;
  }

  .nav-mini {
    display: none;
  }

  .nav-toggle {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1300;
    display: flex;
    gap: 12px;
    align-items: center;
    height: 52px;
    padding: 0 14px;
    color: var(--text);
    background: linear-gradient(90deg, rgba(20, 11, 46, .98), rgba(30, 18, 64, .98));
    border: 1px solid var(--violet);
    border-radius: var(--radius);
    box-shadow: 0 0 22px rgba(122, 59, 255, .28), 0 14px 44px rgba(0, 0, 0, .55);
  }

  .nav-toggle-mark {
    position: relative;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 12px;
  }

  .nav-toggle-mark::before,
  .nav-toggle-mark::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: var(--lemon);
    box-shadow: 0 0 8px rgba(232, 255, 77, .8);
    transition: transform .24s var(--ease), top .24s var(--ease), bottom .24s var(--ease);
  }

  .nav-toggle-mark::before {
    top: 2px;
  }

  .nav-toggle-mark::after {
    bottom: 2px;
  }

  .site-header[data-open] .nav-toggle-mark::before {
    top: 5px;
    transform: rotate(45deg);
  }

  .site-header[data-open] .nav-toggle-mark::after {
    bottom: 6px;
    transform: rotate(-45deg);
  }

  .nav-toggle-text {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
  }

  .nav-toggle-current {
    margin-left: auto;
    color: var(--lemon);
    font-size: 13px;
    font-weight: 700;
  }

  body[data-nav-lock] {
    overflow: hidden;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 640px) {
  .brand-glyph {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .brand-name {
    font-size: 16px;
  }

  .quick-links {
    gap: 10px;
  }

  .quick-link {
    font-size: 12px;
  }

  .quick-divider {
    height: 12px;
  }

  .footer-groups {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .footer-meta-item {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(42, 35, 80, .55);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .display-title {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .12s !important;
  }

  body::after {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .room-card:hover,
  .btn:hover {
    transform: none;
  }
}
