/* Volvero case study — page-specific styles.
   Layout follows the Figma frame (1440 × 15284, node 1:10286); vertical spacing,
   heading sizes and mockup sizes are tightened for easier scanning. */
.vv {
  --vv-blue: #027ffe;
  --vv-grey: #777;
  --vv-grey-h: #b3b3b3;
  --vv-dark: #404040;
  color: #000;
  font-family: "Poppins", sans-serif;
  overflow-x: clip;
}
:where(.vv) :where(h1, h2, h3, h4) { font-weight: inherit; }
:where(.vv) :where(ul, ol) { list-style: none; }
:where(.vv) figure { margin: 0; }
:where(.vv) img { height: auto; }
.vv-blue { color: var(--vv-blue); }

/* Shared type */
.vv-h32 { font-weight: 500; font-size: 28px; line-height: 28px; text-align: center; }
.vv-p18 { font-size: 16px; line-height: 25px; }
.vv-medium { font-weight: 500; }
.vv-h-blue { font-weight: 600; font-size: 28px; line-height: 28px; color: var(--vv-blue); }
.vv-caps { font-family: "Inter", sans-serif; font-weight: 600; font-size: 21px; line-height: 25px; text-transform: uppercase; color: var(--vv-blue); }
.vv-grey-h { font-family: "Raleway", sans-serif; font-weight: 400; font-size: 28px; line-height: 33px; text-transform: uppercase; color: var(--vv-grey-h); }
.vv-grey-h--sm { font-size: 25px; line-height: 30px; }

