/* Home: hero (home.php .hero-slider-section.hero-cinematic).
   Bigger editorial headline with an orange rule, pill buttons, slow background zoom,
   solid bottom strip with a looping logo marquee (home-hero.js clones the logos).
   Text and LCP poster untouched; entrance uses CSS keyframes only (no JS hiding). */

section.hero-slider-section.hero-cinematic {
    background: #08080a !important;
}

/* ---------- background ---------- */
section.hero-slider-section.hero-cinematic .hero-video-wrap {
    animation: hr-zoom 16s cubic-bezier(.22, 1, .36, 1) both;
    transform-origin: 70% 50%;
}

@keyframes hr-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

section.hero-slider-section.hero-cinematic .hero-video-overlay {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .45) 0, transparent 24%),
        linear-gradient(90deg, rgba(6, 6, 9, .96) 0, rgba(6, 6, 9, .82) 34%, rgba(6, 6, 9, .38) 64%, rgba(6, 6, 9, .1) 100%) !important;
}

/* ---------- copy ---------- */
@media (min-width: 992px) {
    section.hero-slider-section.hero-cinematic .hero-slide .row > [class*="col-"] {
        width: 64% !important;
        max-width: 960px !important;
        flex: 0 0 auto !important;
    }
}

section.hero-slider-section.hero-cinematic .hero-content {
    position: relative;
}

/* orange rule above the headline */
section.hero-slider-section.hero-cinematic .hero-content::before {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-bottom: 30px;
    border-radius: 3px;
    background: #ff9f0a;
    transform-origin: left center;
    animation: hr-rule 1s cubic-bezier(.65, 0, .35, 1) .1s both;
}

