/*
 * /homepage-v4 — Figma KGlgETYGN6qQK4klEAORlL "Homepage v4" 13712:30137 (desktop 1366), states 13712:31090.
 * Everything is scoped to .hv4-*. Sizes and colours are the Figma values; the ≤991 / ≤767 rules are ours (no mobile
 * frame in Figma). Spec: docs/superpowers/specs/2026-11-04-homepage-v4-design.md
 */

.hv4-page {
    --hv4-ink: #101518;
    --hv4-ink-800: #151c1f;
    --hv4-text: #232e33;
    --hv4-text-500: #263238;
    --hv4-muted: #6e767a;
    --hv4-line: #bcbfc1;
    --hv4-grey-50: #e9ebeb;
    --hv4-grey-75: #dfdfdf;
    --hv4-grey-25: #f3f5f5;
    --hv4-teal: #00acc1;
    --hv4-teal-dark: #0496a8;
    --hv4-teal-50: #e6f7f9;
    /* Content width of the 1366 frame (2 × 44px gutters), as the platform box; wider screens centre it. */
    --hv4-container: 1278px;
    /* Every left-aligned block starts on the container's edge: one line down the page (Figma's 44/56/62/88/144px
       gutters ended up to 100px apart once centred on wide screens; user, 2026-11-05). */
    font-family: 'Poppins', sans-serif;
    color: var(--hv4-text);
    background: #fff;
    overflow-x: hidden;
}

.hv4-page *,
.hv4-page *::before,
.hv4-page *::after {
    box-sizing: border-box;
}

/* Beats the site's global h1–h3/p rules (margins, line-height); the weight reset stays at zero specificity
   (:where) so the .hv4-* classes that set a weight still win. */
.hv4-page h1,
.hv4-page h2,
.hv4-page h3,
.hv4-page p,
.hv4-page ul,
.hv4-page figure,
.hv4-page blockquote,
.hv4-page figcaption {
    margin: 0;
    padding: 0;
    line-height: normal;
}

:where(.hv4-page) :where(h1, h2, h3, p) {
    font-weight: 400;
}

:where(.hv4-page) ul {
    list-style: none;
}

.hv4-page img {
    max-width: none;
}

/* Sections are 24px apart (Figma body gap); the SITE and contact blocks sit flush under the Academy band. */
.hv4-page > section + section {
    margin-top: 24px;
}

.hv4-page > .hv4-site,
.hv4-page > .hv4-contact {
    margin-top: 0;
}

/* The contact image sits flush on the footer (a bottom margin showed a white strip there, user 2026-11-16); the
   24px stays for other last sections, e.g. the research section on /insights-v2. */
.hv4-page > section:last-child:not(.hv4-contact) {
    margin-bottom: 24px;
}

/* ---------- Buttons (Figma "button-small-alt") ---------- */
.hv4-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hv4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: normal;
    letter-spacing: .28px;
    text-transform: capitalize;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.hv4-btn img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.hv4-btn--chevron {
    padding-right: 8px;
}

.hv4-btn--light {
    background: #fff;
    color: var(--hv4-text);
}

/* Prototype hovers: light and dark buttons underline their label; outline buttons fill dark; links turn teal. */
.hv4-btn--light:hover,
.hv4-btn--light:focus-visible {
    color: var(--hv4-text);
    text-decoration: underline;
}

.hv4-btn--dark {
    background: var(--hv4-text-500);
    color: var(--hv4-grey-50);
}

.hv4-btn--dark:hover,
.hv4-btn--dark:focus-visible {
    color: var(--hv4-grey-50);
    text-decoration: underline;
}

/* The filled buttons' 4px corners and 35px height: a 1px border inside 1px less padding (uniformity audit,
   2026-11-17; it was square with a .5px border, 36px tall). */
.hv4-btn--outline {
    padding-top: 7px;
    padding-bottom: 7px;
    border: 1px solid var(--hv4-line);
    border-radius: 4px;
    color: var(--hv4-text);
    background: transparent;
}

.hv4-btn--outline:hover,
.hv4-btn--outline:focus-visible {
    background: var(--hv4-text-500);
    color: #fff;
    text-decoration: none;
}

/* The outline chevron is dark; on the filled hover it needs to be light. */
.hv4-btn--outline:hover img,
.hv4-btn--outline:focus-visible img {
    filter: brightness(0) invert(1);
}

/* Hero buttons (user, 2026-11-17). Teal fill as the eyebrow with a white label (the user's choice; white on #00acc1
   is 2.7:1). The outline button is the light counterpart on the dark photo. */
.hv4-btn--teal {
    background: var(--hv4-teal);
    color: #fff;
}

.hv4-btn--teal:hover,
.hv4-btn--teal:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.hv4-btn--outline-light {
    border: 1px solid var(--hv4-grey-50);
    background: transparent;
    color: var(--hv4-grey-50);
}

.hv4-btn--outline-light:hover,
.hv4-btn--outline-light:focus-visible {
    border-color: var(--hv4-teal);
    color: var(--hv4-teal);
}

.hv4-btn--link-teal {
    color: var(--hv4-teal);
    text-decoration: underline;
}

.hv4-btn--link-teal:hover,
.hv4-btn--link-teal:focus-visible {
    color: var(--hv4-teal-dark);
}

.hv4-btn--static {
    cursor: default;
}

.hv4-center {
    display: flex;
    justify-content: center;
}

.hv4-page :focus-visible {
    outline: 2px solid var(--hv4-teal);
    outline-offset: 2px;
}

