/* ============================================================
   VTI Industry 2026 — sections the homepage has no counterpart for.
   Ported from the static preview (Figma "Template Industry" / Manufacturing,
   1920 frame with 1440 content; mobile frame 375).
   Breakpoints: ≥1488 exact preview · 700–1487 fallback · ≤699 mobile frame.

   Built on vti-home (loaded first): every section root also carries `vti-home`,
   which brings the tokens, theme resets and the shared atoms (__wrap, __head,
   __eyebrow, __title, __lead, __btn, __linkbtn). Clients, case studies, news,
   insights and the contact form are vti-home sections and have no rules here.
   ============================================================ */

/* Section: base */
/* --vi-* are aliases of the vti-home tokens (plus the few colours only this
   design uses), so the section rules below read the shared palette and the
   Theme Options site width (--vh-container). */
.vti-industry {
    --vi-container: var(--vh-container);
    --vi-gutter: 24px;
    --vi-text: var(--vh-text);
    --vi-text-2: var(--vh-muted);
    --vi-text-3: #667085;
    --vi-heading-dark: #18181b;
    --vi-brand: var(--vh-blue);
    --vi-brand-hover: var(--vh-blue-hover);
    --vi-badge: var(--vh-brand);
    --vi-badge-bg: var(--vh-soft);
    --vi-badge-border: var(--vh-line-soft);
    --vi-card: #f2f5fe;
    --vi-muted: var(--vh-gray);
    --vi-line: var(--vh-line);
    --vi-divider: #d8e9ff;

    -webkit-font-smoothing: antialiased;
}

/* Resets this design needs on top of the vti-home ones. Headings other than the
   shared title take their size from the section rules below. */
.vti-industry :where(h1, h2, h3, h4, h5, h6):where(:not(.vti-home__title)) {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.vti-industry :where(button) {
    line-height: inherit;
}

.vti-industry :where(img) {
    display: block;
}

/* Section heads in #18181b instead of the shared --vh-ink. */
.vti-industry .vti-industry__title--dark {
    color: var(--vi-heading-dark);
}

/* ---------- bullet list ---------- */
.vti-industry .vti-industry__dots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vti-industry .vti-industry__dots li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    color: var(--vi-text-2);
}

.vti-industry .vti-industry__dots li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vi-text);
}

@media (max-width: 699px) {
    .vti-industry .vti-industry__dots li {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Japanese/Korean copy: break at phrase/word boundaries instead of between any two
   characters, so titles do not split a word or leave a lone "か？" on the last line. */
.vti-industry:lang(ja) {
    word-break: auto-phrase;
}

.vti-industry:lang(ko) {
    word-break: keep-all;
}

/* Section: solutions. No bottom padding: VtiSvpServices right below brings its own
   top padding, otherwise the gap doubles. */
.vti-industry-solutions {
    padding: 120px 0 0;
}

.vti-industry-solutions .vti-home__head {
    margin-bottom: 64px;
}

.vti-industry-solutions .vti-industry-solutions__grid {
    display: grid;
    grid-template-columns: repeat(var(--vi-solutions-cols, 4), minmax(0, 1fr));
    gap: 24px;
}

/* Desktop (where "Cards per row" applies): every row as tall as the tallest one, so
   all cards share one height. Tablet/mobile keep auto rows, or a short card would
   stretch to the longest card of the whole grid. */
@media (min-width: 1100px) {
    .vti-industry-solutions .vti-industry-solutions__grid {
        grid-auto-rows: 1fr;
    }
}

/* UX Builder wraps every child in a .uxb-wrapper; without this the wrapper becomes
   the flex/grid item and the card sizes (and :nth-child borders) break in the editor. */
.vti-industry-solutions .vti-industry-solutions__grid > .uxb-wrapper {
    display: contents;
}

.vti-industry-solutions .vti-industry-solutions__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 32px;
    border-radius: 8px;
    background: var(--vi-solutions-card-bg, var(--vi-card));
    /* Clips the hover glow at the card edge (overflow: hidden would also cut the stroke). */
    clip-path: inset(0 round 8px);
}

/* Hover state of the AI service page's "AI in action" cards: gradient stroke
   (::before) and top-left glow (::after). Keyboard focus inside a card (its title
   link) does the same. */
.vti-industry-solutions__card::before,
.vti-industry-solutions__card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.vti-industry-solutions__card::before {
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(315deg, #1947ff, #429aff);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.vti-industry-solutions__card::after {
    left: -60px;
    top: -150px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(7, 106, 210, .1), rgba(7, 106, 210, 0));
}

.vti-industry-solutions__card:focus-within::before,
.vti-industry-solutions__card:focus-within::after {
    opacity: 1;
}

/* Content above the ::before/::after layers. */
.vti-industry-solutions__card > * {
    position: relative;
}

@media (hover: hover) {
    .vti-industry-solutions__card:hover::before,
    .vti-industry-solutions__card:hover::after {
        opacity: 1;
    }
}

.vti-industry-solutions .vti-industry-solutions__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--vi-solutions-icon-bg, #fff);
}

