/* Homepage layout. One cascade; shared navigation primitives live in qordiq-marketing.css. */
.q-home {
  --q-bg: #fff;
  --q-panel: #f4f5f6;
  --q-ink: #111416;
  --q-secondary: #50565b;
  --q-muted: #70767b;
  --q-line: #e0e3e5;
  --q-home-card-heading: clamp(30px, 2.8vw, 40px);
  --q-home-feature-heading: clamp(42px, 4.3vw, 64px);
}
.q-home .q-container {
  width: calc(100% - 120px);
  max-width: 1320px;
}
.q-home [id] {
  scroll-margin-top: 110px;
}
.q-home h2,
.q-home h3 {
  text-wrap: balance;
}
.q-home .q-nav {
  padding-inline: max(30px, calc((100vw - 1320px) / 2));
}
.q-home .q-nav[data-scrolled],
.q-home .q-nav:has(details[open]) {
  background: #fffffff5;
  backdrop-filter: blur(16px);
}
.q-home.q-site .q-nav .q-nav__contact {
  background: #171a1c;
  color: #fff !important;
  border: 1px solid #ffffff30;
  border-radius: 999px;
}
.q-home .q-button {
  border-radius: 999px;
  background: #171a1c;
  border-color: #171a1c;
}
.q-home .q-button--outline {
  background: transparent;
  border-color: #ffffff80;
}
.q-home .q-button:hover,
.q-home .q-nav__contact:hover {
  background: #343a3e;
}
.q-home .q-text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}
.q-home .q-text-link svg {
  width: 18px;
  height: 18px;
}
.q-home .q-text-link:hover {
  color: var(--q-accent);
}
/* Full-height film. Keep daylight in the image and contrast behind the copy. */
.q-home-hero {
  height: 100svh;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #eceef2;
  background: #0d0f12;
}
.q-home-hero .q-home-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.q-home-hero .q-home-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  mask-image: none;
  transform: none;
}
.q-home-hero::after {
  display: none;
}
.q-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
  background: linear-gradient(
    180deg,
    #0d0f1252 0%,
    #0d0f1214 32%,
    #0d0f1233 52%,
    #0d0f12b8 85%,
    #0d0f12c7 100%
  );
}
.q-home-hero__content {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: end;
  gap: 8%;
  width: 100%;
  padding: 180px 3.6% 80px;
}
.q-home-hero h1 {
  font-size: clamp(60px, 5.8vw, 112px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.q-home-hero .iq-w__reel {
  transform: none;
}
.q-home-hero .iq-w,
.q-home-hero .iq-w__copy {
  height: 1.15em;
  line-height: 1.15;
}
.q-home-hero .iq-w__copy {
  overflow: clip;
}
.q-home-hero__content > div {
  max-width: 450px;
  justify-self: end;
  padding-bottom: 8px;
}
.q-home-hero__content p {
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.45;
}
.q-home-hero .q-actions {
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 28px;
}
.q-home-hero .q-button {
  padding: 15px 23px;
  font-size: 15px;
  white-space: nowrap;
}
.q-home-hero .q-button svg {
  display: none;
}
.q-home-hero .q-home-hero-playback {
  bottom: 20px;
  right: 3.6%;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: transparent;
  color: #eceef2;
  border: 1px solid #eceef270;
}
.q-home-hero .q-home-hero-playback svg {
  width: 13px;
  height: 13px;
}

.q-home-body {
  position: relative;
  background: #fff;
}
.q-providers {
  padding-block: 36px;
  text-align: center;
  border-bottom: 1px solid var(--q-line);
}
.q-providers > p {
  color: var(--q-secondary);
  font-size: 15px;
}
.q-providers > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin-top: 20px;
}
.q-providers > div > span {
  font-size: 25px;
  letter-spacing: -0.04em;
  color: #757b80;
}
.q-stories {
  padding-block: 32px 0;
}
.q-stories__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.q-stories__header h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.q-stories__controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.q-stories__controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--q-ink);
  background: transparent;
  border: 1px solid #d5d9dc;
  border-radius: 50%;
}
.q-stories__controls button:hover:not(:disabled) {
  background: #eef0f1;
}
.q-stories__controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.q-stories__controls svg,
.q-story__bottom svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.q-stories__controls button:first-child svg {
  transform: rotate(180deg);
}
.q-stories__rail {
  display: flex;
  gap: 20px;
  padding: 0 max(60px, calc((100vw - 1320px) / 2)) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(60px, calc((100vw - 1320px) / 2));
  scrollbar-width: none;
}
.q-stories__rail::-webkit-scrollbar {
  display: none;
}
.q-home .q-story {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 clamp(320px, 30vw, 420px);
  min-height: 470px;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
}
.q-story > img,
.q-story::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.q-story > img {
  object-fit: cover;
  transition: transform 0.7s ease;
}
.q-story::after {
  content: '';
  background: linear-gradient(180deg, #091118ad, #09111800 52%, #09111880);
}
.q-story:hover > img {
  transform: scale(1.025);
}
.q-story__copy > span {
  display: block;
  font-size: 12px;
  margin-bottom: 22px;
  color: #ffffffe0;
}
.q-story__copy h3 {
  font-size: clamp(29px, 2.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: initial;
}
.q-story__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.q-story:focus-visible,
.q-stories__rail:focus-visible {
  outline-offset: -4px;
}
.q-statement {
  display: grid;
  place-items: center;
  min-height: 690px;
  padding: 150px 60px;
  text-align: center;
}
.q-statement p {
  max-width: 1030px;
  font-family: var(--q-display);
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.q-statement strong {
  font-weight: 400;
  color: #7b8389;
}
.q-platform-world {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(#fff, #f4f5f6 450px);
  padding-bottom: 110px;
}
.q-platform-world__visual {
  position: absolute;
  inset: 0 0 auto;
  height: 1180px;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 20%, #000 60%, transparent);
}
.q-flow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.q-platform-intro {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
  padding: 100px 32px 150px;
  text-align: center;
}
.q-platform-intro__copy {
  z-index: 1;
  max-width: 960px;
}
.q-platform-intro__brand {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 28px !important;
}
.q-platform-intro__brand > span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--q-secondary);
}
.q-platform-intro h2 {
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.q-platform-intro__description {
  max-width: 510px;
  margin: 28px auto !important;
  font-size: 17px;
  line-height: 1.6;
  color: var(--q-secondary);
}
.q-platform-signals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.q-platform-signals__point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #f4f5f6e6;
  border: 1px solid #0d0f1226;
  color: var(--q-ink);
  font: 12px/1.3 var(--q-body);
}
.q-platform-signals__point::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--q-accent);
}
.q-platform-signals__point--workspace {
  left: 17%;
  bottom: 60px;
}
.q-platform-signals__point--models {
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
}
.q-platform-signals__point--controls {
  right: 16%;
  bottom: 76px;
}
.q-platform-signals > i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #2a4bd766;
}
.q-platform-signals > i:nth-of-type(1) {
  left: 12%;
  top: 25%;
}
.q-platform-signals > i:nth-of-type(2) {
  right: 13%;
  top: 31%;
}
.q-platform-signals > i:nth-of-type(3) {
  left: 32%;
  top: 13%;
}
.q-platform-signals > i:nth-of-type(4) {
  right: 28%;
  top: 83%;
}
.q-platform-signals > i:nth-of-type(5) {
  left: 8%;
  top: 87%;
}
.q-platform-signals > i:nth-of-type(6) {
  right: 7%;
  top: 76%;
}
.q-platform-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 48px;
  max-width: 1320px;
}
.q-platform-path {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 700px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--q-ink);
}
.q-platform-path:nth-child(2) {
  margin-top: 88px;
}
.q-platform-path__word {
  position: absolute;
  top: 28%;
  left: 44px;
  color: #fff;
  opacity: 0.8;
  mix-blend-mode: soft-light;
  font: 400 clamp(100px, 12.2vw, 184px) / 0.9 var(--q-display);
  letter-spacing: -0.065em;
  pointer-events: none;
}
.q-platform-path__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* The photographed foreground supplies the fade; blend only the final edge. */
  mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