/* Centered section heading (Our Capabilities, PerforAssess platform). */
.hv4-heading {
    width: min(640px, 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.hv4-heading__title {
    font-size: 24px;
    color: var(--hv4-text);
}

/* A subtitle under a section title: 16px muted, 8px under it (uniformity audit, 2026-11-17). */
.hv4-heading__text {
    font-size: 16px;
    color: var(--hv4-muted);
}

/* ---------- Hero ---------- */
/* The designer's photo ("Hero image_bg.png") placed as measured on "Hero mockup.png" (user, 2026-11-16): at 1366 it is
   72% of its 1920 × 1080 (1382 × 778), 84px above the hero and 8px past both edges. It stays anchored right on wider
   screens; the section background continues the photo's left edge (sampled every 60px) so no seam shows. The copy
   starts on the container edge like every other section (alignment audit, 2026-11-17; it was 12px in). */
.hv4-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding-left: max(44px, calc((100% - var(--hv4-container)) / 2));
    background: linear-gradient(180deg, #012838 0, #003548 60px, #003244 120px, #002938 180px, #002433 240px, #002231 300px, #00202e 360px, #00202e 420px, #00212f 480px, #001d2b 540px);
    overflow: hidden;
}

/* The <picture> only swaps the source on phones; the img stays the hero's own child for layout. */
.hv4-hero__picture {
    display: contents;
}

.hv4-hero__bg {
    position: absolute;
    top: -84px;
    left: -8px;
    width: auto;
    height: 778px;
    z-index: 0;
}

/* Up to 1366 the map keeps the mockup's place right of the copy (narrower screens lose some of Asia, never the copy's
   side); wider, it stays on the right edge. */
@media (min-width: 1367px) {
    .hv4-hero__bg {
        left: auto;
        right: -8px;
    }
}

.hv4-hero__copy {
    position: relative;
    z-index: 2;
    width: 530px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Measured on the mockup at 1366 (Poppins Light): eyebrow 21.5px, headline 32px on three 41px lines, value points 15.5px, 16px buttons
   182 × 39; 14 / 19 / 20px between them. Prefixed: .hv4-page h1 / ul reset line-height and margins. */
.hv4-hero .hv4-hero__title {
    font-size: 32px;
    font-weight: 300;
    line-height: 41px;
    color: #fff;
}

.hv4-hero__eyebrow {
    font-size: 21.5px;
    font-weight: 300;
    color: var(--hv4-teal);
}

.hv4-hero .hv4-hero__points {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15.5px;
    font-weight: 300;
    color: var(--hv4-grey-50);
}

.hv4-hero__points li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hv4-hero__points li + li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hv4-teal);
}

.hv4-hero .hv4-buttons {
    padding-top: 6px;
    column-gap: 9px;
}

.hv4-hero .hv4-btn {
    padding: 8px 17px;
    font-size: 16px;
    line-height: 23px;
}

/* The 1px border comes out of the padding, so both buttons are 39px tall. */
.hv4-hero .hv4-btn--outline-light {
    padding: 7px 16px;
}

/* User, 2026-11-17: the eyebrow a little higher and the buttons a little lower, the hero no taller. The copy is centred
   in the 540px hero, so 16px more under the eyebrow and above the buttons moves the eyebrow up 16px and the buttons
   down 16px; the headline and the points stay. Tablets and phones stack the hero, so there it would only grow.
   Prefixed: .hv4-page p resets the margin. */
@media (min-width: 992px) {
    .hv4-hero .hv4-hero__eyebrow {
        margin-bottom: 16px;
    }

    .hv4-hero .hv4-buttons {
        padding-top: 22px;
    }
}

/* ---------- Research ---------- */
.hv4-research {
    padding-top: 24px;
}

.hv4-rule-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: max(44px, calc((100% - var(--hv4-container)) / 2));
    /* The rule ends with the 1920px feature below it. */
    padding-right: max(0px, calc((100% - 1920px) / 2));
}

.hv4-rule-title::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #7fd2dc;
}

.hv4-rule-title__text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 24px;
    color: var(--hv4-text);
    white-space: nowrap;
}

/* On the dark video band ("What We Do"): white text like the other dark bands' titles (uniformity audit,
   2026-11-17), the rule in light teal. */
.hv4-rule-title--dark::after {
    background: #7fd2dc;
}

.hv4-rule-title--dark .hv4-rule-title__text {
    color: #fff;
}

.hv4-rule-title__dot,
.hv4-feature__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 4px;
}

/* Full bleed up to 1920px, then centred: wider, the cards and their art only stretched (2 × 3836px at 8K). */
.hv4-feature,
.hv4-slider {
    max-width: 1920px;
    margin-inline: auto;
}

.hv4-feature {
    position: relative;
    display: flex;
    justify-content: flex-end;
    min-height: 400px;
    margin-top: 24px;
    background: var(--hv4-grey-75) var(--hv4-feature-art) center / cover no-repeat;
}

.hv4-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(110, 118, 122, 0) 0%, rgba(233, 235, 235, .91) 50.48%);
}

.hv4-feature__copy {
    position: relative;
    width: 50%;
    padding: 44px 144px 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.hv4-feature__eyebrow,
.hv4-feature__tags {
    font-size: 14px;
    color: var(--hv4-muted);
}

/* One eyebrow style on the page: the contact one (uniformity audit, 2026-11-17). */
.hv4-page .hv4-feature__eyebrow {
    margin-bottom: -8px;
    color: var(--hv4-teal-dark);
    text-transform: uppercase;
}

.hv4-feature__title {
    font-size: 24px;
    color: var(--hv4-text);
}

.hv4-page .hv4-feature__lead {
    margin-top: -8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--hv4-text);
}