.vti-industry-solutions .vti-industry-solutions__icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.vti-industry-solutions .vti-industry-solutions__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vti-industry-solutions .vti-industry-solutions__card-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--vi-text);
}

.vti-industry-solutions .vti-industry-solutions__card-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

/* Only a linked title changes colour (a plain one has no link). */
.vti-industry-solutions .vti-industry-solutions__card-link:hover,
.vti-industry-solutions .vti-industry-solutions__card-link:focus-visible {
    color: var(--vh-blue);
}

.vti-industry-solutions .vti-industry-solutions__card-link:focus-visible {
    outline: 2px solid var(--vh-blue);
    outline-offset: 2px;
}

.vti-industry-solutions .vti-industry-solutions__card-text {
    font-size: 16px;
    line-height: 24px;
    color: var(--vi-text-2);
}

@media (min-width: 700px) and (max-width: 1099px) {
    .vti-industry-solutions .vti-industry-solutions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: Figma 2865:30482. */
@media (max-width: 699px) {
    .vti-industry-solutions {
        padding: 60px 0 0;
    }

    .vti-industry-solutions .vti-home__head {
        margin-bottom: 40px;
    }

    .vti-industry-solutions .vti-industry-solutions__grid {
        grid-template-columns: minmax(0, 1fr); /* 1fr would grow to its content min-content */
        gap: 20px;
    }

    .vti-industry-solutions .vti-industry-solutions__card {
        gap: 20px;
        padding: 20px;
    }

    .vti-industry-solutions .vti-industry-solutions__card-title {
        font-size: 18px;
        line-height: 28px;
    }

    .vti-industry-solutions .vti-industry-solutions__card-text {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vti-industry-solutions__card::before,
    .vti-industry-solutions__card::after,
    .vti-industry-solutions .vti-industry-solutions__card-link {
        transition: none;
    }
}
/* Section: sub-industries. No top padding: VtiSvpServices right above brings its
   own bottom padding, otherwise the gap doubles to 240. */
.vti-industry-sub-industries {
    padding: 0 0 120px;
}

/* The scroll bar is placed against the section (right 8px, top 297px = the
   design's 417 minus the dropped 120 top padding): the wrap and body must not
   become its containing block. */
.vti-industry-sub-industries .vti-home__wrap {
    position: static;
}

.vti-industry-sub-industries .vti-home__head {
    margin-bottom: 64px;
}

.vti-industry.vti-industry-sub-industries .vti-home__lead {
    color: #52525b;
}

.vti-industry-sub-industries__body {
    display: flex;
    gap: 80px;
    height: 650px;
    overflow: hidden;
}

.vti-industry-sub-industries__panels {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vti-industry-sub-industries__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    animation: vti-industry-sub-industries-in 300ms ease-in-out;
}

/* display:flex above would otherwise override the hidden attribute. */
.vti-industry-sub-industries__panel[hidden] {
    display: none;
}

@keyframes vti-industry-sub-industries-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.vti-industry-sub-industries__media {
    display: block;
    flex: none;
    width: 100%;
    height: 330px;
    overflow: hidden;
    border-radius: 12px;
}

.vti-industry-sub-industries .vti-industry-sub-industries__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vti-industry-sub-industries__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.vti-industry-sub-industries .vti-industry-sub-industries__title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--vi-text);
}

