/* ---------------------------------------------------------
   RESET + BASE
--------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    /* Matisse / Bauhaus-ish palette */
    --cream: #F7F3E8;
    --ink: #111111;

    --blue: #1E6BFF;     /* confident studio blue */
    --yellow: #FFD400;   /* warm sun */
    --red: #FF3B30;      /* friendly punch red */
    --green: #22D37E;    /* soft bright green */
    --pink: #FF7AD9;     /* playful pink */

    --radius: 18px;
    --shadow: 0 12px 30px rgba(0,0,0,0.08);
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
}

/* ---------------------------------------------------------
   LANDING PAGE (calm, not rave)
--------------------------------------------------------- */
.landing-body {
    min-height: 100vh;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.landing-container {
    text-align: center;
    max-width: 760px;
}

.landing-container h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.landing-container p {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}

.landing-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 3px solid var(--ink);
    background: white;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--yellow);
}

/* ---------------------------------------------------------
   HEADER / NAV
--------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    border-bottom: 4px solid var(--ink);
    padding: 0.9rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo img{
    height: 64px !important;
    width: auto;

}

.top-nav {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.top-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    padding-bottom: 0.15rem;
}

.top-nav a:hover {
    border-bottom-color: var(--ink);
}

.lang-switch a {
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    background: var(--yellow);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 2px solid var(--ink);
}

/* ---------------------------------------------------------
   MOTTO
--------------------------------------------------------- */
.motto {
    font-weight: 1000;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: clamp(2rem, 6vw, 4rem);
    margin: 2.5rem auto 1rem;
    max-width: 1100px;
    padding: 0 1.2rem;
    line-height: 1.1;
}

/* ---------------------------------------------------------
   SECTIONS (general)
--------------------------------------------------------- */
.section {
    padding: clamp(2.5rem, 6vw, 4rem) 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section h1,
.section h2 {
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section p {
    font-size: 1.05rem;
    max-width: 850px;
}

/* ---------------------------------------------------------
   HOME ERA BLOCKS (BIG CLICKABLE ZIG-ZAG)
--------------------------------------------------------- */
.era-block {
    position: relative;
    display: block;
    color: var(--ink);
    text-decoration: none;
    border: 4px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 1.6rem auto;
    max-width: 1100px;
    transition: transform 0.12s ease;
}

.era-block:hover {
    transform: translateY(-4px);
}

.era-inner {
    padding: clamp(3rem, 7vw, 5rem);
    display: grid;
    gap: 0.8rem;
    min-height: 280px;
    align-content: center;
}

.era-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 1000;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.era-sub {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    max-width: 700px;
}

.era-cta {
    margin-top: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}



/* Colours */
.era-current { background: var(--yellow); }
.era-past    { background: var(--blue); color: white; }
.era-future  { background: var(--green); }

.era-past .era-title,
.era-past .era-sub,
.era-past .era-cta { color: white; }

/* ---------------------------------------------------------
   PROJECT LIST PAGES
--------------------------------------------------------- */
.projects-section {
    background: transparent;
}

.projects-grid {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.2rem;
}

@media (min-width: 820px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

.project-card {
    background: white;
    border: 3px solid var(--ink);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.project-poster {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.project-content {
    padding: 1.1rem 1.2rem 1.4rem;
    display: grid;
    gap: 0.4rem;
}

.project-content h3 {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.project-date {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.7;
}

/* Leaders */
.leaders {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.6rem;
}
.leader {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.leader-photo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ink);
}
.leader-name {
    font-weight: 900;
}
.leader-role {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.75;
}

/* ---------------------------------------------------------
   JOIN / SUPPORT / RESOURCES
--------------------------------------------------------- */
.join-section {
    background: #FFD7EF;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.6rem auto;
}

.support-section {
    background: #D7FFE3;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.6rem auto;
}

.info-section {
    background: white;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.6rem auto;
}

.resources-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.9rem;
    list-style: none;
}

.resources-list li {
    padding: 1rem;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: var(--cream);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer {
    text-align: center;
    padding: 2rem 1rem 3rem;
    font-weight: 700;
    border-top: 4px solid var(--ink);
    background: white;
    margin-top: 3rem;
}

/* ---------------------------------------------------------
   HAMBURGER MENU
--------------------------------------------------------- */
.hamburger {
    display: none;
    font-size: 2rem;
    font-weight: 900;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
}

@media (max-width: 720px) {

    .top-nav {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        right: 0;
        border-left: 4px solid var(--ink);
        border-bottom: 4px solid var(--ink);
        padding: 1rem;
        gap: 1rem;
        z-index: 20;
    }

    .top-nav.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .lang-switch {
        display: none;
    }
}


/* ---------------------------------------------------------
   MOBILE SAFE PADDING (fixes edge-touching)
--------------------------------------------------------- */
@media (max-width: 720px) {
    body {
        padding: 0 0.75rem; /* ~12px on each side */
    }

    .section,
    .era-block,
    .projects-grid,
    .project-card,
    .join-section,
    .support-section,
    .info-section {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
}
