/* Massimobility Signature Experience 2.0: progressive visual refinements.
   Additive CSS; existing features/controllers/educational content are unchanged.
   Colors retained from the original brand. */
:root{--sig-blue:#42bdea;--sig-deep:#061b2a;--sig-navy:#082336;--sig-text:#122e41;--sig-border:#dae6ee;--sig-ease:cubic-bezier(.22,.72,.19,1)}
body{font-synthesis:none;-webkit-font-smoothing:antialiased}
.site-header{background:rgba(5,22,35,.965);box-shadow:0 12px 30px rgba(3,18,30,.14);border-bottom:1px solid rgba(151,201,224,.13)}
.site-header .nav a,.site-header .nav-dropdown-toggle{transition:color .2s ease,background-color .2s ease}
.site-header .nav a:hover,.site-header .nav-dropdown-toggle:hover{color:#fff}
.site-header .brand-name>span{color:#42bdea}
:where(a,button,[role="button"]):focus-visible{outline:3px solid #35b9e6;outline-offset:3px}
/* Interactive polish: high fidelity without every element behaving like a button. */
:where(.button,.nav-cta,.fc-control,.movement-mode-button,.movement-region-button,.fc-region,.filter){transition:background-color .24s ease,color .24s ease,transform .32s var(--sig-ease),border-color .24s ease,box-shadow .32s var(--sig-ease)}
@media(hover:hover) and (pointer:fine){
 :where(.button,.nav-cta,.fc-control:not(:disabled)):hover{transform:translateY(-2px)}
 :where(.fc-region,.movement-region-button,.filter):hover{transform:translateY(-2px)}
}
/* Hero: image contained so no important portion of the runner is cropped. */
body[data-page="index.html"] .hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 70% 22%,rgba(28,85,118,.36),transparent 51%),linear-gradient(120deg,#061722 8%,#082a40 60%,#061b2a);min-height:660px;grid-template-columns: .93fr 1.07fr;padding-inline:clamp(22px,5.25vw,100px)}
body[data-page="index.html"] .hero:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(161,211,230,.035) 1px,transparent 1px);background-size:100% 76px;mask-image:linear-gradient(90deg,transparent,black 43%,transparent 93%)}
body[data-page="index.html"] .hero-copy{z-index:2;padding:clamp(70px,8vw,130px) 3vw clamp(58px,7vw,110px) 0}
body[data-page="index.html"] .hero h1{font-size:clamp(51px,5.35vw,87px);letter-spacing:-.068em;line-height:1.035;max-width:720px;text-wrap:balance}
body[data-page="index.html"] .hero h1 em{color:#73d4f4}
body[data-page="index.html"] .hero-text{font-size:clamp(16px,1.27vw,19px);line-height:1.75;max-width:560px;color:#c6d7e0}
body[data-page="index.html"] .hero .eyebrow{font-size:11px;color:#85d9f6;letter-spacing:.2em}
body[data-page="index.html"] .hero .pulse{background:#57d0ee;box-shadow:0 0 0 4px rgba(87,208,238,.12)}
body[data-page="index.html"] .hero .button{border-radius:11px;padding:15px 20px;min-height:49px;font-size:13px}
body[data-page="index.html"] .hero .button.primary{background:#4abce8;color:#061b2a;border-color:#4abce8;box-shadow:0 12px 35px rgba(11,126,173,.2)}
body[data-page="index.html"] .hero .button.ghost{border:1px solid rgba(199,229,242,.27);color:#e0edf5;background:rgba(8,29,45,.36)}
body[data-page="index.html"] .hero-media{position:relative;z-index:1;min-height:660px;display:flex;align-items:center;justify-content:center;overflow:visible;background:none}
body[data-page="index.html"] .hero-media:before{content:"";position:absolute;inset:8% 3% 9%;border:1px solid rgba(149,211,237,.13);border-radius:50%;transform:scale(.97);pointer-events:none}
body[data-page="index.html"] .hero-media:after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(90deg,#071c2b 0%,rgba(7,28,43,.07) 22%,transparent 60%);opacity:.5}
body[data-page="index.html"] .hero-media img{position:relative;display:block;width:100%;height:auto;max-height:min(700px,75vw);min-height:0;max-width:760px;object-fit:contain;object-position:50% 50%;border-radius:4px;filter:drop-shadow(0 22px 35px rgba(0,0,0,.2))}
/* Direct learning paths: a curated first decision instead of more generic marketing copy. */
.signature-pathways{background:#f4f8fb;padding:clamp(62px,6.6vw,98px) clamp(22px,5.25vw,100px) clamp(76px,7.5vw,110px);color:#0d2c40;position:relative}
.signature-path-heading{max-width:1440px;margin:0 auto 34px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:4vw;align-items:end}
.signature-overline{display:inline-flex;align-items:center;gap:13px;font-size:11px;letter-spacing:.2em;font-weight:800;color:#0b759b}
.signature-overline:before{content:"";width:28px;height:2px;background:#1599c5}
.signature-path-heading h2{margin-top:16px;font-size:clamp(40px,4vw,66px);line-height:1.04;letter-spacing:-.055em;color:#081f30}
.signature-path-heading p{max-width:450px;margin:0 0 4px;line-height:1.7;color:#4a6171;font-size:16px}
.signature-path-grid{max-width:1440px;margin:auto;display:grid;grid-template-columns:1.14fr 1fr 1fr;gap:15px}
.signature-path{text-decoration:none;position:relative;overflow:hidden;isolation:isolate;min-height:350px;padding:27px 28px 28px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #d6e3ea;border-radius:18px;background:#fff;color:#0b283b;transition:transform .38s var(--sig-ease),box-shadow .38s var(--sig-ease),border-color .24s ease}
.signature-path--anatomy{background:linear-gradient(145deg,#061d2c,#103c57);color:white;border-color:#174460}
.signature-path--movement{background:linear-gradient(150deg,#e4f5f7,#f6fafb);border-color:#c9e4e9}
.signature-path--study{background:#ffffff}
.signature-path-top,.signature-path-copy{position:relative;z-index:2}
.signature-path-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:.15em;font-weight:800;color:#44758b}
.signature-path--anatomy .signature-path-top{color:#99d9f0}
.signature-arrow{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;border:1px solid currentColor;font-size:17px;transition:transform .36s var(--sig-ease)}
.signature-path h3{font-size:clamp(29px,2.55vw,42px);line-height:1.05;letter-spacing:-.045em}
.signature-path p{font-size:14px;line-height:1.65;max-width:320px;min-height:46px;color:#486375;margin:13px 0 19px}
.signature-path--anatomy p{color:#bbd5e3}
.signature-path-action{font-weight:800;font-size:13px;display:inline-flex;gap:12px;align-items:center;color:#096d99}
.signature-path--anatomy .signature-path-action{color:#8bdff4}
.signature-path-action span{transition:transform .3s var(--sig-ease)}
@media(hover:hover) and (pointer:fine){.signature-path:hover{transform:translateY(-6px);box-shadow:0 25px 55px rgba(11,44,62,.12);border-color:#7ac6e3}.signature-path:hover .signature-arrow{transform:translate(3px,-3px)}.signature-path:hover .signature-path-action span{transform:translateX(5px)}}
.signature-orbit{position:absolute;z-index:0;right:-85px;top:36px;width:285px;height:285px;border:1px solid rgba(114,203,236,.2);border-radius:50%;transform:rotate(-22deg)}
.signature-orbit i{position:absolute;border:1px solid rgba(108,207,240,.19);border-radius:50%;inset:32px}
.signature-orbit i:nth-child(2){inset:68px;border-color:rgba(132,223,245,.22)}
.signature-orbit i:nth-child(3){inset:110px;background:#43b9e5;border:0;box-shadow:0 0 40px rgba(67,185,229,.5)}
.signature-track{position:absolute;right:0;top:10px;bottom:0;width:50%;transform:skewX(-12deg);opacity:.5}
.signature-track i{position:absolute;display:block;top:-8%;height:110%;width:1px;background:linear-gradient(transparent,#69bfd3,transparent)}
.signature-track i:nth-child(1){left:15%}.signature-track i:nth-child(2){left:46%}.signature-track i:nth-child(3){left:75%}
.signature-card-stack{position:absolute;right:24px;top:75px;width:115px;height:112px;transform:rotate(11deg);opacity:.5}
.signature-card-stack i{position:absolute;inset:0;border:1px solid #b3d2e0;border-radius:10px;background:#f0f8fb;transform:translate(-14px,12px)}
.signature-card-stack i:nth-child(2){transform:translate(-7px,6px)}
.signature-card-stack i:nth-child(3){transform:none;background:linear-gradient(#eef8fb,#fff)}
/* Protect hierarchy and readability across the existing long-form homepage. */
body[data-page="index.html"] .intro.section{background:#fff;padding-top:clamp(75px,8vw,115px)}
body[data-page="index.html"] .pt-section{background:#f2f7f9}
body[data-page="index.html"] .pt-section .pt-highlight{border-radius:16px}
body[data-page="index.html"] .pt-section .pt-card,body[data-page="index.html"] .intro .load-card{border-radius:14px;box-shadow:0 9px 25px rgba(8,44,65,.045)}
body[data-page="index.html"] .pt-section .pt-card p,body[data-page="index.html"] .intro .load-card p,body[data-page="index.html"] .myth-grid p,body[data-page="index.html"] .process-grid p{font-size:clamp(13px,1vw,15px);line-height:1.7}
body[data-page="index.html"] .pt-process{background:#e6f1f5}
body[data-page="index.html"] .pt-myths{border-top:1px solid #d8e5ec;padding-top:45px}

body[data-page="index.html"] .disclaimer{margin-top:28px}
/* Keep learning UIs stable; animate controls, not clinical illustrations. */
body[data-page="anatomical-mode.html"] :where(.atlas-viewport,.atlas-side,.atlas-key-card,.atlas-details-card){box-shadow:0 10px 34px rgba(10,38,53,.07)}
body[data-page="movement.html"] .movement-feature{box-shadow:0 14px 34px rgba(12,47,68,.055)}
body[data-page="flashcards.html"] .fc-panel{box-shadow:0 17px 45px rgba(10,44,65,.085)}
body[data-page="flashcards.html"] .fc-card-front{background:radial-gradient(ellipse at 88% 7%,rgba(105,191,222,.17),transparent 37%),linear-gradient(135deg,#092535,#103d55)}
/* Responsive composition, without image cropping or horizontal overflow. */
@media(max-width:1120px){
 body[data-page="index.html"] .hero{grid-template-columns:1fr;gap:0;min-height:0}
 body[data-page="index.html"] .hero-copy{padding:64px 0 25px;max-width:850px}
 body[data-page="index.html"] .hero-media{min-height:0;max-height:none;padding-bottom:45px}
 body[data-page="index.html"] .hero-media img{width:min(100%,620px);max-height:610px}
 .signature-path-grid{grid-template-columns:1fr 1fr}
 .signature-path--anatomy{grid-column:span 2;min-height:305px}
 .signature-path{min-height:310px}
}
@media(max-width:760px){
 body[data-page="index.html"] .hero{padding:0 4.5vw}
 body[data-page="index.html"] .hero h1{font-size:clamp(44px,8.7vw,68px)}
 body[data-page="index.html"] .hero-copy{padding:50px 0 25px}
 body[data-page="index.html"] .hero-media{min-height:0;padding-bottom:25px}
 body[data-page="index.html"] .hero-media img{width:100%;height:auto;max-height:none;min-height:0;object-fit:contain}
 body[data-page="index.html"] .hero-media:before{inset:7% 9%}
 .signature-pathways{padding:56px 4.5vw 70px}
 .signature-path-heading{grid-template-columns:1fr;gap:16px;margin-bottom:25px}
 .signature-path-heading h2{font-size:clamp(36px,8vw,52px)}
 .signature-path-grid{grid-template-columns:1fr;gap:12px}
 .signature-path--anatomy{grid-column:auto}
 .signature-path{min-height:278px;padding:23px}
 .signature-path p{max-width:310px;margin-bottom:15px}
 .signature-card-stack{opacity:.3}
 body[data-page="index.html"] .disclaimer{margin-top:16px}
}
@media(max-width:440px){body[data-page="index.html"] .hero h1{font-size:clamp(40px,10vw,50px)}body[data-page="index.html"] .hero .button{width:100%}.signature-path h3{font-size:32px}.signature-path{min-height:266px}}
@media(prefers-reduced-motion:reduce){.signature-path,.signature-arrow,.signature-path-action span{transition:none!important}body[data-page="index.html"] .hero h1,body[data-page="index.html"] .hero-copy .eyebrow,body[data-page="index.html"] .hero-text,body[data-page="index.html"] .hero-actions,body[data-page="index.html"] .hero-media img{animation:none!important}}

/* Compact, keyboard-accessible navigation for phones and smaller tablets. */
.signature-menu-toggle,.signature-mobile-start{display:none}
.signature-menu-toggle{width:44px;height:44px;flex:0 0 44px;border:1px solid rgba(161,207,227,.28);background:rgba(255,255,255,.035);border-radius:10px;color:#e3f5fd;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.signature-menu-toggle span{display:block;width:18px;height:2px;border-radius:5px;background:currentColor;transition:transform .24s ease,opacity .24s ease}
@media(max-width:1320px){
 .signature-nav-ready .site-header{display:flex;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;height:70px!important;min-height:70px!important;padding:10px clamp(16px,4.5vw,40px)!important;gap:12px;overflow:visible;z-index:1001}
 .signature-nav-ready .site-header .brand{margin:0;min-width:0;flex-shrink:1}
 .signature-nav-ready .site-header .brand-mark{width:36px;height:36px;flex-basis:36px}
 .signature-nav-ready .site-header .brand-name{font-size:clamp(15px,3.8vw,20px);white-space:nowrap}
 .signature-nav-ready .site-header .brand-name small{display:none}
 .signature-nav-ready .site-header .nav-cta{display:none!important}
 .signature-nav-ready .site-header .signature-menu-toggle{display:flex;margin-left:auto;flex-shrink:0}
 .signature-nav-ready .site-header .nav{display:none!important;position:absolute;top:100%;left:0;right:0;width:100%;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;flex-direction:column;flex-wrap:nowrap;gap:0;padding:14px clamp(16px,4.5vw,40px) 20px;background:#061c2a;border-top:1px solid rgba(132,185,210,.15);box-shadow:0 25px 50px rgba(3,16,27,.32);z-index:1002;align-items:stretch}
 .signature-nav-ready .site-header.signature-menu-open .nav{display:flex!important}
 .signature-nav-ready .site-header .nav > a,.signature-nav-ready .site-header .nav-dropdown-toggle{box-sizing:border-box;width:100%;display:flex!important;align-items:center;justify-content:flex-start;min-height:44px;white-space:normal;text-align:left;font:700 13px/1.35 'DM Sans',sans-serif;color:#e0edf3;padding:11px 12px;border-radius:7px}
 .signature-nav-ready .site-header .nav > a.active{background:rgba(90,187,224,.12);color:white}
 .signature-nav-ready .site-header .nav a.active:after,.signature-nav-ready .site-header .nav-dropdown-toggle.active:after{content:none}
 .signature-nav-ready .site-header .nav-dropdown{display:block;width:100%}
 .signature-nav-ready .site-header .nav-dropdown-menu{position:static;display:none;left:auto;right:auto;top:auto;width:100%;min-width:0;max-width:none;max-height:none;opacity:1;visibility:visible;transform:none;background:#092a3e;box-shadow:none;padding:7px;border:1px solid rgba(149,209,233,.18);margin:3px 0 8px;border-radius:10px;overflow:visible}
 .signature-nav-ready .site-header .nav-dropdown.open .nav-dropdown-menu{display:block;opacity:1;visibility:visible;transform:none}
 .signature-nav-ready .site-header .nav-dropdown-menu a{display:block;padding:9px 12px;color:#d5e7f0;font-size:13px;white-space:normal}
 .signature-nav-ready .site-header .signature-mobile-start{display:flex!important;margin-top:9px;justify-content:space-between!important;background:#38b6df!important;color:#061b2a!important;border-radius:9px!important}
 .signature-nav-ready .site-header.signature-menu-open .signature-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .signature-nav-ready .site-header.signature-menu-open .signature-menu-toggle span:nth-child(2){opacity:0}
 .signature-nav-ready .site-header.signature-menu-open .signature-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
/* Existing responsive rules previously forced a short fixed hero image viewport.
   Let the full uncropped runner determine the viewport height at smaller widths. */
@media(max-width:1120px){
 body[data-page="index.html"] .hero-media{height:auto!important;min-height:0!important;align-items:flex-start;overflow:visible}
 body[data-page="index.html"] .hero-media img{height:auto!important;flex:0 1 auto;max-height:none!important;min-height:0!important;object-fit:contain}
}
