:root {
    color-scheme: light;
    --bg: #ffffff;
    --ink: #0a0a0a;
    --line: #111111;
    --yellow: #ffd814;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 32%, rgba(255,255,255,.96) 0, rgba(249,249,247,.92) 42%, rgba(232,232,228,.88) 100%);
    color: var(--ink);
    font-family: Tahoma, Arial, sans-serif;
}
a { color: inherit; }

.site-header {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 36px), var(--max));
    min-height: 112px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 3px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.brand-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 2px solid var(--line);
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--line);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.08em;
}
.brand strong {
    font-size: 22px;
    letter-spacing: .06em;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
}
.top-nav a {
    font-weight: 700;
    text-decoration: none;
}
.top-nav a:hover,
.top-nav .active-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.background-art {
    position: fixed;
    z-index: 1;
    right: -4vw;
    bottom: -2vh;
    width: min(72vw, 1080px);
    height: calc(100vh - 88px);
    max-height: 94vh;
    object-fit: contain;
    object-position: right bottom;
    opacity: .46;
    filter: saturate(.9) contrast(1.04) drop-shadow(-16px 15px 18px rgba(0,0,0,.20));
    pointer-events: none;
    user-select: none;
}

@media (max-width: 760px) {
    body { overflow-y: auto; }
    .site-header {
        min-height: 0;
        padding: 18px 0 20px;
        align-items: flex-start;
        flex-direction: column;
    }
    .brand-mark { width: 58px; height: 58px; font-size: 23px; }
    .brand strong { font-size: 18px; }
    .top-nav { justify-content: flex-start; font-size: 12px; }
    .background-art {
        right: -18vw;
        width: 118vw;
        height: calc(100vh - 120px);
        opacity: .36;
    }
}