.hv4-feature__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Slider: two cards per view, 8px apart. */
.hv4-slider {
    position: relative;
    margin-top: 8px;
}

.hv4-slider__viewport {
    overflow: hidden;
}

.hv4-slider__track {
    display: flex;
    gap: 8px;
    transition: transform .45s ease;
}

.hv4-slide {
    position: relative;
    flex: 0 0 calc((100% - 8px) / 2);
    min-height: 278px;
    display: flex;
    align-items: center;
    /* 72px = the 64px arrow + 8px, so the copy never sits under an arrow gradient whichever slot the card is in
       (Figma's 44px put 20px of it under the left arrow; user, 2026-11-05). */
    padding: 24px 72px;
    background: var(--hv4-ink) var(--hv4-slide-art) center / cover no-repeat;
}

/* The designer's card backgrounds (2026-11-15) keep their subject on one side: the Ladder magnifier on the left (copy
   right), the laptop and the microphone on the right (copy left). */
.hv4-slide--art-left {
    justify-content: flex-end;
    background-position: left center;
}

.hv4-slide--art-right {
    background-position: right center;
}

/* The art stays on the left; ink takes over behind the copy on the right (Figma gradient 20% → 63.94%). */
.hv4-slide--art-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, var(--hv4-ink) 20%, rgba(16, 21, 24, 0) 63.94%);
}

.hv4-slide__copy {
    position: relative;
    width: 284px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.hv4-slide__title {
    font-size: 24px;
    color: #fff;
}

.hv4-page .hv4-slide__text {
    margin-top: -8px;
    font-size: 14px;
    color: var(--hv4-line);
}

.hv4-slider__arrow {
    position: absolute;
    top: 0;
    width: 64px;
    height: 278px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 0;
    cursor: pointer;
    z-index: 2;
}

.hv4-slider__chev {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--hv4-teal-50);
    -webkit-mask: var(--hv4-chev) center / contain no-repeat;
    mask: var(--hv4-chev) center / contain no-repeat;
    transition: background-color .2s;
}

/* Prototype hover: the chevron turns teal. */
.hv4-slider__arrow:hover .hv4-slider__chev,
.hv4-slider__arrow:focus-visible .hv4-slider__chev {
    background: var(--hv4-teal);
}

.hv4-slider__arrow--prev {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(90deg, var(--hv4-ink) 50%, rgba(16, 21, 24, 0));
}

.hv4-slider__arrow--next {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(270deg, var(--hv4-ink) 50%, rgba(16, 21, 24, 0));
}

.hv4-slider__arrow:disabled {
    cursor: default;
}

.hv4-slider__arrow:disabled .hv4-slider__chev {
    opacity: .35;
}

/* 16px under the slides and 8px apart (user, 2026-11-09; were 8px and 4px). */
.hv4-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 8px;
}

.hv4-dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #a6e1e8;
    cursor: pointer;
}

.hv4-dot.is-active {
    background: var(--hv4-text);
}

.hv4-research .hv4-center {
    margin-top: 16px;
    padding-bottom: 24px;
}

/* ---------- Video ---------- */
/* "Who we are & What we do" (user's image, 2026-11-23): the rule title on the container's edge and ending with it, then
   the copy (left) beside the video (right) on the 1278px container; the band keeps its dark background. */
.hv4-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 44px 0;
    background: var(--hv4-ink);
}

.hv4-video .hv4-rule-title {
    align-self: stretch;
    padding-right: max(44px, calc((100% - var(--hv4-container)) / 2));
}

/* The title teal, as in the image (the other dark bands' titles stay white). */
.hv4-video .hv4-rule-title__text {
    color: var(--hv4-teal);
}

.hv4-video__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    gap: 44px;
    /* Balanced (user, 2026-11-23): the copy keeps its paragraph gaps and sits centred on the video, with space above
       and below it; spread from the video's top to its bottom it "looked very bad". */
    align-items: center;
    width: min(var(--hv4-container), calc(100% - 88px));
}

.hv4-video__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Below 1280px the copy is as tall as the video beside it or taller (19px more at 1200, measured 2026-11-23), so it can't
   sit balanced with space around it: the copy comes first and the video under it, full width, as on tablets. */
@media (max-width: 1279px) {
    .hv4-video__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    /* Readable lines (~100 characters) above the full-width video. */
    .hv4-video__copy {
        max-width: 760px;
    }
}

.hv4-page .hv4-video__text {
    font-size: 16px;
    line-height: 24px;
    color: #c9d1d4;
}

.hv4-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1130 / 636;
    /* Square corners (user, 2026-11-16; were 8px). */
    border-radius: 0;
    overflow: hidden;
    background: var(--hv4-grey-50);
}

.hv4-video__facade,
.hv4-video__facade img,
.hv4-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hv4-video__facade img {
    object-fit: cover;
}

.hv4-video__facade:hover img {
    filter: brightness(1.06);
}

/* ---------- Capabilities ---------- */
/* 44px edge from 992px like the other sections (24px from 991 down; alignment audit, 2026-11-17). */
.hv4-capabilities {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 44px;
}

/* Subtitle row under "Our Capabilities" ("Updated operational capability label 3.png", user, 2026-11-17): icon, then
   the three parts on one line with "›" between them. A subtitle, so smaller than the 24px title (user, later that day):
   16px muted text and a 32px icon. A link to the Integrated Performance page, as the block it replaced. */
.hv4-integrated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--hv4-muted);
    text-decoration: none;
}

/* The capabilities subtitle 8px under the title like the platform's (the section's 24px gap less 16px). */
.hv4-capabilities .hv4-integrated {
    margin-top: -16px;
}