.q-platform-path__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.q-platform-path__copy {
  width: 100%;
  padding: 52px;
}
.q-platform-path .q-platform-path__eyebrow {
  color: var(--q-muted);
  font: 11px/1.5 var(--q-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.q-platform-path h3 {
  font-size: var(--q-home-card-heading);
  letter-spacing: -0.02em;
  line-height: 1.16;
}
.q-platform-path .q-platform-path__description {
  color: var(--q-secondary);
  font-size: 18px;
  line-height: 1.55;
  max-width: 420px;
  margin-top: 22px;
}
.q-platform-path .q-text-link {
  margin-top: 26px;
}

.q-platform-paths {
  gap: 28px;
}
.q-platform-path {
  min-height: 620px;
  aspect-ratio: 1;
}
.q-platform-path__word {
  top: 19%;
  left: 36px;
  font-size: clamp(96px, 10vw, 150px);
}
.q-platform-path__copy {
  padding: 36px;
}
.q-platform-path h3 {
  font-size: clamp(30px, 2.6vw, 38px);
}
.q-platform-path .q-platform-path__description {
  font-size: 16px;
  max-width: 38ch;
}
.q-work {
  padding: 120px 0;
  background: linear-gradient(#f4f5f6, #fff 160px);
}
.q-work__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.q-work__eyebrow,
.q-principles__intro > p,
.q-home-invitation__eyebrow {
  font-size: 12px;
  color: var(--q-muted);
  margin-bottom: 22px !important;
}
.q-work__intro h2,
.q-principles__intro h2 {
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.q-work__description {
  max-width: 300px;
  color: var(--q-secondary);
  font-size: 16px;
  line-height: 1.6;
}
.q-work__tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--q-line);
}
.q-work__tabs button {
  position: relative;
  padding: 16px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--q-muted);
  font-size: 15px;
  white-space: nowrap;
}
.q-work__tabs button[aria-selected='true'] {
  color: var(--q-ink);
  border-color: var(--q-ink);
}
.q-work__tab-index,
.q-work__tab-arrow {
  display: none;
}
.q-work-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 590px;
  aspect-ratio: 2.1;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #1b2227;
}
.q-work-panel__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.q-work-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 25%, #081016c9);
}
.q-work-panel__copy {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  width: 100%;
  padding: 44px;
}
.q-work-panel h3 {
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.q-work-panel__detail > p {
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffffe6;
}
.q-work-panel .q-text-link {
  margin-top: 20px;
}
.q-work-panel__word {
  display: none;
}
.q-work-panel__number {
  position: absolute;
  inset: 28px 44px auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.q-principles {
  padding-block: 80px 40px;
  background: #f4f5f6;
}
.q-principles__intro {
  max-width: 760px;
  margin-bottom: 64px;
}
.q-principles__intro > p {
  padding-top: 0;
}
.q-principles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}
.q-principle__visual {
  display: none;
}
.q-principle__copy {
  padding: 32px 0;
  border-top: 1px solid var(--q-line);
}
.q-principle h3 {
  max-width: 26ch;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.q-principle__copy > p {
  margin-top: 20px;
  max-width: 50ch;
  color: var(--q-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.q-principle .q-text-link {
  margin-top: 22px;
}
.q-home-invitation {
  position: relative;
  isolation: isolate;
  padding: 125px 0;
  text-align: center;
  background: #f4f5f6;
}
.q-home-invitation::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/marketing/platform-silver-v8-small.webp') center/cover;
  opacity: 0.35;
  mask-image: linear-gradient(transparent, #000 40%, transparent);
}
.q-home-invitation h2 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.q-home-invitation h2 em {
  font-style: normal;
}
.q-home-invitation__description {
  max-width: 40ch;
  margin: 28px auto !important;
  color: var(--q-secondary);
  line-height: 1.6;
}
.q-home-invitation .q-button {
  min-width: 190px;
  justify-content: center;
}
.q-home-footer {
  background: #f4f5f6;
}
.q-home-footer__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-block: 56px;
  border-top: 1px solid var(--q-line);
}
.q-home-footer__brand {
  display: inline-flex;
  gap: 10px;
  align-items: start;
}
.q-home-footer__brand > svg {
  width: 28px;
  height: 32px;
  margin-top: 5px;
}
.q-home-footer__brand > span {
  font-size: 36px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.q-home-footer__brand small {
  display: block;
  font-size: 11px;
  margin-top: 10px;
  letter-spacing: 0;
  color: var(--q-secondary);
}
.q-home-footer__navigation {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.q-home-footer__links h2 {
  font-size: 12px;
  color: var(--q-muted);
  margin-bottom: 18px;
}
.q-home-footer__links a {
  display: block;
  width: fit-content;
  padding-block: 6px;
  font-size: 14px;
}
.q-home-footer__overview svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 8px;
}
.q-home-footer__links a:hover,
.q-home-footer__bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.q-home-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--q-line);
  color: var(--q-muted);
  font-size: 12px;
}
.q-home-footer__copyright {
  font-size: inherit;
}
.q-home-footer__bottom nav {
  display: flex;
  gap: 24px;
}
@media (max-width: 1000px) {
  .q-home-hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 160px 40px 80px;
  }
  .q-home-hero__content > div {
    justify-self: start;
    max-width: 520px;
  }
  .q-platform-path {
    min-height: 660px;
  }
  .q-platform-path__copy {
    padding: 28px;
  }
  .q-work-panel__copy {
    gap: 30px;
    padding: 32px;
  }
  .q-home-footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .q-home .q-container {
    width: calc(100% - 40px);
  }
  .q-home .q-nav {
    padding-inline: 20px;
    gap: 12px;
  }
  .q-home .q-nav__contact {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .q-home .q-nav__mobile {
    flex-shrink: 0;
  }
  .q-home .q-brand small {
    display: none;
  }
  .q-home-hero {
    min-height: 700px;
    height: 100svh;
    max-height: 1000px;
  }
  .q-home-hero__content {
    padding: 150px 20px 80px;
    gap: 28px;
  }
  .q-home-hero h1 {
    font-size: clamp(36px, 8.8vw, 64px);
    letter-spacing: -0.035em;
  }
  .q-home-hero__content p {
    font-size: 17px;
    line-height: 1.55;
    max-width: 33ch;
  }
  .q-home-hero .q-actions {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }
  .q-home-hero .q-button {
    padding: 12px 18px;
    font-size: 13px;
  }
  .q-providers {
    padding-block: 48px 52px;
  }
  .q-providers > p {
    font-size: 13px;
  }
  .q-providers > div {
    gap: 30px;
    margin-top: 24px;
  }
  .q-providers > div > span {
    font-size: 20px;
  }
  .q-stories {
    padding-top: 20px;
  }
  .q-stories__header {
    gap: 20px;
    margin-bottom: 28px;
    align-items: end;
  }
  .q-stories__header h2 {
    max-width: 10ch;
    font-size: 32px;
  }
  .q-stories__controls {
    gap: 6px;
  }
  .q-stories__controls button {
    width: 36px;
    height: 36px;
  }
  .q-stories__rail {
    padding-inline: 20px;
    gap: 16px;
    scroll-padding-inline: 20px;
  }
  .q-home .q-story {
    flex-basis: 84vw;
    min-height: 440px;
    padding: 26px;
  }
  .q-story__copy h3 {
    font-size: 30px;
  }
  .q-statement {
    min-height: 510px;
    padding: 100px 24px;
  }
  .q-statement p {
    font-size: 36px;
  }
  .q-platform-world {
    padding-bottom: 64px;
  }
  .q-platform-world__visual {
    height: 1300px;
  }
  .q-platform-intro {
    min-height: 590px;
    padding: 80px 24px 150px;
  }
  .q-platform-intro h2 {
    font-size: 37px;
  }
  .q-platform-intro__description {
    font-size: 16px;
  }
  .q-platform-signals__point--workspace {
    left: 6%;
    bottom: 70px;
  }
  .q-platform-signals__point--controls {
    right: 6%;
    bottom: 70px;
  }
  .q-platform-signals__point--models {
    bottom: 24px;
  }
  .q-platform-paths {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .q-platform-path {
    min-height: 560px;
    aspect-ratio: auto;
  }
  .q-platform-path:nth-child(2) {
    margin-top: 0;
  }
  .q-platform-path__word {
    top: 20%;
    left: 24px;
    font-size: 100px;
  }
  .q-platform-path__copy {
    padding: 24px;
  }
  .q-platform-path h3 {
    font-size: 32px;
  }
  .q-work {
    padding-block: 72px;
  }
  .q-work__intro {
    display: block;
    margin-bottom: 32px;
  }
  .q-work__intro h2 {
    font-size: 36px;
  }
  .q-work__description {
    margin-top: 24px !important;
    font-size: 15px;
  }
  .q-work__tabs {
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .q-work__tabs button {
    font-size: 14px;
  }
  .q-work-panel__image {
    object-position: 70% center;
  }
  .q-work-panel {
    min-height: 610px;
    aspect-ratio: auto;
  }
  .q-work-panel__copy {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
  }
  .q-work-panel__number {
    inset: 24px 28px auto;
  }
  .q-work-panel h3 {
    font-size: 34px;
  }
  .q-work-panel__detail > p {
    font-size: 15px;
  }
  .q-principles {
    padding-block: 48px 24px;
  }
  .q-principles__intro {
    margin-bottom: 40px;
  }
  .q-principles__intro h2 {
    font-size: 36px;
  }
  .q-principles__grid {
    grid-template-columns: 1fr;
  }
  .q-home-invitation {
    padding-block: 88px;
  }
  .q-home-invitation h2 {
    font-size: 52px;
  }
  .q-home-invitation__description {
    font-size: 15px;
  }
  .q-home-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .q-home-footer__platform {
    grid-column: 1 / -1;
  }
  .q-home-footer__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .q-home-footer__main {
    padding-block: 40px;
  }
  .q-home-footer__bottom {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 360px) {
  .q-home .q-nav__contact {
    font-size: 11px;
    padding: 9px 12px;
  }
  .q-home .q-brand > span {
    font-size: 23px;
  }
  .q-home-hero .q-actions {
    gap: 8px;
  }
  .q-home-hero .q-button {
    padding: 11px 14px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-story > img {
    transition: none;
  }
}

/* Large editorial cards keep the next story visible beyond the page grid. */
@media (min-width: 1100px) {
  .q-providers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .q-providers > div {
    margin-top: 0;
  }
  .q-stories {
    padding-top: 72px;
  }
  .q-home .q-stories__header {
    max-width: 1480px;
    margin-bottom: 64px;
  }
  .q-stories__rail {
    gap: 16px;
    padding-inline: max(60px, calc((100vw - 1480px) / 2));
    scroll-padding-inline: max(60px, calc((100vw - 1480px) / 2));
  }
  .q-home .q-story {
    flex-basis: clamp(360px, 28vw, 540px);
    aspect-ratio: 1;
    min-height: 0;
    padding: 32px;
  }
  .q-story__copy h3 {
    font-size: clamp(30px, 2vw, 36px);
  }
}

/* Shared controls: one gateway's controls, each shown in the real console. */
.q-controls {
  padding-block: 120px 128px;
}
.q-controls__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 64px;
  max-width: none;
  margin-bottom: 56px;
}
.q-controls__intro > div > p {
  font-size: 12px;
  color: var(--q-muted);
  margin-bottom: 22px;
}
.q-controls__intro h2 {
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.q-controls__lede {
  max-width: 44ch;
  color: var(--q-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.q-controls__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}
.q-controls__list {
  display: grid;
  border-top: 1px solid var(--q-line);
}
.q-control {
  display: grid;
  gap: 8px;
  padding: 22px 0 24px 20px;
  border: 0;
  border-bottom: 1px solid var(--q-line);
  background: transparent;
  color: var(--q-muted);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}
.q-control::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 24px;
  width: 1px;
  background: var(--q-line);
  transition: background-color 0.25s ease;
}
.q-control__product {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.q-control__title {
  font-family: var(--q-display);
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.q-control:hover {
  color: var(--q-ink);
}
.q-control[aria-selected='true'] {
  color: var(--q-ink);
}
.q-control[aria-selected='true']::before {
  background: var(--q-accent);
}
.q-control[aria-selected='true'] .q-control__product {
  color: var(--q-accent);
}
.q-control:focus-visible {
  outline: 2px solid var(--q-accent);
  outline-offset: 2px;
}
.q-control-panel {
  display: grid;
  gap: 28px;
}
.q-control-panel:focus-visible {
  outline: 2px solid var(--q-accent);
  outline-offset: 6px;
}
.q-control-panel__shot {
  margin: 0;
  padding: clamp(16px, 2.2vw, 32px);
  background: linear-gradient(160deg, #e6eaf6, #eef0f3 60%);
  border-radius: 8px;
}
.q-control-panel__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: left top;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 44px -26px #0d0f1259;
}
.q-control-panel__shot figcaption {
  margin-top: 14px;
  color: var(--q-muted);
  font-size: 12px;
}
.q-control-panel__copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.q-control-panel__copy > p {
  max-width: 52ch;
  color: var(--q-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.q-control-panel__copy .q-text-link {
  flex: none;
}
.q-control-panel:not([hidden]) {
  animation: q-control-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes q-control-in {
  from {
    opacity: 0.4;
    transform: translateY(8px);
  }
}

.q-home-invitation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

@media (max-width: 960px) {
  .q-controls {
    padding-block: 88px;
  }
  .q-controls__intro {
    display: block;
    margin-bottom: 36px;
  }
  .q-controls .q-controls__lede {
    margin-top: 24px;
  }
  .q-controls__list {
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .q-control-panel__shot {
    overflow: hidden;
  }
  .q-control-panel__shot img {
    width: 165%;
    max-width: none;
    aspect-ratio: auto;
  }
  .q-controls__body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .q-controls__list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--q-line);
    scrollbar-width: none;
  }
  .q-controls__list::-webkit-scrollbar {
    display: none;
  }
  .q-control {
    flex: none;
    padding: 14px 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }
  .q-control::before,
  .q-control__title {
    display: none;
  }
  .q-control__product {
    font-size: 15px;
    letter-spacing: 0;
  }
  .q-control[aria-selected='true'] {
    border-bottom-color: var(--q-ink);
  }
  .q-control[aria-selected='true'] .q-control__product {
    color: var(--q-ink);
  }
  .q-control-panel__copy {
    display: block;
  }
  .q-control-panel__copy .q-text-link {
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .q-home-hero .q-actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .q-home-hero .q-button--outline {
    padding-inline: 0;
    border: 0;
    border-bottom: 1px solid #11141666;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .q-control-panel:not([hidden]) {
    animation: none;
  }
  .q-control,
  .q-control::before {
    transition: none;
  }
}

/* Hero: a still paper-sculpture study on the page's own grey, no film. */
.q-home .q-home-hero {
  color: var(--q-ink);
  background: linear-gradient(#dbdee2 0%, #dfe2e5 62%, #fff 100%);
}
.q-home .q-home-hero::before,
.q-home .q-home-hero::after {
  display: none;
}
.q-home-hero .q-home-hero__art {
  top: 0;
  right: 0;
  left: auto;
  width: min(70vw, 1200px);
  height: 88%;
  inset: 0 0 auto auto;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 4%, #000 36%),
    linear-gradient(to top, transparent, #000 32%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 4%, #000 36%),
    linear-gradient(to top, transparent, #000 32%);
  mask-composite: intersect;
}
.q-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
  animation: q-hero-art-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes q-hero-art-in {
  from {
    opacity: 0;
    transform: scale(1.04) translate(1.5%, -1%);
  }
}
.q-home .q-home-hero__content p {
  color: var(--q-secondary);
}
.q-home .q-home-hero .q-button--outline {
  border-color: #11141633;
  color: var(--q-ink) !important;
}
.q-home .q-home-hero .q-button--outline:hover {
  background: #1114160d;
}
.q-home .q-nav:not([data-scrolled]):not(:has(details[open])) {
  color: var(--q-ink);
}

@media (max-width: 1000px) {
  .q-home-hero .q-home-hero__art {
    width: 118vw;
    height: 62%;
  }
}
@media (max-width: 760px) {
  .q-home-hero .q-home-hero__art {
    width: 150vw;
    height: 54%;
    -webkit-mask-image: linear-gradient(to top, transparent, #000 38%);
    mask-image: linear-gradient(to top, transparent, #000 38%);
  }
  .q-home-hero__image {
    object-position: 30% 20%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-home-hero__image {
    animation: none;
  }
}

/* Shared platform previews in the homepage control tabs. */
.q-control-panel__shot--illustration {
  background: radial-gradient(ellipse at 55% 35%, #ffffff, #eaf0f7 85%);
  border: 1px solid #dbe3ed;
}
.q-control-panel__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.q-control-panel__visual > svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.q-control-panel__shot--illustration figcaption {
  color: #61758e;
}
.q-control-panel__visual .qob-hero-trace-scan {
  animation: q-home-trace-reveal 4.5s ease-in-out both;
}
@keyframes q-home-trace-reveal {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  to {
    transform: translateX(410px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-control-panel__visual .qob-hero-trace-scan {
    animation: none;
    opacity: 0;
  }
}

/* Let the compact product views sit in the page, rather than a second card. */
.q-control-panel__shot--blended {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.q-control-panel__shot--blended .q-control-panel__visual {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 46%, #dce7f5a6, transparent 69%);
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 9%,
    #000 76%,
    transparent 98%
  );
}
.q-control-panel__shot--blended .q-control-panel__visual > svg {
  width: 112%;
  max-width: none;
  height: auto;
  max-height: none;
}
.q-control-panel__shot--blended figcaption {
  margin-top: -12px;
  padding-inline: 18px;
  color: #758396;
}
@media (max-width: 760px) {
  .q-control-panel__shot--blended .q-control-panel__visual {
    aspect-ratio: 560 / 390;
  }
  .q-control-panel__shot--blended figcaption {
    margin-top: 0;
    padding-inline: 0;
  }
}

/* Four cards become a complete, centered row on wide displays. */
@media (min-width: 1600px) {
  .q-home .q-stories__header,
  .q-home .q-stories__rail {
    width: min(calc(100% - 120px), 88vw);
    max-width: 2080px;
    margin-inline: auto;
  }
  .q-home .q-stories__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 0 12px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .q-home .q-stories__controls {
    display: none;
  }
  .q-home .q-story {
    min-width: 0;
    padding: clamp(28px, 1.5vw, 36px);
  }
}
.q-stories__controls[hidden] {
  display: none;
}


/* Anchor the supporting copy in the corner with a readable text measure. */
@media (min-width: 1001px) {
  .q-home-hero__content {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 120px);
    width: 100%;
    max-width: none;
    padding: 180px 3.6% 80px;
  }
  .q-home-hero__content > div {
    justify-self: end;
    width: 100%;
    max-width: 520px;
    padding-bottom: 8px;
  }
  .q-home-hero__content p {
    max-width: 39ch;
    font-size: clamp(19px, 1.25vw, 24px);
    line-height: 1.55;
    text-wrap: pretty;
  }
}
