/* Bloom CSS Logistics: brilliant-tutors */
/*
 * Brilliant Maths Tutors — Tutors / Team v1.0 — DEFERRED BODY
 * CSS Logistics path: below-fold/pages/custom/brilliant-tutors.css
 * Assignment: Tutors page only | Strategy: deferred | Priority: 70
 */

.bmt-tutors-page .bmt-section { padding-block: clamp(78px, 9vw, 126px); }
.bmt-heading { max-width: 800px; margin-bottom: 48px; }
.bmt-heading--center { margin-inline: auto; text-align: center; }
.bmt-heading h2,
.bmt-matching h2,
.bmt-founder h2,
.bmt-scenarios h2,
.bmt-expect h2,
.bmt-tutor-faq h2 {
    margin-bottom: 18px;
    color: var(--bmt-navy);
    font-size: clamp(2.45rem, 5vw, 4.6rem);
    letter-spacing: -.055em;
}
.bmt-heading > p:not(.bmt-kicker),
.bmt-founder__copy > p,
.bmt-expect__grid > div:first-child > p:not(.bmt-kicker),
.bmt-tutor-faq__grid > div:first-child > p:not(.bmt-kicker) { color: var(--bmt-muted); }
.bmt-text-link { color: #066984 !important; font-weight: 900; text-decoration: none; }
.bmt-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Intro strip */
.bmt-intro-strip { border-bottom: 1px solid var(--bmt-line); background: #fff; }
.bmt-intro-strip__grid { min-height: 110px; display: grid; grid-template-columns: .72fr 1.55fr .55fr; gap: 35px; align-items: center; }
.bmt-intro-strip p { margin-bottom: 0; }
.bmt-intro-strip .bmt-script { color: var(--bmt-blue); }
.bmt-intro-strip__grid > p:nth-child(2) { color: var(--bmt-muted); font-size: .93rem; }
.bmt-intro-strip a { justify-self: end; color: var(--bmt-navy); font-size: .83rem; font-weight: 900; text-decoration: none; }
.bmt-intro-strip a span { color: var(--bmt-orange); }

/* Tutor qualities */
.bmt-tutor-fit { background: var(--bmt-mist); border-bottom: 1px solid var(--bmt-line); }
.bmt-quality-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bmt-quality-card { min-height: 320px; padding: 28px; border: 1px solid var(--bmt-line); border-radius: 22px; background: #fff; }
.bmt-quality-card > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 50%; background: var(--bmt-navy); color: #fff; font-size: .72rem; font-weight: 950; }
.bmt-quality-card h3 { margin-bottom: 14px; color: var(--bmt-navy); font-size: 1.45rem; }
.bmt-quality-card p { margin: 0; color: var(--bmt-muted); font-size: .93rem; }
.bmt-quality-card--blue { background: #e9f7fb; }
.bmt-quality-card--yellow { background: #fff3c6; }
.bmt-quality-card--yellow > span { background: var(--bmt-yellow); color: var(--bmt-navy-2); }
.bmt-quality-card--navy { background: var(--bmt-navy); border-color: var(--bmt-navy); }
.bmt-quality-card--navy > span { background: var(--bmt-yellow); color: var(--bmt-navy-2); }
.bmt-quality-card--navy h3 { color: #fff; }
.bmt-quality-card--navy p { color: #c8e5ee; }
.bmt-quality-card--paper { box-shadow: var(--bmt-shadow-soft); }

/* Matching process */
.bmt-matching { position: relative; isolation: isolate; overflow: hidden; background: var(--bmt-navy); color: #cbe6ee; }
.bmt-matching::after { content: "?"; position: absolute; right: -30px; bottom: -170px; z-index: -1; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 30rem; line-height: 1; }
.bmt-matching__grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(52px, 8vw, 108px); align-items: start; }
.bmt-matching__copy { position: sticky; top: 124px; }
.bmt-matching h2 { color: #fff; }
.bmt-matching__copy > p:not(.bmt-kicker) { margin-bottom: 28px; color: #bcdde7; }
.bmt-match-steps { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.bmt-match-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.055); }
.bmt-match-steps > li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bmt-yellow); color: var(--bmt-navy-2); font-weight: 950; }
.bmt-match-steps h3 { margin: 2px 0 7px; color: #fff; font-size: 1.22rem; }
.bmt-match-steps p { margin: 0; color: #bcdde7; font-size: .93rem; }

/* Founder */
.bmt-founder { background: #fff; }
.bmt-founder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 104px); align-items: center; }
.bmt-founder__visual { position: relative; padding: 20px 0 20px 18px; }
.bmt-founder__visual::before { content: ""; position: absolute; width: 74%; height: 84%; left: 0; top: 0; border-radius: 32% 68% 57% 43% / 42% 40% 60% 58%; background: #fff0b6; transform: rotate(-4deg); }
.bmt-photo-frame { position: relative; z-index: 2; width: min(100%, 520px); margin: 0; }
.bmt-photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px 24px 70px 24px; box-shadow: var(--bmt-shadow); }
.bmt-photo-frame figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 10px 13px; border-radius: 11px; background: rgba(4,31,46,.9); color: #fff; font-size: .73rem; line-height: 1.35; }
.bmt-founder__badge { position: absolute; z-index: 4; right: -10px; bottom: 2px; min-width: 152px; padding: 17px 18px; border: 5px solid #fff; border-radius: 18px; background: var(--bmt-yellow); color: var(--bmt-navy-2); box-shadow: var(--bmt-shadow-soft); transform: rotate(2deg); }
.bmt-founder__badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.bmt-founder__badge span { display: block; margin-top: 5px; font-size: .72rem; font-weight: 800; line-height: 1.25; }
.bmt-founder__copy > p { margin-bottom: 18px; }
.bmt-founder__principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 25px; }
.bmt-founder__principles div { padding: 16px; border: 1px solid var(--bmt-line); border-radius: 15px; background: #f8fcfd; }
.bmt-founder__principles strong { display: block; margin-bottom: 5px; color: var(--bmt-navy); font-size: .87rem; }
.bmt-founder__principles span { display: block; color: var(--bmt-muted); font-size: .76rem; line-height: 1.38; }

/* Scenarios */
.bmt-scenarios { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--bmt-navy), #07586f); color: #c7e4ed; }
.bmt-scenarios::after { content: "x²"; position: absolute; right: -35px; bottom: -90px; color: rgba(255,255,255,.05); font-size: 18rem; font-weight: 900; line-height: 1; }
.bmt-scenarios__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(48px, 7vw, 94px); align-items: start; }
.bmt-scenarios__copy { position: sticky; top: 124px; }
.bmt-scenarios h2 { color: #fff; }
.bmt-scenarios__copy > p:not(.bmt-kicker) { color: #bcdde7; }
.bmt-scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.bmt-scenario-grid article { min-height: 250px; padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.06); }
.bmt-scenario-grid article > span { display: inline-block; margin-bottom: 34px; padding: 7px 10px; border-radius: 999px; background: var(--bmt-yellow); color: var(--bmt-navy-2); font-size: .66rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.bmt-scenario-grid h3 { margin-bottom: 12px; color: #fff; font-size: 1.35rem; }
.bmt-scenario-grid p { margin: 0; color: #c6e4ed; font-size: .9rem; }
.bmt-scenario-grid article:nth-child(2) { background: rgba(142,202,230,.12); }
.bmt-scenario-grid article:nth-child(3) { background: rgba(255,183,3,.12); }

/* Formats */
.bmt-formats { background: var(--bmt-mist); border-bottom: 1px solid var(--bmt-line); }
.bmt-format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bmt-format-grid article { min-height: 390px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--bmt-line); border-radius: 24px; background: #fff; }
.bmt-format-grid__number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 38px; border-radius: 50%; background: var(--bmt-yellow); color: var(--bmt-navy-2); font-size: .75rem; font-weight: 950; }
.bmt-format-grid__eyebrow { margin-bottom: 7px; color: var(--bmt-blue); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.bmt-format-grid h3 { margin-bottom: 15px; color: var(--bmt-navy); font-size: 1.7rem; }
.bmt-format-grid article > p:not(.bmt-format-grid__eyebrow) { color: var(--bmt-muted); }
.bmt-format-grid a { margin-top: auto; padding-top: 24px; color: #066984; font-size: .86rem; font-weight: 900; text-decoration: none; }
.bmt-format-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bmt-format-grid article:nth-child(2) { background: var(--bmt-navy); border-color: var(--bmt-navy); }
.bmt-format-grid article:nth-child(2) .bmt-format-grid__eyebrow { color: var(--bmt-yellow); }
.bmt-format-grid article:nth-child(2) h3 { color: #fff; }
.bmt-format-grid article:nth-child(2) > p:not(.bmt-format-grid__eyebrow) { color: #c7e4ed; }
.bmt-format-grid article:nth-child(2) a { color: #fff; }

/* Expectations */
.bmt-expect { background: #fff; }
.bmt-expect__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 7vw, 92px); align-items: start; }
.bmt-expect__grid > div:first-child { position: sticky; top: 124px; }
.bmt-expect-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.bmt-expect-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 21px; border: 1px solid var(--bmt-line); border-radius: 17px; background: #fbfdfe; }
.bmt-expect-list > li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bmt-yellow); color: var(--bmt-navy-2); font-size: .68rem; font-weight: 950; }
.bmt-expect-list strong { display: block; margin-bottom: 5px; color: var(--bmt-navy); }
.bmt-expect-list p { margin: 0; color: var(--bmt-muted); font-size: .9rem; }

/* FAQ */
.bmt-tutor-faq { background: #f8fcfd; border-top: 1px solid var(--bmt-line); }
.bmt-tutor-faq__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(44px, 7vw, 88px); align-items: start; }
.bmt-tutor-faq__grid > div:first-child { position: sticky; top: 124px; }
.bmt-faq-list { display: grid; gap: 10px; }
.bmt-faq-list details { border: 1px solid var(--bmt-line); border-radius: 15px; background: #fff; overflow: hidden; }
.bmt-faq-list summary { position: relative; cursor: pointer; padding: 19px 52px 19px 21px; color: var(--bmt-navy); font-weight: 850; list-style: none; }
.bmt-faq-list summary::-webkit-details-marker { display: none; }
.bmt-faq-list summary::after { content: "+"; position: absolute; right: 19px; top: 50%; width: 26px; height: 26px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: #e8f6fa; color: var(--bmt-navy); font-size: 1rem; font-weight: 900; }
.bmt-faq-list details[open] summary::after { content: "–"; background: var(--bmt-yellow); }
.bmt-faq-list details p { margin: 0; padding: 0 21px 20px; color: var(--bmt-muted); }

/* Final CTA */
.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-quality-grid { grid-template-columns: 1fr 1fr; }
    .bmt-format-grid { grid-template-columns: 1fr; }
    .bmt-format-grid article { min-height: 0; }
}

@media (max-width: 900px) {
    .bmt-intro-strip__grid { grid-template-columns: 1fr; gap: 8px; padding-block: 28px; }
    .bmt-intro-strip a { justify-self: start; }
    .bmt-matching__grid,
    .bmt-founder__grid,
    .bmt-scenarios__grid,
    .bmt-expect__grid,
    .bmt-tutor-faq__grid,
    .bmt-final-cta__box { grid-template-columns: 1fr; }
    .bmt-matching__copy,
    .bmt-scenarios__copy,
    .bmt-expect__grid > div:first-child,
    .bmt-tutor-faq__grid > div:first-child { position: static; }
    .bmt-founder__visual { width: min(100%, 620px); }
    .bmt-final-cta__actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .bmt-founder__principles,
    .bmt-scenario-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .bmt-tutors-page .bmt-section { padding-block: 62px; }
    .bmt-heading h2,
    .bmt-matching h2,
    .bmt-founder h2,
    .bmt-scenarios h2,
    .bmt-expect h2,
    .bmt-tutor-faq h2 { font-size: clamp(2.05rem, 10vw, 3.15rem); }
    .bmt-quality-grid { grid-template-columns: 1fr; }
    .bmt-quality-card { min-height: 0; }
    .bmt-match-steps li { grid-template-columns: 44px 1fr; padding: 18px; }
    .bmt-match-steps > li > span { width: 38px; height: 38px; }
    .bmt-founder__visual { padding-left: 0; }
    .bmt-founder__badge { right: 4px; bottom: -20px; }
    .bmt-founder__copy { padding-top: 20px; }
    .bmt-format-grid article { padding: 24px; }
    .bmt-expect-list li { grid-template-columns: 40px 1fr; padding: 18px; }
    .bmt-expect-list > li > span { width: 34px; height: 34px; }
    .bmt-final-cta__box { padding: 31px 24px; border-radius: 26px; }
    .bmt-final-cta__actions { display: grid; }
}