/* Tandem Mobility — shared stylesheet.
   theme.css (generated) holds the Wix theme fonts (.font_N) and colours (.color_N). */
:root {
  --navy: #26228F; --navy-dark: #131148; --ink: #07081F; --teal: #34D1B6; --teal-dark: #4ABAA7;
  --mint: #D9FFF8; --grey: #999997; --white: #fff;
  --sans: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: var(--ink); background: #fff; line-height: 1.4; overflow-x: clip; }   /* clip (not hidden) keeps the sticky header working */
img, video, svg { max-width: 100%; }
a { color: inherit; }
.anchor { display: block; position: relative; visibility: hidden; height: 0; }   /* offset comes from html scroll-padding-top */
html { scroll-padding-top: var(--header-h); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .bar { max-width: 980px; margin: 0 auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand svg { width: 36px; height: 34px; fill: #fff; }
.brand img.logo { display: block; height: 40px; width: auto; }
.brand span { font-family: "Nunito Sans", sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .05em; text-decoration: underline; text-transform: uppercase; }
.nav { align-self: center; margin: 0; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav li { position: relative; }
.nav a, .nav button { display: block; padding: 6px 15px; color: var(--teal); font: 300 13px/1.4 Jost, sans-serif; text-decoration: none; background: none; border: 0; cursor: pointer; letter-spacing: .02em; }
.nav a, .nav button { color: #fff; }
/* teal = where you are: the current page, the section you scrolled/clicked to on home, or an open/active dropdown */
.nav a:hover, .nav button:hover, .nav a[aria-current], .nav button[aria-expanded="true"], .nav .has-sub:has(.sub a[aria-current]) > button { color: var(--teal); }
.nav .sub { display: none; position: absolute; top: 100%; right: 0; min-width: 260px; max-height: 70vh; overflow: auto; list-style: none; margin: 0; padding: 6px 0; background: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.nav .sub.left { left: 0; right: auto; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: block; }
.nav .sub a { padding: 7px 18px; font-size: 13px; color: #fff; }
.nav .sub a:hover, .nav .sub a[aria-current] { color: var(--teal); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; }
.site-footer .bar { max-width: 980px; margin: 0 auto; min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.site-footer .social { display: flex; gap: 14px; }
.site-footer .social a { display: block; width: 22px; height: 22px; }
.site-footer .social svg { width: 22px; height: 22px; fill: #fff; }
.site-footer p { margin: 0; font: 300 15px/1.5 Jost, sans-serif; text-align: center; }
.site-footer p a { color: #fff; }
.to-top { width: 30px; height: 30px; color: #fff; display: block; }
.to-top svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- converted Wix layout ---------- */
.s { position: relative; overflow: hidden; }
.s > .in, .box > .in { position: relative; z-index: 1; display: flow-root; }
.c { display: flow-root; }
.s > .in { max-width: 980px; margin: 0 auto; }
.r { display: flex; align-items: flex-start; position: relative; }
.r.cols { align-items: stretch; }
.c { flex: 0 1 auto; position: relative; min-width: 0; }
.c.ctr { margin-left: auto; margin-right: auto; }
.c.bleed { width: 100vw; margin-left: calc(50% - 50vw); flex: 0 0 100vw; }
.box { position: relative; height: 100%; display: flow-root; }
.stk { position: relative; flex: 0 0 auto; }
.stk.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.sl { position: absolute; }
.sl.flow { position: relative; display: flow-root; }
.stk { display: flow-root; }
.sl > .box { height: auto; }
.box > .in { max-width: 980px; margin: 0 auto; }
.s > .in.full, .box > .in.full { max-width: none; }
.bgl, .bgo, .bgv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bgv { object-fit: cover; z-index: 0; }
.bgo { z-index: 0; background-repeat: repeat; }
.rt { overflow-wrap: break-word; }
.rt h1, .rt h2, .rt h3, .rt h4, .rt h5, .rt h6, .rt p { margin: 0; }
.rt ul, .rt ol { margin: 0; padding-left: 1.3em; }
.rt a { color: inherit; text-decoration: none; }
.rt.rot { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; }
.rt.rot > * { white-space: nowrap; }
.ph { margin: 0; }
.ph img { display: block; width: 100%; height: auto; }
.ph .crop { display: block; position: relative; overflow: hidden; width: 100%; }
.ph .crop img { position: absolute; max-width: none; }
.vi { display: block; width: 100%; }
.vi svg { display: block; width: 100%; height: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; width: 100%; padding: 8px 18px; border-radius: 300px; background: var(--teal); color: #fff; font: 300 15px/1.3 Jost, sans-serif; text-decoration: none; text-align: center; transition: filter .2s; }
.btn:hover { filter: brightness(1.08); }
.btn.has-icon { justify-content: flex-start; gap: 12px; }
.btn .bi { display: inline-flex; width: 1.6em; height: 1.6em; flex: 0 0 auto; }
.btn .bi svg { width: 100%; height: 100%; }
.vline { width: 0; margin: 0 auto; }
.map { width: 100%; z-index: 0; background: #e9eef2; }
.map-fallback { padding: 24px; background: #f4f6f8; border-radius: 6px; text-align: center; }
.embed { display: block; width: 100%; border: 0; }
.video { position: relative; width: 100%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player { width: 100%; display: block; background: #000; }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 8px; }
.gallery img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gallery.slider { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery.slider a { scroll-snap-align: start; }
.gallery.slider img { aspect-ratio: auto; max-height: 70vh; object-fit: contain; }
.linkbar { display: flex; gap: 10px; }
.linkbar img { display: block; }
.mailto-box { text-align: center; padding: 30px 0; }
.mailto-box .btn { width: auto; padding: 10px 28px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(7,8,31,.92); display: flex; align-items: center; justify-content: center; z-index: 100; }
.lightbox img { max-width: 92vw; max-height: 88vh; }
.lightbox button { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }

/* ---------- blog ---------- */
.blog-wrap { max-width: 940px; margin: 0 auto; padding: 28px 0 80px; }
.blog-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 40px; }
.blog-bar a { font: 300 16px/1.4 Jost, sans-serif; color: #555; text-decoration: none; }
.blog-bar a[aria-current] { color: var(--navy); }
.post-list { display: grid; gap: 32px; }
.post-card { display: grid; grid-template-columns: 454px 1fr; border: 1px solid #ddd; background: #fff; text-decoration: none; color: var(--ink); min-height: 340px; }
.post-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.post-card .body { padding: 36px 36px 28px; display: flex; flex-direction: column; gap: 14px; }
.post-card .meta, .post .meta { font: 300 13px/1.5 Jost, sans-serif; color: #444; }
.post-card h2 { margin: 6px 0 0; font: 300 28px/1.2 Jost, sans-serif; color: var(--ink); }
.post-card p { margin: 0; font: 300 16px/1.5 Jost, sans-serif; color: #333; }
.post-card:hover h2 { color: var(--navy); }
.post-box { max-width: 940px; margin: 28px auto 80px; border: 1px solid #ddd; }
.post { max-width: 740px; margin: 0 auto; padding: 56px 0 64px; font: 300 18px/1.5 Jost, sans-serif; color: var(--ink); }
.post .meta { font-size: 14px; }
.post h1 { font: 400 40px/1.2 Jost, sans-serif; margin: 18px 0 40px; }
.post h2 { font: 500 28px/1.3 Jost, sans-serif; margin: 1.6em 0 .6em; }
.post h3 { font: 500 22px/1.3 Jost, sans-serif; margin: 1.4em 0 .5em; }
.post p { margin: 0 0 1.5em; }
.post strong { font-weight: 500; }
.post a { color: #116dff; }
.post img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; }
.post figure { margin: 1.4em 0; }
.post figcaption { font-size: 14px; text-align: center; color: #666; }
.post blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--teal); }
.post ul, .post ol { margin: 0 0 1.5em; }
.post .tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.post .tags span { border: 1px solid #ccc; padding: 4px 10px; font-size: 13px; }
.post .post-btn { text-align: center; }
.post .post-btn a { display: inline-block; background: var(--navy); color: #fff; padding: 12px 28px; text-decoration: none; font-size: 16px; }
.post hr { border: 0; border-top: 1px solid #ccc; margin: 2em 0; }
.post .back { display: inline-block; margin-top: 40px; color: var(--navy); font-size: 15px; }
.post iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .site-header .bar, .site-footer .bar, .s > .in, .box > .in { padding-left: 20px; padding-right: 20px; }
  .s > .in.full, .box > .in.full { padding-left: 0; padding-right: 0; }
  .box > .in { padding-left: 0; padding-right: 0; }
  .blog-wrap, .post { padding-left: 20px; padding-right: 20px; }
  .post-box { margin-left: 20px; margin-right: 20px; }
  .post-card { grid-template-columns: 40% 1fr; }
}
/* ---------- mobile ---------- */
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .site-header .bar { height: var(--header-h); }
  .brand span { font-size: 14px; }
  .brand img.logo { height: 32px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; background: var(--navy); max-height: calc(100vh - var(--header-h)); overflow: auto; padding: 8px 0 20px; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav button { font-size: 18px; padding: 10px 24px; color: #fff; text-align: left; width: 100%; }
  .nav a[aria-current], .nav button[aria-expanded="true"], .nav .has-sub:has(.sub a[aria-current]) > button { color: var(--teal); }
  .nav .sub { position: static; display: none; box-shadow: none; max-height: none; padding-left: 16px; }
  .nav li.open > .sub { display: block; }
  .nav li:hover > .sub { display: none; }
  .nav li.open:hover > .sub { display: block; }
  .site-footer .bar { flex-direction: column; text-align: center; }
  .r { display: block; margin-top: 0 !important; }
  .r + .r { margin-top: 18px !important; }
  .c { width: auto !important; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
  .c + .c, .stk + .c, .c + .stk, .stk + .stk { margin-top: 18px; }
  .stk { height: auto !important; min-height: 0 !important; width: auto !important; margin-left: 0 !important; margin-top: 0 !important; }
  .stk.bleed { max-width: none; margin-left: -20px !important; margin-right: -20px !important; }
  .sl { position: static; width: auto !important; transform: none !important; margin: 0 !important; }
  .sl + .sl { margin-top: 18px; }
  .sl:has(> .vi), .sl:has(> .vline), .sl:has(> .box:not([style*="background-image"]) > .in:empty):not(:has(video)) { display: none; }
  .c.fx { margin-left: auto !important; margin-right: auto !important; }
  .c.bleed { width: auto !important; max-width: none; margin-left: -20px !important; margin-right: -20px !important; }
  .c.fx { width: min(var(--w, 100%), 100%) !important; }
  .c.fx:has(.vi) { width: min(var(--w, 100%), 36vw) !important; }
  .c:has(> .btn), .c:has(> .vi), .c:has(> a > .vi) { margin-left: auto !important; margin-right: auto !important; }
  .c:has(> .btn) { width: min(100%, 280px) !important; }
  .s > .in { padding-top: 24px; padding-bottom: 24px !important; }
  /* full-bleed bands (e.g. the home hero) sit flush against the header / next section, no white strip */
  .s > .in:has(> div.r:first-of-type > .c.bleed) { padding-top: 0; }
  .s > .in:has(> div.r:last-of-type > .c.bleed) { padding-bottom: 0 !important; }
  .box { min-height: 0 !important; padding-bottom: 20px !important; }
  .box:has(> .in:empty) { min-height: min(var(--mh, 200px), 62vw) !important; padding-bottom: 0 !important; }
  .box > .in { padding: 20px 16px 0; }
  .r.cols .c { margin-bottom: 0; }
  .rt { font-size: 15px; }
  .rt.rot { writing-mode: horizontal-tb; transform: none; height: auto !important; }
  .rt.rot > * { white-space: normal; }
  .vline { display: none; }
  .map { height: 340px !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.slider { grid-template-columns: none; }
  .gallery.strip { display: flex; }
  .gallery.strip img, .gallery.strip video { height: min(var(--h, 400px), 60vw); }
  .post-card { grid-template-columns: 1fr; min-height: 0; }
  .post-card img { min-height: 200px; aspect-ratio: 16/9; height: auto; }
  .post-card .body { padding: 22px; }
  .post-card h2 { font-size: 22px; }
  .post-box { border: 0; margin-top: 0; }
  .post { padding-top: 28px; font-size: 16px; }
  .post h1 { font-size: 28px; margin-bottom: 24px; }
}

/* ---------- slideshow ---------- */
.slideshow { position: relative; overflow: hidden; width: 100%; }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slideshow .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slideshow .dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.slideshow .dots button.on { background: #fff; }

/* ---------- FAQ (was the Wix FAQ app) ---------- */
.faq { max-width: 980px; margin: 0 auto; font-family: var(--sans); }
.faq-title { font: 800 32px/1.3 "Nunito Sans", sans-serif; text-align: center; margin: 0 0 24px; color: var(--ink); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: center; border-bottom: 1px solid #ddd; margin-bottom: 18px; }
.faq-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 2px; font: 400 15px/1.3 var(--sans); cursor: pointer; color: #333; }
.faq-tabs button[aria-selected="true"] { border-bottom-color: var(--navy); color: var(--navy); font-weight: 700; }
.faq details { border-bottom: 1px solid #e3e3e3; }
.faq summary { cursor: pointer; padding: 16px 30px 16px 4px; font: 700 16px/1.4 var(--sans); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 4px 18px; font: 300 15px/1.6 var(--sans); }
.faq-a a { color: var(--navy); }
.gallery.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery.strip > * { flex: 0 0 auto; scroll-snap-align: start; }
.gallery.strip img, .gallery.strip video { height: var(--h, 400px); width: auto; max-width: 85vw; aspect-ratio: auto; object-fit: cover; }
.gallery.pro:not(.strip) video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.gallery.strip video { width: auto; aspect-ratio: 16/9; background: #000; }

/* Wix's light theme fonts barely thicken when set to bold; match that look */
:is(.font_0, .font_1, .font_2, .font_7, .font_8, .font_9, .font_10) [style*="font-weight:bold"] { font-weight: 500 !important; }
[style*="font-weight:300"] [style*="font-weight:bold"] { font-weight: 500 !important; }

/* paginated grid gallery (Wix PaginatedGridGallery) */
.pgal { position: relative; }
.pgal .pg-prev, .pgal .pg-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 28px; line-height: 1; cursor: pointer; color: var(--navy); }
.pgal .pg-prev { left: 8px; } .pgal .pg-next { right: 8px; }
.pgal .pg[hidden] { display: none; }
@media (min-width: 768px) { .rt.one > * { white-space: nowrap; } }
@media (min-width: 768px) { .c.fx:has(> a.btn[href^="mailto:"]) { width: max-content !important; min-width: var(--w); } a.btn[href^="mailto:"] { white-space: nowrap; } }
/* media that overhangs its Wix column (render.js place(): .ovh) */
.c.ovh { flex: 0 0 auto; }
.box.mediaplayer { overflow: hidden; }
/* Wix SliderGallery, circle skin: 3 round photos per view with arrows (site.js) */
.carousel { position: relative; padding: 0 2.4%; }
.carousel .track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track > a { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.carousel.circles img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.carousel button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: 0; padding: 0 4px; font: 400 64px/1 var(--sans); color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.7), 0 0 6px rgba(0,0,0,.35); cursor: pointer; }
.carousel .cr-prev { left: 0; } .carousel .cr-next { right: 0; }
@media (max-width: 767px) { .carousel .track > a { flex-basis: 78%; scroll-snap-align: center; } .carousel { padding: 0 20px; } .carousel button { font-size: 48px; } }
/* overhanging media boxes keep Wix's proportions as the page narrows; on tablets they stay inside their column */
@media (min-width: 768px) { .c.ovh > .box { min-height: 0 !important; padding-bottom: 0 !important; height: auto; aspect-ratio: var(--ar); } }
@media (max-width: 767px) { .c.ovh > .box.mediaplayer { min-height: 0 !important; padding-bottom: 0 !important; height: auto; aspect-ratio: var(--ar); } }
@media (min-width: 768px) and (max-width: 999px) { .c.ovh { margin-left: 0 !important; width: 100% !important; } }
/* column whose children overhang it as a group (render.js: .ovh-in) — desktop only */
@media (min-width: 1000px) { .box > .in.ovh-in { margin-left: var(--ml); width: var(--wd); max-width: none; } }
/* transparent icon buttons: single-weight Futura Book shows its bold as regular on live */
.btn.lnk { padding: 0; gap: 10px; font-weight: 500 !important; }
.btn.lnk .bi { width: 46px; height: 46px; margin: -6px 0; }

/* ---------- motion (rebuilt from the Wix page interactions) ----------
   Entrance effects play once as an element scrolls into view (site.js adds .in). Hidden only when
   JS has set html.anim (inline in <head>, before first paint), so nothing flashes or pops;
   reduced-motion visitors and no-JS browsers see everything immediately. */
html.anim [data-anim] {
  --e: cubic-bezier(.22,.61,.36,1);
  transition: opacity var(--d, 1s) var(--e) var(--dl, 0s), translate var(--d, 1s) var(--e) var(--dl, 0s),
              scale var(--d, 1s) var(--e) var(--dl, 0s), clip-path var(--d, 1s) var(--e) var(--dl, 0s);
}
html.anim [data-anim~="FadeIn"] { --e: cubic-bezier(.4,0,.2,1); }
html.anim [data-anim]:not(.in) { opacity: 0; will-change: opacity, translate; }
html.anim [data-anim~="FloatIn"]:not(.in) { translate: 0 60px; }
html.anim [data-anim~="GlitchIn"]:not(.in), html.anim [data-anim~="GlideIn"]:not(.in) { translate: var(--tx, 0) var(--ty, 0); }
html.anim [data-anim~="GrowIn"]:not(.in) { translate: var(--tx, 0) var(--ty, 0); scale: .7; }
html.anim [data-anim~="ShapeIn"] { opacity: 1 !important; }
html.anim [data-anim~="ShapeIn"]:not(.in) { clip-path: circle(0% at 50% 50%); }
html.anim [data-anim~="ShapeIn"].in { clip-path: circle(75% at 50% 50%); }
[data-anim~="Swing"].in, html:not(.anim) [data-anim~="Swing"] { transform-origin: 50% 0; animation: swing var(--ld, 3.5s) ease-in-out infinite; }
@keyframes swing { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }

/* scroll-linked backgrounds (BgParallax / BgReveal / BgFade / BgCloseUp) — site.js moves the layers */
[data-bgfx] { overflow: clip; }
[data-bgfx] > .bgl, [data-bgfx] > .bgv { will-change: translate, scale, opacity; }
[data-bgfx="BgParallax"] > .bgl, [data-bgfx="BgParallax"] > .bgv { top: -20%; bottom: auto; height: 140%; }
[data-bgfx="BgReveal"] > .bgl, [data-bgfx="BgReveal"] > .bgv { bottom: auto; height: 100vh; }

/* lazy images fade in instead of popping */
main img.ld-wait { opacity: 0; }
main img.ld-in { transition: opacity .5s cubic-bezier(.4,0,.2,1); }

/* page-to-page transition (Wix "SlideVertical", softened): old page lifts away, new page slides up */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .3s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.22,.61,.36,1) both; }
@keyframes vt-out { to { opacity: 0; translate: 0 -30px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 50px; } }

@media (prefers-reduced-motion: reduce) {
  [data-anim~="Swing"] { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  main img.ld-wait { opacity: 1; }
}

/* 404 page */
.nf > .in { padding: 120px 20px 140px; text-align: center; }
.nf h1 { color: var(--navy); margin-bottom: 16px; }
.nf .btn { width: auto; margin-top: 28px; padding: 10px 28px; }

/* ---------- QA: interaction states + tap targets ---------- */
/* keyboard focus: white ring + navy halo, visible on both the navy header/footer and white pages */
:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 4px var(--navy); border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible { box-shadow: 0 0 0 4px var(--teal); }
.skip:focus { left: 8px; top: 8px; color: var(--navy); font-weight: 600; }
/* hover: every link/button changes visibly */
.btn:hover { filter: brightness(1.12); }
.btn.lnk:hover > span:last-child, .site-footer a:hover, .post-card:hover h2 { text-decoration: underline; }
.site-footer .social a:hover, .to-top:hover { opacity: .75; }
.slideshow .dots button:hover, .pgal button:hover, .carousel button:hover, .lightbox button:hover { opacity: .75; }
.faq [role="tab"]:hover { text-decoration: underline; }
/* phones: body text never below 16px (polish.js wraps small inline sizes in max(…, var(--fz-min))) */
@media (max-width: 767px) {
  main p, main li { --fz-min: 16px; }
  main .rt p.font_8, main .rt p.font_9, main .rt p.font_10, main .rt li.font_8, main .rt li.font_9, main .rt li.font_10 { font-size: 16px; }
}
/* phones: every control is at least 44×44px to tap (visual size kept where it matters) */
@media (max-width: 767px) {
  .site-footer .social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .to-top { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .slideshow .dots { gap: 0; bottom: 0; }
  .slideshow .dots button { width: 44px; height: 44px; border: 0; background: none; position: relative; }
  .slideshow .dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 1px solid #fff; background: rgba(255,255,255,.4); }
  .slideshow .dots button.on::before { background: #fff; }
  .pgal .pg-prev, .pgal .pg-next { width: 44px; height: 44px; }
  .carousel button { min-width: 44px; min-height: 44px; }
  .btn { min-height: 44px; }
  .faq [role="tab"] { min-height: 44px; }
  .nav .sub a { padding-top: 12px; padding-bottom: 12px; }
  .lightbox button { width: 44px; height: 44px; }
  .site-footer p a { display: inline-block; padding: 12px 0; }
}

/* QA: hover for plain links + image links; map credits readable; tap targets */
main a:not(.btn):hover, .post a:hover, .nav a[aria-current="page"]:hover { text-decoration: underline; }
main a:has(> img):hover, main a:has(> .crop):hover, main a.lb:hover, main a:has(> figure):hover { opacity: .88; text-decoration: none; }
.nav a:hover, .nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.leaflet-container .leaflet-control-attribution a { color: #0a5a7d; }
.brand { min-height: 44px; }
@media (max-width: 767px) {
  .solo { display: inline-block; padding: 9px 0; margin: -9px 0; }
  .post .back, a.back { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
}
.bul { font-family: Arial, Helvetica, sans-serif; }
/* outlined pill buttons with an icon (press page): icon after the label, one line, centred — as on live */
.btn.has-icon[style*="background:rgb(255, 255, 255)"][style*="border:2px"] { flex-direction: row-reverse; justify-content: center; white-space: nowrap; }
.site-footer p a:hover { color: var(--teal); }
@media (max-width: 767px) {
  .solo { --tp: max(0px, calc((44px - 1lh) / 2)); padding-block: var(--tp); margin-block: calc(-1 * var(--tp)); }
}
/* tablets (768–999px): text-only overlap stacks flow top-to-bottom like phones, so wrapped text
   can't run into the next layer (stacks that put text over pictures keep their layout) */
@media (min-width: 768px) and (max-width: 999px) {
  .stk:not(:has(img, video, svg, iframe, canvas, .slideshow, .gallery, .map, .bgl, .bgv)) { min-height: 0 !important; }
  .stk:not(:has(img, video, svg, iframe, canvas, .slideshow, .gallery, .map, .bgl, .bgv)) > .sl { position: relative; top: auto !important; left: auto !important; width: auto !important; margin-top: 10px; }
  .stk:not(:has(img, video, svg, iframe, canvas, .slideshow, .gallery, .map, .bgl, .bgv)) > .sl:first-child { margin-top: 0; }
}
/* stack "cards" (render.js): background shape behind text that flows, so the card grows with its text */
.sl.card { display: flow-root; box-sizing: border-box; }
.card-bg { position: absolute; inset: 0; z-index: 0; }
.card-bg > .vi, .card-bg > .box { width: 100%; height: 100%; aspect-ratio: auto !important; }
.card-bg > .vi svg { width: 100%; height: 100%; }
.card-t { position: relative; z-index: 1; }
@media (max-width: 767px) { .sl.card { padding: 16px 20px !important; min-height: 0 !important; } .card-t { margin-left: 0 !important; width: auto !important; } .card-t + .card-t { margin-top: 10px !important; } }
@media (max-width: 767px) { .blog-bar a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 767px) { .post a:has(> img) { display: inline-block; min-height: 44px; } }
/* map pin popups (as the Wix map): title, description, Learn More, Directions */
.pin-pop { font: 400 15px/1.5 Roboto, Arial, sans-serif; color: #000; }
.pin-pop a { color: #1a0dab; text-decoration: underline; display: inline-block; min-height: 24px; }
.pin-pop a:hover { color: #0a0670; }
@media (max-width: 767px) { .pin-pop a { min-height: 44px; display: inline-flex; align-items: center; } }
/* map pins: navy teardrop (divIcon), no default Leaflet box */
.leaflet-marker-icon.map-pin { background: none; border: 0; }
.map-pin svg { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
/* compact location card */
.leaflet-popup-content-wrapper { border-radius: 10px; }
.leaflet-popup-content { margin: 10px 30px 10px 14px; }
.pin-pop { font-size: 13px; line-height: 1.4; }
.pin-pop .pin-title { display: block; font-weight: 700; font-size: 14px; color: var(--navy); }
.pin-pop .pin-desc { display: block; color: #333; margin-top: 2px; }
.pin-pop .pin-links { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 4px; }
@media (max-width: 767px) { .leaflet-popup-content { margin: 8px 28px 4px 12px; } .pin-pop .pin-links { margin-top: 0; } }

/* Movatic banner above the header (scrolls away; the header stays sticky) */
.mv-banner { background: #1D2B4C; color: #fff; text-align: center; padding: 16px 16px; font: 700 14px/1.3 'Nunito Sans', sans-serif; }
.mv-banner p { margin: 0; }
.mv-banner a { display: inline-block; margin-left: 4px; border-radius: 2px; transition: opacity .2s; }
.mv-banner a:hover { opacity: .8; }
.mv-banner a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* logo bottom sits on the text baseline; its lowercase letters are about the text's cap height */
.mv-banner img { display: inline; height: 12px; width: auto; vertical-align: baseline; }
@media (max-width: 767px) { .mv-banner { font-size: 13px; padding: 12px 16px; } .mv-banner img { height: 11px; } }

/* ---------- app-store badges: same visible height, cropped to the badge, centred as a pair ---------- */
/* artwork padding: Apple 88/483 px of a 1200x483 image, Google 39/465 of 1200x465 */
.r.badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 16px; --bh: 46px; }
.r.badges > .c { width: auto !important; margin: 0 !important; flex: 0 0 auto; }
.r.badges .ph { margin: 0; overflow: hidden; line-height: 0; border-radius: calc(var(--bh) * .17); }
/* combined image: each 204x73 crop holds one badge at 77.6% of its height, 3.6% white each side */
.r.badges .c:has(img.sb-combo) { margin: 0 calc(var(--bh) * -.13) !important; }
.r.badges .ph:has(img.sb-combo) { width: calc(var(--bh) / .7764 * 204 / 73); border-radius: 0; }
img.sb-combo { max-width: none; }
.r.badges img.sb:not(.sb-combo) { display: block; width: auto !important; max-width: none; aspect-ratio: auto !important; object-fit: contain !important; }
.r.badges img.sb-apple { height: calc(var(--bh, 46px) * 1.5733) !important; margin: calc(var(--bh, 46px) * -.2866); }
.r.badges img.sb-google { height: calc(var(--bh, 46px) * 1.2016) !important; margin: calc(var(--bh, 46px) * -.1008); }
@media (min-width: 768px) and (max-width: 1000px) { .r.badges { --bh: 40px; gap: 12px; } }
@media (max-width: 767px) { .r.badges { --bh: 44px; margin-top: 22px !important; } .r.badges > .c + .c { margin-top: 0 !important; } }

/* ---------- phones: small images keep desktop proportion; logo strips wrap; no desktop vertical offsets ---------- */
@media (max-width: 767px) {
  .c.lg { width: min(var(--pw), 100%) !important; margin-left: auto !important; margin-right: auto !important; }
  .r.logos { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 24px; }
  .r.logos > .c.lg { margin: 0 !important; }
  /* desktop columns are nudged down (margin-top) to line up side by side; stacked on a phone that's just a gap */
  .r > .c { margin-top: 0 !important; }
  .r > .c + .c, .r > .stk + .c { margin-top: 18px !important; }
  .r.logos > .c + .c, .r.badges > .c + .c { margin-top: 0 !important; }
}

/* ---------- standard "How to Ride" (every location page, scripts/lib/howto.js) ---------- */
/* --hc is the page's own section-heading colour (its RATES heading) */
.howto > .in { padding-top: 48px; padding-bottom: 56px; }
.howto.hr-inline { padding: 48px 0 56px; }
.howto .hr-head { text-align: center; margin-bottom: 40px; }
.howto .hr-head > * { margin: 0; text-align: center; }
.howto .hr-h { color: var(--hc); font: 700 clamp(18px, 3.056vw, 44px)/1.2 'Nunito Sans', sans-serif; letter-spacing: .2em; }
.hr-list { --bw: 94px; --iw: 124px; list-style: none; margin: 0 auto; padding: 0; max-width: 870px; position: relative; }
.hr-list::before { content: ""; position: absolute; left: calc(var(--bw) / 2 - 1px); top: -24px; bottom: 0; border-left: 2px solid var(--hc); }
.hr-row { position: relative; display: grid; grid-template-columns: var(--bw) minmax(0, 1fr) var(--iw); column-gap: 26px; align-items: start; padding: 26px 0 30px; }
.hr-row + .hr-row::before { content: ""; position: absolute; left: calc(var(--bw) / 2 + 12px); right: 0; top: 0; border-top: 1px dashed rgb(207, 200, 200); }
.hr-badge { position: relative; z-index: 1; height: 44px; margin-top: 2px; border-radius: 4px; background: var(--hc); color: var(--hct, #fff); display: flex; align-items: center; justify-content: center;
  font: 700 16px/1 Montserrat, 'Nunito Sans', sans-serif; letter-spacing: .02em; white-space: nowrap; }
.hr-alert { display: block; width: 22px; height: 22px; }
.hr-alert svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.hr-t { margin: 4px 0 10px; color: #324158; font: 800 clamp(18px, 1.667vw, 24px)/1.2 'Nunito Sans', sans-serif; letter-spacing: .01em; }
.hr-body ul { list-style: disc; margin: 0; padding-left: 22px; font: 300 16px/1.75 Jost, sans-serif; color: #000; }
.hr-body li { margin: 0; list-style: disc; }
.hr-body a { color: inherit; }
.hr-icon { color: var(--hc); display: flex; justify-content: center; padding-top: 6px; }
.hr-icon svg { display: block; width: 72px; height: auto; fill: currentColor; }
.hr-icon.wide svg { width: 124px; }
@media (max-width: 767px) {
  .howto > .in { padding-top: 28px; padding-bottom: 28px !important; }
  .howto.hr-inline { padding: 28px 0; }
  .howto .hr-head { margin-bottom: 20px; }
  .hr-list { --bw: 64px; --iw: 54px; }
  .hr-list::before { top: -8px; }
  .hr-row { column-gap: 14px; padding: 18px 0 20px; }
  .hr-badge { height: 30px; font-size: 12px; border-radius: 3px; }
  .hr-alert { width: 16px; height: 16px; }
  .hr-t { margin: 3px 0 8px; font-size: 18px; }
  .hr-body ul { padding-left: 18px; font-size: 16px; line-height: 1.5; }
  .hr-body li + li { margin-top: 4px; }
  .hr-icon { padding-top: 2px; }
  .hr-icon svg { width: 40px; }
  .hr-icon.wide svg { width: 54px; }
}
