:root {
    color-scheme: dark;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #111419;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    min-height: 100svh;
    overflow: hidden;
    color: #f7f7f7;
    background: #111419;
}

.hero {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 100svh;
    place-items: start center;
    isolation: isolate;
    background-image: url("hero-passat-cc.png");
    background-position: center center;
    background-size: cover;
}

.hero::before,
.hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(7, 9, 12, .36) 0%, transparent 39%),
        linear-gradient(0deg, rgba(5, 7, 10, .58) 0%, transparent 27%);
}

.hero::after {
    box-shadow: inset 0 0 13vw rgba(0, 0, 0, .34);
}

.hero__logo {
    width: clamp(16rem, 37vw, 42rem);
    height: auto;
    margin-top: clamp(3rem, 9vh, 7rem);
    filter: drop-shadow(0 .45rem .2rem rgba(0, 0, 0, .68))
            drop-shadow(0 1.1rem 1.5rem rgba(0, 0, 0, .55));
    user-select: none;
}

.site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1rem max(1rem, env(safe-area-inset-right))
        calc(1rem + env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
    text-align: center;
    background: linear-gradient(0deg, rgba(4, 6, 9, .88), rgba(4, 6, 9, .52) 72%, transparent);
}

.site-footer p {
    margin: 0;
    font-size: clamp(.78rem, 1.25vw, .95rem);
    font-weight: 400;
    letter-spacing: .035em;
    line-height: 1.45;
    text-shadow: 0 .1rem .3rem #000;
}

.site-footer a {
    color: inherit;
    text-decoration-color: rgba(255, 255, 255, .5);
    text-underline-offset: .2em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration-color: currentColor;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 700px) {
    .hero {
        background-position: 44% center;
    }

    .hero__logo {
        width: min(74vw, 24rem);
        margin-top: max(2.25rem, 7vh);
    }

    .site-footer {
        padding-top: 2rem;
    }
}

@media (max-width: 430px) and (orientation: portrait) {
    .hero {
        background-position: 42% center;
    }

    .hero__logo {
        width: 78vw;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__logo {
        animation: logo-arrival 900ms cubic-bezier(.2, .72, .22, 1) both;
    }
}

@keyframes logo-arrival {
    from {
        opacity: 0;
        transform: translateY(-1rem) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
