:root {
    --background: #1f3044;
    --text: #ffffff;
    --muted: #d7dde6;
    --accent: #c1a46e;
    --accent-soft: rgba(193, 164, 110, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: #1f3044;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 34rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22));
}

a {
    color: inherit;
}

.landing {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    place-items: center;
    gap: clamp(2rem, 7vh, 4.5rem);
    min-width: 0;
    padding: clamp(1.75rem, 6vh, 4rem) clamp(1rem, 4vw, 2rem);
}

.logo {
    display: block;
    width: clamp(16rem, 48vw, 34rem);
    max-width: min(92vw, 34rem);
    max-height: clamp(11rem, 42vh, 24rem);
    object-fit: contain;
}

.identity {
    width: min(100%, 720px);
    min-width: 0;
    text-align: center;
    animation: fade-in 700ms ease-out both;
}

.identity::before {
    content: "";
    display: block;
    width: clamp(3rem, 9vw, 4.75rem);
    height: 1px;
    margin: 0 auto clamp(1rem, 3vh, 1.75rem);
    background: var(--accent);
}

.label {
    margin: 0;
    color: var(--accent);
    font-size: clamp(0.76rem, 1.7vw, 0.98rem);
    font-weight: 700;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 8vw, 5.4rem);
    font-weight: 500;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.45rem, 1.6vh, 0.85rem);
    margin-top: clamp(1.65rem, 4vh, 2.5rem);
    font-style: normal;
}

.contact a {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    min-height: 42px;
    padding: 0.22rem 0.1rem;
    color: var(--muted);
    font-size: clamp(0.98rem, 2.4vw, 1.2rem);
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--accent-soft);
    transition: color 180ms ease, border-color 180ms ease;
}

.contact a:hover,
.contact a:focus-visible {
    color: var(--text);
    border-color: var(--accent);
}

.contact a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0.35rem;
}

.site-footer {
    position: relative;
    z-index: 1;
    padding: 0 1rem clamp(0.9rem, 2vh, 1.25rem);
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
}

.site-footer p {
    margin: 0;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .identity {
        animation: none;
    }
}

@media (max-width: 480px) {
    .landing {
        gap: clamp(1.65rem, 5vh, 2.6rem);
        padding: 1.25rem 0.9rem;
    }

    .logo {
        width: min(94vw, 22rem);
        max-height: 46vh;
    }

    .contact {
        gap: 0.7rem;
    }

    .contact a {
        min-height: 40px;
        font-size: clamp(0.92rem, 4.1vw, 1.05rem);
    }
}

@media (max-width: 360px) {
    .logo {
        width: min(96vw, 20rem);
        max-height: 44vh;
    }

    .label {
        font-size: 0.72rem;
    }

    .contact a {
        font-size: 0.9rem;
    }
}

@media (max-height: 640px) {
    .landing {
        gap: 1.35rem;
        padding-block: 1rem;
    }

    .logo {
        max-height: 38vh;
    }

    .identity::before {
        margin-bottom: 0.85rem;
    }

    .contact {
        margin-top: 1.15rem;
        gap: 0.35rem;
    }
}
