:root {
    --text: #12355b;
    --link-hover: #2f8f4e;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--text);
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.menu-row {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    padding: 4.2rem 5vw 2rem;
}

.identity {
    justify-self: center;
    text-align: left;
    min-width: 0;
}

.site-title {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.45);
}

.site-role {
    margin: 0.2rem 0 0;
    font-size: clamp(1.05rem, 1.7vw, 1.7rem);
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.45);
}

nav {
    justify-self: start;
    min-width: 0;
}

nav table {
    border-collapse: collapse;
    border: none;
}

nav td {
    border: none;
    padding: 0.28rem 0;
    text-align: left;
    font-size: clamp(1.15rem, 1.8vw, 1.9rem);
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.45);
}

nav tr:first-child td {
    padding-top: 0;
}

a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--link-hover);
}

.content {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.45);
}

.content h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
}

.content p {
    margin: 0.8rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
}

@media (max-width: 720px) {
    html, body {
        overflow: auto;
    }

    .menu-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.4rem 1.25rem 2rem;
    }

    .identity,
    nav {
        justify-self: start;
        width: 100%;
    }
}
