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

html, body {
    height: 100%;
}

body {
    background: #000;
    color: #fff;
    font-family: 'TeX Gyre Termes', 'Times New Roman', Times, serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

a:hover {
    opacity: 0.5;
}

/* ── Logo crop helper ─────────────────────────────────────
   The transparent PNG is 2000×2000. Non-transparent content
   bbox: left 23.4%, top 36.1%, width 52%, height 23.6%.
   We scale the image so the content fills the crop box,
   then offset it to hide all transparent padding.
─────────────────────────────────────────────────────────── */

/* Home: content rendered ~220px wide */
.logo-crop {
    overflow: hidden;
    width: 220px;
    height: 115px;
    margin-bottom: 2.75rem;
    flex-shrink: 0;
}

.logo-crop img {
    width: 423px;
    margin-left: -99px;
    margin-top: -145px;
    display: block;
}

/* Inner pages: content rendered ~130px wide */
.logo-crop-sm {
    overflow: hidden;
    width: 130px;
    height: 68px;
    flex-shrink: 0;
}

.logo-crop-sm img {
    width: 250px;
    margin-left: -58px;
    margin-top: -85px;
    display: block;
}

/* ── Nav (shared) ── */

nav {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

/* ── Home page ── */

.home-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 22vh;
    padding-bottom: 4rem;
}

.home-nav {
    gap: 3.5rem;
}

/* ── Inner pages: horizontal header ── */

.page-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.75rem 3.5rem;
}

.page-header a {
    opacity: 1;
}

.page-header a:hover {
    opacity: 0.5;
}

.page-nav {
    display: flex;
    margin-left: auto;
    gap: 3.5rem;
}

.page-nav a {
    white-space: nowrap;
}

/* ── Inner page content ── */

.page-main {
    flex: 1;
    padding: 3.5rem 3.5rem 6rem;
}

.page-title {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.page-body {
    max-width: 680px;
}

.page-body p {
    font-size: 1.05rem;
    line-height: 1.85;
}

.page-body p + p {
    margin-top: 1.5rem;
}

/* placeholder on events/archive */
.page-placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    margin-top: 2rem;
}

/* ── Footer ── */

footer {
    text-align: center;
    padding: 1.75rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

/* ── Mobile menu button (hidden on desktop) ── */

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-family: 'TeX Gyre Termes', 'Times New Roman', Times, serif;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: opacity 0.15s ease;
}

.menu-btn:hover {
    opacity: 0.5;
}

/* ── Mobile full-screen overlay ── */

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.75rem;
}

.mobile-menu.open {
    display: flex;
}

/* reuse .logo-crop inside overlay but without its bottom margin */
.mobile-menu .logo-crop {
    margin-bottom: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.mobile-nav a {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.menu-close {
    position: absolute;
    top: 1.6rem;
    right: 1.9rem;
    background: none;
    border: none;
    color: #fff;
    font-family: 'TeX Gyre Termes', 'Times New Roman', Times, serif;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.menu-close:hover {
    opacity: 1;
}

/* ── Mobile ── */

@media (max-width: 768px) {

    /* Home page: smaller logo, bigger nav */
    .home-main {
        padding-top: 14vh;
    }

    /* Shrink home logo to ~175px content width on mobile */
    .home-main .logo-crop {
        width: 175px;
        height: 92px;
        margin-bottom: 2.25rem;
    }

    .home-main .logo-crop img {
        width: 336px;
        margin-left: -79px;
        margin-top: -114px;
    }

    .home-nav {
        flex-direction: column;
        align-items: center;
        gap: 1.1rem;
        font-size: 1.35rem;
    }

    /* Inner pages: hide desktop nav, show menu button */
    .page-header {
        padding: 1.5rem 1.75rem;
    }

    .page-nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .page-main {
        padding: 2.5rem 1.5rem 4rem;
    }
}
