/* =================================================================== HERO FACTS, after the hero (client, 2026-12-02)
   The three or four short facts that sat at the foot of every page hero now sit in their own band right after it,
   below the hero video. Same look as before (copied from inner.css + visuals.css "hero facts strip"): hairline-edged
   strip, cells split by hairlines, orange marker + mono label, the value set larger, an orange top line on hover. */
.pg-facts { position: relative; padding-block: var(--sp45) var(--sp60); background: var(--background); }

.pg-facts .pg-hero__facts {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--white-10);
    background: transparent;
    & > div {
        position: relative; display: flex; flex-direction: column; gap: var(--sp10);
        padding: var(--sp30) var(--sp30);
        transition: background-color var(--ease);
        &:hover { background: var(--white-08); }
        &::before { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--ease-expo); }
        &:hover::before { transform: scaleX(1); }
    }
    & > div + div { box-shadow: inset 1px 0 0 var(--white-10); }
    & dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; text-transform: none; color: var(--white-60); }
    & dt::before { flex: 0 0 auto; width: 6px; height: 6px; background: var(--orange); content: ""; }
    & dd { margin: 0; font-size: var(--f25); font-weight: 600; line-height: var(--lhSnug); letter-spacing: var(--ls-h3); color: var(--white); text-wrap: pretty; }
    @media (max-width: 991.98px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        & > div:nth-child(odd) { box-shadow: none; }
        & > div:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--white-10); }
        & > div:nth-child(even):nth-child(n+3) { box-shadow: inset 1px 0 0 var(--white-10), inset 0 1px 0 var(--white-10); }
        & dd { font-size: var(--f18); }
    }
    @media (max-width: 767.98px) {
        grid-template-columns: minmax(0, 1fr);
        & > div { padding: 18px 20px; }
        & > div + div { box-shadow: inset 0 1px 0 var(--white-10) !important; }
    }
}
@media (max-width: 767.98px) { .pg-facts { padding-block: 8vw 10vw; } }

/* client, 2026-12-02: the hero is shorter now that the facts sit after it — no empty facts row, less space top and
   bottom. Heroes that still hold their facts (case studies) are left as they were. */
.pg-hero--split:not(:has(.pg-hero__facts, .dz-jump)) .pg-hero__inner { grid-template-areas: "crumb crumb" "copy art" "acts art"; }
@media (max-width: 991.98px) { .pg-hero--split:not(:has(.pg-hero__facts, .dz-jump)) .pg-hero__inner { grid-template-areas: "crumb" "copy" "art" "acts"; } }
@media (min-width: 992px) {
    main.inner .pg-hero:not(:has(.pg-hero__facts, .dz-jump)) { padding-block: calc(var(--cvw) * 9.5) var(--sp60); }
    main.inner .pg-hero:not(:has(.pg-hero__facts, .dz-jump)) .pg-hero__inner { row-gap: var(--sp40); }
}

/* client, 2026-12-02: the same space above and below the facts strip. When the next section is the same dark scene,
   the strip drops its own bottom padding and that section starts at the same distance; otherwise the strip's own
   bottom padding (equal to the top) meets the next band. */
.pg-facts { --facts-gap: max(40px, calc(var(--cvw) * 5)); padding-block: var(--facts-gap) !important; }
/* client, 2026-12-02 (later): below the strip, the common space between two sections — the strip's bottom padding plus
   the next section's top padding, both the standard section padding, whatever the next scene is */
.pg-facts { padding-bottom: var(--secPadInner) !important; }
.pg-facts + .pg-sec, .pg-facts + section { padding-top: var(--secPadInner) !important; }

/* client, 2026-12-02: no hard edge where the hero ends. Its deeper black surface and grain fade into the page colour
   (#111) over the last part of the hero, so it runs into the facts band without a line. */
main.inner .pg-hero:not(:has(.pg-hero__facts, .dz-jump)) { background-image: linear-gradient(180deg, transparent 55%, #111 100%); }
main.inner .pg-hero:not(:has(.pg-hero__facts, .dz-jump))::after { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }

/* case studies (client, 2026-12-02): the facts and the "Published … Last reviewed …" line moved out of the hero too */
.pg-facts .cs-hero__dates { margin: var(--sp20) 0 0; font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; text-transform: none; color: var(--light-grey); }
