body[data-workflow-direction] #header-system .header-two-tier .top-tier > .header-language {
  display: inline-flex;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid #c7b8ae;
  background: #e9dfd8;
}

body[data-workflow-direction] #header-system .header-two-tier .header-language a {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-width: 36px;
  min-height: 42px;
  padding: 0;
  border: 1px solid transparent;
  color: #554b45;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

body[data-workflow-direction] #header-system .header-two-tier .header-language a[aria-current="page"] {
  border-color: #bdb0a6;
  background: #fff;
  color: #121212;
  box-shadow: 0 2px 2px rgb(36 21 10 / 15%);
}

body[data-workflow-direction] #header-system .header-two-tier .header-language a:hover {
  color: #121212;
  text-decoration: underline;
}

body[data-workflow-direction] #header-system .header-two-tier .header-language a:focus-visible {
  outline: 2px solid #121212;
  outline-offset: -3px;
}

.workflow-mobile-controls { display: none; }

@media (max-width: 767px) {
  body[data-workflow-direction] #header-system {
    background: rgba(255, 248, 242, .87);
  }
  body[data-workflow-direction] #header-system .site-header.header-two-tier .top-tier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    place-items: center;
    gap: 4px 8px;
  }

  body[data-workflow-direction] #header-system .header-two-tier .top-tier > .brand {
    grid-column: 1 / -1;
    width: clamp(192px, 55vw, 246px);
    min-width: 0;
    max-width: 100%;
    margin: 0;
  }

  body[data-workflow-direction] #header-system .header-two-tier .top-tier > .brand img {
    width: 100%;
    height: auto;
  }

  body[data-workflow-direction] #header-system .header-two-tier .top-tier > .mobile-menu {
    grid-area: 2 / 2;
    justify-self: center;
    min-width: 54px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 0;
    font-size: 0;
  }

  body[data-workflow-direction] #header-system .header-two-tier .top-tier > .header-language {
    grid-area: 2 / 3;
    justify-self: end;
    margin: 0;
    padding: 1px;
  }

  body[data-workflow-direction] #header-system .header-two-tier .header-language a {
    min-width: 44px;
    min-height: 44px;
    font-size: .75rem;
  }

  body[data-workflow-direction] #header-system .header-two-tier .mobile-menu .menu-symbol {
    width: 28px;
    gap: 5px;
  }

  body[data-workflow-direction] #header-system .header-two-tier .mobile-menu .menu-symbol i,
  body[data-workflow-direction]:not([data-workflow-refinements]) #header-system .mobile-menu .menu-symbol::after {
    display: block;
    width: 100%;
    height: 3px;
    background: currentColor;
    content: "";
  }

  body[data-workflow-direction] #site-main #hero-a,
  body[data-workflow-direction] #site-main #hero-a #hero {
    background: #fff8f2 !important;
    color: #0a0a0a !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero {
    position: relative;
    isolation: isolate;
    display: block !important;
    min-height: 0 !important;
    padding: 40px 24px 36px !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-art {
    position: absolute !important;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: clamp(260px, 105vw, 410px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    background: transparent !important;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-art video[data-workflow-asset="hero"] {
    inset: 49% auto auto 50% !important;
    width: 116% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    opacity: .38 !important;
    object-fit: contain !important;
    object-position: center;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-content {
    text-align: left;
    padding-top: 30px !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero #hero-kicker,
  body[data-workflow-direction] #site-main #hero-a #hero #hero-body {
    color: #0a0a0a !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero #hero-headline {
    margin: 18px 0 20px !important;
    color: #0a0a0a !important;
    font-size: clamp(38px, 14vw, 68px) !important;
    line-height: .96 !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero #hero-headline .hero-line {
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  body[data-workflow-direction] #site-main #hero-a #hero #hero-headline .hero-line:not(.gradient) {
    -webkit-text-fill-color: #0a0a0a !important;
    color: #0a0a0a !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero #hero-body {
    max-width: 100% !important;
    line-height: 1.6 !important;
  }

  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a,
  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero {
    background: #0b1115 !important;
    color: #fff8f2 !important;
  }

  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero #hero-kicker,
  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero #hero-body,
  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero #hero-headline,
  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero .hero-baseline {
    color: #fff8f2 !important;
  }

  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero #hero-headline .hero-line:not(.gradient) {
    -webkit-text-fill-color: #fff8f2 !important;
    color: #fff8f2 !important;
  }

  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero .hero-art video[data-workflow-asset="hero"] {
    filter: none !important;
    mix-blend-mode: lighten !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-actions .btn {
    justify-content: center;
    text-align: center;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-actions .btn:not(.btn-primary) {
    color: #0a0a0a !important;
    border-color: #0a0a0a !important;
  }

  body[data-workflow-direction]:not([data-workflow-refinements]) #site-main #hero-a #hero .hero-actions .btn:not(.btn-primary) {
    color: #fff8f2 !important;
    border-color: #93a1a9 !important;
  }

  body[data-workflow-direction] #site-main #hero-a #hero .hero-baseline {
    color: #414141 !important;
    margin-top: 18px !important;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-examples {
    padding-block: 56px !important;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .section-heading,
  body[data-workflow-direction] #site-main #case-evidence-b .section-heading .lead {
    text-align: start;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-sequence-viewport,
  body[data-workflow-direction] #site-main #case-evidence-b .workflow-sequence-track {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: auto;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-example-single .industry-film {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 calc((100% - 100vw) / 2) !important;
    aspect-ratio: 8 / 5 !important;
    overflow: clip;
    mix-blend-mode: normal;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-example-single .industry-film video {
    display: block;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    mix-blend-mode: normal !important;
    mask-image: linear-gradient(transparent, #000 13%, #000 78%, transparent) !important;
    -webkit-mask-image: linear-gradient(transparent, #000 13%, #000 78%, transparent) !important;
    mask-composite: add;
  }

  body[data-workflow-direction="selected-v6"] #case-evidence-b [data-workflow-cards] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #case-evidence-b [data-workflow-detail][hidden] {
    display: none !important;
  }

  body[data-workflow-direction] #site-main #case-evidence-b [data-workflow-detail][open]:not([hidden]) {
    display: block !important;
    height: auto !important;
    min-height: var(--workflow-card-height, 0px) !important;
  }

  body[data-workflow-direction] #site-main #case-evidence-b [data-workflow-detail][open] > p {
    margin-top: 8px;
    animation: none;
  }

  #case-evidence-b .workflow-mobile-controls:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    color: #fff8f2;
  }

  #case-evidence-b .workflow-mobile-controls button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid currentColor;
    background: transparent;
    color: #40e5eb;
  }

  #case-evidence-b .workflow-mobile-controls button:disabled {
    opacity: .45;
  }

  body[data-workflow-direction] #site-main #assessment-a .assessment-underlay {
    padding-top: 20px !important;
    gap: 8px !important;
  }

  body[data-workflow-direction] #site-main #assessment-a .assessment-underlay .assessment-underlay-media {
    grid-area: 1 / 1;
    width: calc(100% + 36px) !important;
    max-width: 680px;
    min-height: 0 !important;
    aspect-ratio: 8 / 5 !important;
    justify-self: center;
    margin: 0 !important;
    background: transparent !important;
  }

  body[data-workflow-direction] #site-main #assessment-a .assessment-underlay .assessment-underlay-media video {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
  }

  body[data-workflow-direction] #site-main #assessment-a .assessment-underlay-copy {
    grid-area: 2 / 1;
  }

  body[data-selected-sections-v6] #site-main .assessment-receipts-v6 .receipts-v6-content .receipts-v6-head,
  body[data-selected-sections-v6] #site-main #workflow-receive .receipts-v6-head {
    margin: 0 0 24px;
  }

  body[data-selected-sections-v6] #site-main .assessment-receipts-v6 .receipts-v6-content .receipts-v6-row {
    margin-top: 0;
  }

  body[data-selected-sections-v6] #site-main .assessment-receipts-v6::after,
  body[data-selected-sections-v6] #site-main #workflow-receive .assessment-receipts-v6::after {
    background: linear-gradient(180deg, #080d1259, #080d1280 42%, #080d12ee 88%);
  }
}


