/* Reference-led refinement. Original content and behavior remain intact. */
.bp-preview{--bp-paper:#fcf9ef;--bp-green:#103e2e;--bp-gold:#a57422}
.bp-preview .bp-button,.bp-preview .header .nav-actions .btn-primary{background:linear-gradient(115deg,#f0d181,#d3a240);border-color:#d7b468;box-shadow:inset 0 1px #fff8}
.bp-preview .bp-secondary{background:#fffcf0c9;border-color:#c6a65c}
.bp-preview .bp-hero-grid{position:relative;min-height:650px;padding:70px 0 105px;display:block;isolation:isolate}
.bp-preview .bp-hero-copy{position:relative;z-index:2;width:48%}
.bp-preview .bp-hero-copy h1{font-size:clamp(52px,5.1vw,76px);line-height:1.015;letter-spacing:-.05em}
.bp-preview .bp-hero-copy .bp-lede{max-width:41ch;color:#435344}
.bp-preview .bp-hero-figure{position:absolute;inset:0 min(-50px,-3vw) 0 34%;padding:0;z-index:0}
.bp-preview .bp-hero-photo{height:100%;border-radius:0;background:transparent;mask-image:linear-gradient(90deg,transparent,black 31%);overflow:hidden}
.bp-preview .bp-hero-photo>img{object-position:58% 48%}
.bp-preview .bp-hero-figure figcaption{position:absolute;bottom:67px;right:30px;color:#fffdf0;background:#173e2dc9;padding:5px 10px;border-radius:3px;font-size:9px;max-width:85%}
.bp-preview .bp-photo-label{left:auto;right:24px;bottom:124px;transform:rotate(-3deg);padding:16px 21px;border-radius:12px;background:#fffdeeef;border:1px solid #fff9;box-shadow:0 12px 30px #14291c33}
.bp-preview .bp-photo-label strong{font-size:21px}
.bp-preview .bp-landscape{position:absolute;top:570px;left:0;width:100%;height:105px;pointer-events:none;background:url('assets/landscape-transition.svg') center bottom/100% 100% no-repeat;z-index:3}
.bp-preview .bp-facts{position:relative;z-index:4;border:0;background:var(--bp-paper);padding:30px 0;gap:0}
.bp-preview .bp-facts>div,.bp-preview .bp-facts>a{padding-inline:23px;border-inline-end:1px solid #dfd6be}
.bp-preview .bp-facts>div:first-child{padding-inline-start:0}.bp-preview .bp-facts>a:last-child{border:0}
.bp-preview #programs{padding:60px 0 55px;background:radial-gradient(ellipse at 5% 60%,#dfe6ce85,transparent 55%),#f7f5e9}
.bp-preview .bp-section-heading{justify-content:center;text-align:center;margin-bottom:34px;display:block}
.bp-preview .bp-section-heading .bp-eyebrow{justify-content:center;margin-bottom:12px}
.bp-preview .bp-section-heading h2{font-size:43px;line-height:1.08}
.bp-preview .bp-section-heading h2 br{display:none}
.bp-preview .bp-section-heading>p{max-width:none;margin:15px auto 0;font-size:13px}
.bp-preview .bp-section-heading>p br{display:none}
.bp-preview .bp-course-pair{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.bp-preview .bp-subject{display:flex;flex-direction:column;margin:0;border:1px solid #cfcbb3;border-radius:12px;box-shadow:0 12px 32px #17331c0b;position:relative}
.bp-preview .bp-subject-copy{padding:27px 34px 32px;position:relative;z-index:2;flex:1}
.bp-preview .bp-subject-copy h3{font-size:40px;margin-bottom:15px}
.bp-preview .bp-subject-copy h3 br{display:none}
.bp-preview .bp-subject-copy .bp-eyebrow{font-size:10px;margin-bottom:15px}
.bp-preview .bp-subject-copy>p:not(.bp-eyebrow){max-width:none;font-size:13px;line-height:1.7}
.bp-preview .bp-subject-copy ul{grid-template-columns:1fr 1fr;gap:12px 18px;font-size:12px;margin:20px 0 23px}
.bp-preview .bp-subject-copy .bp-button{font-size:12px;min-height:46px;padding:12px 20px}
.bp-preview .bp-subject-visual,.bp-preview .bp-english-visual{order:-1;height:248px;min-height:0;padding:0;margin:0;overflow:hidden;position:relative}
.bp-preview .bp-math .bp-subject-photo,.bp-preview .bp-english-visual>.bp-subject-photo{height:100%;max-height:none;border-radius:0;object-position:50% 48%;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.bp-preview .bp-subject:hover .bp-subject-photo{transform:scale(1.035)}
.bp-preview .bp-study-card{left:20px;right:20px;bottom:15px;padding:12px 18px;background:#fffcedee;border-radius:6px}
.bp-preview .bp-study-card .bp-eyebrow{margin:0 0 7px;font-size:8px}
.bp-preview .bp-process{font-size:17px}
.bp-preview .bp-process-line{margin:8px 0 0}
.bp-preview .bp-study-card small{display:none}
.bp-preview .bp-speaking-note{bottom:30px;inset-inline:20px auto;padding:12px 18px;background:#fffcedef;border-radius:6px;transform:rotate(-2deg)}
.bp-preview .bp-speaking-note p{font-size:18px}
.bp-preview .bp-english-visual figcaption{position:absolute;bottom:4px;right:12px;font-size:8px;background:#fffce8e6;padding:3px 6px}
.bp-preview .bp-program-note{margin-top:24px}
.bp-preview #teacher{padding:66px 0;background:linear-gradient(115deg,#fdf9ee,#f0f0de)}
.bp-preview .bp-founder-grid{grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}
.bp-preview .bp-founder-identity{background:linear-gradient(140deg,#103e2ef0,#123a2bee),url('supplied-assets/photos/04_teacher_workspace.webp') center/cover;color:#fcf6e5;border:1px solid #466342;box-shadow:0 16px 34px #1a392016;border-radius:12px;padding:36px 40px;overflow:hidden}
.bp-preview .bp-founder-identity:after{content:'';position:absolute;right:-65px;top:-85px;width:290px;height:290px;border:1px solid #d7ba713b;border-radius:50%;box-shadow:0 0 0 35px #d7ba7108;pointer-events:none}
.bp-preview .bp-founder-identity .bp-eyebrow{color:#dfc580}
.bp-preview .bp-monogram{font-size:84px;color:#e1c178;margin:22px 0 25px;font-style:italic}
.bp-preview .bp-founder-role,.bp-preview .bp-credentials{color:#d1dccb}
.bp-preview .bp-founder-identity h2{color:#fff9e8}
.bp-preview .bp-founder-identity>p:last-of-type{color:#e4e9d8;font-size:20px}
.bp-preview .bp-founder-identity .bp-secondary{background:transparent;color:#f2d58f;border-color:#8c885c}
.bp-preview .bp-founder-detail h3{font-size:46px}
.bp-preview.lang-ur .bp-hero-copy{margin-inline-start:auto}
.bp-preview.lang-ur .bp-hero-figure{inset:0 34% 0 -50px}
.bp-preview.lang-ur .bp-hero-photo{mask-image:linear-gradient(270deg,transparent,black 31%)}
.bp-preview.lang-ur .bp-photo-label{right:auto;left:24px}
.bp-preview.lang-ur .bp-landscape{top:auto;bottom:105px}
@media(max-width:1100px) and (min-width:761px){.bp-preview .bp-hero-copy h1{font-size:57px}.bp-preview .bp-hero-copy{width:51%}.bp-preview .bp-hero-grid{min-height:620px}.bp-preview .bp-landscape{top:545px}.bp-preview .bp-subject-copy{padding:26px}.bp-preview .bp-subject-copy h3{font-size:34px}.bp-preview .bp-founder-grid{gap:35px}.bp-preview .bp-facts>div,.bp-preview .bp-facts>a{padding-inline:12px}}
@media(max-width:760px){
 .bp-preview .bp-hero-grid{display:flex;flex-direction:column;min-height:0;gap:0;padding:32px 0 0;width:100%}
 .bp-preview .bp-hero-copy{width:calc(100% - 40px);margin-inline:auto}
 .bp-preview .bp-hero-copy h1{font-size:clamp(40px,10.6vw,64px)}
 .bp-preview .bp-hero-figure,.bp-preview.lang-ur .bp-hero-figure{position:relative;inset:auto;width:100%;height:345px;margin-top:3px}
 .bp-preview .bp-hero-photo,.bp-preview.lang-ur .bp-hero-photo{mask-image:linear-gradient(180deg,transparent,black 19%);height:100%}
 .bp-preview .bp-hero-photo>img{object-position:53% center}
 .bp-preview .bp-photo-label,.bp-preview.lang-ur .bp-photo-label{left:20px;right:auto;bottom:40px;padding:12px 16px}
 .bp-preview .bp-photo-label strong{font-size:18px}
 .bp-preview .bp-hero-figure figcaption{bottom:4px;right:10px;max-width:95%;font-size:8px}
 .bp-preview .bp-landscape,.bp-preview.lang-ur .bp-landscape{position:relative;top:auto;bottom:auto;height:44px;margin-top:-2px;background-size:180% 100%;background-position:right bottom}
 .bp-preview .bp-facts{gap:23px 10px;padding:23px 0}
 .bp-preview .bp-facts>div,.bp-preview .bp-facts>a{padding:0;border:0}
 .bp-preview #programs{padding:38px 0}
 .bp-preview .bp-section-heading h2{font-size:33px}
 .bp-preview .bp-section-heading h2 br{display:block}
 .bp-preview .bp-section-heading>p{font-size:12px;line-height:1.7}
 .bp-preview .bp-course-pair{grid-template-columns:1fr;gap:24px}
 .bp-preview .bp-subject-visual,.bp-preview .bp-english-visual{height:230px}
 .bp-preview .bp-subject-copy{padding:25px}
 .bp-preview .bp-subject-copy h3{font-size:36px}
 .bp-preview .bp-subject-copy ul{grid-template-columns:1fr;gap:9px}
 .bp-preview .bp-subject-copy .bp-eyebrow{font-size:8px}
 .bp-preview .bp-study-card{left:14px;right:14px}
 .bp-preview .bp-process{font-size:16px}
 .bp-preview .bp-speaking-note{inset-inline:14px auto}
 .bp-preview #teacher{padding:40px 0}
 .bp-preview .bp-founder-grid{grid-template-columns:1fr;gap:35px}
 .bp-preview .bp-founder-identity{padding:30px}
 .bp-preview .bp-founder-detail h3{font-size:37px}
}
@media(prefers-reduced-motion:reduce){.bp-preview .bp-subject .bp-subject-photo{transition:none}.bp-preview .bp-subject:hover .bp-subject-photo{transform:none}}

/* Keep the landscape anchored to the image at any translated text height. */
.bp-preview .bp-landscape,.bp-preview.lang-ur .bp-landscape{position:relative;top:auto;bottom:auto;margin-top:-105px}
.bp-preview .bp-section-heading h2{max-width:none;text-align:center}
@media(max-width:760px){.bp-preview .bp-landscape,.bp-preview.lang-ur .bp-landscape{margin-top:-2px}}

@media(min-width:761px){.bp-preview .bp-hero-figure figcaption{top:15px;bottom:auto;right:20px}}