.hv4-integrated:hover,
.hv4-integrated:focus-visible {
    text-decoration: none;
    color: var(--hv4-teal-dark);
}

.hv4-integrated__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

/* Inline text, so on narrow screens it wraps like a sentence. */
.hv4-integrated__text {
    font-size: 16px;
    line-height: 1.4;
}

/* A part never breaks inside, so narrow screens wrap after a "›". */
.hv4-integrated__part {
    white-space: nowrap;
}

.hv4-integrated__sep {
    margin-inline: 2px;
    font-weight: 600;
}

.hv4-cap-groups {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.hv4-cap-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hv4-cap-group--single {
    flex: 0 1 232px;
    align-items: center;
}

.hv4-cap-group__label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    color: var(--hv4-muted);
    white-space: nowrap;
}

.hv4-cap-group__label::before,
.hv4-cap-group__label::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--hv4-grey-75);
}

.hv4-cap-group__cards {
    display: flex;
    gap: 8px;
}

.hv4-cap-card {
    position: relative;
    display: block;
    width: 206px;
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
    color: var(--hv4-text);
    text-decoration: none;
    background: #fff;
    filter: drop-shadow(0 8px 4px rgba(12, 12, 13, .05));
}

.hv4-cap-card:hover,
.hv4-cap-card:focus-visible {
    text-decoration: none;
}

.hv4-cap-card__default,
.hv4-cap-card__hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
    transition: opacity .25s ease;
}

.hv4-cap-card__default {
    align-items: center;
    gap: 12px;
}

.hv4-cap-card__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.hv4-cap-card--operations .hv4-cap-card__default::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(172, 217, 247, .12);
}

.hv4-cap-card__name {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-size: 16px;
    text-align: center;
}

.hv4-cap-card__icon {
    position: relative;
    z-index: 1;
    width: 90px;
    height: 90px;
    object-fit: contain;
    padding: 6px;
}

/* Hover/focus state (Figma "Hover State" 13712:30962…): #151c1f at the top to the capability colour at the bottom;
   44px icon, name, a 44px line in that colour, text, and the "Explore Capability" row. Cross-fades like the prototype. */
.hv4-cap-card__hover {
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    color: #fff;
    background: linear-gradient(180deg, var(--hv4-card-from) 0%, var(--hv4-card-to) 100%);
    box-shadow: 0 1px 2px rgba(12, 12, 13, .1), 0 1px 2px rgba(12, 12, 13, .05);
    transition: opacity .3s ease;
}

.hv4-cap-card:hover .hv4-cap-card__hover,
.hv4-cap-card:focus-visible .hv4-cap-card__hover {
    opacity: 1;
}

.hv4-cap-card:hover .hv4-cap-card__default,
.hv4-cap-card:focus-visible .hv4-cap-card__default {
    opacity: 0;
}

.hv4-cap-card__mini {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    padding: 3px;
}

.hv4-cap-card__copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-height: 0;
}

.hv4-cap-card .hv4-cap-card__title {
    min-height: 80px;
    font-size: 16px;
}

.hv4-cap-card__line {
    display: block;
    width: 44px;
    height: 1px;
    background: var(--hv4-card-to);
}

.hv4-cap-card .hv4-cap-card__text {
    font-size: 16px;
}

.hv4-cap-card__more {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 8px 0;
    color: var(--hv4-teal-50);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    letter-spacing: .28px;
}

.hv4-cap-card__more-label {
    flex: 1 1 auto;
    text-decoration: underline;
}

.hv4-cap-card__more img {
    width: 16px;
    height: 16px;
}

/* ---------- Badge bands (recognition, academy) ---------- */
.hv4-band {
    padding: 24px max(44px, calc((100% - var(--hv4-container)) / 2));
    background: var(--hv4-ink-800);
}

.hv4-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

/* 16px between the title and its button (UI/UX pass, 2026-11-17: 8px looked cramped under a two-line 24px title; the
   next step of the 8px scale keeps the button with its title). */
.hv4-band__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.hv4-band__title {
    font-size: 24px;
    color: #fff;
    white-space: nowrap;
}

.hv4-band__badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1 1 auto;
}

.hv4-band__badge {
    position: relative;
    flex: 0 0 168px;
    width: 168px;
    height: 168px;
    overflow: hidden;
}

.hv4-band__badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hv4-band__badge img.hv4-band__img--crop {
    inset: auto;
    object-fit: fill;
}

.hv4-band__arrow {
    flex: 0 0 34px;
}

.hv4-band__arrow img {
    display: block;
    width: 34px;
    height: 34px;
}

/* The recognition band's badges at the Strategic Planning page's size (user, 2026-11-17): 186px frames that may shrink
   when the row is short of room (1200–1300px), the pictures 10% larger and not clipped, as there. */
.hv4-band--large .hv4-band__badges {
    min-width: 0;
}

.hv4-band--large .hv4-band__badge {
    flex: 0 1 186px;
    width: 186px;
    height: auto;
    min-width: 0;
    aspect-ratio: 1;
    overflow: visible;
}

@media (min-width: 768px) {
    .hv4-band--large .hv4-band__badge img {
        transform: scale(1.1);
    }
}

/* Develop band as on /ambassadors-network-v3 (user, 2026-11-17): every arrow between the tips it joins as between the
   two round badges (measured on the render there, same 186px frames, crops and 8px gaps here). The shields are
   narrower than the round badges' ribbons, so from the second arrow on the row closes up; the arrows are drawn above
   the pictures (a shield's shadow overlaps them). Items 4-7 = arrow, shield, arrow, shield. The crops' transparent
   boxes reach past the edge at 1200-1300px: clipped sideways only. */
