/* Bootstrap handles the grid, spacing, forms, navigation, tabs and accordions.
   Custom rules below provide the visual identity and homepage compositions. */
:root { --mb-dark:#173b49; --mb-blue:#215e6d; --mb-soft:#edf4f1; --mb-coral:#ffd0b9; --mb-ink:#203b46; }
body { color:var(--mb-ink); font-family:Arial,Helvetica,sans-serif; }
h1,h2,h3 { letter-spacing:-.04em; }
h1,h2 { text-wrap:balance; }
a { color:var(--mb-blue); text-underline-offset:.2em; }
.navbar-brand,.text-brand { color:var(--mb-dark)!important; }
.navbar-brand .small { font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; margin-top:.3rem; }
.nav-link { font-size:.9rem; }
.btn { --bs-btn-padding-x:1.35rem; --bs-btn-padding-y:.8rem; --bs-btn-border-radius:50rem; font-weight:600; }
.btn-primary { --bs-btn-bg:var(--mb-dark); --bs-btn-border-color:var(--mb-dark); --bs-btn-hover-bg:#102e39; --bs-btn-hover-border-color:#102e39; --bs-btn-active-bg:#102e39; --bs-btn-active-border-color:#102e39; }
.btn-outline-primary { --bs-btn-color:var(--mb-dark); --bs-btn-border-color:var(--mb-dark); --bs-btn-hover-bg:var(--mb-dark); --bs-btn-hover-border-color:var(--mb-dark); --bs-btn-active-bg:var(--mb-dark); --bs-btn-active-border-color:var(--mb-dark); }
.btn-peach { --bs-btn-bg:var(--mb-coral); --bs-btn-border-color:var(--mb-coral); --bs-btn-color:var(--mb-dark); --bs-btn-hover-bg:#ffb894; --bs-btn-hover-border-color:#ffb894; }
.bg-soft { background:var(--mb-soft); }
.bg-peach { background:var(--mb-coral); }
.section-padding { padding:5.5rem 0; }
.eyebrow { font-size:.74rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; margin-bottom:1rem; }
.lead { line-height:1.65; }
.home-hero { background:var(--mb-dark); color:white; overflow:hidden; position:relative; }
.hero-title { font-size:clamp(3rem,6.3vw,5.8rem); font-weight:700; line-height:1.02; letter-spacing:-.06em; }
.hero-title em { color:var(--mb-coral); font-style:normal; }
.statement { font-size:clamp(2rem,4vw,3.75rem); font-weight:700; line-height:1.15; letter-spacing:-.045em; }
.topic-tabs .nav-link { border-radius:0; border:0; border-bottom:1px solid #173b4933; width:100%; text-align:left; font-size:clamp(1.5rem,3vw,2.7rem); font-weight:700; color:#586e75; padding:.8rem 0; letter-spacing:-.04em; }
.topic-tabs .nav-link.active { background:transparent; color:var(--mb-dark); }
.topic-tabs .nav-link.active::after { content:""; float:right; color:var(--mb-blue); }
.topic-panel { min-height:350px; }
.feature-card,.training-card { height:100%; border:1px solid #d7e2df; border-radius:1.5rem; background:white; padding:2rem; }
.training-card { display:flex; flex-direction:column; }
.training-card .card-link { margin-top:auto; padding-top:1rem; }
.resource-link { display:block; text-decoration:none; color:inherit; transition:transform .2s ease,box-shadow .2s ease; }
.resource-link:hover { color:inherit; transform:translateY(-5px); box-shadow:0 1rem 2rem #173b4910; }
.book-cover { width:100%; max-width:340px; border-radius:.4rem; box-shadow:1rem 1rem 0 #215e6d19; }
.hero-photo { width:100%; max-width:430px; border-radius:2rem; }
.cta-section,footer { background:var(--mb-dark); color:white; }
footer a { color:white; text-decoration:none; }
footer a:hover { text-decoration:underline; }
.accordion { --bs-accordion-active-color:var(--mb-dark); --bs-accordion-active-bg:var(--mb-soft); --bs-accordion-btn-focus-box-shadow:0 0 0 .25rem #215e6d40; }
.scenario-choice[aria-pressed="true"] { background:var(--mb-dark); border-color:var(--mb-dark); color:white; }
:focus-visible { outline:3px solid #cf6c36!important; outline-offset:4px; }
@keyframes drift { to { transform:translateY(12px) rotate(7deg); border-radius:55% 45% 40% 60%; } }
@media(max-width:767.98px) { .section-padding { padding:3.5rem 0; } .hero-visual { max-width:420px; margin:auto; } .hero-visual img { max-height:430px; } .hero-note { left:0; } .topic-panel { min-height:0; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print { .navbar,footer,.btn,.hero-orbit { display:none!important; } .section-padding { padding:1rem 0; } .home-hero,.cta-section { background:white; color:black; } .hero-title em { color:inherit; } }
[id] { scroll-margin-top:0; }
[hidden] { display:none!important; }

/* The one-page flow needs custom motion and layering; Bootstrap still owns
   the responsive grid, spacing, navigation, tabs, forms and accordions. */
html { scroll-behavior:smooth; scroll-padding-top:var(--nav-offset, 100px); }
:root { --mb-dark:#113f4b; --mb-blue:#1b6673; --mb-soft:#f0f5f1; --mb-coral:#ffd2b7; }
.section-padding { padding:7rem 0; }
.text-accent { color:#337c80; }
.scroll-progress { position:fixed; height:3px; inset:0 0 auto; z-index:1040; pointer-events:none; }
.scroll-progress span { display:block; width:100%; height:100%; background:#d48d65; transform:scaleX(0); transform-origin:left; }
.flow-hero { position:relative; isolation:isolate; overflow:hidden; min-height:calc(100svh - 90px); display:flex; align-items:center; background:#113f4b; color:#fff; padding:4rem 0 6rem; }
.flow-scene { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:-1; }
.flow-hero>.container,.closing-flow>.container { z-index:1; }
.flow-title { font-size:clamp(3.2rem,7.5vw,7.5rem); line-height:1.01; font-weight:700; letter-spacing:-.065em; text-wrap:balance; }
.flow-title em { color:var(--mb-coral); font-style:normal; }
.hero-intro { max-width:720px; }
.flow-blob { position:absolute; width:clamp(280px,38vw,650px); aspect-ratio:1; border-radius:38% 62% 57% 43% / 60% 36% 64% 40%; background:radial-gradient(ellipse at 28% 20%,#b5e6d2 0%,#4aa29d 23%,#207480 48%,#0d3c4d 77%); box-shadow:inset 12px 18px 35px #d5fff04d,inset -25px -25px 50px #062a4380,0 25px 80px #052e3355; animation:blobFloat 15s ease-in-out infinite alternate,blobMorph 19s ease-in-out infinite alternate; will-change:transform; }
.blob-one { left:-13%; top:-12%; }
.blob-two { right:-14%; top:15%; width:clamp(320px,43vw,710px); background:radial-gradient(ellipse at 30% 20%,#fff0cf 0%,#efb08c 26%,#b8726d 50%,#763d5c 77%); animation-delay:-7s,-4s; animation-duration:18s,23s; }
.blob-three { width:clamp(160px,19vw,320px); left:12%; bottom:-15%; animation-delay:-11s,-8s; }
.flow-ring { position:absolute; width:65vw; aspect-ratio:1; border:1px solid #b5e6d22e; border-radius:44% 56% 53% 47%; left:17%; top:-25%; animation:spinFlow 50s linear infinite; }
.flow-spark { position:absolute; right:12%; top:12%; color:var(--mb-coral); font-size:clamp(3rem,7vw,6rem); animation:spinFlow 35s linear infinite; }
.hero-wave { position:absolute; bottom:-1px; left:0; width:100%; height:75px; fill:white; pointer-events:none; }
.scroll-cue { color:#fff; text-decoration:none; font-size:.8rem; letter-spacing:.06em; }
.scroll-cue:hover { color:var(--mb-coral); }
.scroll-dot { border:1px solid #ffffff70; border-radius:50%; padding:.55rem .8rem; animation:scrollBob 2.5s ease-in-out infinite; }
.statement { font-size:clamp(2.5rem,5.3vw,5rem); }
.flow-ticker { overflow:hidden; background:var(--mb-coral); color:var(--mb-dark); padding:1.35rem 0; }
.flow-ticker-track { display:flex; width:max-content; animation:tickerFlow 40s linear infinite; }
.flow-ticker-track span { white-space:nowrap; font-size:clamp(1.1rem,2vw,1.7rem); font-weight:600; }
.flow-ticker i { font-style:normal; display:inline-block; margin:0 1.6rem; }
.stack-section { background:#fbfaf6; }
.stack-deck { position:relative; padding-bottom:2rem; }
.stack-panel { position:sticky; top:120px; overflow:hidden; padding:4rem; border-radius:2rem; min-height:400px; isolation:isolate; box-shadow:0 -10px 30px #113f4b08; }
.stack-one { background:var(--mb-coral); transform:rotate(-1.5deg); }
.stack-two { background:var(--mb-dark); color:#fff; margin-top:3rem; transform:rotate(1deg); top:145px; }
.panel-orbit { position:absolute; width:420px; aspect-ratio:1; border:1px solid #ffffff40; border-radius:40% 60% 50% 50%; right:-140px; bottom:-260px; z-index:-1; animation:spinFlow 35s linear infinite; }
.stack-one .panel-orbit { border-color:#113f4b33; }
.portrait-stage { position:relative; padding:1.5rem; max-width:470px; margin:auto; isolation:isolate; }
.portrait { position:relative; border-radius:45% 45% 1rem 1rem; max-height:560px; width:100%; object-fit:cover; object-position:center 25%; }
.portrait-halo { position:absolute; inset:0 -3% 12% 8%; background:#a7cfc5; border-radius:43% 57% 38% 62%; animation:blobMorph 15s ease-in-out infinite alternate; z-index:-1; }
.portrait-label { position:absolute; left:0; bottom:0; border-radius:1rem; padding:1.1rem 1.7rem; background:var(--mb-coral); font-size:1.15rem; font-weight:700; transform:rotate(-5deg); }
.training-accordion { --bs-accordion-border-width:0; }
.training-accordion .accordion-item { border-bottom:1px solid #ccdcd8; border-radius:0; }
.training-accordion .accordion-button { font-size:clamp(1.2rem,2.3vw,2rem); line-height:1.3; font-weight:600; padding:2rem 0; gap:1.5rem; letter-spacing:-.035em; }
.topic-number { color:#427e80; font-size:.85rem; letter-spacing:0; }
.training-accordion .accordion-body { max-width:1000px; }
.ribbon-section { height:220px; overflow:hidden; background:#f0f5f1; }
.flow-ribbon { width:150%; height:100%; margin-left:-25%; animation:ribbonDrift 12s ease-in-out infinite alternate; }
.flow-ribbon path { fill:none; stroke-width:65; }
.ribbon-back { stroke:#d4a68d; }
.ribbon-front { stroke:var(--mb-coral); }
.book-section { padding-top:2rem; }
.book-cover { max-width:320px; }
.closing-flow { position:relative; isolation:isolate; overflow:hidden; color:white; background:var(--mb-dark); }
.closing-flow .blob-one { width:350px; top:0; left:-7%; }
.closing-flow .blob-two { width:400px; top:10%; right:-10%; }
.closing-flow .blob-three,.closing-flow .flow-ring,.closing-flow .flow-spark { display:none; }
.motion-toggle { position:fixed; bottom:1rem; left:1rem; z-index:1030; background:#ffffffed; color:var(--mb-dark); border:1px solid #113f4b33; box-shadow:0 3px 15px #0001; font-size:.72rem; padding:.5rem .8rem; }
.motion-toggle:hover { background:var(--mb-coral); }
/* Content stays visible if scripts or IntersectionObserver are unavailable. */
.motion-ready .reveal { opacity:0; transform:translateY(32px); transition:opacity .8s ease,transform .8s cubic-bezier(.2,.65,.3,1); }
.motion-ready .reveal.is-visible { opacity:1; transform:none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state:paused!important; }
.motion-paused .reveal { opacity:1; transform:none; transition:none; }
@keyframes blobFloat { from { transform:translate3d(0,0,0) rotate(-15deg) scale(.96); } to { transform:translate3d(45px,40px,0) rotate(25deg) scale(1.1); } }
@keyframes blobMorph { from { border-radius:38% 62% 57% 43% / 60% 36% 64% 40%; } to { border-radius:64% 36% 38% 62% / 42% 64% 36% 58%; } }
@keyframes spinFlow { to { transform:rotate(360deg); } }
@keyframes scrollBob { 50% { transform:translateY(7px); } }
@keyframes tickerFlow { to { transform:translateX(-50%); } }
@keyframes ribbonDrift { to { transform:translateX(7%) scaleY(.72) rotate(2deg); } }
@media(min-width:992px) { .stack-deck { padding-top:1rem; } .stack-one { margin-bottom:10rem; } }
@media(max-width:991.98px) { .section-padding { padding:4.5rem 0; } .stack-panel { padding:2.5rem; top:95px; } .stack-two { top:110px; } .flow-hero { min-height:780px; } }
@media(max-width:575.98px) { .flow-hero { min-height:calc(100svh - 85px); padding:3rem 0 5rem; } .flow-title { font-size:clamp(2.7rem,11vw,4rem); } .flow-hero .lead { font-size:1.05rem; } .flow-hero .btn { font-size:.9rem; } .blob-one { left:-60%; top:-5%; opacity:.65; } .blob-two { right:-65%; top:40%; opacity:.7; } .flow-spark { top:3%; right:6%; font-size:2.5rem; } .stack-panel { position:relative; top:auto; min-height:0; padding:2rem; } .stack-two { top:auto; margin-top:1.5rem; } .ribbon-section { height:140px; } .portrait-stage { max-width:360px; } .training-accordion .accordion-button { gap:.75rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .motion-ready .reveal { opacity:1; transform:none; } .motion-toggle { display:none; } }
@media print { .flow-scene,.hero-wave,.flow-ticker,.scroll-cue,.ribbon-section,.motion-toggle,.scroll-progress { display:none!important; } .flow-hero,.closing-flow { background:white; color:black; min-height:0; padding:1rem 0; } .flow-title em { color:inherit; } .stack-panel { position:static; transform:none; min-height:0; margin:1rem 0; padding:1rem; } .motion-ready .reveal { opacity:1; transform:none; } .accordion-collapse { display:block!important; } }

@media print { .print-questions main > :not(#resources) { display:none!important; } .print-questions #questions { display:block!important; padding:0!important; } }

.flow-scene::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 45%,#113f4b70 10%,#113f4b22 75%); }
.stack-section { overflow-x:clip; }
@media(max-width:575.98px) { .stack-panel { transform:none; } }
/* Match the largest Bootstrap row gutter so full-width phone layouts fit. */
.container { --bs-gutter-x:3rem; }
.flow-hero .flow-scene::after { background:linear-gradient(90deg,#113f4b20 0%,#113f4b99 18%,#113f4b99 82%,#113f4b20 100%); }

/* V3: shorter page, real offerings, compact photo introduction and reviews. */
.section-padding { padding:4.5rem 0; }
.intro-portrait { max-height:350px; }
.intro-section .portrait-label { font-size:1rem; }
.intro-section h2 { font-size:clamp(1.8rem,3.1vw,3rem); }
.training-photo { max-height:220px; width:100%; object-fit:cover; }
.topic-tabs .nav-link { font-size:clamp(1.35rem,2.7vw,2.25rem); }
.topic-panel { min-height:320px; }
.training-accordion .accordion-button { padding:1.35rem 0; font-size:clamp(1.12rem,1.8vw,1.6rem); }
.evaluation-section { background:#fbfaf6; overflow-x:clip; }
.service-stack { position:relative; padding-bottom:1rem; }
.service-stack .stack-panel { min-height:0; padding:3rem; }
.service-stack .stack-one { margin-bottom:5rem; }
.service-stack .stack-two { margin-top:0; }
.review-card a { color:#fff; }
.testimonial-quote { font-size:clamp(1.5rem,2.5vw,2.3rem); font-weight:600; line-height:1.3; letter-spacing:-.025em; }
.review-card .carousel-item { min-height:200px; }
.review-control { padding:.4rem .9rem; }
.review-tabs .nav-link { color:#fff; border:1px solid #ffffff66; border-radius:50rem; }
.review-tabs .nav-link.active { background:var(--mb-coral); color:var(--mb-dark); border-color:var(--mb-coral); }
@media(max-width:767.98px) { .section-padding { padding:3rem 0; } .service-stack .stack-panel { padding:2rem; } .service-stack .stack-one { margin-bottom:1.5rem; } .intro-section .portrait-stage { max-width:300px; } .intro-portrait { max-height:290px; } .review-card .carousel-item { min-height:220px; } }
@media print { .print-questions main > :not(#resources) { display:none!important; } .print-questions #resources { display:block!important; padding:0!important; } .print-questions #resourceQuestions .accordion-collapse { display:block!important; } }

/* A single offset avoids adding header padding and target margins together. */
html { scroll-padding-top:var(--nav-offset, 100px); }
[id] { scroll-margin-top:0; }
.intro-portrait { aspect-ratio:1; object-fit:cover; object-position:center; max-height:350px; }
.flow-ticker i { width:.4rem; height:.4rem; border-radius:50%; background:currentColor; vertical-align:middle; }
.flow-spark { width:3rem; height:3rem; border:2px solid var(--mb-coral); border-radius:35%; }
.testimonial-quote { font-size:clamp(1.2rem,1.9vw,1.75rem); line-height:1.45; }
.review-card .carousel-item { min-height:240px; }
@media(max-width:575.98px) { .review-card .carousel-item { min-height:350px; } .review-control { padding:.45rem .7rem; font-size:.8rem; } }

/* V5: consolidated learning cards and Michelle workshop portrait. */
.workshop-crop { height:340px; max-width:350px; margin:auto; overflow:hidden; border-radius:2rem; border:5px solid white; box-shadow:0 12px 32px #173b4920; }
.workshop-crop img { width:100%; height:100%; object-fit:cover; object-position:50% 0%; transform:scale(1.75); transform-origin:50% 0%; }
.training-accordion .pathway-card { margin:1rem 0; border:2px solid #b5ced7; border-radius:1.25rem; overflow:hidden; background:white; box-shadow:0 6px 18px #173b490b; }
.training-accordion .accordion-button { padding:1.35rem 1.5rem; color:var(--mb-dark); background:white; }
.training-accordion .accordion-button:not(.collapsed) { background:#e5f0f4; }
.training-accordion .accordion-button::after { display:none; }
.pathway-arrow { margin-left:auto; transition:transform .2s; font-size:1.8rem; }
.accordion-button:not(.collapsed) .pathway-arrow { transform:rotate(90deg); }
.ticker-group { display:flex; flex-shrink:0; }
.flow-ticker-track { animation-duration:360s; }
.flow-ticker:hover .flow-ticker-track { animation-play-state:paused; }
.review-card .carousel-item { min-height:300px; }
.activity-section [data-scenario] { border:3px solid #efaa87; box-shadow:8px 8px 0 #173b4912; }
@media(max-width:575.98px) { .workshop-crop { height:300px; max-width:280px; } .review-card .carousel-item { min-height:380px; } }
