:root {
    --bg: #4B121D;
    --fg: #EEE7D0;
    --logo-max-w: 1598px;
}
html, body { height: 100%; margin: 0; }
body {
    background: var(--bg);
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.container { width: 100%; padding: 2vmin; display: flex; justify-content: center; }
img.logo {
    width: min(33vw, 100%);
    max-width: var(--logo-max-w);
    height: auto;
    display: block;
}

/* Accessible visually-hidden utility used for SEO headings */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Header and hamburger menu */
.site-header {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.menu-toggle {
    background: transparent;
    border: 0;
    color: var(--fg);
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
}
.menu-toggle:focus { outline: 2px solid rgba(255,255,255,0.2); outline-offset: 3px; }
.hamburger {
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--fg);
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--fg);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Slide-in menu from right */
.site-menu {
    position: fixed;
    top: 0;
    right: -360px;
    width: 320px;
    max-width: 80%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    color: var(--fg);
    transition: right 240ms ease;
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 1rem;
    z-index: 1100;
}
.site-menu.open { right: 0; }
.site-menu a {
    color: var(--fg);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 0;
}
.site-menu a:hover, .site-menu a:focus { text-decoration: underline; }

/* Dim backdrop when menu open */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 1050;
}
.menu-backdrop.visible { opacity: 1; pointer-events: auto; }