section.hero-slider-section.hero-cinematic .hero-content .hero-title {
    max-width: 900px;
    margin-bottom: 28px !important;
    color: #fff !important;
    font-size: clamp(2.5rem, 5vw, 5.25rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em !important;
    text-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: hr-title 1.2s cubic-bezier(.22, 1, .36, 1) .15s both;
}

section.hero-slider-section.hero-cinematic .hero-content .hero-lead {
    max-width: 600px !important;
    margin-bottom: 44px !important;
    color: rgba(255, 255, 255, .74) !important;
    font-size: clamp(1rem, 1.25vw, 1.2rem) !important;
    line-height: 1.7 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: hr-up 1s cubic-bezier(.22, 1, .36, 1) .45s both;
}

section.hero-slider-section.hero-cinematic .hero-btns {
    gap: 14px;
    opacity: 1 !important;
    transform: none !important;
    animation: hr-up 1s cubic-bezier(.22, 1, .36, 1) .65s both;
}

@keyframes hr-rule {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes hr-title {
    from { opacity: 0; transform: translateY(48px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); }
}

@keyframes hr-up {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

/* ---------- buttons: pills ---------- */
section.hero-slider-section.hero-cinematic .hero-btns .btn {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 30px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    font-family: var(--medium);
    font-size: 16px !important;
    box-shadow: none !important;
    transition: background .3s ease, color .3s ease, border-color .3s ease !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn svg {
    transition: transform .3s ease;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn svg path {
    stroke: currentColor !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn:hover svg {
    transform: translate(3px, -3px);
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-orange {
    background: #ff9f0a !important;
    color: #111 !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-orange:hover {
    background: #fff !important;
    color: #111 !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-blue {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .4) !important;
    color: #fff !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-blue:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

/* ---------- bottom strip ---------- */
section.hero-slider-section.hero-cinematic .hero-bottom-bar {
    padding: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(8, 8, 10, .82) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: hr-up 1s cubic-bezier(.22, 1, .36, 1) .85s both;
}

section.hero-slider-section.hero-cinematic .hero-bottom-bar .container-fluid > .d-flex {
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
}

section.hero-slider-section.hero-cinematic .hero-bottom-bar .brand-text {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto !important;
    padding: 26px 48px 26px 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

section.hero-slider-section.hero-cinematic .brand-text .subtitle-2 {
    margin: 0 0 2px !important;
    font-size: 16px !important;
}

section.hero-slider-section.hero-cinematic .brand-text .body-1 {
    margin: 0 !important;
    font-size: 14px !important;
}

section.hero-slider-section.hero-cinematic .bottom-right-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

section.hero-slider-section.hero-cinematic .brand-logos-flex {
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
}

section.hero-slider-section.hero-cinematic .brand-logos-flex img {
    flex: 0 0 auto;
    max-height: 30px !important;
    margin: 0 36px;
    opacity: .7 !important;
    transition: opacity .3s ease !important;
}

section.hero-slider-section.hero-cinematic .brand-logos-flex img:hover {
    opacity: 1 !important;
}

/* marquee (JS adds .hr-marquee after cloning the logos once) */
section.hero-slider-section.hero-cinematic .brand-logos-flex.hr-marquee {
    width: max-content !important;
    animation: hr-marquee 32s linear infinite;
}

section.hero-slider-section.hero-cinematic .bottom-right-content:hover .brand-logos-flex.hr-marquee {
    animation-play-state: paused;
}

@keyframes hr-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    section.hero-slider-section.hero-cinematic .hero-content::before {
        margin-bottom: 22px;
    }

    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: clamp(2.1rem, 7vw, 3.2rem) !important;
        margin-bottom: 18px !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content .hero-lead {
        margin-bottom: 32px !important;
    }

    section.hero-slider-section.hero-cinematic .hero-bottom-bar .container-fluid > .d-flex {
        flex-direction: column !important;
    }

    section.hero-slider-section.hero-cinematic .hero-bottom-bar .brand-text {
        padding: 18px 0 12px;
        border-right: 0;
    }

    section.hero-slider-section.hero-cinematic .bottom-right-content {
        padding-bottom: 18px;
    }

    section.hero-slider-section.hero-cinematic .brand-logos-flex img {
        max-height: 22px !important;
        margin: 0 22px;
    }
}

@media (max-width: 575px) {
    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: 2rem !important;
        line-height: 1.08 !important;
    }

    section.hero-slider-section.hero-cinematic .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    section.hero-slider-section.hero-cinematic .hero-btns .btn {
        justify-content: center;
        padding: 16px 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.hero-slider-section.hero-cinematic .hero-video-wrap,
    section.hero-slider-section.hero-cinematic .hero-content::before,
    section.hero-slider-section.hero-cinematic .hero-title,
    section.hero-slider-section.hero-cinematic .hero-lead,
    section.hero-slider-section.hero-cinematic .hero-btns,
    section.hero-slider-section.hero-cinematic .hero-bottom-bar,
    section.hero-slider-section.hero-cinematic .brand-logos-flex.hr-marquee {
        animation: none !important;
    }
}

/* ================= v2 additions ================= */

/* no orange rule above the headline */
section.hero-slider-section.hero-cinematic .hero-content::before {
    display: none !important;
}

/* background: room for mouse parallax (home-hero.js sets --hx / --hy) */
section.hero-slider-section.hero-cinematic .hero-video-wrap {
    inset: -30px !important;
    translate: var(--hx, 0px) var(--hy, 0px);
    transition: translate .9s cubic-bezier(.22, 1, .36, 1);
}

/* slow drifting warm light behind the copy */
section.hero-slider-section.hero-cinematic .hero-inner::before {
    content: "";
    position: absolute;
    left: -10%;
    top: 10%;
    z-index: 0;
    width: 52vw;
    height: 52vw;
    max-width: 820px;
    max-height: 820px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 159, 10, .16), rgba(255, 159, 10, 0));
    pointer-events: none;
    animation: hr-drift 14s ease-in-out infinite alternate;
}

section.hero-slider-section.hero-cinematic .hero-slide,
section.hero-slider-section.hero-cinematic .hero-trust-wrap {
    z-index: 1;
}

@keyframes hr-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(14vw, 8vh) scale(1.15); }
    100% { transform: translate(4vw, -6vh) scale(.95); }
}

/* copy drifts up and fades as the page scrolls (home-hero.js sets --hs 0..1) */
section.hero-slider-section.hero-cinematic .hero-content {
    translate: 0 calc(var(--hs, 0) * -90px);
    opacity: calc(1 - var(--hs, 0) * .85);
    will-change: translate, opacity;
}

/* headline: title words fade in with a soft blur */
@keyframes hr-title {
    from { opacity: 0; transform: translateY(48px); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

/* orange button: light sweep every few seconds */
section.hero-slider-section.hero-cinematic .hero-btns .btn-orange {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-orange::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    z-index: -1;
    width: 40%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    animation: hr-sweep 4.5s ease-in-out 2s infinite;
}

@keyframes hr-sweep {
    0% { left: -60%; }
    30%, 100% { left: 130%; }
}

/* outline button: border draws brighter on hover */
section.hero-slider-section.hero-cinematic .hero-btns .btn-blue {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* scroll cue: small mouse icon, bottom right of the copy area */
section.hero-slider-section.hero-cinematic .hero-slide::after {
    content: "";
    position: absolute;
    right: clamp(16px, 4vw, 72px);
    bottom: 40px;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    background: radial-gradient(circle, #ff9f0a 0 3px, transparent 3.5px) 50% 8px / 8px 8px no-repeat;
    animation: hr-cue 1.8s ease-in-out infinite, hr-up 1s ease 1.2s both;
}

@keyframes hr-cue {
    0%, 100% { background-position: 50% 8px; }
    50% { background-position: 50% 22px; }
}

@media (max-width: 991px) {
    section.hero-slider-section.hero-cinematic .hero-slide::after {
        display: none;
    }

    section.hero-slider-section.hero-cinematic .hero-inner::before {
        width: 90vw;
        height: 90vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.hero-slider-section.hero-cinematic .hero-inner::before,
    section.hero-slider-section.hero-cinematic .hero-btns .btn-orange::after,
    section.hero-slider-section.hero-cinematic .hero-slide::after {
        animation: none !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content {
        translate: none;
        opacity: 1;
    }
}

/* new video is bright: dim it and darken the copy side */
section.hero-slider-section.hero-cinematic .hero-video-poster,
section.hero-slider-section.hero-cinematic .hero-video-bg {
    filter: brightness(.72) saturate(.9);
}

section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 6, 9, .94) 0%, rgba(5, 6, 9, .82) 30%, rgba(5, 6, 9, .45) 58%, rgba(5, 6, 9, .12) 100%),
        linear-gradient(0deg, rgba(5, 6, 9, .7) 0%, rgba(5, 6, 9, 0) 30%);
}

@media (max-width: 991px) {
    section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
        background: linear-gradient(180deg, rgba(5, 6, 9, .55) 0%, rgba(5, 6, 9, .8) 55%, rgba(5, 6, 9, .92) 100%);
    }
}

/* scroll cue dropped (clashed with the bottom strip) */
section.hero-slider-section.hero-cinematic .hero-slide::after {
    display: none !important;
}

/* AI neural clip (hero-bg-ai) is already dark: full brightness, lighter right side */
section.hero-slider-section.hero-cinematic .hero-video-poster,
section.hero-slider-section.hero-cinematic .hero-video-bg {
    filter: brightness(1.15) saturate(1.15) contrast(1.05);
}

section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    background:
        linear-gradient(90deg, rgba(5, 6, 9, .92) 0%, rgba(5, 6, 9, .7) 30%, rgba(5, 6, 9, .2) 60%, rgba(5, 6, 9, 0) 100%),
        linear-gradient(0deg, rgba(5, 6, 9, .6) 0%, rgba(5, 6, 9, 0) 28%);
}

section.hero-slider-section.hero-cinematic .hero-video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, transparent 22%) !important;
}

section.hero-slider-section.hero-cinematic .hero-video-poster,
section.hero-slider-section.hero-cinematic .hero-video-bg {
    filter: brightness(1.05) saturate(1.15) contrast(1.05);
}

section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    background:
        linear-gradient(90deg, rgba(5, 6, 9, .95) 0%, rgba(5, 6, 9, .88) 38%, rgba(5, 6, 9, .45) 62%, rgba(5, 6, 9, 0) 85%),
        linear-gradient(0deg, rgba(5, 6, 9, .6) 0%, rgba(5, 6, 9, 0) 28%);
}

/* team/office clip (hero-bg-team): bright daylight footage, so dim + cool it and keep the copy side dark */
section.hero-slider-section.hero-cinematic .hero-video-poster,
section.hero-slider-section.hero-cinematic .hero-video-bg {
    filter: brightness(.62) saturate(.85) contrast(1.08);
}

section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    background:
        linear-gradient(90deg, rgba(5, 6, 9, .95) 0%, rgba(5, 6, 9, .85) 34%, rgba(5, 6, 9, .4) 62%, rgba(5, 6, 9, .1) 100%),
        linear-gradient(0deg, rgba(5, 6, 9, .65) 0%, rgba(5, 6, 9, 0) 30%),
        linear-gradient(180deg, rgba(10, 18, 40, .35), rgba(10, 18, 40, .15));
}

section.hero-slider-section.hero-cinematic .hero-video-poster,
section.hero-slider-section.hero-cinematic .hero-video-bg {
    filter: brightness(.8) saturate(.9) contrast(1.08);
}

section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    background:
        linear-gradient(90deg, rgba(5, 6, 9, .95) 0%, rgba(5, 6, 9, .82) 34%, rgba(5, 6, 9, .3) 62%, rgba(5, 6, 9, 0) 100%),
        linear-gradient(0deg, rgba(5, 6, 9, .65) 0%, rgba(5, 6, 9, 0) 30%),
        linear-gradient(180deg, rgba(10, 18, 40, .25), rgba(10, 18, 40, .1));
}

