/* Shared typography and continuous materials remain; these rules change composition. */
html:not(.compact-layout) .about-intro{left:5vw;top:15vh;width:90vw}
html:not(.compact-layout) .about-intro h2{font-size:clamp(64px,7.5vw,140px);line-height:1.02;max-width:90%;margin-bottom:3.5vh}
html:not(.compact-layout) .about-intro p{font-size:clamp(17px,1.65vw,28px);line-height:1.45;max-width:49vw}
html:not(.compact-layout) .credentials{left:68vw;right:auto;top:55vh;bottom:auto;width:27vw}
html:not(.compact-layout) .credential-pair{display:block;margin-bottom:22px}
html:not(.compact-layout) .credential-pair>div+div{margin-top:20px}
html:not(.compact-layout) .credential-pair strong{font-size:clamp(24px,2.2vw,36px)}
html:not(.compact-layout) .credentials>p{font-size:14px;line-height:1.5;max-width:100%}
html:not(.compact-layout) .credentials .chemical-note{font-size:12px;line-height:1.5;margin-top:16px}
html:not(.compact-layout) .team-slide .pilot-visual{position:absolute!important;top:auto!important;left:auto!important;right:-3vw!important;bottom:0!important;width:57vw!important;height:88vh!important;margin:0!important;opacity:1;z-index:1}
.pilot-visual .about-image-reveal,.pilot-visual .about-photo-settle,.pilot-visual .scene-media{position:absolute;inset:0;width:100%;height:100%;transform:none!important;overflow:visible}
.pilot-visual img{height:100%;width:100%;object-fit:contain;object-position:50% 100%;transform:none!important}
html.compact-layout .hero-intro{height:calc(100svh + 230px)!important;min-height:0}
html.compact-layout .hero-intro .hero-centre{inset:104px 16px auto!important;height:calc(100svh - 102px);width:auto!important}
html.compact-layout .hero-intro .hero-paragraph{top:calc(100svh + 30px)!important;max-width:520px;opacity:1!important;transform:none!important}
html.compact-layout .hero-intro .hero-foot{top:calc(100svh + 155px)!important;bottom:auto!important;opacity:1!important;transform:none!important}
@media(min-width:700px) and (max-width:1079px) and (min-height:650px){html.compact-layout .hero-intro{height:calc(100svh + 260px)!important}html.compact-layout .hero-intro .hero-centre{left:24px!important;right:24px!important;top:110px!important;height:calc(100svh - 108px)}html.compact-layout .hero-intro .hero-foot{top:calc(100svh + 170px)!important}}
@media(max-height:649px) and (min-width:600px) and (max-width:1079px){html.compact-layout .hero-intro{height:100svh!important;min-height:360px}html.compact-layout .hero-intro .hero-centre{top:76px!important;left:16px!important;right:45vw!important;height:calc(100svh - 74px)}html.compact-layout .hero-intro .hero-paragraph{top:29svh!important}html.compact-layout .hero-intro .hero-foot{top:auto!important;bottom:20px!important}}
/* A typographic footer with the complete service directory. */
.vd-footer-v21{position:relative;isolation:isolate;overflow:clip;background:transparent!important;color:#fff;padding:0 clamp(22px,4vw,76px);border-top:1px solid #ffffff2e;font-family:VDMona,Arial,sans-serif}
.vd-footer-v21 a,.vd-footer-v21 button{color:inherit;text-decoration:none}
.footer-opening{display:grid;grid-template-columns:1.4fr 1fr;gap:6vw;padding:95px 0 58px;align-items:end}
.footer-opening h2{font-size:clamp(56px,7.3vw,132px);font-weight:450;letter-spacing:-.06em;line-height:.98;margin:0}
.footer-contact{justify-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:15px;max-width:100%;padding-bottom:6px}
.footer-contact>a{font-size:clamp(14px,1.3vw,21px);line-height:1.4;overflow-wrap:anywhere}
.footer-contact .footer-project-link{font-size:clamp(17px,1.65vw,27px);letter-spacing:-.025em;display:flex;gap:24px;justify-content:space-between;width:100%;border-bottom:1px solid #ffffff70;padding:0 0 15px;margin-bottom:8px}
.footer-project-link span{font-size:28px;font-weight:300;line-height:1}
.footer-contact p{font-size:12px;color:#aaa;margin:0}
.footer-catalogue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;border-top:1px solid #ffffff38;padding:37px 0 48px}
.footer-service-group h3{font-size:clamp(17px,1.45vw,23px);font-weight:500;line-height:1.25;letter-spacing:-.025em;margin:0 0 23px}
.footer-service-group ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.footer-service-group a{font-size:clamp(13px,1.05vw,17px);line-height:1.45;display:inline-block;color:#bbb;transition:color .2s,transform .2s}
.footer-service-group a:hover,.footer-service-group a:focus-visible{color:#fff;transform:translateX(4px)}
.footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:25px 0 35px;border-top:1px solid #ffffff38}
.footer-wordmark{font-family:VDBrand,Impact,sans-serif;font-weight:900;font-size:clamp(38px,6.2vw,110px);line-height:.9;letter-spacing:-.05em;white-space:nowrap}
.footer-page-links{display:flex;flex-direction:column;gap:10px;flex-shrink:0;padding-bottom:3px}
.footer-page-links a{font-size:12px;line-height:1.35;color:#bbb}
.vd-footer-v21 .vd-legal{margin:0;min-height:68px;max-width:none;padding:23px 0;border-top:1px solid #ffffff38;display:flex;justify-content:space-between;align-items:flex-start;gap:25px;font-size:10px;color:#999}
.vd-footer-v21 .vd-legal>div{display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.vd-footer-v21 .vd-legal-link{font:inherit;color:#aaa;border:0;background:none;padding:0;cursor:pointer}
@media(max-width:899px){.footer-opening{grid-template-columns:1fr;gap:35px;padding:90px 0 40px}.footer-opening h2{font-size:clamp(50px,11vw,80px)}.footer-contact{justify-self:start;width:100%;gap:12px}.footer-contact>a{font-size:15px}.footer-contact .footer-project-link{font-size:18px;max-width:420px;margin-bottom:8px}.footer-catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 22px;padding:32px 0}.footer-service-group h3{font-size:18px;margin-bottom:18px}.footer-service-group a{font-size:13px;line-height:1.45}.footer-service-group ul{gap:12px}.footer-bottom{display:block;padding:30px 0}.footer-wordmark{display:block;font-size:clamp(33px,7.9vw,68px);line-height:1}.footer-page-links{flex-direction:row;flex-wrap:wrap;gap:22px;margin-top:26px}.vd-footer-v21 .vd-legal{flex-direction:column;gap:18px;padding:22px 0 26px;font-size:9px}.vd-footer-v21 .vd-legal>div{gap:17px}}
@media(max-width:359px){.footer-catalogue{column-gap:18px}.footer-service-group h3{font-size:16px}.footer-service-group a{font-size:12px}.footer-opening h2{font-size:49px}}

.footer-wordmark{word-spacing:.12em}

/* The title and reading beat share a viewport before the industry rail starts. */
.hero-intro .hero-viewport {
  position: absolute;
  inset: 0;
  overflow: clip;
}
html.compact-story .hero-intro {
  height: 205svh !important;
  min-height: 0;
  padding: 0 !important;
}
html.compact-story .hero-viewport {
  position: sticky;
  top: 0;
  height: 100svh;
}
.hero-intro .hero-viewport .hero-centre,
html.compact-layout .hero-intro .hero-viewport .hero-centre {
  inset: 0 !important;
  width: 100% !important;
  height: 100%;
  transform: none !important;
}
.hero-intro .hero-viewport .hero-title {
  height: 100%;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3svh, 28px);
  padding: clamp(78px, 15svh, 124px) clamp(22px, 6vw, 90px) 30px;
  box-sizing: border-box;
  text-align: center;
  pointer-events: none;
  opacity: var(--hero-copy-opacity, 0);
  transform: translate3d(0, var(--hero-copy-y, 36px), 0) scale(var(--hero-copy-scale, .56));
}
.hero-intro .hero-viewport .hero-copy .hero-paragraph {
  position: static;
  display: block;
  width: min(100%, 820px) !important;
  max-width: none;
  margin: 0;
  text-align: center;
  font-size: clamp(20px, 2.35vw, 38px) !important;
  line-height: 1.28;
  letter-spacing: -.037em;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-wrap: balance;
}
.hero-intro .hero-viewport .hero-copy .hero-foot {
  position: static;
  width: auto !important;
  margin: 0;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
.hero-copy:not([inert]) .hero-foot a {
  pointer-events: auto;
}

.hero-streams {
  position: absolute;
  inset: 0;
  color: #fff;
  pointer-events: none;
  --hero-stream-gap: clamp(30px, 4vw, 66px);
  --hero-stream-type: min(clamp(82px, 10.4vw, 172px), 19svh);
}
.hero-stream {
  position: absolute;
  inset-inline: 0;
  overflow: clip;
}
.hero-stream--industries {
  top: clamp(84px, 8svh, 94px);
  --stream-entry: -100%;
}
.hero-stream--services {
  bottom: env(safe-area-inset-bottom, 0px);
  --stream-entry: 100%;
}
.hero-stream-entry {
  overflow: clip;
  transform: translate3d(var(--stream-entry), 0, 0);
  visibility: hidden;
}
.hero-streams.is-running .hero-stream-entry {
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: transform 1.05s cubic-bezier(.22, .65, .27, 1) !important;
}
.hero-stream .vd-stream-set {
  gap: var(--hero-stream-gap);
  padding-inline: calc(var(--hero-stream-gap) / 2);
  min-inline-size: 100vw;
  justify-content: space-between;
}
.hero-stream .vd-stream-set > span {
  color: #fff !important;
  font-size: var(--hero-stream-type);
  line-height: 1.14;
}
.hero-stream .vd-stream-set > .vd-stream-serif {
  letter-spacing: -.035em;
}
.hero-stream .vd-stream-set > .vd-stream-condensed {
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.hero-stream .vd-stream-track {
  /* These strips share the page's always-on motion setting. */
  animation: hero-stream-loop var(--hero-stream-duration, 90s) linear infinite paused !important;
}
.hero-stream--industries .vd-stream-track {
  animation-direction: reverse !important;
}
.hero-streams.is-running .vd-stream-track {
  animation-play-state: running !important;
}
@keyframes hero-stream-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.hero-stream-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.hero-stream-photo mask { mask-type: alpha; }
.hero-stream-photo image { filter: grayscale(1) brightness(.86) contrast(.9); }
.hero-stream.has-photo-mask .hero-stream-entry { opacity: 0; }
.hero-streams.is-running .has-photo-mask .hero-stream-photo { visibility: visible; }
.hero-stream-mask-entry {
  transform-box: view-box;
  transform: translateX(var(--stream-entry));
}
.hero-streams.is-running .hero-stream-mask-entry {
  transform: translateX(0);
  transition: transform 1.05s cubic-bezier(.22, .65, .27, 1) !important;
}
.hero-stream-mask-track {
  animation: hero-stream-mask-loop var(--hero-stream-duration, 90s) linear infinite paused !important;
}
.hero-stream--industries .hero-stream-mask-track { animation-direction: reverse !important; }
.hero-streams.is-running .hero-stream-mask-track { animation-play-state: running !important; }
@keyframes hero-stream-mask-loop {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--hero-stream-cycle))); }
}
@media (max-width: 1079px) {
  .hero-stream--industries { top: 70px; }
}

/* Transparent hit areas follow the same crop and motion as their images. */
.card-photo-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}
.card-photo-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}
.method-arrow-pull.method-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  right: clamp(12px, 2.2vw, 40px);
  bottom: clamp(18px, 2.1vh, 32px);
  width: auto;
  height: auto;
  color: var(--panel-ink, #000);
}
.method-stepper button {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 22px;
  transition: transform .2s, opacity .2s;
}
.method-stepper button:disabled { opacity: .28; cursor: default; }
.method-stepper button[data-method-step="-1"]:not(:disabled):hover { transform: translateX(-3px); }
.method-stepper button[data-method-step="1"]:hover { transform: translateX(3px); }

.scene-step { display: none; }
.scroll-mouse {
  position: fixed;
  z-index: 50;
  right: calc(4.2vw + 54px);
  bottom: calc(3vh + 5px);
  display: grid;
  place-items: center;
  width: 26px;
  height: 36px;
  pointer-events: none;
  color: #fff;
  mix-blend-mode: difference;
}
.scroll-mouse svg { display: block; width: 100%; height: 100%; }
body:has(.hero-streams.is-running) .scroll-mouse { mix-blend-mode: normal; }
body:has(.hero-streams.is-running) .scroll-mouse rect { fill: #000d; }
.scroll-mouse-wheel {
  animation: scroll-mouse-wheel 2.4s cubic-bezier(.35,0,.25,1) infinite !important;
}
@keyframes scroll-mouse-wheel {
  0%, 20% { transform: translateY(0); opacity: 1; }
  62%, 100% { transform: translateY(9px); opacity: 0; }
}
.scroll-mouse-message {
  display: none;
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%);
  font-size: 12px;
  white-space: nowrap;
}
body:has(.scroll-story[data-scene="industries"] #industries[data-active-industry="more"]) .scroll-mouse-message,
body:has(.scroll-story[data-scene="services"] #services[data-active-service="more"]) .scroll-mouse-message,
body:has(.scroll-story[data-scene="about"]) .scroll-mouse-message {
  display: block;
}
body:has(.global-backdrop[data-section="footer"], dialog[open]) .scroll-mouse {
  visibility: hidden;
}
@media (min-width: 1080px) {
  .industry-navigation:not([hidden]) {
    display: grid;
    grid-template-columns: 36px 26px 36px;
  }
  .industry-navigation button { width: 36px; height: 46px; padding: 0; }
  .industry-navigation #industry-next { grid-column: 3; }
  body:has(.scroll-story[data-scene="services"] .industry-navigation:not([hidden])) .scroll-mouse-message {
    right: calc(100% + 62px);
  }
}
.industry-navigation[hidden] { display: none; }
@media (max-width: 1079px) {
  .scroll-mouse {
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
  }
}
