:root{--navy:#0b2740;--navy2:#123d5c;--blue:#0d86a3;--teal:#46bfd0;--ice:#eaf7f8;--ink:#132434;--muted:#647583;--bone:#f2e6cd;--red:#c94650;--orange:#ef8d54;--cream:#fbf8f1;--line:#d9e3e7;--white:#fff;--shadow:0 18px 46px rgba(16,43,62,.12);--radius:26px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f3f7f8;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{cursor:pointer}
.topbar{height:86px;padding:0 max(22px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;position:sticky;top:0;z-index:50}
.brand{border:0;background:none;color:inherit;display:flex;align-items:center;gap:14px;text-align:left;padding:8px 0}
.brand-mark{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-weight:800;letter-spacing:-1px;background:linear-gradient(145deg,var(--teal),#1688a4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.brand strong,.brand small{display:block}.brand strong{font-size:20px}.brand small{font-size:13px;color:#bdd0da;margin-top:3px}
.top-actions{display:flex;gap:10px}.ghost-button{border:1px solid rgba(255,255,255,.28);color:#fff;background:rgba(255,255,255,.07);padding:12px 16px;border-radius:14px;font-weight:700}
.ghost-button:hover,.ghost-button[aria-pressed=true]{background:#fff;color:var(--navy)}
.module-nav{position:sticky;top:86px;z-index:45;display:flex;gap:8px;overflow-x:auto;padding:12px max(18px,calc((100vw - 1380px)/2));background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);scrollbar-width:none}.module-nav::-webkit-scrollbar{display:none}
.nav-item{white-space:nowrap;border:0;background:#edf3f4;color:#405563;padding:12px 18px;border-radius:999px;font-weight:700}.nav-item.active{background:var(--navy);color:#fff}
main{max-width:1380px;margin:0 auto;padding:34px 24px 72px}
.module{display:none;animation:fade .28s ease}.module.active{display:block}@keyframes fade{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}
.hero{min-height:590px;background:linear-gradient(130deg,#fff 0 53%,#e7f4f5 53% 100%);border-radius:34px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden}
.hero-copy{padding:78px 46px 64px 64px;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:14px;letter-spacing:.14em;font-weight:850;color:var(--blue);margin:0 0 15px}.hero h1{font-size:clamp(46px,6vw,78px);line-height:.98;letter-spacing:-.055em;margin:0;max-width:700px}.lede{font-size:23px;line-height:1.5;color:#516574;max-width:650px;margin:26px 0 34px}
.primary-button,.secondary-button{border:0;border-radius:16px;padding:16px 22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary-button{background:var(--blue);color:#fff;box-shadow:0 10px 22px rgba(13,134,163,.22)}.primary-button:hover{background:#09758f}.secondary-button{background:#eaf0f2;color:var(--navy)}
.hero-copy .primary-button{align-self:flex-start;font-size:18px}.hero-visual{padding:38px;display:grid;place-items:center}.hero-visual img{width:100%;max-height:490px;object-fit:contain}.bone{fill:url(#boneGrad);stroke:#c9b78f;stroke-width:3}.svg-label{font-size:18px;font-weight:750;fill:#244459}
.topic-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:22px}.topic-card{min-height:170px;border:1px solid var(--line);background:#fff;border-radius:22px;padding:22px;text-align:left;box-shadow:0 8px 20px rgba(16,43,62,.05);transition:.2s}.topic-card:hover{transform:translateY(-3px);border-color:#8fc9d6;box-shadow:var(--shadow)}.topic-card strong,.topic-card small{display:block}.topic-card strong{font-size:18px;margin:14px 0 7px}.topic-card small{color:var(--muted);line-height:1.45;font-size:14px}.topic-icon{width:38px;height:38px;border-radius:12px;background:var(--ice);color:var(--blue);display:grid;place-items:center;font-weight:900}.disclaimer{text-align:center;color:#71808a;font-size:13px;margin:30px auto 0}
.module-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:18px 0 30px}.module-heading h2{font-size:clamp(38px,5vw,64px);letter-spacing:-.045em;line-height:1;margin:0}.module-heading p:not(.eyebrow){font-size:20px;color:var(--muted);max-width:800px;line-height:1.45;margin:18px 0 0}.module-badge{background:var(--ice);color:#14647a;border:1px solid #b9e0e5;padding:12px 17px;border-radius:999px;font-size:14px;font-weight:800;white-space:nowrap}
.teaching-stage{background:#fff;border-radius:30px;padding:20px;box-shadow:var(--shadow)}.teaching-stage [hidden]{display:none!important}.step-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:20px}#anatomic .step-tabs{grid-template-columns:repeat(5,1fr)}.step-tab{min-height:68px;border:0;border-radius:16px;background:#edf3f4;color:#50646f;font-weight:750;display:flex;align-items:center;justify-content:center;gap:8px}.step-tab span{width:26px;height:26px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:12px}.step-tab.active{background:var(--navy);color:#fff}.step-tab.active span{background:var(--teal);color:var(--navy)}
.stage-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:22px}.diagram-card{min-height:520px;background:linear-gradient(145deg,#f6faf9,#eaf2f3);border:1px solid #dce7e8;border-radius:25px;padding:14px;display:grid;place-items:center;overflow:hidden}.main-diagram{width:100%;height:auto;max-height:610px}.licensed-figure{margin:0;grid-template-rows:minmax(0,1fr) auto;gap:10px}.licensed-figure img,.licensed-figure video{display:block;width:100%;height:100%;max-height:560px;object-fit:contain;border-radius:16px}.licensed-figure video{background:#07131d}.licensed-figure [hidden]{display:none!important}.licensed-figure figcaption{width:100%;padding:8px 10px 2px;text-align:center;color:#61747f;font-size:12px;line-height:1.35}.licensed-figure figcaption a{color:#0d718b;font-weight:750}.explanation{background:var(--cream);border:1px solid #eadfce;border-radius:25px;padding:34px;align-self:stretch}.explanation h3{font-size:30px;line-height:1.08;margin:0 0 16px;letter-spacing:-.025em}.explanation p{font-size:18px;line-height:1.55;color:#425765}.explanation ul{padding-left:21px;font-size:17px;line-height:1.55;color:#425765}.explanation li+li{margin-top:9px}.explanation .plain{font-size:14px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:var(--blue)}.technical{margin-top:18px;padding:16px;border-radius:14px;background:#fff;border-left:4px solid var(--orange);font-size:14px;line-height:1.5;color:#52616a}.step-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin-top:18px}.step-count{text-align:center;color:#6a7b85;font-weight:700}.decision-strip{margin:22px 0;background:var(--navy);color:#fff;border-radius:22px;padding:22px 28px;display:flex;align-items:center;gap:25px}.decision-strip strong{font-size:19px}.decision-strip span{color:#d3e1e7;line-height:1.45}
.postop-guide{margin-top:28px;background:#fff;border-radius:30px;padding:34px;box-shadow:var(--shadow)}#anatomic .teaching-stage .postop-guide{margin-top:0;padding:12px 4px 6px;box-shadow:none}.postop-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.postop-heading h3{font-size:clamp(34px,4vw,52px);line-height:1;letter-spacing:-.04em;margin:0}.postop-heading p:not(.eyebrow){font-size:18px;line-height:1.5;color:var(--muted);max-width:780px;margin:15px 0 0}.recovery-badge{flex:0 0 auto;background:var(--ice);border:1px solid #b9e0e5;color:#155f73;border-radius:20px;padding:16px 20px;text-align:center}.recovery-badge strong{display:block;font-size:24px;color:var(--navy);margin-bottom:3px}.postop-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.postop-timeline article{position:relative;min-height:230px;background:#f7faf9;border:1px solid var(--line);border-radius:20px;padding:22px}.timeline-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--navy);color:#fff;font-weight:900;margin-bottom:24px}.postop-timeline small{font-weight:850;letter-spacing:.08em;color:var(--blue)}.postop-timeline h4{font-size:21px;line-height:1.15;margin:8px 0 10px}.postop-timeline p{color:var(--muted);line-height:1.5;margin:0}.postop-rules{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.rule-card{display:grid;grid-template-columns:48px 1fr;gap:16px;border-radius:22px;padding:24px}.rule-card>span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:900}.rule-card strong{font-size:21px}.rule-card p{line-height:1.5;margin:7px 0 0}.rule-card.allowed{background:#eaf7f1;color:#184c3a}.rule-card.allowed>span{background:#1b8a64;color:#fff}.rule-card.restricted{background:#fff1ee;color:#6f2b24}.rule-card.restricted>span{background:#c74f42;color:#fff}.postop-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.postop-gallery figure{margin:0;border-radius:20px;overflow:hidden;background:#eef3f4;border:1px solid var(--line)}.postop-gallery img{display:block;width:100%;height:240px;object-fit:cover}.postop-gallery figcaption{padding:13px 15px;color:#536772;font-size:12px;line-height:1.4}.postop-gallery a{color:#0b718b;font-weight:750}.postop-note{margin:18px 0 0;padding:16px 18px;border-radius:15px;background:#f3f6f7;color:#53636d;line-height:1.45;font-size:14px}
.interactive-compare{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.compare-controls{background:#fff;border-radius:26px;padding:35px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}.compare-controls label strong,.compare-controls label span{display:block}.compare-controls label strong{font-size:28px}.compare-controls label span{font-size:18px;color:var(--blue);font-weight:800;margin-top:8px}input[type=range]{width:100%;margin:36px 0 10px;accent-color:var(--blue);height:24px}.range-labels{display:flex;justify-content:space-between;color:#6d7c86;font-size:13px;font-weight:700}.explanation.compact{padding:24px;margin-top:24px}.explanation.compact h3{font-size:24px}.repair-sequence,.treatment-compare{margin-top:24px;background:#fff;border-radius:28px;padding:30px;box-shadow:var(--shadow)}.repair-sequence h3,.treatment-compare h3,.treatment-ladder h3{font-size:30px;margin:0 0 22px}.mini-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-step{border:1px solid var(--line);background:#f8faf9;border-radius:18px;padding:18px;text-align:left}.mini-step span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e3eff1;color:var(--blue);font-weight:900}.mini-step strong,.mini-step small{display:block}.mini-step strong{font-size:17px;margin:12px 0 6px}.mini-step small{line-height:1.4;color:var(--muted)}.mini-step.active{border-color:var(--blue);background:var(--ice)}.procedure-callout{margin-top:18px;background:var(--navy);color:#fff;border-radius:18px;padding:22px 26px;font-size:17px;line-height:1.5}.procedure-callout strong{color:#7fe0e6}
.labral-grid{grid-template-columns:1fr .8fr}.labral-options{display:flex;flex-direction:column;gap:12px}.labral-option{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px 22px;text-align:left}.labral-option strong,.labral-option span{display:block}.labral-option strong{font-size:19px}.labral-option span{color:var(--muted);margin-top:4px}.labral-option.active{background:var(--navy);color:#fff}.labral-option.active span{color:#cfe0e6}.choice-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.choice-cards article{padding:24px;border:1px solid var(--line);border-radius:20px;background:#f8faf9}.choice-cards h4{font-size:22px;margin:18px 0 8px}.choice-cards p{color:var(--muted);line-height:1.5}.choice-number{font-weight:900;color:var(--teal);font-size:25px}
.frozen-compare{display:grid;grid-template-columns:1.25fr .75fr;gap:22px}.phase-switcher{display:flex;flex-direction:column;gap:12px}.phase-button{flex:1;border:1px solid var(--line);background:#fff;border-radius:20px;padding:22px;text-align:left;display:grid;grid-template-columns:42px 1fr;column-gap:12px;align-content:center}.phase-button>span{grid-row:1/3;width:38px;height:38px;border-radius:50%;background:var(--ice);color:var(--blue);display:grid;place-items:center;font-weight:900}.phase-button strong,.phase-button small{display:block}.phase-button strong{font-size:20px}.phase-button small{color:var(--muted);line-height:1.4;margin-top:4px}.phase-button.active{background:var(--navy);color:#fff}.phase-button.active small{color:#d4e1e6}.treatment-ladder{margin-top:24px;background:#fff;border-radius:28px;padding:30px;box-shadow:var(--shadow)}.treatment-ladder>div{display:grid;grid-template-columns:42px .8fr 1.8fr;gap:16px;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.treatment-ladder>div>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--ice);color:var(--blue);font-weight:900}.treatment-ladder small{color:var(--muted);line-height:1.4}
footer{background:var(--navy);color:#fff;padding:34px max(24px,calc((100vw - 1330px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}footer strong,footer span{display:block}footer span{color:#b8cbd5;margin-top:6px}footer a{color:#fff;font-weight:800}
#reverse .teaching-stage .postop-guide{margin-top:0;padding:12px 4px 6px;box-shadow:none}
.reverse-restore-gallery{width:100%;display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:12px;align-items:center}
.reverse-restore-gallery[hidden]{display:none!important}
.licensed-figure .reverse-restore-gallery img{display:block;width:100%;height:430px;object-fit:contain;border-radius:16px;background:#fff}
.simple-mode .technical{display:none}.simple-mode .explanation p,.simple-mode .explanation ul{font-size:20px}.simple-mode .explanation h3{font-size:34px}
@media(max-width:980px){.hero{grid-template-columns:1fr;min-height:auto;background:linear-gradient(180deg,#fff 0 55%,#e7f4f5 55%)}.hero-copy{padding:50px 36px 18px}.hero-visual{padding:10px 30px 34px}.hero-visual img{max-height:390px}.topic-grid{grid-template-columns:repeat(2,1fr)}.stage-grid,.interactive-compare,.frozen-compare{grid-template-columns:1fr}.diagram-card{min-height:430px}.explanation{padding:27px}.mini-steps{grid-template-columns:repeat(2,1fr)}.module-heading{align-items:flex-start;flex-direction:column}.labral-grid{grid-template-columns:1fr}.phase-switcher{display:grid;grid-template-columns:repeat(3,1fr)}.phase-button{display:block}.phase-button>span{margin-bottom:10px}.treatment-ladder>div{grid-template-columns:42px 1fr}.treatment-ladder small{grid-column:2}.choice-cards{grid-template-columns:1fr}.postop-heading{align-items:flex-start;flex-direction:column}.postop-timeline{grid-template-columns:repeat(2,1fr)}.postop-gallery img{height:190px}}
@media(max-width:680px){.topbar{height:72px}.brand small,.wide-label{display:none}.brand strong{font-size:16px}.brand-mark{width:42px;height:42px}.ghost-button{padding:10px 11px;font-size:13px}.module-nav{top:72px}.nav-item{padding:10px 14px}main{padding:22px 14px 50px}.hero-copy{padding:40px 24px 12px}.hero h1{font-size:48px}.lede{font-size:18px}.topic-grid{grid-template-columns:1fr}.topic-card{min-height:125px}.module-heading h2{font-size:42px}.module-heading p:not(.eyebrow){font-size:17px}.step-tabs{display:flex;overflow-x:auto}.step-tab{min-width:130px;padding:8px}.teaching-stage{padding:10px}.diagram-card{min-height:340px}.step-controls{grid-template-columns:1fr 1fr}.step-count{grid-column:1/3;grid-row:1}.step-controls button{grid-row:2}.decision-strip{align-items:flex-start;flex-direction:column}.mini-steps{grid-template-columns:1fr}.phase-switcher{grid-template-columns:1fr}.treatment-ladder{padding:22px}.treatment-ladder>div{grid-template-columns:38px 1fr}.choice-cards{grid-template-columns:1fr}.postop-guide{padding:23px}.postop-timeline,.postop-rules,.postop-gallery{grid-template-columns:1fr}.postop-timeline article{min-height:auto}.postop-gallery img{height:220px}footer{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){.reverse-restore-gallery{grid-template-columns:1fr}.licensed-figure .reverse-restore-gallery img{height:auto;max-height:330px}}
@media print{.topbar,.module-nav,.step-controls,footer{display:none}.module{display:block!important;page-break-after:always}main{max-width:none;padding:0}.teaching-stage,.repair-sequence,.treatment-compare{box-shadow:none}.step-tabs{display:none}}
.cuff-repair-video{margin:20px 0 0;padding:14px;border:1px solid var(--line);border-radius:20px;background:#f7faf9}.cuff-repair-video video{display:block;width:100%;max-height:560px;border-radius:14px;background:#07131d}.cuff-repair-video figcaption{padding:10px 4px 0;text-align:center;color:var(--muted);font-size:13px;line-height:1.4}
.slap-story{display:grid;gap:24px}.slap-story-section{background:#fff;border-radius:28px;padding:30px;box-shadow:var(--shadow)}.story-kicker{display:flex;align-items:center;gap:16px;margin-bottom:22px}.story-kicker>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--navy);color:#fff;font-weight:900}.story-kicker small{display:block;color:var(--blue);font-weight:850;letter-spacing:.09em;margin-bottom:4px}.story-kicker h3{font-size:30px;line-height:1.1;margin:0}.slap-video-card{margin:0;padding:14px;border:1px solid var(--line);border-radius:20px;background:#f7faf9}.slap-video-card video{display:block;width:100%;max-height:590px;border-radius:14px;background:#07131d}.slap-video-card figcaption{padding:10px 4px 0;text-align:center;color:var(--muted);font-size:13px;line-height:1.4}.slap-explanation{margin:0;padding:30px}.slap-explanation h4{font-size:20px;margin:22px 0 8px}.slap-treatment-grid{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);gap:22px;align-items:center}.tenodesis-copy{padding:8px 4px}.tenodesis-copy>p,.tenodesis-copy li{color:#425765;font-size:17px;line-height:1.55}.tenodesis-copy ul{padding-left:22px}.tenodesis-copy li+li{margin-top:8px}.treatment-video{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
@media(max-width:980px){.slap-treatment-grid{grid-template-columns:1fr}}
@media(max-width:680px){.slap-story-section{padding:20px}.story-kicker{align-items:flex-start}.story-kicker h3{font-size:24px}.slap-explanation{padding:22px}}
.frozen-video{max-width:760px;margin:0 auto 24px}