.vti-industry-sub-industries .vti-industry-sub-industries__desc {
    margin-top: -12px;
    font-size: 16px;
    line-height: 24px;
    color: var(--vi-text-2);
}

/* --vi-tab-anchor: where the active tab's top sits in this column (design y=286);
   the script reads it, so a breakpoint can move it here. Unset = tab centred. */
.vti-industry-sub-industries__scroll {
    --vi-tab-anchor: 286px;
    position: relative;
    flex: none;
    width: 348px;
    height: 100%;
    overflow: hidden;
}

/* No JS: the list is shifted so the first tab sits at the anchor. With JS the
   module script sets --vi-shift: 0 and places every tab on its own (--vi-tab-y,
   from the layout, so label length/locale need no JS change). */
.vti-industry-sub-industries__tabs {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 348px;
    transform: translateY(var(--vi-shift, 286px));
}

.vti-industry-sub-industries .vti-industry-sub-industries__tab {
    text-align: left;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -.5px;
    color: var(--vi-muted);
    transform: translateY(var(--vi-tab-y, 0px));
    transition: color 300ms ease-in-out, transform 300ms ease-in-out, opacity 300ms ease-in-out, visibility 0s;
}

/* Roulette (js/vti-industry.js): tabs too far from the open one fade out. */
.vti-industry-sub-industries .vti-industry-sub-industries__tab.is-far {
    visibility: hidden;
    opacity: 0;
    transition: color 300ms ease-in-out, transform 300ms ease-in-out, opacity 300ms ease-in-out, visibility 0s 300ms;
}

/* A tab wrapping round the loop jumps to the other end instead of sliding across
   the list, and fades in there when it lands in view. */
.vti-industry-sub-industries .vti-industry-sub-industries__tab.is-wrapping {
    transition: opacity 300ms ease-in-out;
}

.vti-industry-sub-industries .vti-industry-sub-industries__tab[aria-selected="true"] {
    color: var(--vi-text);
}