/* ================= v3: bottom-anchored editorial copy ================= */
@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/anton/anton-latin.woff2") format("woff2");
}

/* copy sits at the bottom of the hero, full width */
section.hero-slider-section.hero-cinematic .hero-slide {
    justify-content: flex-end !important;
    padding-bottom: 64px !important;
}

section.hero-slider-section.hero-cinematic .hero-slide .row {
    align-items: flex-end !important;
}

section.hero-slider-section.hero-cinematic .hero-slide .row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
}

@media (min-width: 992px) {
    section.hero-slider-section.hero-cinematic .hero-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
        grid-template-areas:
            "title lead"
            "btns  lead";
        column-gap: 64px;
        align-items: end;
        max-width: none !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content .hero-title { grid-area: title; }
    section.hero-slider-section.hero-cinematic .hero-content .hero-lead { grid-area: lead; align-self: center; }
    section.hero-slider-section.hero-cinematic .hero-content .hero-btns { grid-area: btns; }
}

/* headline: condensed, uppercase, orange accents */
section.hero-slider-section.hero-cinematic .hero-content .hero-title {
    max-width: 980px;
    margin: 0 0 40px !important;
    font-family: "Anton", "Impact", "Arial Narrow", sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(3rem, 6.4vw, 7rem) !important;
    line-height: .95 !important;
    letter-spacing: -.005em !important;
    text-transform: uppercase;
}

