@font-face { font-family:'PRL Sinhala Fallback'; src:local('Noto Sans Sinhala'); size-adjust:100%; ascent-override:101.1%; descent-override:29.3%; line-gap-override:0%; }
@font-face { font-family:'PRL Tamil Fallback'; src:local('Noto Sans Tamil'); size-adjust:100%; ascent-override:87%; descent-override:37%; line-gap-override:0%; }
@font-face { font-family: PRL Latin; src: url('/assets/fonts/latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; 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: PRL Latin; src: url('/assets/fonts/latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; 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: PRL Sinhala; src: url('/assets/fonts/sinhala-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0D80-0DFF,U+111E0-111FF,U+200B-200D,U+25CC; }
@font-face { font-family: PRL Sinhala; src: url('/assets/fonts/sinhala-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0D80-0DFF,U+111E0-111FF,U+200B-200D,U+25CC; }
@font-face { font-family: PRL Tamil; src: url('/assets/fonts/tamil-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0951-0952,U+0964-0965,U+0B80-0BFF,U+1CDA,U+200B-200D,U+25CC,U+A8F3,U+11300-1137F; }
@font-face { font-family: PRL Tamil; src: url('/assets/fonts/tamil-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0951-0952,U+0964-0965,U+0B80-0BFF,U+1CDA,U+200B-200D,U+25CC,U+A8F3,U+11300-1137F; }
:root { --paper:#faf5f2; --cyan:#def2f4; --ink:#153f49; --teal:#1a5360; --coral:#ff7147; --action-ink:#082d35; --line:#89abb0; --ease-out:cubic-bezier(.23,1,.32,1); color:var(--ink); background:var(--cyan); font-family:'PRL Latin',Arial,sans-serif; font-synthesis:none; }
html { scroll-padding-bottom:110px; }
body { margin:0; color:var(--ink); background:var(--cyan); font-family:inherit; font-size:18px; line-height:1.65; }
:lang(si) { font-family:'PRL Sinhala','PRL Sinhala Fallback','PRL Latin','Nirmala UI','Iskoola Pota',sans-serif; line-height:1.75; }
:lang(ta) { font-family:'PRL Tamil','PRL Tamil Fallback','PRL Latin','Nirmala UI','Latha',sans-serif; line-height:1.75; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
a { color:var(--ink); text-decoration-thickness:1px; text-underline-offset:5px; min-width:44px; min-height:44px; font-size:inherit; }
p { margin:0 0 1rem; max-width:65ch; }
h1,h2,h3 { font-weight:600; letter-spacing:-.025em; margin:0 0 20px; line-height:1.18; text-wrap:balance; }
h1 { font-size:clamp(36px,4.3vw,62px); max-width:14ch; }
h2 { font-size:clamp(28px,2.8vw,40px); max-width:25ch; }
h3 { font-size:24px; }
:lang(si) h1,:lang(ta) h1 { font-size:clamp(32px,3.6vw,52px); max-width:20ch; line-height:1.45; letter-spacing:0; }
:lang(si) h2,:lang(ta) h2,:lang(si) h3,:lang(ta) h3 { line-height:1.5; letter-spacing:0; }
button,input,select,textarea { font-family:inherit; font-size:16px; line-height:1.55; border-radius:4px; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
:focus-visible { outline:3px solid var(--ink); outline-offset:4px; }
::selection { color:var(--paper); background:var(--teal); }
.site-header { background:var(--paper); padding:12px max(24px,calc((100vw - 1220px)/2)); border-bottom:1px solid var(--line); }
.header-top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:inline-flex; gap:12px; padding:0; text-decoration:none; align-items:center; font-size:22px; font-weight:600; white-space:nowrap; }
.brand img { width:56px; height:56px; object-fit:contain; }
.header-top nav { display:flex; gap:4px; flex-wrap:wrap; }
.header-top nav a { font-family:'PRL Latin',system-ui,sans-serif; font-size:16px; padding:7px 10px; text-decoration:none; }
.header-top nav [aria-current] { box-shadow:inset 0 -2px var(--ink); font-weight:600; }
.main-nav { display:flex; align-items:center; gap:24px; margin-top:7px; }
.main-nav a { text-decoration:none; padding:8px 0; font-size:16px; }
.desktop-quote { margin-left:auto; font-weight:600; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:100; background:var(--paper); padding:12px; }
.skip-link:focus { top:10px; }
.section { padding:64px max(24px,calc((100vw - 1220px)/2)); }
.home-hero { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:64px; padding-top:52px; padding-bottom:64px; }
.hero-copy { padding-bottom:16px; }
.driver-note { font-size:16px; font-weight:600; margin-bottom:24px; }
.hero-intro { margin-top:24px; max-width:43ch; }
.route-form { padding:28px 32px; background:var(--paper); border:1px solid var(--line); border-radius:6px; }
.route-form h2 { font-size:24px; margin-bottom:20px; }
.field { display:flex; flex-direction:column; align-items:stretch; gap:8px; margin-bottom:18px; min-width:0; }
label,dt { font-size:16px; font-weight:600; }
input,select,textarea { width:100%; padding:12px 14px; border:1px solid var(--teal); min-height:48px; background:#fff; color:var(--ink); box-shadow:none; }
textarea { resize:vertical; }
input::placeholder,textarea::placeholder { color:#435e65; opacity:1; }
.optional { font-weight:400; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:48px; padding:12px 20px; border:1px solid var(--ink); border-radius:4px; text-decoration:none; font-size:16px; font-weight:600; text-align:center; line-height:1.6; }
.button span { margin-left:auto; }
.primary { background:var(--coral); color:var(--action-ink); }
.secondary { background:var(--paper); color:var(--ink); }
.route-form .button { width:100%; margin-top:2px; }
.support,.draft-note,.badge,.optional { font-size:16px; }
.support { margin:14px 0 0; }
.route-form .support { text-align:center; }
.services-section { background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-intro { margin-bottom:32px; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); margin-top:32px; }
.service-tile { display:block; padding:28px 28px 20px; position:relative; border-bottom:1px solid var(--line); border-right:1px solid var(--line); text-decoration:none; }
.service-tile h3 { padding-right:28px; }
.service-tile p { font-size:18px; }
.service-tile > span { position:absolute; right:22px; top:25px; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:24px; }
.section-heading h2 { margin-bottom:0; }
.text-link { display:inline-flex; align-items:center; gap:16px; padding:8px 0; background:transparent; border:none; text-decoration:underline; text-underline-offset:5px; font-weight:600; }
.notice { border:1px solid var(--line); border-radius:4px; padding:16px 20px; background:var(--paper); max-width:none; font-size:16px; }
.vehicle-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; margin-top:28px; }
.vehicle-card { border-top:1px solid var(--teal); min-width:0; }
.vehicle-art { position:relative; padding:24px 24px 16px; background:#c9e7eb; text-align:center; }
.vehicle-diagram { width:min(100%,300px); height:174px; display:block; margin:0 auto; color:var(--teal); }
.vehicle-art img { display:block; width:100%; height:220px; object-fit:contain; }
.vehicle-art .support { text-align:center; margin:0 auto; font-size:16px; }
.badge { display:inline-flex; padding:3px 8px; border:1px solid var(--ink); font-weight:600; border-radius:3px; background:var(--paper); color:var(--ink); }
.vehicle-art .badge { position:absolute; top:16px; left:16px; }
.vehicle-copy { padding:24px 0 8px; }
.vehicle-copy h3 { margin-bottom:16px; }
dl { margin:0 0 16px; }
dl>div { display:flex; justify-content:space-between; gap:20px; padding:10px 0; border-bottom:1px solid var(--line); }
dt { font-weight:400; max-width:55%; }
dd { margin:0; font-size:16px; font-weight:600; text-align:right; max-width:50%; }
.how-section { background:var(--paper); border-top:1px solid var(--line); }
.how-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; list-style:none; padding:0; margin:36px 0 0; }
.step-number { display:block; font-size:32px; border-top:1px solid var(--teal); padding-top:16px; margin-bottom:20px; }
.how-grid h3 { font-size:22px; }
.contact-section { display:grid; grid-template-columns:1fr 1fr; gap:64px; background:var(--teal); color:var(--paper); }
.contact-section h2 { max-width:20ch; }
.contact-section a { color:var(--paper); }
.contact-section .primary { color:var(--action-ink); }
.contact-section :focus-visible { outline-color:var(--paper); }
address { font-style:normal; }
address a { display:flex; width:fit-content; max-width:100%; overflow-wrap:anywhere; padding-left:0; font-size:20px; }
address p { margin:14px 0 0; }
.site-footer { display:flex; justify-content:space-between; gap:40px; padding:44px max(24px,calc((100vw - 1220px)/2)); background:var(--paper); border-top:1px solid var(--line); }
.site-footer>div { max-width:650px; }
.site-footer a { display:flex; width:fit-content; padding-left:0; }
.site-footer p { font-size:18px; margin-bottom:8px; }
.footer-brand { font-size:24px; font-weight:600; text-decoration:none; margin-bottom:12px; }
.mobile-actions { display:none; }
.page-heading { padding-top:48px; padding-bottom:32px; }
.page-heading h1 { max-width:24ch; }
.page-heading p { max-width:65ch; margin-bottom:0; }
.fleet-list { padding-top:0; }
.panel { padding:28px; background:var(--paper); border:1px solid var(--line); border-radius:6px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; }
.filter-form h2 { font-size:24px; }
.filter-form .form-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.filter-form .support { margin:0 0 16px; }
.result-count { margin-top:26px; }
.enquiry-section,.review-section { padding-top:0; max-width:100%; }
.enquiry-form,.review-section>.panel,.review-section>form,.enquiry-section>.notice { max-width:840px; margin-left:auto; margin-right:auto; }
.enquiry-form .primary { width:100%; }
.assumption-note { margin:22px 0; }
.review-section textarea { min-height:420px; font-size:18px; }
.stack { display:flex; flex-direction:column; align-items:stretch; gap:18px; }
.stack>* { margin-top:0; margin-bottom:0; }
.error { color:#8b211c; font-size:16px; }
.error-summary { padding:24px; border:2px solid #8b211c; background:var(--paper); margin:0 auto 24px; max-width:840px; }
.error-summary h2 { font-size:24px; }
.error-summary a { color:#8b211c; }
[aria-invalid=true] { border:2px solid #8b211c; }
.vehicle-detail { padding-top:0; display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.detail-copy { align-self:center; }
.coverage-content { padding-top:0; min-height:300px; }
.admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.admin-heading,.admin-section { padding:40px max(24px,calc((100vw - 1220px)/2)); }
.admin-nav,.inline { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.admin-nav { padding:0 max(24px,calc((100vw - 1220px)/2)) 24px; }
.admin-record-list,.admin-photo-list { display:grid; gap:20px; }
.admin-record,.admin-photo { border-bottom:1px solid var(--line); padding:16px 0; }
.admin-translation { border-top:1px solid var(--line); padding-top:20px; }
.admin-form { min-width:0; }
.admin-alert.is-error { color:#8b211c; border:2px solid #8b211c; padding:16px; }
input[type=checkbox] { width:24px; min-width:44px; }
.admin-photo img { width:100%; height:150px; object-fit:contain; }
.file-button { padding:12px; border:1px solid var(--line); }
.admin-page .site-footer { margin-top:32px; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { .button { transition:transform 140ms var(--ease-out); } .button:hover { transform:translateY(-1px); } .service-tile:hover { background:#edf8f8; } }
@media(max-width:900px) { .home-hero { gap:32px; } .route-form { padding:24px; } .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .how-grid { gap:24px; } .filter-form .form-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:680px) {
 body { padding-bottom:86px; }
 .site-header { padding:8px 16px; }
 .header-top { gap:8px; }
 .brand { gap:7px; font-size:18px; }
 .brand img { width:42px; height:42px; }
 .header-top nav { gap:0; }
 .header-top nav a { padding:7px 6px; font-size:16px; }
 .main-nav { gap:18px; margin:4px 0 0; justify-content:space-between; }
 .main-nav a { font-size:16px; }
 .desktop-quote { display:none; }
 .section { padding:40px 20px; }
 .home-hero { display:flex; flex-direction:column; gap:20px; padding-top:24px; padding-bottom:32px; align-items:stretch; }
 .hero-copy { padding:0; }
 .driver-note { margin-bottom:10px; font-size:16px; }
 h1 { font-size:36px; max-width:16ch; margin-bottom:0; }
 :lang(si) h1,:lang(ta) h1 { font-size:28px; line-height:1.45; max-width:23ch; }
 .hero-intro { display:none; }
 .route-form { padding:20px; }
 .route-form h2 { font-size:22px; margin-bottom:16px; }
 .route-form .field { margin-bottom:12px; gap:5px; }
 .route-form input,.route-form select { padding:9px 12px; min-height:44px; }
 h2 { font-size:28px; }
 h3 { font-size:22px; }
 .service-grid { grid-template-columns:1fr; margin-top:24px; }
 .service-tile { padding:24px 20px 16px; }
 .section-heading { display:block; }
 .section-heading .text-link { margin-top:12px; }
 .vehicle-grid { grid-template-columns:1fr; gap:28px; }
 .vehicle-diagram { height:150px; }
 .vehicle-art { padding-top:28px; }
 .vehicle-copy { padding-top:20px; }
 .how-grid { grid-template-columns:1fr; gap:24px; }
 .step-number { margin-bottom:12px; }
 .contact-section { grid-template-columns:1fr; gap:28px; }
 .site-footer { flex-direction:column; gap:24px; padding:32px 20px; }
 .mobile-actions { position:fixed; bottom:0; left:0; right:0; z-index:20; display:grid; grid-template-columns:1.5fr 1fr; gap:10px; padding:10px 16px max(10px,env(safe-area-inset-bottom)); background:var(--paper); border-top:1px solid var(--teal); }
 .mobile-actions .button { min-height:48px; padding:10px; }
 .page-heading { padding-bottom:24px; }
 .page-heading h1 { margin-bottom:18px; }
 .page-heading p { margin-top:16px; }
 .fleet-list,.enquiry-section,.review-section,.coverage-content,.vehicle-detail { padding-top:0; }
 .panel { padding:20px; }
 .form-grid,.filter-form .form-grid,.vehicle-detail,.admin-grid { grid-template-columns:1fr; }
 .review-section textarea { font-size:18px; }
 .admin-heading,.admin-section { padding:28px 20px; }
 .admin-nav { padding:0 20px 20px; }
}
@media(max-width:380px) { .brand span { font-size:16px; } .brand img { width:38px; height:38px; } .header-top nav a { padding:7px 4px; } .main-nav { gap:10px; } .route-form { padding:16px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }

@media(max-width:680px) { .main-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; } .main-nav a { justify-content:center; text-align:center; padding:6px 2px; min-width:0; } .main-nav .desktop-quote { display:none; } }

@media(max-width:380px) { .home-hero { padding-top:16px; gap:16px; } .driver-note { margin-bottom:8px; } .route-form h2 { margin-bottom:12px; } .route-form .field { margin-bottom:10px; } }

summary { min-height:44px; cursor:pointer; padding:10px 0; }



/* M3A: category/checkbox semantics and keyboard-safe contact controls. */
.admin-form label:has(>input[type=checkbox]) { display:flex; flex-direction:row; align-items:center; gap:12px; min-height:44px; padding:6px 0; font-weight:400; }
.admin-form input[type=checkbox] { flex:0 0 44px; width:44px; min-width:44px; height:44px; min-height:44px; margin:0; padding:0; accent-color:var(--teal); }
.admin-form fieldset { min-width:0; padding:16px; margin:0; }
.admin-form fieldset>label:not(:has(input[type=checkbox])) { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.district-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.district-toggle { padding:16px; }
.form-heading { max-width:840px; padding-left:0; padding-right:0; margin:auto; }
.enquiry-form>.support { margin-top:18px; margin-bottom:12px; }
.enquiry-form .field { margin-bottom:22px; }
@media(max-width:900px) { .form-heading { margin-left:24px; margin-right:24px; } }
@media(max-width:680px) {
 body { padding-bottom:calc(90px + env(safe-area-inset-bottom,0px)); }
 body.admin-page { padding-bottom:0; }
 html { scroll-padding-top:16px; scroll-padding-bottom:calc(110px + env(safe-area-inset-bottom,0px)); }
 .mobile-actions { position:fixed; top:auto; bottom:0; padding-bottom:calc(10px + env(safe-area-inset-bottom,0px)); }
 body:has(input:not([type=checkbox]):not([type=hidden]):focus,textarea:focus) .mobile-actions { display:none; }
 .form-heading { margin-left:20px; margin-right:20px; }
 .district-grid { grid-template-columns:1fr; }
}

/* Stage 3B — Route Counter, illustrated local edition. */
@font-face { font-family:'PRL Display'; src:url('/assets/fonts/display-700.woff2') format('woff2'); font-weight:700; font-display:swap; 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 { --paper:#fff; --cyan:#def2f4; --mint:#dceee2; --peach:#ffe0c2; --bar-height:calc(82px + env(safe-area-inset-bottom,0px)); --ease-in-out:cubic-bezier(.77,0,.175,1); background:#fff; }
body { background:#fff; }
h1,h2,h3,.footer-brand { font-family:'PRL Display','PRL Latin',sans-serif; font-weight:700; }
:lang(si) h1,:lang(si) h2,:lang(si) h3 { font-family:'PRL Sinhala','PRL Sinhala Fallback','PRL Display',sans-serif; font-weight:600; }
:lang(ta) h1,:lang(ta) h2,:lang(ta) h3 { font-family:'PRL Tamil','PRL Tamil Fallback','PRL Display',sans-serif; font-weight:600; }
h1 { font-size:clamp(44px,5.5vw,76px); line-height:1.02; letter-spacing:-.04em; }
h2 { line-height:1.12; letter-spacing:-.035em; }
.site-header { background:var(--cyan); border:0; padding-top:10px; padding-bottom:10px; }
.brand img { width:48px; height:48px; border-radius:50%; }
.brand { font-size:20px; }
.header-top nav a { border-radius:30px; }
.header-top nav [aria-current] { background:white; box-shadow:none; }
.main-nav { margin-top:0; gap:28px; }
.main-nav a { min-height:44px; }
.section { padding-top:80px; padding-bottom:80px; }
.home-hero { position:relative; isolation:isolate; overflow:hidden; background:var(--cyan); padding-top:46px; padding-bottom:200px; gap:60px; align-items:center; }
.hero-copy,.route-form { position:relative; z-index:1; }
.hero-copy { padding-bottom:18px; }
.hero-copy h1 { max-width:11ch; }
.driver-note { display:inline-flex; align-items:center; gap:10px; margin-bottom:18px; }
.driver-note::before { content:''; width:9px; height:9px; border-radius:50%; background:var(--ink); }
.hero-intro { margin-top:22px; max-width:34ch; }
.route-scene { position:absolute; bottom:0; left:0; width:100%; height:100%; z-index:-1; pointer-events:none; }
.route-form { border:0; background:transparent; padding:8px 0 0; border-radius:0; }
.route-heading { font-size:24px; }
.route-form .field { margin-bottom:14px; }
input,select { border-radius:28px; padding:12px 18px; border:2px solid #517c84; min-height:52px; }
textarea { border-radius:18px; border:2px solid #517c84; padding:14px 18px; }
input[type=checkbox] { border-radius:6px; }
.button { border-radius:32px; min-height:52px; border:0; padding:13px 24px; transition:transform 140ms var(--ease-out),background-color 140ms ease; }
.primary { box-shadow:0 5px 0 rgba(8,45,53,.12); }
.secondary { background:#e5f2f3; }
.button:active { transform:scale(.985); }
.button:focus-visible { outline-offset:5px; }
.route-form .support { font-size:16px; margin-top:12px; text-align:left; }
.services-section { background:white; border:0; }
.service-grid { gap:18px; border:0; }
.service-tile { border:0; border-radius:24px; background:#edf7f8; padding:28px; transition:transform 180ms var(--ease-out),box-shadow 180ms ease; }
.service-tile:nth-child(3n+2) { background:#eef5e9; --icon-bg:#d3e7ce; }
.service-tile:nth-child(3n) { background:#fff0e3; --icon-bg:#ffddbd; }
.service-icon { width:76px; height:76px; display:block; color:var(--ink); margin-bottom:24px; }
.service-tile h3 { padding:0; margin-bottom:12px; }
.service-tile p { margin:0; }
.fleet-section { background:#eaf4ee; }
.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:32px; }
.category-card { display:block; background:white; border-radius:24px; padding:24px 20px; text-decoration:none; box-shadow:0 8px 24px rgba(8,45,53,.05); transition:transform 180ms var(--ease-out); }
.category-card .vehicle-diagram { height:150px; color:var(--ink); margin:4px auto 16px; }
.category-card h3 { margin-bottom:16px; }
.fit-chip { display:inline-block; padding:5px 10px; border-radius:20px; background:var(--cyan); font-size:16px; margin:0 3px 8px 0; }
.vehicle-diagram { color:var(--ink); }
.vehicle-card { border:0; border-radius:24px; overflow:hidden; background:#fff; box-shadow:0 8px 28px rgba(8,45,53,.07); }
.vehicle-art { background:#def2f4; padding-top:42px; }
.vehicle-copy { padding:24px; }
.badge { border:0; border-radius:20px; padding:5px 12px; background:#fff; }
.notice { background:#edf6f6; border:0; border-radius:18px; padding:18px 22px; }
.how-section { background:#fff; border:0; }
.how-grid { gap:32px; }
.step-number { border:0; display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; background:var(--cyan); padding:0; font-family:'PRL Display',sans-serif; font-weight:700; margin-bottom:22px; }
.facts-section { background:var(--peach); }
.facts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:32px 0; }
.facts-grid strong { font-family:'PRL Display',sans-serif; font-size:64px; line-height:1.1; }
.facts-grid p { margin:12px 0 0; }
.facts-section>.badge { margin-bottom:12px; }
.home-coverage { background:#edf7f8; }
.contact-section { background:var(--ink); color:white; }
.site-footer { border:0; background:#eef6f2; padding-top:44px; padding-bottom:44px; }
.site-footer>div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 24px; }
.site-footer .draft-note { grid-column:1/-1; }
.panel { border:0; border-radius:24px; background:#edf6f6; padding:32px; }
.page-heading { background:#def2f4; padding-top:48px; padding-bottom:40px; margin-bottom:36px; }
.form-heading { background:transparent; padding-top:48px; padding-bottom:0; }
.form-heading h1 { font-size:clamp(38px,4vw,58px); }
.enquiry-form,.review-section>.panel { background:#f0f7f7; }
.form-grid { gap:0 24px; }
.info-content { max-width:100%; }
.prose { max-width:840px; margin:0 auto; }
.prose h2 { margin-top:36px; font-size:30px; }
.prose p { max-width:65ch; }
.prose details { padding:16px 0; border-bottom:2px solid #d5e8e9; }
.prose summary { font-weight:600; }
.admin-page { background:#f5faf8; }
.admin-page .panel { background:white; box-shadow:0 6px 24px rgba(8,45,53,.05); }
.admin-translation, .admin-form fieldset { border:2px solid #d5e8e9; border-radius:18px; }
.admin-form input[type=checkbox] { box-shadow:none; }
.drawn-route { stroke-dasharray:1; animation:route-arrival 1100ms var(--ease-in-out) both; }
.scene-van { animation:van-arrival 1500ms var(--ease-out) both; }
@keyframes route-arrival { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@keyframes van-arrival { from { transform:translateX(-480px); } to { transform:translateX(0); } }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { .service-tile:hover,.category-card:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(8,45,53,.09); } .button:hover { transform:translateY(-1px); } }
@media(min-width:681px) { body { padding-bottom:0; } }
@media(max-width:1000px) { .home-hero { gap:32px; } .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) {
 html { scroll-padding-bottom:calc(var(--bar-height) + 20px); }
 body { padding-bottom:calc(var(--bar-height) + 20px); }
 .site-header { padding:8px 16px 0; }
 .brand { font-size:17px; gap:7px; }
 .brand img { width:38px; height:38px; }
 .header-top { gap:4px; }
 .header-top nav a { padding:7px 5px; min-width:44px; }
 .main-nav { gap:4px; margin-top:2px; }
 .section { padding:48px 20px; }
 .home-hero { padding:20px 20px 120px; gap:16px; }
 h1 { font-size:44px; line-height:1.02; }
 .hero-copy h1 { max-width:12ch; }
 :lang(si) h1,:lang(ta) h1 { font-size:32px; line-height:1.35; max-width:23ch; }
 .hero-copy { padding:0; }
 .driver-note { margin-bottom:10px; }
 .hero-intro { display:block; margin:12px 0 0; font-size:18px; line-height:1.5; max-width:29ch; }
 .route-form { padding:0; }
 .route-heading { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .route-form .field { gap:5px; margin-bottom:10px; }
 .route-form input,.route-form select { padding:9px 16px; min-height:48px; }
 .route-form .button { margin-top:4px; }
 .route-form .support { margin-top:12px; }
 .route-scene { height:440px; width:150%; left:-35%; }
 .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
 .service-tile { padding:20px 16px; border-radius:20px; }
 .service-tile h3 { font-size:21px; }
 :lang(si) .service-tile h3,:lang(ta) .service-tile h3 { font-size:20px; line-height:1.5; overflow-wrap:anywhere; }
 .service-tile p { font-size:18px; line-height:1.55; }
 .service-icon { width:62px; height:62px; margin-bottom:20px; }
 .category-grid { grid-template-columns:1fr 1fr; gap:12px; margin-top:24px; }
 .category-card { padding:18px 14px; border-radius:20px; }
 .category-card .vehicle-diagram { height:110px; }
 .category-card h3 { font-size:24px; }
 .fit-chip { padding:4px 8px; }
 .vehicle-copy { padding:24px 20px; }
 .facts-grid { gap:14px; }
 .facts-grid strong { font-size:48px; }
 .facts-grid p { font-size:18px; }
 .panel { padding:24px 20px; border-radius:20px; }
 .page-heading { padding-top:32px; padding-bottom:28px; margin-bottom:24px; }
 .form-heading { padding:32px 0 0; }
 .form-heading h1 { font-size:36px; }
 .enquiry-section,.review-section,.fleet-list,.coverage-content,.vehicle-detail { padding-top:0; }
 .contact-section { gap:32px; }
 .mobile-actions { background:#fff; border:0; box-shadow:0 -5px 24px rgba(8,45,53,.1); padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); }
 .mobile-actions .button { min-height:50px; }
 .site-footer { padding:32px 20px; }
 .site-footer>div:last-child { gap:8px 20px; }
 .admin-page .main-nav { display:none; }
}
@media(prefers-reduced-motion:reduce) { .drawn-route { stroke-dashoffset:0; } .scene-van { transform:none; } .button,.service-tile,.category-card { transition:none; } }
@media(max-width:680px) { body.hero-action-visible .mobile-actions { visibility:hidden; pointer-events:none; } }
@media(max-width:680px) {
 .home-hero { align-items:stretch; }
 .route-scene { width:100%; height:auto; aspect-ratio:1440/650; left:0; }
 .hero-copy h1 { max-width:12ch; }
}
.info-content { padding-top:8px; }
.info-content>h2,.info-content>p,.info-content>.notice,.info-content>dl { max-width:840px; margin-left:auto; margin-right:auto; }
.info-content>h2 { margin-top:36px; }
.info-content>.button { margin-top:20px; }
.faq-list>div { display:block; padding:24px 0; border-bottom:2px solid #d5e8e9; }
.faq-list dt { max-width:none; font-size:22px; font-weight:600; margin-bottom:12px; }
.faq-list dd { max-width:none; text-align:left; font-size:18px; font-weight:400; }
.contact-page { padding-top:0; }
.contact-page .panel { max-width:840px; margin-bottom:24px; }
.reveal-in { animation:section-arrival 200ms var(--ease-out) both; }
@keyframes section-arrival { from { opacity:.65; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .reveal-in { animation:none; } }
.fit-chip { max-width:100%; overflow-wrap:anywhere; }
.category-card { min-width:0; }

.service-tile p { overflow-wrap:anywhere; }
.scene-palms { transform:translateY(85px); }
@media(max-width:680px) {
 .route-scene { height:180px; width:100%; aspect-ratio:auto; }
 .scene-van { transform-box:fill-box; transform-origin:center; scale:1.5; }
}
@media(max-width:680px) { .route-heading { display:none; } }
/* Licensed demo-media reservation: stable geometry before deferred images arrive. */
.vehicle-media { aspect-ratio:8/5; position:relative; overflow:hidden; border-radius:16px; background:#e7f1ee; }
.vehicle-media>.vehicle-diagram { width:75%; height:100%; margin:auto; }
.vehicle-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vehicle-media .deferred-photo:not([src]) { opacity:0; }
.vehicle-media.is-loaded>.vehicle-diagram { visibility:hidden; }
.vehicle-art { padding:48px 20px 20px; }
.vehicle-art .support { margin:14px 0 0; text-align:left; }
.photo-credit { font-size:16px; line-height:1.6; margin-top:10px; overflow-wrap:anywhere; }
.photo-credit a { font-size:16px; padding:4px 0; }
.reference-notice { margin-bottom:18px; }
.district-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; list-style:none; padding:0; }
.district-list a,.route-example { display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:18px; background:#edf6f6; text-decoration:none; }
.route-example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.route-example span { font-size:16px; }
.coverage-detail { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.coverage-detail h2 { font-size:28px; }
@media(max-width:680px) { .route-example-grid,.coverage-detail { grid-template-columns:1fr; } }

/* Practical guidance shares the same readable rhythm as the route form. */
.service-depth { background:#e5f4f3; }
.service-depth-grid,.preparation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 48px; }
.service-depth article,.preparation-grid article { min-width:0; }
.service-depth h2,.preparation-grid h3 { font-size:28px; }
.service-depth p,.preparation-grid p { max-width:64ch; }
.preparation-section { background:#f2eeea; }
.preparation-section ul { max-width:65ch; padding-left:24px; }
.preparation-section li { padding:6px 0; }
@media(max-width:680px) { .service-depth-grid,.preparation-grid { grid-template-columns:1fr; gap:24px; } }
/* Owner section navigation stays within reach on long translated forms. */
.admin-page .admin-nav { position:sticky; top:0; z-index:20; padding:12px max(24px,calc((100vw - 1220px)/2)); background:#def2f4; box-shadow:0 6px 20px #153f4912; gap:8px 20px; }
.admin-nav a { border-radius:24px; padding:8px 16px; background:#fff; text-decoration:none; font-weight:600; }
.admin-section { scroll-margin-top:100px; }
.district-save { margin-top:24px; }
.district-grid .district-toggle { display:flex; align-items:center; gap:12px; margin:0; min-width:0; }
@media(max-width:680px) {
 .admin-page .admin-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:10px 16px; gap:8px; }
 .admin-nav a { justify-content:center; padding:8px 12px; text-align:center; overflow-wrap:anywhere; }
 .admin-section { scroll-margin-top:170px; }
 .district-grid { grid-template-columns:1fr; }
}
/* M4: real reference photography and practical content carry the catalogue. */
.category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.category-card { padding:28px; }
.category-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.category-heading h3 { margin:0 0 12px; font-size:36px; }
.category-heading a { padding:0; text-decoration:none; }
.category-heading a:hover { text-decoration:underline; }
.category-description { min-height:60px; margin-bottom:22px; }
.category-card .vehicle-media { border-radius:18px; margin-bottom:16px; }
.category-card .vehicle-media>.vehicle-diagram { height:100%; margin:auto; }
.category-card .fit-chip { margin-top:14px; }
.photo-credit { color:#214951; }
.fleet-list .filter-form { box-shadow:none; background:#fff; }
.vehicle-copy dl div { align-items:baseline; gap:12px; }
.vehicle-copy dd { font-size:22px; }
.reference-notice { font-size:16px; }
.district-hero { position:relative; isolation:isolate; overflow:hidden; background:#def2f4; min-height:540px; padding-bottom:260px; }
.district-copy { max-width:700px; }
.district-copy h1 { max-width:none; }
.district-summary { font-size:24px; font-weight:600; }
.district-hero .route-scene { height:220px; z-index:-1; }
.district-preparation { background:#fff; }
.district-preparation p { max-width:65ch; }
.district-preparation h2:not(:first-child) { margin-top:32px; }
@media(min-width:1100px) { .vehicle-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; } .vehicle-detail .vehicle-grid { grid-template-columns:1fr; } }
@media(max-width:680px) {
 .category-grid { grid-template-columns:1fr; gap:24px; }
 .category-card { padding:24px; }
 .category-heading h3 { font-size:30px; }
 .category-description { min-height:0; }
 .fleet-list .filter-form .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
 .fleet-list .filter-form .field:first-child { grid-column:1/-1; }
 .fleet-list .filter-form { padding:22px 20px; }
 .district-hero { min-height:0; padding-bottom:175px; }
 .district-summary { font-size:20px; }
 .district-hero .route-scene { height:160px; }
 .district-copy .button { max-width:100%; }
}
/* M5: one compact attribution caption; full provenance is one tap away. */
.photo-credit { margin:6px 0 0; min-height:44px; font-size:16px; white-space:nowrap; line-height:1.5; }
.photo-credit a { padding:4px 0; }
.illustration-caption { display:flex; align-items:center; }
.credits-list { padding-top:0; }
.credits-list article { padding:24px 0; scroll-margin-top:24px; }
.credits-list h2 { font-size:24px; max-width:65ch; }
.credits-list p { overflow-wrap:anywhere; }
/* Stable media and three scan-friendly specification rows across the fleet. */
.vehicle-media { aspect-ratio:4/3; background:#edf4f1; }
.vehicle-media img { object-fit:contain; }
.vehicle-media.illustration-only { background:#dcefed; }
.vehicle-media>.vehicle-diagram { width:76%; max-width:360px; height:100%; color:var(--ink); }
.vehicle-grid>[data-fleet-item] { display:flex; min-width:0; }
.vehicle-card { display:flex; flex-direction:column; width:100%; height:100%; }
.vehicle-card-head { display:flex; justify-content:space-between; align-items:start; gap:12px; padding:24px 24px 0; min-height:100px; }
.vehicle-card-head h3 { font-size:24px; margin:0; }
.vehicle-card-head .badge { flex-shrink:0; }
.vehicle-art { padding:18px 24px 0; }
.vehicle-copy { display:flex; flex:1; flex-direction:column; padding:12px 24px 24px; }
.vehicle-copy dl { margin:8px 0 18px; }
.vehicle-copy dl>div { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:16px; padding:10px 0; }
.vehicle-copy dt { white-space:nowrap; max-width:none; font-size:16px; }
.vehicle-copy dd { min-width:0; font-size:18px; font-weight:600; text-align:right; overflow-wrap:anywhere; }
.reference-label { font-size:16px; margin:0; }
.vehicle-copy .price-note { margin-bottom:8px; }
.vehicle-copy>.text-link { margin-top:auto; align-self:start; }
@media(max-width:680px) { .vehicle-card-head { padding:22px 20px 0; min-height:90px; } .vehicle-art { padding:16px 20px 0; } .vehicle-copy { padding:8px 20px 20px; } }
.home-planning { background:#f1f7f4; }
.home-planning>.route-examples { margin-top:32px; }
.home-planning .route-examples .notice { background:#e0efed; }
.planning-columns { display:grid; grid-template-columns:1.3fr 1fr; gap:64px; margin-top:56px; }
.home-faq details { padding:18px 0; border-bottom:1px solid #bdd5d4; }
.home-faq summary { font-weight:600; cursor:pointer; padding:8px 0; font-size:18px; }
.home-faq details p { padding:16px 0 0; margin:0; }
.home-faq details:not([open]) p { display:none; }
.why-strip { background:#d9eeeb; }
.why-strip dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
.why-strip dl>div { display:block; padding:0; border:0; }
.why-strip dt { font-size:16px; margin-bottom:12px; max-width:none; }
.why-strip dd { text-align:left; margin:0; font-size:20px; font-weight:600; }
@media(max-width:900px) { .planning-columns { gap:32px; } .why-strip dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .planning-columns { grid-template-columns:1fr; gap:40px; margin-top:40px; } .why-strip dl { grid-template-columns:1fr; gap:24px; } }
/* Give the scenery its own band rather than painting it under route microcopy. */
.home-hero { align-items:start; padding-bottom:220px; }
.home-hero .route-scene { height:180px; }
@media(max-width:680px) { .home-hero { padding-bottom:200px; } }
.why-strip dd { max-width:none; width:100%; font-size:18px; line-height:1.6; }
@media(min-width:681px) {
 .home-hero .scene-palms { transform:none; }
 .home-hero .palm-right { transform-box:view-box; transform-origin:1260px 440px; transform:translateY(145px) scale(.45); }
 .home-hero .palm-left { transform-box:view-box; transform-origin:149px 475px; transform:translateY(70px) scale(.55); }
 .home-hero .scene-sun { transform:translate(-650px,420px); }
}
/* M6: key capacities first; uncertain comfort details share one compact note. */
.confirmation-chip { align-self:flex-start; max-width:100%; margin:0 0 18px; padding:7px 12px; border-radius:14px; background:#dcefed; color:var(--ink); font-size:16px; line-height:1.6; overflow-wrap:break-word; }
.photo-credit { min-width:0; max-width:100%; }
.photo-credit a { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:36px; }
.home-planning>.route-examples { margin-top:0; }
.preparation-section { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:center; gap:64px; }
.preparation-copy { min-width:0; }
.preparation-copy p,.preparation-copy ul { max-width:60ch; }
.preparation-copy li+li { margin-top:12px; }
.preparation-art { max-width:480px; justify-self:end; }
.preparation-art svg { display:block; width:100%; height:auto; }
.why-strip dt { display:flex; align-items:center; gap:12px; }
.fact-icon { flex-shrink:0; width:44px; height:44px; }
@media(max-width:900px) { .preparation-section { gap:32px; } }
@media(max-width:680px) { .preparation-section { grid-template-columns:1fr; } .preparation-art { width:min(100%,360px); justify-self:center; } }
@media(max-width:430px) {
 :is(:lang(si),:lang(ta)) .service-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
 :is(:lang(si),:lang(ta)) .service-tile { padding:24px; }
 :is(:lang(si),:lang(ta)) .service-tile h3,:is(:lang(si),:lang(ta)) .service-tile p { overflow-wrap:break-word; word-break:normal; }
 :is(:lang(si),:lang(ta)) .confirmation-chip { border-radius:14px; }
}
/* Preserve the scene's scale and clearance on ultra-wide screens. */
.preparation-art { width:100%; }
@media(min-width:1600px) {
 .home-hero { padding-bottom:calc(100vw * 220 / 1440); }
 .home-hero .route-scene { height:calc(100vw * 180 / 1440); }
}
@media(max-width:430px) {
 :is(:lang(si),:lang(ta)) .fleet-list .filter-form .form-grid { grid-template-columns:minmax(0,1fr); }
}

/* M7 A — PRL night teal / glass. All movement is optional CSS enhancement. */
.home-hero { color:#effeff; background:radial-gradient(ellipse at 8% 12%,#246c76 0,transparent 48%),radial-gradient(ellipse at 90% 48%,#20505c 0,transparent 45%),#062e38; padding-top:64px; padding-bottom:240px; gap:72px; }
.home-hero .hero-copy h1 { font-size:clamp(48px,6.6vw,92px); line-height:1.04; letter-spacing:-.045em; max-width:12ch; }
.home-hero .driver-note { color:#b5f0f3; letter-spacing:.08em; }
.home-hero .route-form { padding:28px; border:1px solid #83b6bf; border-radius:28px; background:#194752; box-shadow:0 24px 60px #001a2855,inset 0 1px #ffffff30; }
@supports(backdrop-filter:blur(16px)) { .home-hero .route-form { background:#b5edf315; backdrop-filter:blur(16px); } }
.home-hero .route-heading { color:#effeff; }
.home-hero .route-form input,.home-hero .route-form select { background:#effafb; border-color:#afdadf; border-radius:14px; }
.home-hero .route-form .support { color:#d9f3f5; }
.home-hero .primary { box-shadow:0 0 28px #ff714750; border-color:#ffad8e; }
.home-hero :focus-visible { outline-color:#c5fcff; }
.home-hero .route-scene { height:210px; }
.route-traveller { offset-path:path('M-30 605Q350 460 710 570T1460 520'); offset-distance:60%; filter:drop-shadow(0 0 9px #ff966f); }
@media(prefers-reduced-motion:no-preference) {
 .route-traveller { animation:route-travel 9s ease-in-out 1; }
 .vehicle-media img { transition:transform 350ms ease; }
 .vehicle-media:hover img,.vehicle-media:active img { transform:scale(1.035); }
 @supports(animation-timeline:scroll()) {
  .home-hero { view-timeline-name:--hero; view-timeline-axis:block; }
  .scene-layer-back,.scene-layer-mid,.scene-layer-front { animation:scene-depth auto linear both; animation-timeline:--hero; animation-range:exit 0% exit 100%; }
  .scene-layer-back { --depth:52px; } .scene-layer-mid { --depth:28px; } .scene-layer-front { --depth:10px; }
 }
}
@keyframes route-travel { from { offset-distance:0%; } to { offset-distance:60%; } }
@keyframes scene-depth { to { transform:translateY(var(--depth)); } }
.vehicle-art { padding:0; background:transparent; }
.vehicle-media,.category-card .vehicle-media { position:relative; isolation:isolate; aspect-ratio:4/3; border-radius:24px; overflow:hidden; background:linear-gradient(135deg,#bde4e5,#4e929c); margin:0; }
.vehicle-media img,.vehicle-art .vehicle-media img { width:100%; height:100%; object-fit:cover; }
.vehicle-media .vehicle-diagram { width:85%; height:100%; color:#123f49; }
.media-shade { position:absolute; z-index:1; inset:0; background:linear-gradient(180deg,#052d3800 30%,#052d3833 50%,#052d38f5 100%); pointer-events:none; }
.media-title { position:absolute; z-index:2; bottom:20px; left:22px; right:22px; color:#f1feff; font-size:clamp(22px,2.5vw,32px); line-height:1.25; margin:0; text-wrap:balance; }
.media-title a { display:flex; align-items:center; color:inherit; text-decoration:none; min-height:44px; }
.vehicle-media .media-demo { position:absolute; z-index:2; left:16px; top:16px; font-size:12px; letter-spacing:.1em; padding:4px 9px; border:1px solid #c8ecee80; border-radius:20px; background:#082f3a; color:#e2fcff; }
.photo-info { position:absolute; z-index:4; top:10px; right:10px; color:#ecfcff; }
.photo-info summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border-radius:50%; background:#082f3a; border:1px solid #c8ecee80; font-size:18px; list-style:none; }
.photo-info summary::-webkit-details-marker { display:none; }
.photo-popover { position:absolute; top:50px; right:0; width:240px; max-width:calc(100vw - 80px); padding:16px; border-radius:16px; background:#062e38; box-shadow:0 8px 24px #001a2855; border:1px solid #83b6bf; font-size:16px; }
.photo-popover p { margin:0; } .photo-popover a { display:flex; align-items:center; color:#c8faff; }
.vehicle-media :focus-visible { outline-color:#fff; outline-offset:-4px; }
.illustration-label { position:absolute; z-index:2; top:55px; left:16px; right:55px; font-size:14px; color:#123f49; }
.category-card { padding:0; border:0; background:transparent; box-shadow:none; }
.category-card .media-title { font-size:36px; }
.category-description { min-height:0; margin:14px 4px 0; }
.vehicle-card { border:0; border-radius:24px; background:#eff8f8; overflow:visible; box-shadow:0 12px 30px #082d350a; }
.vehicle-copy { padding:24px; }
.fleet-preview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:48px; }
.fleet-preview .media-title { font-size:22px; }
.fleet-preview .vehicle-copy dl>div { display:block; }
.fleet-preview dd { text-align:left; max-width:none; }
.vehicle-detail { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:40px; }
.vehicle-detail .vehicle-copy dl { display:flex; flex-wrap:wrap; gap:10px; }
.vehicle-detail .vehicle-copy dl>div { background:#dcefed; padding:10px 16px; border:0; border-radius:16px; }
.vehicle-detail .vehicle-copy .text-link { display:none; }
.vehicle-quote-bar { position:sticky; bottom:0; z-index:22; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px max(20px,calc((100vw - 1220px)/2)); background:#062e38; color:#ecfcff; box-shadow:0 -8px 30px #001a2822; }
body:has(.vehicle-quote-bar) .mobile-actions { display:none; }
body:has(.vehicle-quote-bar) { padding-bottom:0; }
@media(max-width:1000px) { .fleet-preview { grid-template-columns:repeat(2,minmax(0,1fr)); } .home-hero { gap:32px; } }
@media(max-width:680px) {
 .home-hero { padding:24px 20px 180px; gap:22px; }
 .home-hero .hero-copy h1 { font-size:48px; max-width:12ch; }
 .home-hero .driver-note { font-size:14px; letter-spacing:.035em; }
 .home-hero .route-form { padding:18px; border-radius:24px; }
 .home-hero .route-scene { height:150px; }
 .home-hero .route-form .field { margin-bottom:10px; }
 .home-hero .route-form .support { font-size:16px; line-height:1.5; }
 .category-grid { grid-template-columns:1fr; gap:28px; }
 .fleet-preview { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; margin:36px -20px 0; padding:4px 20px 20px; scroll-padding-inline:20px; }
 .fleet-preview .vehicle-card { flex:0 0 86%; scroll-snap-align:start; }
 .vehicle-detail { grid-template-columns:1fr; }
 .vehicle-quote-bar { padding:12px 20px calc(12px + env(safe-area-inset-bottom)); }
 .vehicle-quote-bar>span { display:none; } .vehicle-quote-bar .button { width:100%; }
}
:is(:lang(si),:lang(ta)) .home-hero h1 { font-size:clamp(32px,4.6vw,64px); line-height:1.4; letter-spacing:0; }
@media(prefers-reduced-motion:reduce) { .scene-layer-back,.scene-layer-mid,.scene-layer-front,.route-traveller { animation:none; } }
@media(max-width:680px) { .home-hero { align-items:stretch; } }
.fleet-preview .photo-popover { width:210px; max-height:120px; overflow:auto; }

/* M7 B / item 4: section rhythm; Stage A hero and media rules are unchanged. */
.wave-divider { height:56px; line-height:0; margin-block:-1px; }
.wave-divider svg { display:block; width:100%; height:100%; }
.rhythm-dark,.preparation-section { background:#062e38; color:#effeff; }
.rhythm-dark>.section-heading a { color:#b5f0f3; }
.rhythm-dark .category-description { color:#d9f3f5; }
:is(.services-section,.fleet-section,.how-section,.preparation-section,.home-planning)>h2,
:is(.fleet-section,.home-planning)>.section-heading h2,.preparation-copy h2 { font-size:clamp(32px,4.2vw,56px); max-width:20ch; }
.services-section .service-grid { gap:20px; border:0; }
.service-tile { padding:36px; min-height:290px; border:1px solid #bdd5d4; border-radius:24px; }
.service-tile .service-icon { width:84px; height:84px; margin-bottom:28px; }
.service-tile h3 { font-size:28px; }
@media(prefers-reduced-motion:no-preference) {
 .service-tile .service-icon path { transition:transform 240ms var(--ease-out); transform-origin:center; }
 .service-tile:hover .service-icon path,.service-tile:active .service-icon path { transform:translateY(-3px) rotate(-5deg); }
}
@media(max-width:680px) { .wave-divider { height:32px; } .services-section .service-grid { grid-template-columns:1fr; } .service-tile { min-height:0; padding:28px; } }
/* Item 5: index cards reuse the service tile and Stage A brand palette. */
.services-index { background:var(--paper); padding-top:24px; }
.services-index .service-grid { border:0; gap:24px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.services-index .service-tile { display:flex; flex-direction:column; align-items:flex-start; }
.services-index .service-tile h2 { font-size:clamp(28px,3vw,40px); }
.service-fit { border-top:1px solid var(--line); padding-top:20px; }
.service-tile .service-action { position:static; margin-top:auto; font-weight:600; text-decoration:underline; }
.rhythm-dark .fleet-preview { color:var(--ink); }
@media(max-width:680px) { .services-index .service-grid { grid-template-columns:1fr; } }
/* Item 6: dark footer using the established night-teal and ice palette. */
.site-footer { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:48px; background:#062e38; color:#d9f3f5; border:0; padding-block:64px; }
.site-footer a { color:#effeff; align-items:center; overflow-wrap:anywhere; }
.site-footer h2 { font-size:24px; color:#effeff; }
.site-footer address a { font-size:18px; }
.site-footer .footer-links { display:flex; flex-wrap:wrap; align-content:flex-start; gap:4px 24px; }
.site-footer .footer-links>a { flex:1 1 40%; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:8px; width:100%; margin-top:16px; }
.site-footer nav a { padding:8px 12px; border:1px solid #83b6bf; border-radius:24px; text-decoration:none; }
.site-footer nav [aria-current] { background:#def2f4; color:#153f49; }
.site-footer .draft-note { width:100%; margin-top:20px; }
.site-footer :focus-visible { outline-color:#b5f0f3; }
@media(max-width:900px) { .site-footer { grid-template-columns:1fr 1fr; gap:32px; } .footer-links { grid-column:1/-1; } }
@media(max-width:680px) { .site-footer { grid-template-columns:1fr; padding-block:48px; } .site-footer .footer-links { gap:8px 24px; } }
/* Item 7: optional stagger; content stays visible without JavaScript. */
@media(prefers-reduced-motion:no-preference) {
 .service-tile.reveal-in,.how-grid>li.reveal-in { animation:service-reveal 480ms var(--ease-out) var(--reveal-delay,0ms) backwards; }
 .service-tile:active { transform:scale(.985); }
 :is(.main-nav,.site-footer) a { transition:transform 120ms var(--ease-out); }
 :is(.main-nav,.site-footer) a:active { transform:translateY(2px); }
}
@keyframes service-reveal { from { opacity:.15; transform:translateY(18px); } to { opacity:1; transform:none; } }
/* Explicit palette classes keep reusable waves compatible with the strict CSP. */
.wave-from-paper { background:#faf5f2; } .wave-from-night { background:#062e38; }
.wave-from-mist { background:#f3f8f5; } .wave-from-ice { background:#def2f4; }
.wave-to-paper { color:#faf5f2; } .wave-to-night { color:#062e38; }
.wave-to-mist { color:#f3f8f5; } .wave-to-ice { color:#def2f4; }
.rhythm-dark>.catalogue-notice { color:var(--ink); }
.site-footer>div.footer-links:last-child { display:flex; }
.services-section,.how-section { background:var(--paper); }
.wave-to-mist { color:#f1f7f4; }
/* Whole-vehicle DEMO framing. Keep controls, photo and title in separate safe rows. */
.vehicle-media[data-framing="contain"] { display:grid; grid-template-rows:44px minmax(0,1fr) auto; gap:8px; padding:8px 14px 16px; background:linear-gradient(145deg,#bde4e5,#4e929c 55%,#062e38); }
.vehicle-media[data-framing="contain"]>.vehicle-diagram { position:absolute; inset:0; }
.vehicle-media[data-framing="contain"] img { position:static; grid-area:2/1; width:100%; height:100%; min-height:0; object-fit:contain; object-position:50% 50%; transform:none; }
.vehicle-media[data-framing="contain"] noscript { grid-area:2/1; min-height:0; }
.vehicle-media[data-framing="contain"] .media-title { position:relative; grid-area:3/1; inset:auto; margin:0 6px; }
.vehicle-media[data-framing="contain"] .media-shade { background:linear-gradient(180deg,transparent 65%,#052d38e6); }
/* M7C: transparent home header, with an opaque no-JS fallback and scroll state. */
:root { --site-header-height:120px; }
.has-home-hero .site-header { position:sticky; top:0; z-index:30; margin-bottom:calc(-1 * var(--site-header-height)); background:#062e38; color:#effeff; border-color:transparent; }
.has-home-hero .site-header a { color:#effeff; }
.has-home-hero .site-header .brand img { padding:3px; background:#def2f4; border-radius:50%; }
.has-home-hero .site-header .header-top nav [aria-current] { background:#def2f4; color:#153f49; }
.has-home-hero .site-header :focus-visible { outline-color:#b5f0f3; }
.has-home-hero.header-enhanced .site-header:not(.is-scrolled) { background:transparent; }
.has-home-hero .site-header.is-scrolled { background:#062e38; box-shadow:0 8px 28px #001a2833; }
@supports(backdrop-filter:blur(18px)) { .has-home-hero .site-header.is-scrolled { background:#062e38f2; backdrop-filter:blur(18px); } }
.has-home-hero .home-hero { padding-top:calc(var(--site-header-height) + 56px); }
html { scroll-padding-top:calc(var(--site-header-height) + 20px); }
@media(max-width:680px) { :root { --site-header-height:100px; } .has-home-hero .home-hero { padding-top:calc(var(--site-header-height) + 24px); } }
/* Larger preview cards: approximately three desktop / 1.15 phone cards. */
.fleet-preview { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:24px; padding:4px 0 24px; scroll-padding-inline:0; }
.fleet-preview .vehicle-card { flex:0 0 calc((100% - 48px)/3); scroll-snap-align:start; }
.fleet-preview .vehicle-media { aspect-ratio:4/3; }
.fleet-preview .media-title { font-size:clamp(24px,2.2vw,30px); font-weight:600; }
.fleet-preview .vehicle-copy dl>div { display:flex; }
.fleet-preview .photo-popover { max-height:180px; }
.vehicle-media.illustration-only { display:grid; grid-template-rows:44px minmax(0,1fr) auto; gap:8px; padding:8px 14px 16px; background:radial-gradient(ellipse at 50% 38%,#4e929c,transparent 65%),linear-gradient(145deg,#bde4e5,#216370 55%,#062e38); }
.vehicle-media.illustration-only::before { content:''; position:absolute; inset:52px 20px 65px; border:1px solid #b5f0f366; border-radius:50%; transform:rotate(-12deg); }
.vehicle-media.illustration-only .vehicle-diagram { grid-area:2/1; width:90%; height:100%; min-height:0; max-width:none; color:#effeff; filter:drop-shadow(0 8px 10px #001a2870); }
.vehicle-media.illustration-only .media-title { position:relative; grid-area:3/1; inset:auto; margin:0 6px; }
.vehicle-media.illustration-only .illustration-label { top:18px; left:90px; right:16px; color:#effeff; }
@media(max-width:900px) { .fleet-preview .vehicle-card { flex-basis:calc((100% - 24px)/2.2); } }
@media(max-width:680px) { .fleet-preview { margin-inline:-20px; padding-inline:20px; scroll-padding-inline:20px; gap:16px; } .fleet-preview .vehicle-card { flex-basis:87%; } .fleet-preview .media-title { font-size:25px; } }
/* Planning cards use the same night-teal, glass border and 24px radius system. */
.home-planning { background:#062e38; color:#effeff; }
.home-planning .route-examples .notice { color:#d9f3f5; background:#194752; border-color:#83b6bf; border-radius:24px; }
.home-planning .route-example { position:relative; padding:28px; border:1px solid #83b6bf; border-radius:24px; background:#194752; color:#effeff; box-shadow:inset 0 1px #ffffff20; }
.home-planning .route-example span { color:#b5f0f3; }
.home-planning a { color:#b5f0f3; }
.home-planning .route-example strong { color:#effeff; font-size:22px; }
.home-planning .home-faq,.home-planning .district-preview { padding:32px; border:1px solid #83b6bf; border-radius:24px; background:#194752; }
.home-planning .home-faq details { border-color:#83b6bf; }
.home-planning h2 { font-size:clamp(28px,3.5vw,44px); }
.home-planning :focus-visible { outline-color:#b5f0f3; }
.home-planning .fact-icon { width:52px; height:52px; color:#153f49; margin-bottom:16px; }
.why-strip { background:#def2f4; }
.why-strip h2 { font-size:clamp(32px,4vw,52px); }
.why-strip dl { gap:20px; }
.why-strip dl>div { padding:24px; border:1px solid #89abb0; border-radius:24px; background:#eff8f8; }
.why-strip dt { flex-direction:column; align-items:flex-start; font-size:18px; }
.why-strip .fact-icon { width:52px; height:52px; }
@media(max-width:900px) { .why-strip dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .home-planning .home-faq,.home-planning .district-preview { padding:24px; } .why-strip dl { grid-template-columns:1fr; } }
/* Give the carousel a taller photo stage while catalogue/detail ratios stay unchanged. */
.fleet-preview .vehicle-media { aspect-ratio:1/1; }
@media(max-width:680px) { .fleet-preview .vehicle-card { flex-basis:84%; } }
.fleet-preview .vehicle-media { min-height:320px; }
.fleet-preview .vehicle-media { width:100%; min-width:0; grid-template-columns:minmax(0,1fr); }
.fleet-preview .vehicle-media img { min-width:0; }
.vehicle-media.illustration-only .illustration-label { background:#062e38; padding:4px 9px; border-radius:20px; left:auto; right:14px; top:16px; max-width:calc(100% - 104px); }

:root { color-scheme:light; }
/* Milestone 8: a progressively enhanced trip builder, using PRL night-teal/glass. */
.trip-layout { min-width:0; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr); gap:28px; align-items:start; }
.home-hero .trip-layout { display:block; }
.home-hero .trip-summary { margin-top:24px; }
.home-hero .hero-copy h1 { font-size:clamp(42px,5vw,72px); max-width:15ch; }
.hero-trip-map { margin:28px 0 0; max-width:300px; height:300px; }
.trip-map { display:block; width:100%; height:100%; overflow:visible; }
.trip-map .island { fill:#194752; stroke:#83b6bf; stroke-width:1.5; }
.map-grid { stroke:#b5f0f3; stroke-opacity:.08; fill:none; }
.map-hubs { fill:#b5f0f3; }
.trip-route { stroke:#ff966f; stroke-width:4; fill:none; opacity:0; filter:drop-shadow(0 0 6px #ff7147); }
.map-start,.map-end { fill:#b5f0f3; stroke:#062e38; stroke-width:2; }
.map-van { fill:#effeff; stroke:#153f49; stroke-width:1.5; opacity:0; offset-distance:50%; offset-rotate:auto; }
.map-van path { fill:#b5f0f3; }
.trip-map.is-routed .trip-route,.trip-map.is-routed .map-van { opacity:1; }
@media(prefers-reduced-motion:no-preference) { .trip-map.is-routed .map-van { animation:trip-drive 6s ease-in-out infinite; } .trip-map.is-routed .trip-route { stroke-dasharray:600; animation:trip-route-draw 1s ease-out both; } }
@keyframes trip-drive { 0%,10% { offset-distance:0%; } 90%,100% { offset-distance:100%; } }
@keyframes trip-route-draw { from { stroke-dashoffset:600; } to { stroke-dashoffset:0; } }
.trip-builder { min-width:0; padding:28px; border:1px solid #83b6bf; border-radius:24px; background:#194752; color:#effeff; box-shadow:0 20px 50px #001a2822; }
.trip-builder fieldset { margin:0; padding:0; border:0; min-width:0; }
.trip-builder legend { font-size:28px; font-weight:600; margin-bottom:18px; line-height:1.4; max-width:100%; }
.trip-builder fieldset+fieldset { margin-top:32px; }
.trip-builder h3 { font-size:20px; margin:22px 0 12px; }
.trip-builder .support { color:#d9f3f5; }
.trip-builder input:not([type=radio]),.trip-builder select,.trip-builder textarea { background:#effafb; color:#153f49; border:1px solid #afdadf; border-radius:14px; }
.trip-builder .notice { color:#153f49; border-radius:18px; }
.trip-builder button { min-width:44px; min-height:44px; }
.trip-builder :focus-visible,.trip-summary :focus-visible { outline-color:#b5f0f3; }
.trip-progress { display:none; gap:6px; margin-bottom:24px; }
.trip-enhanced .trip-progress { display:flex; }
.trip-progress button { flex:1; min-width:0; padding:9px 5px; border:1px solid #83b6bf; border-radius:16px; color:#d9f3f5; background:#062e38; font-size:14px; line-height:1.45; }
.trip-progress button span { display:block; font-size:18px; margin-bottom:2px; }
.trip-progress [aria-current=step] { background:#b5f0f3; color:#082d35; border-color:#b5f0f3; font-weight:600; }
.trip-status:empty { display:none; }
.trip-status { font-size:16px; margin:0 0 14px; }
.place-search { position:relative; }
.place-options { position:absolute; top:100%; left:0; right:0; z-index:40; list-style:none; margin:0; padding:6px; background:#effafb; color:#153f49; border:2px solid #4e929c; border-radius:16px; max-height:280px; overflow:auto; box-shadow:0 20px 40px #001a2844; }
.place-options li { padding:12px; min-height:48px; font-size:16px; border-radius:10px; cursor:pointer; }
.place-options li[aria-selected=true],.place-options li:hover { background:#bde4e5; }
.trip-tools { display:flex; gap:12px; flex-wrap:wrap; margin-top:-10px; }
.trip-tools .text-link { color:#b5f0f3; font-size:16px; }
.location-note { font-size:14px; margin:0 0 16px; }
.trip-chips { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 20px; }
.trip-chips label { position:relative; display:flex; min-width:44px; }
.trip-chips input[type=radio] { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.trip-chips span,.trip-chips button { display:flex; align-items:center; justify-content:center; min-height:44px; padding:9px 13px; border:1px solid #83b6bf; border-radius:24px; background:#062e38; color:#effeff; font-size:16px; }
.trip-chips input:checked+span,.trip-chips [aria-pressed=true] { background:#b5f0f3; color:#082d35; }
.trip-chips input:focus-visible+span { outline:3px solid #b5f0f3; outline-offset:3px; }
.passenger-stepper { display:grid; grid-template-columns:minmax(0,1fr) 48px 48px; align-items:end; gap:8px; }
.passenger-stepper .field { margin:0; }
.passenger-stepper button { height:48px; background:#b5f0f3; border:0; border-radius:14px; color:#082d35; font-size:26px; }
.trip-step-actions { display:none; gap:12px; margin-top:24px; }
.trip-next,.trip-review,[data-swap],[data-locate],.quick-times { display:none; }
.trip-enhanced .trip-step-actions,.trip-enhanced .quick-times { display:flex; }
.trip-enhanced .trip-next,.trip-enhanced .trip-review,.trip-enhanced [data-swap],.trip-enhanced [data-locate] { display:inline-flex; }
.trip-step-actions .button { flex:1; }
.trip-enhanced .native-trip-submit { display:none; }
.trip-builder.trip-enhanced fieldset { margin-top:0; }
.trip-builder .primary { background:#ff7147; color:#082d35; border-color:#ffad8e; }
.ride-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.ride-item { min-width:0; }
.ride-choice { display:block; position:relative; border:2px solid #83b6bf; background:#062e38; border-radius:24px; overflow:hidden; cursor:pointer; }
.ride-choice input { position:absolute; z-index:3; top:20px; left:20px; width:24px; height:24px; min-width:44px; min-height:44px; accent-color:#ff7147; }
.ride-choice .media-demo { left:auto; right:16px; }
.ride-choice .media-title { font-size:22px; }
.ride-choice:has(input:checked) { border-color:#ff966f; box-shadow:0 0 0 3px #ff714755; }
.ride-choice:has(input:focus-visible) { outline:3px solid #b5f0f3; outline-offset:3px; }
.ride-choice .vehicle-media { width:100%; min-width:0; min-height:260px; grid-template-columns:minmax(0,1fr); }
.ride-choice .vehicle-media img { min-width:0; }
.ride-meta { padding:14px; display:flex; flex-wrap:wrap; gap:8px; font-size:16px; }
.ride-recommended { padding:4px 8px; border-radius:20px; background:#b5f0f3; color:#082d35; }
.ride-credit { display:flex; align-items:center; color:#d9f3f5; font-size:14px; padding:8px 4px; }
.trip-summary { padding:22px; background:#062e38; border:1px solid #83b6bf; color:#effeff; border-radius:24px; position:sticky; top:130px; }
.trip-summary summary { font-size:22px; font-weight:600; }
.summary-route { display:block; font-weight:400; font-size:16px; margin-top:6px; overflow-wrap:anywhere; }
.summary-map { height:220px; margin:16px 0; border-radius:24px; background:radial-gradient(ellipse,#216370,#062e38); }
.trip-summary textarea { width:100%; background:#effafb; color:#153f49; border-radius:14px; font-size:16px; margin-top:10px; }
.trip-summary .text-link { color:#b5f0f3; font-size:14px; }
.summary-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.summary-actions .button { flex:1; }
.summary-actions .primary { flex:2; background:#ff7147; color:#082d35; box-shadow:0 0 25px #ff714744; }
.trip-builder+aside .support { font-size:14px; }
body:has([data-trip-builder]) .mobile-actions { display:none; }
body:has([data-trip-builder]) { padding-bottom:0; }
.enquiry-section:has(.trip-layout) { max-width:none; }
.trip-builder .button { text-wrap:balance; }
@media(min-width:901px) { .home-hero { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:48px; } }
@media(max-width:900px) { .trip-layout { grid-template-columns:1fr; } .trip-summary { position:static; } }
@media(max-width:680px) { .home-hero .hero-copy h1 { font-size:40px; max-width:16ch; } .home-hero .hero-intro { display:block; font-size:18px; line-height:1.55; } .hero-trip-map { display:none; } .home-hero .trip-builder { padding:20px; } .trip-builder { padding:20px; } .trip-progress button { font-size:14px; } .ride-choices { grid-template-columns:1fr; } .trip-layout.trip-enhanced .trip-summary { position:sticky; bottom:0; top:auto; z-index:24; margin-top:16px; padding:12px 16px; box-shadow:0 -10px 30px #001a2844; } .trip-summary-details[open] { max-height:55vh; overflow:auto; } .trip-summary summary { font-size:18px; } .summary-actions { margin-top:8px; } .summary-map { height:180px; } .trip-step-actions { flex-wrap:wrap; } .trip-step-actions .button { flex:1 1 40%; } }
@media(prefers-reduced-motion:no-preference) { .ride-choice { transition:box-shadow 160ms ease,transform 160ms ease; } .ride-choice:active { transform:scale(.99); } }
/* Whole-card navigation; independent attribution controls remain above stretched links. */
.category-card,.vehicle-card { position:relative; }
.category-card-link,.vehicle-card .vehicle-copy .text-link::after { position:absolute; inset:0; z-index:1; border-radius:24px; }
.vehicle-card .vehicle-copy .text-link::after { content:''; }
.category-card .vehicle-media,.vehicle-card .vehicle-media { isolation:auto; }
.category-card .media-title,.vehicle-card .media-title,.category-card .media-demo,.vehicle-card .media-demo { pointer-events:none; }
.category-card .photo-info,.vehicle-card .photo-info { z-index:5; }
.category-card:has(.category-card-link:focus-visible),.vehicle-card:has(.text-link:focus-visible) { outline:3px solid #ff966f; outline-offset:5px; }
.home-faq details { padding:0; }
.home-faq summary { width:100%; min-height:48px; padding:20px 0; }
.home-faq details p { padding-bottom:20px; }
@media(prefers-reduced-motion:no-preference) { .category-card:active,.vehicle-card:active { transform:scale(.995); } .home-faq summary:hover,.home-faq summary:active { color:#b5f0f3; } }
@media(max-width:680px) { body:has([data-trip-builder]) { padding-bottom:170px; } .trip-layout.trip-enhanced .trip-summary { position:fixed; left:12px; right:12px; bottom:12px; margin:0 auto; max-width:420px; } html:has([data-trip-builder]) { scroll-padding-bottom:200px; } }
.vehicle-media[data-eager]:not(.photo-error)>.vehicle-diagram,.vehicle-media:has(noscript img)>.vehicle-diagram { visibility:hidden; }
.vehicle-media.photo-error img { visibility:hidden; }
.vehicle-media.photo-error>.vehicle-diagram { visibility:visible; }
.summary-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
.summary-facts>div { display:block; padding:12px; border:1px solid #83b6bf; border-radius:16px; background:#194752; }
.summary-facts dt { color:#b5f0f3; max-width:none; font-size:14px; }
.summary-facts dd { color:#effeff; text-align:left; max-width:none; font-size:16px; overflow-wrap:anywhere; margin-top:6px; }
.category-card-link:hover,.category-card-link:active { background:#b5f0f309; box-shadow:inset 0 0 0 2px #83b6bf; }
.vehicle-card .vehicle-copy .text-link:hover::after { box-shadow:inset 0 0 0 2px #83b6bf; }
.category-card:has(.category-card-link:focus-visible),.vehicle-card:has(.text-link:focus-visible) { outline-color:#153f49; }
.rhythm-dark .category-card:has(.category-card-link:focus-visible),.rhythm-dark .vehicle-card:has(.text-link:focus-visible) { outline-color:#b5f0f3; }
/* Keep small form copy above AA contrast even over the brightest mesh glow. */
.home-hero .trip-builder { background:#194752; }
@supports(backdrop-filter:blur(16px)) { .home-hero .trip-builder { background:#194752e8; backdrop-filter:blur(16px); } }
.see-all-rides { display:none; margin:16px 0; }
.trip-enhanced .see-all-rides { display:inline-flex; }
.ride-choice.is-too-small { cursor:not-allowed; background:#324b54; border-color:#718c94; }
.ride-choice.is-too-small .ride-picture { filter:grayscale(1); opacity:.55; }
.ride-choice.is-too-small .ride-fit { color:#effeff; }
/* Optional owner-controlled indicative price, kept visually distinct from a quote. */
.trip-price { padding:1rem; border:1px solid var(--papaya,#ff9b7d); border-radius:16px; background:#fff0e9; color:#153d46; font-weight:600; margin:1rem 0; line-height:1.6; }
.route-guide-grid { display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr)); }
.route-guide { display:flex; flex-direction:column; gap:.6rem; padding:1.7rem; border:1px solid #78b9bf77; border-radius:24px; background:linear-gradient(145deg,#1c535e,#0b3540); color:#f0fdff; text-decoration:none; min-height:250px; transition:transform .18s,border-color .18s; }
.route-guide:hover { transform:translateY(-4px); border-color:#bcf8ff; }.route-guide:active{transform:scale(.98)}
.route-guide h2{font-size:clamp(1.6rem,3vw,2.3rem);margin:0}.route-guide p{margin:0}.route-guide-number{color:#ffc0a7;font-weight:600}.route-guide .support{color:#d5eced}
.route-guide-hero h1{max-width:1000px}.route-stat-row{display:flex;flex-wrap:wrap;gap:1rem;margin:1.5rem 0}.route-stat-row span{padding:.7rem 1.2rem;border:1px solid #98dbe0;border-radius:999px;font-size:1.35rem;font-weight:600}.route-guide-body{display:grid;gap:1.5rem}.route-guide-body .button{justify-self:start}
@media(min-width:800px){.route-guide-body{grid-template-columns:1fr 1fr}.route-guide-body>.button{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.route-guide{transition:none}.route-guide:hover,.route-guide:active{transform:none}}
.service-showcase { display:grid; align-items:center; gap:2rem; }.service-showcase-copy>svg{width:64px;height:64px;color:#bff6fa}.service-showcase-copy h2{font-size:clamp(2rem,4vw,3.6rem)}.service-showcase-media{min-width:0}.service-showcase .vehicle-photo{margin:0}.service-depth{background:var(--paper,#faf5f2)}.service-depth-grid{gap:1.5rem}.service-depth-grid article{border-radius:24px;border:1px solid #7fb3bb;background:linear-gradient(135deg,#e3f4f4,#faf5f2);padding:1.75rem}.service-depth-grid article h3{font-size:1.5rem}
@media(min-width:800px){.service-showcase{grid-template-columns:1fr 1fr}}
.detail-conversion{align-items:start;gap:2.5rem}.detail-hero-media{min-width:0;align-self:start}.detail-hero-media .vehicle-photo{margin:0}.detail-conversion .detail-copy{padding:0}.detail-specs{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}.detail-specs>div{border-radius:20px;background:#e0f3f4;border:1px solid #7da6ae;padding:1rem;flex:1;min-width:130px}.detail-specs dt{font-size:.875rem}.detail-specs dd{margin:0;font-weight:600;font-size:1.1rem}.detail-planning-grid{display:grid;gap:1.25rem;margin-top:2rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.detail-planning-grid article{padding:1.5rem;border-radius:24px;border:1px solid #8fc9cf88;background:#103f49}.detail-planning-grid h3{font-size:1.5rem}.detail-planning p{color:#e0f4f4}.faq-list details{padding:1rem 0;border-bottom:1px solid #85a6aa}.faq-list summary{cursor:pointer;min-height:44px;font-weight:600;padding:.5rem;line-height:1.6}.faq-list summary:focus-visible{outline:3px solid #0b6775;outline-offset:4px}.customer-reviews figure{margin:0}.customer-reviews blockquote{margin:0 0 1rem;line-height:1.7}.footer-invitation{max-width:32ch;color:#ddf9fa}
@media(min-width:850px){.detail-conversion{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
.detail-specs>div { display:block; min-width:0; flex:1 1 130px; }
.detail-specs dd { max-width:none; text-align:left; overflow-wrap:anywhere; margin-top:.4rem; }
.route-guide-hero>.text-link { color:#b5f0f3; }
.service-showcase-copy>.service-icon { color:var(--ink); }
.detail-specs dt { max-width:none; }
.trip-builder fieldset>.text-link { color:#b5f0f3; }
:lang(ta) .home-hero h1 { overflow-wrap:anywhere; }
/* M9: compact mobile route entry and one conditional action bar. */
.hero-title-compact,.trip-tab-short,.ride-name,.ride-check,.ride-note-compact { display:none; }
.has-trip-builder .mobile-actions { display:none; }
@media(max-width:900px){.has-trip-builder.builder-out-of-view .mobile-actions { display:grid; }}
@media(max-width:680px) {
 .home-hero { gap:12px; padding-top:calc(var(--site-header-height,98px) + 10px); }
 .home-hero .hero-copy { margin:0; padding:0; }
 .home-hero .driver-note,.home-hero .hero-title-full { display:none; }
 .home-hero .hero-title-compact { display:inline; }
 .home-hero .hero-copy h1,:is(:lang(si),:lang(ta)) .home-hero .hero-copy h1 { font-size:28px; line-height:1.25; max-width:none; margin:0 0 6px; letter-spacing:-.02em; }
 .home-hero .hero-intro { font-size:16px; line-height:1.4; margin:0; }
 .home-hero .trip-builder { padding:12px; border-radius:20px; }
 .trip-progress { margin-bottom:12px; gap:5px; }
 .trip-progress button { display:flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:4px; font-size:14px; line-height:1.2; border-radius:12px; }
 .trip-progress .trip-step-number { font-size:14px; margin:0; }
 .trip-tab-full { display:none!important; }.trip-tab-short { display:inline!important; }
 .trip-builder .field { margin:0 0 10px; }
 .trip-builder .field label { margin-bottom:4px; line-height:1.4; }
 .trip-builder input:not([type=radio]),.trip-builder select { min-height:44px; height:44px; padding:8px 12px; }
 .home-hero [data-trip-step="0"]>legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); margin:0; }
 .home-hero [data-trip-step="0"]>.support:first-of-type { display:none; }
 .trip-builder .quick-times { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; margin:6px 0 12px; }
 .trip-builder .quick-times button { padding:6px 2px; min-width:0; font-size:14px; min-height:44px; line-height:1.2; }
 .trip-tools { margin:0; gap:8px; }.location-note { margin-bottom:10px; }
 body.has-trip-builder { padding-bottom:0; }
 body.has-trip-builder.builder-bar-visible { padding-bottom:160px; }
 html:has([data-trip-builder]) { scroll-padding-bottom:160px; }
 .trip-layout.trip-enhanced .trip-summary { left:8px; right:8px; bottom:8px; max-width:430px; padding:8px 10px; border-radius:20px; }
 .trip-summary summary { font-size:16px; line-height:1.4; }.summary-route { margin-top:2px; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .summary-actions { margin-top:6px; gap:6px; }.summary-actions .button { min-height:44px; padding:8px 10px; font-size:16px; }
 .summary-actions .primary { flex:2.5; }.trip-summary-details[open] { max-height:60dvh; }
 /* All radio choices share one selected check mark, regardless of photo availability. */
 .ride-note-full { display:none; }.ride-note-compact { display:block; font-size:14px; line-height:1.5; margin:0 0 10px; }
 [data-trip-step="2"]>legend { font-size:24px; margin-bottom:8px; }
 .see-all-rides { padding:6px 14px; min-height:44px; margin:0 0 10px; }
 .ride-choices { display:grid; grid-template-columns:1fr; gap:8px; }
 .ride-choice { display:grid; grid-template-columns:92px minmax(0,1fr); gap:10px; align-items:center; padding:6px 32px 6px 6px; border-radius:16px; min-height:92px; }
 .ride-choice input { opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
 .ride-picture { min-width:0; }.ride-choice .vehicle-media { height:76px; min-height:0; aspect-ratio:4/3; border-radius:12px; }
 .ride-choice .vehicle-media img { padding:3px; width:100%; height:100%; object-fit:contain; }
 .ride-choice .media-title,.ride-choice .media-demo,.ride-choice .illustration-label { display:none; }
 .ride-choice .vehicle-diagram { max-width:100%; width:100%; height:76px; padding:6px; }
 .ride-meta { display:block; padding:0; min-width:0; font-size:14px; line-height:1.4; }
 .ride-name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; }
 .ride-fit { display:block; font-size:14px; }.ride-recommended { position:absolute; left:8px; top:8px; font-size:0; width:6px; height:6px; padding:0; background:#b5f0f3; }
 .ride-choice .ride-check { position:absolute; right:9px; top:50%; transform:translateY(-50%); color:#ffc1a6; font-size:24px; font-weight:600; }
 .ride-choice:has(input:checked) .ride-check { display:block; }
 .ride-choice:has(input:checked) { border-color:#ff966f; background:#174c57; box-shadow:0 0 0 1px #ff966f; }
 .ride-credit { padding:0 4px; min-height:20px; font-size:12px; line-height:1.4; }
 .ride-item { min-width:0; }.ride-item .ride-credit { width:max-content; max-width:100%; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }
 .ride-choices+.text-link { min-height:44px; font-size:14px; }
}
.missing-hero{position:relative}.missing-hero h1{max-width:20ch}.missing-hero .text-link{color:#b5f0f3}.missing-search{display:grid;gap:10px;max-width:600px;margin:24px 0}.missing-search input{min-height:48px;border-radius:16px;padding:12px 16px;border:1px solid #83b6bf}.missing-options h2{margin-top:28px}.missing-services{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
/* Reserve enhancement space before the module loads; native forms remain usable. */
.trip-progress { display:flex; }
.trip-tools { min-height:44px; }
.ride-credit-icon,.ride-fit-short {display:none}
@media(max-width:680px){
 .ride-choice{padding-right:54px;min-height:88px}.ride-choice input:checked+.ride-check{display:block}.ride-choice .ride-check{top:14px;transform:none;font-size:22px;right:16px}
 .ride-item .ride-credit{position:absolute;z-index:4;right:5px;bottom:5px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:0;display:flex;justify-content:center;border-radius:50%;background:#194752;border:1px solid #83b6bf;overflow:visible;line-height:1}
 .ride-credit-icon{display:inline;font-size:16px}.ride-credit-text,.ride-fit-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .ride-fit-short{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:20px}.ride-choice .ride-name{line-height:24px}
}
.ride-choice input { opacity:0; inset:0; width:100%; height:100%; margin:0; }
.ride-choice .ride-check { position:absolute; right:16px; top:14px; transform:none; color:#ffc1a6; font-size:24px; font-weight:600; }
.ride-choice input:checked+.ride-check { display:block; }
@media(max-width:900px){body.has-trip-builder.builder-out-of-view{padding-bottom:100px}}
@media(max-width:680px){.ride-choice .media-demo{display:block;left:3px;right:auto;top:2px;padding:1px 4px;font-size:9px;line-height:12px;letter-spacing:.06em}.ride-choice .vehicle-media img{padding-top:15px}}
.ride-title-short{display:none}@media(max-width:680px){.ride-title-full{display:none}.ride-title-short{display:inline}}
.admin-record-list .admin-record{display:flex;flex-wrap:wrap;gap:12px}.admin-record-list .admin-record>div:first-child{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}.admin-record-list .admin-record form{margin:0}
@media(max-width:680px){.ride-choice .vehicle-media[data-framing="contain"]{display:block;padding:0;grid-template-rows:none}.ride-choice .vehicle-media[data-framing="contain"] img{position:absolute;inset:0;grid-area:auto}}

/* V2 semantic aliases reuse the approved palette; light is deliberate, including auto-dark. */
:root {
 color-scheme:only light;
 --surface-default:var(--paper); --surface-soft:var(--cyan); --surface-inverse:#062e38;
 --surface-glass:#194752; --text-primary:var(--ink); --text-inverse:#f0fdff;
 --action-primary:var(--coral); --action-text:var(--action-ink); --focus-ring:var(--teal); --border-subtle:var(--line);
 --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px; --space-12:48px; --space-16:64px;
 --type-body:18px; --type-control:16px; --type-card:clamp(20px,2vw,24px); --type-section:clamp(26px,3vw,36px); --type-page:clamp(32px,4vw,48px);
}
body { color:var(--text-primary); font-size:var(--type-body); }
.button.primary,.trip-builder .primary,.summary-actions .primary { background:var(--action-primary); color:var(--action-text); }
:focus-visible { outline:3px solid var(--focus-ring); outline-offset:3px; }
:is(.rhythm-dark,.home-hero,.site-footer) :focus-visible { outline-color:var(--surface-soft); }
.page-heading h1 { font-size:var(--type-page); }
:is(.services-section,.fleet-section,.how-section,.preparation-section,.home-planning)>h2,
:is(.fleet-section,.home-planning)>.section-heading h2,.preparation-copy h2 { font-size:var(--type-section); }
.route-guide-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr)); }
.route-guide,.route-guide>* { min-width:0; overflow-wrap:anywhere; }
.home-hero .hero-copy h1 { font-size:clamp(30px,5vw,64px); }
:is(:lang(si),:lang(ta)) { --type-page:clamp(30px,4vw,42px); --type-section:clamp(24px,3vw,32px); }
:is(:lang(si),:lang(ta)) h1 { letter-spacing:0; line-height:1.4; }
@media(max-width:680px) {
 .home-hero .hero-copy h1 { font-size:30px; line-height:1.15; }
 :is(:lang(si),:lang(ta)) .home-hero .hero-copy h1 { font-size:28px; line-height:1.4; letter-spacing:0; }
 .home-hero .trip-progress { min-height:44px; }
 .home-hero .location-note { min-height:2.8em; }
}
/* Essential content stays painted; optional scene work starts after paint/idle. */
html:not(.motion-ready) :is(.drawn-route,.scene-van,.route-traveller,.scene-layer-back,.scene-layer-mid,.scene-layer-front) { animation:none!important; }
.detail-planning .text-link { color:var(--surface-soft); }
/* Shared itinerary: one safe-area-aware action surface, bounded on small screens. */
.trip-summary .itinerary-heading { font-size:22px; margin:0 0 12px; }
.trip-summary .field input { width:100%; min-height:44px; font-size:16px; }
.trip-summary .field { margin:12px 0; }
.trip-summary .summary-route { display:inline; }
.trip-summary .summary-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.ride-choice .media-demo { display:none!important; }
.ride-flags { display:flex; align-items:center; gap:8px; min-height:18px; }
.ride-demo { font-size:10px; letter-spacing:.05em; color:#def2f4; }
.ride-choice .ride-check { position:static!important; transform:none!important; font-size:18px!important; line-height:18px; display:none; }
.ride-choice:has(input:checked) .ride-check { display:inline; }
.ride-recommended { position:static!important; font-size:11px; width:auto; height:auto; background:none; }
.trip-map[data-view=local] .trip-route { stroke-width:.5; }
.trip-map[data-view=local] :is(.map-grid,.map-hubs) { display:none; }
.trip-map[data-view=local] .map-start,.trip-map[data-view=local] .map-end { stroke-width:.3; }
@media(max-width:900px) { .trip-editing .summary-actions { display:none; } }
.trip-enhanced .itinerary-content { padding-top:12px; }
@media(max-width:900px) {
 .trip-layout.trip-enhanced .trip-summary { position:fixed; top:auto; left:8px; right:8px; bottom:max(8px,env(safe-area-inset-bottom)); max-width:500px; margin:0 auto; padding:8px 10px; max-height:45dvh; overflow:hidden; z-index:24; }
 .trip-summary-details[open] { max-height:none; overflow:visible; }
 .trip-summary summary { min-height:28px; line-height:28px; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .trip-summary .summary-route { margin:0; white-space:nowrap; }
 .trip-summary .itinerary-content { max-height:calc(45dvh - 130px); overflow:auto; overscroll-behavior:contain; }
 .trip-summary .summary-map { height:130px; }
 .trip-summary .summary-actions { margin-top:4px; }
 .trip-summary .summary-actions .button { min-height:44px; padding:7px 10px; font-size:14px; }
 .trip-summary textarea { min-height:120px; }
 .trip-summary .summary-facts { gap:8px; font-size:14px; }
 .trip-summary .trip-estimate { font-size:14px; }
 .trip-layout[data-active-trip-step="2"] .trip-builder { padding:12px; }
 .trip-layout[data-active-trip-step="2"] .trip-progress { margin-bottom:8px; }
 .trip-layout[data-active-trip-step="2"] legend { font-size:22px; margin-bottom:8px; }
 .trip-layout[data-active-trip-step="2"] .see-all-rides { min-height:44px; margin-bottom:8px; }
 .ride-choice { min-height:88px; }
 .ride-choice .vehicle-media img { padding-top:0; }
 .ride-flags { float:right; margin-left:4px; }
 .ride-meta .ride-name { clear:none; }
 .ride-choice .ride-recommended { display:none; }
 .trip-step-actions { margin-top:12px; }
}
@media(prefers-reduced-motion:no-preference){.trip-summary-details[open] .summary-vehicle{animation:itinerary-resolve 180ms ease-out}}
@keyframes itinerary-resolve { from { opacity:.6; transform:translateY(4px); } to { opacity:1; transform:none; } }
.trip-map[data-view=local] .island { stroke-width:.2; opacity:.35; }
.trip-summary .trip-estimate { margin:4px 0 10px; }
/* Short routes are a labelled diagram, rather than an empty geographic crop. */
.local-labels { display:none; }
.trip-map[data-view=local] :is(.island,.map-grid,.map-hubs) { display:none; }
.trip-map[data-view=local] .local-labels { display:block; }
.trip-map[data-view=local] .trip-route { stroke:#b5f0f3; stroke-width:3; stroke-dasharray:none; animation:none; }
.trip-map[data-view=local] .map-start { fill:#ffb49c; stroke:#effeff; stroke-width:1.5; }
.trip-map[data-view=local] .map-end { fill:#b5f0f3; stroke:#effeff; stroke-width:1.5; }
.local-labels text { fill:#effeff; font:12px 'PRL Latin',sans-serif; }
:lang(si) .local-labels text { font-family:'PRL Sinhala',sans-serif; }
:lang(ta) .local-labels text { font-family:'PRL Tamil',sans-serif; }
.local-labels .pin-letter { fill:#082d35; text-anchor:middle; font-weight:600; }
.local-labels .route-distance { font-size:14px; font-weight:600; }
.trip-map[data-view=local] .map-van { offset-distance:50%; }
@media(prefers-reduced-motion:no-preference){.trip-map[data-view=local].is-routed .map-van{animation:local-route-drive 6s ease-in-out infinite alternate}}
@keyframes local-route-drive { from { offset-distance:25%; } to { offset-distance:75%; } }
.summary-route-full { font-size:14px; line-height:1.5; margin:0 0 8px; overflow-wrap:anywhere; }
@media(max-width:900px) {
 .ride-meta .ride-name { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:normal; line-height:20px; }
 .ride-flags { float:none; margin:0; min-height:16px; line-height:16px; }
 .ride-choice { padding-top:6px; padding-bottom:6px; }
 .trip-layout[data-active-trip-step="2"] .trip-step-actions { flex-direction:column; align-items:stretch; gap:4px; }
 .trip-layout[data-active-trip-step="2"] .trip-review { order:0; width:100%; font-size:16px; line-height:22px; min-height:48px; padding:10px 12px; }
 .trip-layout[data-active-trip-step="2"] .trip-step-actions .secondary { order:1; align-self:flex-start; flex:0 0 auto; width:auto; font-size:14px; min-height:44px; padding:7px 14px; }
}

/* Owner photo cards: state label, remove button, native file text hidden once JS drives the status line. */
.admin-photo .photo-state { margin:4px 0; font-weight:600; }
.admin-photo[data-attached="false"] .photo-state { color:#6b2d0a; }
.photo-library { margin-top:16px; }
.photo-library summary { cursor:pointer; padding:8px 0; font-weight:600; }
.has-js .file-button { position:relative; display:inline-block; cursor:pointer; }
.has-js .file-button input[type="file"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; font-size:0; }
.has-js .file-button:focus-within { outline:3px solid currentColor; outline-offset:2px; }

.char-count { display:block; margin:4px 0 0; color:#35565e; }

/* M21 vehicle stage: photos and illustrations share one backdrop and stand on a common, bottom-anchored ground line.
   Geometry stays contain (never crops bumpers, wheels or roof); only the anchor and the contact shadow change. */
.vehicle-media[data-framing="contain"],.vehicle-media.illustration-only { background:linear-gradient(180deg,#cdebec 0%,#86bec4 42%,#2f727d 70%,#0a3a46 100%); }
.vehicle-media.illustration-only::before { display:none; }
.vehicle-media .media-ground { grid-area:2/1; align-self:end; justify-self:center; width:90%; height:22px; margin-bottom:-11px; border-radius:50%; background:radial-gradient(closest-side,#001820b3,#00182000); pointer-events:none; }
.vehicle-media[data-framing="contain"] :is(img,noscript img) { position:relative; grid-area:2/1; width:100%; height:100%; object-fit:contain; object-position:50% 100%; }
.vehicle-media.illustration-only .vehicle-diagram { position:relative; align-self:end; justify-self:center; width:86%; height:auto; max-height:100%; filter:none; }
.vehicle-card .vehicle-media .media-title { display:flex; align-items:flex-end; justify-content:center; min-height:2.3em; }
@media(prefers-reduced-motion:no-preference) {
 .vehicle-media :is(img,.vehicle-diagram) { transition:transform 220ms cubic-bezier(.2,.8,.2,1),opacity 220ms ease; }
 :is(.vehicle-card,.category-card,.ride-choice):active .vehicle-media :is(img,.vehicle-diagram) { transform:translateY(-2px) scale(.99); }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 :is(.vehicle-card,.category-card,.ride-choice):hover .vehicle-media :is(img,.vehicle-diagram) { transform:translateY(-4px); }
}
/* M21 16px information floor for labels that were 12-14px. */
.vehicle-media .media-demo { font-size:16px; letter-spacing:.02em; padding:2px 10px; }
.illustration-label,.vehicle-media.illustration-only .illustration-label { font-size:16px; }
.quick-times button,.trip-step-number,.detail-specs dt,.ride-meta .ride-demo { font-size:16px; }
/* M21 shorter mobile home: two-up service and fact tiles in English. */
@media(max-width:680px) {
 :lang(en) .services-section .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 :lang(en) .services-section .service-tile { min-height:0; padding:18px 14px; }
 :lang(en) .services-section .service-tile h3 { font-size:20px; }
 :lang(en) .why-strip dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .home-planning .route-example { padding:18px 20px; }
}

/* M22 photo mat: every photo sits on one light, rounded mat with a hairline ring and soft shadow, standing on the
   shared ground line. Contain geometry inside the mat (no crop); the mat reclaims the old badge row. */
.vehicle-media[data-framing="contain"] { grid-template-rows:0 minmax(0,1fr) auto; padding-top:10px; }
.vehicle-media[data-framing="contain"] :is(img,noscript img) { grid-row:1/3; box-sizing:border-box; width:auto; height:100%; aspect-ratio:3/2; max-width:100%; justify-self:center; align-self:end; padding:6px; background:#eef2f0; border-radius:14px; box-shadow:inset 0 0 0 1px #ffffffd9,0 14px 20px -12px #00151cbf; object-fit:contain; object-position:50% 100%; }
.vehicle-media.illustration-only .vehicle-diagram { margin:0; }
.vehicle-card-name { display:none; }
.vehicle-card:has(.vehicle-copy .text-link:focus-visible) .vehicle-media :is(img,.vehicle-diagram) { outline:3px solid #ff966f; outline-offset:3px; }
/* M22 compact fleet cards on phones: stage left, facts right; the whole card stays one link. */
@media(max-width:680px) {
 .fleet-list .vehicle-grid { gap:10px; }
 .fleet-list .vehicle-card { display:grid; grid-template-columns:minmax(0,32%) minmax(0,1fr); align-items:stretch; border-radius:20px; }
 .fleet-list .vehicle-art { padding:8px 0 8px 8px; }
 .fleet-list .vehicle-media,.fleet-list .vehicle-media[data-framing="contain"],.fleet-list .vehicle-media.illustration-only { display:grid; aspect-ratio:auto; height:100%; min-height:0; grid-template-rows:auto auto minmax(60px,1fr); gap:6px; padding:8px 6px 14px; border-radius:14px; }
 .fleet-list .vehicle-media .media-demo { position:static; grid-row:1; grid-column:1; justify-self:start; max-width:100%; white-space:normal; line-height:1.2; padding:2px 8px; }
 .fleet-list .vehicle-media .illustration-label { position:static; grid-row:2; grid-column:1; justify-self:start; max-width:100%; }
 .fleet-list .vehicle-media :is(img,noscript img) { grid-row:3; grid-column:1; width:100%; height:auto; max-height:100%; aspect-ratio:4/3; padding:4px; border-radius:12px; }
 .fleet-list .vehicle-media :is(.vehicle-diagram,.media-ground) { grid-row:3; grid-column:1; }
 .fleet-list .vehicle-media[data-framing="contain"]>.vehicle-diagram { position:absolute; }
 .fleet-list .vehicle-media .photo-info { position:relative; inset:auto; grid-row:2; grid-column:1; justify-self:end; }
 .fleet-list .vehicle-media .photo-info .photo-popover { right:0; left:auto; }
 .fleet-list .vehicle-media .media-shade { display:none; }
 .fleet-list .vehicle-media .media-title { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 .fleet-list .vehicle-copy { display:flex; flex-flow:row wrap; align-content:center; align-items:center; column-gap:6px; row-gap:3px; padding:8px 8px 8px 10px; line-height:1.25; }
 .fleet-list .vehicle-copy>* { flex:0 0 100%; min-width:0; }
 .fleet-list .vehicle-copy>.price-note { flex:0 0 auto; white-space:nowrap; }
 .fleet-list .vehicle-copy :is(p,dt,dd,a) { line-height:1.25; }
 .fleet-list .vehicle-card-name { display:block; margin:0 0 2px; font-weight:700; font-size:18px; line-height:1.2; color:var(--ink); }
 .fleet-list .vehicle-copy dl { margin:0; }
 .fleet-list .vehicle-copy dl>div { padding:0; gap:8px; border:0; }
 .fleet-list .vehicle-copy dd { font-size:16px; }
 .fleet-list .vehicle-copy dd { text-align:left; }
 .fleet-list .confirmation-chip { margin:2px 0; padding:2px 8px; border-radius:10px; line-height:1.25!important; }
 .fleet-list .vehicle-copy .price-note { margin:0; }
 .fleet-list .reference-label { line-height:1.25; }
 .fleet-list .vehicle-copy>.text-link { flex:0 0 auto; margin:0 0 0 auto; min-height:0; padding-block:2px; white-space:nowrap; }
}
/* M22 desktop hero map: larger and higher-contrast beside the headline; summary map unchanged. */
@media(min-width:1001px) {
 .home-hero .hero-trip-map { width:min(100%,380px); max-width:none; height:auto; aspect-ratio:300/410; margin:-8px 0 0 auto; }
 .home-hero .hero-trip-map .island { fill:#1f5c69; stroke:#b5f0f3; stroke-width:1.6; }
 .home-hero .hero-trip-map .map-hubs circle { fill:#ffc0a7; }
}
/* M22 route guide cards: wider columns so long airport names wrap to at most three lines without hiding the destination. */
@media(min-width:800px) { .route-guide-grid { grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); } .route-guide h2 { font-size:clamp(1.6rem,2.4vw,2rem); overflow-wrap:normal; text-wrap:balance; } }

/* R3-A: native date + time pair with a plain confirmation line. */
.date-field .date-legend { font-size:16px; font-weight:600; line-height:1.4; }
.date-pair { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:8px; }
.date-pair label { display:flex; flex-direction:column; gap:4px; margin:0; min-width:0; font-weight:400; }
.date-pair input { width:100%; min-width:0; }
.date-readout { margin:0; font-size:16px; }
.date-readout:empty { display:none; }
.trip-builder .date-readout { color:#b5f0f3; font-weight:600; }
.trip-builder .error { color:#ffd6cf; font-weight:600; }
/* R3-A: desktop summary uses both columns: map and facts left (sticky), name, draft and actions right. */
@media(min-width:901px) {
 .enquiry-section .trip-layout.is-summary { grid-template-columns:1fr; gap:20px; }
 .enquiry-section .trip-layout.is-summary .trip-builder { padding:16px; }
 .enquiry-section .trip-layout.is-summary .trip-builder>:not(.trip-progress) { display:none; }
 .enquiry-section .trip-layout.is-summary .trip-progress { margin:0; }
 .enquiry-section .trip-layout.is-summary .trip-summary { position:static; padding:28px; }
 .enquiry-section .trip-layout.is-summary .itinerary-content { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:32px; align-items:start; }
 .enquiry-section .trip-layout.is-summary .summary-overview { position:sticky; top:24px; }
 .enquiry-section .trip-layout.is-summary .summary-map { height:300px; }
 .enquiry-section .trip-layout.is-summary .trip-summary textarea { min-height:440px; }
 .enquiry-section .trip-layout.is-summary .summary-actions { margin-left:calc((100% - 32px) * .55 + 32px); }
}
