/* Location diagrams + Locations page layout (staging). Distinct from service heroes. */
.lx-scene {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  max-width: 100%;
}
.lx-scene--cyprus { min-height: 300px; }
.lx-scene--australia { min-height: 180px; }
.lx-scene--uk { min-height: 280px; }
.lx-scene--us { min-height: 240px; }
.lx-scene--ca { min-height: 200px; }
.lx-scene--city { min-height: 96px; }

.lx-scene .lx-panel {
  fill: rgba(18, 18, 26, 0.9);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.2;
}
.lx-scene .lx-panel--blue { stroke: rgba(91, 140, 255, 0.55); }
.lx-scene .lx-panel--violet { stroke: rgba(168, 85, 247, 0.55); }

.lx-scene .lx-title {
  fill: #fff;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lx-scene .lx-sub {
  fill: var(--mi-muted, #a1a1aa);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 9px;
}

.lx-scene .lx-path {
  fill: none;
  stroke: rgba(91, 140, 255, 0.42);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lx-scene .lx-path--violet { stroke: rgba(168, 85, 247, 0.45); }
.lx-scene .lx-path-glow {
  fill: none;
  stroke: rgba(91, 140, 255, 0.16);
  stroke-width: 4;
  stroke-linecap: round;
}
.lx-scene .lx-path-glow.lx-path--violet { stroke: rgba(168, 85, 247, 0.16); }

.lx-scene .lx-packet {
  fill: #fff;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(91, 140, 255, 0.9));
}
.lx-scene .lx-packet--violet {
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.9));
}
.lx-scene .lx-hit { fill: transparent; cursor: pointer; }

.lx-scene .lx-node.is-hot .lx-panel { stroke: rgba(255, 255, 255, 0.45); }
.lx-scene .lx-node.is-lit .lx-panel { stroke: rgba(91, 140, 255, 0.9); }
.lx-scene .lx-node.is-lit .lx-panel--violet { stroke: rgba(168, 85, 247, 0.95); }

