/* ==================================================================
   JISETF — about page

   Sections in page order. The shell, the buttons, the bands and the
   closing panel all come from base.css.
   ================================================================== */

/* ---------- the narrative --------------------------------------- */
.story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: center;
}
.story__copy { display: flex; flex-direction: column; gap: 20px; }
.story__copy p {
    max-width: var(--measure);
    color: rgba(49, 49, 49, 0.86);
    font-size: var(--text-md);
}
.story__mark img { width: 100%; height: auto; }


/* ---------- vision and mission ---------------------------------- */
/* Two statements, so two panels — the pair is the object, not each card. */
.creed__pair {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
}
.creed__card {
    padding: clamp(28px, 3.4vw, 52px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.creed__card--vision  { background: var(--green); color: var(--white); }
.creed__card--mission { background: var(--white); }
.creed__card h3 {
    font-size: 12.5px;
    font-weight: 700;
    opacity: 0.78;
}
.creed__card p { font-size: var(--text-lg); line-height: 1.5; font-weight: 700; }
/* the vision panel already carries the colour; the mission reads in ink */
.creed__card--mission p { color: var(--ink); }

/* ---------- the foundation -------------------------------------- */
.foundation__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(22px, 3vw, 36px);
    text-align: center;
}
.foundation__body {
    max-width: 74ch;
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.88);
}
.foundation__logos {
    width: min(1000px, 100%);
    height: auto;
    margin-top: 6px;
}

/* ---------- narrower screens ------------------------------------ */
@media (max-width: 900px) {
    .story__grid { grid-template-columns: minmax(0, 1fr); }
    /* the mark carries the section faster than the prose does */
    .story__mark { order: -1; }
    .story__mark img { width: min(320px, 70%); margin-inline: auto; }
    .creed__pair { grid-template-columns: minmax(0, 1fr); }
}