/* Match the wall and floor to the visible rows of the assessment footage. */
body[data-workflow-direction] #site-main #assessment-a .assessment-underlay {
  background: var(--assessment-studio, #091014) !important;
}

body[data-workflow-direction] #site-main #assessment-a .assessment-underlay .assessment-underlay-media {
  background: transparent !important;
}

body[data-workflow-direction] #site-main #assessment-a .assessment-underlay .assessment-underlay-media video {
  mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent) !important;
  mask-composite: intersect !important;
  mix-blend-mode: normal !important;
}

/* Match the landing page's preferred-day tiles. */
body[data-workflow-direction] #site-main #consultation .preferred-days button {
  border-color: #98aeb3;
  background: linear-gradient(150deg, #fff 25%, #eaf8f7);
  box-shadow: inset 0 2px 0 #47d4dc, 0 2px 4px #17252d13;
}

body[data-workflow-direction] #site-main #consultation .preferred-days button:hover,
body[data-workflow-direction] #site-main #consultation .preferred-days button[aria-checked="true"],
body[data-workflow-direction] #site-main #consultation .preferred-days button[aria-pressed="true"] {
  border-color: #087b83;
  background: #dbf6f4;
}


.industry-workflow-diagram-vertical {
  position: relative;
  width: min(100%, 280px);
  margin: 24px 0 0;
}