.lx-scene .lx-assemble {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.lx-scene.is-ready .lx-assemble { opacity: 1; transform: none; }
.lx-scene.is-ready .lx-d1 { transition-delay: 0.05s; }
.lx-scene.is-ready .lx-d2 { transition-delay: 0.12s; }
.lx-scene.is-ready .lx-d3 { transition-delay: 0.19s; }
.lx-scene.is-ready .lx-d4 { transition-delay: 0.26s; }
.lx-scene.is-ready .lx-d5 { transition-delay: 0.33s; }
.lx-scene.is-ready .lx-d6 { transition-delay: 0.4s; }
.lx-scene.is-ready .lx-d7 { transition-delay: 0.47s; }

.lx-scene .lx-draw {
  stroke-dasharray: 8 10;
  stroke-dashoffset: 0;
}
.lx-scene.is-playing .lx-draw {
  animation: lx-dash 2.8s linear infinite;
}
@keyframes lx-dash {
  to { stroke-dashoffset: -36; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-scene .lx-assemble {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .lx-scene .lx-draw,
  .lx-scene.is-playing .lx-draw { animation: none !important; }
  .lx-scene .lx-packet { opacity: 0.55 !important; }
}

.lx-caption {
  margin: .65rem 0 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mi-dim, #71717a);
}

/* Locations page system */
.lx-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.lx-hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 960px) {
  .lx-hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .lx-hero--au .lx-hero__grid,
  .lx-hero--ca .lx-hero__grid { grid-template-columns: 1fr; }
}
.lx-hero h1 {
  font-family: var(--font-display, Inter, sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.lx-hero--au h1,
.lx-hero--us h1,
.lx-hero--ca h1 { max-width: 22ch; }
.lx-hero--uk h1 { max-width: 18ch; }
@media (min-width: 1040px) {
  .lx-city-dir--uk,
  .lx-city-dir--us,
  .lx-city-dir--ca { grid-template-columns: repeat(3, 1fr); }
}
.lx-city-hero--process .lx-hero__grid { grid-template-columns: 1fr; max-width: 48rem; }
.lx-city-hero--industry .lx-hero__grid { grid-template-columns: 1fr; }
.lx-hero .mi-lead { max-width: 40rem; color: var(--mi-muted); }
.lx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.lx-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin: 0 0 1rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mi-dim);
}
.lx-crumbs a:hover { color: #fff; }
.lx-crumbs span[aria-hidden] { opacity: .45; }

.lx-band {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.lx-band--ink {
  background: var(--mi-bg, #000);
  color: var(--mi-text, #fff);
}
.lx-band--soft {
  background: linear-gradient(180deg, #0b0b0f 0%, #101018 100%);
  border-block: 1px solid var(--mi-line);
}
.lx-band--paper {
  background: linear-gradient(180deg, #f4f4f5 0%, #e8e8ec 100%);
  color: #09090b;
}
.lx-band--paper .mi-tag { color: #52525b; }
.lx-band--paper h2,
.lx-band--paper h3 { color: #09090b; }
.lx-band--paper p,
.lx-band--paper li { color: #3f3f46; }
.lx-band--paper a { color: #1d4ed8; }
.lx-band--paper .lx-city-card {
  background: rgba(255,255,255,.72);
  border-color: rgba(9,9,11,.1);
  color: #09090b;
}
.lx-band--paper .lx-city-card p { color: #52525b; }
.lx-band--paper .lx-city-card:hover { border-color: rgba(91,140,255,.45); }

.lx-prose { max-width: 48rem; }
.lx-prose p + p { margin-top: 1rem; }
.lx-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.lx-list li {
  position: relative;
  padding-left: 1.15rem;
}
.lx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b8cff, #a855f7);
}

.lx-services {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}
.lx-services a {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--mi-line);
  font-size: .9rem;
  color: var(--mi-muted);
  background: rgba(255,255,255,.02);
}
.lx-band--paper .lx-services a {
  border-color: rgba(9,9,11,.12);
  color: #18181b;
  background: #fff;
}
.lx-services a:hover { color: inherit; border-color: rgba(91,140,255,.5); }

.lx-city-dir {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .lx-city-dir { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .lx-city-dir--4 { grid-template-columns: repeat(2, 1fr); }
  .lx-city-dir--au { grid-template-columns: repeat(3, 1fr); }
}
.lx-city-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--mi-line);
  background: rgba(18,18,26,.72);
  transition: border-color .25s ease, transform .25s ease;
}
.lx-city-card:hover { border-color: rgba(91,140,255,.45); transform: translateY(-2px); }
.lx-city-card h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-display, Inter, sans-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lx-city-card p { margin: 0; color: var(--mi-muted); font-size: .95rem; }
.lx-city-card .lx-mono {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mi-blue, #5b8cff);
}

.lx-faq details {
  border-bottom: 1px solid var(--mi-line);
  padding: 1rem 0;
}
.lx-band--paper .lx-faq details { border-bottom-color: rgba(9,9,11,.12); }
.lx-faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq details p {
  margin: .75rem 0 0;
  color: var(--mi-muted);
  max-width: 44rem;
}
.lx-band--paper .lx-faq details p { color: #52525b; }

/* City layout variants */
.lx-city-hero--editorial {
  padding-bottom: 2rem;
}
.lx-city-hero--editorial .lx-hero__grid {
  grid-template-columns: 1fr;
  max-width: 46rem;
}
.lx-city-hero--split .lx-hero__grid {
  align-items: end;
}
@media (min-width: 960px) {
  .lx-city-hero--split .lx-hero__grid { grid-template-columns: 1.1fr .9fr; }
}
.lx-city-aside {
  border: 1px solid var(--mi-line);
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(18,18,26,.65);
}
.lx-city-aside p { margin: 0; color: var(--mi-muted); font-size: .95rem; }
.lx-rail {
  border-left: 2px solid rgba(91,140,255,.45);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.lx-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .lx-steps { grid-template-columns: repeat(4, 1fr); }
}
.lx-step {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--mi-line);
  background: rgba(255,255,255,.02);
}
.lx-step strong {
  display: block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mi-blue);
  margin-bottom: .4rem;
}
.lx-step p { margin: 0; color: var(--mi-muted); font-size: .9rem; }

.lx-viz {
  margin-top: 1.25rem;
}
.lx-viz--wide { margin-top: 1.75rem; }

.mi-nav-item.has-menu { position: relative; }
.mi-nav-item.has-menu > a { display: inline-flex; align-items: center; gap: .25rem; }
.mi-mega--locations {
  display: none;
  position: absolute;
  top: calc(100% + .65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  padding: .65rem;
  border-radius: 16px;
  border: 1px solid var(--mi-line);
  background: rgba(10,10,14,.96);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  z-index: 70;
}
.mi-nav-item.has-menu:hover .mi-mega--locations,
.mi-nav-item.has-menu:focus-within .mi-mega--locations {
  display: grid;
  gap: .15rem;
}
.mi-mega--locations a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mi-muted);
}
.mi-mega--locations a:hover { background: rgba(255,255,255,.04); color: #fff; }
.mi-drawer__group {
  display: grid;
  gap: .35rem;
  padding: .5rem 0 .85rem;
  border-bottom: 1px solid var(--mi-line);
  margin-bottom: .35rem;
}
.mi-drawer__group span {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mi-dim);
}
.mi-drawer__group a { padding-left: .25rem; }