section.hero-slider-section.hero-cinematic .hero-title .hr-accent {
    color: #ff9f0a;
}

section.hero-slider-section.hero-cinematic .hero-content .hero-lead {
    max-width: 400px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* buttons: boxed label + accent square with the arrow */
section.hero-slider-section.hero-cinematic .hero-btns {
    gap: 12px;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn {
    gap: 18px;
    padding: 7px 7px 7px 20px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn svg {
    box-sizing: content-box;
    width: 12px;
    height: 12px;
    padding: 13px;
    border-radius: 6px;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .3s ease;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn:hover svg {
    transform: rotate(45deg);
}

/* Request A Quote: dark glass box, orange square */
section.hero-slider-section.hero-cinematic .hero-btns .btn-blue {
    background: rgba(12, 14, 18, .6) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    color: #fff !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-blue svg {
    background: #ff9f0a;
    color: #111;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-blue:hover {
    background: rgba(12, 14, 18, .85) !important;
    border-color: #ff9f0a !important;
    color: #fff !important;
}

/* Book a call: orange box, dark square */
section.hero-slider-section.hero-cinematic .hero-btns .btn-orange {
    border: 1px solid #ff9f0a !important;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-orange svg {
    background: #111;
    color: #fff;
}

section.hero-slider-section.hero-cinematic .hero-btns .btn-orange:hover {
    background: #ffb340 !important;
    border-color: #ffb340 !important;
}

/* the copy side darkening now runs along the bottom too */
section.hero-slider-section.hero-cinematic .hero-video-wrap::after {
    background:
        linear-gradient(0deg, rgba(5, 6, 9, .92) 0%, rgba(5, 6, 9, .55) 38%, rgba(5, 6, 9, 0) 70%),
        linear-gradient(90deg, rgba(5, 6, 9, .75) 0%, rgba(5, 6, 9, .3) 50%, rgba(5, 6, 9, 0) 100%),
        linear-gradient(180deg, rgba(10, 18, 40, .25), rgba(10, 18, 40, .1));
}

@media (max-width: 991px) {
    section.hero-slider-section.hero-cinematic .hero-slide {
        padding-bottom: 40px !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: clamp(2.6rem, 11vw, 4.5rem) !important;
        margin-bottom: 20px !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content .hero-lead {
        max-width: 560px !important;
        margin-bottom: 28px !important;
    }
}

@media (max-width: 575px) {
    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: 2.6rem !important;
        line-height: 1 !important;
    }

    section.hero-slider-section.hero-cinematic .hero-btns .btn {
        justify-content: space-between;
        padding: 7px 7px 7px 20px !important;
    }
}

/* accent words: beat legacy "h1 span" rules (thin, white) */
section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-accent {
    display: inline !important;
    color: #ff9f0a !important;
    -webkit-text-fill-color: #ff9f0a !important;
    background: none !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

/* fit the 4-line headline + buttons above the logo strip */
section.hero-slider-section.hero-cinematic .hero-content .hero-title {
    font-size: clamp(3rem, 5.1vw, 6rem) !important;
    margin-bottom: 30px !important;
}

section.hero-slider-section.hero-cinematic .hero-slide {
    padding-bottom: 48px !important;
}

@media (min-width: 992px) {
    section.hero-slider-section.hero-cinematic .hero-slide .container-fluid {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 991px) {
    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: clamp(2.6rem, 11vw, 4.5rem) !important;
    }
}

@media (max-width: 575px) {
    section.hero-slider-section.hero-cinematic .hero-content .hero-title {
        font-size: 2.6rem !important;
    }
}

/* ≥1200px the logo strip is absolutely positioned over the slide (≈103px): keep the copy above it */
@media (min-width: 1200px) {
    section.hero-slider-section.hero-cinematic .hero-slide {
        padding-bottom: 160px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    section.hero-slider-section.hero-cinematic .hero-slide {
        padding-bottom: 150px !important;
    }

    section.hero-slider-section.hero-cinematic .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
        column-gap: 40px;
    }
}

/* ================= typing headline =================
   <html class="hr-type"> is set inline in <head>; home-hero.js builds a hidden "ghost" copy
   (keeps the size) and types into an overlay. If the JS never runs, the title shows after 3s. */
html.hr-type section.hero-slider-section.hero-cinematic .hero-content .hero-title {
    animation: hr-type-fallback 0s 3s forwards !important;
    visibility: hidden;
}

@keyframes hr-type-fallback {
    to { visibility: visible; }
}

html.hr-type section.hero-slider-section.hero-cinematic .hero-content .hero-title.hr-typing {
    position: relative;
    visibility: visible;
    animation: none !important;
}

section.hero-slider-section.hero-cinematic .hero-title .hr-ghost {
    visibility: hidden;
}

section.hero-slider-section.hero-cinematic .hero-title .hr-typed {
    position: absolute;
    inset: 0;
}

/* blinking orange caret */
section.hero-slider-section.hero-cinematic .hero-title .hr-caret {
    display: inline-block;
    width: .09em;
    height: .82em;
    margin-left: .06em;
    vertical-align: -.04em;
    background: #ff9f0a;
    animation: hr-caret .9s steps(1) infinite;
}

section.hero-slider-section.hero-cinematic .hero-title .hr-caret.is-typing {
    animation: none;
}

@keyframes hr-caret {
    50% { opacity: 0; }
}

/* typed overlay + ghost: same face as the headline (legacy "h1 span" rules use a thin font) */
section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-typed,
section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-ghost,
section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-typed span,
section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-ghost span {
    font-family: "Anton", "Impact", "Arial Narrow", sans-serif !important;
    font-weight: 400 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: uppercase !important;
}

section.hero-slider-section.hero-cinematic .hero-content h1.hero-title span.hr-typed {
    display: block !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
