:root {
  --qv-color-night: #080b0d;
  --qv-color-brand: #d70c18;
  --qv-color-brand-dark: #9f0710;
  --qv-color-canvas: #f5f6f6;
  --qv-color-steel-100: #e9edef;
  --qv-color-ink: #0b1014;
}

.qv-home--v2 {
  background: var(--qv-color-canvas);
}

.qv-home--v2 .qv-kicker {
  color: var(--qv-color-brand);
}

.qv-home--v2 .qv-dark .qv-kicker,
.qv-home--v2 .qv-hero .qv-kicker,
.qv-home--v2 .qv-iaevo .qv-kicker {
  color: #ff4b55;
}

.qv-home--v2 .qv-home-section {
  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

.qv-home--v2 .qv-section-heading--editorial {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  align-items: end;
}

.qv-home--v2 .qv-section-heading--editorial .qv-kicker {
  grid-column: auto;
  margin-bottom: 1rem;
}

.qv-home--v2 .qv-section-heading--editorial h2 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.3vw, 6.3rem);
}

.qv-home--v2 .qv-section-heading--editorial > p,
.qv-home--v2 .qv-section-heading__side > p {
  max-width: 34rem;
  margin: 0;
  color: var(--qv-color-steel-700);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.qv-home--v2 .qv-section-heading__side {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

/* Hero */
.qv-hero--v2 {
  min-height: 100svh;
  align-items: center;
  isolation: isolate;
  background: #07090b;
}

.qv-hero--v2 .qv-hero__media {
  filter: saturate(0.72) contrast(1.08);
}

.qv-hero--v2 .qv-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(2 5 7 / 90%) 0%, rgb(2 5 7 / 58%) 48%, rgb(2 5 7 / 10%) 82%), linear-gradient(0deg, rgb(2 5 7 / 78%) 0%, transparent 50%);
  content: "";
}

.qv-hero--v2 .qv-hero__shade {
  background: radial-gradient(circle at 76% 42%, transparent 0 22%, rgb(0 0 0 / 14%) 47%, rgb(0 0 0 / 34%) 100%);
}

.qv-hero__frame {
  position: absolute;
  z-index: 1;
  inset: clamp(6.7rem, 10vw, 8rem) clamp(1rem, 3vw, 3rem) clamp(5.5rem, 8vw, 7rem);
  border: 1px solid rgb(255 255 255 / 16%);
  pointer-events: none;
}

.qv-hero--v2 .qv-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.32fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  width: var(--qv-container);
  padding: clamp(10rem, 18vh, 13rem) 0 clamp(12rem, 18vh, 14rem);
}

.qv-hero__copy {
  max-width: 62rem;
}

