/* Lotus Charter — site styles (E1 "Facets" direction). Layout idea: a trip sheet. Mono times, slanted facet dividers, dark water bands. */
:root {
  --water: #0B2B30;      /* Deep Water — primary */
  --water-2: #133B42;
  --ink: #0A1E21;
  --petal: #E2557F;      /* Petal — Charter accent */
  --petal-deep: #B02D57; /* Petal for text on light */
  --dawn: #F9DDD2;
  --brass: #B98F45;      /* Brass — Black Car accent */
  --leaf: #2F8F83;       /* Leaf — Tours accent */
  --mist: #F1F5F3;
  --paper: #FFFFFF;
  --line: #D3DDD9;
  --muted: #4A6064;
  --accent: var(--petal);
  --accent-text: var(--petal-deep);
  --display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
body.tours { --accent: var(--leaf); --accent-text: #1F6D63; }
body.blackcar { --accent: var(--brass); --accent-text: #7D5F27; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font: 600 1.2rem/1.3 var(--body); }
.label { font: 500 .76rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.lede { font-size: 1.2rem; max-width: 60ch; color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band.dark { background: var(--water); color: #fff; }
.band.dark .lede, .band.dark .muted { color: #B9CCCB; }
.band.dark .label { color: var(--accent); }
.band.paper { background: var(--paper); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.4rem; }
.muted { color: var(--muted); }

/* lane dashes — the brand's divider */
.dashes { display: flex; gap: 8px; }
.dashes { gap: 5px; }
.dashes i { width: 14px; height: 22px; background: var(--ink); clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%); }
.dashes i:nth-child(2) { background: var(--accent); }
.band.dark .dashes i { background: #fff; }
.band.dark .dashes i:nth-child(2) { background: var(--accent); }

/* header */
.top { background: var(--water); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; flex-wrap: wrap; }
.top .logo svg { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.7rem); flex-wrap: wrap; font-weight: 500; font-size: .98rem; }
.nav a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--body); padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.small { padding: .6rem 1rem; font-size: .92rem; }
.nav .btn { border-bottom: 2px solid var(--accent); padding: .6rem 1.05rem; }

/* hero */
.hero { position: relative; background: var(--water); color: #fff; overflow: hidden; }
.hero .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,43,48,.94) 0%, rgba(11,43,48,.78) 38%, rgba(11,43,48,.12) 78%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.hero .copy { max-width: 620px; display: flex; flex-direction: column; gap: 1.3rem; }
.hero .label { color: var(--accent); }
.hero p.sub { font-size: 1.22rem; color: #D9E5E3; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.page-head { background: var(--water); color: #fff; }
.page-head .wrap { padding-block: clamp(2.6rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.page-head .label { color: var(--accent); }
.page-head p { color: #D9E5E3; font-size: 1.15rem; max-width: 52ch; }
.page-head img { border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* three lines of business */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.line { background: var(--paper); display: flex; flex-direction: column; text-decoration: none; border-top: 5px solid var(--c); }
.line img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.line .in { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.line .k { font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ct); }
.line h3 { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.02em; }
.line p { color: var(--muted); font-size: 1rem; }
.line .go { margin-top: auto; padding-top: .6rem; font-weight: 600; }
.line:hover .go { text-decoration: underline; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }

/* run sheet */
.sheet { background: var(--paper); color: var(--ink); border-radius: 4px; padding: 1.4rem 1.5rem 1.2rem; font-size: .98rem; box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); }
.sheet header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font: 500 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.sheet ol { list-style: none; margin: 0; padding: 0; }
.sheet li { display: grid; grid-template-columns: 5.6rem 1fr; gap: 1rem; padding: .72rem 0; border-bottom: 1px dashed var(--line); }
.sheet li:last-child { border-bottom: 0; }
.sheet time { font: 500 .95rem/1.5 var(--mono); font-variant-numeric: tabular-nums; color: var(--petal-deep); }
.sheet b { font-weight: 600; }
.sheet span { display: block; color: var(--muted); font-size: .92rem; }
.sheet footer { font: 400 .74rem/1.4 var(--mono); color: var(--muted); padding-top: .7rem; border-top: 2px solid var(--ink); }

/* grids of short facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts > div { padding: 1.2rem 1.25rem 1.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: .4rem; }
.facts h3 { font-size: 1.08rem; }
.facts p { color: var(--muted); font-size: .97rem; }
.band.dark .facts, .band.dark .facts > div { border-color: #2A4F55; }
.band.dark .facts > div { background: var(--water-2); }
.band.dark .facts p { color: #B9CCCB; }

.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: .98rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 .74rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); white-space: nowrap; }
td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

.cities { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.cities li { font: 500 .84rem/1 var(--mono); padding: .55rem .75rem; border: 1px solid #2F565C; border-radius: 999px; color: #D9E5E3; }

/* tours */
.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.tour { background: var(--paper); display: flex; flex-direction: column; }
.tour img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.tour .in { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.tour h3 { font: 700 1.1rem/1.25 var(--display); letter-spacing: -.02em; }
.tour p { color: var(--muted); font-size: .98rem; }
.tour dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; margin: .4rem 0 0; font-size: .9rem; padding-top: .7rem; border-top: 1px dashed var(--line); margin-top: auto; }
.tour dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tour dd { margin: 0; }
.soon { display: inline-block; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .6rem; background: var(--dawn); color: var(--petal-deep); border-radius: 3px; }

/* faq */
details { background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.2rem; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); padding-top: .6rem; max-width: 70ch; }

/* cta + footer */
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta h2 { max-width: 18ch; }
.contact-line { font: 500 1rem/1.5 var(--mono); user-select: all; }
footer.site { background: var(--ink); color: #B9CCCB; font-size: .93rem; }
footer.site .wrap { padding-block: 2.6rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer.site svg { height: 96px; width: auto; }
footer.site h4 { margin: 0 0 .6rem; font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid #23464C; padding-top: 1.1rem; font-size: .82rem; display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; }
.todo { background: #FFF2B8; color: #4A3B00; padding: 0 .3em; border-radius: 2px; font-style: normal; }

/* forms */
form.quote { background: var(--paper); padding: clamp(1.2rem, 3vw, 2.2rem); border-top: 5px solid var(--accent); display: flex; flex-direction: column; gap: 1.6rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; min-width: 0; }
legend { font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); padding: 0 0 .9rem; }
.f { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f label { font-weight: 600; font-size: .93rem; }
.f small { color: var(--muted); }
input, select, textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: 4px; padding: .75rem .8rem; width: 100%; min-width: 0; }
textarea { min-height: 7rem; resize: vertical; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; background: var(--mist); display: inline-flex; gap: .45rem; align-items: center; }
.seg input { width: auto; accent-color: var(--water); }
.seg label:has(input:checked) { background: var(--water); color: #fff; border-color: var(--water); }
.hp { position: absolute; left: -9999px; }
.msg { padding: 1rem 1.2rem; border-radius: 4px; font-weight: 500; }
.msg.err { background: #FCE4E4; color: #7A1220; border: 1.5px solid #E7A3AC; }
.msg.ok { background: #E1F3EE; color: #0F4B43; border: 1.5px solid #9CCFC4; }
.msg.demo { background: #FFF6CF; color: #4A3B00; border: 1.5px solid #E6D27A; }
pre.mail { white-space: pre-wrap; font: 400 .85rem/1.5 var(--mono); background: var(--mist); padding: 1rem; border: 1px solid var(--line); overflow-x: auto; margin: 0; }

/* brand guide */
.guide h2 { padding-bottom: .2rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tile { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.tile .stage { min-height: 170px; display: flex; align-items: center; justify-content: center; padding: 1.6rem; }
.tile .stage svg { max-height: 110px; width: auto; height: auto; max-width: 100%; }
.tile .stage.on-water { background: var(--water); }
.tile .stage.on-black { background: #0A0A0A; }
.tile .stage.on-petal { background: var(--petal); }
.tile .stage.on-mist { background: var(--mist); }
.tile figcaption { font: 400 .78rem/1.4 var(--mono); color: var(--muted); padding: .7rem .9rem; border-top: 1px solid var(--line); }
.tile figcaption b { color: var(--ink); font-weight: 500; display: block; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile.tall img { aspect-ratio: 2 / 3; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.sw { background: var(--paper); border: 1px solid var(--line); }
.sw .chip { height: 110px; }
.sw div.t { padding: .7rem .8rem .8rem; font: 400 .78rem/1.5 var(--mono); color: var(--muted); }
.sw b { display: block; font: 600 .98rem/1.3 var(--body); color: var(--ink); }
.spec { background: var(--paper); border: 1px solid var(--line); padding: 1.4rem 1.5rem; display: grid; grid-template-columns: 11rem 1fr; gap: 1rem 2rem; align-items: baseline; }
.spec .who { font: 400 .78rem/1.5 var(--mono); color: var(--muted); }
.spec .who b { display: block; color: var(--ink); font: 600 .98rem/1.3 var(--body); }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dodont ul { margin: 0; padding: 1.1rem 1.2rem 1.2rem 2.2rem; background: var(--paper); border-top: 5px solid var(--leaf); display: flex; flex-direction: column; gap: .4rem; }
.dodont ul.no { border-top-color: #B3261E; }
.note { font: 400 .82rem/1.5 var(--mono); color: var(--muted); }
.internal { background: #FFF6CF; color: #4A3B00; font: 500 .8rem/1.4 var(--mono); text-align: center; padding: .55rem 1rem; }

@media (max-width: 860px) {
  .lines, .split, .page-head .wrap, .dodont { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(11,43,48,.9) 0%, rgba(11,43,48,.8) 60%, rgba(11,43,48,.55) 100%); }
  fieldset { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .top .logo svg { height: 38px; }
}
@media (max-width: 480px) {
  footer.site .wrap { grid-template-columns: 1fr; }
  .sheet li { grid-template-columns: 4.6rem 1fr; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* fixed column counts where the item count is known */
.facts.three { grid-template-columns: repeat(3, 1fr); }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile .stage.big svg { max-height: 230px; height: 230px; }
.lines > *, .tiles > *, .facts > * { min-width: 0; }
@media (max-width: 860px) { .facts.three, .tiles.three { grid-template-columns: 1fr; } }

/* photo gallery: coaches and crew */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--water); grid-column: span 2; }
.gallery figure.wide { grid-column: span 4; }
.gallery figure.half { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.gallery figure.wide img { aspect-ratio: auto; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--water); color: #fff; font: 500 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .55rem .8rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%); padding-right: 1.4rem; }
.gallery figcaption::before { content: ""; display: inline-block; width: 7px; height: 11px; margin-right: .5rem; background: var(--accent); clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%); vertical-align: -1px; }
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); }
.role { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.role img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.role h3 { font: 700 1.15rem/1.25 var(--display); letter-spacing: -.02em; }
.role p { color: var(--muted); }
.band.dark .role p { color: #B9CCCB; }
.previewbar { background: #FFF6CF; color: #4A3B00; font: 500 .8rem/1.4 var(--mono); text-align: center; padding: .55rem 1rem; }
.previewbar a { margin: 0 .5rem; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure, .gallery figure.wide, .gallery figure.half { grid-column: span 1; } .gallery figure.wide { grid-column: span 2; } .roles { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } .gallery figure.wide { grid-column: span 1; } }

/* two primary lines (charter, commuter) + secondary row (black car, tours) */
.nav a.minor { font-weight: 400; font-size: .92rem; color: #B9CCCB; }
.nav .sep { width: 1px; height: 1.1rem; background: #2F565C; }
.lines.two { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.lines.two .line h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.lines.two .line p { font-size: 1.06rem; }
.lines.two .line .in { padding: 1.6rem 1.6rem 1.8rem; }
.also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.also a { display: grid; grid-template-columns: 132px 1fr; gap: 1.1rem; align-items: center; text-decoration: none; background: var(--paper); border-left: 4px solid var(--c); min-width: 0; }
.also img { width: 132px; height: 100%; min-height: 96px; object-fit: cover; }
.also .in { padding: .9rem 1rem .9rem 0; display: flex; flex-direction: column; gap: .3rem; }
.also .k { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ct); }
.also b { font: 700 1.02rem/1.25 var(--display); letter-spacing: -.02em; }
.also span.d { color: var(--muted); font-size: .94rem; }
.also a:hover b { text-decoration: underline; }
@media (max-width: 860px) { .lines.two, .also { grid-template-columns: 1fr; } .nav .sep { display: none; } }
.f[hidden] { display: none; }

/* commuter tracking map */
.track { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; background: var(--water-2); border: 1px solid #2A4F55; }
.track-view { position: relative; min-height: 560px; background: #0E2F35; overflow: hidden; }
.track-map, .track-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.track-still { object-fit: cover; }
.track-map { opacity: 0; transition: opacity .6s ease; }
.track.live .track-map { opacity: 1; }
.track.nomap .track-map, .track.nomap .track-cam { display: none; }
.track-badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--water); color: #fff; font: 500 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .7rem; border-left: 3px solid var(--petal); }
.track-cam { position: absolute; left: 12px; bottom: 12px; z-index: 2; font: 600 .88rem/1 var(--body); padding: .7rem 1rem; border-radius: 999px; border: 0; background: #fff; color: var(--ink); cursor: pointer; }
.track-cam:hover { background: var(--petal); }
.track-pin { background: var(--petal); color: var(--ink); font: 600 .78rem/1 var(--body); padding: .38rem .6rem; border-radius: 3px; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0,0,0,.7); }
.track-side { display: flex; flex-direction: column; background: var(--paper); color: var(--ink); padding: 1.2rem 1.25rem 1rem; min-width: 0; }
.track-side header { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.track-next { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.track-next small { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--petal-deep); }
.track-next b { font: 700 1.12rem/1.25 var(--display); letter-spacing: -.02em; }
.track-next span { color: var(--muted); font-variant-numeric: tabular-nums; }
.track-stops { list-style: none; margin: 0; padding: .6rem 0 0; flex: 1; }
.track-stops li { display: grid; grid-template-columns: 14px 1fr auto; gap: .7rem; align-items: center; padding: .68rem 0; border-bottom: 1px dashed var(--line); position: relative; }
.track-stops li:last-child { border-bottom: 0; }
.track-stops i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.track-stops b { font-weight: 600; font-size: .96rem; }
.track-stops em { font: 500 .84rem/1 var(--mono); font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 4.6rem; text-align: right; }
.track-stops li.done { color: var(--muted); }
.track-stops li.done i { background: var(--muted); border-color: var(--muted); }
.track-stops li.next i, .track-stops li.here i { background: var(--petal); border-color: var(--petal); }
.track-stops li.next em, .track-stops li.here em { color: var(--petal-deep); }
.track-stops li.here i { box-shadow: 0 0 0 4px rgba(226,85,127,.3); }
.track-side footer { font: 400 .72rem/1.4 var(--mono); color: var(--muted); padding-top: .7rem; border-top: 2px solid var(--ink); }
.track-note { margin: 0; }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; } .track-view { min-height: 420px; } }
.track-bus { background: #fff; color: var(--ink); font: 700 .74rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: .34rem .55rem; border-radius: 999px; border: 2px solid var(--petal); box-shadow: 0 6px 14px -6px rgba(0,0,0,.8); }
.track-bus::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 2px; height: 8px; background: #fff; }

/* Compact UMS quote widget (quote page) */
.page-head .wrap.quote-head { grid-template-columns: 1fr minmax(0, 480px); align-items: start; }
.page-head .small { font-size: .92rem; }
.page-head .muted { color: #B9CCCB; }
.iq-card { background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.iq-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); border-top: 4px solid var(--petal); font: 600 .78rem/1.3 var(--body); color: var(--water); }
.iq-top span:last-child { color: var(--muted); font-weight: 500; text-align: right; }
.iq-card iframe { width: 100%; height: 560px; border: 0; display: block; background: #fff; transition: height .2s ease; }
@media (max-width: 900px) { .page-head .wrap.quote-head { grid-template-columns: 1fr; } }
.track-bus { color: var(--muted); border-color: #9FB3B1; }
.track-bus.me { color: var(--ink); border-color: var(--petal); }
.track-busbody { width: 14px; height: 34px; border-radius: 4px; background: #fff; border: 2px solid #0B2B30; box-shadow: 0 0 0 5px rgba(255,255,255,.18); position: relative; }
.track-busbody::before { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 7px; border-radius: 2px; background: #0B2B30; }
.track-busbody.me { box-shadow: 0 0 0 7px rgba(226,85,127,.35); border-color: var(--petal-deep); }
.track-stops em { min-width: 6.6rem; }
.page-head.tight .wrap { padding-bottom: 1.2rem; }
.band.maptop { padding-top: 1.6rem; }
.band.maptop h2 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
