body {
    margin: 0;
    padding: 0;
}

.placeholder {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    gap: 4vw;
    overflow: hidden;
}

.back {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.figure, .text {
    height: 15vh;
}

.text {
    position: absolute;
    bottom: 35vh;
    left: 50%;
    transform: translateX(-50%);
}

.figure {
    position: absolute;
    bottom: 50vh;
    left: 50%;
    transform: translateX(-50%);
    height: 35vh;
}

.logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 15vh;
}

.pbutton {
    position: absolute;
    bottom: 20vh;
    left: 50%;
    transform: translateX(-50%);
    height: 75px;
    cursor: pointer;
}

.lback {
    position: absolute;
    background: url('/static/images/OCOPSS front page background.png');
    height: 75%;
    width: 25%;
    z-index: -1;
}

.ia, .iaa {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    height: 6.5vh;
    width: 20vw;
    border-radius: 30px;
    border: solid white 3px;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    font-size: 2.5vh;
}

.ia {
    bottom: 20vh;
}

.iaa {
    bottom: 10vh;
}

.ia:hover, .iaa:hover {
    background: rgba(160, 82, 45, 0.85);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ── About button ── */
.about-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ── Modal overlay ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

/* ── Modal box ── */
.modal-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem;
    width: 100%;
    min-width: 50vw;
    
    position: relative;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #222;
}

.modal-title {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

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

.modal-card {
    background: #f7f5f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.modal-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.modal-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #444;
    line-height: 1.75;
    text-align: justify;
}

/* ── Mobile ── */
@media (max-width: 560px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .ia, .iaa {
        width: 60vw;
    }
}