/* Voltis mirror - site-wide fixes on top of voltis-main.css (base theme bundle) */
@import url("./vl-liquid-btn.css");
@import url("./vl-year-label-fill.css");

/* Default dark chrome; light only when white-scroll / --light canvas is active. */
html {
  color-scheme: dark;
}

/*
 * Clip horizontal overflow at the viewport without `overflow-x: hidden` (that
 * shrinks the layout viewport once a wide descendant exists, leaving a dead
 * column). Pair both axes so `clip` does not compute back to `visible`.
 * No `width: 100vw` here - that includes the scrollbar and re-opens the gap.
 */
html:has(body.vl-st-page),
html.lenis:has(body.vl-st-page) {
  overflow-x: clip !important;
  overflow-y: auto;
}

body.vl-st-page {
  overflow-x: clip;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

/* Never park a translate on the viewport; Lenis / cancelled enter must not shrink the hero. */
html:has(body.vl-st-page),
html:has(body.vl-st-page) body {
  animation: none;
  transform: none;
}
html.--light body:not(.vl-white-scroll-disabled) {
  color-scheme: light;
}
body.switch {
  color-scheme: dark;
}

/* Header nav from site-nav-mount.js: avoid partial list before Support/Voltis Core render */
html.js header .header__container > .navigation .navigation__list:not([data-vl-nav-mounted]),
html.js .header__navigation-mobile .navigation .navigation__list:not([data-vl-nav-mounted]) {
  visibility: hidden;
}

/*
 * Sticky site header: reinforce Graphene (some layout/CSS interactions break
 * position:sticky so the bar stopped pinning while scrolling).
 * `js` is on documentElement in head scripts; keep body.js for legacy paths.
 *
 * Production: this file must be deployed with pages that include
 * `<script>document.documentElement.className += " js";</script>` (or equivalent)
 * in <head>, or these rules never activate.
 */
html.js .header,
body.js .header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 420 !important;
}

/*
 * Lenis smooth-scroll (`html.lenis`): root overflow / scrollport changes can stop the nav bar’s
 * `position:sticky` from pinning to the viewport. Use fixed positioning + a flow offset instead.
 * `--vl-site-header-offset` is set from the rendered header height in white-scroll-middle.js.
 */
html.lenis .header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  z-index: 420 !important;
}

html.lenis body.admin-bar .header {
  top: 32px !important;
}

html.lenis body {
  padding-top: var(--vl-site-header-offset, 5.75rem);
}

html.lenis body.admin-bar {
  padding-top: calc(var(--vl-site-header-offset, 5.75rem) + 32px);
}

/*
 * Theme bundle sets pointer-events:none on the outer .header (overlay pattern).
 * Without re-enabling hits on the real chrome, links/menus can feel "dead" and
 * some browsers handle sticky/fixed stacking oddly next to full-width layers.
 */
