@font-face {
    font-family: "Effra";
    src: url("css/Effra Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Effra";
    src: url("css/Effra_Std_He.ttf") format("truetype");
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background: #020204;
    color: #fff;
    font-family: "Effra", Arial, Helvetica, sans-serif;
}

.hero {
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
}

.hero__image,
.hero__veil {
    inset: 0;
    position: absolute;
    z-index: -2;
}

.hero__video {
    inset: 0;
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}

.hero__video.is-ready {
    opacity: 1;
}

.hero__video--desktop {
    display: block;
}

.hero__video--mobile {
    display: none;
}

.hero__image {
    z-index: -3;
    background: #020204 url("img/desk_back.png") center bottom / cover no-repeat;
    filter: saturate(1.12) contrast(1.06);
    transform: scale(1.015);
}

.hero__veil {
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .48) 27%, rgba(0, 4, 19, .39) 60%, rgba(0, 0, 0, .3) 100%);
}

.site-header {
    /* padding: clamp(2rem, 6.5vw, 6.15rem) clamp(1.5rem, 7vw, 8.5rem); */
}

.brand {
    display: inline-block;
    text-decoration: none;
}

.brand img {
    display: block;
    width: clamp(14rem, 24vw, 27rem);
}

.intro {
    align-self: center;
    margin: 2rem auto 8.5vh;
    max-width: 1200px;
    padding: 0 1.5rem;
    text-align: center;
}

h1 {
    font-size: clamp(2rem, 3.12vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 0;
    text-shadow: 0 2px 12px rgb(0 0 0 / .45);
    transform-style: preserve-3d;
    perspective: 800px;
}

.azul  {
    color: #0878f9;
    text-decoration: none;
}

.azul :hover,
.azul :focus-visible {
    color: #48a3ff;
    text-decoration: underline;
    text-underline-offset: .11em;
}

.intro>p {
    color: #f5f5f6;
    font-size: clamp(1.45rem, 2.05vw, 2.45rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.12;
    margin: .36em 0 1.5em;
}

.learn-more>span {
    display: block;
    font-size: clamp(1.05rem, 1.35vw, 1.45rem);
    margin-bottom: 1.25rem;
}

.company-links {
    display: flex;
    gap: clamp(1rem, 2vw, 2.4rem);
    justify-content: center;
}

.company-card {
    border-radius: 1.35rem;
    box-shadow: 0 9px 20px rgb(0 0 0 / .34);
    display: block;
    height: clamp(7rem, 10.2vw, 9.4rem);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    width: clamp(7rem, 10.2vw, 9.4rem);
}

.company-card:hover,
.company-card:focus-visible {
    box-shadow: 0 14px 30px rgb(0 0 0 / .52), 0 0 0 4px rgb(255 255 255 / .85);
    outline: none;
    transform: translateY(-6px) scale(1.025);
}

.company-card img {
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 650px) {
    .hero__video--desktop {
        display: none;
    }

    .hero__video--mobile {
        display: block;
    }

    .hero__image {
        background-position: 55% bottom;
        z-index: -3;
    }

    .hero__veil {
        background: linear-gradient(180deg, rgba(0, 0, 0, .89) 0%, rgba(0, 0, 0, .58) 30%, rgba(0, 3, 18, .47) 72%, rgba(0, 0, 0, .35) 100%);
    }

    .site-header {
        padding-top: 2.4rem;
    }

    .intro {
        align-self: start;
        /* margin: clamp(5.5rem, 1svh, 9rem) auto 3rem; */
    }

    .desktop-break {
        display: none;
    }

    h1 {
        font-size: clamp(2rem, 9.4vw, 3rem);
    }

    .intro>p {
        font-size: clamp(1.35rem, 6.5vw, 2rem);
        margin: .65em auto 2.3rem;
        max-width: 17ch;
    }

    .learn-more>span {
        margin-bottom: 1rem;
    }

    .company-card {
        border-radius: 1.15rem;
    }
}

@media (max-width: 360px) {
    .company-card {
        height: 6.25rem;
        width: 6.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-card {
        transition: none;
    }
}
