@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Inter:wght@100..900&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(220, 225, 255, 0.5), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef1f5 100%);
  color: #191c1e;
  overflow-x: hidden;
}

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

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(188, 0, 12, 0.14);
}

:where(p, h1, h2, h3, h4, h5, h6, li, a, button, span) {
  overflow-wrap: anywhere;
}

body,
body main,
body .site-nav,
body .site-footer,
body .route-preview-topbar,
body .hub-topbar {
  will-change: opacity, transform, filter;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-language-transitioning main,
body.is-language-transitioning .site-nav,
body.is-language-transitioning .site-footer,
body.is-language-transitioning .route-preview-topbar,
body.is-language-transitioning .hub-topbar {
  opacity: 0.88;
  transform: translateY(1px);
  filter: blur(2px) saturate(0.98);
}

.site-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  min-height: 2.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 32, 104, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 32, 104, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  opacity: 1;
  visibility: visible;
  will-change: transform, filter, opacity;
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-lang-toggle:hover {
  background: rgba(0, 32, 104, 0.98);
  box-shadow: 0 22px 46px rgba(0, 32, 104, 0.24);
}

.site-lang-toggle:focus-visible {
  outline: 2px solid rgba(188, 0, 12, 0.38);
  outline-offset: 3px;
}

.site-language-curtain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.004);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.045) 24%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.02) 0%, rgba(247, 249, 252, 0.085) 50%, rgba(247, 249, 252, 0.03) 100%);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  will-change: opacity, transform, backdrop-filter;
}

.site-language-curtain::before,
.site-language-curtain::after {
  content: "";
  position: absolute;
  inset: -12% -22%;
  opacity: 0;
  will-change: transform, opacity;
}

.site-language-curtain::before {
  background:
    linear-gradient(90deg, rgba(0, 32, 104, 0) 0%, rgba(0, 32, 104, 0.04) 20%, rgba(0, 32, 104, 0.26) 42%, rgba(188, 0, 12, 0.16) 68%, rgba(188, 0, 12, 0) 100%);
  filter: blur(14px);
  transform: translate3d(-124%, 0, 0) skewX(-14deg) scaleX(0.94);
}

.site-language-curtain::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.14) 70%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
  filter: blur(6px);
  transform: translate3d(-132%, 0, 0) skewX(-18deg) scaleX(0.9);
}

.site-language-curtain.is-active {
  animation: muvaLanguageCurtainBloom 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-language-curtain.is-active::before,
.site-language-curtain.is-active::after {
  animation-duration: 820ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.site-language-curtain.is-active::before {
  animation-name: muvaLanguageCurtainSweep;
}

.site-language-curtain.is-active::after {
  animation-name: muvaLanguageCurtainSheen;
}

@keyframes muvaLangTogglePulse {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 18px 40px rgba(0, 32, 104, 0.22);
  }

  34% {
    transform: translateY(2px) scale(0.92) rotate(-5deg);
    box-shadow: 0 10px 22px rgba(0, 32, 104, 0.16);
  }

  62% {
    transform: translateY(-1px) scale(1.04) rotate(2deg);
    box-shadow: 0 22px 42px rgba(188, 0, 12, 0.16);
  }

  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 18px 40px rgba(0, 32, 104, 0.22);
  }
}

@keyframes muvaLanguageCurtainBloom {
  0% {
    opacity: 0;
    transform: scale(1.01);
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
  }

  20% {
    opacity: 0.58;
  }

  48% {
    opacity: 0.86;
    transform: scale(1);
    backdrop-filter: blur(7px) saturate(1.03);
    -webkit-backdrop-filter: blur(7px) saturate(1.03);
  }

  100% {
    opacity: 0;
    transform: scale(0.9985);
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
  }
}

@keyframes muvaLanguageCurtainSweep {
  0% {
    opacity: 0;
    transform: translate3d(-124%, 0, 0) skewX(-14deg) scaleX(0.94);
  }

  18% {
    opacity: 0.84;
  }

  52% {
    opacity: 1;
    transform: translate3d(0%, 0, 0) skewX(-10deg) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(122%, 0, 0) skewX(-6deg) scaleX(0.96);
  }
}

@keyframes muvaLanguageCurtainSheen {
  0% {
    opacity: 0;
    transform: translate3d(-132%, 0, 0) skewX(-18deg) scaleX(0.9);
  }

  26% {
    opacity: 0.82;
  }

  54% {
    opacity: 0.92;
    transform: translate3d(6%, 0, 0) skewX(-10deg) scaleX(1.02);
  }

  100% {
    opacity: 0;
    transform: translate3d(128%, 0, 0) skewX(-6deg) scaleX(0.95);
  }
}

.site-lang-toggle.is-animating {
  animation: muvaLangTogglePulse 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion-ready .muva-editorial-page [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 780ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--muva-motion-delay, 0ms);
  animation: none !important;
}

.js-motion-ready .muva-editorial-page [data-reveal="soft"] {
  transform: translateY(16px);
  filter: blur(4px);
}

.js-motion-ready .muva-editorial-page [data-reveal="zoom"] {
  transform: translateY(18px) scale(0.97);
}

.js-motion-ready .muva-editorial-page [data-reveal="nav"] {
  transform: translateY(-12px);
  filter: blur(4px);
}

