/* ---------- Fonts ---------- */

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../font/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* ---------- Base ---------- */

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

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #262626;
    color: #ffffff;
}

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

.ambient-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    overflow: hidden;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
        url("../.img/9-16ratio-bg-img.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .ambient-bg {
        padding: 3rem;
    }
}

@media (min-width: 768px) and (min-aspect-ratio: 4 / 3) {
    .ambient-bg {
        background-image:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
            url("../.img/16-9ratio-img.jpeg");
    }
}

/* ---------- Header ---------- */

.site-header {
    width: 100%;
    max-width: 80rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    transition: opacity 300ms ease;
}

.site-header:hover {
    opacity: 1;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header__label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a3a3a3;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: #00ff00;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* ---------- Hero ---------- */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 56rem;
    margin: auto;
}

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

.logo {
    position: relative;
}

.logo__glow {
    position: absolute;
    inset: -0.25rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #404040, #737373);
    filter: blur(4px);
    opacity: 0.3;
    transition: opacity 500ms ease;
}

.logo:hover .logo__glow {
    opacity: 0.75;
}

.logo__frame {
    position: relative;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background-color: #000000;
    border: 1px solid #262626;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

@media (min-width: 640px) {
    .logo__frame {
        width: 7rem;
        height: 7rem;
    }
}

.logo__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

/* ---------- Badge ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #262626;
    border-radius: 9999px;
    background-color: rgba(23, 23, 23, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.badge span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #d4d4d4;
}

/* ---------- Title ---------- */

.title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    background-image: linear-gradient(to bottom, #ffffff, #e5e5e5 50%, #737373);
    -webkit-background-clip: text;
    background-clip: text;
}

.title__accent {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

@media (min-width: 640px) {
    .title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .title {
        font-size: 6rem;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    width: 100%;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #171717;
    font-size: 0.75rem;
    color: #737373;
}

@media (min-width: 640px) {
    .site-footer {
        flex-direction: row;
        gap: 0;
    }
}
