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

body {
    background-color: #1d1d1a;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #f8db27;
    margin: 0;
}

nav {
    width: 100%;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.logo_area {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo_area img {
    width: 84px;
    height: 84px;
}

.wordmark {
    font-family: 'Luckiest Guy', 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f8db27;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.front-page {
    width: 100%;
    min-height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
}

.about {
    padding: 4rem 1.5rem;
}

.about-inner {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 720px) {
    .about-inner {
        max-width: min(90vw, 1300px);
        grid-template-columns: 1fr 1.15fr;
        grid-template-areas:
            "about history"
            "seal history"
            "membership membership";
        align-items: start;
    }

    .card-about {
        grid-area: about;
    }

    .card-seal {
        grid-area: seal;
    }

    .card-history {
        grid-area: history;
    }

    .card-membership {
        grid-area: membership;
    }
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(248, 219, 39, 0.18);
    border-radius: 14px;
    padding: 2rem 2.25rem;
}

.card h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2f64d6;
}

.about-content {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    color: #f8db27;
    line-height: 1.7;
    margin: 0;
}

.about-content + .about-content {
    margin-top: 1rem;
}

.history-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.history-list li strong {
    color: #2f64d6;
    margin-right: 0.35em;
}

.seal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.seal-image {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.seal-caption {
    margin: 0;
}

@media (max-width: 560px) {
    .seal {
        flex-direction: column;
        text-align: center;
    }

    .card {
        padding: 1.5rem;
    }
}

.membership-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lodge-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

@media (min-width: 720px) {
    .membership-layout {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .lodge-image {
        width: 30%;
        max-width: 280px;
        max-height: none;
        flex-shrink: 0;
    }

    .membership-text {
        flex: 1;
    }
}

footer {
    margin-top: 1rem;
}

.footer {
    font-size: 0.9rem;
    text-align: center;
    color: white;
    padding: 1rem;
}
