/* Bloom CSS Logistics: brilliant-about */
/*
 * Brilliant Maths Tutors — About v1.0 — BELOW FOLD
 * CSS Logistics path: below-fold/pages/custom/brilliant-about.css
 * Assignment: About page only | Strategy: deferred | Priority: 70
 * Requires brilliant-about-hero.css for tokens/base primitives.
 */

.bmt-section { padding-block: clamp(72px, 8vw, 112px); }
.bmt-heading { max-width: 780px; margin-bottom: 46px; }
.bmt-heading--center { margin-inline: auto; text-align: center; }
.bmt-heading h2,
.bmt-story h2,
.bmt-founder h2,
.bmt-network h2,
.bmt-values h2 {
    margin-bottom: 18px;
    color: var(--bmt-navy);
    font-size: clamp(2.45rem, 4.8vw, 4.4rem);
    letter-spacing: -.055em;
}
.bmt-heading > p:last-child { margin-bottom: 0; color: var(--bmt-muted); font-size: 1.06rem; }

.bmt-story { background: #fff; }
.bmt-story__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(44px, 7vw, 90px);
    align-items: start;
}
.bmt-story__copy { position: sticky; top: 128px; }
.bmt-story__copy > p { margin-bottom: 18px; color: #405562; }
.bmt-story__copy strong { color: var(--bmt-navy); }

.bmt-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
}
.bmt-timeline::before {
    content: "";
    position: absolute;
    left: 37px;
    top: 35px;
    bottom: 35px;
    width: 2px;
    background: linear-gradient(var(--bmt-yellow), var(--bmt-blue));
}
.bmt-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px;
    border: 1px solid var(--bmt-line);
    border-radius: 20px;
    background: #fbfdfe;
    box-shadow: 0 8px 24px rgba(2, 48, 71, .045);
}
.bmt-timeline__year {
    position: relative;
    z-index: 2;
    width: 72px;
    min-height: 56px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--bmt-yellow);
    color: var(--bmt-navy-2);
    font-size: .78rem;
    font-weight: 950;
    line-height: 1.05;
    text-align: center;
    box-shadow: 0 7px 20px rgba(2,48,71,.12);
}
.bmt-timeline h3 { margin: 2px 0 8px; color: var(--bmt-navy); font-size: 1.35rem; }
.bmt-timeline p { margin-bottom: 0; color: var(--bmt-muted); }

.bmt-principles {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bmt-mist);
    border-block: 1px solid var(--bmt-line);
}
.bmt-principles::after {
    content: "÷";
    position: absolute;
    right: -22px;
    bottom: -95px;
    z-index: -1;
    color: rgba(33,158,188,.08);
    font-family: Georgia, serif;
    font-size: 24rem;
    line-height: 1;
}
.bmt-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}
.bmt-principle-card {
    min-height: 310px;
    padding: 28px;
    border: 1px solid var(--bmt-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(2,48,71,.05);
}
.bmt-principle-card > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--bmt-navy);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}
.bmt-principle-card h3 { margin-bottom: 14px; color: var(--bmt-navy); font-size: 1.42rem; }
.bmt-principle-card p { margin-bottom: 0; color: var(--bmt-muted); }
.bmt-principle-card--blue { background: #eaf8fc; }
.bmt-principle-card--yellow { background: #fff2bd; }
.bmt-principle-card--yellow > span { background: var(--bmt-yellow); color: var(--bmt-navy-2); }
.bmt-principle-card--navy { background: var(--bmt-navy); border-color: var(--bmt-navy); }
.bmt-principle-card--navy > span { background: var(--bmt-yellow); color: var(--bmt-navy-2); }
.bmt-principle-card--navy h3 { color: #fff; }
.bmt-principle-card--navy p { color: #c7e5ee; }
.bmt-principle-card--paper > span { background: var(--bmt-blue); }

.bmt-founder { background: #fff; }
.bmt-founder__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(46px, 7vw, 88px);
    align-items: center;
}
.bmt-photo-frame { position: relative; }
.bmt-photo-frame > img { width: 100%; object-fit: cover; box-shadow: var(--bmt-shadow); }
.bmt-photo-frame--founder > img {
    aspect-ratio: 4 / 3;
    border-radius: 30px 30px 92px 30px;
}
.bmt-photo-frame--founder::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 72%;
    height: 72%;
    left: -22px;
    bottom: -24px;
    border-radius: 30px;
    background: var(--bmt-yellow);
    transform: rotate(-3deg);
}
.bmt-photo-note {
    position: absolute;
    left: 24px;
    bottom: 23px;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(2,48,71,.92);
    color: #fff;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-weight: 700;
    box-shadow: var(--bmt-shadow-soft);
}
.bmt-founder__copy > p { margin-bottom: 18px; color: #405562; }
.bmt-founder__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}
.bmt-founder__facts > div {
    padding: 18px 14px;
    border-radius: 15px;
    background: var(--bmt-mist);
    text-align: center;
}
.bmt-founder__facts strong { display: block; color: var(--bmt-navy); font-size: 1.45rem; }
.bmt-founder__facts span { display: block; margin-top: 4px; color: var(--bmt-muted); font-size: .75rem; line-height: 1.35; }

.bmt-network {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bmt-navy);
    color: #d9eff6;
}
.bmt-network::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 18%, rgba(33,158,188,.31), transparent 28rem),
        radial-gradient(circle at 92% 82%, rgba(255,183,3,.14), transparent 23rem);
}
.bmt-network__grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(46px, 7vw, 88px);
    align-items: center;
}
.bmt-network h2 { color: #fff; }
.bmt-network__copy > p:not(.bmt-kicker) { margin-bottom: 18px; color: #bedee8; }
.bmt-network__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bmt-photo-frame--location > img {
    aspect-ratio: 1 / 1;
    border: 8px solid rgba(255,255,255,.92);
    border-radius: 34px;
    object-position: center;
}
.bmt-map-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 16px 18px;
    border-radius: 15px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--bmt-shadow-soft);
}
.bmt-map-card span,
.bmt-map-card small { display: block; color: var(--bmt-muted); }
.bmt-map-card strong { display: block; color: var(--bmt-navy); font-size: 1.07rem; }
.bmt-map-card span { font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.bmt-map-card small { margin-top: 2px; }

.bmt-values { background: #f9fcfd; border-bottom: 1px solid var(--bmt-line); }
.bmt-values__grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(44px, 7vw, 88px);
    align-items: start;
}
.bmt-values__grid > div:first-child { position: sticky; top: 128px; }
.bmt-values__list { display: grid; gap: 12px; }
.bmt-values__list > div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
    padding: 23px 24px;
    border: 1px solid var(--bmt-line);
    border-radius: 18px;
    background: #fff;
}
.bmt-values__list span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bmt-yellow);
    color: var(--bmt-navy-2);
    font-size: .77rem;
    font-weight: 950;
}
.bmt-values__list p { margin-bottom: 0; color: var(--bmt-muted); }
.bmt-values__list strong { color: var(--bmt-navy); }

