@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700&display=swap');

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

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ══════════════════════════════════════
   DESKTOP
══════════════════════════════════════ */

.mobile-layout { display: none; }

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quadrant {
    min-height: 50vw;
}

.yellow { background-color: #FFC200; }
.navy   { background-color: #003082; }

.white {
    background-color: #fff;
    color: #000;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-right {
    padding-bottom: 120px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.1;
}

.subtitle {
    font-size: 16px;
    color: #000;
    margin-bottom: 16px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 8px 0;
}

p { margin-bottom: 10px; font-size: 15px; }

ul { padding-left: 20px; margin-bottom: 10px; }
ul li { font-size: 15px; margin-bottom: 4px; }

a { color: #003082; text-decoration: underline; }
a:hover { opacity: 0.75; }

.apply-section { margin-top: 24px; }

.apply-btn {
    display: inline-block;
    position: relative;
    color: #000;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 36px;
    border: 3px solid #000;
    letter-spacing: 0.04em;
    box-shadow: 4px 4px 0px #000;
    transform: translate(-2px, -2px);
    transition: box-shadow 0.1s, transform 0.1s;
    background-color: #fff;
}

.apply-btn:hover {
    box-shadow: 6px 6px 0px #000;
    transform: translate(-4px, -4px);
    opacity: 1;
}

.apply-btn:active {
    box-shadow: 1px 1px 0px #000;
    transform: translate(1px, 1px);
    opacity: 1;
}

.apply-deadline {
    margin-top: 16px;
    font-size: 14px;
    color: #444;
}

.apply-contact {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}

.company-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 20px 0 32px;
    flex-wrap: wrap;
}

.company-logos img {
    height: 32px;
    width: auto;
    opacity: 0.85;
}

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */

@media (max-width: 768px) {

    .desktop-only { display: none !important; }
    .mobile-layout { display: block; }

    /* Intro */
    .mobile-intro {
        padding: 36px 24px;
        background: #fff;
    }

    .mobile-intro h1 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .mobile-intro .subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .mobile-intro p {
        font-size: 15px;
        margin-bottom: 0;
    }

    /* Logo-pattern grid */
    .mobile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .m-sq {
        width: 50vw;
        height: 50vw;
    }

    .m-sq.yellow { background: #FFC200; }
    .m-sq.navy   { background: #003082; }

    .m-sq.white {
        background: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        border: 1px solid #eee;
        transition: background 0.15s;
    }

    .m-sq.white:active { background: #f5f5f5; }

    a.m-sq-apply {
        text-decoration: none;
        font-weight: 700;
    }

    /* Answer panels — slide up from bottom */
    .panel {
        position: fixed;
        inset: 0;
        background: #fff;
        padding: 48px 28px 0;
        overflow-y: auto;
        z-index: 200;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
    }

    .panel.open {
        transform: translateY(0);
    }

    .back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        background: none;
        border: none;
        border-top: 1px solid #eee;
        color: #000;
        cursor: pointer;
        padding: 20px 0 40px;
        margin-top: auto;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-company-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin: 16px 0 20px;
    }

    .mobile-company-logos img {
        width: 100%;
        height: 48px;
        object-fit: contain;
        object-position: left center;
    }

    .panel h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 20px 0;
    }

    .panel p { font-size: 15px; margin-bottom: 12px; }
    .panel ul { padding-left: 20px; }
    .panel ul li { font-size: 15px; margin-bottom: 8px; }
    .panel a { color: #003082; text-decoration: underline; }
}
