.wp-block-harris-home-presenter.harris-home-presenter {
    --harris-home-width: 1280px;
    --harris-home-gutter: 2rem;
    --harris-home-height: 720px;
    --harris-home-overlay: #212122;
    --harris-home-overlay-opacity: .72;
    --harris-home-video-overlay-opacity: .24;
    --harris-home-text: #fff;
    --harris-home-red: var(--wp--preset--color--harris-red, #b62025);
    --harris-home-red-dark: var(--wp--preset--color--harris-red-dark, #8f171b);
    --harris-home-left: 56%;
    --harris-home-split-slant: clamp(48px, 5vw, 88px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: var(--harris-home-height);
    margin: 0;
    background: #171718;
    color: var(--harris-home-text);
}

.harris-home-presenter *,
.harris-home-presenter *::before,
.harris-home-presenter *::after { box-sizing: border-box; }


.harris-home-presenter__video-panel {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: #171718;
}

.harris-home-presenter__video,
.harris-home-presenter__background-image,
.harris-home-presenter__video-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.harris-home-presenter__video,
.harris-home-presenter__background-image { object-fit: cover; }
.harris-home-presenter__video-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: .9rem; }
.harris-home-presenter__video-tint { position: absolute; z-index: 1; inset: 0; background: #111; opacity: var(--harris-home-video-overlay-opacity); }

.harris-home-presenter__left-tint {
    position: absolute;
    z-index: 2;
    inset-block: 0;
    left: 0;
    width: min(92%, calc(var(--harris-home-left) + clamp(15rem, 24vw, 30rem)));
    background: var(--harris-home-overlay);
    opacity: var(--harris-home-overlay-opacity);
    -webkit-mask-image: linear-gradient(
        96deg,
        #000 0%,
        #000 42%,
        rgba(0,0,0,.96) 50%,
        rgba(0,0,0,.82) 60%,
        rgba(0,0,0,.58) 70%,
        rgba(0,0,0,.30) 82%,
        rgba(0,0,0,.10) 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        96deg,
        #000 0%,
        #000 42%,
        rgba(0,0,0,.96) 50%,
        rgba(0,0,0,.82) 60%,
        rgba(0,0,0,.58) 70%,
        rgba(0,0,0,.30) 82%,
        rgba(0,0,0,.10) 92%,
        transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    pointer-events: none;
}


.harris-home-presenter__left-bg,
.harris-home-presenter__divider { display: none !important; }

.harris-home-presenter__inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    width: min(calc(100% - (var(--harris-home-gutter) * 2)), var(--harris-home-width));
    min-height: var(--harris-home-height);
    margin-inline: auto;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.harris-home-presenter__content { width: min(48rem, calc(var(--harris-home-left) - 4rem)); }
.harris-home-presenter__heading { max-width: 14ch; margin: 0; color: inherit; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 850; letter-spacing: -.055em; line-height: .94; text-wrap: balance; }
.harris-home-presenter__copy { max-width: 40rem; margin: 1.35rem 0 0; color: inherit; font-size: clamp(1rem, 1.35vw, 1.24rem); line-height: 1.6; text-wrap: pretty; }

.harris-home-presenter__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-top: 1.75rem;
}


.harris-home-presenter__button {
    --presenter-chevron-space: 3.7rem;
    --presenter-chevron-width: 2.2rem;
    --presenter-button-bg: var(--harris-home-red);
    --presenter-button-hover: var(--harris-home-red-dark);
    --presenter-chevron-white: #fff;
    --presenter-chevron-overlay: var(--harris-home-overlay);
    --presenter-chevron-front: var(--harris-home-red);

    position: relative;
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.8rem .85rem 1.55rem;
    margin-right: var(--presenter-chevron-space);
    overflow: visible;
    border: 0;
    border-radius: 3px 0 0 3px;
    background: var(--presenter-button-bg);
    color: #fff;
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 180ms ease, transform 180ms ease;
}

.harris-home-presenter__button--secondary {
    --presenter-button-bg: #fff;
    --presenter-button-hover: #f1f1f1;
    --presenter-chevron-white: #000000;
    --presenter-chevron-overlay: #212122;
    --presenter-chevron-front: #fff;
    color: #212122;
}

.harris-home-presenter__button-label {
    position: relative;
    z-index: 2;
}

.harris-home-presenter__button-chevron {
    position: absolute;
    top: 0;
    width: var(--presenter-chevron-width);
    height: 100%;
    clip-path: polygon(0 0, 56% 0, 100% 50%, 56% 100%, 0 100%, 44% 50%);
    pointer-events: none;
    transform: translateX(0);
    transform-origin: center;
    transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}

.harris-home-presenter__button-chevron--white {
    right: -.8rem;
    z-index: 1;
    background: var(--presenter-chevron-white);
}

.harris-home-presenter__button-chevron--overlay {
    right: -1.32rem;
    z-index: 2;
    background: var(--presenter-chevron-overlay);
    opacity: 0;
}

.harris-home-presenter__button-chevron--red {
    right: -1rem;
    z-index: 3;
    background: var(--presenter-chevron-front);
}

.harris-home-presenter__button:hover,
.harris-home-presenter__button:focus-visible {
    --presenter-button-bg: var(--presenter-button-hover);
    color: #fff;
    transform: translateX(2px);
}

.harris-home-presenter__button--secondary:hover,
.harris-home-presenter__button--secondary:focus-visible {
    color: #212122;
}

.harris-home-presenter__button:hover .harris-home-presenter__button-chevron--white,
.harris-home-presenter__button:focus-visible .harris-home-presenter__button-chevron--white {
    transform: translateX(.12rem);
}

.harris-home-presenter__button:hover .harris-home-presenter__button-chevron--overlay,
.harris-home-presenter__button:focus-visible .harris-home-presenter__button-chevron--overlay {
    transform: translateX(.16rem);
}

.harris-home-presenter__button:hover .harris-home-presenter__button-chevron--red,
.harris-home-presenter__button:focus-visible .harris-home-presenter__button-chevron--red {
    transform: translateX(.24rem);
}

.harris-home-presenter__button:active {
    transform: translateX(2px) translateY(2px);
}

.harris-home-presenter__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.harris-home-presenter__divider { display: none !important; }

.harris-home-presenter__reveal-chevron {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 50%;
    height: calc(100% + 8px);
    width: auto;
    aspect-ratio: .78 / 1;
    pointer-events: none;
    transform: translate3d(-115%, -50%, 0);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.harris-home-presenter__reveal-chevron-white,
.harris-home-presenter__reveal-chevron-red {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}

.harris-home-presenter__reveal-chevron-white { background: #fff; transform: translateX(-13%); }
.harris-home-presenter__reveal-chevron-red { background: var(--harris-home-red); }

.harris-home-presenter:not(.is-editor-preview) .harris-home-presenter__content {
    opacity: 0;
    transform: translateX(-28px);
    clip-path: inset(0 100% 0 0);
}

.harris-home-presenter.is-reveal-running .harris-home-presenter__content,
.harris-home-presenter.is-revealed .harris-home-presenter__content {
    animation: harrisHomeContentReveal .9s cubic-bezier(.16,1,.3,1) .28s forwards;
}

.harris-home-presenter:not(.is-editor-preview).is-reveal-running .harris-home-presenter__reveal-chevron {
    visibility: visible;
    animation: harrisHomeChevronPass 1.12s cubic-bezier(.2,.72,.18,1) forwards;
}

@keyframes harrisHomeChevronPass {
    0% { transform: translate3d(-115%, -50%, 0); opacity: 1; }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translate3d(calc(100vw + 115%), -50%, 0); opacity: 0; visibility: hidden; }
}

@keyframes harrisHomeContentReveal {
    0% { opacity: 0; transform: translateX(-28px); clip-path: inset(0 100% 0 0); }
    35% { opacity: 1; }
    100% { opacity: 1; transform: translateX(0); clip-path: inset(0 0 0 0); }
}

/* ROUTE --------------------------------------------------------------- */
.harris-home-presenter__route,
.harris-home-presenter__route-preview {
    position: absolute;
    z-index: 3;
    top: 6%;
    right: 4%;
    bottom: 8%;
    left: calc(var(--harris-home-left) + 1.5%);
    pointer-events: none;
}

.harris-home-presenter__route svg,
.harris-home-presenter__route-preview svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.harris-home-presenter__route path,
.harris-home-presenter__route-preview path {
    fill: none;
    stroke: rgba(255,255,255,.84);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.28));
}

.harris-home-presenter__route .route-path-underlay { stroke: rgba(182,32,37,.55); stroke-width: 8; }
.harris-home-presenter__route .route-leg,
.harris-home-presenter__route .route-leg-underlay { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.harris-home-presenter__route-node,
.harris-home-presenter__route-traveller,
.harris-home-presenter__route-traveller-halo {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    border-radius: 50%;
    aspect-ratio: 1;
    translate: -50% -50%;
}

.harris-home-presenter__route-node {
    width: clamp(12px, 1.35vw, 18px);
    background: var(--harris-home-red);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    opacity: 0;
    scale: .55;
}

.harris-home-presenter__route-node.route-node--start { width: clamp(14px, 1.55vw, 21px); }
.harris-home-presenter__route-node.is-visible { animation: harrisRouteNode .28s cubic-bezier(.2,.8,.2,1) forwards; }

.harris-home-presenter__route-traveller-halo {
    z-index: 5;
    width: clamp(28px, 3.3vw, 46px);
    background: rgba(182,32,37,.24);
}

.harris-home-presenter__route-traveller {
    z-index: 6;
    width: clamp(12px, 1.45vw, 19px);
    background: #fff;
    border: 4px solid var(--harris-home-red);
    box-shadow: 0 2px 6px rgba(0,0,0,.38);
}

@keyframes harrisRouteNode {
    from { opacity: 0; scale: .55; }
    to { opacity: 1; scale: 1; }
}

.harris-home-presenter__route-preview circle { fill: var(--harris-home-red); stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }

.harris-home-presenter__route-label,
.harris-home-presenter__route-preview span {
    position: absolute;
    z-index: 7;
    padding: .36rem .58rem;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(20,20,21,.82);
    color: #fff;
    font-size: clamp(.66rem, .85vw, .82rem);
    font-weight: 750;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    backdrop-filter: blur(5px);
    transform: translate(-50%, -140%);
}

.harris-home-presenter__route-label {
    opacity: 0;
    transform: translate(-50%, -125%) scale(.94);
    transition: opacity .2s linear, transform .24s cubic-bezier(.2,.8,.2,1);
}

.harris-home-presenter__route-label.is-visible { opacity: 1; transform: translate(-50%, -140%) scale(1); }
.harris-home-presenter__route-label::before,
.harris-home-presenter__route-preview span::before { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: rgba(255,255,255,.5); }

.harris-home-presenter__route.is-fading { opacity: 0; transition: opacity .5s ease; }

@media (max-width: 900px) {
    .wp-block-harris-home-presenter.harris-home-presenter {
        --harris-home-left: 55%;
        --harris-home-gutter: 2rem;
    }

    .harris-home-presenter__content { width: min(30rem, calc(var(--harris-home-left) - 2rem)); }
    .harris-home-presenter__heading { font-size: clamp(2.5rem, 7vw, 4.5rem); }
    .harris-home-presenter__route { left: calc(var(--harris-home-left) + 1%); right: 3%; }
}

@media (max-width: 800px) {
    .wp-block-harris-home-presenter.harris-home-presenter {
        --harris-home-gutter: 1.5rem;
        min-height: min(var(--harris-home-height), 760px);
    }

    .harris-home-presenter__video-panel {
        inset: 0;
        width: 100%;
        clip-path: none;
    }

    .harris-home-presenter__left-tint {
        inset: 0;
        width: 100%;
        clip-path: none;
        background: var(--harris-home-overlay);
        opacity: var(--harris-home-overlay-opacity);
        -webkit-mask-image: none;
        mask-image: none;
    }

    .harris-home-presenter__inner {
        min-height: min(var(--harris-home-height), 760px);
        padding-block: clamp(3.5rem, 10vw, 5.5rem);
    }

    .harris-home-presenter__content {
        width: 100%;
        max-width: 38rem;
        text-shadow: 0 2px 18px rgba(0,0,0,.35);
    }

    .harris-home-presenter__heading { font-size: clamp(2.8rem, 11vw, 5rem); }
    .harris-home-presenter__copy { max-width: 34rem; font-size: clamp(.95rem, 3vw, 1.1rem); }

    .harris-home-presenter__route {
        top: 7%;
        right: 4%;
        bottom: 7%;
        left: 4%;
        opacity: .72;
    }

    .harris-home-presenter__route-label { font-size: clamp(.6rem, 2vw, .74rem); }
}

@media (max-width: 640px) {
    .wp-block-harris-home-presenter.harris-home-presenter { --harris-home-gutter: 1.5rem; }
    .harris-home-presenter__heading { font-size: clamp(2.45rem, 12vw, 4rem); }
    .harris-home-presenter__copy { font-size: .94rem; line-height: 1.5; }
    .harris-home-presenter__buttons { gap: .85rem; margin-top: 1.4rem; }
    .harris-home-presenter__button { font-size: .8rem; }
    .harris-home-presenter__route { inset: 8% 3% 7%; opacity: .62; }
}

@media (max-width: 480px) {
    .harris-home-presenter__heading { font-size: clamp(2.25rem, 12vw, 3.35rem); }
    .harris-home-presenter__route-label { font-size: .56rem; }
    .harris-home-presenter__route-node { width: 12px; border-width: 2px; }
    .harris-home-presenter__route-traveller { width: 12px; border-width: 3px; }
    .harris-home-presenter__route-traveller-halo { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .harris-home-presenter:not(.is-editor-preview) .harris-home-presenter__content { opacity: 1; transform: none; clip-path: none; }
    .harris-home-presenter__reveal-chevron { display: none; }
    .harris-home-presenter * { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
