.motion-setting {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: 500 .85rem/1.3 VDMona, Arial, sans-serif;
  color: #f7f7f5;
}
.motion-setting select {
  width: auto;
  max-width: 100%;
  padding: .35rem .45rem;
  border: 1px solid #737373;
  border-radius: .3rem;
  background: #141414;
  color: inherit;
  font: inherit;
}
.motion-setting select:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width:1199px) {
  .vd-menu-bottom .motion-setting { grid-row: 1; grid-column: 1; justify-self: center; }
}
html[data-motion="reduced"] { scroll-behavior: auto; }
html[data-motion="reduced"] .hero-streams,
html[data-motion="reduced"] .scroll-mouse-wheel { animation-play-state: paused !important; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}

@media (min-width:1200px) {
  html .hero-intro .hero-viewport .hero-copy .hero-paragraph {
    width: min(100%, 1020px) !important;
    font-size: clamp(32px, 2.8vw, 47px) !important;
    line-height: 1.24;
  }
  .opening-gate .opening-gate-copy .method-content h2 { font-size: clamp(78px, 6.75vw, 124px) !important; }
  .opening-gate .opening-gate-copy .method-description { font-size: clamp(22px, 1.85vw, 32px); }
  .industry-editorial .industry-detail h3 { font-size: clamp(38px, 3.65vw, 74px); }
  .industry-editorial .industry-description { font-size: clamp(20px, 1.83vw, 34px); }
  .industry-editorial .industry-services > li { font-size: clamp(18px, 1.45vw, 25px); }
  /* Adjacent panels overlap the right edge of a settled industry card. */
  .method-card[data-industry-card] .method-stepper { right: max(76px, 7vw); }
  html:not(.compact-layout) .about-stage .about-intro { width: min(92%, 1160px) !important; }
  html:not(.compact-layout) .about-stage #about-title { font-size: clamp(68px, 6.25vw, 125px) !important; }
  html:not(.compact-layout) .about-stage .about-intro p {
    max-width: 1000px !important; font-size: clamp(23px, 1.85vw, 31px) !important; line-height: 1.42;
  }
  html:not(.compact-layout) .about-stage .credentials { width: min(85%, 900px) !important; }
  html:not(.compact-layout) .about-stage .credentials p { font-size: clamp(17px, 1.32vw, 22px) !important; }
  html:not(.compact-layout) .about-stage .credential-pair strong { font-size: clamp(28px, 2.2vw, 38px) !important; }
}
@media (max-width:1199px) and (min-height:641px) {
  html.compact-story .hero-intro .hero-viewport .hero-copy .hero-paragraph {
    font-size: clamp(18px, min(4.85vw, 4svh), 32px) !important;
  }
  html.compact-story .opening-gate .opening-gate-copy .method-content h2 {
    font-size: clamp(46px, min(11.2vw, 9svh), 84px) !important;
  }
  html.compact-story .opening-gate .opening-gate-copy .method-description { font-size: clamp(19px, 3.3vw, 25px); }
  html.compact-story .industry-detail h3 { font-size: calc(clamp(31px, min(8.3vw,7svh), 67px)*var(--copy-fit,1)); }
  html.compact-story .industry-detail .industry-description { font-size: calc(clamp(16px, 2.9vw, 22px)*var(--copy-fit,1)); }
  html.compact-story .about-scene .about-stage #about-title { font-size: clamp(42px, 7.7vw, 72px) !important; }
  html.compact-story .about-scene .about-stage .about-intro p { font-size: clamp(20px, 3.1vw, 25px) !important; }
  html.compact-story .about-scene .about-stage .credentials p { font-size: clamp(16px, 2vw, 20px) !important; }
}

.hero-intro .hero-viewport .hero-foot a,
.method-card .card-applications,
.opening-gate .opening-actions > a,
.industry-detail .service-explore,
.about-stage .outline-link.about-contact {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 550;
  line-height: 1.3;
}
.hero-intro .hero-viewport .hero-foot a { padding: 6px 3px; border-bottom: 1px solid currentColor; }
.method-card[data-industry-card] .method-content .method-description { font-size: clamp(17px, 1.4vw, 23px); line-height: 1.42; }
.method-card .method-stepper button { width: 52px; height: 52px; font-size: 29px; }
.opening-gate .opening-actions > a { justify-content: center; padding: 9px 18px; }
.about-stage .outline-link.about-contact { width: auto; padding: 12px 26px; gap: 24px; }
.about-stage #about-title { width: 100%; margin-inline: auto; }
.about-stage #about-title .about-headline-line { white-space: normal; text-wrap: balance; text-align: center; word-spacing: normal; }
.about-stage .credential-pair span { font-size: clamp(12px, .96vw, 15px); }
@media(max-width:1199px) {
  html.compact-story .hero-viewport .hero-foot a,
  html.compact-story .method-card .card-applications,
  html.compact-story .opening-gate .opening-actions > a,
  html.compact-story .compact-services-reel .service-explore { min-height: 44px; font-size: clamp(15px, 2.6vw, 19px); }
  html.compact-story .compact-services-reel .industry-services > li {
    font-size: calc(clamp(14px, 2.3vw, 18px) * var(--copy-fit, 1)); line-height: 1.34;
  }
  html.compact-story .method-card[data-industry-card] .method-content .method-description {
    font-size: calc(clamp(16px, 2.8vw, 21px) * var(--copy-fit, 1));
  }
  html.compact-story .about-stage .credential-pair span { font-size: 12px; }
  html.compact-story:has(.scroll-story[data-scene="industries"]) .scene-step { font-size: 27px; }
}
@media(max-width:600px) {
  html.compact-story .opening-gate .method-content .method-description,
  html.compact-story .compact-services-reel .industry-detail .industry-description {
    max-width: calc(100vw - 78px); margin-inline: auto;
  }
  html.compact-story .about-scene .about-stage {
    /* Keep the centered copy clear of the right-hand industry index handle. */
    padding-inline: max(38px, env(safe-area-inset-right)) !important;
  }
  html.compact-story .about-stage .about-contact { padding-inline: 17px; gap: 13px; white-space: nowrap; }
}
@media(max-height:470px) and (min-width:600px) and (max-width:1199px) {
  html.compact-story .about-scene .about-stage { display: flex !important; flex-direction: column; }
  html.compact-story .about-scene .about-stage .about-intro p { font-size: 17px !important; }
  html.compact-story .about-scene .about-stage .credentials p { font-size: 15px !important; }
}
@media(max-height:640px) and (max-width:599px) {
  html.compact-story .about-scene .about-stage .about-intro p { font-size: 15.5px !important; }
  html.compact-story .about-scene .about-stage .credentials p { font-size: 14px !important; }
}