.hv4-band--develop {
    overflow-x: clip;
}

.hv4-band--develop .hv4-band__arrow {
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .hv4-band--develop .hv4-band__badges > :nth-child(4) {
        margin-left: 1px;
    }

    .hv4-band--develop .hv4-band__badges > :nth-child(5) {
        margin-left: -16.7px;
    }

    .hv4-band--develop .hv4-band__badges > :nth-child(6) {
        margin-left: -10.7px;
    }

    .hv4-band--develop .hv4-band__badges > :nth-child(7) {
        margin-left: -19.7px;
    }
}

/* ---------- PerforAssess platform ---------- */
.hv4-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 44px;
}

.hv4-platform__box {
    width: min(1278px, 100%);
}

.hv4-platform__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Positioned so the tabs' offsetLeft is measured from the row (the JS centres the active one in it on phones). */
.hv4-platform__tabs {
    position: relative;
    display: flex;
    justify-content: center;
}

.hv4-platform__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 180px;
    height: 128px;
    padding: 16px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.hv4-platform__tab img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: width .2s, height .2s;
}

.hv4-platform__tab-name {
    display: none;
    font-size: 14px;
    color: var(--hv4-ink-800);
    text-align: center;
}

.hv4-platform__tab[aria-selected='true'] img {
    width: 56px;
    height: 56px;
}

.hv4-platform__tab[aria-selected='true'] .hv4-platform__tab-name {
    display: block;
}

.hv4-platform__tab:not([aria-selected='true']):hover img {
    transform: scale(1.06);
}

.hv4-platform__lines {
    position: relative;
    display: block;
    width: 100%;
    height: 16px;
}

.hv4-platform__line {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 16px;
    opacity: 0;
    transition: opacity .4s ease;
}

.hv4-platform__line.is-active {
    opacity: 1;
}

.hv4-platform__panels {
    position: relative;
    max-width: 1268px;
    margin: 0 auto;
    aspect-ratio: 1268 / 320;
    overflow: hidden;
}

.hv4-platform__panel,
.hv4-platform__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hv4-platform__panel img {
    object-fit: contain;
}

.hv4-platform__panel[hidden] {
    display: none;
}

/* The prototype smart-animates between reports; a short fade stands in for it. */
.hv4-platform__panel:not([hidden]) {
    animation: hv4-fade .4s ease;
}

@keyframes hv4-fade {
    from { opacity: 0; }
}

.hv4-platform__arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 64px;
    display: flex;
    align-items: center;
    border: 0;
    cursor: pointer;
}

.hv4-platform__arrow img {
    width: 24px;
    height: 24px;
}

.hv4-platform__arrow--prev {
    left: -17px;
    padding-left: 16px;
    justify-content: flex-start;
    background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0));
}

.hv4-platform__arrow--next {
    right: -17px;
    padding-right: 16px;
    justify-content: flex-end;
    background: linear-gradient(270deg, #fff 50%, rgba(255, 255, 255, 0));
}

/* ---------- Case studies ---------- */
/* SITE and contact: the Figma gutters up to 1366, then the content stays in the container (user, 2026-11-05). The cases
   run full width instead (user, 2026-11-16): 44px off the edge up to the 1920px block, as Perspectives on Performance. */
/* On the page's --hv4-grey-25 (#f3f5f5, the capability pages' --cap-light), full width. UI/UX pass (user, 2026-11-17):
   #fafafa, the other pages' section grey, was barely visible against white (ΔL* 1.7); this is a clear but quiet step
   (3.6) in the page's teal-grey family, and the white case cards stand out on it. 8px above the heading row (it has
   16px of its own), 24px below the cards. */
.hv4-cases {
    padding: 8px max(44px, calc((100% - 1920px) / 2 + 44px)) 24px;
    background: var(--hv4-grey-25);
}

.hv4-cases__head {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.hv4-cases__title {
    flex: 1 1 auto;
    font-size: 24px;
    color: var(--hv4-text);
}

.hv4-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.hv4-case {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 320px;
    padding-bottom: 12px;
    border: 1px solid var(--hv4-grey-25);
    background: #fff;
    transition: box-shadow .2s;
}

.hv4-case__img {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    object-fit: cover;
}

.hv4-case__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.hv4-case__client {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--hv4-text-500);
}

.hv4-case__btn {
    padding-right: 16px;
    padding-left: 16px;
}

/* Hover state (Figma card-homepage-hover): teal client name, dark filled button, soft shadow. */
.hv4-case:hover {
    border-color: var(--hv4-grey-50);
    box-shadow: 0 16px 32px -4px rgba(12, 12, 13, .1), 0 4px 4px -4px rgba(12, 12, 13, .05);
}

.hv4-case:hover .hv4-case__client {
    color: #009db0;
}

.hv4-case:hover .hv4-case__btn {
    background: var(--hv4-text-500);
    color: var(--hv4-teal-50);
}

/* ---------- Testimonials ---------- */
/* 44px between the copy and the video (the copy ran into it; user, 2026-11-17: "să respire"). */
.hv4-testimonials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 24px max(44px, calc((100% - var(--hv4-container)) / 2));
}

/* About 60 characters a line at 420px. */
.hv4-testimonials__copy {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hv4-testimonials__title {
    font-size: 24px;
    color: var(--hv4-text);
}

/* Three labelled points (2026-11-17): the label on its own line in the old subtitle's teal, the text under it. */
.hv4-page .hv4-testimonials__points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv4-testimonials__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hv4-teal-dark);
}

.hv4-testimonials__text {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--hv4-muted);
}