.vti-industry-sub-industries__fade {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 224px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

/* Moves with the selected tab: the script only sets --vi-tab-index (0-based); the
   design steps the bar --vi-bar-step per tab for the first --vi-bar-steps tabs
   (design top 417 → 447 → 477, minus the 120 top padding). Tune the numbers per breakpoint here, not in JS. */
.vti-industry-sub-industries__bar {
    --vi-bar-step: 30px;
    --vi-bar-steps: 2;
    position: absolute;
    right: 8px;
    top: 297px;
    width: 6px;
    height: 154px;
    border-radius: 9999px;
    background: #1d2939;
    opacity: .15;
    transform: translateY(calc(min(var(--vi-tab-index, 0), var(--vi-bar-steps)) * var(--vi-bar-step)));
    transition: transform 300ms ease-in-out;
}

/* Force scroll (desktop, no reduced motion): the pin sticks inside the track while
   the page scrolls through the first N tabs. The script sets --vi-fs-height (pin +
   N steps), --vi-fs-top, --vi-bar-top (the bar's top inside the pin) and the
   is-forced class. */
@media (min-width: 1100px) {
    .vti-industry-sub-industries__track.is-forced {
        min-height: var(--vi-fs-height, 0);
    }

    .vti-industry-sub-industries__track.is-forced .vti-industry-sub-industries__pin {
        position: sticky;
        top: var(--vi-fs-top, 96px);
    }

    .vti-industry-sub-industries__track.is-forced .vti-industry-sub-industries__bar {
        top: var(--vi-bar-top, 0px);
    }
}

@media (hover: hover) {
    .vti-industry-sub-industries .vti-industry-sub-industries__tab:not([aria-selected="true"]):hover {
        color: var(--vi-text-3);
    }
}

@media (min-width: 700px) and (max-width: 1487px) {
    .vti-industry-sub-industries__body {
        height: auto;
        min-height: 650px;
    }

    .vti-industry-sub-industries__scroll {
        height: auto;
        align-self: stretch;
    }
}

@media (min-width: 700px) and (max-width: 1099px) {
    .vti-industry-sub-industries__body {
        gap: 40px;
    }

    .vti-industry-sub-industries__scroll,
    .vti-industry-sub-industries__tabs {
        width: 260px;
    }

    .vti-industry-sub-industries .vti-industry-sub-industries__tab {
        font-size: 28px;
        line-height: 36px;
    }

    .vti-industry-sub-industries__bar {
        display: none;
    }
}

@media (max-width: 699px) {
    .vti-industry-sub-industries {
        padding: 0 0 60px;
    }

    .vti-industry-sub-industries .vti-home__head {
        align-items: center;
        margin-bottom: 16px;
        text-align: center;
    }

    .vti-industry-sub-industries__body {
        flex-direction: column;
        gap: 16px;
        height: auto;
        overflow: visible;
    }

    /* One horizontal row of pills above the panel, bleeding into the gutters. */
    .vti-industry-sub-industries__scroll {
        order: -1;
        width: auto;
        height: 28px;
        margin-inline: calc(-1 * var(--vi-gutter));
        padding-inline: var(--vi-gutter);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .vti-industry-sub-industries__scroll::-webkit-scrollbar {
        display: none;
    }

    .vti-industry-sub-industries__tabs {
        flex-direction: row;
        gap: 0;
        width: max-content;
        transform: none;
    }

    .vti-industry-sub-industries .vti-industry-sub-industries__tab {
        flex: none;
        padding: 4px 16px;
        border-radius: 8px;
        background: #fff;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0;
        white-space: nowrap;
        transform: none;
    }

    .vti-industry-sub-industries__fade,
    .vti-industry-sub-industries__bar {
        display: none;
    }

    .vti-industry-sub-industries__panel {
        gap: 12px;
    }

    .vti-industry-sub-industries__media {
        height: 106px;
    }

    .vti-industry-sub-industries__text {
        gap: 20px;
    }

    .vti-industry-sub-industries .vti-industry-sub-industries__title {
        font-size: 24px;
        line-height: 32px;
    }

    .vti-industry-sub-industries .vti-industry-sub-industries__desc {
        margin-top: 0;
        font-size: 14px;
        line-height: 20px;
    }

    .vti-industry.vti-industry-sub-industries .vti-industry__dots {
        gap: 12px;
    }

    .vti-industry.vti-industry-sub-industries .vti-industry__dots li {
        font-size: 16px;
        line-height: 24px;
    }

    .vti-industry.vti-industry-sub-industries .vti-industry__dots li::before {
        background: var(--vi-text-2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vti-industry-sub-industries__panel {
        animation: none;
    }

    .vti-industry-sub-industries .vti-industry-sub-industries__tab,
    .vti-industry-sub-industries .vti-industry-sub-industries__tab.is-far,
    .vti-industry-sub-industries__bar {
        transition: none;
    }
}
/* Section: cta-banner */
.vti-industry-cta-banner {
    padding-bottom: 120px;
}

.vti-industry-cta-banner .vti-industry-cta-banner__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 146px;
    padding: 80px;
    border-radius: 20px;
    /* Picked "Background color" (inline var); unset keeps it transparent. */
    background-color: var(--vi-cta-banner-bg, transparent);
    overflow: hidden;
}

.vti-industry-cta-banner .vti-industry-cta-banner__bg {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

/* The demo image is pre-cropped to the 1440×308 desktop card; cover fills any size. */
.vti-industry-cta-banner .vti-industry-cta-banner__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.vti-industry-cta-banner .vti-industry-cta-banner__title {
    position: relative;
    flex: none;
    width: 830px;
    max-width: 100%;
    font-size: 48px;
    line-height: 68px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--vi-text);
}

.vti-industry-cta-banner .vti-industry-cta-banner__side {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.vti-industry-cta-banner .vti-industry-cta-banner__text {
    text-align: right;
    font-size: 18px;
    line-height: 28px;
    color: var(--vi-text-2);
}

@media (min-width: 700px) and (max-width: 1487px) {
    .vti-industry-cta-banner .vti-industry-cta-banner__card {
        gap: 64px;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__title {
        flex: 1;
        width: auto;
    }
}

@media (min-width: 700px) and (max-width: 1099px) {
    .vti-industry-cta-banner .vti-industry-cta-banner__card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 48px;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__side {
        align-items: flex-start;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__text {
        text-align: left;
    }
}

/* Mobile: column layout from the Figma 375 frame. */
@media (max-width: 699px) {
    .vti-industry-cta-banner {
        padding-bottom: 60px;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 40px 24px;
    }

    /* The preview zooms into a narrow strip around 40% of the source width. */
    .vti-industry-cta-banner .vti-industry-cta-banner__img {
        object-position: 37% 50%;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__title {
        width: auto;
        font-size: 24px;
        line-height: 32px;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__side {
        align-items: flex-start;
    }

    .vti-industry-cta-banner .vti-industry-cta-banner__text {
        text-align: left;
    }
}
/* Section: delivery. No bottom padding: VtiHomeNews right below brings its own
   top padding (--vh-pad), otherwise the gap doubles to 240. */
.vti-industry-delivery {
    padding-bottom: 0;
}

.vti-industry-delivery .vti-home__head {
    margin-bottom: 64px;
}

.vti-industry-delivery .vti-industry-delivery__body {
    position: relative;
    display: flex;
    gap: 146px;
    height: 708px;
    overflow: hidden;
}

.vti-industry-delivery .vti-industry-delivery__media {
    position: relative;
    display: block;
    flex: none;
    width: 708px;
    height: 708px;
    overflow: hidden;
    border-radius: 20px;
}

/* One image per step, stacked; the open step's one (is-active) fades in. */
.vti-industry-delivery .vti-industry-delivery__img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.vti-industry-delivery .vti-industry-delivery__img.is-active {
    opacity: 1;
}

/* Scroll through the steps (desktop, no reduced motion): the body sticks inside
   the track while the page scrolls one slice per step. The script sets
   --vi-fs-height (body + one slice per step), --vi-fs-top and is-forced. */
@media (min-width: 1100px) {
    .vti-industry-delivery__track.is-forced {
        min-height: var(--vi-fs-height, 0);
    }

    .vti-industry-delivery__track.is-forced .vti-industry-delivery__body {
        position: sticky;
        top: var(--vi-fs-top, 96px);
    }
}

.vti-industry-delivery .vti-industry-delivery__steps {
    flex: none;
    width: 586px;
    padding-top: 100px;
}

/* The module script sets --vi-step-shift (−active step offsetTop) on the list. */
.vti-industry-delivery .vti-industry-delivery__list {
    display: flex;
    flex-direction: column;
    gap: 140px;
    transform: translateY(var(--vi-step-shift, 0px));
    transition: transform 300ms ease-in-out;
}

.vti-industry-delivery .vti-industry-delivery__step {
    position: relative;
    display: flex;
    gap: 20px;
    opacity: .5;
    transition: opacity 300ms ease-in-out;
}

.vti-industry-delivery .vti-industry-delivery__step--active {
    opacity: 1;
}

/* Connector line from this icon down to the next one. */
.vti-industry-delivery .vti-industry-delivery__step::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 76px;
    bottom: -120px;
    width: 2px;
    background: #dee8ff;
}

/* No step after the last one, so no connector (as the service pillar Ways steps). */
.vti-industry-delivery .vti-industry-delivery__step:last-child::after {
    display: none;
}

.vti-industry-delivery .vti-industry-delivery__step-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--vi-badge-border);
    border-radius: 50%;
    background: var(--vi-badge-bg);
}

.vti-industry-delivery .vti-industry-delivery__step-icon img {
    width: 20px;
    height: 20px;
}

.vti-industry-delivery .vti-industry-delivery__step-body {
    flex: 1;
    min-width: 0;
}

.vti-industry-delivery .vti-industry-delivery__step-kicker {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--vi-badge);
}

.vti-industry-delivery .vti-industry-delivery__step-title {
    margin-top: 4px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--vi-text);
}

/* The title is the step's button: theme button styles reset, and its ::before
   stretches over the whole step so a click anywhere on the step opens it. */
.vti-industry-delivery .vti-industry-delivery__step-btn {
    position: static; /* The stretched ::before must reach the step, not the button. */
    display: inline;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: left;
    text-transform: none;
    color: inherit;
    cursor: pointer;
}

.vti-industry-delivery .vti-industry-delivery__step-btn::before {
    content: "";
    position: absolute;
    inset: 0;
}

.vti-industry-delivery .vti-industry-delivery__step-btn:focus-visible {
    outline: 2px solid var(--vi-badge);
    outline-offset: 4px;
}

/* A linked title: only the link turns link blue (a plain title keeps its colour).
   A click elsewhere on the step still opens it (module script). */
.vti-industry-delivery .vti-industry-delivery__step-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.vti-industry-delivery .vti-industry-delivery__step-link:hover,
.vti-industry-delivery .vti-industry-delivery__step-link:focus-visible {
    color: var(--vh-blue);
}

.vti-industry-delivery .vti-industry-delivery__step-link:focus-visible {
    outline: 2px solid var(--vh-blue);
    outline-offset: 4px;
}

.vti-industry-delivery .vti-industry-delivery__step:has(.vti-industry-delivery__step-link) {
    cursor: pointer;
}

.vti-industry-delivery .vti-industry-delivery__step-list {
    margin-top: 20px;
}

.vti-industry-delivery .vti-industry-delivery__fade {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100% - 708px);
    height: 105px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

/* ---------- fallback 700–1487 ---------- */
@media (min-width: 700px) and (max-width: 1487px) {
    .vti-industry-delivery .vti-industry-delivery__body {
        gap: 64px;
    }

    .vti-industry-delivery .vti-industry-delivery__media {
        width: min(708px, 50%);
    }

    .vti-industry-delivery .vti-industry-delivery__steps {
        flex: 1;
        width: auto;
    }

    .vti-industry-delivery .vti-industry-delivery__fade {
        width: 50%;
    }
}

/* ---------- tablet 700–1099: every step visible, no stepping ---------- */
@media (min-width: 700px) and (max-width: 1099px) {
    .vti-industry-delivery .vti-industry-delivery__body {
        flex-direction: column;
        gap: 32px;
        height: auto;
    }

    /* Every step is open here: the step buttons do nothing visible. */
    .vti-industry-delivery .vti-industry-delivery__step-btn {
        cursor: default;
    }

    .vti-industry-delivery .vti-industry-delivery__media {
        width: 100%;
        height: 420px;
    }

    .vti-industry-delivery .vti-industry-delivery__steps {
        padding-top: 0;
    }

    /* The script only sets the --vi-step-shift var, so this needs no !important. */
    .vti-industry-delivery .vti-industry-delivery__list {
        gap: 40px;
        transform: none;
    }

    .vti-industry-delivery .vti-industry-delivery__step {
        opacity: 1;
    }

    .vti-industry-delivery .vti-industry-delivery__step::after {
        bottom: -20px;
    }

    .vti-industry-delivery .vti-industry-delivery__fade {
        display: none;
    }
}

/* ---------- mobile ≤699 (Figma 2865:30627) ---------- */
@media (max-width: 699px) {
    .vti-industry-delivery {
        padding: 60px 0 0;
    }

    .vti-industry-delivery .vti-home__head {
        margin-bottom: 40px;
    }

    .vti-industry-delivery .vti-industry-delivery__body {
        flex-direction: column;
        gap: 16px;
        height: 775px;
    }

    .vti-industry-delivery .vti-industry-delivery__media {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 12px;
    }

    .vti-industry-delivery .vti-industry-delivery__steps {
        width: 100%;
        padding: 16px 0 20px;
    }

    .vti-industry-delivery .vti-industry-delivery__list {
        gap: 24px;
    }

    .vti-industry-delivery .vti-industry-delivery__step::after {
        bottom: -4px;
    }

    .vti-industry-delivery .vti-industry-delivery__step-kicker {
        display: none;
    }

    .vti-industry-delivery .vti-industry-delivery__step-title {
        margin-top: 16px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    .vti-industry-delivery .vti-industry-delivery__step-list {
        margin-top: 28px;
    }

    .vti-industry-delivery .vti-industry-delivery__fade {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vti-industry-delivery .vti-industry-delivery__list,
    .vti-industry-delivery .vti-industry-delivery__step,
    .vti-industry-delivery .vti-industry-delivery__img,
    .vti-industry-delivery .vti-industry-delivery__step-link {
        transition: none;
    }
}
