:root { --ink:#12386b;--muted:#4b5c6f;--line:#b9c4cc; }
body { color:var(--ink); }
a { text-decoration:none; }
a,button,input,label { touch-action:manipulation; }
img,video { display:block;width:100%;height:auto; }
em { color:var(--blue);font-style:normal; }
fieldset { min-width:0;margin:0;padding:0;border:0; }
dl,dd { margin:0; }
.wrap { max-width:80rem;padding-inline:clamp(20px,4.5vw,80px); }
.site-header .desktop-nav a[aria-current] { box-shadow:inset 0 0 0 1px var(--line); }
.hero { padding-top:2rem; }
.hero-kicker,.case-breadcrumb { display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem; }
.hero-kicker { justify-content:space-between;color:var(--muted); }
.case-breadcrumb a { min-height:44px;display:inline-flex;align-items:center;text-decoration:underline; }
.hero-grid { display:grid;gap:2.5rem;align-items:center;padding-block:clamp(2.5rem,6vw,6rem); }
.hero-copy,.hero-media { min-width:0; }
.hero h1 { margin:0;font-size:clamp(3rem,7.1vw,7rem);line-height:1.12;letter-spacing:-.025em; }
.hero .intro { margin-top:1.5rem;font-size:clamp(1.125rem,1rem + .6vw,1.5rem);line-height:1.65;color:var(--muted); }
.inline-link { display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:44px;padding-block:.5rem;border-bottom:1px solid var(--line); }
.hero-copy>.inline-link { margin-top:1.5rem; }
.hero-media { border:1px solid var(--line);border-radius:.75rem;overflow:hidden;background:#f5f7f3;box-shadow:0 1.5rem 3rem -2rem #12386b60; }
.media-top { display:flex;justify-content:space-between;gap:1rem;padding:.875rem 1rem;border-bottom:1px solid var(--line); }
.hero-media img { aspect-ratio:1;object-fit:contain;background:#fff; }
figcaption { display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;padding-block:1rem;font-size:.8125rem;line-height:1.5;color:var(--muted); }
.hero-media figcaption { padding-inline:1rem; }
.project-meta { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;border-block:1px solid var(--line);padding-block:1.5rem; }
.project-meta>div:last-child { grid-column:1/-1; }
dt { font-size:var(--type-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--muted);margin-bottom:.5rem; }
dd { font-size:1.125rem; }
.operation { padding-block:clamp(4rem,8vw,8rem); }
.section-heading { display:grid;gap:1.5rem;border-top:1px solid var(--line);padding-top:1.25rem; }
h2 { font-size:clamp(2rem,1.35rem + 2.6vw,3.75rem);line-height:1.16;letter-spacing:-.025em; }
.section-heading h2 span { color:var(--muted); }
.section-intro { max-width:46ch;margin-block:1.5rem 3rem;color:var(--muted);font-size:1.125rem;line-height:1.65; }
.workflow legend { padding:0;margin-bottom:.875rem; }
.workflow { display:block;padding:0;border:0; }
.workflow-help { max-width:52ch;margin-bottom:2rem;color:var(--muted);font-size:1.125rem; }
.workflow-layout { display:grid;gap:2rem;align-items:start; }
.chapters { min-width:0; }
.chapter { display:grid;grid-template-columns:1rem minmax(0,1fr) auto;gap:.5rem 1rem;position:relative;padding:1.5rem 1rem;border-block-start:1px solid var(--line);cursor:pointer; }
.chapter:last-child { border-bottom:1px solid var(--line); }
.chapter:not(:last-child)::before { content:"";position:absolute;inset-block:2.3rem -1.8rem;inset-inline-start:1.5rem;border-inline-start:1px solid var(--line); }
.chapter input { position:relative;z-index:1;width:1rem;height:1rem;margin:.2rem 0 0;accent-color:var(--blue); }
.chapter-index { font-size:var(--type-label);text-transform:uppercase;letter-spacing:var(--track-label);color:var(--muted); }
.chapter-title { grid-column:2;font-size:clamp(1.5rem,2.4vw,2.1rem);line-height:1.2;letter-spacing:-.025em; }
.chapter-copy { grid-column:2;font-size:1.125rem;line-height:1.65;max-width:34ch;color:var(--muted); }
.chapter-arrow { grid-column:3;grid-row:1;font-size:1.25rem; }
.chapter:has(input:checked) { background:#12386b09;box-shadow:inset 3px 0 var(--blue); }
.chapter:has(input:checked) .chapter-index,.chapter:has(input:checked) .chapter-arrow { color:var(--blue); }
.chapter:has(input:focus-visible) { outline:2px solid var(--blue);outline-offset:4px; }
.current-panel { min-width:0;padding:20px;border:1px solid var(--line);border-radius:1rem;background:linear-gradient(145deg,#f6f7f3,#dce7ed);box-shadow:0 1.5rem 3rem -2.5rem #12386b70; }
.panel-label { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;padding-bottom:1rem;border-bottom:1px solid var(--line); }
.example-mark { padding:.25rem .5rem;border:1px solid var(--line);border-radius:1rem; }
/* Overlapping grid items reserve the tallest scene, including at enlarged text sizes. */
.scenes { display:grid; }
.scene { grid-area:1/1;min-width:0;opacity:0;visibility:hidden;transform:translateY(.6rem);transition:opacity .4s ease,transform .4s cubic-bezier(.2,.75,.25,1),visibility 0s .4s; }
.workflow:has(#dispatch:checked) .scene-dispatch,
.workflow:has(#arrival:checked) .scene-arrival,
.workflow:has(#analytics:checked) .scene-analytics { opacity:1;visibility:visible;transform:none;transition-delay:0s; }
.scene-copy { padding-top:1.5rem; }
.scene h3 { margin-bottom:.75rem;font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.2;letter-spacing:-.025em; }
.scene-copy p { color:var(--muted);font-size:1.125rem;line-height:1.65; }
.scene-art { display:block;width:100%;height:auto;margin-block:1rem;overflow:visible; }
.scene-art text { fill:var(--ink);font:16px Ataero,Arial,sans-serif; }
.scene-grid { fill:none;stroke:#12386b12;stroke-width:1; }
.scene-card { fill:#f8f9f5;stroke:#a6bdce;stroke-width:1.5; }
.scene-card-muted { fill:#e4edf0; }
.scene-icon { fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.scene-connection { fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round; }
.scene-core,.scene-dot { fill:var(--blue); }
.scene-halo { fill:#24559b12;stroke:#24559b25;stroke-width:1.5; }
.scene-contour { fill:none;stroke:#91adbf40;stroke-width:1; }
.estimate-road { fill:none;stroke:#fff;stroke-width:22;stroke-linecap:round; }
.estimate-window { stroke:#b2c3d0;stroke-width:5;stroke-linecap:round; }
.estimate-band { stroke:var(--blue);stroke-width:7;stroke-linecap:round; }
.chart-area { fill:#24559b12; }
.chart-bar { stroke:var(--blue);stroke-width:8;stroke-linecap:round; }
.chart-bar-light { stroke:#7299bb; }
.panel-foot { border-top:1px solid var(--line);padding-top:1rem;color:var(--muted);font-size:.8125rem;line-height:1.5; }
.showcase { padding-block:clamp(3rem,6vw,6rem); }
.showcase-heading { display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem; }
.showcase-heading .eyebrow { margin-bottom:1.25rem; }
.showcase-heading>p { max-width:35ch;color:var(--muted);font-size:1.125rem; }
.video-frame { display:flex;justify-content:center;padding:clamp(.75rem,3vw,3rem);border:1px solid var(--line);border-radius:.75rem;background:#edf0ec; }
.video-frame video { max-width:44rem;background:#fff; }
.project-navigation { padding-block:clamp(3rem,6vw,6rem);border-top:1px solid var(--line); }
.next-project { display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;margin-block:1rem;font-size:clamp(2rem,6vw,6rem);line-height:1.12;letter-spacing:-.025em; }
.project-navigation>p:not(.eyebrow) { color:var(--muted);font-size:1.125rem; }
.project-navigation .inline-link { margin-top:1rem; }
.next { padding-block:clamp(3rem,6vw,6rem);border-top:1px solid var(--line); }
.next h2 { margin-block:1.5rem 2rem; }
.next-bottom { display:flex;flex-direction:column;gap:2rem; }
.next-bottom>p { max-width:35ch;color:var(--muted);font-size:1.125rem; }
.next-links { display:flex;flex-direction:column;gap:.75rem;min-width:0; }
.button { display:flex;justify-content:space-between;align-items:center;gap:2rem;min-height:44px;padding:1rem 1.5rem;border:1px solid var(--blue);border-radius:2rem;background:var(--blue);color:#fff; }
.button:focus-visible { outline-color:var(--blue); }
footer { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-block:2rem;border-top:1px solid var(--line);font-size:.875rem; }
.wordmark { display:inline-flex;align-items:center;min-height:44px;font-size:2rem;letter-spacing:-.06em; }
footer a { display:inline-flex;align-items:center;min-height:44px; }
@media(max-width:47.99rem) {
  .chapter { grid-template-columns:16px minmax(0,1fr);padding:14px 16px;gap:.25rem 16px; }
  .chapter input { width:16px;height:16px; }
  .chapter-arrow { display:none; }
  .chapter-title { font-size:1.25rem; }
  .chapter-copy { display:none; }
  .chapter:not(:last-child)::before { inset-block:1.7rem -1.2rem; }
}
@media(min-width:48rem) {
  .hero-grid { grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem); }
  .project-meta { grid-template-columns:1fr 1fr 1.5fr; }
  .project-meta>div:last-child { grid-column:auto; }
  .project-meta>div+div { border-inline-start:1px solid var(--line);padding-inline-start:1.5rem; }
  .section-heading { grid-template-columns:1fr 2fr; }
  .workflow-layout { grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,4rem); }
  .current-panel { position:sticky;top:1.5rem; }
  .showcase-heading { flex-direction:row;justify-content:space-between;align-items:end; }
  .next-bottom { flex-direction:row;justify-content:space-between;align-items:end; }
}
@media(prefers-reduced-motion:no-preference) {
  .chapter { transition:background-color .25s,box-shadow .25s; }
}
@media(prefers-reduced-motion:reduce) {
  .scene { transition:none;transform:none; }
}

/* HTML labels remain readable when the illustration scales down on phones. */
.qvs-figure-labels { display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:1rem;line-height:1.5;color:var(--ink); }
.scene-art text { display:none; }

/* Labels move to the next line whole; only a label wider than the figure (very large text) wraps inside itself. */
.qvs-figure-labels > span { min-width:0; }

/* Section headings read as one centred group: eyebrow, title, then the short description. The feature list and panel keep their layout. */
.operation { padding-block:0 clamp(3rem,6vw,6rem); }
.section-heading,.section-intro,.showcase-heading,.next { text-align:center; }
.section-heading { justify-items:center;gap:1rem; }
.section-intro,.showcase-heading>p,.next-bottom>p,.next .eyebrow { margin-inline:auto; }
.section-intro,.showcase-heading>p,.next-bottom>p { text-wrap:balance; }
.showcase-heading .eyebrow { margin-bottom:1rem; }
.next-bottom { align-items:center;gap:1.5rem; }
.next-links { align-items:center; }
@media(min-width:48rem) {
  .section-heading { grid-template-columns:minmax(0,1fr); }
  .showcase-heading,.next-bottom { flex-direction:column;justify-content:flex-start;align-items:center; }
  .next-links { flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.75rem 1.5rem; }
}
body.qvs-page :is(.showcase,.next) { --wave-inset:calc(50% - 60px); }
body.qvs-page footer.wrap { margin-top:0; }
/* The page title group starts on the content column; the hero image and section headings stay centred. */
body.qvs-page .hero .hero-copy { text-align:start; }
body.qvs-page .hero .hero-copy :is(h1,.intro) { text-align:start;margin-inline:0; }
/* "car care" moves to a new line as one phrase, but can still wrap inside when a line is narrower than it. */
body.qvs-page .hero h1 .title-phrase { display:inline-block; }

/* Case story: client, problem, build, decisions and outcome, between the hero and the feature walkthrough. */
.case-story { padding-block:clamp(3rem,6vw,6rem); }
.case-story .section-intro { max-width:60ch;text-wrap:balance; }
.story-grid { display:grid;gap:2.5rem; }
.story-block { min-width:0;border-top:1px solid var(--line);padding-top:1.25rem; }
.story-block h3 { margin:0 0 1rem;font-size:clamp(1.375rem,1.1rem + 1vw,1.875rem);line-height:1.25;letter-spacing:-.02em; }
.story-block p,.story-block li { max-width:62ch;color:var(--muted);font-size:1.125rem;line-height:1.65; }
.story-block p+p { margin-top:1rem; }
.story-block strong { color:var(--ink);font-weight:500; }
.story-block ul { display:grid;gap:.75rem;margin:0;padding-inline-start:1.25rem; }
.story-block a { color:var(--blue);text-decoration:underline;text-underline-offset:.2em; }
@media(min-width:48rem) {
  .story-grid { grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,5vw,5rem);row-gap:3rem; }
}
