.legacy-hero {
    --grid-width: 1240px;
    --title-y: -80px;
    --subtitle-x: 0px;
    --subtitle-y: -28px;
    --line-x: 0px;
    --line-y: 22px;
    --button-x: 456px;
    --button-y: 143px;
    --title-font: 80px;
    --title-line: 80px;
    --subtitle-font: 20px;
    --subtitle-weight: 700;
    --button-font: 27px;
    --rise-ease: linear(0, .000005, .00016, .001215, .00512, .015625, .03888, .084035, .16384, .295245, .5, .704755, .83616, .915965, .96112, .984375, .99488, .998785, .99984, .999995, 1);
    --scroll-ease: linear(0, .0005, .004, .0135, .032, .0625, .108, .1715, .256, .3645, .5, .6355, .744, .8285, .892, .9375, .968, .9865, .996, .9995, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    height: calc(100vh - var(--ibiotec-top-offset, 0px));
    min-height: 700px;
    color: #fff;
    background: #333;
    text-align: center;
    font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}
.legacy-hero-media {
    position: absolute;
    z-index: -1;
    inset: 0;
    filter: grayscale(.5) contrast(.95) brightness(.9);
}
.legacy-hero-media img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    transform: translateY(var(--ibiotec-parallax-y, 0px));
}
.legacy-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle,40%, #d4a9af 55%,#000 150%);
    mix-blend-mode: overlay;
}
.legacy-hero-layer {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}
.legacy-hero-title { top: calc(50% + var(--title-y)); }
.legacy-hero-subtitle {
    top: calc(50% + var(--subtitle-y));
    left: calc(50% + var(--subtitle-x));
}
.legacy-hero-line {
    top: calc(50% + var(--line-y));
    left: calc(50% + var(--line-x));
    width: 200px;
    height: 3px;
}
.legacy-hero-title h3, .legacy-hero-subtitle p {
    margin: 0;
    font-family: inherit;
    color: #fff;
    white-space: nowrap;
}
.legacy-hero-title h3 {
    font-size: var(--title-font);
    line-height: var(--title-line);
    font-weight: 700;
    animation: ibiotec-hero-rise 710ms var(--rise-ease) 430ms both;
}
.legacy-hero-subtitle p {
    font-size: var(--subtitle-font);
    line-height: 22px;
    font-weight: var(--subtitle-weight);
    animation: ibiotec-hero-rise 710ms var(--rise-ease) 610ms both;
}
.legacy-hero-line span {
    display: block;
    width: 100%;
    height: 100%;
    background: #e40613;
    animation: ibiotec-hero-rise 710ms var(--rise-ease) 710ms both;
}
.legacy-hero a.legacy-hero-cta {
    position: absolute;
    left: calc(50% - var(--grid-width) / 2 + var(--button-x));
    top: calc(50% + var(--button-y));
    display: inline-flex;
    align-items: center;
    gap: 0;
    box-sizing: content-box;
    border: 2px solid #e2000f;
    border-radius: 30px;
    padding: 12px 35px;
    color: #fff;
    font-family: inherit;
    font-size: var(--button-font);
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    transition: none;
    animation: ibiotec-hero-cta-in 300ms ease 10ms both;
}
.legacy-hero a.legacy-hero-cta:hover,
.legacy-hero a.legacy-hero-cta:focus-visible {
    color: #fff;
    background: #e40613;
    border-color: #e40613;
}
.legacy-hero-cta > span { display: none; }
.legacy-hero-cta:hover > span, .legacy-hero-cta:focus-visible > span {
    display: inline-block;
    width: .3em;
    height: .3em;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    margin-inline-start: .45em;
}
.legacy-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 10px;
    box-sizing: border-box;
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 17px;
    transform: translateX(-50%);
    opacity: .4;
    animation: ibiotec-hero-scroll-in 770ms var(--scroll-ease) 3160ms both;
}
.legacy-hero-scroll span {
    display: block;
    position: absolute;
    left: calc(50% + 2px);
    width: 3px;
    height: 6px;
    background: #fff;
    animation: ibiotec-hero-mouse 2500ms linear infinite;
}
@keyframes ibiotec-hero-rise {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ibiotec-hero-cta-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ibiotec-hero-scroll-in {
    from { opacity: 0; transform: translate(-50%, 50px); }
    to { opacity: .4; transform: translate(-50%, 0); }
}
@keyframes ibiotec-hero-mouse {
    0% { opacity: 1; top: 29%; }
    15% { opacity: 1; top: 70%; }
    50% { opacity: 0; top: 70%; }
    100% { opacity: 0; top: 29%; }
}
@media (max-width: 1239px) {
    .legacy-hero { --grid-width: 1024px; --button-x: 325px; --button-y: 104px; }
}
@media (max-width: 1023px) {
    .legacy-hero {
        --grid-width: 768px; --title-y: -148px; --title-font: 66px;
        --subtitle-x: 1px; --subtitle-y: -87px; --subtitle-weight: 400;
        --line-x: -2px; --line-y: -26px; --button-x: 195px; --button-y: 33px;
    }
}
@media (max-width: 777px) {
    .legacy-hero {
        --grid-width: 320px; --title-y: -97px; --title-font: 38px; --title-line: 38px;
        --subtitle-x: 0px; --subtitle-y: -19px; --subtitle-font: 14px;
        --line-x: 0px; --line-y: 25px; --button-x: 37px; --button-y: 105px; --button-font: 15px;
    }
    .legacy-hero-title { width: min(261px, 95%); height: 77px; }
    .legacy-hero-subtitle { width: min(303px, 95%); height: 46px; }
    .legacy-hero-title h3, .legacy-hero-subtitle p { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .legacy-hero *,
    .legacy-hero *::before,
    .legacy-hero *::after { animation: none !important; }
    .legacy-hero-media img { transform: none; }
    .legacy-hero-scroll span { top: 29%; }
}