/* Decorative ellipse strokes */
.vv-curve { position: relative; width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto; pointer-events: none; }
.vv-curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vv-curve path { fill: none; stroke: var(--vv-blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.vv-curve--3 path, .vv-curve--4 path { stroke: var(--vv-grey-h); stroke-width: 1.5; }
.vv-curve--1 { height: 70px; margin-top: 48px; }
.vv-curve--2 { height: 70px; margin-top: -20px; }
.vv-curve--3 { height: 70px; margin-top: 48px; }
.vv-curve--4 { height: 90px; margin-top: 8px; }
.vv-curve--5 { height: 80px; margin-top: 24px; }

/* ---------- Intro ---------- */
.vv-intro { padding-top: 96px; text-align: center; }
.vv-intro p { max-width: 683px; margin: 10px auto 0; font-size: 18px; line-height: 28px; }

/* ---------- Challenge ---------- */
.vv-challenge { padding-top: 7px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vv-challenge b { font-weight: 500; }
.vv-equation {
  width: 100%; max-width: 870px; margin-top: 36px;
  display: grid; grid-template-columns: 1fr 51px 1fr; row-gap: 20px; align-items: center; justify-items: center;
}
.vv-equation p { font-size: 18px; line-height: 28px; white-space: nowrap; }
.vv-plus { width: 51px; }
.vv-arrow-curved { margin-top: 24px; transform: translateX(-132px); }
.vv-center-text { max-width: 536px; margin-top: 30px; font-size: 18px; line-height: 28px; }
.vv-moreover { max-width: 338px; margin-top: 32px; }
.vv-people { margin-top: 24px; display: flex; flex-direction: column; align-items: center; }
.vv-people figcaption { margin-top: 6px; font-weight: 300; font-style: italic; font-size: 16px; line-height: 37px; color: var(--vv-dark); }
.vv-arrow-down { margin-top: 26px; }

/* ---------- Add a feature ---------- */
.vv-feature { padding-top: 64px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.vv-feature-text { flex: 0 1 668px; }
.vv-feature-title { font-family: "Inter", sans-serif; font-weight: 500; font-size: 46px; line-height: 54px; }
.vv-feature-sub { margin-top: 6px; font-family: "Inter", sans-serif; font-size: 16px; line-height: 21px; }
.vv-facts { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; max-width: 651px; }
.vv-fact h3 { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 18px; line-height: 21px; text-transform: uppercase; }
.vv-fact p { margin-top: 8px; font-weight: 300; font-size: 16px; line-height: 26px; color: var(--vv-grey); }
.vv-meta { display: flex; gap: 92px; }
.vv-feature-phone { flex: 0 0 auto; width: 250px; margin-top: 40px; }

/* ---------- Design things process ---------- */
.vv-dtp { padding-top: 64px; }
.vv-dtp-title { position: relative; width: 475px; max-width: 100%; margin: 0 auto; left: -28px; }
.vv-dtp-title h2 { font-weight: 300; font-size: 33px; line-height: 41px; text-transform: uppercase; text-align: center; white-space: nowrap; }
.vv-dtp-title img { position: absolute; left: 296px; top: 59px; width: 230px; }
.vv-steps { position: relative; height: 205px; margin-top: 48px; }
.vv-steps::before { content: ""; position: absolute; top: 25.5px; left: 2%; right: 5.75%; height: 1px; background: #000; }
.vv-steps li {
  position: absolute; top: 0; left: calc(var(--x) / 1200 * 100%); transform: translateX(-50%);
  padding-top: 69px; text-align: center; white-space: nowrap;
}
.vv-steps li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 52px; height: 52px; margin-left: -26px;
  border: 2px solid #000; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle, #000 0 6px, #fff 6.5px);
}
.vv-steps li.low { padding-top: 143px; }
.vv-steps li.low::after { content: ""; position: absolute; top: 52px; left: 50%; height: 84px; border-left: 1px dotted #000; }
.vv-steps h3 { font-weight: 700; font-size: 18px; line-height: 27px; color: var(--vv-blue); }
.vv-steps p { margin-top: 8px; font-size: 16px; line-height: 24px; color: #2b2b2b; }

/* ---------- Stage headers (EMPATHIZE, DEFINE, …) ---------- */
.vv-stage { display: flex; justify-content: space-between; align-items: flex-start; }
.vv-stage-title { font-weight: 400; font-size: 46px; line-height: 58px; text-transform: uppercase; }
.vv-stage-list { font-size: 18px; line-height: 22px; white-space: nowrap; }
.vv-stage-list li + li { margin-top: 8px; }
.vv-stage--empathize { margin-top: 0; }
.vv-stage--empathize .vv-stage-list { margin-top: 4px; min-width: 199px; }
.vv-stage--define { margin-top: 16px; }
.vv-stage--define .vv-stage-title { margin-top: 8px; }
.vv-stage--define .vv-stage-list { text-align: right; }
.vv-stage--ideate { margin-top: 64px; justify-content: flex-start; gap: 64px; padding-left: calc(var(--page-x) + 14px); }
.vv-stage--proto { margin-top: 56px; justify-content: flex-start; }
.vv-stage--proto .vv-stage-title { max-width: 310px; line-height: 70px; }
.vv-amp { flex: 0 0 50px; margin: 48px 0 0 -26px; font-size: 56px; line-height: 70px; }
.vv-stage--proto .vv-stage-list { margin: 30px 0 0 44px; }

/* ---------- Empathize content ---------- */
.vv-lets-start { margin-top: 24px; padding-left: 24px; }
.vv-lets-start p { margin-top: 24px; max-width: 478px; }
.vv-started { margin-top: 40px; padding-left: 124px; display: grid; grid-template-columns: 210px minmax(0, 469px); column-gap: 403px; align-items: center; }
.vv-started > div { padding-top: 0; }
.vv-started p { margin-top: 24px; }
.vv-want { margin-top: 48px; }
.vv-want p { margin-top: 24px; max-width: 580px; }

.vv-cards { margin-top: 40px; padding-left: 5px; display: grid; grid-template-columns: 600px minmax(0, 1fr); }
.vv-card { position: relative; padding-left: 38px; }
.vv-card::before { content: ""; position: absolute; left: 0; top: 4px; width: 23px; height: 56px; background: var(--vv-blue); border-radius: 0 28px 28px 0 / 0 28px 28px 0; }
.vv-card h4 { max-width: 197px; font-weight: 500; font-size: 18px; line-height: 28px; text-transform: uppercase; }
.vv-card p { margin-top: 18px; max-width: 340px; }
.vv-card--flush h4 { max-width: 266px; }
.vv-card--flush p { margin-left: -38px; }

.vv-wantlist { margin-top: 18px; padding-left: 44px; }
.vv-wantlist h4 { max-width: 364px; font-weight: 600; font-size: 18px; line-height: 28px; color: var(--vv-blue); }
.vv-wantlist ol { position: relative; margin-top: 18px; padding-left: 20px; }
/* Connector line drawn per item (circle to next circle), so items can size to content */
.vv-wantlist li:not(:last-child)::after { content: ""; position: absolute; left: -14.5px; top: 24px; bottom: -7px; border-left: 1px solid #000; }
.vv-wantlist li { position: relative; }
.vv-wantlist li::before { content: ""; position: absolute; left: -23px; top: 7px; width: 17px; height: 17px; box-sizing: border-box; border: 1.5px solid var(--vv-blue); border-radius: 50%; background: #fff; }
.vv-wantlist li:not(:last-child) { padding-bottom: 24px; }
.vv-wantlist b { display: block; font-weight: 500; font-size: 15px; line-height: 23px; }
.vv-wantlist span { display: block; max-width: 395px; margin-top: 4px; font-family: "Inter", sans-serif; font-weight: 300; font-size: 16px; line-height: 19px; color: var(--vv-dark); }
.vv-wantlist li:first-child span { margin-top: 8px; }
.vv-wantlist span.wide { max-width: none; }

/* ---------- Define content ---------- */
.vv-persona { margin-top: 40px; display: flex; align-items: flex-start; gap: 37px; }
.vv-persona img { flex: 0 0 auto; width: 300px; margin-left: 100px; }
.vv-persona > div { padding-top: 40px; max-width: 670px; }
.vv-persona h3 { font-weight: 600; font-size: 22px; line-height: 26px; color: var(--vv-blue); }
.vv-persona p { margin-top: 29px; }

.vv-moscow {
  max-width: 1440px; margin: -40px auto 0;
  display: grid; grid-template-columns: var(--page-x) minmax(0, 470px) minmax(40px, 174px) minmax(0, 500px);
  justify-content: end;
}
.vv-moscow p { grid-column: 2; margin-top: 250px; align-self: start; }
.vv-dotted { grid-column: 3; margin: 298px 0 0 18px; border-top: 1.5px dotted #888; height: 0; }
.vv-moscow img { grid-column: 4; width: 500px; }

/* ---------- Ideate content ---------- */
.vv-hmw { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 264px; column-gap: 24px; }
.vv-hmw > div { padding-top: 28px; }
.vv-hmw img { width: 260px; margin-right: 4px; }
.vv-italic { margin-top: 4px; font-weight: 300; font-style: italic; font-size: 16px; line-height: 25px; color: var(--vv-dark); }
.vv-hmw-body { margin-top: 8px; max-width: 458px; }

.vv-story { margin-top: 32px; }
.vv-story > div { margin-left: 486px; max-width: 714px; }
.vv-story-who { margin-top: 16px; font-weight: 500; font-size: 16px; line-height: 24px; }
.vv-story-body { font-size: 16px; line-height: 25px; }

.vv-mood-title { margin-top: 48px; }
.vv-moodboard { display: block; width: 100%; max-width: 1100px; margin: 24px auto 0; }

/* ---------- Prototype timeline ---------- */
.vv-proto-steps { position: relative; height: 224px; margin-top: 40px; }
.vv-proto-steps::before { content: ""; position: absolute; top: 25px; left: calc(35 / 1200 * 100%); right: calc(30 / 1200 * 100%); height: 1.5px; background: var(--vv-blue); }
.vv-proto-steps li {
  position: absolute; top: 87px; left: calc(var(--x) / 1200 * 100%); transform: translateX(-50%);
  font-weight: 600; font-size: 18px; line-height: 27px; white-space: nowrap;
}
.vv-proto-steps li::before {
  content: ""; position: absolute; left: 50%; top: -87px; width: 52px; height: 52px; margin-left: -26px;
  box-sizing: border-box; border: 4px solid var(--vv-blue); border-radius: 50%; background: #fff;
}
.vv-proto-steps li i { position: absolute; left: 50%; top: -37px; height: 29px; border-left: 1px dotted #000; }
.vv-proto-steps li i::after { content: ""; position: absolute; left: -3.5px; bottom: -1px; border: 3px solid transparent; border-top: 4px solid #000; border-bottom: 0; }
.vv-proto-steps li.s2 { top: 140px; }
.vv-proto-steps li.s2::before { top: -140px; }
.vv-proto-steps li.s2 i { top: -90px; height: 81px; }
.vv-proto-steps li.s3 { top: 194px; text-decoration: underline; }
.vv-proto-steps li.s3::before { top: -194px; }
.vv-proto-steps li.s3 i { top: -144px; height: 135px; }

.vv-styleguide { margin-top: 40px; }
.vv-styleguide .vv-caps { line-height: 32px; }
.vv-styleguide p { margin-top: 8px; max-width: 560px; }
.vv-midhi { margin-top: 40px; }
.vv-midhi .vv-caps { line-height: 32px; }
.vv-midhi .vv-caps span { font-weight: 400; }
.vv-midhi p { margin-top: 8px; line-height: 27px; }

/* ---------- Mid-fi vs Hi-fi comparisons ---------- */
.vv-compare { display: grid; align-items: start; }
.vv-compare .vv-grey-h { grid-column: 1 / -1; }
.vv-compare .vv-screens { margin-top: 20px; grid-row: 2; }
.vv-compare p, .vv-compare .vv-arrow { grid-row: 2; }
.vv-arrow { width: 38px; height: 38px; fill: var(--vv-blue); }
.vv-arrow--left { transform: rotate(180deg); }

.vv-compare--profile { margin-top: 40px; grid-template-columns: minmax(0, 340px) minmax(48px, 1fr) minmax(0, 576px); }
.vv-compare--profile .vv-screens { grid-column: 1; }
.vv-compare--profile .vv-arrow { grid-column: 2; margin: 193px 0 0 5px; }
.vv-compare--profile p { grid-column: 3; margin-top: 84px; }

.vv-compare--company { margin-top: 40px; grid-template-columns: minmax(0, 485px) minmax(48px, 1fr) minmax(0, 344px); }
.vv-compare--company .vv-grey-h { grid-column: 3; }
.vv-compare--company p { grid-column: 1; margin-top: 76px; }
.vv-compare--company .vv-arrow { grid-column: 2; justify-self: end; margin: 148px 11px 0 0; }
.vv-compare--company .vv-screens { grid-column: 3; }

.vv-compare--vehicles { margin-top: 40px; grid-template-columns: minmax(0, 340px) minmax(48px, 1fr) minmax(0, 479px); }
.vv-compare--vehicles .vv-grey-h { padding-left: 10px; }
.vv-compare--vehicles .vv-screens { grid-column: 1; }
.vv-compare--vehicles .vv-arrow { grid-column: 2; margin: 264px 0 0 4px; }
.vv-compare--vehicles p { grid-column: 3; margin-top: 76px; }

.vv-compare--employees { margin-top: 40px; grid-template-columns: minmax(0, 476px) minmax(48px, 1fr) minmax(0, 340px); }
.vv-compare--employees .vv-grey-h { text-align: right; }
.vv-compare--employees p { grid-column: 1; margin-top: 108px; }
.vv-compare--employees .vv-screens { grid-column: 3; }

/* ---------- Process of add vehicle ---------- */
.vv-addvehicle { margin-top: 48px; }
.vv-addvehicle-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 338px) minmax(24px, 1fr) minmax(0, 630px); align-items: start; }
.vv-addvehicle figure { display: flex; flex-direction: column; align-items: center; }
.vv-addvehicle figcaption { font-weight: 300; font-size: 14.5px; line-height: 32px; color: #999; }
.vv-av-mid { grid-column: 1; width: 190px; max-width: 100%; }
.vv-av-mid figcaption { margin-top: 9px; }
.vv-av-hi { grid-column: 3; width: 494px; max-width: 100%; }
.vv-av-hi figcaption { margin-top: 4px; transform: translateX(12px); }
.vv-av-t1 { grid-column: 1; margin-top: 24px; }
.vv-av-t23 { grid-column: 3; margin-top: 24px; display: flex; align-items: flex-start; }
.vv-av-t2 { flex: 0 1 262px; margin-left: 9px; }
.vv-av-t3 { flex: 0 1 273px; margin-left: 28px; }
.vv-light { font-weight: 300; color: #666; }

/* ---------- Final product ---------- */
.vv-final { margin-top: 56px; }
.vv-final .vv-caps { line-height: 32px; }
.vv-final h4 { margin-top: 16px; }
.vv-flow-employee { display: block; width: 100%; max-width: 1320px; margin: 24px auto 0; }
.vv-fleet { margin-top: 48px; }
.vv-fleet img { margin-top: 20px; width: 720px; }
.vv-pair { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 444px) minmax(0, 759px); }
.vv-pair-add h4 { margin-top: 1px; padding-left: 5px; }
.vv-pair-add img { margin-top: 20px; width: 316px; }
.vv-pair-filter img { margin: 20px 0 0 17px; width: 632px; }

/* ---------- End ---------- */
.vv-end { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; }
.vv-proto-btn {
  display: inline-flex; align-items: center; gap: 13px; padding: 24px 36px;
  background: #000; color: #fff;
  font-weight: 600; font-size: 21px; line-height: 32px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
  transition: background .2s;
}
.vv-proto-btn:hover { background: #222; }
.vv-proto-btn img { width: 38px; }
.vv-top { margin-top: 32px; border-radius: 50%; transition: transform .2s; }
.vv-top:hover { transform: translateY(-3px); }
.vv-top img { width: 66px; }

/* ---------- Responsive ----------
   Desktop (>1280px) is untouched. Tiers: ≤1280 small laptop / iPad landscape,
   ≤1100 tablet (shared --page-x drops to 48px), ≤1024, ≤820 iPad portrait,
   ≤760 phone layout (shared --page-x 20px), ≤600 small phones. */

/* Wide mockup strips: plain blocks on desktop; below their breakpoint they
   scroll sideways inside their own box, with a soft edge fade as a hint. */
@keyframes vv-fade-out { to { -webkit-mask-size: calc(100% + 64px) 100%; mask-size: calc(100% + 64px) 100%; } }

@media (max-width: 1280px) {
  .vv-started {
    padding-left: clamp(0px, 4vw, 124px);
    grid-template-columns: minmax(0, 296px) minmax(0, 1fr);
    column-gap: clamp(40px, 7vw, 120px); align-items: center;
  }
  .vv-started > div { padding-top: 0; }
  .vv-persona { align-items: center; gap: clamp(24px, 4vw, 48px); }
  .vv-persona img { margin-left: clamp(0px, 4vw, 100px); width: clamp(240px, 25vw, 300px); }
  .vv-persona > div { padding-top: 0; }
  /* The overlap with the persona only works at full desktop width */
  .vv-moscow { margin-top: 48px; align-items: center; }
  .vv-moscow p { margin-top: 0; }
  .vv-dotted { margin: 0 0 0 18px; }
  .vv-story > div { margin-left: clamp(0px, 30vw - 60px, 486px); }
}

@media (max-width: 1100px) {
  .vv-feature-phone { width: 240px; }
  .vv-started { padding-left: 0; }
  .vv-cards { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .vv-story > div { margin-left: 0; }
  .vv-persona img { margin-left: 0; width: 300px; }
  .vv-moscow img { width: 100%; }
  .vv-fleet img, .vv-pair-add img, .vv-pair-filter img { width: 100%; }
  .vv-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 24px; }
  .vv-pair-filter img { margin-left: 0; }
  .vv-av-t3 { margin-left: 24px; }

  /* Let text reflow: drop desktop line breaks, keep double breaks as a paragraph gap.
     Every <br> in this page follows a space, so words never join. */
  .vv br { display: none; }
  .vv-compare p br + br { display: block; content: ""; margin-top: 14px; }
  .vv-equation p { white-space: normal; text-wrap: balance; }
  .vv-grey-h { font-size: 26px; line-height: 31px; text-wrap: balance; }
  .vv-grey-h--sm { font-size: 23px; line-height: 28px; }
  .vv-wantlist span { max-width: 480px; }

  /* Timelines: evenly spaced columns instead of absolute positions */
  .vv-steps { height: auto; margin-top: 80px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 12px; }
  .vv-steps::before { left: 10%; right: 10%; }
  .vv-steps li { position: relative; left: auto; transform: none; white-space: normal; }
  .vv-steps h3 { font-size: 16px; line-height: 25px; }
  .vv-steps p { font-size: 15px; line-height: 22px; }

  .vv-proto-steps { height: auto; margin-top: 64px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 8px; }
  .vv-proto-steps::before { left: calc(100% / 14); right: calc(100% / 14); }
  .vv-proto-steps li, .vv-proto-steps li.s2, .vv-proto-steps li.s3 {
    position: relative; top: auto; left: auto; transform: none; padding-top: 87px;
    white-space: normal; text-align: center; font-size: 15px; line-height: 22px;
  }
  .vv-proto-steps li::before, .vv-proto-steps li.s2::before, .vv-proto-steps li.s3::before { top: 0; }
  .vv-proto-steps li i, .vv-proto-steps li.s2 i, .vv-proto-steps li.s3 i { top: 50px; }
  .vv-proto-steps li.s2 { padding-top: 154px; }
  .vv-proto-steps li.s3 { padding-top: 224px; }
}

/* Scroll strip: the create-employee flow (nine screens) from tablet down */
@media (max-width: 1024px) {
  .vv-scroll--flow {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    margin-top: 39px; padding: 0 var(--page-x) 14px;
    scrollbar-width: thin; scrollbar-color: var(--vv-blue) #e6f1ff;
    -webkit-mask: linear-gradient(to right, #000 calc(100% - 64px), transparent) 0 0 / 100% 100% no-repeat;
    mask: linear-gradient(to right, #000 calc(100% - 64px), transparent) 0 0 / 100% 100% no-repeat;
  }
  .vv-flow-employee { flex: none; width: 1240px; max-width: none; margin: 0; }
}

@media (max-width: 820px) {
  .vv-steps h3 { font-size: 15px; }
  .vv-steps p { font-size: 14px; line-height: 20px; }
  .vv-proto-steps { column-gap: 4px; }
  .vv-proto-steps li, .vv-proto-steps li.s2, .vv-proto-steps li.s3 { font-size: 13px; line-height: 18px; }

  .vv-moscow { margin-top: 56px; padding: 0 var(--page-x); grid-template-columns: minmax(0, 1fr); }
  .vv-moscow p, .vv-moscow img { grid-column: 1; margin-top: 0; }
  .vv-moscow p { max-width: 600px; }
  .vv-moscow img { width: 100%; max-width: 480px; margin: 32px auto 0; }
  .vv-dotted { display: none; }

  /* Mid-fi vs Hi-fi: screens first at a readable size, text underneath */
  .vv-compare { grid-template-columns: minmax(0, 1fr) !important; margin-top: 72px; }
  .vv-compare .vv-grey-h { grid-column: 1; text-align: left !important; padding-left: 0 !important; }
  .vv-compare .vv-screens, .vv-compare p { grid-column: 1 !important; grid-row: auto; margin: 0 !important; }
  .vv-compare .vv-screens { margin-top: 20px !important; order: 1; }
  .vv-compare p { margin-top: 20px !important; order: 2; max-width: 600px; }
  .vv-compare .vv-arrow { display: none; }

  .vv-addvehicle { margin-top: 96px; }
  .vv-addvehicle-grid { grid-template-columns: minmax(0, 233px) minmax(0, 1fr); column-gap: 40px; row-gap: 32px; align-items: center; }
  .vv-av-mid { grid-column: 1; grid-row: 1; }
  .vv-av-t1 { grid-column: 2; grid-row: 1; margin-top: 0; }
  .vv-av-hi { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .vv-av-hi figcaption { transform: none; }
  .vv-av-t23 { grid-column: 1 / -1; grid-row: 3; margin-top: 0; gap: 40px; }
  .vv-av-t2, .vv-av-t3 { flex: 1 1 0; margin-left: 0; }

  .vv-pair { margin-top: 72px; grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .vv-pair-add h4 { padding-left: 0; }
  .vv-pair-add img { margin-top: 20px; max-width: 371px; }
  .vv-pair-filter img { margin-top: 20px; }
}

@media (max-width: 760px) {
  .vv-intro { padding-top: 64px; }
  .vv-intro p, .vv-center-text, .vv-equation p { font-size: 15px; line-height: 23px; }
  .vv-equation { margin-top: 40px; grid-template-columns: 1fr 32px 1fr; row-gap: 20px; }
  .vv-plus { width: 32px; }
  .vv-arrow-curved { transform: translateX(-60px); }
  .vv-curve--1 { margin-top: 48px; height: 60px; }
  .vv-curve--2 { margin-top: 0; height: 60px; }
  .vv-curve--3 { margin-top: 48px; height: 60px; }
  .vv-curve--4 { margin-top: 40px; height: 80px; }
  .vv-curve--5 { margin-top: 40px; height: 70px; }

  .vv-feature { padding-top: 56px; flex-direction: column; align-items: center; }
  .vv-feature-text { flex: none; }
  .vv-feature-title { font-size: 36px; line-height: 43px; }
  .vv-facts { margin-top: 40px; gap: 32px; }
  .vv-meta { gap: 32px; flex-wrap: wrap; }
  .vv-feature-phone { margin-top: 16px; width: 240px; }

  .vv-dtp { padding-top: 72px; }
  .vv-dtp-title { left: 0; width: auto; }
  .vv-dtp-title h2 { font-size: 23px; line-height: 35px; white-space: normal; }
  .vv-dtp-title img { position: static; width: 160px; margin: 4px auto 0; }

  /* Timelines become vertical lists */
  .vv-steps, .vv-proto-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 48px; }
  .vv-steps::before, .vv-proto-steps::before { left: 25px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; }
  .vv-steps li, .vv-steps li.low, .vv-proto-steps li, .vv-proto-steps li.s2, .vv-proto-steps li.s3 {
    text-align: left; padding: 0 0 0 76px; min-height: 52px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .vv-steps li::before, .vv-proto-steps li::before, .vv-proto-steps li.s2::before, .vv-proto-steps li.s3::before { left: 0; top: 0; margin-left: 0; }
  .vv-steps li.low::after, .vv-proto-steps li i { display: none; }
  .vv-steps h3 { font-size: 18px; line-height: 25px; }
  .vv-steps p { margin-top: 0; font-size: 16px; line-height: 24px; }
  .vv-proto-steps { gap: 16px; }
  .vv-proto-steps li, .vv-proto-steps li.s2, .vv-proto-steps li.s3 { font-size: 15px; line-height: 21px; }

  .vv-stage, .vv-stage--ideate, .vv-stage--proto { flex-direction: column; gap: 16px; padding-left: var(--page-x); }
  .vv-stage--empathize { margin-top: 16px; }
  .vv-stage-title, .vv-stage--proto .vv-stage-title { font-size: 39px; line-height: 46px; }
  .vv-stage--define .vv-stage-title { margin-top: 0; order: -1; }
  .vv-stage--define .vv-stage-list { text-align: left; }
  .vv-stage-list { font-size: 15px; margin: 0 !important; }
  .vv-amp { display: none; }
  .vv-stage--ideate, .vv-stage--proto { margin-top: 72px; }

  .vv-h-blue { font-size: 23px; line-height: 28px; }
  .vv-p18 { font-size: 16px; line-height: 28px; }
  .vv-lets-start { margin-top: 40px; padding-left: 0; }
  .vv-started { margin-top: 56px; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .vv-started img { width: 220px; margin: 0 auto; }
  .vv-want { margin-top: 56px; }
  .vv-cards { margin-top: 40px; grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .vv-card--flush p { margin-left: 0; }
  .vv-wantlist { margin-top: 40px; padding-left: 0; }
  .vv-wantlist li:not(:last-child) { padding-bottom: 32px; }
  .vv-wantlist span, .vv-wantlist span.wide { max-width: none; }

  .vv-stage--define { margin-top: 24px; }
  .vv-persona { margin-top: 40px; flex-direction: column; align-items: center; gap: 0; }
  .vv-persona img { width: 260px; }
  .vv-persona > div { padding-top: 24px; }
  .vv-persona h3 { font-size: 19px; }
  .vv-persona p { margin-top: 16px; }
  .vv-moscow { margin-top: 40px; }
  .vv-moscow img { margin-top: 24px; }

  .vv-hmw { margin-top: 40px; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .vv-hmw > div { padding-top: 0; }
  .vv-hmw img { width: 100%; max-width: 379px; margin: 0 auto; }
  .vv-caps { font-size: 18px; line-height: 23px !important; }
  .vv-italic { font-size: 16px; line-height: 26px; }
  .vv-story { margin-top: 56px; }
  .vv-story-who, .vv-story-body { font-size: 16px; line-height: 28px; }
  .vv-mood-title { margin-top: 56px; }
  .vv-moodboard { margin-top: 24px; }

  .vv-styleguide { margin-top: 56px; }
  .vv-midhi { margin-top: 48px; }

  .vv-grey-h { font-size: 25px; line-height: 30px; }
  .vv-grey-h--sm { font-size: 21px; line-height: 26px; }
  .vv-compare { margin-top: 64px; }
  .vv-compare .vv-screens { margin-top: 16px !important; }
  .vv-compare p { margin-top: 16px !important; }
  .vv-addvehicle { margin-top: 64px; }
  .vv-addvehicle-grid { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .vv-av-mid, .vv-av-hi, .vv-av-t1, .vv-av-t23 { grid-column: 1; grid-row: auto; margin-top: 0; }
  .vv-av-mid { order: 1; justify-self: center; }
  .vv-av-t1 { order: 2; }
  .vv-av-hi { order: 3; margin-top: 24px; }
  .vv-av-t23 { order: 4; flex-direction: column; gap: 16px; }
  .vv-av-t2, .vv-av-t3 { flex: none; }

  .vv-final { margin-top: 64px; }
  .vv-final h4 { margin-top: 12px; }
  .vv-scroll--flow { margin-top: 24px; }
  .vv-fleet { margin-top: 56px; }
  .vv-fleet img { margin-top: 16px; }
  .vv-pair { margin-top: 56px; row-gap: 40px; }
  .vv-pair-add img { margin-top: 16px; }
  .vv-pair-filter img { margin-top: 16px; }

  .vv-end { padding-top: 40px; }
  .vv-proto-btn { font-size: 16px; line-height: 24px; padding: 18px 20px; gap: 10px; }
  .vv-proto-btn img { width: 28px; }
}

/* Phones: mockup strips run edge to edge and scroll sideways at a legible size */
@media (max-width: 600px) {
  .vv-scroll--mood, .vv-scroll--fleet, .vv-scroll--filter {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    padding: 0 var(--page-x) 14px;
    scrollbar-width: thin; scrollbar-color: var(--vv-blue) #e6f1ff;
    -webkit-mask: linear-gradient(to right, #000 calc(100% - 48px), transparent) 0 0 / 100% 100% no-repeat;
    mask: linear-gradient(to right, #000 calc(100% - 48px), transparent) 0 0 / 100% 100% no-repeat;
  }
  .vv-scroll--fleet, .vv-scroll--filter { margin: 0 calc(-1 * var(--page-x)); }
  .vv-scroll--mood { margin-top: 24px; }
  .vv-moodboard { flex: none; width: 1000px; max-width: none; margin: 0; }
  .vv-scroll--fleet img { flex: none; width: 780px; max-width: none; }
  .vv-scroll--filter img { flex: none; width: 660px; max-width: none; }
  .vv-flow-employee { width: 1120px; }

  .vv-feature-phone { width: 210px; }
  .vv-addvehicle-grid { row-gap: 20px; }
}

/* Remove the edge fade once a strip is scrolled to its end (where supported) */
@supports (animation-timeline: scroll()) {
  .vv-scroll { animation: vv-fade-out linear both; animation-timeline: scroll(self inline); }
}

/* Prototype timeline: compact version (desktop) — smaller circles, labels on one line */
@media (min-width: 1101px) {
  .vv-proto-steps { height: 76px; margin-top: 32px; }
  .vv-proto-steps::before { top: 13px; height: 1.5px; }
  .vv-proto-steps li, .vv-proto-steps li.s2, .vv-proto-steps li.s3 {
    top: 40px; font-size: 13px; line-height: 18px; letter-spacing: .8px; text-transform: uppercase;
  }
  .vv-proto-steps li::before, .vv-proto-steps li.s2::before, .vv-proto-steps li.s3::before {
    top: -40px; width: 28px; height: 28px; margin-left: -14px; border-width: 3px;
  }
  .vv-proto-steps li i { display: none; }
  .vv-proto-steps li.s2 { color: #8a8f98; font-weight: 500; }
  .vv-proto-steps li.s3 { text-decoration: none; color: var(--vv-blue); }
  .vv-proto-steps li.s3::before { background: var(--vv-blue); }
}

/* "What they want?" cards: blue tab sits beside the title only; text aligned under the title */
.vv-card { padding-left: 34px; }
.vv-card::before { top: 0; width: 18px; height: 28px; border-radius: 0 14px 14px 0; }
.vv-card h4, .vv-card--flush h4 { max-width: none; line-height: 28px; }
.vv-card p, .vv-card--flush p { margin: 10px 0 0; max-width: 380px; }
@media (max-width: 760px) { .vv-cards { gap: 28px; } }

/* ---------- Content pass (hero, problem/change, compact process) ---------- */
.case-logo--text { display: block; height: auto; margin: 0 0 12px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.5px; color: var(--vv-blue); }
.case-hero-media--phone { width: 250px; align-self: center; padding-bottom: 0; margin-right: 80px; filter: drop-shadow(0 18px 30px rgba(2,60,140,.18)); }
.vv-challenge { padding-top: 72px; }
.vv-feature-text { max-width: 760px; }

/* Problem -> Change summary above each mid-fi / hi-fi explanation */
.vv-pc { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 18px; max-width: 560px; }
.vv-pc p { margin: 0; font-size: 15px; line-height: 22px; color: #1d1d1f; }
.vv-pc span {
  display: inline-block; min-width: 72px; margin-right: 10px; padding: 2px 10px; border-radius: 999px; text-align: center;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 10.5px; line-height: 18px; letter-spacing: .8px; text-transform: uppercase;
}
.vv-pc p:first-child span { background: #fdecec; color: #b42318; }
.vv-pc p:last-child span { background: #e6f1ff; color: var(--vv-blue); }

/* Moodboard kept, but smaller */
.vv-moodboard { max-width: 780px; }

/* Design thinking timeline: same compact style as the prototype one (desktop) */
@media (min-width: 1101px) {
  .vv-steps { height: auto; margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 16px; }
  .vv-steps::before { top: 13px; left: 10%; right: 10%; }
  .vv-steps li, .vv-steps li.low { position: relative; left: auto; transform: none; padding-top: 40px; white-space: normal; }
  .vv-steps li::before { width: 28px; height: 28px; margin-left: -14px; border: 3px solid var(--vv-blue); background: #fff; }
  .vv-steps li.low::after { display: none; }
  .vv-steps h3 { font-size: 13px; line-height: 18px; letter-spacing: .8px; text-transform: uppercase; color: #000; }
  .vv-steps p { margin-top: 4px; font-size: 14px; line-height: 20px; color: #6b6b72; }
}
@media (max-width: 860px) {
  .case-hero-media--phone { width: 200px; margin: 8px auto 32px; }
}
.case-hero-media--phone { filter: none; }
.case-hero-media--phone img { mix-blend-mode: multiply; }
.vv-dtp-title { left: 0; width: auto; text-align: center; }
.vv-dtp-title img { position: static; display: block; width: 200px; margin: 2px auto 0; }
.case-hero-media--phone img { mix-blend-mode: normal; border-radius: 34px; }
/* Comparison text column = Problem/Change summary + explanation */
.vv-compare .vv-cmp-text { grid-row: 2; }
.vv-compare .vv-cmp-text p { grid-column: auto; grid-row: auto; margin-top: 0; }
.vv-compare .vv-cmp-text .vv-pc { margin: 0 0 16px; }
.vv-compare .vv-cmp-text .vv-pc p { margin: 0; }
.vv-compare--profile .vv-cmp-text, .vv-compare--vehicles .vv-cmp-text { grid-column: 3; margin-top: 56px; }
.vv-compare--company .vv-cmp-text, .vv-compare--employees .vv-cmp-text { grid-column: 1; margin-top: 56px; }
@media (max-width: 1100px) {
  .vv-compare .vv-cmp-text { grid-column: 1 !important; grid-row: auto; order: 2; margin-top: 20px !important; max-width: 600px; }
}
.case-hero-media--phone img { clip-path: inset(0 5px 0 2px round 32px); }
.case-logo--text { height: 48px; line-height: 48px; margin-bottom: 20px; }

/* =========================================================
   Type system (one font, 5 sizes) — same approach as Apptiv
   ========================================================= */
.vv, .vv p, .vv li, .vv span, .vv h3, .vv h4, .vv b, .vv figcaption, .vv a { font-family: "Poppins", system-ui, sans-serif; }
.vv-amp { font-size: inherit !important; line-height: inherit !important; }
/* sub-headings */
.vv-h-blue { font-size: 22px; line-height: 30px; font-weight: 600; }
.vv-caps { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.vv-grey-h { font-weight: 500 !important; font-size: 19px !important; line-height: 26px !important; letter-spacing: .2px; color: #8c8c8c !important; text-transform: uppercase; }
.vv h3:not([class]), .vv h3.rv:not(.vv-h-blue):not(.vv-caps):not(.vv-grey-h) { font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .3px; }
/* body */
.vv p:not(.case-sub):not(.vv-feature-sub) { font-weight: 400; font-size: 16px; line-height: 26px; }
.vv p.vv-feature-sub { font-size: 16px; line-height: 26px; }
.vv figcaption { font-weight: 400; font-size: 15px; line-height: 22px; color: #555; }
.vv-light { font-weight: 400; }
/* button */
.vv-proto-btn { font-size: 16px !important; line-height: 24px !important; }
.vv-stage-list li { font-weight: 500; font-size: 16px; line-height: 24px; }
.vv span { font-weight: inherit; }
.vv li span, .vv p span { font-weight: 400; }