.hv4-testimonials__media {
    flex: 0 1 878px;
    aspect-ratio: 878 / 494;
    border: 1px solid var(--hv4-grey-75);
    border-radius: 4px;
    overflow: hidden;
}

.hv4-testimonials__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The clients video (user, 2026-12-04): the collage is its poster; on click the player takes the same 16:9 box. */
.hv4-testimonials__media {
    position: relative;
}

.hv4-testimonials__facade {
    display: block;
    width: 100%;
    height: 100%;
}

/* Inside the box: its overflow: hidden would clip an outline drawn outside. */
.hv4-testimonials__facade:focus-visible {
    outline: 2px solid var(--hv4-teal);
    outline-offset: -4px;
}

.hv4-testimonials__facade:hover img {
    filter: brightness(1.06);
}

.hv4-testimonials__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Drawn as the play button on the upper video's poster: a dark circle, a thin white ring, a white triangle. */
.hv4-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(21, 28, 31, .85);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.hv4-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
    transform: translate(-35%, -50%);
}

.hv4-testimonials__facade:hover .hv4-play,
.hv4-testimonials__facade:focus-visible .hv4-play {
    transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- SITE ---------- */
/* Laid out as "SITE program banner with open headline space.png" (user, 2026-11-17): the 2172 × 724 panorama anchored
   right so the people stay in view, the logo at the top, the quote at the bottom left, the button at the bottom right.
   The mockup was an example: type, button and spacing follow the page (quote 16/600 like the feature lead, caption
   14px, the light button, 24px padding as on the bands), and the band is no taller than the hero. A teal shade on the
   left and a soft text shadow keep the white text readable where the photo is bright. */
.hv4-site {
    position: relative;
    display: flex;
    min-height: clamp(440px, 31.25vw, 540px);
    overflow: hidden;
    background: #0d4a55;
}

.hv4-site__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hv4-site::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 45, 56, .55) 0, rgba(0, 45, 56, 0) 60%);
}

.hv4-site__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px max(44px, calc((100% - var(--hv4-container)) / 2));
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 30, 38, .45);
}

.hv4-site__logo {
    display: block;
    width: 150px;
    height: auto;
}

.hv4-site__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

/* ~70 characters a line. */
.hv4-site__quote {
    flex: 0 1 640px;
    margin: 0;
}

.hv4-site__quote p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
}

.hv4-site__quote p::before {
    content: '\201C';
}

.hv4-site__quote p::after {
    content: '\201D';
}

.hv4-site__quote figcaption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 21px;
    color: var(--hv4-grey-50);
}

.hv4-site .hv4-btn {
    flex: none;
    text-shadow: none;
}

/* ---------- Contact ---------- */
.hv4-contact {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 370px;
    padding: 24px max(44px, calc((100% - var(--hv4-container)) / 2));
    /* contact-bg.webp is the Figma image without its dark bottom strip (never visible in the 370px frame); what
       Figma shows is its lower part, hence bottom. */
    background: #fff var(--hv4-contact-art) center bottom / cover no-repeat;
    overflow: hidden;
}

.hv4-contact__copy {
    width: 530px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hv4-contact__eyebrow {
    font-size: 14px;
    color: var(--hv4-teal-dark);
    text-transform: uppercase;
}

.hv4-contact__title {
    font-size: 24px;
    color: var(--hv4-text);
}

.hv4-contact__text {
    font-size: 14px;
    color: var(--hv4-muted);
}

.hv4-contact .hv4-buttons {
    padding-top: 8px;
}

/* Two narrow cards (992–1299): the copy reached the art (the Ladder magnifier past the Figma gradient 20% → 63.94%,
   the podcast waveform); the ink now covers the copy column (72px padding + 284px copy) and fades over 160px. */
@media (min-width: 992px) and (max-width: 1299px) {
    .hv4-slide--art-left::before {
        background: linear-gradient(270deg, var(--hv4-ink) 356px, rgba(16, 21, 24, 0) 516px);
    }

    .hv4-slide--art-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--hv4-ink) 356px, rgba(16, 21, 24, 0) 516px);
    }
}

/* Our Capabilities as wide as the "Turn Maturity into recognized" band (user, 2026-11-16; a full-width try was undone the
   same day): the container from 1200px (below it the groups wrap; at 1200–1299 the fixed 206px cards ran 46px off the
   left edge), the six capability cards sharing it equally: the corporate group's 32px basis is its four 8px gaps.
   The platform box is already the 1278px container. */
@media (min-width: 1200px) {
    .hv4-capabilities {
        padding: 24px max(44px, calc((100% - var(--hv4-container)) / 2));
    }

    .hv4-cap-group {
        flex: 5 1 32px;
    }

    .hv4-cap-group--single {
        flex: 1 1 0;
    }

    .hv4-cap-group__cards {
        width: 100%;
    }

    .hv4-cap-group__cards > li {
        flex: 1 1 0;
        min-width: 0;
    }

    .hv4-cap-card {
        width: 100%;
    }
}

/* Full width from 1367px (user, 2026-11-16): the cases reach 44px off the edge up to the 1920px block, like Perspectives
   on Performance. */
@media (min-width: 1367px) {
    /* Wider cards keep the photo's 842:530 instead of cropping it to the 320px card. */
    .hv4-case {
        height: auto;
    }

    .hv4-case__img {
        flex: none;
        height: auto;
        aspect-ratio: 842 / 530;
    }
}