.qv-hero--v2 h1 {
  max-width: 11ch;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.qv-hero--v2 .qv-hero__intro {
  max-width: 42rem;
  margin-top: 1.65rem;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.qv-hero__index {
  display: grid;
  gap: 1rem;
  align-self: center;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 1px solid rgb(255 255 255 / 28%);
}

.qv-hero__index span {
  color: #ff4b55;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.qv-hero__index p {
  max-width: 14rem;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

.qv-hero__facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: var(--qv-container);
  margin: 0 auto;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.qv-hero__facts > div {
  display: grid;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 1.35rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid rgb(255 255 255 / 18%);
  align-content: center;
}

.qv-hero__facts > div:first-child {
  padding-left: 0;
}

.qv-hero__facts > div:last-child {
  border-right: 0;
}

.qv-hero__facts strong {
  color: #fff;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  letter-spacing: -0.025em;
}

.qv-hero__facts span {
  max-width: 18rem;
  color: rgb(255 255 255 / 58%);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Product-led entry */
.qv-products--v2 {
  background: #fff;
}

.qv-products__grid--editorial {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
}

.qv-products__grid--editorial .qv-product-card {
  min-height: 27rem;
  background: #11171b;
}

.qv-products__grid--editorial .qv-product-card--feature {
  grid-column: span 2;
  min-height: clamp(34rem, 43vw, 43rem);
}

.qv-products__grid--editorial .qv-product-card img {
  filter: saturate(0.78) contrast(1.04);
}

.qv-products__grid--editorial .qv-product-card__shade {
  background: linear-gradient(0deg, rgb(4 8 10 / 92%) 0%, rgb(4 8 10 / 32%) 56%, rgb(4 8 10 / 8%) 100%);
}

.qv-products__grid--editorial .qv-product-card__content {
  gap: 0.8rem;
}

.qv-products__grid--editorial .qv-product-card__content small {
  max-width: 31rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.9rem;
  line-height: 1.45;
}

.qv-products__grid--editorial .qv-product-card__content strong {
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.7vw, 3.6rem);
}

.qv-products__grid--editorial .qv-product-card:not(.qv-product-card--feature) .qv-product-card__content strong {
  font-size: clamp(1.65rem, 2.1vw, 2.5rem);
}

/* Strategic paths */
.qv-journeys--v2 {
  background: #080b0d;
}

.qv-journeys--v2 .qv-section-heading .qv-text-action {
  justify-self: start;
  color: #fff;
}

.qv-journeys--v2 .qv-journeys__grid {
  border-color: rgb(255 255 255 / 14%);
}

.qv-journeys--v2 .qv-journey {
  min-height: 34rem;
  border-color: rgb(255 255 255 / 14%);
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 1.5%));
}

.qv-journeys--v2 .qv-journey:hover {
  background: linear-gradient(180deg, rgb(215 12 24 / 12%), rgb(255 255 255 / 3%));
}

.qv-journeys--v2 .qv-journey > span {
  color: #ff4b55;
  letter-spacing: 0.14em;
}

.qv-journeys--v2 .qv-journey h3 {
  max-width: 10ch;
  font-size: clamp(2.35rem, 3.35vw, 4rem);
}

.qv-journeys--v2 .qv-journey p {
  max-width: 31rem;
  line-height: 1.6;
}

/* IAEVO */
.qv-iaevo--v2 {
  min-height: min(58rem, 94svh);
  align-items: center;
  background: #101417;
}

.qv-iaevo--v2 .qv-iaevo__media {
  right: 0;
  left: auto;
  width: 58%;
}

.qv-iaevo--v2 .qv-iaevo__media img {
  object-position: center;
  filter: saturate(0.65) contrast(1.08);
}

.qv-iaevo--v2 .qv-iaevo__shade {
  background: linear-gradient(90deg, #101417 0%, #101417 37%, rgb(16 20 23 / 87%) 52%, rgb(16 20 23 / 20%) 100%), linear-gradient(0deg, rgb(5 8 10 / 55%), transparent 55%);
}

.qv-iaevo--v2 .qv-iaevo__content {
  width: var(--qv-container);
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.qv-iaevo--v2 h2 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 6vw, 6.8rem);
}

.qv-iaevo--v2 p:not(.qv-kicker) {
  max-width: 32rem;
  line-height: 1.6;
}

.qv-iaevo__features {
  display: grid;
  gap: 0;
  max-width: 34rem;
  padding: 0;
  margin: 2rem 0 2.25rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  list-style: none;
}

.qv-iaevo__features li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  color: rgb(255 255 255 / 76%);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Process rail */
.qv-process-story--v2 {
  display: block;
  background: #fff;
}

.qv-process-story--v2 .qv-process-story__intro {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.qv-process-story--v2 .qv-process-story__intro .qv-kicker {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.qv-process-story--v2 .qv-process-story__intro h2 {
  max-width: 13ch;
}

.qv-process-story--v2 .qv-process-story__intro > p:not(.qv-kicker) {
  max-width: 32rem;
  margin: 0;
  align-self: end;
}

.qv-process-story--v2 .qv-process-story__intro .qv-text-action {
  grid-column: 2;
}

.qv-process-story__steps--rail {
  display: flex;
  gap: 0;
  padding-bottom: 1rem;
  overflow-x: auto;
  border: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.qv-process-story__steps--rail li {
  display: grid;
  flex: 0 0 min(26rem, 82vw);
  grid-template-columns: 1fr;
  gap: 4rem;
  min-height: 25rem;
  padding: 2rem;
  border: 1px solid var(--qv-color-steel-300);
  border-right: 0;
  scroll-snap-align: start;
  align-content: space-between;
}

.qv-process-story__steps--rail li:last-child {
  border-right: 1px solid var(--qv-color-steel-300);
}

.qv-process-story__steps--rail li > span {
  color: var(--qv-color-brand);
  letter-spacing: 0.14em;
}

.qv-process-story__steps--rail h3 {
  font-size: clamp(2rem, 2.6vw, 3rem);
}

/* Machine family horizontal catalogue */
.qv-machine-families--v2 {
  position: relative;
  background: #e8ecee;
}

.qv-rail-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin: -2rem 0 1.25rem;
}

.qv-rail-controls button {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgb(11 16 20 / 24%);
  border-radius: 50%;
  background: transparent;
  color: var(--qv-color-ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--qv-transition-fast), color var(--qv-transition-fast), border-color var(--qv-transition-fast);
  place-items: center;
}

.qv-rail-controls button:hover,
.qv-rail-controls button:focus-visible {
  border-color: var(--qv-color-ink);
  background: var(--qv-color-ink);
  color: #fff;
}

.qv-machine-families__rail {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.qv-machine-families__rail .qv-family-card {
  flex: 0 0 min(33rem, 82vw);
  grid-template-columns: 1fr;
  grid-template-rows: 19rem 1fr;
  min-height: 35rem;
  scroll-snap-align: start;
}

.qv-machine-families__rail .qv-family-card__media {
  min-height: 0;
}

.qv-machine-families__rail .qv-family-card img {
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

.qv-machine-families__rail .qv-family-card__copy {
  align-content: start;
}

.qv-machine-families__rail .qv-family-card em {
  color: var(--qv-color-brand);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* Proof and service */
.qv-credibility--v2 {
  background: #080b0d;
}

.qv-credibility--v2 .qv-credibility__headline > p:not(.qv-kicker) {
  max-width: 38rem;
  color: rgb(255 255 255 / 65%);
  line-height: 1.65;
}

.qv-credibility--v2 .qv-credibility__headline .qv-button {
  margin-top: 1.5rem;
}

.qv-credibility--v2 .qv-credibility__list li {
  padding: 1.85rem 0;
}

.qv-credibility--v2 .qv-credibility__list strong {
  color: #ff4b55;
  font-size: 1.05rem;
}

.qv-services-home--v2 {
  background: #f7f8f8;
}

.qv-services-home--v2 .qv-services-home__grid {
  gap: 1px;
  background: #cbd2d5;
}

.qv-services-home--v2 .qv-services-home__grid article {
  min-height: 17rem;
  background: #fff;
  transition: transform var(--qv-transition-base), box-shadow var(--qv-transition-base);
}

.qv-services-home--v2 .qv-services-home__grid article:hover {
  z-index: 1;
  box-shadow: var(--qv-shadow-card);
  transform: translateY(-0.2rem);
}

.qv-services-home--v2 .qv-services-home__grid article > span {
  color: var(--qv-color-brand);
}

.qv-services-home--v2 .qv-services-home__grid h3 {
  margin-top: 3.5rem;
}

/* Lead */
.qv-lead--v2 {
  background: #101417;
  color: #fff;
}

.qv-lead--v2 .qv-lead__intro h2 {
  color: #fff;
}

.qv-lead--v2 .qv-lead__intro > p:last-of-type {
  color: rgb(255 255 255 / 64%);
  line-height: 1.65;
}

.qv-lead__checklist {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.qv-lead__checklist strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qv-lead__checklist ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  color: rgb(255 255 255 / 70%);
  list-style: none;
}

.qv-lead__checklist li::before {
  margin-right: 0.75rem;
  color: #ff4b55;
  content: "—";
}

.qv-lead--v2 .qv-lead__form-wrap {
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 32%);
}

@media (max-width: 82rem) {
  .qv-products__grid--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qv-products__grid--editorial .qv-product-card--feature {
    grid-column: span 1;
    min-height: 34rem;
  }
}

@media (max-width: 64rem) {
  .qv-home--v2 .qv-section-heading--editorial,
  .qv-process-story--v2 .qv-process-story__intro {
    grid-template-columns: 1fr;
  }

  .qv-process-story--v2 .qv-process-story__intro .qv-kicker,
  .qv-process-story--v2 .qv-process-story__intro .qv-text-action {
    grid-column: 1;
  }

  .qv-hero--v2 .qv-hero__content {
    grid-template-columns: 1fr;
  }

  .qv-hero__index {
    display: none;
  }

  .qv-iaevo--v2 .qv-iaevo__media {
    width: 72%;
  }
}

@media (max-width: 48rem) {
  .qv-hero--v2 {
    min-height: 48rem;
  }

  .qv-hero__frame {
    inset: 5.8rem 1rem 6.2rem;
  }

  .qv-hero--v2 .qv-hero__media {
    background-position: 58% center;
  }

  .qv-hero--v2 .qv-hero__media::after {
    background: linear-gradient(0deg, rgb(2 5 7 / 94%) 0%, rgb(2 5 7 / 55%) 58%, rgb(2 5 7 / 38%) 100%);
  }

  .qv-hero--v2 .qv-hero__content {
    width: calc(100% - 2rem);
    padding: 8.5rem 0 13rem;
  }

  .qv-hero--v2 h1 {
    max-width: 10ch;
    font-size: clamp(3.15rem, 14vw, 4.65rem);
  }

  .qv-hero--v2 .qv-hero__intro {
    font-size: 1rem;
  }

  .qv-hero__facts {
    grid-template-columns: 1fr;
    width: calc(100% - 2rem);
  }

  .qv-hero__facts > div {
    display: none;
  }

  .qv-hero__facts > div:first-child {
    display: grid;
    min-height: 5.5rem;
    padding: 1rem 0;
    border-right: 0;
  }

  .qv-products__grid--editorial {
    grid-template-columns: 1fr;
  }

  .qv-products__grid--editorial .qv-product-card,
  .qv-products__grid--editorial .qv-product-card--feature {
    min-height: 29rem;
  }

  .qv-journeys--v2 .qv-journey {
    min-height: 28rem;
  }

  .qv-iaevo--v2 {
    min-height: 54rem;
    align-items: end;
  }

  .qv-iaevo--v2 .qv-iaevo__media {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 52%;
  }

  .qv-iaevo--v2 .qv-iaevo__shade {
    background: linear-gradient(0deg, #101417 0%, #101417 46%, rgb(16 20 23 / 55%) 70%, rgb(16 20 23 / 5%) 100%);
  }

  .qv-iaevo--v2 .qv-iaevo__content {
    width: calc(100% - 2rem);
    padding: 21rem 0 4rem;
  }

  .qv-iaevo--v2 h2 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .qv-process-story__steps--rail li {
    flex-basis: 82vw;
    min-height: 22rem;
  }

  .qv-rail-controls {
    margin-top: -1rem;
  }

  .qv-machine-families__rail .qv-family-card {
    flex-basis: 84vw;
    grid-template-rows: 16rem 1fr;
    min-height: 32rem;
  }

  .qv-credibility--v2 .qv-credibility__list li {
    grid-template-columns: 6.5rem 1fr;
  }
}

.qv-hero--v2 .qv-hero__control {
  bottom: 8.5rem;
}

.qv-hero--v2 .qv-hero__scroll {
  display: none;
}
