/* Advertising Specifications pages (src/pages/advertising-specifications*.html).
   Uses the site's own type and colours: Outfit headings, DM Sans text, brown #8D441F / #602608,
   orange #EC7225 / #EE9723, dark #1A1A1A. Behaviour: assets/js/ad-specs.js */

.ms { --ms-brown: #8D441F; --ms-brown-deep: #602608; --ms-orange: #EC7225; --ms-amber: #EE9723;
  --ms-ink: #080A0B; --ms-text: #6b6b6b; --ms-dark: #1A1A1A; --ms-alt: #FAF6F2; --ms-line: #ece6e0;
  --ms-shadow: 0 18px 50px rgba(0, 0, 0, .08); --ms-shadow-hover: 0 26px 60px rgba(0, 0, 0, .14);
  font-family: "DM Sans", sans-serif; color: var(--ms-text); }
.ms *, .ms *::before, .ms *::after { box-sizing: border-box; }
.ms-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- banner (theme breadcrumb area) ---------- */
.ms-banner .breadcrumb__title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.14; max-width: 980px; margin-left: auto; margin-right: auto; }
.ms-banner__lede { max-width: 760px; margin: 22px auto 0; color: rgba(255, 255, 255, .88); font-size: 18px; line-height: 1.65; }
.ms-banner__cta { margin-top: 30px; }
.ms-banner .breadcrumb__menu { color: rgba(255, 255, 255, .75); }

/* ---------- buttons ---------- */
.ms-btn { display: inline-flex; align-items: center; gap: 10px; padding: 20px 46px; border-radius: 5px; border: 0;
  background: #EE9723; color: #000; font: 700 15px/1 "DM Sans", sans-serif; text-transform: uppercase; text-decoration: none;
  box-shadow: 19px 19px 40px rgba(0, 0, 0, .1); transition: background-color .3s ease, color .3s ease, transform .3s ease; }