/* ---------- Tablet (≤1199): the 1366 layout gets tighter ---------- */
@media (max-width: 1199px) {
    .hv4-feature__copy {
        width: 60%;
        padding-right: 44px;
    }

    .hv4-cap-groups,
    .hv4-band__inner {
        flex-wrap: wrap;
    }

    .hv4-band__badges {
        justify-content: flex-start;
        width: 100%;
    }

    /* Badges shrink to share the row (Figma 168px at full width). */
    .hv4-band__badge {
        flex: 0 1 168px;
        width: auto;
        min-width: 0;
        height: auto;
        aspect-ratio: 1;
    }

    .hv4-cap-group__cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hv4-platform__tab {
        width: auto;
        flex: 1 1 0;
    }

    /* Same 44px edge as the other sections (it was 24px here); 24px above and below like them. */
    .hv4-testimonials {
        padding: 24px 44px;
        gap: 24px;
    }

    .hv4-testimonials__copy {
        flex-basis: 320px;
    }
}

/* ---------- ≤991: columns stack ---------- */
@media (max-width: 991px) {
    /* One 24px gutter for every section from here down (user, 2026-11-05). */
    .hv4-rule-title {
        padding-left: 24px;
    }

    /* The same 24px edge for the capability cards and the testimonials (the latter were at 44px; 2026-11-17). */
    .hv4-capabilities {
        padding: 24px;
    }

    .hv4-testimonials {
        padding: 24px;
    }

    /* The capabilities subtitle keeps 16px like the platform's; a smaller icon, the text wrapping after a "›". */
    .hv4-integrated__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    /* The copy on the photo's dark colour, the photo under it showing its map only: its right 1220 of 1920px fill the
       row (the rest is clipped on the left by the hero), at most 900px wide on tablets; the top fades in, the empty
       bottom bokeh is cut. */
    .hv4-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 48px 24px 0;
        background: #002331;
    }

    .hv4-hero__copy {
        width: auto;
        max-width: 560px;
    }

    .hv4-hero__bg {
        position: relative;
        top: auto;
        left: auto;
        order: 2;
        align-self: flex-end;
        width: min(calc((100% + 48px) * 1920 / 1220), 900px);
        max-width: none;
        height: auto;
        margin: -24px -24px -12% 0;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%);
        mask-image: linear-gradient(180deg, transparent 0, #000 25%);
    }

    .hv4-feature {
        min-height: 0;
        flex-direction: column;
        justify-content: flex-end;
        padding-top: 220px;
        background-position: left top;
        background-size: auto 260px;
        background-color: #e6e9ea;
    }

    .hv4-feature::before {
        background: linear-gradient(180deg, rgba(233, 235, 235, 0) 0, rgba(233, 235, 235, .96) 230px);
    }

    .hv4-feature__copy {
        width: 100%;
        padding: 24px;
    }

    .hv4-slide {
        flex-basis: 100%;
    }

    /* One card at a time: the copy covers the busy art (the podcast waveform and play button, the webinar laptop had
       no shade at all). An even 80% ink scrim and grey-50 text keep it readable (UI/UX color-contrast: ~8.7:1 even
       over a white pixel; user, 2026-11-17). */
    .hv4-slide::before,
    .hv4-slide--art-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(16, 21, 24, .8);
    }

    .hv4-page .hv4-slide__text {
        color: var(--hv4-grey-50);
    }

    .hv4-video {
        padding: 24px 0;
    }

    /* Phones and tablets: the copy, then the video under it. */
    .hv4-video .hv4-rule-title {
        padding-right: 24px;
    }

    .hv4-video__body {
        width: calc(100% - 48px);
    }

    .hv4-band {
        padding: 24px;
    }

    .hv4-band__title {
        white-space: normal;
    }

    .hv4-platform {
        padding: 24px;
    }

    .hv4-platform__tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .hv4-platform__tab {
        flex: 0 0 140px;
    }

    .hv4-cases {
        padding: 8px 24px 24px;
    }

    .hv4-cases__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hv4-testimonials {
        flex-direction: column;
        align-items: stretch;
    }

    .hv4-testimonials__copy {
        flex-basis: auto;
    }

    .hv4-testimonials__media {
        flex-basis: auto;
    }

    /* The height follows the content; the shade turns vertical and stronger, the text covering more of the photo. */
    .hv4-site {
        min-height: 0;
    }

    .hv4-site::before {
        background: linear-gradient(180deg, rgba(0, 45, 56, .35) 0, rgba(0, 45, 56, .8) 55%);
    }

    .hv4-site__inner {
        padding: 24px;
    }

    .hv4-site__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .hv4-site__quote {
        flex-basis: auto;
    }

    /* The 260px globe sits under the copy, not behind the text and buttons: 260 + 24px. */
    .hv4-contact {
        padding: 48px 24px 284px;
        background-size: auto 260px;
        background-position: right bottom;
    }

    .hv4-contact__copy {
        width: min(530px, 100%);
    }
}