.bmt-final-cta {
    padding: clamp(34px, 4vw, 52px) 0 clamp(68px, 8vw, 116px);
    background: #fff;
}
.bmt-final-cta__box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
    align-items: center;
    padding: clamp(35px, 5vw, 62px);
    border-radius: var(--bmt-radius-lg);
    background: linear-gradient(125deg, var(--bmt-navy), #075d78);
    color: #fff;
}
.bmt-final-cta__box::after {
    content: "π";
    position: absolute;
    right: -4px;
    bottom: -80px;
    color: rgba(255,255,255,.06);
    font-family: Georgia, serif;
    font-size: 20rem;
    line-height: 1;
}
.bmt-final-cta .bmt-script { color: var(--bmt-yellow); }
.bmt-final-cta h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    letter-spacing: -.05em;
}
.bmt-final-cta p { margin-bottom: 0; color: #c6e4ee; }
.bmt-final-cta__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 1080px) {
    .bmt-principle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .bmt-story__grid,
    .bmt-founder__grid,
    .bmt-network__grid,
    .bmt-values__grid,
    .bmt-final-cta__box { grid-template-columns: 1fr; }
    .bmt-story__copy,
    .bmt-values__grid > div:first-child { position: static; }
    .bmt-final-cta__actions { justify-content: flex-start; }
}

@media (max-width: 900px) and (min-width: 621px) {
    .bmt-section { padding-block: 76px; }
    .bmt-final-cta { padding-bottom: 82px; }
}

@media (max-width: 620px) {
    .bmt-section { padding-block: 62px; }
    .bmt-heading h2,
    .bmt-story h2,
    .bmt-founder h2,
    .bmt-network h2,
    .bmt-values h2 { font-size: clamp(2.05rem, 10vw, 3.15rem); }
    .bmt-timeline li { grid-template-columns: 58px 1fr; padding: 20px; gap: 14px; }
    .bmt-timeline::before { left: 29px; }
    .bmt-timeline__year { width: 56px; min-height: 50px; border-width: 4px; font-size: .68rem; }
    .bmt-principle-grid { grid-template-columns: 1fr; }
    .bmt-principle-card { min-height: auto; padding: 25px; }
    .bmt-founder__facts { grid-template-columns: 1fr; }
    .bmt-network__actions .bmt-button { width: 100%; }
    .bmt-values__list > div { grid-template-columns: 46px 1fr; padding: 20px; gap: 13px; }
    .bmt-values__list span { width: 40px; height: 40px; }
    .bmt-final-cta { padding: 28px 0 58px; }
    .bmt-final-cta__box { width: 100%; border-radius: 24px; padding: 30px 22px; }
    .bmt-final-cta__actions .bmt-button { width: 100%; }
}