/* =============================================================
   ENARC LLC — identity page
   ============================================================= */

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

html,
body {
    height: 100%;
}

body {
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------
   Layout
   ------------------------------------------------------------- */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
}

/* -------------------------------------------------------------
   Logo block
   ------------------------------------------------------------- */

picture {
    display: block;
}

.logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.logo {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* -------------------------------------------------------------
   Slogan
   ------------------------------------------------------------- */

.slogan {
    margin-top: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1c1e24;
    text-align: center;
    line-height: 1.6;
    animation: reveal 1000ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

/* -------------------------------------------------------------
   Contact
   ------------------------------------------------------------- */

.contact-block {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: reveal 400ms cubic-bezier(0.22, 1, 0.36, 1) 2500ms both;
}

.contact-link {
    display: block;
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #3468c0;
    text-decoration: none;
    transition: color 400ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    color: #1d4494;
    outline: none;
}

/* -------------------------------------------------------------
   Animation
   ------------------------------------------------------------- */

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------------------
   Dark mode
   ------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
    }

    .slogan {
        color: #e8e8e8;
    }

    .contact-link {
        color: #6ea3f0;
    }

    .contact-link:hover,
    .contact-link:focus-visible {
        color: #9ec0f7;
    }
}

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */

@media (max-width: 480px) {
    .site-wrapper {
        padding: 3.5rem 1.75rem;
    }

    .logo {
        max-width: 240px;
    }

    .contact-block {
        margin-top: 28px;
    }
}

@media (max-width: 320px) {
    .site-wrapper {
        padding: 2.5rem 1.25rem;
    }
}
