.hr-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(620px, 100svh, 760px);
    overflow: hidden;
    background: #26282a;
    color: #fff;
}

.hr-hero__content-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--innova-container-max);
    margin-inline: auto;
    padding-inline: var(--innova-container-gutter-desktop);
}

.hr-hero__main-content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(0.25rem * 10);
    text-align: left;
}

.hr-hero__text-content {
    display: flex;
    flex-direction: column;
    gap: calc(0.25rem * 10);
}

.hr-hero__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.22em;
    row-gap: 0.06em;
    max-width: 1060px;
    margin: 0;
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: clamp(1.5rem, 7vw, 84px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.02;
    text-wrap: balance;
}

.hr-hero__dynamic-words {
    position: relative;
    display: inline-grid;
    grid-template-areas: "word";
    overflow: hidden;
    padding-block: 0.16em;
    color: #f25d21;
    line-height: inherit;
    vertical-align: baseline;
}

.hr-hero__dynamic-word {
    grid-area: word;
    min-width: 0;
    opacity: 0;
    filter: blur(4px);
    transform: none;
    white-space: nowrap;
    will-change: transform, opacity, filter;
}

.hr-hero__dynamic-word.is-active {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

.hr-hero__static-title {
    display: inline;
    max-width: 760px;
    margin-block-start: -0.16em;
}

.hr-hero__description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-inter);
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    line-height: 1.42;
    text-wrap: pretty;
    max-width: 620px;
}

.hr-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hr-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 1.5rem;
    border-radius: 6px;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.hr-hero__cta:hover,
.hr-hero__cta:focus-visible {
    text-decoration: none;
}

.hr-hero__cta:focus-visible {
    outline: 2px solid #f25d21;
    outline-offset: 3px;
}

.hr-hero__cta:active {
    transform: none;
}

.hr-hero__cta--btn-primary {
    background: #f25d21;
    border: 1px solid transparent;
    box-shadow: none;
    color: #fff;
}

.hr-hero__cta--btn-primary:hover,
.hr-hero__cta--btn-primary:focus-visible {
    background: #d94f18;
    border-color: transparent;
    color: #fff;
}

.hr-hero__cta--btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    color: #fff;
}

.hr-hero__cta--btn-secondary:hover,
.hr-hero__cta--btn-secondary:focus-visible {
    background: #e16736;
    border-color: #e16736;
    color: #fff;
}

.hr-hero__media-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hr-hero__media-container::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        90deg,
        rgba(38, 40, 42, 1) 0%,
        rgba(38, 40, 42, 0.95) 45%,
        rgba(38, 40, 42, 0.5) 100%
    );
    pointer-events: none;
}

.hr-hero__background-video,
.hr-hero__fallback-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .hr-hero__dynamic-word,
    .hr-hero__cta {
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 760px) {
    .hr-hero {
        min-height: 500px;
    }

    .hr-hero__content-container {
        padding-inline: var(--innova-container-gutter-mobile);
    }

    .hr-hero__main-content-container {
        gap: 24px;
    }
}
