* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #fff200;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.menu-button {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1001;
    width: 48px;
    height: 44px;
    padding: 9px 8px;
    border: 2px solid #111;
    border-radius: 6px;
    background: #fff200;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 3px;
    margin: 4px 0;
    background: #111;
}

.site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: min(280px, 82vw);
    height: 100vh;
    padding: 78px 22px 30px;
    overflow-y: auto;
    background: #111;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
}

.site-navigation.open {
    transform: translateX(0);
}

.site-navigation a {
    display: block;
    padding: 9px 4px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a:focus {
    text-decoration: underline;
}

.home {
    width: min(1000px, 92%);
    margin: 0 auto;
    padding: 62px 0 40px;
    text-align: center;
}

.home h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.home h2 {
    margin: 0 0 24px;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
}

.intro {
    margin: 0 auto 30px;
    font-size: clamp(1rem, 2.3vw, 1.2rem);
    line-height: 1.5;
}

.hero-image {
    display: block;
    width: min(450px, 90vw);
    height: auto;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .home {
        width: 94%;
        padding-top: 78px;
    }

    .hero-image {
        width: min(94vw, 520px);
    }
}

/* Journey year pages */
.journey-page {
    width: min(1000px, 92%);
    margin: 0 auto;
    padding: 62px 0 40px;
}

.journey-header {
    text-align: center;
}

.journey-header h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.site-title {
    margin: 0 0 24px;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: bold;
}

.journey-header h2 {
    margin: 0 0 30px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.journey-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.journey-content p {
    margin: 0 0 1.25rem;
}

.journey-image {
    text-align: center;
    margin: 1.6rem 0;
}

.journey-image img {
    display: inline-block;
    max-width: min(100%, 700px);
    height: auto;
    border: 3px solid #111;
}

.year-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: 38px auto 0;
    padding-top: 20px;
    border-top: 2px solid #111;
}

.year-footer a {
    color: #111;
    font-weight: bold;
}

.site-navigation a.current {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .journey-page {
        width: 94%;
        padding-top: 78px;
    }

    .journey-content {
        font-size: 1rem;
    }
}

/* Responsive journey media */
.journey-content img {
    max-width: 100%;
    height: auto;
}

.journey-content iframe {
    display: block;
    width: min(700px, 100%);
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.6rem auto;
    border: 0;
}

@media (max-width: 600px) {
    .journey-image img {
        max-width: 100%;
    }

    .journey-content iframe {
        width: 100%;
    }
}