.js-motion-ready .muva-editorial-page [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.js-motion-ready .muva-editorial-page .motion-list > * {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--muva-item-index, 0) * 42ms);
}

.js-motion-ready .muva-editorial-page .motion-list.is-visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes muvaPageFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes muvaPageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

::selection {
  background: rgba(188, 0, 12, 0.18);
  color: #002068;
}

.muva-editorial-page main > section,
.muva-editorial-page main > header,
.muva-editorial-page main > div {
  position: relative;
  opacity: 0;
  animation: muvaPageFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.muva-editorial-page main > :is(section, header, div):nth-child(1) {
  animation-delay: 0.08s;
}

.muva-editorial-page main > :is(section, header, div):nth-child(2) {
  animation-delay: 0.18s;
}

.muva-editorial-page main > :is(section, header, div):nth-child(3) {
  animation-delay: 0.28s;
}

.muva-editorial-page main > :is(section, header, div):nth-child(4) {
  animation-delay: 0.38s;
}

.muva-editorial-page main > :is(section, header, div):nth-child(5) {
  animation-delay: 0.48s;
}

.muva-editorial-page .route-detail-shell > div:first-child,
.muva-editorial-page .route-detail-shell > section,
.muva-editorial-page .route-preview-topbar,
.muva-editorial-page .route-preview-shell > section,
.muva-editorial-page .site-nav,
.muva-editorial-page .site-footer {
  opacity: 0;
  animation: muvaPageFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.muva-editorial-page .site-nav,
.muva-editorial-page .route-preview-topbar {
  animation-name: muvaPageFadeIn;
  animation-duration: 0.6s;
  animation-delay: 0s;
}

.muva-editorial-page .route-detail-shell > div:first-child {
  animation-delay: 0.06s;
}

.muva-editorial-page .route-detail-shell > section,
.muva-editorial-page .route-preview-shell > section {
  animation-delay: 0.14s;
}

.muva-editorial-page .site-footer {
  animation-delay: 0.2s;
}

.muva-editorial-page :is(button, a, [role="button"]) {
  -webkit-tap-highlight-color: transparent;
}

.muva-editorial-page :is(button, a[class*="bg-"], [role="button"]) {
  transition-property: transform, box-shadow, background-color, color, border-color, opacity, filter;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.muva-editorial-page :is(button, a[class*="bg-"], [role="button"]):active {
  transform: translateY(1px) scale(0.985);
}

.muva-editorial-page :is(.route-detail-card, .hub-card, .hub-feature-card, [data-hub-item], [data-event-list] article, [data-fleet-overview-grid] article, [data-acknowledgements-list] > div, .bg-surface-container-lowest.shadow-sm) {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 260ms ease,
    border-color 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .muva-editorial-page :is(.hub-card, .hub-feature-card, [data-event-list] article, [data-fleet-overview-grid] article, [data-acknowledgements-list] > div):hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  }

  .muva-editorial-page :is(.hub-card, .hub-feature-card, [data-event-list] article, [data-fleet-overview-grid] article):hover img {
    transform: scale(1.045);
  }
}

.muva-editorial-page img {
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    filter 360ms ease;
}

.muva-editorial-page .glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(25, 28, 30, 0.08);
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(25, 28, 30, 0.05);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav__brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex: none;
}

.site-nav__brand-text {
  line-height: 1;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__link {
  color: #475569;
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 0 transparent;
  padding: 0.55rem 0.75rem;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: #bc000c;
  box-shadow: inset 0 -2px 0 rgba(188, 0, 12, 0.55);
  background: rgba(255, 255, 255, 0.55);
  outline: none;
}

.site-nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__button {
  border: 0;
  border-radius: 0.75rem;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.site-nav__button:hover,
.site-nav__button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.site-nav__button--ghost {
  background: transparent;
  color: #002068;
}

.site-nav__button--ghost:hover,
.site-nav__button--ghost:focus-visible {
  background: rgba(226, 232, 240, 0.5);
}

.site-nav__button--primary {
  background: linear-gradient(135deg, #002068, #003399);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 32, 104, 0.18);
}

.site-nav__button--primary:hover,
.site-nav__button--primary:focus-visible {
  background: linear-gradient(135deg, #0b318f, #3557bc);
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  color: #002068;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(25, 28, 30, 0.08);
}

.site-nav__mobile {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.5rem 1.25rem;
}

.site-nav__mobile[hidden] {
  display: none;
}

.site-nav__mobile-links,
.site-nav__mobile-actions {
  display: grid;
  gap: 0.6rem;
}

.site-nav__mobile .site-nav__link {
  width: fit-content;
}

.site-footer {
  margin-top: 4rem;
  background:
    radial-gradient(circle at top left, rgba(220, 225, 255, 0.55), transparent 32%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.95), rgba(236, 238, 241, 0.9));
}

.site-footer__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-footer__brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  flex: none;
}

.site-footer__brand-text {
  line-height: 1;
}

.site-footer__copy {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 42rem;
}

.site-footer__copyright {
  margin-top: 0.9rem;
  max-width: 52rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.7;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer__community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 13.5rem));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.site-footer__link {
  color: #475569;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__community-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.5rem;
  border: 1px solid rgba(0, 32, 104, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.8rem 0.95rem;
  color: #002068;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.site-footer__community-card:hover,
.site-footer__community-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(188, 0, 12, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  outline: none;
}

.site-footer__community-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: none;
  border-radius: 0.85rem;
  background: rgba(0, 32, 104, 0.08);
  color: #002068;
}

.site-footer__community-icon--discord {
  background: rgba(88, 101, 242, 0.12);
}

.site-footer__community-icon img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.site-footer__community-icon .material-symbols-outlined {
  font-size: 1.45rem;
}

.site-footer__community-title,
.site-footer__community-copy {
  display: block;
}

.site-footer__community-title {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer__community-copy {
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #bc000c;
  outline: none;
}

.site-footer__bottom {
  margin-top: 1.75rem;
  color: #94a3b8;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.is-hidden-by-search {
  display: none !important;
}

[data-search-item],
[data-link],
[data-action],
[data-modal-title] {
  cursor: pointer;
}

[data-link]:not(button):not(a)::after,
[data-search-item]:not(button):not(a)::after {
  pointer-events: none;
}

body[data-page="apply"] .text-on-surface-variant,
body[data-page="hubs"] .text-on-surface-variant,
body[data-page="routes"] .text-on-surface-variant,
body[data-page="rank"] .text-on-surface-variant {
  color: #334155;
}

body[data-page="apply"] .text-outline,
body[data-page="hubs"] .text-outline,
body[data-page="routes"] .text-outline,
body[data-page="rank"] .text-outline {
  color: #64748b;
}

.route-detail-card,
.rank-card,
.routes-toolbar,
.site-modal__panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.is-interactive-card:focus-visible,
[data-search-item]:focus-visible {
  outline: 2px solid rgba(53, 87, 188, 0.45);
  outline-offset: 4px;
}

.is-route-highlight {
  box-shadow: inset 0 0 0 2px rgba(188, 0, 12, 0.55);
  background: rgba(255, 218, 213, 0.35);
}

body[data-page="routes"] [data-route-list] > [data-route-id] {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    box-shadow 220ms ease;
}

body[data-page="routes"] [data-route-list] > [data-route-id].is-route-highlight {
  transform: translateX(2px);
  box-shadow:
    inset 0 0 0 2px rgba(188, 0, 12, 0.55),
    0 12px 30px rgba(188, 0, 12, 0.08);
}

.route-table-row {
  display: grid;
  grid-template-columns:
    minmax(5.5rem, 0.75fr)
    minmax(8rem, 1.05fr)
    minmax(8rem, 1.05fr)
    minmax(6.5rem, 0.8fr)
    minmax(6.75rem, 0.7fr)
    minmax(7.25rem, 0.75fr);
  column-gap: 1.1rem;
}

.route-table-cell--duration,
.route-table-cell--detail {
  text-align: right;
}

.route-table-cell--detail {
  padding-left: 0.6rem;
}

.is-map-expanded {
  position: fixed !important;
  inset: 1rem !important;
  aspect-ratio: auto !important;
  z-index: 10000 !important;
  min-height: calc(100vh - 2rem) !important;
  background: #061b4a;
}

.route-map-card:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
  background: #061b4a;
}

.route-map-card:fullscreen .route-map-canvas,
.route-map-card.is-map-expanded .route-map-canvas {
  height: 100%;
  min-height: 100%;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast__title {
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-toast__body {
  margin-top: 0.3rem;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.45);
  overflow-y: auto;
}

.site-modal[hidden] {
  display: none;
}

.site-modal--document-flow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  align-items: flex-start;
  min-height: var(--muva-modal-document-height, 100vh);
  overflow: visible;
}

.site-modal--document-flow .site-modal__panel {
  margin-top: var(--muva-modal-scroll-top, 2rem);
  margin-bottom: 2rem;
}

.site-modal__panel {
  width: min(100%, 34rem);
  max-height: min(88vh, 48rem);
  display: flex;
  flex-direction: column;
  margin: auto;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(220, 225, 255, 0.6), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  box-shadow: 0 36px 84px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.site-modal__panel.is-route-preview {
  width: min(100%, 46rem);
}

.site-modal__panel.is-gallery-preview {
  width: min(100%, 58rem);
}

.site-modal__panel.is-gallery-preview .site-modal__body {
  padding-top: 0.5rem;
  white-space: normal;
}

.home-hof-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 0;
  border-radius: 1.5rem;
  background: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  text-align: left;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

.home-hof-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hof-card:hover .home-hof-card__image {
  transform: scale(1.05);
}

.home-hof-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.24) 46%, rgba(15, 23, 42, 0.92) 100%);
}

.home-hof-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
}

