/* Moon Ways: the chrome every page shares — tokens, the counter, the search
   control, the closing band, the dock and the about panel. Page-specific
   styling stays in the page. Load after scrollcraft.css, which supplies the
   token scale.

   Palette: white and blue, the company's own. Blue is the only accent. Ink
   is a deep navy, never black. The home hero and the journey film are dark
   because they are pictures; every surface laid over them is frosted white. */
  @font-face { font-family: "Sora"; src: url("fonts/sora-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 800; font-display: swap; }
  @font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
  @font-face { font-family: "Michroma"; src: url("fonts/michroma-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

  :root {
    --sc-canvas:      #0b1b3f;
    --sc-surface:     #112a5c;
    --sc-ink:         #eaf2ff;
    --sc-ink-soft:    #9db4df;
    --sc-accent:      #1b5cf0;
    --sc-accent-ink:  #ffffff;
    --sc-font-display: "Sora", "Manrope", system-ui, sans-serif;
    --sc-font-text:    "Manrope", system-ui, sans-serif;
    --sc-font-mono:    "Manrope", system-ui, sans-serif;
    --sc-font-brand:   "Michroma", "Sora", system-ui, sans-serif;
    --sc-shadow-color: 222 60% 4%;
    --sc-r-sm: 6px; --sc-r-md: 12px; --sc-r-lg: 18px;

    --mw-blue:        #1b5cf0;   /* the brand blue: buttons, links, the network */
    --mw-blue-deep:   #0e3fb8;
    --mw-blue-ink:    #eaf2ff;   /* headings: ice white on navy */
    --mw-sky:         #8fb3ff;
    --mw-night:       #060f26;   /* the ground under the film */
    --mw-navy:        #112a5c;   /* a raised surface on the navy ground */
    --mw-deep:        #0b1b3f;   /* the page ground */
    --mw-on-accent:   #ffffff;
    --mw-gold:        #e8b85a;   /* the map: threads, terminals */
    --mw-gold-soft:   #c99a3e;
    --mw-orange:      #f26a21;   /* the bus's orange, a dot at most */
    --mw-accent-grad: linear-gradient(135deg, #3b7bff 0%, #1b5cf0 55%, #0e3fb8 100%);
    --mw-line:        color-mix(in oklab, #ffffff 12%, transparent);
    --mw-glass:       color-mix(in oklab, #0b1b3f 78%, transparent);
    --counter-h: 4.75rem;
  }
  .sc-display { font-weight: 500; }
  .sc-label { font-family: var(--sc-font-text); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--mw-sky); }
  .sc-body { color: var(--sc-ink-soft); }
  ::selection { background: var(--mw-blue); color: #fff; }
  a { color: var(--mw-sky); }
  img.mark { display: inline-block; }

  /* --------------------------------------------------- the counter (chrome)
     Quiet. Wordmark, small-caps links, the number as text, WhatsApp as a
     green mark, one blue action. Over the home hero it is white on the
     picture; everywhere else it is ink on white, and it frosts once the page
     moves under it. */
  .counter {
    position: fixed; inset: 0 0 auto 0; height: var(--counter-h); z-index: var(--sc-z-chrome);
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    padding-inline: clamp(1rem, 2.5vw, 2.5rem);
    color: var(--sc-ink);
    transition: background-color 360ms var(--sc-ease-out), color 360ms var(--sc-ease-out), box-shadow 360ms var(--sc-ease-out);
  }
  .counter { color: #fff; background: linear-gradient(180deg, rgba(6, 15, 38, 0.6), rgba(6, 15, 38, 0)); }
  body.is-docked .counter, body.on-home.is-docked .counter { background: color-mix(in oklab, #0b1b3f 80%, transparent); color: #fff; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--mw-line), 0 10px 30px -18px rgba(0, 0, 0, 0.5); }
  .counter__mark { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; min-width: 0; color: inherit; }
  /* the MW roundel, large, on a navy disc; the wordmark beside it */
  .counter__mark .disc { height: 3.2rem; width: 3.2rem; border-radius: 999px; padding: 0.3rem; background: #0b1b3f; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.28), 0 10px 24px -10px rgba(0, 0, 0, 0.7); object-fit: contain; }
  .counter__mark .mono { height: 1.2rem; width: auto; }
  /* the wordmark is a white PNG: on the white bar it needs its ink */

  /* the nav sits in its own glass pill, the Flow way */
  .counter__nav {
    justify-self: center; display: flex; align-items: center; gap: 0.15rem; min-width: 0;
    padding: 0.3rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .counter__nav a {
    position: relative; font-family: var(--sc-font-text); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78); text-decoration: none; white-space: nowrap;
    padding: 0.55rem 0.8rem; border-radius: 999px; transition: color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
  }
  .counter__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
  .counter__nav a[aria-current="page"] { color: #fff; background: var(--mw-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  .counter__nav a:focus-visible { outline: 2px solid var(--mw-sky); outline-offset: 2px; }
  @media (max-width: 1080px) { .counter__nav { display: none; } }

  .counter__contact { justify-self: end; display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
  .counter__contact a:not(.counter__book) {
    display: inline-flex; align-items: center; gap: 0.5rem;
    height: 2.75rem; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit; text-decoration: none; white-space: nowrap;
    font-family: var(--sc-font-display); font-size: 0.92rem; font-weight: 600;
    transition: color 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
  }
  .counter__contact a:active { transform: scale(0.97); }
  .counter__contact svg { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
  .counter__tel { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
  .counter__tel:hover { background: rgba(255, 255, 255, 0.12); }
  .counter__tel svg { color: var(--mw-sky); }
  .counter__wa { padding: 0 0.85rem 0 0.35rem !important; background: color-mix(in oklab, #25D366 12%, transparent); border: 1px solid color-mix(in oklab, #25D366 32%, transparent) !important; }
  .counter__wa svg { color: #25D366; width: 1.75rem; height: 1.75rem; }
  .counter__wa:hover { background: color-mix(in oklab, #25D366 22%, transparent); }
  @media (max-width: 1500px) { .counter__tel span { display: none; } .counter__tel { padding: 0 0.7rem; } }
  @media (max-width: 1280px) { .counter__wa span { display: none; } .counter__wa { padding: 0 0.35rem !important; } }
  @media (max-width: 1180px) { .counter__mark .mono { display: none; } }
  .counter__book {
    display: inline-flex; align-items: center; gap: 0.5rem;
    height: 2.75rem; padding: 0 1.15rem 0 1.3rem; border-radius: 999px;
    background: var(--mw-accent-grad); color: #fff;
    font-family: var(--sc-font-display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.005em;
    text-decoration: none; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px -10px rgba(27, 92, 240, 0.8);
    transition: filter 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
  }
  .counter__book::after {
    content: ""; width: 0.9rem; height: 0.9rem; flex: 0 0 auto;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
    transition: translate 160ms var(--sc-ease-out);
  }
  .counter__book:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 30px -10px rgba(27, 92, 240, 0.95); }
  .counter__book:hover::after { translate: 3px 0; }
  .counter__book:active { transform: scale(0.97); }
  @media (max-width: 860px) {
    :root { --counter-h: 4rem; }
    .counter__mark .disc { height: 2.7rem; width: 2.7rem; }
    .counter__mark .mono { height: 1rem; }
    .counter__contact { gap: 0.5rem; }
    .counter__contact a:not(.counter__book) { height: 2.3rem; }
    .counter__wa svg { width: 1.5rem; height: 1.5rem; }
    .counter__book { height: 2.3rem; padding: 0 0.85rem 0 0.95rem; font-size: 0.85rem; }
  }
  @media (max-width: 420px) { .counter__mark .mono { display: none; } .counter__tel { display: none !important; } }

  /* ------------------------------------------------------- the mobile menu */
  .counter__menu {
    display: none; width: 2.4rem; height: 2.4rem; border-radius: 999px;
    border: 1px solid color-mix(in oklab, currentColor 22%, transparent); background: transparent; color: inherit;
    cursor: pointer; place-items: center;
  }
  .counter__menu svg { width: 1.1rem; height: 1.1rem; }
  @media (max-width: 1080px) { .counter__menu { display: grid; } }
  #menuPanel {
    position: fixed; inset: var(--counter-h) 0 auto 0; z-index: calc(var(--sc-z-chrome) - 1);
    background: var(--sc-surface); border-bottom: 1px solid var(--mw-line);
    padding: var(--sc-5) var(--sc-gutter) var(--sc-6);
    display: grid; gap: var(--sc-3); box-shadow: var(--sc-e3);
  }
  #menuPanel[hidden] { display: none; }
  #menuPanel a {
    font-family: var(--sc-font-display); font-size: var(--sc-t-lg); font-weight: 500;
    color: var(--sc-ink); text-decoration: none; padding: 0.4rem 0;
    border-bottom: 1px solid var(--mw-line);
  }
  #menuPanel a:hover { color: var(--mw-blue); }

  /* ------------------------------------------------------ the search control
     A white card. Fields are separated by hairlines, the action is blue. */
  .search {
    display: grid; grid-template-columns: 1.1fr 1.1fr minmax(11.5rem, 0.9fr) minmax(9rem, 0.7fr) auto; align-items: stretch;
    width: 100%; border-radius: var(--sc-r-lg); background: color-mix(in oklab, #112a5c 94%, transparent); color: var(--sc-ink);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .search .field { display: grid; gap: 0.15rem; padding: 0.9rem 1.15rem; border-right: 1px solid var(--mw-line); min-width: 0; }
  .search .field label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--mw-sky); }
  .search select, .search input {
    appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0; margin: 0;
    font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); color: var(--sc-ink); min-width: 0; width: 100%;
    cursor: pointer; letter-spacing: -0.01em;
  }
  .search select:focus-visible, .search input:focus-visible { outline: none; }
  .search .field:focus-within { background: color-mix(in oklab, #ffffff 6%, transparent); }
  .search .field:first-child { border-radius: var(--sc-r-lg) 0 0 var(--sc-r-lg); }
  .search select { padding-right: 1.4rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%238fb3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; background-size: 0.9rem; }
  .search select option { color: #0b1b3f; background: #eaf2ff; }
  .search input[type="date"] { color-scheme: dark; }
  .search input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.7; cursor: pointer; filter: invert(1); }
  .search .pax { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.4rem; }
  .search .pax button {
    width: 1.75rem; height: 1.75rem; border-radius: 999px; border: 1px solid var(--mw-line); background: transparent; color: var(--sc-ink);
    cursor: pointer; font-family: var(--sc-font-display); font-size: 1rem; line-height: 1; display: grid; place-items: center;
    transition: background-color 120ms var(--sc-ease-out), transform 100ms var(--sc-ease-out);
  }
  .search .pax button:hover { background: color-mix(in oklab, #ffffff 8%, transparent); border-color: var(--mw-sky); }
  .search .pax button:active { transform: scale(0.94); }
  .search .pax output { text-align: center; font-family: var(--sc-font-display); font-size: var(--sc-t-lg); font-weight: 500; font-variant-numeric: tabular-nums; }
  .search .go {
    display: grid; place-items: center; padding: 0 1.7rem; margin: 0.45rem; border: 0; border-radius: calc(var(--sc-r-lg) - 6px);
    background: var(--mw-accent-grad); color: #fff; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -10px rgba(27, 92, 240, 0.9);
    letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
    transition: filter 140ms var(--sc-ease-out), transform 100ms var(--sc-ease-out);
  }
  .search .go:hover { filter: brightness(1.08); }
  .search .go:active { transform: scale(0.97); }
  @media (max-width: 860px) {
    .search { grid-template-columns: 1fr 1fr; border-radius: var(--sc-r-md); }
    .search .field { padding: 0.6rem 0.85rem; border-right: 0; border-bottom: 1px solid var(--mw-line); }
    .search .field:nth-child(odd) { border-right: 1px solid var(--mw-line); }
    .search .field:first-child { border-radius: var(--sc-r-md) 0 0 0; }
    .search select, .search input, .search .pax output { font-size: var(--sc-t-base); }
    .search .go { grid-column: 1 / -1; margin: 0.4rem; padding: 0.85rem; }
  }

  /* ----------------------------------------------------------------- close
     White. The country sits here in blue, the whole network on it, and the
     ways to reach a person beside it. */
  .close { position: relative; background: linear-gradient(180deg, #0b1b3f 0%, #091632 100%); color: var(--sc-ink); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 3rem); overflow: clip; }
  .close .sc-wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); position: relative; }
  .close__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .close h2 { font-size: var(--sc-t-2xl); max-width: 16ch; letter-spacing: -0.02em; margin: var(--sc-3) 0 0; }
  .close__top > div > p { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); max-width: 44ch; }
  .close__map { position: relative; aspect-ratio: 1 / 0.95; min-height: 18rem; }
  .close__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(232, 184, 90, 0.25)); }
  .cta { display: flex; gap: var(--sc-4); flex-wrap: wrap; margin-top: var(--sc-5); }
  .cta a {
    display: inline-grid; place-items: center; padding: 0.85rem 1.5rem; border-radius: 12px;
    font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base); text-decoration: none; white-space: nowrap;
    transition: filter 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out), transform 100ms var(--sc-ease-out), color 140ms var(--sc-ease-out);
  }
  .cta .primary { background: var(--mw-accent-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 24px -10px rgba(27, 92, 240, 0.9); }
  .cta .primary:hover { filter: brightness(1.08); }
  .cta .ghost { border: 1px solid color-mix(in oklab, #ffffff 35%, transparent); color: #fff; }
  .cta .ghost:hover { background: var(--mw-blue); color: #fff; }
  .cta a:active { transform: scale(0.97); }

  .sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--sc-5) var(--sc-6); border-top: 1px solid var(--mw-line); padding-top: var(--sc-6); }
  .sitemap h3 { font-family: var(--sc-font-text); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mw-sky); margin: 0 0 var(--sc-3); }
  .sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
  .sitemap a { color: var(--sc-ink); text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500; }
  .sitemap a:hover { color: var(--mw-sky); }
  .colophon { border-top: 1px solid var(--mw-line); padding-top: var(--sc-6); display: grid; grid-template-columns: auto 1fr; gap: var(--sc-5); align-items: center; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
  .colophon .brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
  .colophon .brand img.disc { height: 5.5rem; width: 5.5rem; border-radius: 999px; padding: 0.55rem; background: #0b1b3f; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.26), 0 16px 40px -16px rgba(0, 0, 0, 0.8); object-fit: contain; }
  .colophon .brand img.mono { height: 1.7rem; width: auto; }
  .colophon .brand small { display: block; margin-top: 0.35rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mw-sky); font-weight: 700; }
  .colophon .r { justify-self: end; text-align: right; }
  @media (max-width: 860px) {
    .close__top { grid-template-columns: 1fr; }
    .close__map { order: -1; min-height: 14rem; }
    .colophon { grid-template-columns: 1fr; }
    .colophon .r { justify-self: start; text-align: left; }
  }

  /* --------------------------------------------------------------- about */
  .about {
    border: 0; padding: 0; max-width: min(46rem, calc(100vw - 2rem)); width: 100%;
    background: var(--sc-surface); color: var(--sc-ink); border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3); border: 1px solid var(--mw-line);
  }
  .about::backdrop { background: color-mix(in oklab, #04091a 70%, transparent); backdrop-filter: blur(4px); }
  .about__in { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: var(--sc-5); }
  .about__head { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sc-4); align-items: center; }
  .about__head img { height: 3rem; width: 3rem; border-radius: 999px; padding: 0.3rem; background: #0b1b3f; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.26); object-fit: contain; }
  .about h2 { font-size: var(--sc-t-xl); margin: 0; }
  .about p { margin: 0; color: var(--sc-ink-soft); }
  .about .x { background: transparent; border: 1px solid var(--mw-line); color: var(--sc-ink); width: 2.2rem; height: 2.2rem; border-radius: 999px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
  .about dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem var(--sc-5); margin: 0; }
  .about dt { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
  .about dd { margin: 0; }

  /* --------------------------------------------------------- inner pages */
  .page { padding-top: calc(var(--counter-h) + clamp(2.5rem, 7vw, 5rem)); }
  .page__head { max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
  .page__head .sc-label { display: block; }
  .page__head h1 { font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.6rem); line-height: 1.02; margin: var(--sc-3) 0 0; max-width: 16ch; letter-spacing: -0.03em; color: #fff; }
  .page__head p.lede { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); max-width: 56ch; font-size: var(--sc-t-lg); }
  .page__body { max-width: var(--sc-maxw); margin-inline: auto; padding: clamp(2rem, 6vw, 3.5rem) var(--sc-gutter) 0; }
  .prose { max-width: 70ch; font-size: 1.06rem; }
  .prose h2 { font-size: var(--sc-t-xl); margin: clamp(2rem, 5vw, 3rem) 0 var(--sc-3); letter-spacing: -0.015em; color: #fff; }
  .prose h3 { font-family: var(--sc-font-display); font-size: var(--sc-t-lg); font-weight: 600; margin: var(--sc-5) 0 var(--sc-2); }
  .prose p, .prose li { color: var(--sc-ink-soft); }
  .prose p { margin: var(--sc-3) 0 0; }
  .prose ul { margin: var(--sc-3) 0 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
  .prose li::marker { color: var(--mw-sky); }
  .prose strong { color: var(--sc-ink); font-weight: 600; }
  .note {
    margin-top: var(--sc-5); padding: var(--sc-4) var(--sc-5);
    border: 1px solid color-mix(in oklab, var(--mw-sky) 35%, transparent); border-radius: var(--sc-r-md);
    background: color-mix(in oklab, var(--mw-blue) 14%, transparent); color: var(--sc-ink-soft);
  }
  .note strong { color: var(--sc-ink); }

  /* ------------------------------------------------- the booking dock
     Bottom centre on every page, the proportions of the floating bar on
     Google Flow's site: a wide rounded rectangle of light frosted glass with
     a thin bright edge. Rises once the page has moved past the hero. */
  .dock {
    position: fixed; left: 50%; bottom: max(1.25rem, env(safe-area-inset-bottom));
    translate: -50% 0; z-index: var(--sc-z-chrome);
    opacity: 0; visibility: hidden; transform: translate3d(0, 1.2rem, 0); pointer-events: none;
    transition: opacity 320ms var(--sc-ease-out), transform 320ms var(--sc-ease-out), visibility 0s 320ms;
    width: min(34rem, calc(100vw - 2 * var(--sc-gutter)));
  }
  .is-docked .dock { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .dock__go {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem;
    height: 3.75rem; padding: 0 0.5rem 0 0.6rem; border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
    color: #fff; text-decoration: none; white-space: nowrap;
    transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
  }
  .dock__go:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.36); }
  .dock__go:active { transform: scale(0.985); }
  .dock__go:focus-visible { outline: 2px solid var(--mw-sky); outline-offset: 3px; }
  .dock__plus {
    width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .dock__plus svg { width: 1.1rem; height: 1.1rem; }
  .dock__route { display: grid; gap: 0.1rem; min-width: 0; }
  .dock__route b { font-family: var(--sc-font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; }
  .dock__route small { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
  .dock__cta {
    display: inline-grid; place-items: center; height: 2.7rem; padding: 0 1.1rem; border-radius: 16px;
    background: var(--mw-accent-grad); color: #fff; font-family: var(--sc-font-display); font-weight: 600; font-size: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px -10px rgba(27, 92, 240, 0.9);
  }
  body.on-book .dock { display: none; }
  @media (max-width: 560px) {
    .dock__go { gap: 0.6rem; height: 3.4rem; border-radius: 18px; }
    .dock__route b { font-size: 0.9rem; }
    .dock__cta { height: 2.4rem; padding: 0 0.85rem; font-size: 0.84rem; }
  }
  @media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

  /* ------------------------------------------------- the country, faintly
     On every page but the home page, Pakistan sits behind the content in a
     pale blue: the outline and the network drawn from the same timetable the
     departures board reads. The home page carries it in full at its foot. */
  body:not(.on-home)::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: url("assets/pk-map.svg?v=20261019h") no-repeat 78% 54% / auto min(118vh, 72rem);
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(130% 100% at 74% 50%, #000 32%, transparent 78%);
    mask-image: radial-gradient(130% 100% at 74% 50%, #000 32%, transparent 78%);
  }
  @media (max-width: 760px) {
    body:not(.on-home)::before { background-position: 62% 40%; background-size: auto 70vh; opacity: 0.4; }
  }
  body.on-book::before { opacity: 0.3; }
  body.on-routes::before { opacity: 0.25; background-position: 92% 50%; }

  @media (prefers-reduced-motion: reduce) { .dep { opacity: 1; transform: none; } }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