.industry-workflow-diagram-vertical img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(.84) contrast(1.2) saturate(1.08);
}

@media (prefers-reduced-motion: no-preference) {
  .industry-workflow-diagram-vertical::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("./industry-workflow-diagram-transparent.webp") center / 100% 100% no-repeat;
    filter: brightness(1.45) saturate(1.14);
    mix-blend-mode: screen;
    mask-image: linear-gradient(to bottom, transparent 30%, #000 49%, transparent 68%);
    mask-size: 100% 155%;
    mask-repeat: no-repeat;
    animation: industry-workflow-traveling-light 6s linear infinite;
  }
}

@keyframes industry-workflow-traveling-light {
  0% { mask-position: 0 155%; opacity: 0; }
  10% { opacity: .65; }
  76% { opacity: .65; }
  89%, 100% { mask-position: 0 -65%; opacity: 0; }
}


@media (max-width: 767px) {
  body[data-workflow-direction] #site-main #case-evidence-b .workflow-industry-routes:has(.industry-workflow-diagram-vertical) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
  }

  .workflow-industry-routes:has(.industry-workflow-diagram-vertical) > div:first-child {
    display: contents;
  }

  .workflow-industry-routes:has(.industry-workflow-diagram-vertical) > div:first-child > :is(.eyebrow, h2) {
    grid-column: 1 / -1;
  }

  .workflow-industry-routes .industry-workflow-diagram-vertical {
    grid-area: 3 / 1;
    align-self: stretch;
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .workflow-industry-routes .industry-workflow-diagram-vertical img {
    position: absolute;
    inset: 0 auto;
    left: 50%;
    width: auto;
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
  }

  .workflow-industry-routes .industry-workflow-diagram-vertical::after {
    background-size: auto 100%;
  }

  .workflow-industry-routes:has(.industry-workflow-diagram-vertical) > .routes {
    grid-area: 3 / 2;
    min-width: 0;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-industry-routes:has(.industry-workflow-diagram-vertical) .route {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr) 13px;
    gap: 6px;
    min-height: 44px !important;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-industry-routes:has(.industry-workflow-diagram-vertical) .route :is(.num, h3) {
    font-size: clamp(.9rem, 4vw, 1.125rem) !important;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  body[data-workflow-direction] #site-main #case-evidence-b .workflow-industry-routes:has(.industry-workflow-diagram-vertical) .route svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 767px) {
  .workflow-industry-routes:has(.industry-workflow-diagram-vertical) .route .num { white-space: nowrap; }
}