.home-hof-card__content-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.home-hof-card__copy {
  display: grid;
  gap: 0.75rem;
}

.home-hof-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hof-card__title {
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.home-hof-card__subtitle {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-hof-card__icon {
  color: rgba(255, 255, 255, 0.76);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hof-card:hover .home-hof-card__icon {
  transform: translateX(4px);
}

.home-hof-preview {
  display: grid;
  gap: 1.25rem;
}

.home-hof-preview__media {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #0f172a;
}

.home-hof-preview__image {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.home-hof-preview__meta {
  display: grid;
  gap: 1rem;
}

.home-hof-preview__content {
  display: grid;
  gap: 0.5rem;
}

.home-hof-preview__badge,
.home-hof-preview__stamp-label {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hof-preview__title {
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-hof-preview__description {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.8;
}

.home-hof-preview__stamp {
  border-radius: 1rem;
  background: rgba(241, 245, 249, 0.88);
  padding: 0.95rem 1rem;
}

.home-hof-preview__stamp-value {
  margin-top: 0.45rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .home-hof-card--featured,
  .home-hof-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1280px) {
  .home-hof-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .home-hof-card--tall {
    grid-row: span 2;
  }

  .home-hof-preview__meta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.site-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.site-modal__title {
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-modal__close {
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.site-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.4rem;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.65;
  white-space: pre-line;
}

.site-modal-route-preview {
  display: grid;
  gap: 0.8rem;
  white-space: normal;
}

.site-modal-route-preview__airports {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.site-modal-route-preview__airport,
.site-modal-route-preview__fleet,
.site-modal-route-preview__meta-item {
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.85rem 0.95rem;
}

.site-modal-route-preview__divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(188, 0, 12, 0.08);
  color: #bc000c;
}

.site-modal-route-preview__label {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-modal-route-preview__code {
  margin-top: 0.45rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-modal-route-preview__name {
  margin-top: 0.2rem;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-modal-route-preview__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.site-modal-route-preview__meta-item strong {
  display: block;
  margin-top: 0.35rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.site-modal-route-preview__fleet-title {
  margin-top: 0.5rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.site-modal-route-preview__fleet-copy {
  margin-top: 0.35rem;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-modal-route-preview__fleet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.site-modal-route-preview__fleet-tags span {
  border-radius: 999px;
  background: rgba(0, 32, 104, 0.08);
  color: #002068;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
}

.site-modal-route-preview__map {
  min-height: 190px;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.site-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.site-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #002068, #003399);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-modal__secondary {
  border-radius: 9999px;
  background: rgba(230, 232, 235, 0.72);
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.8rem 1.2rem;
  text-transform: uppercase;
}

.routes-toolbar {
  display: grid;
  gap: 1rem;
}

.routes-hero-search {
  display: grid;
  gap: 0.85rem;
}

.routes-hero-search__field {
  min-width: 0;
}

.routes-hero-search__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  color: #002068;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 0 1.25rem;
  min-height: 4rem;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.routes-hero-search__reset:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 32, 104, 0.16);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.routes-hero-search__reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 32, 104, 0.12), 0 20px 36px rgba(15, 23, 42, 0.12);
}

.routes-filters {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.9rem;
}

.routes-filter {
  display: grid;
  gap: 0.35rem;
}

.routes-filter__label {
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.routes-filter__control {
  width: 100%;
  border-radius: 1rem;
  background: rgba(224, 227, 230, 0.74);
  color: #002068;
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  padding: 0.85rem 1rem;
  transition: box-shadow 160ms ease, background-color 160ms ease;
}

.routes-filter__control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(0, 32, 104, 0.2);
}

.routes-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.4rem;
}

.routes-pagination__meta {
  color: #64748b;
  font-size: 0.85rem;
}

.routes-pagination__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.routes-pagination__button {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  color: #002068;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(25, 28, 30, 0.06);
}

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

.route-map-card {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(181, 196, 255, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(0, 32, 104, 0.97), rgba(6, 27, 74, 0.96));
  box-shadow: 0 36px 72px rgba(15, 23, 42, 0.16);
}

.route-map-canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 34rem;
}

body[data-page="routes"] [data-route-list] > [data-route-id] {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body[data-page="routes"] [data-route-list] > [data-route-id] .font-headline.text-xl {
  font-size: 1.05rem;
  line-height: 1.25;
}

body[data-page="routes"] [data-route-list] > [data-route-id] .text-xs {
  line-height: 1.35;
}

.route-map-overlay {
  position: absolute;
  z-index: 900;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: 0.75rem;
  pointer-events: none;
}

.route-map-card [data-action="fullscreen"] {
  position: relative;
  z-index: 901;
}

.route-map-popup .leaflet-popup-content-wrapper {
  border-radius: 1rem;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

.route-map-popup .leaflet-popup-content {
  margin: 0;
  min-width: 15rem;
}

.route-map-popup__body {
  padding: 1rem;
  color: #1b1c1c;
}

.route-map-popup__label {
  color: #bc000c;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.route-map-popup__title {
  margin-top: 0.25rem;
  color: #002068;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.route-map-popup__meta {
  margin-top: 0.65rem;
  color: #5f6368;
  font-size: 0.82rem;
  line-height: 1.55;
}

.route-map-popup__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  border-radius: 9999px;
  background: #002068;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
}

.route-map-overlay__panel {
  width: fit-content;
  max-width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #002068;
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.route-map-overlay__button {
  pointer-events: auto;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.route-map-overlay__button:hover,
.route-map-overlay__button:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.26);
  transform: translateY(-1px);
}

.route-map-overlay__button:focus-visible {
  outline: 2px solid rgba(188, 0, 12, 0.4);
  outline-offset: 3px;
}

.route-map-overlay__label {
  display: block;
  color: #bc000c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.route-map-overlay__value {
  display: block;
  margin-top: 0.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.route-map-overlay__meta {
  display: block;
  margin-top: 0.25rem;
  color: #5f6368;
  font-size: 0.84rem;
}

.route-detail-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
}

.route-detail-grid {
  display: grid;
  gap: 1.25rem;
}

.route-detail-card {
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(220, 225, 255, 0.45), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.08);
}

.route-detail-map {
  min-height: 24rem;
}

.route-detail-card .border-b,
.route-detail-card .border-t,
.route-detail-card .border,
.muva-editorial-page .border,
.muva-editorial-page .border-l-2,
.muva-editorial-page .border-l-4,
.muva-editorial-page .border-t {
  border-color: transparent !important;
}

.muva-editorial-page [class*="shadow-"] {
  box-shadow: 0 24px 48px rgba(25, 28, 30, 0.06);
}

.muva-editorial-page button,
.muva-editorial-page a[class*="bg-primary"],
.muva-editorial-page button[class*="bg-primary"] {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.muva-editorial-page button:hover,
.muva-editorial-page a[class*="bg-primary"]:hover,
.muva-editorial-page button[class*="bg-primary"]:hover {
  transform: translateY(-1px);
}

.leaflet-container {
  font-family: "Inter", sans-serif;
}

@media (max-width: 720px) {
  .site-modal-route-preview__airports,
  .site-modal-route-preview__meta {
    grid-template-columns: 1fr;
  }

  .site-modal-route-preview__divider {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .site-nav__inner {
    padding: 0.85rem 1rem;
  }

  .site-nav__brand {
    gap: 0.6rem;
    font-size: 1.2rem;
  }

  .site-nav__brand-logo {
    width: 2.1rem;
    height: 2.1rem;
  }

  .site-nav__mobile {
    padding: 0 1rem 1rem;
  }

  .site-footer__inner {
    padding: 2rem 1rem 2.4rem;
  }

  .site-footer__links {
    gap: 0.75rem 1rem;
  }

  .site-footer__copy {
    font-size: 1rem;
    line-height: 1.8;
  }

  .site-footer__copyright {
    font-size: 0.92rem;
  }

  .site-footer__link {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .site-footer__community {
    grid-template-columns: 1fr;
  }

  .site-footer__community-card {
    min-height: 4.75rem;
  }

  .site-footer__community-title {
    font-size: 0.95rem;
  }

  .site-footer__community-copy {
    font-size: 0.86rem;
  }

  .site-footer__bottom {
    line-height: 1.6;
    letter-spacing: 0.16em;
  }

  .site-toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .site-modal {
    padding: 1rem;
  }

  body[data-page="routes"] .site-modal:not(.site-modal--document-flow) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    min-height: 0 !important;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
  }

  body[data-page="routes"] .site-modal:not(.site-modal--document-flow) .site-modal__panel.is-route-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100vw - 2rem);
    max-width: 46rem;
    max-height: calc(100vh - 2rem);
    max-height: calc(100svh - 2rem);
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }

  .site-modal__panel {
    border-radius: 1.25rem;
  }

  .site-modal__header {
    padding: 1rem 1rem 0;
  }

  .site-modal__title {
    font-size: 1.25rem;
  }

  .home-hof-preview__image {
    max-height: 50vh;
  }

  .route-detail-shell {
    padding: 6rem 1rem 3rem;
  }

  .route-detail-card {
    border-radius: 1.25rem;
  }

  .route-detail-map {
    min-height: 18rem;
  }

  body[data-page="home"] > header {
    min-height: max(36rem, 100svh);
    height: auto;
    align-items: flex-end;
    padding-top: calc(5.25rem + env(safe-area-inset-top));
    padding-bottom: 2rem;
  }

  body[data-page="home"] > header .relative.z-10 {
    max-width: 100%;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    padding-bottom: 0;
  }

  body[data-page="home"] > main > section {
    padding: 3.25rem 1rem !important;
  }

  body[data-page="home"] h1.font-headline {
    font-size: clamp(3rem, 14vw, 4.65rem) !important;
    margin-bottom: 1.5rem !important;
  }

  body[data-page="home"] .hero-stage--copy {
    margin-bottom: 1.75rem !important;
    color: rgba(255, 255, 255, 0.96) !important;
  }

  body[data-page="home"] blockquote {
    padding: 1.25rem !important;
    line-height: 1.75 !important;
  }

  body[data-page="home"] main section:first-of-type .glass-panel {
    width: 100%;
  }

  body[data-page="home"] [data-home-hof-grid] {
    grid-template-columns: 1fr !important;
  }

  body[data-page="about"] section {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="about"] section:first-of-type {
    min-height: auto !important;
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }

  body[data-page="about"] h1.font-headline {
    font-size: clamp(3rem, 14vw, 4.5rem) !important;
  }

  body[data-page="about"] section:first-of-type .md\:col-span-6.relative {
    height: 20rem !important;
  }

  body[data-page="about"] section:first-of-type .bg-surface-container-low {
    padding: 1.25rem !important;
  }

  body[data-page="about"] [data-about-story-body] {
    gap: 1.5rem !important;
  }

  body[data-page="about"] .staff-avatar {
    width: 5.75rem !important;
    height: 5.75rem !important;
  }

  body[data-page="about"] .about-comms-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="about"] .about-comms-grid .aspect-square {
    aspect-ratio: 4 / 3;
  }

  body[data-page="about"] .about-comms-grid .mt-12,
  body[data-page="about"] .about-comms-grid .-mt-12 {
    margin-top: 0 !important;
  }

  body[data-page="about"] h2.font-headline {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  body[data-page="about"] .flex.flex-col.sm\:flex-row {
    width: 100%;
  }

  body[data-page="about"] .flex.flex-col.sm\:flex-row button {
    width: 100%;
  }

  body[data-page="fleet"] main > section {
    margin-bottom: 4rem !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="fleet"] h1.font-headline {
    font-size: clamp(3rem, 14vw, 4.75rem) !important;
  }

  body[data-page="fleet"] main > section:nth-of-type(2) > div > div {
    height: auto !important;
    min-height: 20rem !important;
  }

  body[data-page="fleet"] [data-fleet-overview-grid] > article {
    height: auto !important;
    min-height: 22rem !important;
    border-radius: 1.25rem;
  }

  body[data-page="fleet"] [data-fleet-overview-grid] > article [class*="p-10"],
  body[data-page="fleet"] [data-fleet-overview-grid] > article [class*="p-8"] {
    padding: 1.5rem !important;
  }

  body[data-page="fleet"] [data-fleet-overview-grid] h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    line-height: 1 !important;
  }

  body[data-page="fleet"] main > section:last-of-type > div {
    padding: 2rem 1.25rem !important;
  }

  body[data-page="fleet"] main > section:last-of-type .grid {
    gap: 1.5rem !important;
  }

  body[data-page="hubs"] main {
    padding-top: 6rem !important;
    padding-right: 1rem !important;
    padding-bottom: 4rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="hubs"] header.hubs-hero {
    margin-bottom: 3rem !important;
    padding: 1.5rem 1.25rem !important;
  }

  body[data-page="hubs"] h1.font-headline {
    font-size: clamp(3rem, 14vw, 4.75rem) !important;
  }

  body[data-page="hubs"] [data-hub-item] {
    min-height: 20rem !important;
  }

  body[data-page="hubs"] [data-hub-item] [class*="min-w-"] {
    min-width: 0 !important;
  }

  body[data-page="hubs"] [data-hub-item] img.h-40 {
    height: 12rem !important;
  }

  body[data-page="hubs"] main > section:last-of-type {
    margin-top: 4rem !important;
  }

  body[data-page="hubs"] .hubs-apply-shell {
    padding: 1.75rem 1.25rem !important;
  }

  body[data-page="hubs"] [data-hubs-apply-button] {
    width: 100%;
  }

  body[data-page="rank"] main {
    padding-top: 6rem !important;
    padding-right: 1rem !important;
    padding-bottom: 4rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="rank"] header.rank-hero {
    margin-bottom: 3rem !important;
    padding: 1.5rem 1.25rem !important;
  }

  body[data-page="rank"] h1.font-headline {
    font-size: clamp(3rem, 14vw, 4.75rem) !important;
  }

  body[data-page="rank"] main > section:last-of-type {
    padding: 1.75rem !important;
  }

  body[data-page="event"] main > section {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="event"] h1[data-event-featured-title],
  body[data-page="event"] h1[data-event-detail-title] {
    font-size: clamp(2.75rem, 14vw, 4.75rem) !important;
    line-height: 0.94 !important;
  }

  body[data-page="event"] main > section:first-of-type .relative.z-10 {
    min-height: auto !important;
    padding: 1.5rem !important;
  }

  body[data-page="event"] [data-event-list] article,
  body[data-page="event"] .grid.max-w-screen-2xl > div {
    border-radius: 1.25rem !important;
  }

  body[data-page="routes"] main:not(.route-preview-shell) {
    padding-bottom: 4rem !important;
  }

  body[data-page="routes"] .routes-editorial-hero {
    margin-right: 1rem;
    margin-left: 1rem;
    padding: 1.5rem 1rem !important;
    border-radius: 1.25rem !important;
  }

  body[data-page="routes"] .routes-editorial-hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.5rem) !important;
    line-height: 0.92 !important;
  }

  body[data-page="routes"] .routes-editorial-hero p {
    font-size: 1rem !important;
  }

  body[data-page="routes"] main:not(.route-preview-shell) > section:nth-of-type(2),
  body[data-page="routes"] main:not(.route-preview-shell) > section:nth-of-type(3) {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="routes"] main:not(.route-preview-shell) > section:nth-of-type(3)[data-reveal],
  body[data-page="routes"] [data-route-list].motion-list,
  body[data-page="routes"] [data-route-list].motion-list > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  body[data-page="routes"] .route-map-card {
    min-height: auto;
  }

  body[data-page="routes"] .route-map-canvas {
    min-height: 19rem;
  }

  body[data-page="routes"] .route-map-overlay {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    padding: 1rem;
    gap: 0.75rem;
  }

  body[data-page="routes"] .route-map-overlay > .flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-page="routes"] .route-map-overlay__panel {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1rem;
  }

  body[data-page="routes"] .route-map-overlay__button {
    display: block;
  }

  body[data-page="routes"] .route-map-overlay__value,
  body[data-page="routes"] .route-map-overlay__meta {
    overflow-wrap: anywhere;
  }

  body[data-page="routes"] .route-map-card > .absolute.top-8.right-8 {
    top: 0.75rem !important;
    right: 0.75rem !important;
  }

  body[data-page="routes"] .route-map-card > .absolute.top-8.right-8 button {
    padding: 0.65rem 0.8rem !important;
    font-size: 0.72rem !important;
  }

  body[data-page="routes"] .routes-filters {
    grid-template-columns: 1fr !important;
  }

  body[data-page="routes"] .routes-toolbar > div:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  body[data-page="routes"] .routes-table-head {
    display: none;
  }

  body[data-page="routes"] [data-route-list] {
    display: block;
    min-height: 1px;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.75rem 1rem;
    min-height: auto !important;
    margin: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 1rem;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div {
    min-width: 0;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] .font-headline,
  body[data-page="routes"] [data-route-list] > [data-route-id] .text-sm,
  body[data-page="routes"] [data-route-list] > [data-route-id] .text-xs {
    overflow-wrap: anywhere;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(1) {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(2),
  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(3) {
    grid-column: 1 / -1;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(4) {
    grid-column: 1 / -1;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(5) {
    grid-column: 1 / -1;
    padding-right: 0 !important;
    text-align: left !important;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(6) {
    grid-column: 1 / -1;
    padding-left: 0 !important;
    text-align: left !important;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] > div:nth-child(6) button {
    width: 100%;
  }

  body[data-page="routes"] .routes-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  body[data-page="routes"] .routes-pagination__actions,
  body[data-page="routes"] .routes-pagination__button {
    width: 100%;
  }

  body[data-page="routes"] .routes-pagination__actions {
    flex-direction: column;
  }

  body[data-page="apply"] .apply-topbar,
  body[data-page="hubs"] .hub-topbar,
  body[data-page="routes"] .route-preview-topbar {
    height: 4.5rem;
    padding: 0 0.9rem;
  }

  body[data-page="apply"] .apply-topbar > a[aria-label="MUVA Home"],
  body[data-page="hubs"] .hub-topbar > a[aria-label="MUVA Home"],
  body[data-page="routes"] .route-preview-topbar > a[aria-label="MUVA Home"] {
    gap: 0.55rem;
    font-size: 1.35rem;
  }

  body[data-page="apply"] .apply-topbar img,
  body[data-page="hubs"] .hub-topbar img,
  body[data-page="routes"] .route-preview-topbar img {
    width: 2rem;
    height: 2rem;
  }

  body[data-page="apply"] .apply-topbar > a:last-child,
  body[data-page="hubs"] .hub-topbar > a:last-child,
  body[data-page="routes"] .route-preview-topbar > a:last-child {
    padding: 0.55rem 0.85rem;
    letter-spacing: 0.14em;
  }

  body[data-page="apply"] main.apply-shell,
  body[data-page="hubs"] main.hub-shell,
  body[data-page="routes"] main.route-preview-shell {
    padding-top: 4.5rem !important;
  }

  body[data-page="apply"] .apply-hero .mx-auto.grid,
  body[data-page="hubs"] .hub-hero > .relative.z-10,
  body[data-page="routes"] .route-preview-shell .mx-auto.max-w-7xl {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="apply"] h1.font-headline,
  body[data-page="hubs"] h1.font-headline,
  body[data-page="routes"] .route-preview-shell h1.font-headline {
    font-size: clamp(2.75rem, 14vw, 4.75rem) !important;
    line-height: 0.95 !important;
  }

  body[data-page="apply"] .apply-form-frame {
    min-height: 2860px;
  }

  body[data-page="apply"] label,
  body[data-page="apply"] .routes-filter__label {
    font-size: 1rem !important;
  }

  body[data-page="hubs"] .hub-hero {
    min-height: auto !important;
  }

  body[data-page="hubdetail"] main.hub-shell {
    padding-top: 4.5rem !important;
  }

  body[data-page="hubdetail"] .hub-hero {
    min-height: auto !important;
  }

  body[data-page="hubdetail"] .hub-hero > .relative.z-10 {
    min-height: 35rem !important;
    padding: 2rem 1rem !important;
  }

  body[data-page="hubdetail"] .hub-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.75rem) !important;
    line-height: 0.95 !important;
  }

  body[data-page="hubdetail"] .hub-hero [data-hub-tagline] {
    font-size: 0.95rem !important;
    letter-spacing: 0.08em !important;
  }

  body[data-page="hubdetail"] main > section:not(.hub-hero) {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  body[data-page="hubdetail"] [data-hub-runways] .route-detail-card,
  body[data-page="hubdetail"] .hub-glass,
  body[data-page="hubdetail"] .route-detail-card {
    border-radius: 1.25rem !important;
  }

  body[data-page="hubdetail"] [data-hub-banner-stats] {
    grid-template-columns: 1fr !important;
  }

  body[data-page="hubdetail"] .flex.items-center.justify-between {
    align-items: flex-start !important;
    gap: 0.8rem;
  }

  body[data-page="routes"] .route-preview-shell .route-journey {
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  body[data-page="routes"] .route-preview-shell .route-journey > :nth-child(2) {
    width: 100%;
    max-width: none !important;
  }

  body[data-page="routes"] .route-preview-shell .route-quick-stats,
  body[data-page="routes"] .route-preview-shell .route-side-metrics,
  body[data-page="routes"] .route-preview-shell .route-fleet-meta {
    grid-template-columns: 1fr !important;
  }

  body[data-page="routes"] .route-preview-shell .pointer-events-none.absolute.bottom-12.left-8 {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-nav__brand-text {
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav__button,
  .site-nav__mobile .site-nav__link,
  button,
  a[class*="px-"] {
    min-height: 2.75rem;
  }

  body[data-page="home"] .hero-stage--actions,
  body[data-page="about"] .flex.flex-col.sm\:flex-row,
  body[data-page="event"] .flex.flex-col.sm\:flex-row,
  body[data-page="routes"] .routes-pagination__actions {
    width: 100%;
  }

  body[data-page="home"] .hero-stage--actions button,
  body[data-page="about"] .flex.flex-col.sm\:flex-row button,
  body[data-page="event"] .flex.flex-col.sm\:flex-row a,
  body[data-page="routes"] .routes-pagination__button {
    width: 100%;
  }

  body[data-page="routes"] .route-map-overlay__value {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  body[data-page="routes"] .route-map-overlay__meta {
    font-size: 0.78rem;
  }

  body[data-page="routes"] [data-route-list] > [data-route-id] .font-headline.text-xl {
    font-size: 1.2rem !important;
  }

  body[data-page="fleet"] [data-fleet-overview-grid] > article {
    min-height: 24rem !important;
  }

  body[data-page="hubs"] .hubs-apply-shell h2,
  body[data-page="about"] h2.font-headline {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-language-curtain {
    display: none !important;
  }

  body,
  body main,
  body .site-nav,
  body .site-footer,
  body .route-preview-topbar,
  body .site-lang-toggle {
    transition: none !important;
  }

  .muva-editorial-page main > section,
  .muva-editorial-page main > header,
  .muva-editorial-page main > div,
  .muva-editorial-page .route-detail-shell > div:first-child,
  .muva-editorial-page .route-detail-shell > section,
  .muva-editorial-page .route-preview-topbar,
  .muva-editorial-page .route-preview-shell > section,
  .muva-editorial-page .site-nav,
  .muva-editorial-page .site-footer,
  .muva-editorial-page [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.route-random-wheel,
.home-route-wheel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.route-random-count {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  line-height: 1.15;
}

body[data-page="routes"] [data-i18n="route.randomTitle"] + p {
  max-width: 28rem;
}

.route-random-wheel::before,
.home-route-wheel::before {
  content: none;
}

.route-random-wheel.is-spinning::before,
.home-route-wheel.is-spinning::before {
  animation: none;
}

.route-random-wheel.is-selected,
.home-route-wheel.is-selected {
  animation: route-wheel-selected 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-action="random-route"].is-spinning .material-symbols-outlined,
[data-home-route-refresh].is-spinning .material-symbols-outlined {
  animation: route-selection-icon 1100ms ease-in-out infinite;
}

[data-action="random-route"]:disabled,
[data-home-route-refresh]:disabled {
  cursor: wait;
  opacity: 0.82;
}

.is-route-tick {
  animation: route-selection-tick 230ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.route-selection-burst {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.route-selection-burst::before {
  content: "";
  position: absolute;
  inset: -4.2rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 183, 3, 0.28) 25%, rgba(183, 28, 28, 0.16) 43%, rgba(0, 32, 104, 0) 72%);
  animation: route-selection-glow 1050ms ease-out both;
}

.route-selection-burst__particle {
  position: absolute;
  left: 0;
  top: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--burst-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--burst-color), transparent 32%);
  animation: route-selection-burst 1120ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--burst-delay);
}

.route-selection-burst__particle.is-ribbon {
  width: 0.28rem;
  height: 1.25rem;
  border-radius: 999px;
  transform-origin: center;
  animation-name: route-selection-ribbon;
}

@keyframes route-selection-icon {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-1px) scale(1.08);
  }
}

@keyframes route-selection-tick {
  from {
    opacity: 0;
    transform: translateY(0.34rem) scale(0.98);
    filter: blur(0.8px);
  }
  54% {
    transform: translateY(-0.08rem) scale(1.035);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes route-selection-glow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  38% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes route-selection-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  24% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(0.78);
  }
}

@keyframes route-selection-ribbon {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--burst-rotate)) scaleY(0.3);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) rotate(calc(var(--burst-rotate) + 230deg)) scaleY(0.85);
  }
}

@keyframes route-wheel-selected {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 28, 28, 0), inset 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
  32% {
    box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.32), 0 0 0 10px rgba(255, 183, 3, 0.1), 0 22px 52px rgba(0, 32, 104, 0.16);
    transform: scale(1.018);
  }
  64% {
    box-shadow: 0 0 0 1px rgba(0, 32, 104, 0.18), 0 0 0 18px rgba(183, 28, 28, 0.03), 0 18px 44px rgba(0, 32, 104, 0.1);
    transform: scale(0.998);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(183, 28, 28, 0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-random-wheel::before,
  .home-route-wheel::before,
  .route-random-wheel.is-spinning::before,
  .home-route-wheel.is-spinning::before,
  [data-action="random-route"].is-spinning .material-symbols-outlined,
  [data-home-route-refresh].is-spinning .material-symbols-outlined,
  .is-route-tick,
  .route-selection-burst::before,
  .route-selection-burst__particle,
  .route-selection-burst__particle.is-ribbon,
  .route-random-wheel.is-selected,
  .home-route-wheel.is-selected {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (min-width: 768px) {
  .site-nav__links,
  .site-nav__actions {
    display: flex;
  }

  .site-nav__toggle,
  .site-nav__mobile {
    display: none;
  }

  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .routes-hero-search {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .routes-hero-search__reset {
    width: auto;
    min-width: 12rem;
    padding-inline: 1.4rem;
  }

  .routes-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}
