/* Study BFA Académie 2.1 — Academic Blue */
:root{--bfa-navy:#173B65;--bfa-blue:#3478B8;--bfa-ice:#EAF2FA;--bfa-paper:#F7F9FC}
body{overflow-x:hidden}h1,h2,h3,.heading,.brandwords,.course strong,.brand,.identity h2{font-family:"Times New Roman",Times,serif!important;letter-spacing:normal!important}
.bfa-brand-unit{display:inline-flex;align-items:center;gap:10px;vertical-align:middle;max-width:100%}.bfa-est-logo{width:57px;height:43px;object-fit:contain;flex:none;background:white;border-radius:4px;padding:2px}.bfa-brand-title{display:flex;flex-direction:column;font:normal 26px/1 "Times New Roman",Times,serif!important;letter-spacing:0!important;color:inherit}.bfa-brand-title small{font:600 9px/1.5 Arial,sans-serif;letter-spacing:2px;margin-top:3px}
a.brand{display:inline-flex!important;align-items:center!important;text-decoration:none!important;white-space:nowrap!important;flex-shrink:0}
header .nav{gap:12px!important}header .nav nav{flex-wrap:wrap;gap:12px!important}
.bfa-download{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;margin:12px 0 18px;border-radius:7px;background:#173B65;color:#fff!important;text-decoration:none!important;font:600 13px Arial,sans-serif;max-width:100%;text-align:center}
.bfa-download:hover{background:#3478B8}.bfa-download[hidden]{display:none!important}
.bfa-disclaimer{font-size:12px;color:#62728a;border-top:1px solid #dce6f0;margin-top:25px;padding-top:16px}
.sb-progress,.sb-resume,.sb-card-tools{display:none!important}
.be-map-viewport,.academy-be-map-viewport{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.be-map-detail,.ai-detail{line-height:1.6}
.be-flashcard,.ai-card{max-width:100%;touch-action:manipulation}
body.academy-home{--gold:#3478B8;--forest:#173B65;--deep:#101D2D;--cream:#F7F9FC}
body.academy-home .seal{display:none!important}
body.academy-home .top,body.academy-home header{background:#173B65!important}
body.academy-home .hero{background:linear-gradient(135deg,#F7F9FC,#EAF2FA)!important}
body.academy-home .hero h1,body.academy-home .section-title h2{color:#173B65!important}
body.academy-home .course{border-color:#DCE6F0!important}
body.academy-home .cta{background:#173B65!important;color:white!important}
body.academy-home .eyebrow,body.academy-home .num{color:#3478B8!important}
body:not(.academy-home) header{background:#173B65!important;color:white!important}
body:not(.academy-home) header .brand,body:not(.academy-home) header nav a{color:white!important}
body:not(.academy-home) header .theme-toggle{color:inherit}
body:not(.academy-home) h1,body:not(.academy-home) h2,body:not(.academy-home) h3{color:#173B65}
@media(max-width:650px){header .nav{padding:12px 14px!important;justify-content:center!important}header .nav nav{width:100%;justify-content:center;order:3}header .nav .theme-toggle{font-size:11px}.bfa-est-logo{width:49px;height:39px}.bfa-brand-title{font-size:23px}.be-actions,.ai-actions{display:flex!important;gap:9px;flex-wrap:wrap}.be-actions button,.ai-actions button{flex:1;min-width:110px}.courses{grid-template-columns:1fr!important}.hero{padding:35px 18px!important}.be-main,main{max-width:100%}.be-map-tools{display:flex;flex-wrap:wrap;gap:6px}.be-map-tools button{font-size:11px}.panel{padding:22px!important}}
body[data-theme="dark"] .bfa-download,html[data-theme="dark"] .bfa-download{background:#3478B8}
body[data-theme="dark"] h1,body[data-theme="dark"] h2,body[data-theme="dark"] h3,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:#DCEBFF!important}

/* v2.1.1 complete palette and mobile corrections */
:root,html[data-theme="light"]{--academy-bg:#F7F9FC;--academy-card:#FFFFFF;--academy-text:#263648;--academy-muted:#60758A;--academy-line:#DCE6F0;--academy-hero:#EAF2FA;--academy-accent:#173B65;--academy-link:#3478B8;--academy-gold:#3478B8;--academy-tint:#EAF2FA;--border:#DCE6F0;--card:#FFFFFF;--navy:#173B65;--blue:#3478B8;--ink:#263648;--muted:#60758A;--line:#DCE6F0;--bg:#F7F9FC;--white:#FFFFFF;--surface:#FFFFFF;--surface-soft:#F1F6FC;--soft-blue:#EAF2FA;--nav-text:#53687D;--footer:#173B65;--gold:#3478B8;--forest:#173B65;--deep:#101D2D;--cream:#F7F9FC}
html[data-theme="dark"]{color-scheme:dark;--academy-bg:#101D2D;--academy-card:#1B2C41;--academy-text:#F0F6FF;--academy-muted:#A8BDD2;--academy-line:#34516F;--academy-hero:#21364F;--academy-accent:#9ACBFF;--academy-link:#9ACBFF;--academy-gold:#9ACBFF;--academy-tint:#294560;--border:#34516F;--card:#1B2C41;--navy:#F0F6FF;--blue:#9ACBFF;--ink:#F0F6FF;--muted:#A8BDD2;--line:#34516F;--bg:#101D2D;--white:#1B2C41;--surface:#1B2C41;--surface-soft:#21364F;--soft-blue:#294560;--nav-text:#D1E1F2;--footer:#0C1725;--gold:#9ACBFF;--forest:#101D2D;--deep:#101D2D;--cream:#101D2D}
html,body{background:var(--bg)!important;color:var(--ink)!important}
body.academy-home .hero{background:linear-gradient(125deg,var(--academy-bg),var(--academy-hero))!important}
body.academy-home .hero h1,body.academy-home .section-title h2{color:var(--ink)!important}
body.academy-home .course,body.academy-home .panel,body.academy-home .subject-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
body.academy-home .course strong,body.academy-home .course .meta{color:var(--ink)!important}
body.academy-home .top,body.academy-home header{background:#173B65!important}
body.academy-home .top .brand,body.academy-home .top .brand *,body.academy-home .top nav a,body.academy-home .top .theme-toggle{color:#FFFFFF!important}
header .theme-toggle,[data-theme-toggle]{border-color:#8DAED0!important;background:transparent!important;color:#FFFFFF!important}
.bfa-est-logo{width:92px!important;height:72px!important;object-fit:contain!important;background:#fff!important;padding:4px!important;border-radius:6px!important}
.bfa-brand-title{font-size:clamp(25px,3vw,32px)!important;color:#fff!important}
.bfa-brand-title small{color:#D5E6F6!important}
body.academy-home .hero-art .arch,body.academy-home .hero-art .inner-arch{border-color:#9BBDE0!important;background-color:#EAF2FA!important;color:#173B65!important}
body.academy-home .hero-art .book,body.academy-home .hero-art .leaf{color:#173B65!important}
body.academy-home .cta,.btn.primary{background:#173B65!important;color:#fff!important;border-color:#173B65!important}
html[data-theme="dark"] body.academy-home .hero{background:linear-gradient(125deg,#101D2D,#21364F)!important}
html[data-theme="dark"] body.academy-home .hero-art .arch,html[data-theme="dark"] body.academy-home .hero-art .inner-arch{background:#294560!important;border-color:#52769C!important}
html[data-theme="dark"] body.academy-home .hero-art .book,html[data-theme="dark"] body.academy-home .hero-art .leaf{color:#EAF2FA!important}
html[data-theme="dark"] body.academy-home .course strong,html[data-theme="dark"] body.academy-home .course .meta{color:#F0F6FF!important}
html[data-theme="dark"] body.academy-home .cta{background:#3478B8!important}
@media(max-width:650px){.bfa-est-logo{width:70px!important;height:56px!important}.bfa-brand-title{font-size:25px!important}header .nav{justify-content:space-between!important}header .nav nav{justify-content:flex-start!important;overflow-x:auto!important}.hero-art{max-width:100%!important}img,video,iframe{max-width:100%} .bfa-brand-unit{gap:9px!important}}

/* v2.1.2 approved typography, logo and universal 3D flashcards */
.bfa-est-logo{width:92px!important;height:72px!important;padding:0!important;object-fit:cover!important;object-position:center!important;background:#fff!important;border-radius:6px!important}
.be-sheet,.be-sheet p,.be-sheet li,.be-sheet h3,.ai-sheet,.ai-sheet p,.ai-sheet li,.ai-sheet h4,.be-question,.be-option,.be-feedback,.be-score,.ai-option,.ai-feedback,#ai-quiz-body,.be-flip-face,.be-flip-face strong,.be-card-chip,.be-card-hint,.ai-card,.ai-card strong,.ai-card span,.ai-card small,.ai-card-face,.ai-card-face strong{font-family:"Times New Roman",Times,serif!important}
.be-sheet p,.ai-sheet p,.be-option,.ai-option{font-size:17px;line-height:1.65}
.ai-card{display:block!important;position:relative!important;padding:0!important;min-height:300px;perspective:1400px;background:transparent!important;border:0!important;overflow:visible!important}
.ai-card-inner{display:block;position:relative;width:100%;height:300px;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.75,.2,1)}
.ai-card.flipped .ai-card-inner{transform:rotateY(180deg)}
.ai-card-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:16px;padding:27px 20px;border-radius:17px;border:1px solid #C9DCEF;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:auto;text-align:center;box-sizing:border-box}
.ai-card-face strong{font-size:clamp(21px,3.5vw,27px);line-height:1.4;overflow-wrap:anywhere;margin:auto 0}
.ai-card-front{background:#EAF2FA;color:#173B65}
.ai-card-back{background:#173B65;color:#fff;transform:rotateY(180deg);border-color:#173B65}
.ai-card-face span,.ai-card-face small{font-size:13px}
html[data-theme="dark"] .ai-card-front{background:#294560;color:#F0F6FF;border-color:#52769C}
html[data-theme="dark"] .ai-card-back{background:#173B65;color:#fff;border-color:#52769C}
@media(max-width:650px){.bfa-est-logo{width:70px!important;height:56px!important}.ai-card,.ai-card-inner{min-height:320px;height:320px}.ai-card-face{padding:22px 16px}.ai-card-face strong{font-size:clamp(19px,5vw,24px)}}
@media(prefers-reduced-motion:reduce){.ai-card-inner{transition:none}}

/* 2.1.3: explicit front/back faces; override old generic flashcard rules */
body .ai-card,body .ai-card:not(.flipped),body .ai-card.flipped {
 display:block!important;width:100%!important;height:300px!important;min-height:300px!important;
 padding:0!important;border:0!important;background:transparent!important;
 box-shadow:none!important;overflow:visible!important;perspective:1400px;
}
body .ai-card .ai-card-inner{
 display:block!important;position:relative!important;width:100%!important;height:100%!important;
 transform-style:preserve-3d!important;transition:transform .55s ease!important;
}
body .ai-card.flipped .ai-card-inner{transform:rotateY(180deg)!important}
body .ai-card .ai-card-face{
 display:flex!important;position:absolute!important;inset:0!important;
 flex-direction:column!important;align-items:center!important;justify-content:space-between!important;
 padding:25px 18px!important;box-sizing:border-box!important;opacity:1!important;
 backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;
 border-radius:17px!important;overflow:auto!important;gap:12px!important;
}
body .ai-card .ai-card-front{background:#EAF2FA!important;color:#173B65!important;border:1px solid #C9DCEF!important;transform:rotateY(0)!important}
body .ai-card .ai-card-back{background:#173B65!important;color:white!important;border:1px solid #52769C!important;transform:rotateY(180deg)!important}
body .ai-card .ai-card-front *{color:#173B65!important}
body .ai-card .ai-card-back *{color:white!important}
body .ai-card .ai-card-face strong{font-family:"Times New Roman",Times,serif!important;font-size:clamp(21px,3.5vw,27px)!important;line-height:1.4!important;opacity:1!important;margin:auto 0!important}
body .ai-card .ai-card-face>span,body .ai-card .ai-card-face>small{font-size:13px!important;opacity:.85!important}
html[data-theme="dark"] body .ai-card .ai-card-front{background:#294560!important;border-color:#52769C!important}
html[data-theme="dark"] body .ai-card .ai-card-front *{color:#F0F6FF!important}
@media(max-width:650px){body .ai-card,body .ai-card:not(.flipped),body .ai-card.flipped{height:320px!important;min-height:320px!important}}

body .ai-card .ai-card-inner,body .ai-card .ai-card-face{visibility:visible!important}
body .ai-card .ai-card-front strong,body .ai-card .ai-card-back strong{display:block!important;opacity:1!important}

/* 2.1.5: revision text should read as an unboxed document */
body .ai-sheet, body .be-sheet {
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;padding:0!important;
  margin:18px 0 22px!important;
}
body .ai-sheet :is(p,li,h3,h4),body .be-sheet :is(p,li,h3,h4){
  font-family:"Times New Roman",Times,serif!important;
}

/* 2.1.7 — approved homepage cleanup, preserving learning components */
body .bfa-est-logo {
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  object-fit:contain!important;
  /* White in the original logo becomes transparent on navy; artwork appears light. */
  filter:grayscale(1) invert(1) contrast(1.5)!important;
  mix-blend-mode:screen!important;
}
body.academy-home .hero-art{display:none!important}
body.academy-home .hero{grid-template-columns:minmax(0,1fr)!important}
body.academy-home .hero-copy{max-width:760px!important}

/* 2.1.8 — centered, balanced homepage hero and proportionate header mark */
body.academy-home .hero{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:360px!important;
 padding:0 24px!important;
}
body.academy-home .hero-copy{
 width:min(100%,800px)!important;
 max-width:800px!important;
 margin:0 auto!important;
 padding:54px 12px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 text-align:center!important;
}
body.academy-home .hero-copy h1,
body.academy-home .hero-copy p,
body.academy-home .hero-copy .eyebrow{
 text-align:center!important;
}
body.academy-home .hero-copy p{max-width:620px!important;margin-left:auto!important;margin-right:auto!important}
body.academy-home .hero-copy .cta{align-self:center!important}
body .bfa-brand-unit{gap:14px!important;align-items:center!important}
body .bfa-est-logo{
 width:122px!important;height:90px!important;
 object-fit:contain!important;object-position:center!important;
 background:transparent!important;padding:0!important;
 border:0!important;border-radius:0!important;
}
body .bfa-brand-title{font-size:clamp(28px,3vw,34px)!important}
@media(max-width:650px){
 body.academy-home .hero{min-height:320px!important;padding:0 16px!important}
 body.academy-home .hero-copy{padding:45px 0!important}
 body .bfa-brand-unit{gap:8px!important}
 body .bfa-est-logo{width:83px!important;height:65px!important}
 body .bfa-brand-title{font-size:24px!important}
}

/* 2.1.9 — identical white branding across every page; larger EST mark */
header .nav a.brand .bfa-brand-unit .bfa-brand-title,
header .nav a.brand .bfa-brand-unit .bfa-brand-title small,
body:not(.academy-home) header .nav a.brand .bfa-brand-unit .bfa-brand-title,
body:not(.academy-home) header .nav a.brand .bfa-brand-unit .bfa-brand-title small {color:#fff!important;opacity:1!important;}
header .nav .bfa-brand-unit{display:inline-flex!important;align-items:center!important;gap:15px!important;}
header .nav img.bfa-est-logo{width:180px!important;height:112px!important;max-width:none!important;flex-shrink:0!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;}
header .nav .bfa-brand-title{font-size:clamp(30px,3vw,42px)!important;line-height:1.02!important;}
header .nav .bfa-brand-title small{font-size:11px!important;letter-spacing:2.4px!important;}
@media(max-width:650px){
 header .nav img.bfa-est-logo{width:115px!important;height:78px!important;}
 header .nav .bfa-brand-unit{gap:7px!important;}
 header .nav .bfa-brand-title{font-size:clamp(22px,5vw,28px)!important;}
 header .nav .bfa-brand-title small{font-size:9px!important;}
}

/* 2.2.0 — EST-led compact signature: the name visually emerges from the mark */
header .nav .bfa-brand-unit{
 display:inline-flex!important;
 align-items:center!important;
 gap:0!important;
}
header .nav img.bfa-est-logo{
 width:235px!important;
 height:142px!important;
 max-width:none!important;
 flex-shrink:0!important;
 object-fit:contain!important;
}
header .nav .bfa-brand-title{
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 margin-left:-14px!important;
 font-family:"Times New Roman",Times,serif!important;
 font-size:clamp(21px,1.9vw,28px)!important;
 line-height:1.04!important;
 white-space:nowrap!important;
 color:#fff!important;
}
header .nav .bfa-brand-title small{
 margin-top:5px!important;
 font-size:9px!important;
 letter-spacing:1.7px!important;
 color:#fff!important;
}
@media(max-width:800px){
 header .nav img.bfa-est-logo{width:150px!important;height:100px!important}
 header .nav .bfa-brand-title{font-size:22px!important;margin-left:-10px!important}
}
@media(max-width:480px){
 header .nav img.bfa-est-logo{width:115px!important;height:84px!important}
 header .nav .bfa-brand-title{font-size:19px!important;margin-left:-7px!important}
 header .nav .bfa-brand-title small{font-size:8px!important;letter-spacing:1.1px!important}
}

/* 2.2.1: cropped transparent white EST artwork, normal header height */
header.top .nav{
 min-height:105px!important;
 padding-top:10px!important;
 padding-bottom:10px!important;
 align-items:center!important;
}
header .nav .bfa-brand-unit{gap:0!important;align-items:center!important}
header .nav img.bfa-est-logo{
 width:190px!important;height:97px!important;
 max-width:none!important;
 object-fit:contain!important;
 padding:0!important;margin:0!important;
 background:none!important;border:0!important;
 filter:none!important;mix-blend-mode:normal!important;
}
header .nav .bfa-brand-title{
 font-family:"Times New Roman",Times,serif!important;
 font-size:32px!important;
 line-height:1.02!important;
 margin-left:2px!important;
 color:#fff!important;
}
header .nav .bfa-brand-title small{
 font-size:10px!important;letter-spacing:2px!important;
 margin-top:4px!important;color:#fff!important;
}
@media(max-width:650px){
 header.top .nav{min-height:0!important;padding:10px 14px!important}
 header .nav img.bfa-est-logo{width:128px!important;height:66px!important}
 header .nav .bfa-brand-title{font-size:24px!important;margin-left:0!important}
 header .nav .bfa-brand-title small{font-size:8px!important}
}

/* 2.2.2 — restrained EST-led wordmark, compact header */
header.top .nav { min-height:78px!important; padding-top:7px!important; padding-bottom:7px!important; }
header .nav .bfa-brand-unit { display:inline-flex!important; gap:5px!important; align-items:center!important; }
header .nav img.bfa-est-logo { width:137px!important; height:69px!important; max-width:none!important; object-fit:contain!important; margin:0!important; padding:0!important; filter:none!important; mix-blend-mode:normal!important; }
header .nav .bfa-brand-title { font-family:Georgia,'Times New Roman',serif!important; font-style:italic!important; font-weight:400!important; font-size:23px!important; line-height:1.03!important; margin-left:0!important; white-space:nowrap!important; color:#fff!important; }
header .nav .bfa-brand-title small { font-family:Arial,sans-serif!important; font-style:normal!important; font-weight:600!important; font-size:8px!important; letter-spacing:1.6px!important; margin-top:5px!important; }
@media(max-width:650px) {
 header.top .nav { min-height:0!important; padding:9px 12px!important; }
 header .nav img.bfa-est-logo { width:99px!important; height:52px!important; }
 header .nav .bfa-brand-unit { gap:4px!important; }
 header .nav .bfa-brand-title { font-size:18px!important; }
 header .nav .bfa-brand-title small { font-size:7px!important; letter-spacing:1.1px!important; }
}

/* 2.2.3 — clean EST emblem, centered and connected to subordinate Study BFA wordmark */
header.top .nav {min-height:76px!important;padding-top:7px!important;padding-bottom:7px!important}
header .nav .bfa-brand-unit{gap:3px!important;align-items:center!important}
header .nav img.bfa-est-logo{width:143px!important;height:53px!important;object-fit:contain!important;object-position:center!important;background:transparent!important;filter:none!important;mix-blend-mode:normal!important}
header .nav .bfa-brand-title{font-size:21px!important;margin-left:0!important;font-style:italic!important;font-weight:400!important}
header .nav .bfa-brand-title small{font-size:8px!important;margin-top:4px!important}
@media(max-width:650px){
 header.top .nav{min-height:0!important;padding:9px 12px!important}
 header .nav img.bfa-est-logo{width:102px!important;height:40px!important}
 header .nav .bfa-brand-unit{gap:2px!important}
 header .nav .bfa-brand-title{font-size:17px!important}
 header .nav .bfa-brand-title small{font-size:7px!important}
}

/* 2.2.4 — move ONLY the emblem to the far-left edge; wordmark stays in place */
header.top{position:relative!important;}
header .nav .bfa-brand-unit{padding-left:146px!important;gap:3px!important;}
header .nav img.bfa-est-logo{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;}
@media(max-width:650px){
 header .nav .bfa-brand-unit{padding-left:104px!important;gap:2px!important;}
 header .nav img.bfa-est-logo{left:7px!important;}
}

/* Concise editorial attribution and voluntary correction contact. */
.sb-quality-footer{max-width:1080px;margin:30px auto 12px;padding:14px 18px;border-top:1px solid var(--border,rgba(116,139,158,.35));display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.86rem;line-height:1.5}
.sb-quality-footer p{margin:0;color:var(--muted,var(--text,#53657b));opacity:.82}
.sb-quality-footer a{color:var(--accent,#3478b8);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sb-quality-footer a:focus-visible{outline:3px solid #73b9ef;outline-offset:4px;border-radius:2px}
@media(max-width:640px){.sb-quality-footer{align-items:flex-start;flex-direction:column;margin-top:24px;padding:16px 10px}}

/* Compact subject headers: remove oversized introduction card spacing on mobile. */
body:not(.academy-home) main :is(.ai-hero,.be-intro,.subject-intro){
  padding:22px 26px!important;
}
body:not(.academy-home) main :is(.ai-hero,.be-intro,.subject-intro) h1{
  font-size:clamp(1.9rem,4.5vw,2.8rem)!important;
  line-height:1.15!important;
  margin:10px 0 0!important;
  letter-spacing:-.02em;
}
body:not(.academy-home) main :is(.ai-hero,.be-intro,.subject-intro) :is(.ai-kicker,.kicker,.subject-kicker){
  letter-spacing:.07em;
  line-height:1.5;
}
@media(max-width:680px){
  body:not(.academy-home) main :is(.ai-hero,.be-intro,.subject-intro){padding:18px 20px!important}
}