html.js .header {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.js .header .header__container,
html.js .header .header__button {
  pointer-events: auto !important;
}

html.js .header .header__button {
  position: relative;
  z-index: 12;
}

/* Brand link: ensure taps register (some themes / children steal hits). */
html.js .header .header__logo {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

html.js .header .header__logo img {
  pointer-events: none;
  display: block;
}

/* Voltis Core nav: globe + label; keep same padding/lh as other header links. */
html.js .header .navigation .navigation__link.vl-nav-core-link,
.header__navigation-mobile .navigation__link.vl-nav-core-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  vertical-align: baseline;
}

.header .vl-nav-core-label,
.header__navigation-mobile .vl-nav-core-label {
  display: block;
  line-height: inherit;
}

.header .vl-header-core-spin,
.header__navigation-mobile .vl-header-core-spin {
  position: relative;
  display: block;
  flex: 0 0 auto;
  height: 1em;
  width: auto;
  line-height: 0;
  transform-origin: 50% 50%;
  animation: vl-header-core-spin 10s linear infinite;
}

.vl-header-core-spin__mark {
  display: block;
  height: 1em;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.vl-header-core-spin__mark--light {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

html.--light body:not(.vl-white-scroll-disabled) .vl-header-core-spin__mark--light,
body.vl-theme-middle .vl-header-core-spin__mark--light {
  opacity: 1;
}

html.--light body:not(.vl-white-scroll-disabled) .vl-header-core-spin__mark--dark,
body.vl-theme-middle .vl-header-core-spin__mark--dark {
  opacity: 0;
}

@keyframes vl-header-core-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-header-core-spin {
    animation: none;
  }
}

/* Closed mobile drawer must never block taps across the page. */
html.js .header .header__navigation-mobile {
  pointer-events: none !important;
}

html.js .header.header--active .header__navigation-mobile {
  pointer-events: auto !important;
}

/*
 * Graphene `vd` hides the bar with GSAP yPercent on `.header__container`. Inline transforms
 * beat a non-!important stylesheet, so the ScrollTrigger-kill script can still "lose" after
 * refresh/Lenis. `!important` blocks that translation; mobile menu uses `.header__button` spans,
 * not this transform.
 */
html.js .header .header__container {
  transform: none !important;
}

/* Floating back-to-top (vl-back-to-top.js) */
.vl-back-to-top {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.25rem);
  bottom: clamp(0.75rem, 3vw, 1.25rem);
  z-index: 500;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.vl-back-to-top[hidden] {
  display: none !important;
}

.vl-back-to-top:hover,
.vl-back-to-top:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

/* Global edge start: content and horizontal spacing share same origin */
:root {
  --color-accent: #ff6a2b;
  --st-orange: #ff6a2b;
  --edge-start: clamp(1rem, 4vw, 1.5rem);
  --space-grid-padding: var(--edge-start) !important;
  /* Matches rhythm above tagline (“About Voltis Labs” sits after this divider block). */
  --vl-home-about-rule-pad: clamp(1.5rem, 3.8vw, 2.4rem);
  /* PONY: surface gradient for *tiles* where the thumb is a small icon; ship banner PNG is shown as-is. */
  --vl-pony-surface-gradient:
    radial-gradient(ellipse 92% 78% at 48% 28%, rgba(255, 128, 148, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 70% 50% at 92% 12%, rgba(255, 60, 90, 0.2) 0%, transparent 45%),
    linear-gradient(
      162deg,
      #0d0103 0%,
      #1f0309 14%,
      #3c0712 30%,
      #5c0d1f 48%,
      #851420 64%,
      #ae1828 80%,
      #d61f32 92%,
      #ff2848 100%
    );
  --vl-pony-logo-filter:
    sepia(1) saturate(2.85) hue-rotate(4deg) brightness(1.1) contrast(1.06)
    drop-shadow(0 1px 2px rgba(28, 0, 10, 0.95)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5))
    drop-shadow(0 12px 20px rgba(0, 0, 0, 0.38)) drop-shadow(0 20px 36px rgba(0, 0, 0, 0.28));
  --vl-pony-logo-filter-deep:
    sepia(1) saturate(2.9) hue-rotate(4deg) brightness(1.12) contrast(1.08)
    drop-shadow(0 1px 1px rgba(15, 0, 6, 1)) drop-shadow(0 3px 6px rgba(40, 0, 12, 0.65))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 18px 32px rgba(0, 0, 0, 0.42))
    drop-shadow(0 32px 56px rgba(0, 0, 0, 0.32));
}

/* Tile uses final `ponylogo.png` (full icon art from design); sepia stack was for a legacy flat glyph only. */
img[src*="ponylogo.png"] {
  filter: none;
}

/* Portfolio / archive: red plate behind PONY thumb (fills transparency / letterbox; opaque PNG still looks correct). */
.work:has(.work__link[href="/product-pony"]) .work__thumbnail .media {
  background: var(--vl-pony-surface-gradient);
}

.archive-row:has(.archive-row__link[href="/product-pony"]) .archive-row__image {
  background: var(--vl-pony-surface-gradient);
}

/* Body text baseline: left aligned site-wide */
body p,
body li,
body .p1,
body .p2,
body .section-wysiwyg__container > .text h2,
body .section-title .p2 {
  text-align: left !important;
}

/* Centered text column override: true page-center placement, left-aligned copy */
:root {
  --body-text-max: 58rem;
}

/* h2 outside `.text` (heroes, cards, etc.): semibold */
body h2 {
  font-weight: 600 !important;
}

/* Exclude home hero (`.vl-home-hero__copy.text h2`) - it keeps `.vl-home-hero__headline` sizing.
   Exclude connection banner (`h2.vl-home-connection-banner__title`) - it keeps hero-scale display type.
   Exclude trust strip (`.vl-home-trust__title`) - same hero-scale treatment.
   Exclude home what-we-do (`.vl-home-do__title`) - section display title. */
body .text h2:not(.vl-home-hero__headline):not(.vl-home-connection-banner__title):not(.vl-home-trust__title):not(.vl-home-do__title) {
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  margin-top: clamp(1.75rem, 3vw, 2.5rem) !important;
  margin-bottom: 0.75em !important;
  /* Graphene `.text h2` adds a top rule on every heading - strip in body copy. */
  border-top: none !important;
  padding-top: 0 !important;
}

body .text h2:first-child {
  margin-top: 0 !important;
}

body .text h3 {
  font-weight: 600 !important;
}

/*
 * Prose / article body: no Graphene heading rules or pseudo-element dividers.
 * Optional top rule only on explicit `.section-title` band headings (rare).
 */
body .section-wysiwyg__container h2::after,
body .section-wysiwyg__container h3::after,
body .vl-inner h2::after,
body .vl-inner h3::after,
body .vl-blog-article__prose h2::after,
body .vl-blog-article__prose h3::after,
body .vl-product-voltis-prose-inner h2::after,
body .vl-product-voltis-prose-inner h3::after,
main .vl-product-detail-prose-stack h2::after,
main .vl-product-detail-prose-stack h3::after {
  content: none !important;
  display: none !important;
}

body .section-title .text h2 {
  border-top: 1px solid var(--color-separator, rgba(255, 255, 255, 0.12)) !important;
  padding-top: 1.25rem !important;
}

body .section-table__item {
  border-top: none !important;
}

body .section-table__item:first-child {
  padding-top: 0 !important;
}

body .vl-inner__cta {
  border-top: none !important;
  padding-top: 0 !important;
}

body .section-wysiwyg__container > .text,
body .section-title .text,
body .section-columns .section-columns__text,
body .section-table .section-table__item,
body .vl-products-pullquote,
body .vl-inner,
body .vl-blog-article__header,
body .vl-blog-article__prose {
  width: 100% !important;
  max-width: var(--body-text-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  justify-self: center !important;
}

body .section-table .section-table__title,
body .section-table .section-table__text {
  width: 100% !important;
  max-width: var(--body-text-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .section-wysiwyg__container > .text p,
body .section-wysiwyg__container > .text .p1,
body .section-wysiwyg__container > .text .p2,
body .section-wysiwyg__container > .text h2,
body .section-title .text .p2,
body .section-table .section-table__title,
body .section-table .section-table__text {
  text-align: left !important;
}

/* Grapheine sets `text-indent` on `.section-title .text` - that indents only line 1 and makes wrapped paragraphs look staggered */
body .section-title .text {
  text-indent: 0 !important;
}

/* Explicit products-style format for Businesses + About pages */
body.page-id-enterprise .vl-products-unified-copy,
body.page-id-17031 .vl-products-unified-copy {
  width: 100% !important;
  max-width: var(--body-text-max, 58rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  justify-self: center !important;
  text-align: left !important;
}

body.page-id-enterprise .vl-products-unified-copy h1,
body.page-id-enterprise .vl-products-unified-copy h2,
body.page-id-enterprise .vl-products-unified-copy h3,
body.page-id-enterprise .vl-products-unified-copy p,
body.page-id-enterprise .vl-products-unified-copy .p1,
body.page-id-enterprise .vl-products-unified-copy .p2,
body.page-id-17031 .vl-products-unified-copy h1,
body.page-id-17031 .vl-products-unified-copy h2,
body.page-id-17031 .vl-products-unified-copy h3,
body.page-id-17031 .vl-products-unified-copy p,
body.page-id-17031 .vl-products-unified-copy .p1,
body.page-id-17031 .vl-products-unified-copy .p2 {
  text-align: left !important;
}

/*
 * Businesses: Graphene draws `.section-wysiwyg__container h2::after` with `width: 100vw` and
 * `right: 100%` inside `overflow: hidden` containers. When the first heading in a block is an
 * h2 (e.g. “Our licensing approach”), the line no longer lines up with the centered prose column.
 * Span the divider only across the `.text` column like a normal inset rule.
 */
body.page-id-enterprise .section-wysiwyg__container > .text.vl-products-unified-copy h2::after {
  right: auto !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* About page (about-us.html): same unified centered column + left-aligned copy */
body.page-id-17031 .section-wysiwyg__container > .text,
body.page-id-17031 .section-table .section-table__title,
body.page-id-17031 .section-table .section-table__text,
body.page-id-17031 .section-columns .section-columns__text,
body.page-id-17031 .section-title .text,
body.page-id-17031 .section-table-index .section-table-index__text {
  width: 100% !important;
  max-width: var(--body-text-max, 58rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  justify-self: center !important;
  text-align: left !important;
}

body.page-id-17031 .section-wysiwyg__container > .text h1,
body.page-id-17031 .section-wysiwyg__container > .text h2,
body.page-id-17031 .section-wysiwyg__container > .text h3,
body.page-id-17031 .section-wysiwyg__container > .text p,
body.page-id-17031 .section-wysiwyg__container > .text .p1,
body.page-id-17031 .section-wysiwyg__container > .text .p2,
body.page-id-17031 .section-table .section-table__title,
body.page-id-17031 .section-table .section-table__text,
body.page-id-17031 .section-columns .section-columns__text,
body.page-id-17031 .section-table-index .section-table-index__text {
  text-align: left !important;
}

/* Reveal .media images when theme JS does not flip --active (static file:// loads) */
body.switch .media::after {
  opacity: 0 !important;
  pointer-events: none !important;
}
body.switch .media img,
body.switch .media video {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* ----- Home: orange Agency strip (type copied from Agency .vl-st-hero__title) ----- */
body.home .vl-home-trust {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow-x: clip;
  margin-top: clamp(0.5rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  background: var(--st-orange, #ff6a2b);
  color: #fff;
  --font-primary: "voltis", sans-serif;
  --font-secondary: "jubilat-variable", "Iowan Old Style", Georgia, serif;
}

body.home.vl-theme-middle .vl-home-trust {
  background: var(--st-orange, #ff6a2b);
  color: #fff;
}

body.home .vl-home-trust__agency {
  display: grid !important;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.1rem);
  row-gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

body.home .vl-home-trust__agency:hover,
body.home .vl-home-trust__agency:focus-visible {
  color: #fffaf8;
}

body.home .vl-home-trust__agency:focus-visible {
  outline: 2px solid #fffaf8;
  outline-offset: -6px;
}

body.home .vl-home-trust__copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: none;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit;
}

body.home .vl-home-trust__copy.text h2.vl-home-trust__title {
  border-top: none !important;
  padding-top: 0 !important;
  margin: 0 !important;
  display: block;
  font-family: var(--font-primary, "voltis", sans-serif);
  font-weight: 600 !important;
  font-size: clamp(1.9rem, 4.2vw, 3.05rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-image: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.home .vl-home-trust__line {
  display: inline;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

body.home .vl-home-trust__line--studio {
  font-family: var(--font-secondary, "jubilat-variable", "Iowan Old Style", Georgia, serif);
  font-style: italic;
  font-weight: 450;
  letter-spacing: -0.04em;
}

body.home .vl-home-trust .vl-st-hero__char {
  display: inline-block;
  will-change: transform, opacity;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

html.js body.home .vl-home-trust.is-pending .vl-st-hero__char {
  opacity: 0;
  transform: translateY(0.42em);
}

html.js body.home .vl-home-trust.is-in .vl-st-hero__char {
  animation: vl-home-trust-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes vl-home-trust-rise {
  from {
    opacity: 0;
    transform: translateY(0.42em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js body.home .vl-home-trust.is-pending .vl-st-hero__char,
  html.js body.home .vl-home-trust.is-in .vl-st-hero__char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

body.home .vl-home-trust__subtitle {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 2.35vw, 1.1875rem);
  line-height: 1.62;
  color: color-mix(in srgb, currentColor 88%, transparent);
  visibility: visible !important;
  opacity: 1 !important;
}

/* Floating "Click to open" chip - created in home-trust-open-cursor.js, appended to body. */
.vl-home-trust__open {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: inline-block;
  margin: 0;
  padding: 0.4em 0.78em 0.38em;
  border-radius: 999px;
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--font-primary, "voltis", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.vl-home-trust__open.is-on {
  opacity: 1;
  visibility: visible;
}

body.home.vl-theme-middle .vl-home-trust__open,
html.--light .vl-home-trust__open {
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .vl-home-trust__open {
    transition: none;
  }
}

/* Mobile: static "Tap to Open" chip, centered on the orange Agency strip. */
body.home .vl-home-trust__tap {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  margin: 0;
  padding: 0.42em 0.82em 0.4em;
  border-radius: 999px;
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--font-primary, "voltis", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  body.home .vl-home-trust__tap {
    display: inline-block;
    animation: vl-home-trust-tap-pulse 3s ease-in-out infinite;
  }

  .vl-home-trust__open {
    display: none !important;
  }
}

@media (min-width: 901px) {
  body.home .vl-home-trust__tap {
    display: none !important;
  }
}

@keyframes vl-home-trust-tap-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .vl-home-trust__tap {
    animation: none;
  }
}

html.vl-page-slide-wait,
html.vl-page-slide-busy,
html.vl-page-slide-wait body,
html.vl-page-slide-busy body,
html.lenis.vl-page-slide-wait,
html.lenis.vl-page-slide-busy,
html.lenis.vl-page-slide-wait body,
html.lenis.vl-page-slide-busy body {
  overflow: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior: none;
}

html.vl-page-slide-busy,
html.vl-page-slide-busy body {
  height: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
}

html.vl-page-slide-wait,
html.vl-page-slide-busy {
  cursor: wait;
}

.vl-page-slide-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 2147483000;
  overflow: hidden;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.vl-page-slide__panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.vl-page-slide-track .vl-page-slide__panel {
  position: absolute;
  width: 50%;
  height: 50%;
}

.vl-page-slide__from {
  z-index: 1;
}

.vl-page-slide__from-inner {
  min-height: 100%;
}

.vl-page-slide__to {
  z-index: 2;
  display: block;
  background: transparent;
  pointer-events: none;
}

html.vl-page-slide-dir-up .vl-page-slide__to {
  top: 100%;
  left: 0;
}

html.vl-page-slide-dir-home .vl-page-slide__to {
  top: 0;
  left: -100%;
}

html.vl-page-slide-dir-agency .vl-page-slide__to {
  top: 0;
  left: 100%;
}

html.vl-page-slide-dir-up .vl-page-slide-track {
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
}

html.vl-page-slide-dir-up .vl-page-slide-track .vl-page-slide__from,
html.vl-page-slide-dir-up .vl-page-slide-track .vl-page-slide__to {
  left: 0;
  width: 100%;
  height: 50%;
}

html.vl-page-slide-dir-up .vl-page-slide-track .vl-page-slide__from {
  top: 0;
}

html.vl-page-slide-dir-up .vl-page-slide-track .vl-page-slide__to {
  top: 50%;
}

html.vl-page-slide-dir-home .vl-page-slide-track {
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
}

html.vl-page-slide-dir-home .vl-page-slide-track .vl-page-slide__from,
html.vl-page-slide-dir-home .vl-page-slide-track .vl-page-slide__to {
  top: 0;
  height: 100%;
  width: 50%;
}

html.vl-page-slide-dir-home .vl-page-slide-track .vl-page-slide__to {
  left: 0;
}

html.vl-page-slide-dir-home .vl-page-slide-track .vl-page-slide__from {
  left: 50%;
}

html.vl-page-slide-dir-agency .vl-page-slide-track {
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
}

html.vl-page-slide-dir-agency .vl-page-slide-track .vl-page-slide__from,
html.vl-page-slide-dir-agency .vl-page-slide-track .vl-page-slide__to {
  top: 0;
  height: 100%;
  width: 50%;
}

html.vl-page-slide-dir-agency .vl-page-slide-track .vl-page-slide__from {
  left: 0;
}

html.vl-page-slide-dir-agency .vl-page-slide-track .vl-page-slide__to {
  left: 50%;
}

html.vl-page-slide-go.vl-page-slide-dir-up .vl-page-slide-track {
  transform: translate3d(0, -50%, 0);
}

html.vl-page-slide-go.vl-page-slide-dir-home .vl-page-slide-track {
  transform: translate3d(50%, 0, 0);
}

html.vl-page-slide-go.vl-page-slide-dir-agency .vl-page-slide-track {
  transform: translate3d(-50%, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .vl-page-slide-track {
    transition: none;
  }
}

html.vl-slide-enter,
html.vl-slide-enter-up,
html.vl-slide-enter-home {
  overflow-x: clip;
  overflow-y: clip;
}

/*
 * Never transform html/body: that makes position:fixed header size to a
 * shifted containing block (orange hero ~70% wide, black void, clipped type).
 * Enter motion is only on #vl-slide-root (wraps main). Keyframes must end at
 * transform: none; JS removes classes on animationend/animationcancel.
 */
html.vl-slide-enter,
html.vl-slide-enter-up,
html.vl-slide-enter-home,
html.vl-slide-enter body,
html.vl-slide-enter-up body,
html.vl-slide-enter-home body {
  animation: none;
  transform: none;
}

#vl-slide-root {
  display: block;
  position: relative;
  z-index: 0;
}

html.vl-slide-enter #vl-slide-root,
html.vl-slide-enter-up #vl-slide-root,
html.vl-slide-enter-home #vl-slide-root {
  animation: none;
  transform: none;
  pointer-events: none;
}

html.vl-slide-enter.vl-slide-enter-in #vl-slide-root {
  animation: vl-slide-in-from-right 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.vl-slide-enter-up.vl-slide-enter-up-in #vl-slide-root {
  animation: vl-slide-in-from-bottom 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.vl-slide-enter-home.vl-slide-enter-home-in #vl-slide-root {
  animation: vl-slide-in-from-left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html:not(.vl-slide-enter):not(.vl-slide-enter-up):not(.vl-slide-enter-home) #vl-slide-root {
  animation: none;
  transform: none;
}

@keyframes vl-slide-in-from-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}

@keyframes vl-slide-in-from-bottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@keyframes vl-slide-in-from-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.vl-slide-enter #vl-slide-root,
  html.vl-slide-enter.vl-slide-enter-in #vl-slide-root,
  html.vl-slide-enter-up #vl-slide-root,
  html.vl-slide-enter-up.vl-slide-enter-up-in #vl-slide-root,
  html.vl-slide-enter-home #vl-slide-root,
  html.vl-slide-enter-home.vl-slide-enter-home-in #vl-slide-root {
    animation: none;
    transform: none;
  }
}

body.home .vl-home-trust__clients {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.65rem, 1.8vw, 1rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  justify-self: stretch;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

body.home .vl-home-trust__clients::-webkit-scrollbar {
  display: none;
}

body.home .vl-home-trust__client {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.4rem;
  width: clamp(14rem, 28vw, 22rem);
  min-width: clamp(14rem, 28vw, 22rem);
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
}

body.home .vl-home-trust__copy.text h2.vl-home-trust__title a {
  color: inherit;
  text-decoration: none;
}

body.home .vl-home-trust__client img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 0.5px solid rgba(255, 250, 248, 0.22);
  background: rgba(11, 11, 12, 0.18);
  box-sizing: border-box;
}

body.home .vl-home-trust__client-name {
  font-size: clamp(0.72rem, 1.3vw, 0.82rem);
  line-height: 1.3;
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

body.home .vl-home-trust__agency:hover .vl-home-trust__client-name,
body.home .vl-home-trust__client:hover .vl-home-trust__client-name {
  opacity: 1;
  color: #fffaf8;
}

body.home .vl-home-trust__stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  visibility: visible !important;
  opacity: 1 !important;
}

body.home .vl-home-trust__stat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 0;
  min-width: 0;
}

body.home .vl-home-trust__stat-value {
  font-size: clamp(1.9rem, 4.2vw, 3.05rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fffaf8;
  -webkit-text-fill-color: #fffaf8;
}

body.home .vl-home-trust__stat-label {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.4;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

@media (max-width: 767px) {
  body.home .vl-home-trust__copy.text h2.vl-home-trust__title {
    font-size: clamp(1.45rem, 6.2vw, 2.2rem) !important;
  }

  body.home .vl-home-trust__stats {
    flex-wrap: wrap;
  }

  body.home .vl-home-trust__stat {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

/* ----- Home: What we do (Web / Software / Games pillars) ----- */
body.home .vl-home-do {
  padding-block: clamp(2.75rem, 7vw, 5rem);
  row-gap: clamp(2.25rem, 5.5vw, 4rem);
}

body.home .vl-home-do__intro {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 40rem;
}

body.home .vl-home-do__eyebrow {
  margin: 0;
  font-size: clamp(0.78rem, 1.4vw, 0.88rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

body.home .vl-home-do__intro.text h2.vl-home-do__title {
  border-top: none !important;
  padding-top: 0 !important;
  margin: 0 !important;
  font-size: clamp(1.85rem, 4.2vw, 3rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em;
  line-height: 1.12 !important;
}

body.home .vl-home-do__lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 2.35vw, 1.1875rem);
  line-height: 1.62;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

body.home .vl-home-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  margin: 0;
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 0;
  list-style: none;
}

body.home .vl-home-pillars__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

body.home .vl-home-pillars__label {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body.home .vl-home-pillars__label--web {
  color: var(--color-accent, #ff6a2b);
}

body.home .vl-home-pillars__label--software {
  color: color-mix(in srgb, var(--color-accent, #ff6a2b) 72%, #ff8a3d);
}

body.home .vl-home-pillars__label--games {
  color: color-mix(in srgb, var(--color-accent, #ff6a2b) 45%, #f0b429);
}

body.home .vl-home-pillars__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

body.home .vl-home-pillars__body {
  margin: 0;
  max-width: 22rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

body.home .vl-home-pillars__link {
  margin-top: 0.35rem;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, transparent);
  transition: color 180ms ease, border-color 180ms ease;
}

body.home .vl-home-pillars__link:hover,
body.home .vl-home-pillars__link:focus-visible {
  color: var(--color-accent, #ff6a2b);
  border-bottom-color: var(--color-accent, #ff6a2b);
  outline: none;
}

body.home .vl-home-do__audiences {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
  padding: clamp(1.5rem, 3.4vw, 2.25rem) 0 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
}

body.home .vl-home-do__audiences-head {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 40rem;
}

body.home .vl-home-do__audiences-label {
  margin: 0;
  font-size: clamp(0.78rem, 1.3vw, 0.86rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

body.home .vl-home-do__audiences-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 84%, transparent);
}

body.home .vl-home-do__audiences-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 3vw, 2rem);
}

body.home .vl-home-do__audience {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0 0 0 0.95rem;
  border-left: 2px solid var(--color-accent, #ff6a2b);
}

body.home .vl-home-do__audience-title {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-accent, #ff6a2b);
  -webkit-text-fill-color: var(--color-accent, #ff6a2b);
  background-image: none;
}

body.home .vl-home-do__audience-copy {
  margin: 0;
  font-size: clamp(0.94rem, 1.55vw, 1.04rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 86%, transparent);
}

body.home .vl-home-do__audience-meta {
  margin: 0;
  font-size: clamp(0.82rem, 1.35vw, 0.9rem);
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

body.home .vl-home-do__method {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  max-width: none;
}

body.home .vl-home-do__method.text,
body.home .vl-home-do__method.text ol,
body.home .vl-home-do__method.text p.vl-home-do__method-copy {
  max-width: none !important;
  width: 100%;
}

body.home .vl-home-do__method-head {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 40rem;
}

body.home .vl-home-do__method.text h3.vl-home-do__method-title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.15 !important;
  -webkit-text-fill-color: currentColor;
  background-image: none;
}

body.home .vl-home-do__method-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.55;
  font-weight: 400;
  color: color-mix(in srgb, var(--color-text) 84%, transparent);
}

body.home .vl-home-do__method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.5rem);
  width: 100%;
  max-width: none;
  counter-reset: vl-do-step;
}

body.home .vl-home-do__method-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.4;
  color: var(--color-text);
  counter-increment: vl-do-step;
}

body.home .vl-home-do__method-list li::before {
  content: counter(vl-do-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent, #ff6a2b);
  -webkit-text-fill-color: var(--color-accent, #ff6a2b);
}

body.home .vl-home-do__method-name {
  font-weight: 600;
  color: var(--color-text);
  -webkit-text-fill-color: currentColor;
  background-image: none;
}

body.home .vl-home-do__method-copy {
  margin: 0;
  font-size: clamp(0.86rem, 1.4vw, 0.95rem);
  line-height: 1.5;
  font-weight: 400;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

@media (max-width: 900px) {
  body.home .vl-home-pillars {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  body.home .vl-home-do__method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.home .vl-home-do__audiences-row {
    grid-template-columns: 1fr;
  }

  body.home .vl-home-do__method-list {
    grid-template-columns: 1fr;
  }
}

/* ----- Home: Voltis hero banner ----- */
body.home .vl-home-hero {
  margin-top: clamp(1rem, 3vw, 2rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.1rem);
  row-gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
}

/* Home: keep new Grapheine hero on top, then old hero section below (no overlap) */
body.home .header-homepage {
  padding-top: clamp(5.25rem, 11vw, 8rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

body.home .header-homepage__title {
  margin-bottom: clamp(0.25rem, 1.6vw, 1.5rem);
  /* Match inner-page hero (e.g. businesses .hero__description): theme uses 6.25rem / 100% lh */
  font-size: clamp(2rem, 11vw, 6.25rem) !important;
  line-height: 1 !important;
}

/* Theme pins span min-height to old 5rem title size; tie to actual font-size */
body.home .header-homepage__title > span {
  min-height: calc(1em * 1.15) !important;
}

/* Home static mode: disable Grapheine hero/sector animations completely */
body.home .page-template-homepage-static .header-homepage__title {
  opacity: 1 !important;
  font-weight: 400 !important;
}

body.home .page-template-homepage-static .header-homepage__hero {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

body.home .page-template-homepage-static .header-homepage__hero .media {
  overflow: hidden;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

body.home .page-template-homepage-static .header-homepage__hero .media.vl-home-hero-media {
  position: relative;
}

/* Homepage showreel controls - top-right of video, no pill chrome */
body.home .vl-home-hero-video-controls {
  position: absolute;
  right: clamp(0.45rem, 1.8vw, 0.85rem);
  top: clamp(0.45rem, 1.8vw, 0.85rem);
  bottom: auto;
  z-index: 3;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.65rem;
  max-width: calc(100% - 0.75rem);
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
}

body.home .vl-home-hero-video-controls__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--color-accent, #ff6a2b);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.home .vl-home-hero-video-controls__btn:hover {
  color: color-mix(in srgb, var(--color-accent, #ff6a2b) 78%, #fff);
}

body.home .vl-home-hero-video-controls__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #fff);
  outline-offset: 2px;
}

body.home .vl-home-hero-video-controls__btn--mute {
  width: 2.25rem;
}

body.home .vl-home-hero-video-controls__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home .vl-home-hero-video-controls__btn--mute[aria-pressed="true"] .vl-home-hero-video-controls__icon--on,
body.home .vl-home-hero-video-controls__btn--mute:not([aria-pressed="true"]) .vl-home-hero-video-controls__icon--off {
  display: none;
}

body.home .vl-home-hero-video-controls__btn--mute[aria-pressed="true"] .vl-home-hero-video-controls__icon--off,
body.home .vl-home-hero-video-controls__btn--mute:not([aria-pressed="true"]) .vl-home-hero-video-controls__icon--on {
  display: flex;
}

/*
 * Showreel control icons use brand orange on the dark video frame. In light mode / white-scroll
 * they can sit against a light canvas - keep orange (readable on both). No edge shadow.
 */
html.--light body.home .vl-home-hero-video-controls__btn,
body.home.vl-theme-middle .vl-home-hero-video-controls__btn {
  color: var(--color-accent, #ff6a2b);
}

html.--light body.home .vl-home-hero-video-controls__btn:hover,
body.home.vl-theme-middle .vl-home-hero-video-controls__btn:hover {
  color: color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #000);
}

html.--light body.home .vl-home-hero-media .vl-home-hero-catraco-transport,
body.home.vl-theme-middle .vl-home-hero-media .vl-home-hero-catraco-transport {
  --color: var(--color-accent, #ff6a2b);
}

html.--light body.home .vl-home-hero-media .vl-home-hero-uiverse-slider,
body.home.vl-theme-middle .vl-home-hero-media .vl-home-hero-uiverse-slider {
  --icon-color: var(--color-accent, #ff6a2b);
  --level-color: var(--color-accent, #ff6a2b);
  --slider-bg: rgb(55, 55, 55);
}

html.--light body.home .vl-home-hero-media .vl-home-hero-catraco-transport:hover,
body.home.vl-theme-middle .vl-home-hero-media .vl-home-hero-catraco-transport:hover {
  --color: color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #000);
}

html.--light body.home .vl-home-hero-media .vl-home-hero-uiverse-slider:hover,
body.home.vl-theme-middle .vl-home-hero-media .vl-home-hero-uiverse-slider:hover {
  --icon-color: color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #000);
  --level-color: color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #000);
}

/* Adapted from Uiverse.io by catraco - play / pause toggle (homepage hero showreel only). */
body.home .vl-home-hero-media .vl-home-hero-catraco-transport {
  --color: var(--color-accent, #ff6a2b);
  --size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: var(--size);
  user-select: none;
  color: var(--color);
  width: var(--size);
  height: var(--size);
  flex-shrink: 0;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport:hover {
  --color: color-mix(in srgb, var(--color-accent, #ff6a2b) 78%, #fff);
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport:focus-within {
  outline: 2px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, #fff);
  outline-offset: 2px;
  border-radius: 4px;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport__play {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vl-home-hero-catraco-fill 0.5s;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport__pause {
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
  animation: vl-home-hero-catraco-fill 0.5s;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport input:checked ~ .vl-home-hero-catraco-transport__play {
  display: none;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport input:checked ~ .vl-home-hero-catraco-transport__pause {
  display: flex;
}

body.home .vl-home-hero-media .vl-home-hero-catraco-transport input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

@keyframes vl-home-hero-catraco-fill {
  0% {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
  }

  50% {
    transform: rotate(-10deg) scale(1.2);
  }
}

/* Adapted from Uiverse.io by Galahhad - homepage hero showreel only (not theme `.slider` carousels). */
body.home .vl-home-hero-media .vl-home-hero-uiverse-slider {
  --slider-width: min(7rem, 32vw);
  --slider-height: 6px;
  --slider-bg: rgb(82, 82, 82);
  --slider-border-radius: 999px;
  --level-color: var(--color-accent, #ff6a2b);
  --level-transition-duration: 0.1s;
  --icon-margin: 15px;
  --icon-color: var(--color-accent, #ff6a2b);
  --icon-size: 25px;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider {
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .volume {
  display: inline-block;
  vertical-align: top;
  margin-right: var(--icon-margin);
  color: var(--icon-color);
  width: var(--icon-size);
  height: auto;
  flex-shrink: 0;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .volume svg {
  display: block;
  width: 100%;
  height: auto;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .level {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--slider-width);
  height: var(--slider-height);
  background: var(--slider-bg);
  overflow: hidden;
  border-radius: var(--slider-border-radius);
  -webkit-transition: height var(--level-transition-duration);
  -o-transition: height var(--level-transition-duration);
  transition: height var(--level-transition-duration);
  cursor: inherit;
  margin: 0;
  padding: 0;
  border: none;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .level::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
  -webkit-box-shadow: -200px 0 0 200px var(--level-color);
  box-shadow: -200px 0 0 200px var(--level-color);
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .level::-moz-range-track {
  height: var(--slider-height);
  background: var(--slider-bg);
  border-radius: var(--slider-border-radius);
  border: none;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .level::-moz-range-progress {
  height: var(--slider-height);
  background: var(--level-color);
  border-radius: var(--slider-border-radius) 0 0 var(--slider-border-radius);
  border: none;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider .level::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider:hover {
  --icon-color: color-mix(in srgb, var(--color-accent, #ff6a2b) 78%, #fff);
  --level-color: color-mix(in srgb, var(--color-accent, #ff6a2b) 78%, #fff);
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider:hover .level {
  height: calc(var(--slider-height) * 2);
}

body.home .vl-home-hero-media .vl-home-hero-uiverse-slider:hover .level::-moz-range-track,
body.home .vl-home-hero-media .vl-home-hero-uiverse-slider:hover .level::-moz-range-progress {
  height: calc(var(--slider-height) * 2);
}

/* Scroll-linked shrink: scale the video only, centered so it stays in the hero frame */
body.home .page-template-homepage-static .header-homepage__hero .media video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--vl-hero-video-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  body.home .page-template-homepage-static .header-homepage__hero .media video {
    transform: none !important;
  }
}

/* Enterprise hero: text block grows with typing (no fixed viewport hero shell) */
body.page-id-enterprise header.hero {
  min-height: 0 !important;
  height: auto !important;
}

body.page-id-enterprise .hero__content {
  min-height: 0;
}

body.page-id-enterprise .hero__description.vl-typing-hero {
  font-size: clamp(1.85rem, 7.5vw, 6.25rem);
  line-height: 1.05;
  word-break: break-word;
}

body.page-id-enterprise .vl-typing-hero__line-wrap {
  display: inline;
  white-space: pre-wrap;
}

body.page-id-enterprise .vl-typing-hero__cursor {
  display: inline-block;
  width: 0.075em;
  min-width: 3px;
  height: 0.85em;
  margin-left: 0.05em;
  vertical-align: baseline;
  background: var(--color-accent, #ff6a2b);
  opacity: 0;
  pointer-events: none;
}

body.page-id-enterprise .vl-typing-hero__cursor.is-visible {
  opacity: 1;
  animation: vl-typing-hero-cursor-blink 0.85s step-end infinite;
}

@keyframes vl-typing-hero-cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-enterprise .vl-typing-hero__cursor.is-visible {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* Enterprise hero: same Grapheme tabs as Products; full-width bar + flex-end so links sit on the right */
.page-id-enterprise .hero__tabs {
  width: 100%;
}

.page-id-enterprise .hero__tabs .tabs {
  width: 100%;
  justify-content: flex-end;
}

/* Video strip under the typed hero: scroll-linked scale only on the video */
.page-id-enterprise .vl-businesses-hero-wrap {
  overflow: hidden;
}

.page-id-enterprise .vl-businesses-hero-wrap video {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(var(--vl-hero-video-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .page-id-enterprise .vl-businesses-hero-wrap video {
    transform: none !important;
  }
}

body.home .page-template-homepage-static .header-homepage__title > span:last-child {
  position: relative;
  display: block;
  min-height: 1.15em;
}

/* Legacy stacked-word fade (only when FlipWords is not used) */
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  display: inline-block !important;
  animation: vl-home-fade-words 18s ease-in-out infinite;
}

body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(1) { animation-delay: 0s; }
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(2) { animation-delay: 3s; }
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(3) { animation-delay: 6s; }
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(4) { animation-delay: 9s; }
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(5) { animation-delay: 12s; }
body.home .page-template-homepage-static .header-homepage__title > span:last-child:not(.vl-flip-words) > span:nth-child(6) { animation-delay: 15s; }

@keyframes vl-home-fade-words {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  4% {
    opacity: 1;
    visibility: visible;
  }
  13% {
    opacity: 1;
    visibility: visible;
  }
  17% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.vl-home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.vl-home-hero__eyebrow {
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-accent, #ff6a2b);
}

.vl-home-hero__headline {
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3.05rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Graphene `.text h2` draws a full-width top rule + extra padding - strip it for the home hero heading (same class on div with role). */
body.home .vl-home-hero__copy.text :is(h2, div).vl-home-hero__headline {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.vl-home-hero__accent {
  color: var(--color-accent, #ff6a2b);
}

.vl-home-hero__sub {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 2.35vw, 1.1875rem);
  line-height: 1.62;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
}

/* Home tagline + About: one prose column (shared left & right edges; no full-bleed about vs narrowed title) */
body.home .section-title .text,
body.home .section-about__text.text {
  width: 100% !important;
  max-width: var(--body-text-max) !important;
  margin-inline: 0 !important;
  justify-self: start !important;
  text-align: left !important;
}

body.home .vl-home-about-block .section-title .text,
body.home .vl-home-about-block .section-about__text.text {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

body.home .section-title .p2 {
  text-align: left !important;
}

body.home .section.section-title {
  padding-top: var(--vl-home-about-rule-pad);
}

/* Home About: Grapheine uses two columns (`column-count: 2`) on `.section-about__text` on wide viewports - copy flows vertically per column first, which breaks alignment with adjacent lines. Single column reads as one block. */
body.home .section-about__text.text {
  column-count: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

body.home .section-about__text .p2 {
  text-indent: 0 !important;
}

body.home .section-about__text .section-about__link {
  align-self: flex-start;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

/* Home: simple Work with us CTA - contact quote + client sites */
body.home .section-work-with-us {
  padding-top: clamp(2rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

body.home .section-work-with-us .vl-work-with-us__inner {
  width: 100% !important;
  max-width: var(--body-text-max) !important;
  margin-inline: 0 !important;
  justify-self: start !important;
  text-align: left !important;
  align-items: flex-start !important;
}

body.home .section-work-with-us .vl-liquid-btn {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  flex: 0 0 auto;
  margin-bottom: clamp(0.85rem, 2.2vw, 1.5rem);
}

/* Contact: third-party client sites above quote form */
#vl-contact-quote .vl-client-sites {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

#vl-contact-quote .vl-client-sites__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
}

#vl-contact-quote .vl-client-sites__lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

#vl-contact-quote .vl-client-sites__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

#vl-contact-quote .vl-client-sites__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.18s ease;
}

#vl-contact-quote .vl-client-sites__link:hover,
#vl-contact-quote .vl-client-sites__link:focus-visible {
  opacity: 0.78;
  outline: none;
}

#vl-contact-quote .vl-client-sites__name {
  font-size: 1.0625rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

#vl-contact-quote .vl-client-sites__url {
  font-size: 0.875rem;
  font-weight: 450;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

.vl-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0.5rem 0 0;
}

/* Hero quick links - slightly larger + bolder than default navigation links (~1.0625rem / 400) */
body.home .vl-home-hero__actions .navigation__link {
  font-size: clamp(1.125rem, 2.7vw, 1.21875rem);
  font-weight: 500;
}

.vl-home-hero__copy .p1 {
  line-height: 1.55;
  overflow: visible;
  padding-bottom: 0.2em;
}

.vl-home-hero__panel {
  width: 100%;
  margin-top: 0;
}

.vl-home-hero__frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.vl-home-hero__frame .media {
  margin: 0;
}

.vl-home-hero__frame .media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* Home dock mount for Framer Dock component. */
.vl-home-dock-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
}

.vl-home-dock-framer {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 70px;
}

@media (max-width: 767px) {
  .vl-home-dock-wrap {
    margin-top: 0.85rem;
  }
}

.vl-home-hero-banners {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 1583;
  overflow: hidden;
  background: transparent;
}

.vl-home-hero-banners__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  visibility: visible;
  transform: translate3d(110%, 0, 0);
  z-index: 1;
  transition: transform 620ms cubic-bezier(.22,1,.36,1);
}

.vl-home-hero-banners__slide.is-active {
  transform: translate3d(0, 0, 0);
  z-index: 2;
}

.vl-home-hero-banners__slide.is-entering {
  z-index: 3;
}

.vl-home-hero-banners__slide.is-leaving {
  z-index: 2;
}
/* Hero banners mode: remove overlay and corner logo layer */
.vl-home-hero__frame--banners::before {
  display: none;
}

.vl-home-hero__frame--banners .vl-home-hero__logo-strip {
  display: none;
}

/* Fresh home hero rotator */
.vl-home-hero__frame--banners {
  max-width: min(100%, 36rem);
  margin-inline: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}


.vl-home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(255, 106, 43), 0.12) 100%
  );
}

.vl-home-hero__logo-strip {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 3;
  max-width: min(42%, 220px);
}

.vl-home-hero__logo-strip img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6));
}

@media only screen and (max-width: 1023px) {
  body.home .vl-home-hero {
    /* Was 120px - left a large void under the header video on phones */
    padding-top: clamp(0.65rem, 2.8vw, 1.1rem);
    align-items: start;
  }

  body.home .page-template-homepage-static .vl-home-hero {
    margin-top: 0;
  }

  body.home .page-template-homepage-static .header-homepage {
    margin-bottom: clamp(0.65rem, 2.5vw, 1.1rem);
  }

  .vl-home-hero__copy {
    max-width: none;
  }
}

/* Scroll zone: lighter canvas mid-page (preference + homepage toggle; Articles index exempt) */
body:not(.vl-blog-page) {
  transition: background-color 520ms ease, color 520ms ease;
}

body:not(.vl-blog-page).vl-theme-middle {
  --color-background: #fff;
  --color-text: #111;
  background-color: #fff;
  color: #111;
}

/*
 * White-scroll mid-page band darkens body text, but the header bar stays on the dark canvas:
 * keep nav + logo links white (pour gradient base included).
 */
body.vl-theme-middle .header {
  --color-text: var(--color-white, #fafafa);
  --vl-red-pour-base: #fafafa;
  color: var(--color-white, #fafafa);
}

body.vl-theme-middle .header .navigation__item:not(.navigation__item--active) > .navigation__link {
  --vl-red-pour-base: #fafafa;
}

body.vl-theme-middle .header .navigation__item--active > .navigation__link {
  color: var(--color-accent, #ff6a2b) !important;
  -webkit-text-fill-color: currentColor !important;
}

/*
 * Homepage: Graphene/GSAP scrubs `html.--light` on `body.switch` (see voltis-main.js).
 * That scrub runs separately from `body.vl-theme-middle`, so the header "White scroll"
 * toggle must override the light tokens when the user disables the effect.
 * Values mirror `body.switch` in voltis-main.css (dark canvas).
 */
html.--light body.switch.vl-white-scroll-disabled {
  --color-text: var(--color-white) !important;
  --color-background: var(--color-black) !important;
  --color-separator: color-mix(
      in srgb,
      var(--color-text) 20%,
      transparent
    )
    !important;
  --color-placeholder: color-mix(
      in srgb,
      var(--color-text) 12%,
      var(--color-background)
    )
    !important;
  background: var(--color-background) !important;
  color: var(--color-text) !important;
  transition-property: none !important;
}

/* Footer stays above homepage Articles during overlap scrub; About/tagline sit above Articles (see blog.css). */
body.home .footer.footer {
  position: relative;
  z-index: 5;
  margin-top: 0;
}

/* Sitewide header chrome: stable flex row (logo | nav | white-scroll toggle | menu). */
@media (min-width: 1024px) {
  html.js .header .header__container {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  html.js .header .header__container > .navigation {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto !important;
  }

  html.js .header .header__container > .navigation .navigation__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.35rem, 1.1vw, 0.85rem);
  }

  /*
   * Match Graphene `.navigation__link` (1.0625rem / 110% lh). A bad override used 0.875rem and
   * shrank the bar. Same weight + padding on active/inactive stops the row jumping on click.
   */
  html.js .header .header__container > .navigation .navigation__item,
  html.js .header .header__container > .navigation .navigation__item--active {
    font-weight: 400;
    align-items: center;
  }

  html.js .header .header__container > .navigation .navigation__item > .navigation__link,
  html.js .header .header__container > .navigation .navigation__item--active > .navigation__link {
    font-weight: 400 !important;
    font-size: round(1.0625rem, 1px) !important;
    line-height: round(110%, 1px) !important;
    padding-block: 0.04em 0.02em;
    display: inline-block;
    vertical-align: baseline;
    box-sizing: border-box;
  }

  html.js .header .header__container > .navigation .navigation__item > .navigation__link.vl-nav-core-link,
  html.js .header .header__container > .navigation .navigation__item--active > .navigation__link.vl-nav-core-link {
    display: inline-flex;
    align-items: center;
    gap: 0.32em;
    vertical-align: baseline;
  }

  html.js .header .header__container > .vl-scroll-toggle {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    margin-left: 0.8rem !important;
    align-self: center;
  }

  html.js .header .header__logo {
    flex: 0 0 auto;
    margin-right: 0 !important;
  }

  html.js .header .header__button {
    display: none !important;
  }
}

.vl-scroll-toggle {
  margin-left: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  gap: 0;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.vl-scroll-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 72%, #fff);
  outline-offset: 3px;
}

.vl-scroll-toggle:not(.vl-scroll-toggle--disabled):active
  .vl-scroll-toggle__track {
  filter: brightness(0.92);
}

.vl-scroll-toggle__track {
  position: relative;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    background 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.vl-scroll-toggle--on .vl-scroll-toggle__track {
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 75%, #2a1214) 0%,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 40%, #120606) 100%
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35),
    0 0 0 1px color-mix(in srgb, var(--color-accent, #ff6a2b) 45%, transparent),
    0 4px 18px color-mix(in srgb, var(--color-accent, #ff6a2b) 38%, transparent);
}

.vl-scroll-toggle__thumb {
  position: absolute;
  top: 50%;
  left: 0.18rem;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.6rem;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, #e9e9e9 72%, #cfcfcf 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.48s cubic-bezier(0.34, 1.45, 0.64, 1),
    width 0.22s ease,
    box-shadow 0.38s ease;
  will-change: transform;
}

.vl-scroll-toggle--on .vl-scroll-toggle__thumb {
  transform: translateX(calc(2.75rem - 1.2rem - 0.36rem));
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

body.vl-theme-middle .vl-scroll-toggle__track {
  background: rgba(0, 0, 0, 0.1);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

body.vl-theme-middle .vl-scroll-toggle--on .vl-scroll-toggle__track {
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 65%, #fff) 0%,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 38%, #f2f2f2) 100%
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(0, 0, 0, 0.12),
    0 0 0 1px color-mix(in srgb, var(--color-accent, #ff6a2b) 35%, rgba(0, 0, 0, 0.12)),
    0 4px 16px color-mix(in srgb, var(--color-accent, #ff6a2b) 22%, transparent);
}

body.vl-theme-middle .vl-scroll-toggle {
  color: #141414;
}

body.vl-theme-middle .vl-scroll-toggle:focus-visible {
  outline-color: color-mix(in srgb, var(--color-accent, #ff6a2b) 55%, #111);
}

.vl-scroll-toggle--disabled .vl-scroll-toggle__track,
.vl-scroll-toggle--disabled .vl-scroll-toggle__thumb {
  transition: none;
}

.vl-scroll-toggle--disabled,
.vl-scroll-toggle--disabled:hover,
.vl-scroll-toggle--disabled:focus-visible {
  cursor: not-allowed;
  opacity: 0.4;
}

.vl-scroll-toggle--disabled .vl-scroll-toggle__track {
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  filter: grayscale(1);
}

.vl-scroll-toggle--disabled .vl-scroll-toggle__thumb {
  transform: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

@media (prefers-reduced-motion: reduce) {
  .vl-scroll-toggle__track,
  .vl-scroll-toggle__thumb {
    transition-duration: 0.08s !important;
    transition-timing-function: ease !important;
  }
}

/* Sitewide cookie consent popup */
.vl-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.5vw, 28px);
  transform: translateX(-50%);
  z-index: 10020;
  width: min(92vw, 640px);
  padding: clamp(0.75rem, 1.8vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.vl-cookie-banner__text {
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  line-height: 1.45;
  color: rgba(244, 244, 244, 0.96);
}

.vl-cookie-banner__actions {
  margin-top: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vl-cookie-banner__link {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vl-cookie-banner__btn {
  appearance: none;
  border: 1px solid rgba(255, 106, 43), 0.45);
  border-radius: 999px;
  background: rgba(255, 106, 43), 0.18);
  color: #fff;
  font: 600 0.8rem/1.1 inherit;
  padding: 0.45rem 0.86rem;
  cursor: pointer;
}

.vl-cookie-banner__btn--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
}

.vl-cookie-banner__btn:hover,
.vl-cookie-banner__btn:focus-visible {
  filter: brightness(1.12);
  outline: none;
}

@media (max-width: 1023px) {
  .vl-scroll-toggle--mobile {
    margin: 1rem 0 0;
    align-self: flex-start;
  }
}

/* Mobile header controls: keep hamburger + switch grouped on the right. */
@media (max-width: 1023px) {
  html.js .header .header__container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  html.js .header .header__container > .navigation {
    display: none !important;
  }

  html.js .header .header__logo {
    margin-right: auto !important;
    flex: 0 0 auto;
  }

  html.js .header .header__container > .vl-scroll-toggle {
    order: 2;
    margin: 0 !important;
    flex: 0 0 auto;
  }

  html.js .header .header__button {
    order: 3;
    margin: 0 !important;
    flex: 0 0 auto;
  }

  /* Open drawer is full-screen; keep chrome above it so the hamburger can close the menu. */
  html.js .header.header--active .header__container {
    position: relative;
    z-index: 8;
  }

  html.js .header.header--active .header__button {
    position: relative;
    z-index: 9;
  }
}

/* Mobile menu panel: keep brand mark left-aligned with nav items */
@media (max-width: 1023px) {
  .header__navigation-mobile .vl-scroll-toggle {
    display: none !important;
  }

  .header__navigation-mobile {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: calc(var(--vl-site-header-offset, 5.75rem) + 0.25rem);
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .header__navigation-mobile .navigation,
  .header__navigation-mobile .navigation__list {
    width: 100%;
    justify-content: flex-start !important;
    flex: 0 0 auto;
  }

  .header__navigation-mobile .header__logo,
  .header__navigation-mobile .footer__logo,
  .header__navigation-mobile img[src*="assets/voltis.svg"] {
    margin-left: 0 !important;
    margin-right: auto !important;
    left: 0 !important;
    right: auto !important;
    text-align: left !important;
    justify-self: start !important;
    align-self: flex-start !important;
    transform: none !important;
  }
}

/* Footer: logo starts on the same column as footer nav */
.footer .footer__container > .footer__logo {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  width: 100%;
  /* Theme default ~11.25rem between nav (Contact) and logo - tighten */
  margin-top: 1.75rem !important;
}

.footer .footer__container > .footer__logo img,
.footer .footer__container > .footer__logo svg {
  display: block;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/*
 * Icon tiles: never morph into Graphene's opposite-corner hover radius
 * (border-radius: 50% 0 / leaf clip). Keep the rest rounded square.
 * Portfolio banners keep their own 6px/12px frame; imgs stay unrounded inside it.
 */
.work:hover .work__thumbnail img,
.work:focus-within .work__thumbnail img,
.work:hover .work__thumbnail .media,
.work:focus-within .work__thumbnail .media {
  clip-path: none;
}

.vl-home-product-card:hover .vl-home-product-card__icon,
.vl-home-product-card:focus-within .vl-home-product-card__icon {
  clip-path: none;
}

/* Portfolio Years + All + sector sliders: SVG thumbs fill the frame; slight overscale clips inside theme border-radius (fixes 1px “bleed” in light mode). */
.works-chronology .work__thumbnail .media img[src$=".svg"],
.archive-work .work__thumbnail .media img[src$=".svg"],
.slider .work__thumbnail .media img[src$=".svg"] {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--color-placeholder, #0c0c0c);
}

/*
 * Portfolio years: year title + works are children of the 12-col list
 * (theme: .works-chronology__year, ol { display: contents }).
 * Do not put padding/overflow/margin on __year - that can generate a box and
 * drop "2026" onto its own row, leaving a 3-col hole before the first card.
 */
body.page-template-page-archive-work-chronological .works-chronology__year,
body.page-template-page-archive-work-chronological .works-chronology__year ol {
  display: contents !important;
}

body.page-template-page-archive-work-chronological .works-chronology__list {
  align-items: start;
  row-gap: 2.5rem;
}

body.page-template-page-archive-work-chronological .works-chronology__title {
  display: block;
  align-self: start;
  justify-self: start;
  grid-column: span 3 !important;
  margin: 0;
  min-width: 0;
  padding-block: 0;
  line-height: 1 !important;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work {
  align-self: start;
  grid-column: span 3 !important;
  min-width: 0;
  margin-top: 0;
}

/* Adjacent-work margin fights the 12-col row (year + 3 cards) and drops cards 2+. */
.works-chronology .work + .work {
  margin-top: 0;
}

/*
 * Lock every year thumb to the same landscape frame as apps (--aspect-ratio-image: 325/200).
 * Absolutely fill .media so intrinsic screenshot sizes (1920x1080 vs 1024x645) cannot
 * stretch the card. Do not set height:auto on .media (that collapses the lock).
 */
body.page-template-page-archive-work-chronological .works-chronology .work .work__thumbnail,
body.page-template-page-archive-work-alphabetical .works-chronology .work .work__thumbnail,
.works-chronology .work--website .work__thumbnail {
  position: relative;
  aspect-ratio: var(--aspect-ratio-image, 325 / 200) !important;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  line-height: 0;
}

body.page-template-page-archive-work-chronological .works-chronology .work .work__thumbnail .media,
body.page-template-page-archive-work-alphabetical .works-chronology .work .work__thumbnail .media,
.works-chronology .work--website .work__thumbnail .media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  margin: 0;
}

body.page-template-page-archive-work-chronological .works-chronology .work .work__thumbnail .media img,
body.page-template-page-archive-work-alphabetical .works-chronology .work .work__thumbnail .media img,
.works-chronology .work--website .work__thumbnail .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.works-chronology .work--website .work__title {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fafafa !important;
  color: #fafafa !important;
}

body.vl-theme-middle .works-chronology .work--website .work__title {
  -webkit-text-fill-color: #111 !important;
  color: #111 !important;
}

/* Years archive: name + type sit under the thumbnail (theme hides them at ~25vw). */
body.page-template-page-archive-work-chronological .works-chronology__year .work .work__container.grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  row-gap: 0;
  align-items: start;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__thumbnail {
  grid-row: 1 !important;
  grid-column: 1 / -1 !important;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__link {
  grid-row: 2 !important;
  grid-column: 1 / -1 !important;
  position: relative !important;
  z-index: auto !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 0 !important;
  padding: 0.7rem 0 0 !important;
  background: none !important;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__title,
body.page-template-page-archive-work-chronological .works-chronology__year .work .work__sector {
  display: block !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__title {
  margin: 0;
  color: var(--color-text, #fafafa) !important;
  font-size: clamp(1.05rem, 1.7vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.2;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__sector {
  margin: 0;
  color: color-mix(in srgb, var(--color-text, #fafafa) 62%, transparent) !important;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-template-page-archive-work-chronological .works-chronology__year .work .work__excerpt {
  display: none !important;
}

body.vl-theme-middle.page-template-page-archive-work-chronological .works-chronology__year .work .work__title {
  color: var(--color-text, #111) !important;
}

.works-chronology .work__thumbnail .media img,
.works-chronology .work__thumbnail .media video,
.works-chronology .work__thumbnail-over img,
.works-chronology .work__thumbnail-over video,
.archive-work .work__thumbnail .media img,
.archive-work .work__thumbnail .media video,
.archive-work .work__thumbnail-over img,
.archive-work .work__thumbnail-over video,
.slider .work__thumbnail .media img,
.slider .work__thumbnail .media video,
.slider .work__thumbnail-over img,
.slider .work__thumbnail-over video,
.works-index .archive-row__image img,
.works-index .archive-row__image video {
  transform: translate3d(0, 0, 0) scale(1.02);
  transform-origin: center center;
}

/* Homepage featured work rows: Creators (VModel) + Wearhouse - shared intro layout; theme grid uses @container work */

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro,
.work--vmodel-creators-intro .vl-work-vmodel-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: none;
  width: 100%;
  text-align: left;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tabs,
.work--vmodel-creators-intro .vl-work-vmodel-intro__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.15rem;
  font-size: clamp(0.78rem, 1.15vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--color-text, #111) 55%, transparent);
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tab,
.work--vmodel-creators-intro .vl-work-vmodel-intro__tab {
  margin: 0;
  padding: 0.15rem 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  opacity: 0.72;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tab:focus-visible,
.work--vmodel-creators-intro .vl-work-vmodel-intro__tab:focus-visible {
  opacity: 1;
  color: var(--color-text, #111);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tab:hover,
  .work--vmodel-creators-intro .vl-work-vmodel-intro__tab:hover {
    opacity: 1;
    color: var(--color-text, #111);
    outline: none;
  }
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tab.is-active,
.work--vmodel-creators-intro .vl-work-vmodel-intro__tab.is-active {
  opacity: 1;
  color: var(--color-accent, #ff6a2b);
  font-weight: 600;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__tab-sep,
.work--vmodel-creators-intro .vl-work-vmodel-intro__tab-sep {
  opacity: 0.45;
  user-select: none;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__panes,
.work--vmodel-creators-intro .vl-work-vmodel-intro__panes {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  position: relative;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__pane,
.work--vmodel-creators-intro .vl-work-vmodel-intro__pane {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__pane:not(.is-intro-active),
.work--vmodel-creators-intro .vl-work-vmodel-intro__pane:not(.is-intro-active) {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__pane.is-intro-active,
.work--vmodel-creators-intro .vl-work-vmodel-intro__pane.is-intro-active {
  position: relative;
  z-index: 1;
  visibility: visible;
  pointer-events: auto;
}


.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__title,
.work--vmodel-creators-intro .vl-work-vmodel-intro__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text, #111);
  text-align: left;
  width: 100%;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__headline-link,
.work--vmodel-creators-intro .vl-work-vmodel-intro__headline-link {
  color: inherit;
  text-decoration: none;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__headline-link:hover,
.work--vmodel-creators-intro .vl-work-vmodel-intro__headline-link:hover {
  text-decoration: underline;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__headline-link:focus-visible,
.work--vmodel-creators-intro .vl-work-vmodel-intro__headline-link:focus-visible {
  outline: 2px solid var(--color-accent, #ff6a2b);
  outline-offset: 3px;
}

/* Homepage featured work: left-align excerpt with intro */
body.home .work--wearhouse-vmodel-intro .work__excerpt,
body.home .work--vmodel-creators-intro .work__excerpt {
  text-align: left;
}

body.home .work--wearhouse-vmodel-intro .work__excerpt p,
body.home .work--vmodel-creators-intro .work__excerpt p {
  text-align: left;
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__dek,
.work--vmodel-creators-intro .vl-work-vmodel-intro__dek {
  margin: 0;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-text, #111) 90%, transparent);
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost,
.work--vmodel-creators-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost {
  align-self: flex-start;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-text, #111) 94%, transparent);
  --liquid-button-background-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost:focus-visible,
.work--vmodel-creators-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost:focus-visible {
  color: #fffaf8;
}

@media (hover: hover) and (pointer: fine) {
  .work--wearhouse-vmodel-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost:hover,
  .work--vmodel-creators-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost:hover {
    color: #fffaf8;
  }
}

.work--wearhouse-vmodel-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost .vl-liquid-btn__fill,
.work--vmodel-creators-intro .vl-work-vmodel-intro__cta.vl-liquid-btn--ghost .vl-liquid-btn__fill {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 88%, #fff),
    var(--color-accent, #ff6a2b)
  );
}

/* Wide card: intro stacked left, excerpt spans right (matches theme 8-col split) */
@container work (min-width: 60vw) {
  .work--wearhouse-vmodel-intro .vl-work-vmodel-intro,
  .work--vmodel-creators-intro .vl-work-vmodel-intro {
    grid-column: 1 / 5;
    grid-row: 2;
    align-self: start;
    max-width: none;
  }

  .work--wearhouse-vmodel-intro .work__excerpt,
  .work--vmodel-creators-intro .work__excerpt {
    grid-column: -5 / -1 !important;
    grid-row: 2 !important;
    align-self: start;
    text-align: left;
  }
}

/* Mid width: full-bleed stacking */
@container work (min-width: 28vw) and (max-width: 59vw) {
  .work--wearhouse-vmodel-intro .vl-work-vmodel-intro,
  .work--vmodel-creators-intro .vl-work-vmodel-intro {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/*
 * Graphene footer parallax: theme JS previously needed extra scroll runway on very tall footers.
 * Excessive viewport-based padding reads as an empty slab; keep a modest bottom rhythm instead.
 *
 * Paint accent on the outer <footer> everywhere (not only ≥1024px) so the dark body canvas never
 * shows through gaps while the inner .parallax-section__container is translated (and the same
 * for plain .footer layouts e.g. portfolio).
 */
html.js footer.footer {
  box-sizing: border-box;
  background-color: var(--color-accent);
}

html.js footer.footer > .footer__container {
  background-color: transparent !important;
  padding-top: 50px;
}

@media (min-width: 1024px) {
  html.js footer.footer.parallax-section,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section) {
    padding-bottom: clamp(1rem, 2vw, 1.75rem);
    box-sizing: border-box;
  }

  html.js footer.footer.parallax-section > .footer__container,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section)
    > .footer__container {
    background-color: transparent !important;
  }
}

/* Same scroll runway when parallax scrubs on narrow viewports (theme JS now runs `.parallax-section` off `prefers-reduced-motion` only). */
@media (max-width: 1023px) {
  html.js footer.footer.parallax-section,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section) {
    padding-bottom: clamp(0.75rem, 3vw, 1.5rem);
    box-sizing: border-box;
  }

  html.js footer.footer.parallax-section > .footer__container,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section)
    > .footer__container {
    background-color: transparent !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js footer.footer.parallax-section,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section) {
    padding-bottom: 0 !important;
    background-color: var(--color-accent) !important;
  }

  html.js footer.footer.parallax-section > .footer__container,
  html.js
    body.page-template-page-archive-work-chronological
    footer.footer:not(.parallax-section)
    > .footer__container {
    background-color: transparent !important;
  }
}

/*
 * Portfolio (Years / A-Z / archive “All”): Graphene puts a slim `padding-top` under `.hero__content:before`
 * but a large `padding-bottom` on `.hero`, so the title hugs the upper rule. Equalise top/bottom padding
 * in the strip between that rule and the next section divider.
 */
body.page-template-page-archive-work-chronological
  .hero:not(:has(.hero__description)),
body.page-template-page-archive-work-alphabetical .hero:not(:has(.hero__description)),
body.post-type-archive-work.archive .archive-work > .hero:not(:has(.hero__description)) {
  --vl-portfolio-title-pad: clamp(1rem, 2.75vw, 1.875rem);
  padding-bottom: var(--vl-portfolio-title-pad);
}

body.page-template-page-archive-work-chronological
  .hero:not(:has(.hero__description))
  .hero__content:first-of-type,
body.page-template-page-archive-work-alphabetical .hero:not(:has(.hero__description)) .hero__content:first-of-type,
body.post-type-archive-work.archive
  .archive-work
  > .hero:not(:has(.hero__description))
  .hero__content:first-of-type {
  padding-top: var(--vl-portfolio-title-pad) !important;
}

@media only screen and (max-width: 1023px) {
  body.page-template-page-archive-work-chronological
    .hero:not(:has(.hero__description)),
  body.page-template-page-archive-work-alphabetical
    .hero:not(:has(.hero__description)),
body.post-type-archive-work.archive
  .archive-work
  > .hero:not(:has(.hero__description)) {
    padding-bottom: var(--vl-portfolio-title-pad, clamp(1rem, 2.75vw, 1.875rem)) !important;
  }
}

/*
 * portfolio-all (`section.works` mosaic): theme `@container work` hides titles, sector, and excerpts
 * when a grid cell is treated as “narrow” - common for `.works__list` spans - so the section looked
 * broken below the hero. Stack each card simply and keep copy visible.
 */
body.post-type-archive-work.archive .archive-work .section.works .work__title,
body.post-type-archive-work.archive .archive-work .section.works .work__sector,
body.post-type-archive-work.archive .archive-work .section.works .work__excerpt {
  display: block !important;
}

body.post-type-archive-work.archive .archive-work .section.works .work__link {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

body.post-type-archive-work.archive .archive-work .section.works .work__container.grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.post-type-archive-work.archive .archive-work .section.works .work__thumbnail,
body.post-type-archive-work.archive .archive-work .section.works .work__link,
body.post-type-archive-work.archive .archive-work .section.works .work__excerpt {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

@media only screen and (max-width: 1023px) {
  body.post-type-archive-work.archive .archive-work .section.works .work__excerpt {
    display: block !important;
  }
}

/*
 * Portfolio/archive on mobile: keep hit areas isolated per-card.
 * The previous "full-tile overlay link" could overlap neighbouring cards and
 * route taps to the wrong destination. We keep layout simple: image, then link.
 */
@media (max-width: 1023px) {
  body.page-template-page-archive-work-chronological .work:not(.work--wearhouse-vmodel-intro) .work__container.grid,
  body.page-template-page-archive-work-alphabetical .work:not(.work--wearhouse-vmodel-intro) .work__container.grid,
  body.post-type-archive-work.archive .work:not(.work--wearhouse-vmodel-intro) .work__container.grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  body.page-template-page-archive-work-chronological .work:not(.work--wearhouse-vmodel-intro) .work__thumbnail,
  body.page-template-page-archive-work-alphabetical .work:not(.work--wearhouse-vmodel-intro) .work__thumbnail,
  body.post-type-archive-work.archive .work:not(.work--wearhouse-vmodel-intro) .work__thumbnail {
    grid-row: 1 !important;
    grid-column: 1 !important;
  }

  body.page-template-page-archive-work-chronological .work:not(.work--wearhouse-vmodel-intro) .work__link,
  body.page-template-page-archive-work-alphabetical .work:not(.work--wearhouse-vmodel-intro) .work__link,
  body.post-type-archive-work.archive .work:not(.work--wearhouse-vmodel-intro) .work__link {
    grid-row: 2 !important;
    grid-column: 1 !important;
    position: relative !important;
    z-index: auto !important;
    align-self: start !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 0.65rem 0 0 !important;
    box-sizing: border-box !important;
    background: none !important;
  }

  body.page-template-page-archive-work-chronological .work:not(.work--wearhouse-vmodel-intro) .work__excerpt,
  body.page-template-page-archive-work-alphabetical .work:not(.work--wearhouse-vmodel-intro) .work__excerpt,
  body.post-type-archive-work.archive .work:not(.work--wearhouse-vmodel-intro) .work__excerpt {
    grid-row: 3 !important;
    grid-column: 1 / -1 !important;
    position: relative !important;
    z-index: auto !important;
  }
}

/* Open mobile menu must stack above page chrome (theme uses z-index:-2 while closed). */
@media (max-width: 1023px) {
  .header.header--active .header__navigation-mobile {
    z-index: 6;
    justify-content: flex-start;
    overflow-y: auto;
  }

  /* Theme mobile drawer links are 56px; scale down 10% for tighter fit. */
  .header__navigation-mobile .navigation__link,
  .header__navigation-mobile .header__lang {
    font-size: round(calc(56px * 0.9), 1px);
  }

  .header__navigation-mobile .navigation__link.vl-nav-core-link {
    display: inline-flex;
    align-items: center;
    gap: 0.32em;
    vertical-align: baseline;
  }
}

/* iPhone notch / home indicator: inset on the sticky header so `--vl-site-header-offset` measures true clearance. */
@supports (padding: env(safe-area-inset-top)) {
  @media (max-width: 1023px) {
    html.js .header {
      padding-top: env(safe-area-inset-top, 0px);
    }
  }
}

/* ── Global “empty hit” click feedback (Animate UI Click primitive ring-style port for static HTML) ── */
.vl-global-click-feedback {
  /* ~30% smaller than earlier ring */
  --vl-global-click-size: clamp(87px, 12.6vmin, 140px);
  position: fixed;
  z-index: 2147483000;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: var(--vl-global-click-size);
  height: var(--vl-global-click-size);
  margin: 0;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 78%, transparent);
  background: radial-gradient(
    circle,
    transparent 62%,
    color-mix(in srgb, var(--color-accent, #ff6a2b) 18%, transparent) 100%
  );
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.12);
  will-change: transform, opacity;
  transition:
    transform 380ms cubic-bezier(0.25, 0.82, 0.35, 1),
    opacity 420ms ease-out,
    filter 380ms ease;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .vl-global-click-feedback {
    transition-duration: 0.01ms;
    opacity: 0.55 !important;
    transform: translate(-50%, -50%) scale(0.6) !important;
  }
}

.vl-global-click-feedback--pulse {
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(1.58);
  filter: blur(0.5px);
}

/* Static contact page (FormSubmit) */
.vl-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.vl-contact-form {
  width: 100%;
  max-width: 42rem;
  margin: 0;
}

.vl-contact-form__row {
  margin-bottom: 1.25rem;
}

.vl-contact-form__row--two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.35rem;
}

@media (min-width: 560px) {
  .vl-contact-form__row--two {
    grid-template-columns: 1fr 1fr;
  }
}

.vl-contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}

.vl-contact-form input[type="text"],
.vl-contact-form input[type="email"],
.vl-contact-form input[type="tel"],
.vl-contact-form input[type="password"],
.vl-contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  font: inherit;
  line-height: 1.4;
}

.vl-contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.vl-contact-form input:focus,
.vl-contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 70%, transparent);
  outline-offset: 1px;
}

body.vl-theme-middle .vl-contact-form input[type="text"],
body.vl-theme-middle .vl-contact-form input[type="email"],
body.vl-theme-middle .vl-contact-form input[type="tel"],
body.vl-theme-middle .vl-contact-form input[type="password"],
body.vl-theme-middle .vl-contact-form textarea {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.vl-contact-form__hint {
  margin: -0.25rem 0 1rem;
  font-size: 0.875rem;
  opacity: 0.82;
}

.vl-contact-form__actions .vl-liquid-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .vl-contact-form__actions .vl-liquid-btn {
    width: auto;
    align-self: flex-start;
  }
}

.footer__social-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
  opacity: 0.92;
}
.footer__social-ig:hover,
.footer__social-ig:focus-visible {
  opacity: 1;
}
.footer__social-ig-svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* Legal pages: lists and inline code aligned with site typography */
.text.vl-legal-prose ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.35rem;
}
.text.vl-legal-prose li {
  margin-bottom: 0.5rem;
}
.text.vl-legal-prose code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}
body.vl-theme-middle .text.vl-legal-prose code {
  background: rgba(0, 0, 0, 0.06);
}

/* Footer legal strip: allow Terms / Privacy / Cookies to wrap cleanly */
.footer__bottom nav.navigation--bottom ul.navigation__list {
  flex-wrap: wrap;
  row-gap: 0.25rem;
  column-gap: 0.65rem;
}

/* Back to top: shown only when scrolled near page bottom (see vl-back-to-top.js) */
.vl-back-to-top {
  box-sizing: border-box;
  position: fixed;
  z-index: 460;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem 0.45rem 0.55rem;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--color-accent, #ff6a2b) 55%, rgba(255, 255, 255, 0.35));
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent, #ff6a2b) 92%, #1a0505);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.12) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 0ms linear 220ms;
}

.vl-back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 0ms;
}

.vl-back-to-top:hover {
  filter: brightness(1.08);
}

.vl-back-to-top:focus {
  outline: none;
}

.vl-back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.vl-back-to-top__icon {
  display: block;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .vl-back-to-top {
    transition: none;
  }
}

@media (max-width: 480px) {
  .vl-back-to-top__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .vl-back-to-top {
    padding: 0.55rem;
    border-radius: 50%;
  }
}

/* Portfolio: Visit Agency chrome left, filter tabs on the original lower-right band. */
header.hero:has(> .vl-visit-agency--chrome) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 1rem;
}

header.hero:has(> .vl-visit-agency--chrome) > .hero__tabs {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

header.hero:has(> .vl-visit-agency--chrome) > .vl-visit-agency--chrome {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

header.hero:has(> .vl-visit-agency--chrome) > .hero__content {
  grid-column: 1 / -1;
}

body.page-template-page-archive-work-chronological
  header.hero:has(> .vl-visit-agency--chrome),
body.page-template-page-archive-work-alphabetical
  header.hero:has(> .vl-visit-agency--chrome),
body.post-type-archive-work.archive
  .archive-work
  > header.hero:has(> .vl-visit-agency--chrome) {
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

@media (max-width: 1023px) {
  header.hero:has(> .vl-visit-agency--chrome) {
    grid-template-columns: minmax(0, 1fr);
  }

  header.hero:has(> .vl-visit-agency--chrome) > .hero__tabs,
  header.hero:has(> .vl-visit-agency--chrome) > .vl-visit-agency--chrome {
    grid-column: 1;
    grid-row: auto;
  }

  body.page-template-page-archive-work-chronological
    header.hero:has(> .vl-visit-agency--chrome),
  body.page-template-page-archive-work-alphabetical
    header.hero:has(> .vl-visit-agency--chrome),
  body.post-type-archive-work.archive
    .archive-work
    > header.hero:has(> .vl-visit-agency--chrome) {
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem) !important;
  }
}

.vl-visit-agency {
  --st-orange: #ff6a2b;
  --font-primary: "voltis", sans-serif;
  --font-secondary: "jubilat-variable", "Iowan Old Style", Georgia, serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.15rem, 3.2vw, 2.4rem);
}

.vl-visit-agency--chrome {
  padding-top: clamp(0.85rem, 2vw, 1.35rem);
  padding-bottom: clamp(1.85rem, 4.2vw, 2.85rem);
}

.vl-visit-agency--results {
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 5.5vw, 4rem);
  border-top: 1px solid rgba(244, 239, 233, 0.14);
}

.vl-visit-agency__title,
.vl-visit-agency__title:hover,
.vl-visit-agency__title:focus-visible,
main h2.vl-visit-agency__title,
main h2.vl-visit-agency__title:hover,
main h2.vl-visit-agency__title:focus-visible {
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: var(--font-primary);
  font-weight: 600 !important;
  font-size: clamp(1.9rem, 4.2vw, 3.05rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  color: var(--color-text, #fff) !important;
  -webkit-text-fill-color: var(--color-text, #fff) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.vl-visit-agency--chrome .vl-visit-agency__title,
.vl-visit-agency--chrome .vl-visit-agency__title:hover,
main .vl-visit-agency--chrome h2.vl-visit-agency__title {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem) !important;
}

.vl-visit-agency .vl-home-trust__line {
  display: inline;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.vl-visit-agency .vl-home-trust__line--studio {
  font-family: var(--font-secondary);
  font-style: italic;
  font-weight: 450;
  letter-spacing: -0.04em;
  color: #ff6a2b;
  -webkit-text-fill-color: #ff6a2b;
}

.vl-visit-agency .vl-st-hero__char {
  display: inline-block;
  will-change: transform, opacity;
}

.vl-visit-agency .vl-home-trust__line--studio .vl-st-hero__char {
  color: #ff6a2b;
  -webkit-text-fill-color: #ff6a2b;
}

html.js .vl-visit-agency.is-pending .vl-st-hero__char {
  opacity: 0;
  transform: translateY(0.42em);
}

html.js .vl-visit-agency.is-in .vl-st-hero__char {
  animation: vl-home-trust-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html.js .vl-visit-agency.is-pending .vl-st-hero__char,
  html.js .vl-visit-agency.is-in .vl-st-hero__char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.vl-visit-agency__btn.vl-liquid-btn {
  --liquid-button-color: #ff6a2b;
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  justify-self: start;
  flex: 0 0 auto;
  margin-bottom: clamp(0.75rem, 2vw, 1.35rem);
}

/* Portfolio Websites filter: Agency featured-site row (thumbs + name + Website tag). */
.vl-portfolio-websites {
  --st-orange: #ff6a2b;
  --st-cream: var(--color-text, #f4efe9);
  --st-muted: color-mix(in srgb, var(--color-text, #f4efe9) 72%, transparent);
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(1.15rem, 3.2vw, 2.4rem) clamp(0.5rem, 2vw, 1rem);
}

.vl-portfolio-websites .vl-st-work-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.4vw, 2.1rem) clamp(0.95rem, 1.8vw, 1.5rem);
  max-width: 92rem;
  margin: 0 auto;
}

.vl-portfolio-websites .vl-st-work {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: visible;
  background: transparent;
  min-height: 0;
}

.vl-portfolio-websites .vl-st-work__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-text, #fff) 8%, transparent);
}

.vl-portfolio-websites .vl-st-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.vl-portfolio-websites .vl-st-work:hover .vl-st-work__media img,
.vl-portfolio-websites .vl-st-work:focus-visible .vl-st-work__media img {
  transform: scale(1.08);
}

.vl-portfolio-websites .vl-st-work__meta {
  padding: 0.85rem 0.1rem 0;
}

.vl-portfolio-websites .vl-st-work__tag {
  display: block;
  margin: 0 0 0.28rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-muted);
}

.vl-portfolio-websites .vl-st-work__name,
.vl-portfolio-websites .vl-st-work__name:hover,
.vl-portfolio-websites h3.vl-st-work__name {
  margin: 0 !important;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  color: var(--st-cream) !important;
  -webkit-text-fill-color: var(--st-cream) !important;
  background: none !important;
  background-image: none !important;
}

.vl-portfolio-websites .vl-st-work:hover .vl-st-work__name,
.vl-portfolio-websites .vl-st-work:focus-visible .vl-st-work__name {
  color: var(--st-orange) !important;
  -webkit-text-fill-color: var(--st-orange) !important;
}

@media (max-width: 980px) {
  .vl-portfolio-websites .vl-st-work-sites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vl-portfolio-websites .vl-st-work-sites {
    grid-template-columns: 1fr;
  }
}