/* ---------- ≤767: phones ---------- */
@media (max-width: 767px) {
    .hv4-rule-title__text {
        white-space: normal;
        flex-wrap: wrap;
    }

    .hv4-slide {
        padding: 24px 56px;
    }

    /* Narrower arrows on phones, clear of the 56px copy padding. */
    .hv4-slider__arrow {
        width: 48px;
        padding: 0 12px;
    }

    .hv4-slide--art-left {
        justify-content: flex-start;
    }

    .hv4-slide__copy {
        width: 100%;
    }

    /* Capability cards scroll sideways in one row. */
    .hv4-capabilities {
        padding: 24px;
    }

    .hv4-cap-groups {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hv4-cap-group,
    .hv4-cap-group--single {
        flex: 0 0 auto;
    }

    .hv4-cap-group__cards {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    /* The label would centre over a row wider than the screen: keep it at the start instead. */
    .hv4-cap-group__label::before {
        flex: 0 0 16px;
    }

    .hv4-cap-card {
        scroll-snap-align: start;
        width: 180px;
        height: 300px;
    }

    .hv4-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hv4-band__badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
    }

    .hv4-band__arrow {
        display: none;
    }

    .hv4-band__badge {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 168px;
        justify-self: center;
    }

    .hv4-band--large .hv4-band__badge {
        width: 100%;
        max-width: 186px;
    }

    /* The capability's square card (user, 2026-12-04, the designer's phone mockups) instead of the wide report; at
       most 480px, centred, so on a large or landscape phone it does not outgrow the screen (719px at 767). */
    .hv4-platform__panels {
        max-width: 480px;
        aspect-ratio: 1;
        height: auto;
        overflow: hidden;
    }

    /* Three tabs at a time, the active one centred (UI/UX pass, user 2026-11-17): 140px tabs left half icons at the
       edges, and the fixed 128px height clipped the icon of a three-line name (160px holds one, so nothing below jumps
       when the tabs change). Every icon 56px; the active tab shows
       its name and a short line in its capability colour (the desktop curve did not line up with the tabs here). */
    .hv4-platform__tab {
        flex: 0 0 calc(100% / 3);
        height: auto;
        min-height: 160px;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 4px 16px;
        position: relative;
        scroll-snap-align: center;
    }

    .hv4-platform__tab img,
    .hv4-platform__tab[aria-selected='true'] img {
        width: 56px;
        height: 56px;
    }

    .hv4-platform__tab[aria-selected='true']::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        width: 40px;
        height: 3px;
        margin-left: -20px;
        border-radius: 2px;
        background: var(--hv4-tab-color);
    }

    .hv4-platform__lines {
        display: none;
    }

    /* A swipe of the row stops on a tab, never half of one. */
    .hv4-platform__tabs {
        scroll-snap-type: x mandatory;
    }

    .hv4-platform__panel img {
        width: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hv4-platform__arrow {
        display: none;
    }

    .hv4-cases__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Stacked under the title, the link lines up with it (no button inset). */
    .hv4-cases__head .hv4-btn {
        padding-left: 0;
    }

    /* Hero: the wider gap keeps the two buttons apart when both fit on one line. */
    .hv4-hero .hv4-buttons {
        column-gap: 16px;
    }

    .hv4-cases__grid {
        grid-template-columns: 1fr;
    }

    /* The client name keeps one or two lines; the button drops under it when the card is too narrow. */
    .hv4-case__foot {
        flex-wrap: wrap;
    }

    .hv4-case__client {
        flex-basis: 160px;
    }

    .hv4-testimonials {
        padding: 24px;
    }

    .hv4-contact__break {
        display: none;
    }
}

/* Phones: the mockup sizes are too large for 320–767px; the headline keeps the earlier 24px. */
@media (max-width: 767px) {
    /* Every section and card title one step under the 24px hero title (uniformity audit, 2026-11-17: they were 18,
       20 and 24px). */
    .hv4-page .hv4-rule-title__text,
    .hv4-page .hv4-heading__title,
    .hv4-page .hv4-band__title,
    .hv4-page .hv4-cases__title,
    .hv4-page .hv4-testimonials__title,
    .hv4-page .hv4-contact__title,
    .hv4-page .hv4-feature__title,
    .hv4-page .hv4-slide__title {
        font-size: 20px;
    }

    /* The capabilities subtitle centred under the centred title, the icon above the text (it sat left of a
       left-aligned block; user, 2026-11-17). */
    .hv4-integrated {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hv4-hero .hv4-hero__title {
        font-size: 24px;
        line-height: 33px;
    }

    .hv4-hero__eyebrow {
        font-size: 16px;
    }

    .hv4-hero .hv4-hero__points,
    .hv4-hero .hv4-btn {
        font-size: 14px;
    }

    /* UI/UX pass on phones (user, 2026-11-17). No map under the copy: at full height it took half the hero (332px
       at 375) and pushed the next section below the first screen (content-priority); a 160px strip still read as empty
       space. Instead the photo's map-free left part (the picture's phone source) fills the hero behind the copy, so
       it is not a flat colour, and the hero is 48px below as above. A scrim keeps the text readable: darkest
       behind the teal eyebrow (40-80px, where the glow meets it; measured ≥4.5:1), lighter above so the glow shows. */
    .hv4-hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: cover;
        object-position: center bottom;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hv4-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 24, 33, .35) 0, rgba(0, 24, 33, .78) 40px, rgba(0, 24, 33, .78) 80px, rgba(0, 24, 33, .2) 55%, rgba(0, 24, 33, .1) 100%);
    }

    .hv4-hero {
        padding-bottom: 48px;
    }

    /* One value point per line, each with its dot (inline, a lone dot started the second line). */
    .hv4-hero .hv4-hero__points {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hv4-hero__points li::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--hv4-teal);
    }

    /* The two buttons one under the other at the same width, 44px tall (touch-target-size; they were 164 and 212px
       wide, 39px tall). */
    .hv4-hero .hv4-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hv4-hero .hv4-buttons .hv4-btn {
        min-height: 44px;
    }

    /* The clients video's play button, a step smaller on phones. */
    .hv4-play {
        width: 52px;
        height: 52px;
    }

    .hv4-play::after {
        border-width: 9px 0 9px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv4-page *,
    .hv4-page *::before,
    .hv4-page *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .hv4-testimonials__facade:hover .hv4-play,
    .hv4-testimonials__facade:focus-visible .hv4-play {
        transform: translate(-50%, -50%);
    }
}
