/* Schoolbus — shared styles */
/* Self-hosted fonts (latin subset, variable weight): no third-party requests */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../assets/fonts/urbanist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cyan: #30C2DC;
  --cyan-hover: #22AFC9;
  --cyan-tint: #E6F7FB;
  --teal: #14677A;
  --navy: #0F1B2D;
  --navy-2: #16263B;
  --navy-3: #1D3149;
  --char: #2B3440;
  --muted: #566274;
  --bg: #F7F8FA;
  --line: #E2E6EC;
  --white: #fff;
  --yellow: #F6B93B;
  --red: #C93C3C;
  --green: #1F8A5B;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 10px 28px rgba(15, 27, 45, .07);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05), 0 4px 12px rgba(15, 27, 45, .05);
  --font-h: 'Urbanist', 'Avenir Next', system-ui, sans-serif;
  --font-b: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 88px;
  --gutter: clamp(20px, 4vw, 40px);
  --pad: max(var(--gutter), 6vw); /* side margin: 6vw each side = content is 88% of the viewport */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-b); font-size: 1rem; line-height: 1.6;
  color: var(--char); background: var(--white); -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.375rem, 5.32vw, 4.18rem); line-height: 1.03; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.42vw, 2.85rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }
/* content is ~88% of the viewport (6vw side margins, never under the gutter) and at most 1600px wide */
.container { width: 100%; max-width: calc(1600px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 .94rem/1 var(--font-b); padding: .88rem 1.4rem; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--cyan); color: var(--navy); }
.btn--primary:hover { background: var(--cyan-hover); box-shadow: 0 6px 18px rgba(48, 194, 220, .35); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--outline-dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .62rem 1.05rem; font-size: .88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
#site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-h); }
.site-header { position: relative; background: #fff; box-shadow: 0 1px 0 transparent; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 2px 14px rgba(15,27,45,.05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem/1 var(--font-h); color: var(--navy); letter-spacing: -.02em; }
.logo-icon { display: block; flex: none; width: 40px; height: 40px; }
.logo-word { display: block; flex: none; width: auto; height: 22px; }
.site-header .logo { gap: 12px; }
.site-header .logo-icon { width: 50px; height: 50px; }
.site-header .logo-word { height: 30px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a.nav-link { position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 32px 13px; font-size: 1.08rem; font-weight: 500; text-decoration: none; color: var(--char); transition: color .2s; }
.nav a.nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 24px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--navy); }
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-link[aria-current="page"] { font-weight: 700; }
.nav .chev { width: 16px; height: 16px; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% - 8px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .93rem; text-decoration: none; color: var(--char); }
.sub a:hover { background: var(--bg); color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { font-size: 1.04rem; padding: 1.02rem 1.75rem; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; color: var(--navy); place-items: center; }
.menu-toggle .icon { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; transition: opacity .2s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.menu-toggle { position: relative; }
.menu-toggle .i-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.menu-toggle[aria-expanded="true"] .i-close { opacity: 1; transform: none; }
.menu-toggle[aria-expanded="true"] .i-menu { opacity: 0; transform: rotate(90deg) scale(.5); }

.nav-backdrop { display: none; }
@media (min-width: 1400px) { .nav .nav-cta { display: none; } }
@media (min-width: 1400px) and (max-width: 1599px) {
  .header-inner { gap: 12px; }
  .site-header .logo { gap: 10px; }
  .site-header .logo-icon { width: 46px; height: 46px; }
  .site-header .logo-word { height: 27px; }
  .brand-by { gap: 8px; } .by-text { font-size: 1rem; }
  .nav a.nav-link { padding-left: 8px; padding-right: 8px; font-size: 1rem; }
  .nav a.nav-link::after { left: 8px; right: 8px; }
  .header-cta .btn { padding: .9rem 1.25rem; font-size: 1rem; }
}
@media (max-width: 1399px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .nav { position: fixed; z-index: 2; top: calc(var(--header-h) + 8px); right: 12px; width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - var(--header-h) - 24px); max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(15, 27, 45, .18); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 85% 0; transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a.nav-link { display: flex; padding: 14px 16px; border-radius: 10px; font-size: 1.1rem; }
  .nav a.nav-link:hover { background: var(--bg); }
  .nav a.nav-link::after { display: none; }
  .nav a.nav-link[aria-current="page"] { background: var(--cyan-tint); color: var(--teal); }
  .nav .has-sub { display: block; }
  .nav .chev, .sub { display: none; }
  .nav .nav-cta { display: inline-flex; margin: 8px 6px 6px; }
  .nav-backdrop { display: block; position: fixed; z-index: 1; inset: var(--header-h) 0 0 0; background: rgba(15, 27, 45, .35); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--navy); color: #C9D3E0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead, .page-hero .lead { color: #AEBBCC; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4.4vw, 48px); flex-wrap: wrap; }
.section-head h2 { max-width: 20ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 22ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--cyan); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.check-list .icon { color: var(--teal); margin-top: 3px; width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.section--dark .check-list .icon, .page-hero .check-list .icon { color: var(--cyan); }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cyan-tint); color: var(--teal); }
.tag--note { background: #FFF6DC; color: #7A5600; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-tint); color: var(--teal); display: grid; place-items: center; }
.icon-box .icon { width: 22px; height: 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; overflow: hidden; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 60px; }
.crumbs { list-style: none; padding: 0; display: flex; gap: 10px; font-size: .88rem; color: #8FA0B6; margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs { flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(2.19rem, 4.56vw, 3.61rem); color: #fff; margin-bottom: 20px; }
.page-hero .lead { max-width: 46ch; }
.hero-art { min-width: 0; }
@media (max-width: 860px) { .page-hero .container { grid-template-columns: 1fr; } .hero-art { max-width: 480px; } }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero .container { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--teal); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(48,194,220,.25); }
.hero h1 { margin-bottom: 22px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .container > div { max-width: 640px; }

.hero .lead { color: #E3EAF2; }
.hero-badge { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.28) !important; backdrop-filter: blur(6px); }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero .lead { margin-bottom: 28px; max-width: 46ch; font-size: 1.06rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: .88rem; font-weight: 500; color: #fff; }
.hero-points li { display: flex; gap: 8px; align-items: center; }
.hero-points .icon { color: var(--cyan); width: 1.05em; height: 1.05em; stroke-width: 2.4; }
/* desktop: nudge the copy block left (up to 260px, never closer than 59px to the screen edge) */
@media (min-width: 1025px) {
  .hero .container > div { margin-left: calc(-1 * clamp(0px, (100vw - min(100vw, 1600px + 2 * var(--pad))) / 2 + var(--pad) - 59px, 260px)); max-width: 715px; }
  .hero h1 { font-size: clamp(2.8rem, 6.25vw, 4.9rem); margin-bottom: 24px; }
  .hero-badge { font-size: .94rem; padding: 7.5px 16px; margin-bottom: 28px; gap: 9px; }
  .hero-badge i { width: 8px; height: 8px; box-shadow: 0 0 0 5px rgba(48,194,220,.25); }
  .hero .lead { font-size: 1.25rem; margin-bottom: 34px; }
  .hero .btn { font-size: 1.1rem; padding: 1.06rem 1.74rem; }
  .hero .btn-row { gap: 16px; }
  .hero-points { font-size: 1.04rem; gap: 12px 28px; margin-top: 32px; }
}

/* ---------- Hero scene (driven by js/hero-scene.js) ---------- */
.hero-scene { width: 100%; max-width: 680px; justify-self: end; aspect-ratio: 640 / 420; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hero-scene--video { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; aspect-ratio: auto; justify-self: auto; -webkit-mask-image: none; mask-image: none; border-radius: 0; box-shadow: none; overflow: hidden; }
.hero-scene--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,45,.82) 0%, rgba(15,27,45,.55) 55%, rgba(15,27,45,.3) 100%); }
@media (max-width: 900px) { .hero-scene--video::after { background: rgba(15,27,45,.68); } }
.hero-scene--video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; background: var(--navy); }
.hero-scene svg { width: 100%; height: auto; display: block; overflow: hidden; transition: opacity .6s ease; }
.hero-scene.is-resetting svg { opacity: 0; }
.hs-pin { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(8px) scale(.4); transition: opacity .5s ease, transform .7s cubic-bezier(.2, 1.25, .35, 1); }
.hs-stop.is-near .hs-pin { opacity: 1; transform: none; }
.hs-pin-body { fill: #fff; stroke: #30C2DC; stroke-width: 2.2; transition: fill .45s ease, stroke .45s ease; }
.hs-pin-dot { fill: #30C2DC; transition: fill .45s ease; }
.hs-stop.is-active .hs-pin-body { fill: #30C2DC; }
.hs-stop.is-done .hs-pin-body { fill: #8FDBEA; stroke: #8FDBEA; }
.hs-stop.is-active .hs-pin-dot, .hs-stop.is-done .hs-pin-dot { fill: #fff; }
.hs-ring { fill: none; stroke: #30C2DC; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hs-stop.is-active .hs-ring { animation: hs-ring 2.4s ease-out infinite; }
.hs-gring { fill: #30C2DC; opacity: 0; transition: opacity .4s ease; }
.hs-stop.is-active .hs-gring { opacity: .35; }
.hs-check { opacity: 0; transition: opacity .4s ease; }
.hs-school.is-active .hs-check, .hs-school.is-done .hs-check { opacity: 1; }
.hs-eyes { transform-box: fill-box; transform-origin: center; animation: hs-blink 5.2s infinite; }
.hs-m2, .hs-hand { opacity: 0; transition: opacity .3s ease; }
.hs-m1 { transition: opacity .3s ease; }
.hs-bus.is-halted .hs-m1 { opacity: 0; }
.hs-bus.is-halted .hs-m2, .hs-bus.is-halted .hs-hand { opacity: 1; }
.hs-hand { transform-box: fill-box; transform-origin: 50% 100%; }
.hs-bus.is-halted .hs-hand { animation: hs-wave .7s ease-in-out infinite alternate; }
.hs-brake { opacity: 0; transition: opacity .2s ease; }
.hs-bus.is-braking .hs-brake { opacity: .55; }
.hs-flag { transform-box: fill-box; transform-origin: 0 50%; animation: hs-flag 3.2s ease-in-out infinite alternate; }
.hs-dot { fill: #fff; stroke: #B8D2DB; stroke-width: 1.5; transition: fill .4s ease, stroke .4s ease; }
.hs-dot.is-done { fill: #30C2DC; stroke: #30C2DC; }
.hs-dot-check { opacity: 0; transition: opacity .4s ease; }
.hs-dot-check.is-done { opacity: 1; }
@keyframes hs-ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2); opacity: 0; } }
@keyframes hs-blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }
@keyframes hs-wave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes hs-flag { from { transform: scaleX(1) skewY(0); } to { transform: scaleX(.9) skewY(3deg); } }

/* ---------- SVG scene shared ---------- */
.scene .road-base { fill: none; stroke: var(--navy); stroke-width: 40; stroke-linecap: round; }
.scene .road-edge { fill: none; stroke: #2A3F5A; stroke-width: 46; stroke-linecap: round; }
.scene .road-dash { fill: none; stroke: #fff; stroke-opacity: .55; stroke-width: 2.5; stroke-dasharray: 10 14; animation: dashflow 1.4s linear infinite; }
.scene .route-trail { fill: none; stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; }
.scene .block { fill: #EEF1F5; }
.scene .block-2 { fill: #E4EAF0; }
.scene .water { fill: none; stroke: #CFEAF3; stroke-width: 34; stroke-linecap: round; }
.scene .park { fill: #DDEFE4; }
.scene .tree { fill: #A9D8BD; }
.scene .trunk { fill: #86B79C; }
.scene--dark .block { fill: #16273D; }
.scene--dark .block-2 { fill: #1A2D45; }
.scene--dark .road-base { stroke: #22385A; }
.scene--dark .road-edge { stroke: #2C4569; }
.scene--dark .tree { fill: #1F4A4F; }
.scene .pin-shape { fill: var(--cyan); }
.scene .pin-dot { fill: #fff; }
.scene .pin.alt .pin-shape { fill: #fff; }
.scene .pin.alt .pin-dot { fill: var(--navy); }
.scene:not(.scene--dark) .pin.alt .pin-shape { fill: var(--navy); }
.scene:not(.scene--dark) .pin.alt .pin-dot { fill: #fff; }
.scene .pin-ring { fill: var(--cyan); opacity: .22; transform-box: fill-box; transform-origin: center; }
.scene .pin.alt .pin-ring { animation: pulse 3.4s ease-out infinite; }
.scene .pin-bob { animation: bob 2.4s ease-in-out infinite; }
.scene .stop-dot { fill: var(--teal); stroke: #fff; stroke-width: 3; }
.scene .stop-num { fill: #fff; font: 700 14px var(--font-h); text-anchor: middle; dominant-baseline: central; }
.scene .stop-dot.done { fill: var(--teal); }
.scene .stop-dot.todo { fill: var(--navy); }
.scene .stop-dot.next { fill: var(--cyan); }
.scene .stop-num.next { fill: var(--navy); }
.scene .route-bus { transition: opacity .4s; }
@keyframes dashflow { to { stroke-dashoffset: -48; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Highlights ---------- */
.highlights { background: #fff; border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; gap: 16px; padding: 36px 28px; border-left: 1px solid var(--line); }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight h3 { font-size: 1.05rem; margin-bottom: 6px; }
.highlight p { font-size: .92rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } .highlight:nth-child(3) { border-left: 0; padding-left: 0; } .highlight { border-top: 1px solid var(--line); } .highlight:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 560px) { .highlights-grid { grid-template-columns: 1fr; } .highlight { border-left: 0; padding-left: 0; border-top: 1px solid var(--line) !important; } .highlight:first-child { border-top: 0 !important; } }

/* ---------- Feature grid (hairline) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.feature-cell { padding: 34px 28px 38px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transition: background .25s; position: relative; }
.feature-cell:hover { background: #FAFCFD; }
.feature-cell .icon-box { margin-bottom: 40px; transition: transform .25s, background .25s; }
.feature-cell:hover .icon-box { background: var(--cyan); color: var(--navy); transform: translateY(-2px); }
.feature-cell h3 { margin-bottom: 10px; }
.feature-cell p { font-size: .95rem; color: var(--muted); }
.feature-grid .feature-cell:nth-child(-n+4) { border-top: 0; }
.feature-grid .feature-cell:nth-child(4n+1) { border-left: 0; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } .feature-grid .feature-cell:nth-child(-n+4) { border-top: 1px solid var(--line); } .feature-grid .feature-cell:nth-child(-n+2) { border-top: 0; } .feature-grid .feature-cell:nth-child(4n+1) { border-left: 1px solid var(--line); } .feature-grid .feature-cell:nth-child(2n+1) { border-left: 0; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid .feature-cell { border-left: 0 !important; border-top: 1px solid var(--line) !important; } .feature-grid .feature-cell:first-child { border-top: 0 !important; } .feature-cell .icon-box { margin-bottom: 24px; } }

/* ---------- Steps (road band) ---------- */
.band { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; margin-bottom: 28px; }
.band svg { width: 100%; height: auto; }
@media (max-width: 700px) { .band svg { height: 120px; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 28px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cyan); font: 800 1.05rem var(--font-h); display: grid; place-items: center; margin-bottom: 22px; position: relative; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Role columns (home) ---------- */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.role { padding: 28px 24px 8px 0; border-top: 3px solid var(--line); margin-right: 24px; transition: border-color .25s; }
.role:last-child { margin-right: 0; }
.role:hover { border-top-color: var(--cyan); }
.role .icon-box { margin-bottom: 22px; }
.role h3 { margin-bottom: 10px; }
.role p { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.role .link-arrow { font-size: .92rem; }
@media (max-width: 1100px) { .roles { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } .role { margin-right: 24px; } .role:nth-child(3n) { margin-right: 0; } }
@media (max-width: 700px) { .roles { grid-template-columns: 1fr; } .role { margin-right: 0 !important; } }

/* ---------- Phones ---------- */
.phone { position: relative; background: var(--navy); border-radius: 38px; padding: 9px; box-shadow: 0 24px 50px rgba(15,27,45,.22), 0 2px 6px rgba(15,27,45,.2); width: 100%; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #fff; aspect-ratio: 393 / 852; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--scroll .phone-screen { overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.phone--scroll .phone-screen img { height: auto; }
.phone-caption { margin-top: 22px; font-size: .92rem; color: var(--muted); text-align: center; max-width: 30ch; margin-inline: auto; }
.phone-caption b { display: block; color: var(--navy); font-family: var(--font-h); font-size: 1.02rem; margin-bottom: 2px; }
.scroll-hint { display: block; text-align: center; font-size: .78rem; color: var(--muted); margin-top: 12px; }
.section--dark .phone-caption { color: #AEBBCC; }
.section--dark .phone-caption b { color: #fff; }

.compose { display: flex; justify-content: center; align-items: center; }
.compose .phone { max-width: 250px; }
.compose .phone:nth-child(1) { transform: rotate(-3deg) translateX(34px); z-index: 1; }
.compose .phone:nth-child(2) { max-width: 292px; z-index: 3; }
.compose .phone:nth-child(3) { transform: rotate(3deg) translateX(-34px); z-index: 2; }
.compose .phone { box-shadow: 0 24px 50px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); }
@media (max-width: 560px) { .compose .phone:nth-child(1) { transform: translateX(24px) rotate(-3deg); } .compose .phone:nth-child(3) { transform: translateX(-24px) rotate(3deg); } .compose .phone { max-width: 34vw; } .compose .phone:nth-child(2) { max-width: 40vw; } .phone { border-radius: 22px; padding: 5px; } .phone-screen { border-radius: 17px; } }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 24px; }
.split .check-list { margin-bottom: 30px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--cyan); color: var(--navy); position: relative; overflow: hidden; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(72px, 8vw, 104px); }
.cta h2 { color: var(--navy); max-width: 20ch; margin-bottom: 14px; }
.cta p { font-size: 1.1rem; color: #10303B; max-width: 46ch; }
.next-step { background: #fff; border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; }
.next-step .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.next-step h2 { font-size: clamp(1.43rem, 2.47vw, 1.9rem); margin-bottom: 8px; }
.next-step p { color: var(--muted); max-width: 52ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cta-road { position: absolute; left: 0; right: 0; bottom: 26px; height: 3px; background-image: linear-gradient(90deg, var(--navy) 55%, transparent 0); background-size: 28px 3px; opacity: .55; animation: roadmove 1.2s linear infinite; }
@keyframes roadmove { to { background-position: -28px 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEBBCC; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .logo { margin-bottom: 20px; }
.site-footer .logo-icon { width: 46px; height: 46px; }
.site-footer .logo-word { height: 27px; }
.footer-about { max-width: 34ch; font-size: .95rem; margin-bottom: 24px; }
.site-footer .fh { font: 700 .95rem var(--font-h); color: #fff; margin: 0 0 18px; }
.footer-note { font-size: .94rem; max-width: 30ch; }
.site-footer .footer-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer li { margin-bottom: 11px; font-size: .94rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tabs-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.tablist { display: flex; flex-direction: column; border-left: 2px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.tab { display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0; border-left: 2px solid transparent; margin-left: -2px; padding: 14px 18px; font: 600 1rem var(--font-b); color: var(--muted); cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.tab:hover { color: var(--navy); background: rgba(48,194,220,.06); }
.tab[aria-selected="true"] { color: var(--navy); border-left-color: var(--cyan); background: #fff; }
.tab .icon { color: var(--teal); }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; animation: fadein .35s ease; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.8rem; margin: 14px 0 12px; }
.tabpanel .lead { font-size: 1.02rem; margin-bottom: 20px; }
.panel-visual { display: grid; place-items: center; background: var(--bg); border-radius: 14px; padding: 28px; min-height: 280px; }
.panel-visual .phone { max-width: 220px; }
.mini-list { display: grid; gap: 10px; width: 100%; }
.mini-list div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.mini-list .icon { color: var(--teal); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .tabs-layout { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); position: static; scrollbar-width: none; }
  .tab { border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -2px; white-space: nowrap; }
  .tab[aria-selected="true"] { border-bottom-color: var(--cyan); background: none; }
  .tabpanel { grid-template-columns: 1fr; }
}

/* ---------- Scope / capability lists ---------- */

/* ---------- Live tracking ---------- */
.trip { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.trip-map { position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.trip-map { background: #F4F6F9; }
.trip-map svg { width: 100%; height: 100%; min-height: 320px; display: block; }
.map-label { position: absolute; top: 16px; left: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .78rem; color: var(--muted); box-shadow: var(--shadow-sm); line-height: 1.3; }
.map-label b { display: block; color: var(--navy); font-family: var(--font-h); font-size: .95rem; }
.trip-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.trip-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.trip-top small { color: var(--muted); font-size: .8rem; }
.trip-top h3 { font-size: 1.35rem; }
.status-pill { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--cyan-tint); color: var(--teal); white-space: nowrap; }
.status-pill.done { background: #E3F5EC; color: var(--green); }
.status-pill.idle { background: var(--bg); color: var(--muted); }
.progress-row { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 8px; color: var(--muted); }
.progress-row b { color: var(--navy); }
.progress { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-bottom: 22px; }
.progress i { display: block; height: 100%; width: 0; background: var(--cyan); border-radius: 99px; transition: width .18s linear; }
.stop-list { display: grid; gap: 10px; margin-bottom: 20px; }
.stop-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid transparent; font-size: .95rem; transition: background .3s, border-color .3s; }
.stop-item .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .85rem var(--font-h); display: grid; place-items: center; flex: none; }
.stop-item b { flex: 1; color: var(--navy); font-weight: 600; }
.stop-item > span:last-child { font-size: .82rem; color: var(--muted); }
.stop-item.covered .n { background: var(--teal); }
.stop-item.next { background: var(--cyan-tint); border-color: var(--cyan); }
.stop-item.next .n { background: var(--cyan); color: var(--navy); }
.stop-item.next > span:last-child { color: var(--teal); font-weight: 600; }
.trip-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.trip-note { font-size: .78rem; color: var(--muted); margin-top: 16px; line-height: 1.5; }
@media (max-width: 900px) { .trip { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; }
.flow-node { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px 18px; position: relative; }
.flow-node b { display: block; font: 700 1rem var(--font-h); color: #fff; margin-bottom: 4px; }
.flow-node span { font-size: .85rem; color: #94A5BB; line-height: 1.4; display: block; }
.flow-node + .flow-node { margin-left: 34px; }
.flow-node + .flow-node::before { content: ""; position: absolute; left: -34px; top: 50%; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 5px, transparent 5px 9px); }
.flow-node + .flow-node::after { content: ""; position: absolute; left: -9px; top: calc(50% - 4px); border: 5px solid transparent; border-left: 7px solid var(--cyan); border-right: 0; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; gap: 34px; } .flow-node + .flow-node { margin-left: 0; } .flow-node + .flow-node::before { left: 50%; top: -34px; width: 2px; height: 34px; background: repeating-linear-gradient(180deg, var(--cyan) 0 5px, transparent 5px 9px); } .flow-node + .flow-node::after { left: calc(50% - 4px); top: -9px; border: 5px solid transparent; border-top: 7px solid var(--cyan); border-bottom: 0; } }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #D3D9E2; }
.card .icon-box { margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--muted); }
.card .tag { margin-bottom: 18px; }
@media (max-width: 1000px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-4, .cols-3 { grid-template-columns: 1fr; } }

/* ---------- How it works timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(56px, 8vw, 96px); }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
.stage { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; }
.stage-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cyan); font: 800 1.3rem var(--font-h); display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; }
.section--alt .stage-num { box-shadow: 0 0 0 8px var(--bg); }
.stage-body > * { min-width: 0; }
.stage-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.stage-body h2 { font-size: clamp(1.71rem, 2.85vw, 2.28rem); margin-bottom: 16px; }
.stage-body .lead { margin-bottom: 20px; font-size: 1.02rem; }
.stage-visual { display: flex; justify-content: center; gap: 18px; background: var(--bg); border-radius: 18px; padding: 32px 24px; }
.section--alt .stage-visual { background: #fff; border: 1px solid var(--line); }
.stage-visual .phone { max-width: 220px; }
.stage-visual--art { align-items: center; }
.stage-visual--art img { display: block; width: 100%; max-width: 440px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.map-diagram { display: grid; gap: 12px; width: 100%; max-width: 380px; align-self: center; }
.map-row { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: center; }
.map-chip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 10px; text-align: center; font-size: .86rem; font-weight: 600; color: var(--navy); }
.map-chip .icon { display: block; margin: 0 auto 6px; color: var(--teal); width: 22px; height: 22px; }
.map-link { height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 5px, transparent 5px 9px); }
.map-cap { text-align: center; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
  .stage { grid-template-columns: 40px 1fr; gap: 16px; } .stage-num { width: 40px; height: 40px; font-size: 1rem; box-shadow: 0 0 0 6px #fff; } .timeline::before { left: 19px; }
  .stage-body { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .timeline::before { display: none; }
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .stage-visual { flex-direction: column; align-items: center; padding: 24px 16px; }
  .stage-visual .phone { max-width: min(220px, 70vw); }
  .map-row { grid-template-columns: 1fr 14px 1fr 14px 1fr; }
  .map-chip { padding: 12px 4px; font-size: .78rem; }
}

/* ---------- Solutions ---------- */
:root { --rolenav-h: 62px; }
.role-nav { position: sticky; top: var(--header-h); z-index: 90; min-height: var(--rolenav-h); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.role-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.role-nav li { flex: none; scroll-snap-align: start; }
.role-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; color: var(--muted); transition: background .2s, color .2s; }
.role-nav a:hover { color: var(--navy); background: var(--bg); }
.role-nav a.is-active { background: transparent; color: #fff; }
.role-nav ul { position: relative; }
.role-nav a { position: relative; z-index: 1; }
.role-indicator { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--navy); pointer-events: none; opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), height .3s ease, opacity .2s ease; }
.role-nav ul.has-ind .role-indicator { opacity: 1; }
.role-indicator.no-anim { transition: none; }
.role-section { scroll-margin-top: calc(var(--header-h) + var(--rolenav-h) + 8px); padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.role-section:last-of-type { border-bottom: 0; }
.role-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); }
.role-grid .idx { font: 800 .9rem var(--font-h); color: var(--teal); letter-spacing: .1em; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.role-grid h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3.04vw, 2.47rem); }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-content: start; }
.modules h3 { grid-column: 1 / -1; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.modules li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.modules li b { display: block; color: var(--navy); font-family: var(--font-h); font-size: 1rem; }
.modules li span { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .role-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }

/* ---------- App preview ---------- */
.group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.group-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cyan); font: 800 1.05rem var(--font-h); display: grid; place-items: center; }
.group-head .eyebrow { margin: 0; }
.group-title { margin-bottom: 16px; max-width: 18ch; }
.group-lead { max-width: 52ch; margin-bottom: 48px; }
.phones-row { display: flex; justify-content: center; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; align-items: flex-start; }
.phones-row figure { margin: 0; width: min(100%, 340px); }
.phones-row figure.sm { width: min(100%, 320px); }
.phones-row .phone--scroll .phone-screen { max-height: 700px; aspect-ratio: auto; height: 700px; }
@media (max-width: 480px) { .phones-row .phone--scroll .phone-screen { height: 560px; } }

/* ---------- About ---------- */
.value-list { border-top: 1px solid var(--line); }
.value { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value h3 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .95rem; }
.pairs { margin: 0; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pair dt { font: 700 1.05rem var(--font-h); color: var(--navy); letter-spacing: -.01em; }
.pair dd { margin: 0; padding-left: 30px; position: relative; color: var(--muted); }
.pair dd::before { content: ""; position: absolute; left: 0; top: .78em; width: 18px; height: 2px; background: var(--cyan); }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; gap: 6px; } .pair dd { padding-left: 0; } .pair dd::before { display: none; } }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--navy); background: #fff; border: 1.5px solid #C9D2DE; border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9FB0C4; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(48,194,220,.2); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #FFFAFA; }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(201,60,60,.15); }
.field-error { display: block; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-4px); color: var(--red); font-size: .85rem; margin-top: 0; font-weight: 500; transition: max-height .25s ease, opacity .25s ease, transform .25s ease, margin-top .25s ease; }
.field.has-error .field-error { max-height: 60px; opacity: 1; transform: none; margin-top: 7px; }
.req { color: var(--red); font-weight: 700; margin-left: 2px; }
#enquiry-form button[type="submit"]:disabled:not(.is-loading) { background: #D5DBE4; border-color: #D5DBE4; color: #7A8699; opacity: 1; box-shadow: none; transform: none; cursor: not-allowed; }
#enquiry-form button.is-loading { opacity: .85; }
#enquiry-form button.is-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button:disabled { opacity: .65; cursor: not-allowed; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.alert { display: none; border-radius: 12px; padding: 16px 18px; font-size: .94rem; margin-bottom: 24px; }
.alert.is-shown { display: block; }
.alert--error { background: #FDF0F0; border: 1px solid #F2C4C4; color: #8A2323; }
.alert--error ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.alert--error a { color: inherit; font-weight: 600; }
.success-state { display: none; text-align: left; }
.success-state.is-shown { display: block; }
.success-state .icon-box { width: 56px; height: 56px; background: #E3F5EC; color: var(--green); margin-bottom: 22px; }
.success-state h2 { margin-bottom: 14px; }
.success-state p { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }
.success-state .notice { background: #FFF6DC; border: 1px solid #F1DC9E; color: #6B4A00; border-radius: 10px; padding: 14px 16px; font-size: .92rem; margin: 20px 0 26px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.aside-card h3 { margin-bottom: 16px; }
.aside-card p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.acc { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.acc-item.is-open { border-color: #C6D4E0; box-shadow: var(--shadow-sm); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; background: none; border: 0; text-align: left; font: 700 1.08rem var(--font-h); color: var(--navy); cursor: pointer; border-radius: 12px; }
.acc-btn .icon { color: var(--teal); transition: transform .3s; }
.acc-item.is-open .acc-btn .icon { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.modules-list { display: contents; }


/* =====================================================================
   Motion layer
   ===================================================================== */

/* Page-load entrance for hero copy (CSS-only, content never stays hidden) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-badge, .hero h1, .hero .lead, .hero .btn-row, .hero-points,
.page-hero .crumbs, .page-hero .eyebrow, .page-hero h1, .page-hero .lead { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1, .page-hero .eyebrow { animation-delay: .08s; }
.hero .lead, .page-hero h1 { animation-delay: .16s; }
.hero .btn-row, .page-hero .lead { animation-delay: .26s; }
.hero-points { animation-delay: .36s; }
.hero-scene, .page-hero .hero-art { animation: fadein .9s .25s ease both; }

/* Parallax targets: independent `translate` property never conflicts with other transforms */
[data-parallax] { translate: 0 var(--py, 0px); }

/* Buttons and links */
.btn { will-change: auto; }
.btn:active { transform: scale(.97); }
.btn--primary:hover, .btn--dark:hover { transform: translateY(-1px); }
.btn--ghost:hover, .btn--outline-dark:hover { transform: translateY(-1px); }
.link-arrow { position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.6em; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.link-arrow:hover::after { transform: scaleX(1); }

/* Dropdown: soft cascade + chevron turn */
.nav .chev { transition: transform .25s ease; }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.has-sub:hover .sub a, .has-sub:focus-within .sub a { animation: rise .3s cubic-bezier(.2,.7,.2,1) both; }
.sub a:nth-child(2) { animation-delay: .03s !important; } .sub a:nth-child(3) { animation-delay: .06s !important; }
.sub a:nth-child(4) { animation-delay: .09s !important; } .sub a:nth-child(5) { animation-delay: .12s !important; }
.sub a { transition: background .2s ease, color .2s ease, padding-left .2s ease; }
.sub a:hover { padding-left: 16px; }

/* Mobile menu: links settle in one after another */
@media (max-width: 1399px) {
  .nav.is-open > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms + 90ms); }
}

/* Cards, cells, roles */
.feature-cell::after { content: ""; position: absolute; left: 28px; bottom: 0; height: 2px; width: 0; background: var(--cyan); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.feature-cell:hover::after { width: calc(100% - 56px); }
.role .icon-box { transition: background .3s ease, color .3s ease, transform .3s ease; }
.role:hover .icon-box { background: var(--cyan); color: var(--navy); transform: translateY(-2px); }
.step { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #D3D9E2; }
.step-num { transition: background .3s ease, color .3s ease; }
.step:hover .step-num { background: var(--cyan); color: var(--navy); }
.highlight .icon-box { transition: background .3s ease, color .3s ease; }
.highlight:hover .icon-box { background: var(--cyan); color: var(--navy); }

/* Screenshots: lift and a slow settle on the image */
.phone { transition: translate .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.phone-screen img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.phones-row .phone:hover, .compose .phone:hover, .panel-visual .phone:hover, .stage-visual .phone:hover { translate: 0 -8px; box-shadow: 0 34px 60px rgba(15, 27, 45, .28), 0 2px 6px rgba(15, 27, 45, .2); }
.compose .phone:hover { z-index: 5; }
.phone:hover .phone-screen img { transform: scale(1.025); }
.phone--scroll:hover .phone-screen img { transform: none; }

/* Small, meaningful icon motion */
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-5deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(0); } 85% { transform: translateY(-1.5px); } }
@keyframes blinkeye { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.15); } }
@keyframes pulse-soft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.ico-bell { transform-origin: 50% 10%; }
.feature-cell:hover .ico-bell, .card:hover .ico-bell, .role:hover .ico-bell, .highlight:hover .ico-bell { animation: ring .8s ease-in-out; }
.feature-cell:hover .ico-pin, .card:hover .ico-pin, .role:hover .ico-pin, .tab:hover .ico-pin { animation: hop .7s ease; }
.feature-cell:hover .ico-eye, .highlight:hover .ico-eye { animation: blinkeye .6s ease; }
.feature-cell:hover .ico-shield, .highlight:hover .ico-shield, .role:hover .ico-shield { animation: pulse-soft .7s ease; }
.tab .icon { transition: transform .25s ease; }
.tab:hover .icon, .tab[aria-selected="true"] .icon { transform: scale(1.12); }
.acc-btn:hover .icon { transform: rotate(90deg); }
.acc-item.is-open .acc-btn:hover .icon { transform: rotate(45deg); }

/* Accordion: text eases in as the panel opens */
.acc-panel p { opacity: 0; transform: translateY(-5px); transition: opacity .3s ease .08s, transform .3s ease .08s; }
.acc-item.is-open .acc-panel p { opacity: 1; transform: none; }

/* Solutions: the current role gets a drawn underline and a lit icon */
.role-section h2::after { content: ""; display: block; height: 3px; width: 0; background: var(--cyan); margin-top: 16px; border-radius: 2px; transition: width .7s cubic-bezier(.2,.7,.2,1) .1s; }
.role-section.is-current h2::after { width: 56px; }
.role-grid .idx .icon-box { transition: background .4s ease, color .4s ease, transform .4s cubic-bezier(.2,1.2,.4,1); }
.role-section.is-current .idx .icon-box { background: var(--cyan); color: var(--navy); transform: scale(1.08); }

/* Forms: shake once on error, errors and alerts ease in, success check draws */
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.field.shake input, .field.shake textarea { animation: shake .4s ease; }
.alert.is-shown { animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }
.success-state.is-shown { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-state.is-shown .icon-box { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
.success-state .icon-box path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.success-state.is-shown .icon-box path { animation: draw .5s .25s ease forwards; }

/* Route scenes: pins appear when the scene comes into view; the active bus breathes softly */
@keyframes pinIn { from { opacity: 0; transform: translateY(6px) scale(.4); } to { opacity: 1; transform: none; } }
.scene .pin-in { transform-box: fill-box; transform-origin: 50% 100%; animation: pinIn .7s cubic-bezier(.2,1.25,.35,1) both; animation-delay: calc(var(--n, 0) * .3s + .2s); animation-play-state: paused; }
.scene.is-live .pin-in { animation-play-state: running; }
.scene .road-dash { transition: opacity .5s ease; }
.scene .bus-ring { fill: rgba(48, 194, 220, .18); stroke: var(--cyan); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: busring 3.4s ease-out infinite; }
@keyframes busring { 0% { transform: scale(.7); opacity: .8; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.scene .stop-in { transform-box: fill-box; transform-origin: center; transition: opacity .4s ease, transform .55s cubic-bezier(.2,1.3,.4,1); }
.scene .stop-in.pending, .scene.is-intro .stop-in { opacity: 0; transform: scale(.4); }
.scene.is-intro .road-edge, .scene.is-intro .road-base, .scene.is-intro .road-dash, .scene.is-intro .route-bus { opacity: 0; }

/* Trip panel: a quiet ripple when a stop changes state */
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(48, 194, 220, .55); } 100% { box-shadow: 0 0 0 10px rgba(48, 194, 220, 0); } }
.stop-item.flash { animation: flash .9s ease-out; }
.status-pill { transition: background .3s ease, color .3s ease; }

/* Live-data flow: connectors march gently once the diagram is visible */
@keyframes march-x { to { background-position: 18px 0; } }
@keyframes march-y { to { background-position: 0 18px; } }
.flow-node + .flow-node::before { background-size: 9px 2px; animation: march-x 2.4s linear infinite; }
.flow:not(.is-visible) .flow-node + .flow-node::before { animation-play-state: paused; }
@media (max-width: 1000px) { .flow-node + .flow-node::before { background-size: 2px 9px; animation-name: march-y; } }

/* Reserve space for script-drawn art so nothing shifts when it appears */
.hero-art { aspect-ratio: 560 / 260; }
.band [data-scene] { aspect-ratio: 1200 / 180; }
.trip-map [data-scene] { min-height: 320px; }
@media (max-width: 700px) { .band [data-scene] { aspect-ratio: auto; height: 120px; } }
.acc-panel a, .success-state a { text-decoration: underline; text-underline-offset: 3px; }

/* App preview: device showcase */
.device-showcase .container { text-align: center; }
.device-showcase img { display: block; width: 100%; height: auto; max-width: 1500px; margin: 0 auto; }
.device-showcase figure { margin: 0 0 24px; }
.device-showcase .lead { margin-left: auto; margin-right: auto; max-width: 60ch; }

/* ---------- Sitemap page ---------- */
.page-hero--plain .container { grid-template-columns: 1fr; padding-bottom: 56px; }
.page-hero--plain .lead { max-width: 70ch; }
.sm-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.sm-search { display: block; flex: 1 1 340px; max-width: 520px; }
.sm-search span { display: block; font: 700 .78rem/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.sm-search input { width: 100%; font: 400 1rem var(--font-b); padding: .85rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.sm-search input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.sm-count { margin: 0; font-size: .92rem; color: var(--muted); }
.sm-jump ul { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sm-jump a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.sm-jump a:hover { color: var(--navy); border-color: var(--navy); }
.sm-cats { column-count: 3; column-gap: 24px; }
.sm-cat { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 20px; margin: 0 0 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.sm-cat[hidden], .sm-cat [hidden] { display: none; }
.sm-cat h2 { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 8px; }
.sm-intro { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.sm-sub { font: 700 .76rem/1.2 var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 18px 0 8px; }
.kw-list { list-style: none; margin: 0; padding: 0; }
.kw-list a { display: inline-block; padding: 5px 0; font-size: .94rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent; }
.kw-list a:hover { color: var(--teal); border-bottom-color: currentColor; }
.sm-none { text-align: center; color: var(--muted); padding: 32px 0; }
@media (min-width: 1500px) { .sm-cats { column-count: 4; } }
@media (max-width: 1000px) { .sm-cats { column-count: 2; } }
@media (max-width: 640px) { .sm-cats { column-count: 1; } .sm-cat { padding: 20px 18px 16px; } .kw-list a { padding: 8px 0; } }

/* ---------- Homepage location directory ---------- */
.locations { padding: 56px 0 60px; border-top: 1px solid rgba(255,255,255,.08); }
.locations h2 { font-size: clamp(1.52rem, 3.04vw, 2.09rem); margin-bottom: 36px; }
.loc-group + .loc-group { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.section--dark .loc-group h3 { font: 700 .8rem/1.2 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 28px; }
.loc-list li { font-size: .95rem; line-height: 1.4; color: #C9D3E0; }
.loc-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(48,194,220,.5); transition: color .2s; }
.loc-list a:hover { color: var(--cyan); }
@media (max-width: 560px) { .locations { padding: 48px 0 52px; } .loc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; } }

/* ---------- Location landing pages ---------- */
.loc-check { margin: 18px 0 0; padding-left: 1.2em; max-width: 74ch; color: var(--muted); display: grid; gap: 10px; }
.loc-check b { color: var(--navy); }
.loc-check a, .loc-phr a, .loc-chips a, .loc-related a { color: var(--teal); }
.loc-related { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 26px; }
.loc-related span { font-weight: 700; color: var(--navy); }
.loc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.loc-chips a, .loc-related .loc-chips a { display: inline-block; padding: 8px 14px; font-size: .92rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); transition: border-color .2s, color .2s; }
.loc-chips a:hover { border-color: var(--cyan); color: var(--teal); }
.loc-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.loc-dir { padding: 18px 20px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.loc-dir h3 { font: 700 1.02rem/1.3 var(--font-h); margin-bottom: 8px; }
.loc-dir h3 a { color: var(--navy); text-decoration: none; }
.loc-dir h3 a:hover { color: var(--teal); }
.loc-phr { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.loc-phr a { display: inline-block; padding: 4px 0; font-size: .92rem; text-decoration: none; border-bottom: 1px solid transparent; }
.loc-phr a:hover { border-bottom-color: currentColor; }
.feature-cell h3 a { color: inherit; text-decoration: none; }
.feature-cell h3 a:hover { color: var(--teal); }
@media (max-width: 760px) { .loc-chips a { padding: 10px 14px; } .loc-phr a { padding: 7px 0; } }

/* ---------- SEO copy blocks (contextual links) ---------- */
.seo-prose { display: grid; gap: 14px; max-width: 74ch; color: var(--muted); }
.seo-prose a, .seo-note a, .seo-intro a, .acc-panel p a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(20,103,122,.35); }
.seo-prose a:hover, .seo-note a:hover, .seo-intro a:hover, .acc-panel p a:hover { text-decoration-color: currentColor; }
.seo-note { margin-top: 14px; font-size: .94rem; color: var(--muted); max-width: 62ch; }
.seo-intro { max-width: 74ch; margin: -16px 0 32px; color: var(--muted); }
.role-section .seo-note { margin-top: 16px; }

/* ---------- Cosmica Telematics branding ---------- */
.brand-group { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.brand-by { display: flex; align-items: center; gap: 10px; flex: none; }
.by-line { width: 1px; height: 36px; background: rgba(15, 27, 45, .18); }
.by-text { font-size: 1.08rem; color: var(--muted); line-height: 1; }
.partner-link { display: inline-flex; flex: none; }
.partner { display: block; height: 41px; width: auto; }
@media (max-width: 520px) { .brand-group { gap: 8px; } .brand-by { gap: 7px; } .by-line { height: 26px; } .by-text { font-size: .92rem; } .partner { height: 29px; } .site-header .logo { gap: 8px; } .site-header .logo-icon { width: 40px; height: 40px; } .site-header .logo-word { height: 23px; } }
@media (max-width: 400px) { .by-line { display: none; } .partner { height: 26px; } .brand-by { gap: 6px; } }
@media (max-width: 330px) { .brand-by { display: none; } }
.footer-powered { display: inline-flex; align-items: center; gap: 10px; }
.footer-powered img { display: block; height: 26px; width: auto; }
@media (max-width: 480px) { .footer-powered img { height: 22px; } }

/* ---------- Contact: Prefer to talk? ---------- */
.talk-grid { display: grid; grid-template-columns: 1fr 1.9fr 1fr; gap: 20px; }
.talk-card { background: #F0FAFC; border: 1px solid #B8EAF3; border-radius: 16px; padding: 28px; box-shadow: 0 6px 20px rgba(16,28,54,.07); }
.talk-card .icon-box { margin-bottom: 18px; background: #fff; color: var(--cyan); border: 1px solid #B8EAF3; }
.talk-card h3 { margin-bottom: 14px; }
.talk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.talk-list li { display: grid; gap: 8px; }
.talk-label, .talk-tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.talk-tag { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--cyan-tint); color: var(--teal); letter-spacing: .04em; }
.talk-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: #fff; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: 1rem; text-decoration: none; overflow-wrap: anywhere; transition: color .2s, box-shadow .2s; }
.talk-list a .icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.talk-list a:hover { color: var(--teal); box-shadow: 0 2px 8px rgba(16,28,54,.08); }
.talk-card--phone { box-shadow: 0 10px 28px rgba(16,28,54,.1); }
.phone-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.phone-head .icon-box { margin-bottom: 0; }
.phone-head h3 { margin: 0; }
.phone-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone-col, .phone-biz { background: rgba(48,194,220,.08); border: 1px solid rgba(48,194,220,.28); border-radius: 14px; padding: 16px; min-width: 0; }
.phone-col h4, .phone-biz h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.05rem; color: var(--navy); }
.phone-col h4 .icon, .phone-biz h4 .icon, .phone-list .icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phone-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; background: #fff; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: 1.05rem; text-decoration: none; white-space: nowrap; transition: color .2s, box-shadow .2s; }
.phone-list a:hover { color: var(--teal); box-shadow: 0 2px 8px rgba(16,28,54,.08); }
.phone-biz { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.phone-biz h4 { margin: 0; padding-right: 16px; border-right: 1px solid rgba(16,28,54,.15); align-self: stretch; }
.phone-biz .phone-list { flex: 1; }
@media (max-width: 1100px) and (min-width: 901px) { .talk-grid { grid-template-columns: 1fr 1.6fr 1fr; } .phone-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .phone-cols { grid-template-columns: 1fr; } .phone-biz { flex-direction: column; align-items: stretch; } .phone-biz h4 { border-right: 0; padding: 0; } .phone-list a { font-size: 1rem; } }
.talk-card address { margin: 0; }
.talk-card .address-link { display: block; padding: 12px 14px; background: #fff; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: 1rem; line-height: 1.65; text-decoration: none; overflow-wrap: anywhere; transition: color .2s, box-shadow .2s; }
.talk-card .address-link:hover, .talk-card .address-link:focus-visible { color: var(--teal); box-shadow: 0 2px 8px rgba(16,28,54,.08); }
.map-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 44px; font-weight: 600; font-size: .95rem; color: #0E7C93; text-decoration: none; }
.map-cta .icon { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.map-cta:hover { color: var(--navy); }
.map-cta:hover .icon { transform: translateY(-2px); }
.talk-card address { font-style: normal; }
@media (max-width: 900px) { .talk-grid { grid-template-columns: 1fr; }  }

/* ---------- FAQ ---------- */
.acc-q { margin: 0; font: inherit; }
.acc-more { display: flex; justify-content: center; margin-top: 32px; }
.acc-links { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-top: 0; font-size: .9rem; }
.acc-panel .acc-links { padding: 0 24px 22px; margin-top: -8px; }
.acc-links span { color: var(--muted); }
.acc-links a { color: var(--teal); font-weight: 600; text-decoration: none; }
.acc-links a:hover { text-decoration: underline; }
.faq-hero { background: var(--bg); border-bottom: 1px solid var(--line); text-align: center; }
.faq-hero .container { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(32px, 4.5vw, 52px); display: flex; flex-direction: column; align-items: center; }
.faq-hero .crumbs { color: var(--muted); margin-bottom: 20px; justify-content: center; }
.faq-hero .crumbs a:hover { color: var(--navy); }
.faq-hero .eyebrow { color: var(--teal); }
.faq-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
.faq-hero .lead { max-width: 62ch; margin: 0 auto; }
.faq-search { position: relative; width: 100%; max-width: 620px; margin-top: 28px; }
.faq-search .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.faq-search input { width: 100%; padding: 16px 18px 16px 48px; font: 500 1rem var(--font-b, inherit); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq-search input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(48, 194, 220, .25); }
.faq-body { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 8vw, 96px); }
.faq-wrap { width: 90%; max-width: 1500px; margin: 0 auto; }
.faq-status { min-height: 1.4em; margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); align-items: start; }
.faq-col { max-width: none; margin: 0; gap: 14px; align-content: start; }
.faq-grid .acc + .acc { margin-top: 0; }
.faq-col .acc-item { min-width: 0; }
.faq-col .acc-item[hidden] { display: none; }
.faq-col .acc-item:hover { border-color: var(--cyan); }
.faq-col .acc-btn { padding: 24px 28px; font-size: 1.12rem; line-height: 1.4; overflow-wrap: anywhere; }
.faq-col .acc-btn:hover { color: var(--teal); }
.faq-col .acc-item.is-open { border-color: var(--cyan); }
.faq-col .acc-item.is-open .acc-btn { color: var(--teal); }
.faq-col .acc-btn .icon { flex: none; }
.faq-col .acc-panel p { padding: 0 28px 24px; font-size: 1.02rem; line-height: 1.65; overflow-wrap: anywhere; }
.faq-col .acc-panel .acc-links { padding: 0 28px 24px; margin-top: -8px; }
.faq-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.faq-help { margin-top: clamp(40px, 6vw, 72px); text-align: center; background: var(--cyan-tint); border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px, 5vw, 48px) 24px; }
.faq-help h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.faq-help p { color: var(--muted); margin-bottom: 22px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .acc + .acc { margin-top: 14px; } }
@media (max-width: 600px) {
  .acc-btn { padding: 16px 18px; font-size: 1rem; } .acc-panel p { padding: 0 18px 18px; } .acc-panel .acc-links { padding: 0 18px 18px; }
  .faq-wrap { width: calc(100% - 2 * var(--pad)); }
  .faq-col .acc-btn { padding: 18px; font-size: 1.02rem; } .faq-col .acc-panel p, .faq-col .acc-panel .acc-links { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Homepage overview: copy left, image right ---------- */
.overview { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.overview .section-head { margin-bottom: 24px; }
.overview .section-head h2 { max-width: none; }
.overview .seo-prose { max-width: none; }
.overview-media { margin: 0; }
.overview-media picture, .overview-media img { display: block; width: 100%; height: auto; }
.overview-media img { mix-blend-mode: multiply; } /* drops the image's off-white backdrop onto the white page */
@media (min-width: 1101px) { .overview-media { margin-right: -3%; } }
@media (max-width: 1100px) { .overview { grid-template-columns: 1fr; } .overview-media { max-width: 640px; margin: 0 auto; } }
/* hero video: on narrow/portrait screens keep the bus door, phone and map (right of centre) in frame */
@media (max-width: 700px) { .hero-scene--video video { object-position: 60% 45%; } }

/* ---------- Homepage enquiry popup (modal) ---------- */
.eq-lock { overflow: hidden; padding-right: var(--eq-sbw, 0px); }
.eq-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(16,28,54,.58); opacity: 0; transition: opacity .2s ease; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); overscroll-behavior: contain; }
.eq-overlay[hidden] { display: none; }
.eq-overlay.is-open { opacity: 1; }
.eq-dialog { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 620px; max-height: 92vh; max-height: 92dvh; background: #fff; border-radius: 20px; box-shadow: 0 24px 64px rgba(16,28,54,.32), 0 2px 8px rgba(16,28,54,.12); transform: translateY(14px) scale(.98); transition: transform .25s cubic-bezier(.2,.7,.2,1); outline: 0; }
.eq-overlay.is-open .eq-dialog { transform: none; }
.eq-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1.5px solid #D5DBE4; background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.eq-close:hover { background: #F3F6F9; border-color: #9FB0C4; }
.eq-close:focus-visible { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(48,194,220,.25); }
.eq-close .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.eq-scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 28px 30px 30px; border-radius: 20px; min-height: 0; }
.eq-scroll h2 { font-size: clamp(1.4rem, 3.2vw, 1.7rem); margin: 0 52px 8px 0; }
.eq-sub { color: var(--muted); font-size: .96rem; margin: 0 52px 22px 0; }
.eq-dialog .field { margin-bottom: 16px; }
.eq-dialog .field textarea { min-height: 110px; }
.eq-grid { display: grid; grid-template-columns: 1fr; column-gap: 16px; }
@media (min-width: 560px) { .eq-grid { grid-template-columns: 1fr 1fr; } }
.eq-dialog .form-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.eq-dialog .form-foot .btn { width: 100%; justify-content: center; }
.eq-dialog .form-foot small { text-align: left; }
.eq-dialog .success-state .btn { width: 100%; justify-content: center; }
@media (max-width: 559px) {
  .eq-dialog { max-width: 100%; border-radius: 18px; }
  .eq-scroll { padding: 22px 18px 22px; border-radius: 18px; }
  .eq-close { top: 12px; right: 12px; }
  .eq-scroll h2, .eq-sub { margin-right: 46px; }
}
@media (prefers-reduced-motion: reduce) { .eq-overlay, .eq-dialog { transition: none; } }

.field--turnstile { max-width: 100%; }
.field--turnstile .cf-turnstile { max-width: 100%; overflow: hidden; }
.eq-dialog .field--turnstile { margin-bottom: 20px; }