.ms-btn:hover { background: #ffffff; color: #8D441F; transform: translateY(-2px); }
.ms-btn--brown { background: #8D441F; color: #fff; }
.ms-btn--brown:hover { background: #EC7225; color: #fff; }
.ms-btn svg { width: 16px; height: 16px; }

/* ---------- bands ---------- */
.ms-band { padding: 110px 0; background: #fff; position: relative; }
.ms-band--alt { background: var(--ms-alt); }
.ms-band--dark { background: var(--ms-dark); color: rgba(255, 255, 255, .72); }
.ms-band--tight { padding: 0 0 110px; }
.ms-band--nudge { z-index: 1; padding: 0; background: linear-gradient(var(--above, #fff) 50%, var(--below, #fff) 50%); }
.ms-band + .ms-band--tight { padding-top: 0; }

.ms-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: stretch; }
.ms-grid--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ms-grid + .ms-grid { margin-top: 90px; }
.ms-col { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ms-col > :first-child { margin-top: 0; }
.ms-col > :last-child { margin-bottom: 0; }
.ms-sticky { justify-content: flex-start; }
.ms-sticky > .ms-sticky__inner { position: sticky; top: 130px; }

/* ---------- type ---------- */
.ms-eyebrow { display: block; margin: 0 0 12px; font: 400 22px/1.4 "Outfit", sans-serif; color: var(--ms-brown); text-transform: capitalize; }
.ms-h2 { margin: 0 0 24px; font: 700 clamp(29px, 3.1vw, 42px)/1.24 "Outfit", sans-serif; color: var(--ms-ink); letter-spacing: -.2px; }
.ms-h3 { margin: 0 0 16px; font: 600 25px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-band--dark .ms-h2, .ms-band--dark .ms-h3 { color: #fff; }
.ms-band--dark .ms-eyebrow { color: #EE9723; }
.ms-prose p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.75; }
.ms-prose p:last-child { margin-bottom: 0; }
.ms-prose strong, .ms-answer strong { color: var(--ms-ink); font-weight: 700; }
.ms-band--dark .ms-prose strong { color: #fff; }
.ms-prose a, .ms-answer a, .ms-faq__body a {
  color: var(--ms-brown); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(236, 114, 37, .45);
  text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .25s ease, text-decoration-color .25s ease; }
.ms-prose a:hover, .ms-answer a:hover, .ms-faq__body a:hover { color: var(--ms-orange); text-decoration-color: var(--ms-orange); }
.ms-band--dark .ms-prose a { color: #EE9723; }
.ms-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.ms-head .ms-prose p { margin-left: auto; margin-right: auto; }

/* ---------- the short answer ---------- */
.ms-answer { position: relative; padding: 44px 44px 42px; background: #fff; border-radius: 8px; border: 1px solid #ecdfd3; border-left: 5px solid var(--ms-orange); }
.ms-answer__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 600 13px/1 "DM Sans", sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ms-brown); }
.ms-answer__label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ms-orange); box-shadow: 0 0 0 5px rgba(236, 114, 37, .18); }
.ms-answer p { margin: 0; font: 400 19px/1.7 "DM Sans", sans-serif; color: #4a4a4a; }

/* ---------- definition box ---------- */
.ms-define { margin: 30px 0 0; padding: 30px 32px; border-radius: 8px; background: var(--ms-dark); color: rgba(255, 255, 255, .8);
  position: relative; overflow: hidden; }
.ms-define::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 114, 37, .35), rgba(236, 114, 37, 0) 70%); }
.ms-define__term { display: block; margin-bottom: 10px; font: 700 20px/1.3 "Outfit", sans-serif; color: #EE9723; }
.ms-define p { margin: 0; font-size: 16px; line-height: 1.7; position: relative; z-index: 1; }

/* ---------- quote ---------- */
.ms-quote { position: relative; margin: 28px 0; padding: 30px 32px 28px 34px; border-radius: 8px; background: var(--ms-alt); border: 1px solid var(--ms-line); }
.ms-quote blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font: inherit; color: inherit; }
.ms-quote blockquote::before, .ms-quote blockquote::after { content: none; }
.ms-band--alt .ms-quote { background: #fff; }
.ms-quote::before { content: "\201C"; position: absolute; top: -18px; left: 24px; font: 700 76px/1 "Outfit", sans-serif; color: var(--ms-orange); }
.ms-quote p { margin: 0 0 18px; font: 500 19px/1.6 "Outfit", sans-serif; color: #222; }
.ms-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--ms-text); }
.ms-quote figcaption b { display: block; font: 600 15px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-quote__mark { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ms-brown); color: #fff; font: 600 14px/1 "Outfit", sans-serif; letter-spacing: .5px; }

/* ---------- photograph (decoration itself: assets/css/photo-deco.css) ---------- */
.ms-photo { min-height: 460px; }

/* ---------- spec chips ---------- */
.ms-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ms-chips li { margin: 0; padding: 10px 16px; border-radius: 40px; background: #fff; border: 1px solid var(--ms-line);
  font: 600 14px/1.2 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-chips li::before { content: none; }
.ms-chips b { color: var(--ms-orange); font-weight: 700; }

/* ---------- in-taxi screen mock (shared frame; each page draws its own scene inside) ---------- */
.ms-screen { position: relative; padding: 34px 0 0; }
.ms-screen__rail { position: absolute; top: 0; left: 8%; right: 8%; height: 12px; border-radius: 6px; background: #2b2b2b; }
.ms-screen__rail::before, .ms-screen__rail::after { content: ""; position: absolute; top: 10px; width: 10px; height: 26px; background: #2b2b2b; border-radius: 0 0 3px 3px; }
.ms-screen__rail::before { left: 22%; } .ms-screen__rail::after { right: 22%; }
.ms-screen__bezel { position: relative; padding: 12px; border-radius: 12px; background: #111; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.ms-screen__glass { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #000; }
.ms-screen__label { display: flex; justify-content: space-between; margin-top: 14px; font: 600 13px/1.2 "DM Sans", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #9a8f86; }

/* Hub, video scene: drifting colour fields and a playhead filling over the slot */
.ms-vid__field { position: absolute; border-radius: 50%; filter: blur(18px); opacity: .9; }
.ms-vid__field--1 { width: 60%; height: 90%; left: -10%; top: -20%; background: #EC7225; animation: ms-vid-a 7s ease-in-out infinite alternate; }
.ms-vid__field--2 { width: 55%; height: 80%; right: -12%; bottom: -25%; background: #8D441F; animation: ms-vid-b 9s ease-in-out infinite alternate; }
.ms-vid__field--3 { width: 35%; height: 55%; left: 38%; top: 20%; background: #EE9723; animation: ms-vid-c 5s ease-in-out infinite alternate; }
@keyframes ms-vid-a { to { transform: translate(40%, 18%) scale(1.15); } }
@keyframes ms-vid-b { to { transform: translate(-35%, -20%) scale(.9); } }
@keyframes ms-vid-c { to { transform: translate(-50%, 30%) scale(1.3); } }
.ms-vid__play { position: absolute; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ms-vid__play::after { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #8D441F; }
.ms-vid__bar { position: absolute; left: 6%; right: 6%; bottom: 9%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ms-vid__bar span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; animation: ms-fill 15s linear infinite; }
@keyframes ms-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hub, static scene: a still artwork that is swapped for a fresh one */
.ms-poster { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; }
.ms-poster__copy { padding: 9% 0 9% 9%; display: flex; flex-direction: column; justify-content: center; gap: 7%; }
.ms-poster__copy i { display: block; height: 11%; border-radius: 3px; background: #1A1A1A; }
.ms-poster__copy i:nth-child(2) { width: 78%; }
.ms-poster__copy i:nth-child(3) { height: 6%; width: 60%; background: #c9c1ba; }
.ms-poster__copy em { display: block; width: 46%; height: 13%; border-radius: 40px; background: #EC7225; }
.ms-poster__art { margin: 12% 12% 12% 6%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #EE9723, #8D441F 70%); }
.ms-poster--b { background: #602608; }
.ms-poster--b .ms-poster__copy i { background: #fff; }
.ms-poster--b .ms-poster__copy i:nth-child(3) { background: rgba(255, 255, 255, .45); }
.ms-poster--b .ms-poster__copy em { background: #EE9723; }
.ms-poster--b .ms-poster__art { border-radius: 14px; background: linear-gradient(135deg, #EE9723, #EC7225); }
.ms-js .ms-poster--b { animation: ms-swap 10s ease-in-out infinite; }
@keyframes ms-swap { 0%, 42% { clip-path: inset(0 0 0 100%); } 50%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

/* ---------- hub: the advertising loop ---------- */
.ms-loop { position: relative; max-width: 440px; margin: 0 auto; }
.ms-loop svg { display: block; width: 100%; height: auto; overflow: visible; }
.ms-loop__seg { fill: none; stroke: #e7dcd2; stroke-width: 30; transition: stroke .5s ease; }
.ms-loop__seg.is-on { stroke: #EC7225; }
.ms-loop__seg.is-past { stroke: #EE9723; stroke-opacity: .45; }
.ms-loop__hand { stroke: #8D441F; stroke-width: 5; stroke-linecap: round; transform-origin: 220px 220px; }
.ms-js .ms-loop.is-running .ms-loop__hand { animation: ms-spin 18s linear infinite; }
@keyframes ms-spin { to { transform: rotate(360deg); } }
.ms-loop__centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.ms-loop__centre b { font: 700 54px/1 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-loop__centre span { margin-top: 8px; font: 500 15px/1.4 "DM Sans", sans-serif; color: var(--ms-text); max-width: 170px; }
.ms-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.ms-fact { padding: 18px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); }
.ms-fact b { display: block; font: 700 26px/1.1 "Outfit", sans-serif; color: var(--ms-brown); }
.ms-fact span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; }

/* ---------- comparison table ---------- */
.ms-table-wrap { margin-top: 56px; overflow-x: auto; border-radius: 10px; box-shadow: var(--ms-shadow); -webkit-overflow-scrolling: touch; background: #fff; }
.ms-table-cap { margin: 56px 0 14px; font: italic 400 15px/1.5 "DM Sans", sans-serif; color: var(--ms-text); }
.ms-table-cap + .ms-table-wrap { margin-top: 0; }
.ms-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; color: #555; }
.ms-table th, .ms-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid #efe9e3; }
.ms-table thead th { background: #8D441F; color: #fff; font: 600 17px/1.3 "Outfit", sans-serif; border-bottom: 0; }
.ms-table thead th:first-child { background: #602608; }
.ms-table tbody th { width: 22%; font: 600 16px/1.4 "Outfit", sans-serif; color: var(--ms-ink); background: #fcfaf8; }
.ms-table tbody tr:last-child th, .ms-table tbody tr:last-child td { border-bottom: 0; }
.ms-table tbody tr { transition: background-color .25s ease; }
.ms-table tbody tr:hover td { background: #fff7f0; }
.ms-band--dark .ms-table-cap { color: rgba(255, 255, 255, .6); }
/* phones and tablets: the table scrolls sideways, so the first column (row labels) stays pinned on the left */
@media (max-width: 900px) {
  .ms-table th:first-child { position: sticky; left: 0; z-index: 2; min-width: 128px; width: 128px; box-shadow: 8px 0 12px -8px rgba(0, 0, 0, .22); }
  .ms-table tbody th:first-child { background: #fcfaf8; font-size: 15px; }
  .ms-table thead th:first-child { z-index: 3; }
  .ms-table tbody tr:hover th:first-child { background: #fff7f0; }
}

/* ---------- hub: Legal Aid figures ---------- */
.ms-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ms-stat { padding: 22px 22px 20px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ms-stat b { display: block; font: 700 32px/1.1 "Outfit", sans-serif; color: #EE9723; }
.ms-stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.ms-bars { margin-top: 26px; padding: 24px 24px 20px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ms-bars__title { margin: 0 0 16px; font: 600 15px/1.3 "Outfit", sans-serif; color: #fff; }
.ms-bar { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 14px; margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.ms-bar__track { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ms-bar__track span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #EC7225, #EE9723); }
.ms-js .ms-bar__track span { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.ms-js .is-in .ms-bar__track span { transform: scaleX(1); }
.ms-js .is-in .ms-bar:nth-child(3) .ms-bar__track span { transition-delay: .15s; }
.ms-js .is-in .ms-bar:nth-child(4) .ms-bar__track span { transition-delay: .3s; }
.ms-bar b { font: 600 14px/1 "Outfit", sans-serif; color: #fff; }
.ms-src { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
.ms-src a { color: #EE9723; }

/* ---------- checklist ---------- */
.ms-check { padding: 34px 32px 30px; border-radius: 8px; background: #fff; box-shadow: var(--ms-shadow); border-top: 5px solid var(--ms-orange); }
.ms-check__title { margin: 0 0 6px; font: 700 21px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-check__hint { margin: 0 0 18px; font-size: 14px; }
.ms-check ul { margin: 0; padding: 0; list-style: none; }
.ms-check li { margin: 0; padding: 0; list-style: none; }
.ms-check li::before { content: none; }
.ms-check button { display: grid; grid-template-columns: 24px 1fr; gap: 14px; width: 100%; margin: 0; padding: 13px 0; border: 0; border-top: 1px solid #f0ebe6;
  background: none; text-align: left; font: 400 15.5px/1.55 "DM Sans", sans-serif; color: #4f4f4f; cursor: pointer; text-transform: none; letter-spacing: normal; }
.ms-check li:first-child button { border-top: 0; }
.ms-check__box { width: 22px; height: 22px; margin-top: 1px; border-radius: 5px; border: 2px solid #d9cabd; transition: background-color .25s ease, border-color .25s ease; position: relative; }
.ms-check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); transition: transform .25s ease; }
.ms-check button:hover .ms-check__box { border-color: var(--ms-orange); }
.ms-check button[aria-pressed="true"] .ms-check__box { background: var(--ms-orange); border-color: var(--ms-orange); }
.ms-check button[aria-pressed="true"] .ms-check__box::after { transform: rotate(45deg) scale(1); }
.ms-check button[aria-pressed="true"] { color: var(--ms-ink); }
.ms-check button:focus-visible { outline: 2px solid var(--ms-orange); outline-offset: 2px; }
.ms-check__count { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #f0ebe6; font: 600 14px/1.3 "Outfit", sans-serif; color: var(--ms-brown); }

/* ---------- partway call to action ---------- */
.ms-nudge { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 48px; border-radius: 10px;
  background: radial-gradient(120% 140% at 100% 0%, #8D441F 0%, #602608 55%, #481F0F 100%); color: rgba(255, 255, 255, .85); box-shadow: var(--ms-shadow); }
.ms-nudge p { margin: 0; max-width: 660px; font: 500 20px/1.5 "Outfit", sans-serif; color: #fff; }
.ms-nudge .ms-btn { flex: none; }

/* ---------- FAQ accordion ---------- */
.ms-faq { max-width: 900px; margin: 0 auto; }
.ms-faq__item { margin-bottom: 14px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); transition: border-color .3s ease, box-shadow .3s ease; }
.ms-faq__item.is-open { border-color: rgba(236, 114, 37, .55); box-shadow: var(--ms-shadow); }
.ms-faq__q { margin: 0; }
.ms-faq__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin: 0; padding: 22px 26px; border: 0; background: none;
  text-align: left; cursor: pointer; font: 600 18px/1.4 "Outfit", sans-serif; color: var(--ms-ink); text-transform: none; letter-spacing: normal; }
.ms-faq__btn:focus-visible { outline: 2px solid var(--ms-orange); outline-offset: -2px; border-radius: 8px; }
.ms-faq__icon { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ms-alt); transition: background-color .3s ease, transform .4s ease; }
.ms-faq__icon::before, .ms-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ms-brown); transition: transform .4s ease, background-color .3s ease; }
.ms-faq__icon::after { transform: rotate(90deg); }
.ms-faq__item.is-open .ms-faq__icon { background: var(--ms-orange); transform: rotate(180deg); }
.ms-faq__item.is-open .ms-faq__icon::before, .ms-faq__item.is-open .ms-faq__icon::after { background: #fff; }
.ms-faq__item.is-open .ms-faq__icon::after { transform: rotate(0deg); }
.ms-faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s ease; }
.ms-js .ms-faq__panel { grid-template-rows: 0fr; }
.ms-js .ms-faq__item.is-open .ms-faq__panel { grid-template-rows: 1fr; }
.ms-faq__body { overflow: hidden; }
.ms-faq__body p { margin: 0; padding: 0 26px 24px; font-size: 16px; line-height: 1.75; }

/* ---------- keep reading ---------- */
.ms-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ms-card { position: relative; display: flex; flex-direction: column; padding: 38px 36px 34px; border-radius: 8px; background: #fff; border: 1px solid transparent;
  box-shadow: 0 0 40px rgba(0, 0, 0, .07); text-decoration: none; transition: transform .5s ease, border-color .5s ease, box-shadow .5s ease; }
.ms-card:hover { transform: translateY(-6px); border-color: var(--ms-orange); box-shadow: var(--ms-shadow-hover); }
.ms-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 12px; background: var(--ms-alt); color: var(--ms-brown);
  transition: transform .5s ease, background-color .5s ease, color .5s ease; }
.ms-card__icon svg { width: 28px; height: 28px; }
.ms-card:hover .ms-card__icon { transform: scale(1.08); background: var(--ms-orange); color: #fff; }
.ms-card__title { margin: 0 0 10px; font: 700 23px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-card__text { margin: 0 0 22px; font-size: 15.5px; line-height: 1.7; color: var(--ms-text); }
.ms-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 "DM Sans", sans-serif; text-transform: uppercase; color: var(--ms-brown); }
.ms-card__go::after { content: "\2192"; transition: transform .4s ease; }
.ms-card:hover .ms-card__go::after { transform: translateX(5px); }
.ms-card__num { position: absolute; right: 30px; bottom: 22px; font: 700 54px/1 "Outfit", sans-serif; color: #f1ece8; pointer-events: none; }

/* ---------- video page: where video banners appear ---------- */
.ms-venues { display: grid; gap: 14px; }
.ms-venue { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); }
.ms-venue svg { width: 62px; height: 46px; color: #b9aca1; }
.ms-venue b { display: block; font: 600 17px/1.35 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-venue span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; }
.ms-venue.is-ours { border-color: rgba(236, 114, 37, .6); background: linear-gradient(135deg, #fff 0%, #fff4ea 100%); box-shadow: var(--ms-shadow); }
.ms-venue.is-ours svg { color: var(--ms-orange); }
.ms-venue__tag { display: inline-block; margin-top: 8px; padding: 5px 10px; border-radius: 30px; background: var(--ms-orange); color: #fff; font: 600 12px/1 "DM Sans", sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.ms-js .ms-venue { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.ms-js .is-in .ms-venue { opacity: 1; transform: none; }
.ms-js .is-in .ms-venue:nth-child(2) { transition-delay: .15s; }
.ms-js .is-in .ms-venue:nth-child(3) { transition-delay: .3s; }

/* ---------- video page: the slot timeline ---------- */
.ms-reel { padding: 30px 28px 26px; border-radius: 10px; background: var(--ms-dark); box-shadow: var(--ms-shadow); }
.ms-reel__frames { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ms-reel__frames i { aspect-ratio: 16 / 9; border-radius: 4px; background: linear-gradient(135deg, var(--a), var(--b)); }
.ms-reel__frames i:nth-child(1) { --a: #EC7225; --b: #8D441F; } .ms-reel__frames i:nth-child(2) { --a: #EE9723; --b: #EC7225; }
.ms-reel__frames i:nth-child(3) { --a: #8D441F; --b: #602608; } .ms-reel__frames i:nth-child(4) { --a: #EC7225; --b: #EE9723; }
.ms-reel__frames i:nth-child(5) { --a: #602608; --b: #EC7225; }
.ms-reel__head { position: absolute; top: -8px; bottom: -8px; left: 0; width: 3px; border-radius: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .8); }
.ms-js .ms-reel.is-in .ms-reel__head { animation: ms-scrub 15s linear infinite; }
@keyframes ms-scrub { from { left: 0; } to { left: calc(100% - 3px); } }
.ms-reel__ticks { display: flex; justify-content: space-between; margin-top: 14px; font: 500 12px/1 "DM Sans", sans-serif; color: rgba(255, 255, 255, .5); }
.ms-reel__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ms-reel__specs span { padding: 8px 13px; border-radius: 30px; background: rgba(255, 255, 255, .07); font: 600 13px/1 "Outfit", sans-serif; color: #fff; }
.ms-reel__specs b { color: #EE9723; }

/* ---------- video page: language by route ---------- */
.ms-routes { display: grid; gap: 14px; }
.ms-route { padding: 22px 24px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); }
.ms-route__place { display: flex; align-items: center; gap: 10px; font: 600 18px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-route__place::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ms-orange); }
.ms-route__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ms-route__langs span { padding: 8px 14px; border-radius: 30px; background: #fff4ea; border: 1px solid rgba(236, 114, 37, .35); font: 600 14px/1 "Outfit", sans-serif; color: var(--ms-brown); }
.ms-route__note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.ms-js .ms-route__langs span { opacity: 0; transform: scale(.85); transition: opacity .5s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.ms-js .is-in .ms-route__langs span { opacity: 1; transform: none; }
.ms-js .is-in .ms-route:nth-child(2) .ms-route__langs span { transition-delay: .3s; }
.ms-js .is-in .ms-route:nth-child(2) .ms-route__langs span + span { transition-delay: .45s; }

/* ---------- video page: inside the taxi vs on the bodywork ---------- */
.ms-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ms-vs__card { padding: 26px 22px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); }
.ms-vs__card.is-ours { background: var(--ms-dark); border-color: var(--ms-dark); color: rgba(255, 255, 255, .75); }
.ms-vs__card svg { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.ms-vs__card b { display: block; margin-bottom: 6px; font: 600 17px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-vs__card.is-ours b { color: #EE9723; }
.ms-vs__card span { font-size: 14px; line-height: 1.55; }
.ms-vs__glow { animation: ms-glow 2.6s ease-in-out infinite; }
@keyframes ms-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- video page: fit cards ---------- */
.ms-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ms-fit__card { padding: 40px 38px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.ms-fit__card--yes { border-top: 5px solid #EE9723; }
.ms-fit__card--no { border-top: 5px solid rgba(255, 255, 255, .35); }
.ms-fit__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 600 13px/1 "DM Sans", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #EE9723; }
.ms-fit__card--no .ms-fit__label { color: rgba(255, 255, 255, .7); }
.ms-fit__card p { margin: 0; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .78); }

/* ---------- static page: the loop strip ---------- */
.ms-strip { padding: 30px 26px 24px; border-radius: 10px; background: #fff; box-shadow: var(--ms-shadow); }
.ms-strip__row { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.ms-strip__row i { position: relative; aspect-ratio: 9 / 16; border-radius: 4px; background: #efe7e0; }
.ms-strip__row i.v { background: repeating-linear-gradient(135deg, #e9ddd2 0 6px, #f3ece6 6px 12px); }
.ms-strip__row i.is-static { background: #EC7225; box-shadow: 0 8px 18px rgba(236, 114, 37, .4); }
.ms-strip__row i.is-static::after { content: ""; position: absolute; left: 22%; right: 22%; top: 30%; height: 14%; border-radius: 2px; background: #fff; box-shadow: 0 12px 0 rgba(255, 255, 255, .6); }
.ms-strip__scan { position: absolute; top: -6px; bottom: -6px; width: calc((100% - 55px) / 12 + 6px); margin-left: -3px; border-radius: 6px; border: 2px solid #8D441F; pointer-events: none; }
.ms-js .ms-strip.is-in .ms-strip__scan { animation: ms-scan 12s steps(12) infinite; }
@keyframes ms-scan { from { left: 0; } to { left: 100%; } }
.ms-strip__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 14px; }
.ms-strip__legend span { display: inline-flex; align-items: center; gap: 8px; }
.ms-strip__legend i { width: 14px; height: 14px; border-radius: 3px; background: #EC7225; }
.ms-strip__legend i.v { background: repeating-linear-gradient(135deg, #e9ddd2 0 4px, #f3ece6 4px 8px); border: 1px solid #e0d2c6; }
.ms-strip__scale { display: flex; justify-content: space-between; margin-top: 12px; font: 600 12px/1 "DM Sans", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #a1958b; }

/* ---------- static page: artwork to live ---------- */
.ms-steps { position: relative; }
.ms-steps ol { margin: 0; padding: 0; list-style: none; }
.ms-steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: #eadfd5; }
.ms-steps__fill { position: absolute; left: 23px; top: 24px; width: 2px; height: calc(100% - 48px); background: linear-gradient(#EC7225, #EE9723); transform-origin: top; }
.ms-js .ms-steps__fill { transform: scaleY(0); transition: transform 2.4s ease .2s; }
.ms-js .is-in .ms-steps__fill { transform: scaleY(1); }
.ms-steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; margin: 0 0 20px; padding: 0; list-style: none; }
.ms-steps li::before { content: none; }
.ms-steps li:last-child { margin-bottom: 0; }
.ms-steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid #eadfd5;
  font: 700 15px/1 "Outfit", sans-serif; color: var(--ms-brown); transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.ms-js .is-in .ms-steps__dot { background: var(--ms-orange); border-color: var(--ms-orange); color: #fff; }
.ms-js .is-in li:nth-child(2) .ms-steps__dot { transition-delay: .7s; }
.ms-js .is-in li:nth-child(3) .ms-steps__dot { transition-delay: 1.4s; }
.ms-js .is-in li:nth-child(4) .ms-steps__dot { transition-delay: 2.1s; }
.ms-steps__card { padding: 16px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); }
.ms-steps__card b { display: block; font: 600 17px/1.35 "Outfit", sans-serif; color: var(--ms-ink); }
.ms-steps__card span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.ms-steps li:last-child .ms-steps__card { background: var(--ms-dark); border-color: var(--ms-dark); }
.ms-steps li:last-child .ms-steps__card b { color: #EE9723; }
.ms-steps li:last-child .ms-steps__card span { color: rgba(255, 255, 255, .7); }

/* ---------- static page: one journey, five sightings ---------- */
.ms-trip { padding: 34px 30px 28px; border-radius: 10px; background: #fff; box-shadow: var(--ms-shadow); }
.ms-trip svg { display: block; width: 100%; height: auto; overflow: visible; }
.ms-trip__road { fill: none; stroke: #eadfd5; stroke-width: 6; stroke-linecap: round; }
.ms-trip__done { fill: none; stroke: #EC7225; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ms-trip__done { stroke-dashoffset: 0; }
.ms-js .ms-trip .ms-trip__done { stroke-dashoffset: 1; }
.ms-js .ms-trip.is-in .ms-trip__done { animation: ms-trip 3.4s ease-in-out .2s both; }
@keyframes ms-trip { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ms-trip__seen circle { fill: #fff; stroke: #EC7225; stroke-width: 3; }
.ms-trip__seen text { font: 700 13px "Outfit", sans-serif; fill: #8D441F; text-anchor: middle; }
.ms-trip__seen { transform-box: fill-box; transform-origin: center; }
.ms-js .ms-trip .ms-trip__seen { opacity: 0; }
.ms-js .ms-trip.is-in .ms-trip__seen { animation: ms-seen .5s cubic-bezier(.3, 1.6, .5, 1) var(--d) both; }
@keyframes ms-seen { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.ms-trip__end { font: 600 14px "Outfit", sans-serif; fill: #1A1A1A; }
.ms-trip__cap { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #f0ebe6; }
.ms-trip__cap b { font: 700 40px/1 "Outfit", sans-serif; color: var(--ms-orange); }
.ms-trip__cap span { font-size: 15px; line-height: 1.5; }

/* ---------- reveal ---------- */
.ms-js .ms-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.ms-js .ms-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ms-band { padding: 84px 0; }
  .ms-band--tight { padding: 0 0 84px; }
  .ms-grid, .ms-grid--wide { gap: 48px; }
}
@media (max-width: 900px) {
  .ms-grid, .ms-grid--wide { grid-template-columns: minmax(0, 1fr); }
  .ms-grid--flip > .ms-col:first-child { order: 2; }
  .ms-sticky > .ms-sticky__inner { position: static; }
  .ms-photo { min-height: 380px; }
  .ms-more, .ms-fit { grid-template-columns: minmax(0, 1fr); }
  .ms-nudge { flex-direction: column; align-items: flex-start; padding: 34px 30px; }
}
@media (max-width: 575px) {
  .ms-wrap { padding: 0 20px; }
  .ms-band { padding: 68px 0; }
  .ms-band--tight { padding: 0 0 68px; }
  .ms-grid + .ms-grid { margin-top: 64px; }
  .ms-banner__lede { font-size: 16px; }
  .ms-btn { padding: 18px 30px; }
  .ms-answer { padding: 30px 24px 28px; }
  .ms-answer p { font-size: 17px; }
  .ms-quote p { font-size: 17.5px; }
  .ms-stats, .ms-vs { grid-template-columns: minmax(0, 1fr); }
  .ms-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ms-fact b { font-size: 22px; }
  .ms-loop__centre b { font-size: 42px; }
  .ms-faq__btn { padding: 18px 18px; font-size: 16.5px; }
  .ms-faq__body p { padding: 0 18px 20px; }
  .ms-card { padding: 30px 26px 28px; }
  .ms-check { padding: 28px 22px 24px; }
  .ms-bar { grid-template-columns: 78px 1fr auto; gap: 10px; }
  .ms-nudge p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ms *, .ms *::before, .ms *::after { animation: none !important; transition: none !important; }
  .ms-js .ms-reveal, .ms-js .ms-venue, .ms-js .ms-route__langs span { opacity: 1; transform: none; }
  .ms-js .ms-bar__track span, .ms-js .ms-steps__fill { transform: none; }
  .ms-js .ms-trip .ms-trip__seen { opacity: 1; }
  .ms-trip__done { stroke-dashoffset: 0; }
  .ms-poster--b { display: none; }
}

/* theme sets every <p> to grey; keep text readable on the dark panels */
.ms-band--dark .ms-prose p { color: rgba(255, 255, 255, .74); }
.ms-define p { color: rgba(255, 255, 255, .82); }
.ms-fit__card p { color: rgba(255, 255, 255, .8); }
.ms-venue span.ms-venue__tag { display: inline-block; margin-top: 10px; padding: 6px 12px; font: 600 11.5px/1.2 "DM Sans", sans-serif; letter-spacing: .6px; white-space: nowrap; }
/* narrow phones: icon above the text so the label always fits on one line */
@media (max-width: 480px) {
  .ms-venue { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 18px; }
  .ms-venue svg { width: 50px; height: 37px; }
}
/* contrast (WCAG AA) on white and on the warm alternate band */
.ms-prose p, .ms-faq__body p, .ms-card__text, .ms-check__hint, .ms-venue span, .ms-route__note, .ms-steps__card span, .ms-fact span, .ms-strip__legend, .ms-trip__cap span { color: #5e5e5e; }
.ms-band--dark .ms-prose p { color: rgba(255, 255, 255, .74); }
.ms-strip__scale, .ms-screen__label { color: #75695f; }
.ms-trip__cap b { color: #B9531A; }

/* buttons: the menu's "Book Consultation" button (theme .rr-btn__header), used for every call to action on these pages */
.ms-navbtn.rr-btn__header { display: inline-flex; padding: 12.5px 33px; background-color: #8D441F; color: #fff; text-decoration: none;
  font: 500 16px/25px "DM Sans", sans-serif; text-transform: uppercase; border-radius: 0; transition: background-color .3s ease; }
.ms-navbtn .text-one, .ms-navbtn .text-two { gap: 8px; white-space: nowrap; transition: transform .3s ease, top .3s ease; }
.ms-navbtn .text-one svg, .ms-navbtn .text-two svg { display: inline-block; vertical-align: middle; margin-left: 6px; }
.ms-navbtn:hover, .ms-navbtn:focus-visible { background-color: #6f3418; color: #fff; }
.ms-navbtn:focus-visible { outline: 2px solid #EE9723; outline-offset: 3px; }
.ms-banner .ms-navbtn { margin-top: 2px; }
@media (max-width: 575px) { .ms-navbtn.rr-btn__header { padding: 12px 24px; font-size: 15px; } }

/* partway call to action: a white card, so the brown button reads on it */
.ms-nudge { position: relative; overflow: hidden; color: var(--ms-text); background: linear-gradient(100deg, #fff 0%, #FBF5EF 55%, #F6E7D8 100%);
  border: 1px solid #ead8c6; border-left: 6px solid #EC7225; box-shadow: none; }
/* faint minibus watermark on the right, behind the button */
.ms-nudge::after { content: ""; position: absolute; right: -18px; bottom: -22px; width: 230px; height: 150px; opacity: .07; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18' fill='none' stroke='%238D441F' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M2 13V4.2C2 3.5 2.5 3 3.2 3h15.9c.5 0 .9.2 1.2.6l3.3 4.2 2.1.7c.6.2.9.7.9 1.3V13z'/%3E%3Cpath d='M2 7.7h21.3' stroke-width='1'/%3E%3Ccircle cx='7' cy='14' r='2.3'/%3E%3Ccircle cx='21' cy='14' r='2.3'/%3E%3C/svg%3E") no-repeat center / contain; }
.ms-nudge > * { position: relative; z-index: 1; }
.ms-nudge p { color: var(--ms-ink); }

/* =================== In-Taxi TV Advertising page (src/pages/services-in-taxi-television-advertising.html) =================== */

/* coverage: the two screen sizes and where each runs */
.mt-screens { display: grid; grid-template-columns: 22fr 17fr; gap: 26px; align-items: end; }
.mt-scr__frame { position: relative; padding: 10px; border-radius: 12px; background: #111; box-shadow: 0 26px 50px rgba(0, 0, 0, .22); }
.mt-scr__glass { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px;
  background: linear-gradient(120deg, #602608, #EC7225 55%, #EE9723); }
.mt-scr__glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 45%, transparent 60%);
  transform: translateX(-100%); }
.ms-js .is-in .mt-scr__glass::after { animation: mt-sheen 4.5s ease-in-out 1s infinite; }
@keyframes mt-sheen { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
.mt-scr__size { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 clamp(26px, 3vw, 40px)/1 "Outfit", sans-serif; color: #fff; white-space: nowrap; }
.mt-scr__label { margin: 14px 0 10px; font: 600 15px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.mt-scr__provs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mt-scr__provs li { margin: 0; padding: 6px 11px; border-radius: 30px; background: #fff; border: 1px solid var(--ms-line); font: 600 13px/1.2 "Outfit", sans-serif; color: var(--ms-ink); }
.mt-scr__provs li::before { content: none; }
.ms-js .mt-scr__provs li { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.ms-js .is-in .mt-scr__provs li { opacity: 1; transform: none; }
.ms-js .is-in .mt-scr__provs li:nth-child(2) { transition-delay: .12s; } .ms-js .is-in .mt-scr__provs li:nth-child(3) { transition-delay: .24s; }
.ms-js .is-in .mt-scr__provs li:nth-child(4) { transition-delay: .36s; } .ms-js .is-in .mt-scr__provs li:nth-child(5) { transition-delay: .48s; }
.ms-js .is-in .mt-scr__provs li:nth-child(6) { transition-delay: .6s; } .ms-js .is-in .mt-scr__provs li:nth-child(7) { transition-delay: .72s; }

/* effectiveness: the Legal Aid proof card */
.mt-proof { padding: 34px 32px 30px; border-radius: 10px; background: var(--ms-dark); color: rgba(255, 255, 255, .75); box-shadow: var(--ms-shadow); }
.mt-proof__eyebrow { display: block; font: 600 13px/1 "DM Sans", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #EE9723; }
.mt-proof__big { display: block; margin: 14px 0 4px; font: 700 clamp(40px, 5vw, 58px)/1 "Outfit", sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.mt-proof__unit { font: 500 16px/1.4 "DM Sans", sans-serif; color: rgba(255, 255, 255, .75); }
.mt-proof__rings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mt-ring { display: flex; align-items: center; gap: 14px; }
.mt-ring svg { flex: none; width: 74px; height: 74px; transform: rotate(-90deg); }
.mt-ring__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 3.6; }
.mt-ring__val { fill: none; stroke: #EE9723; stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); }
.ms-js .mt-proof .mt-ring__val { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1) .3s; }
.ms-js .mt-proof.is-in .mt-ring__val { stroke-dashoffset: calc(100 - var(--p)); }
.mt-ring b { display: block; font: 700 22px/1.1 "Outfit", sans-serif; color: #fff; }
.mt-ring span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.mt-proof__src { margin: 20px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* process: a minibus drives the campaign route past each stage */
.mt-route { position: relative; padding: 6px 0 6px 70px; }
.mt-route__road { position: absolute; left: 26px; top: 20px; bottom: 20px; width: 6px; border-radius: 3px;
  background: repeating-linear-gradient(to bottom, #eadfd5 0 14px, transparent 14px 22px); }
.mt-route__taxi { position: absolute; left: 6px; top: calc(100% - 46px); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: #8D441F; box-shadow: 0 8px 20px rgba(141, 68, 31, .35); z-index: 2; }
.mt-route__taxi svg { width: 28px; height: 18px; color: #fff; }
.ms-js .mt-route .mt-route__taxi { top: 0; }
.ms-js .mt-route.is-in .mt-route__taxi { animation: mt-drive 6s cubic-bezier(.45, 0, .3, 1) .3s both; }
@keyframes mt-drive { from { top: 0; } to { top: calc(100% - 46px); } }
.mt-route ol { margin: 0; padding: 0; list-style: none; }
.mt-route li { position: relative; margin: 0 0 14px; padding: 16px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--ms-line); list-style: none; }
.mt-route li::before { content: ""; position: absolute; left: -50px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: #EC7225; border: 3px solid #EC7225; transition: background-color .4s ease, border-color .4s ease; }
.ms-js .mt-route li::before { background: #fff; border-color: #d9cabd; }
.mt-route li:last-child { margin-bottom: 0; }
.mt-route li b { display: block; font: 600 17px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.mt-route li span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: #5e5e5e; }
.ms-js .mt-route.is-in li::before { background: #EC7225; border-color: #EC7225; }
.ms-js .mt-route.is-in li:nth-child(1)::before { transition-delay: .5s; } .ms-js .mt-route.is-in li:nth-child(2)::before { transition-delay: 1.4s; }
.ms-js .mt-route.is-in li:nth-child(3)::before { transition-delay: 2.4s; } .ms-js .mt-route.is-in li:nth-child(4)::before { transition-delay: 3.4s; }
.ms-js .mt-route.is-in li:nth-child(5)::before { transition-delay: 4.4s; } .ms-js .mt-route.is-in li:nth-child(6)::before { transition-delay: 5.6s; }

/* suits / look elsewhere lists inside the fit cards */
.mt-fitlist { margin: 0; padding: 0; list-style: none; }
.mt-fitlist li { position: relative; margin: 0 0 12px; padding: 0 0 12px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); list-style: none;
  font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.mt-fitlist li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.mt-fitlist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #EE9723; }
.ms-fit__card--no .mt-fitlist li::before { background: rgba(255, 255, 255, .4); }

/* price: one campaign price built from its drivers */
.mt-cost { padding: 30px 28px 26px; border-radius: 10px; background: #fff; box-shadow: var(--ms-shadow); }
.mt-cost__title { margin: 0 0 16px; font: 600 16px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.mt-cost__bar { display: flex; height: 54px; border-radius: 8px; overflow: hidden; }
.mt-cost__bar i { flex: 1; transform-origin: left; }
.mt-cost__bar i:nth-child(1) { background: #602608; } .mt-cost__bar i:nth-child(2) { background: #8D441F; }
.mt-cost__bar i:nth-child(3) { background: #C9642E; } .mt-cost__bar i:nth-child(4) { background: #EC7225; } .mt-cost__bar i:nth-child(5) { background: #EE9723; }
.ms-js .mt-cost .mt-cost__bar i { transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ms-js .mt-cost.is-in .mt-cost__bar i { transform: none; }
.ms-js .mt-cost.is-in .mt-cost__bar i:nth-child(2) { transition-delay: .35s; } .ms-js .mt-cost.is-in .mt-cost__bar i:nth-child(3) { transition-delay: .7s; }
.ms-js .mt-cost.is-in .mt-cost__bar i:nth-child(4) { transition-delay: 1.05s; } .ms-js .mt-cost.is-in .mt-cost__bar i:nth-child(5) { transition-delay: 1.4s; }
.mt-cost__legend { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.mt-cost__legend li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; color: #4f4f4f; list-style: none; }
.mt-cost__legend li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.mt-cost__inc { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #f0ebe6; font-size: 14.5px; line-height: 1.6; color: #5e5e5e; }
.mt-cost__inc b { color: var(--ms-ink); font-family: "Outfit", sans-serif; }

@media (max-width: 575px) {
  .mt-screens { gap: 16px; }
  .mt-proof__rings { grid-template-columns: 1fr; }
  .mt-route { padding-left: 58px; }
  .mt-route__road { left: 20px; } .mt-route__taxi { left: 0; width: 42px; height: 42px; }
  .mt-route li::before { left: -44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-js .mt-scr__provs li { opacity: 1; transform: none; }
  .ms-js .mt-proof .mt-ring__val { stroke-dashoffset: calc(100 - var(--p)); }
  .ms-js .mt-cost .mt-cost__bar i { transform: none; }
  .ms-js .mt-route .mt-route__taxi { top: calc(100% - 46px); }
  .ms-js .mt-route li::before { background: #EC7225; border-color: #EC7225; }
}

/* banner photo a touch darker so the white title always reads, whatever part of the photo sits behind it on a phone */
.ms-banner .breadcrumb__background { filter: brightness(.68); }

/* banner title: own fade-up (the theme letter animation could stay hidden on phones); always ends visible */
.ms-banner__title { animation: ms-title-in .9s cubic-bezier(.2, .7, .2, 1) .15s both; text-shadow: 0 2px 22px rgba(0, 0, 0, .55); }
@keyframes ms-title-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .ms-banner__title { animation: none; } }

/* =================== Homepage sections from Chomi (marked <!-- chomi:... --> in src/pages/home.html) =================== */
.ms-band.mh-first { padding-top: 90px; }
.mh-h1 { margin: 0 0 18px; font: 700 clamp(30px, 3.4vw, 46px)/1.18 "Outfit", sans-serif; color: var(--ms-ink); letter-spacing: -.3px; }
.mh-lede { margin: 0; font-size: 17.5px; line-height: 1.7; color: #5e5e5e; }

/* the network's day: 18 hours of loops, busiest at the morning and evening commutes */
.mh-day { padding: 30px 28px 24px; border-radius: 10px; background: #fff; box-shadow: var(--ms-shadow); }
.mh-day__title { margin: 0 0 18px; font: 600 16px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.mh-day__track { position: relative; height: 64px; border-radius: 8px; overflow: hidden;
  background: repeating-linear-gradient(90deg, #f1e8df 0 calc(100% / 36 - 2px), #fff calc(100% / 36 - 2px) calc(100% / 36)); }
.mh-day__peak { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(180deg, #EE9723, #EC7225); opacity: .9; }
.mh-day__peak span { position: absolute; left: 8px; bottom: 7px; font: 600 12px/1.1 "Outfit", sans-serif; color: #fff; white-space: nowrap; }
.mh-day__head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 3px; border-radius: 2px; background: #602608; box-shadow: 0 0 0 3px rgba(96, 38, 8, .15); }
.ms-js .mh-day.is-in .mh-day__head { animation: mh-scan 9s linear infinite; }
@keyframes mh-scan { from { left: 0; } to { left: calc(100% - 3px); } }
.mh-day__ticks { display: flex; justify-content: space-between; margin-top: 10px; font: 600 12px/1 "DM Sans", sans-serif; color: #75695f; }
.mh-day__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #f0ebe6; }
.mh-day__facts div { padding: 12px 14px; border-radius: 8px; background: var(--ms-alt); }
.mh-day__facts b { display: block; font: 700 20px/1.1 "Outfit", sans-serif; color: var(--ms-brown); }
.mh-day__facts span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: #5e5e5e; }
.ms-js .mh-day .mh-day__peak { transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ms-js .mh-day.is-in .mh-day__peak { transform: none; }
.ms-js .mh-day.is-in .mh-day__peak + .mh-day__peak { transition-delay: .25s; }

/* attention: a three-second glance against a seated ride */
.mh-glance { padding: 30px 28px 26px; border-radius: 10px; background: var(--ms-dark); box-shadow: var(--ms-shadow); }
.mh-glance__row + .mh-glance__row { margin-top: 24px; }
.mh-glance__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: 600 15px/1.3 "Outfit", sans-serif; color: #fff; }
.mh-glance__label em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, .72); }
.mh-glance__bar { height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mh-glance__bar span { display: block; height: 100%; width: var(--w); border-radius: 9px; background: rgba(255, 255, 255, .45); }
.mh-glance__row--taxi .mh-glance__bar span { background: linear-gradient(90deg, #EC7225, #EE9723); }
.ms-js .mh-glance .mh-glance__bar span { transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.3, .6, .2, 1) .3s; }
.ms-js .mh-glance.is-in .mh-glance__bar span { transform: none; }
.mh-glance__note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }

/* the post-campaign report, and the IEC coming back for a second flight */
.mh-report { padding: 28px 26px 24px; border-radius: 10px; background: #fff; box-shadow: var(--ms-shadow); border-top: 5px solid #8D441F; }
.mh-report__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.mh-report__head b { font: 700 18px/1.3 "Outfit", sans-serif; color: var(--ms-ink); }
.mh-report__head span { font: 600 12px/1 "DM Sans", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #8D441F; }
.mh-report ul { margin: 0; padding: 0; list-style: none; }
.mh-report li { display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 14px; margin: 0; padding: 10px 0; border-top: 1px solid #f0ebe6; list-style: none; font-size: 14.5px; color: #4f4f4f; }
.mh-report li::before { content: none; }
.mh-report li i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #EC7225, #EE9723); width: var(--w); }
.ms-js .mh-report li i { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ms-js .mh-report.is-in li i { transform: none; }
.ms-js .mh-report.is-in li:nth-child(2) i { transition-delay: .12s; } .ms-js .mh-report.is-in li:nth-child(3) i { transition-delay: .24s; }
.ms-js .mh-report.is-in li:nth-child(4) i { transition-delay: .36s; } .ms-js .mh-report.is-in li:nth-child(5) i { transition-delay: .48s; }
.ms-js .mh-report.is-in li:nth-child(6) i { transition-delay: .6s; } .ms-js .mh-report.is-in li:nth-child(7) i { transition-delay: .72s; }
.ms-js .mh-report.is-in li:nth-child(8) i { transition-delay: .84s; }
.mh-renew { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 8px; background: var(--ms-alt); }
.mh-renew b { padding: 8px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--ms-line); font: 600 14px/1.2 "Outfit", sans-serif; color: var(--ms-ink); white-space: nowrap; }
.mh-renew b:last-child { background: #8D441F; border-color: #8D441F; color: #fff; }
.mh-renew i { position: relative; height: 2px; background: #d9cabd; }
.mh-renew i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: #d9cabd; }
.mh-renew__cap { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; color: #5e5e5e; }

@media (max-width: 575px) {
  .ms-band.mh-first { padding-top: 64px; }
  .mh-day__facts { grid-template-columns: 1fr 1fr; }
  .mh-day__peak span { font-size: 11px; left: 5px; }
  .mh-report li { grid-template-columns: 1fr 34%; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-js .mh-day .mh-day__peak, .ms-js .mh-glance .mh-glance__bar span, .ms-js .mh-report li i { transform: none; }
}

/* existing homepage sections that had no top spacing of their own, now that a Chomi section sits above them */
.ms + .elementor-element-847e4f4 { padding-top: 110px; }
@media (max-width: 575px) { .ms + .elementor-element-847e4f4 { padding-top: 70px; } }

/* "Read more": extra paragraphs folded away under a toggle (all text stays in the page) */
.ms-expand__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s ease; }
.ms-expand.is-ready .ms-expand__panel { grid-template-rows: 0fr; }
.ms-expand.is-ready.is-open .ms-expand__panel { grid-template-rows: 1fr; }
.ms-expand__body { overflow: hidden; }
.ms-expand__body > .ms-prose { padding-top: 18px; }
.ms-expand__btn { display: none; align-items: center; gap: 10px; margin: 20px 0 0; padding: 10px 18px; border: 1px solid #8D441F; border-radius: 30px;
  background: none; color: #8D441F; font: 600 14px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .5px; cursor: pointer;
  transition: background-color .3s ease, color .3s ease; }
.ms-expand.is-ready .ms-expand__btn { display: inline-flex; }
.ms-expand__btn:hover { background: #8D441F; color: #fff; }
.ms-expand__btn:focus-visible { outline: 2px solid #EE9723; outline-offset: 3px; }
.ms-expand__btn i { width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .35s ease, margin .35s ease; }
.ms-expand.is-open .ms-expand__btn i { transform: rotate(-135deg); margin-top: 4px; }
.ms-expand__less, .ms-expand.is-open .ms-expand__more { display: none; }
.ms-expand.is-open .ms-expand__less { display: inline; }
@media (prefers-reduced-motion: reduce) { .ms-expand__panel, .ms-expand__btn i { transition: none; } }
