/* Option 9 + Map: imagery placements (merge_9_map.py). Loaded after o9.css. */
/* Program hero film */
.phero .bgimg video{width:100%;height:100%;object-fit:cover;object-position:50% 22%;opacity:.62;display:block}
.phero .film-ctl{position:absolute;right:var(--pad,24px);bottom:calc(var(--dock-h,64px) + 18px);z-index:3;height:38px;padding:0 16px;border:1px solid rgba(251,244,238,.5);border-radius:999px;background:rgba(36,21,17,.55);color:#FBF4EE;font:inherit;font-size:11px;letter-spacing:.18em;text-transform:uppercase;cursor:pointer}
.phero .film-ctl:hover{border-color:#C98F86;color:#E8A99E}
/* Home film: the Program hyperlapse, framed to keep faces in shot */
.film video{object-position:50% 14%}
@media(min-width:701px){.film{aspect-ratio:2/1}}
@media(max-width:700px){.film video{object-position:50% 12%}}
/* Program step cards: landscape training stills in portrait cards, aim at the instructor */
.step .sbg img.pos-anatomy{object-position:22% 30%!important}
.step .sbg img.pos-assess{object-position:30% 30%!important}
.step .sbg img.pos-ampoules{object-position:45% 30%!important}
.step .sbg img.pos-handson{object-position:38% 30%!important}
.step .sbg img.pos-device{object-position:55% 30%!important}
.step .sbg img.pos-briefing{object-position:60% 30%!important}
.step .sbg img.pos-cert{object-position:50% 30%!important}
/* Program: lecture still beside "Invest in a skill" keeps its 16:9 shape */
.skill7 figure img.tr16{aspect-ratio:16/9!important;height:auto!important;object-fit:cover}
/* Method: close-up still in the old video slot */
.live7 figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
/* Certification: certificate hand-over still */
.bldg img.trcert{aspect-ratio:16/9;object-position:50% 35%}
/* Enroll: desk photo a little brighter behind the heading */
.ap-side img{opacity:.5}
/* Cherry payment plan */
.pay7 .btn{margin-top:6px}

/* 18 (2026-11-07): headline beside the photo/film, not over it */
.phero .bgimg::after,.ap-side::after{display:none}
.phero .bgimg video,.ap-side img{opacity:1!important}
@media (min-width:900px){
  .page .phero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch;min-height:74svh}
  .phero .bgimg{position:relative;inset:auto;grid-column:2;grid-row:1;margin-top:var(--nav-h,72px)}
  .phero .bgimg video{position:absolute;inset:0}
  .phero .pin-in{grid-column:1;grid-row:1;position:relative;height:auto;align-self:center;padding:calc(var(--nav-h,72px) + 32px) clamp(24px,4vw,64px) calc(var(--dock-h,64px) + 40px)}
  .ap-side{flex-direction:column;align-items:stretch;justify-content:flex-start}
  .ap-side img{position:relative;inset:auto;flex:none;height:56svh;margin-top:var(--nav-h,72px)}
  .ap-side .tx{padding:36px var(--pad,24px) calc(var(--dock-h,64px) + 40px)}
}
@media (max-width:899px){
  .phero{display:flex;flex-direction:column;align-items:stretch}
  .phero .bgimg{position:relative;inset:auto;height:56svh;margin-top:var(--nav-h,64px)}
  .phero .pin-in{position:relative;height:auto;padding:26px var(--pad,20px) calc(var(--dock-h,64px) + 28px)}
  .phero .film-ctl{top:calc(var(--nav-h,64px) + 12px);bottom:auto}
  .ap-side{flex-direction:column;align-items:stretch;min-height:0}
  .ap-side img{position:relative;inset:auto;height:40svh;margin-top:var(--nav-h,64px)}
  .ap-side .tx{padding:22px 20px 8px}
}

/* 8c (2026-11-08): boxed text beside the Institute photo; boxed Program headline */
.live7s .in{max-width:1200px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(18px,3vw,36px);align-items:stretch}
.live7s .l7-box{border:1px solid rgba(201,143,134,.45);border-radius:24px;background:rgba(251,244,238,.04);padding:clamp(26px,3.6vw,52px);display:flex;flex-direction:column;justify-content:center;gap:16px}
.live7s .l7-box .brace{letter-spacing:.3em;text-transform:uppercase;font-size:11px;color:#C98F86}
.live7s .l7-box h2{margin:0;font:400 clamp(32px,3.4vw,50px)/1.05 'Cormorant Garamond',Georgia,serif;color:#FBF4EE}
.live7s .l7-box h2 em{color:#C98F86}
.live7s .l7-box p{margin:0;color:rgba(251,244,238,.82);font-size:15.5px;line-height:1.6;max-width:42ch}
.live7s .l7-box ul{list-style:none;margin:2px 0 6px;padding:0;display:grid;gap:9px}
.live7s .l7-box li{position:relative;padding-left:22px;color:#FBF4EE;font-size:14.5px}
.live7s .l7-box li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:50%;background:#C98F86}
.live7s .l7-box .pill{align-self:flex-start;margin-top:6px}
.live7s figure{margin:0;min-height:420px}
.live7s figure img{width:100%;height:100%;aspect-ratio:auto!important;object-fit:cover;object-position:72% 50%}
.phero .hbox{border:1px solid rgba(201,143,134,.45);border-radius:24px;background:rgba(36,21,17,.55);padding:clamp(24px,3vw,44px)}
@media (max-width:899px){.live7s .in{grid-template-columns:1fr}.live7s figure{min-height:0;aspect-ratio:4/3}.phero .hbox{padding:22px}}

/* Elly 9 Nov: real clips + real results */
.tx9{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;background:#241511}
.clips9{background:#FBF4EE;color:#241511}
.clips9 .brace{color:#B0665C;letter-spacing:.3em;text-transform:uppercase;font-size:11px}
.clips9 h2{margin:10px 0 0;font:400 clamp(30px,3.6vw,52px)/1.05 'Cormorant Garamond',Georgia,serif}
.clips9 h2 em,.res9 h2 em{color:#B0665C}
.step9{margin:0;display:grid;gap:14px;align-content:start}
.step9 figcaption{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:4px;align-items:baseline;padding:0 2px}
.step9-n{grid-row:span 2;font:italic 400 30px/1 'Cormorant Garamond',Georgia,serif;color:#B0665C}
.step9 b{font:400 24px/1.1 'Cormorant Garamond',Georgia,serif;color:#241511}
.step9-l{font-size:15px;line-height:1.5;color:#4a3530}
@media(max-width:700px){.clips9-grid .step9:nth-child(3){display:grid}.clips9-grid{grid-template-columns:1fr!important}.step9 .tx9{aspect-ratio:4/5}}
/* Tim 2026-11-10: Program step cards fill the pinned panel (no blank band under them on wide, short screens) */
@media(min-width:701px){.rail-pin .step{height:calc(100svh - var(--nav-h) - 170px)!important;max-height:none!important}.rail-prog{bottom:28px!important}}
.clips9-sub{margin:12px 0 0;max-width:38rem;font-size:16px;line-height:1.55;color:#4a3530}
.clips9-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,2vw,24px);margin-top:26px}
.clips9-grid .tx9{aspect-ratio:9/14;height:auto}
@media(max-width:700px){.clips9-grid{grid-template-columns:1fr 1fr}.clips9-grid .tx9:nth-child(3){display:none}}
.res9{background:#FBF4EE;color:#241511;padding:clamp(48px,7vw,96px) 0}
.res9 .wrap{width:min(1200px,calc(100% - 40px));margin-inline:auto}
.res9 .brace{color:#B0665C;letter-spacing:.3em;text-transform:uppercase;font-size:11px}
.res9 h2{margin:10px 0 28px;font:400 clamp(30px,3.6vw,52px)/1.05 'Cormorant Garamond',Georgia,serif}
.res9-sub{margin:12px 0 22px;max-width:40rem;font-size:16px;line-height:1.55;color:#4a3530}
.res9.top9{padding-top:clamp(36px,5vw,64px)}
.res9 .res9-grid{width:100%!important;max-width:none!important}
.res9 > .wrap{padding-inline:0!important;width:min(1200px,calc(100% - 40px))!important}
.res9 .pair9,.res9 .pair9 .pp{min-width:0}
.res9-grid.n8,.res9-grid.n12{grid-template-columns:repeat(4,1fr)}
.res9.top9{margin:16px 14px 0;border-radius:24px}
.learn9 + .res9.top9{margin-top:16px}
@media(max-width:900px){.res9-grid.n8,.res9-grid.n12{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.res9-grid.n8,.res9-grid.n12{grid-template-columns:1fr}.res9.top9{margin:12px 8px 0;border-radius:18px}}
/* Tim 2026-11-10: Learn the Method section, balanced and shaded */
.learn9{background:radial-gradient(120% 70% at 50% 0%,#F4E2D9 0%,#FBF4EE 60%,#F6E9E2 100%)!important}
.learn9 .head{text-align:center;max-width:900px;margin:0 auto clamp(22px,3vw,36px)!important;display:grid;justify-items:center}
.learn9 .head h2{text-align:center}
.learn9 .learn9-sub{margin:14px auto 0;max-width:40rem;font-size:17px;line-height:1.55;color:#4a3530!important;text-align:center;opacity:1}
.learn9 .film{position:relative;max-width:1080px;margin:0 auto!important;border-radius:22px;overflow:hidden;box-shadow:0 34px 70px -34px rgba(58,36,32,.5)}
.learn9 .film::after{content:"";position:absolute;top:auto!important;left:0;right:0;bottom:0!important;height:38%;background:linear-gradient(180deg,rgba(36,21,17,0),rgba(36,21,17,.6));pointer-events:none;z-index:1}
.learn9 .film figcaption{z-index:2}
.res9-grid{display:grid;gap:clamp(14px,2vw,26px);grid-template-columns:repeat(4,1fr)}
.res9-grid.n3{grid-template-columns:repeat(3,1fr)}
.res9-grid.n1{grid-template-columns:minmax(0,520px)}
.pair9{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pair9 .pp{position:relative;margin:0}
.pair9 img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;background:#EBCFC6}
.pair9 span{position:absolute;left:8px;top:8px;z-index:1;padding:3px 9px;border-radius:999px;background:rgba(36,21,17,.72);color:#FBF4EE;font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.res9-cap{margin:18px 0 0;font-size:13px;color:#6a5149}
.res9.dk9{background:#241511;color:#FBF4EE}.res9.dk9 h2{color:#FBF4EE}.res9.dk9 .brace{color:#C98F86}.res9.dk9 h2 em{color:#C98F86}.res9.dk9 .res9-cap{color:rgba(251,244,238,.7)}
@media(max-width:900px){.res9-grid,.res9-grid.n3{grid-template-columns:1fr 1fr}.res9-grid.n1{grid-template-columns:1fr}}
@media(max-width:520px){.res9-grid,.res9-grid.n3{grid-template-columns:1fr}}
.inside9{background:#241511;color:#FBF4EE;padding:clamp(48px,7vw,96px) 0}
.inside9 .wrap{width:min(1200px,calc(100% - 40px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,6fr) minmax(0,4fr);gap:clamp(24px,4vw,64px);align-items:start}
.inside9 .brace{color:#C98F86;letter-spacing:.3em;text-transform:uppercase;font-size:11px}
.inside9 h2{margin:10px 0 24px;font:400 clamp(30px,3.6vw,52px)/1.05 'Cormorant Garamond',Georgia,serif}.inside9 h2 em{color:#C98F86}
.inside9 ol{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.inside9 li{padding:0 0 18px;border-bottom:1px solid rgba(201,143,134,.3)}
.inside9 h3{margin:0 0 4px;font:400 22px/1.2 'Cormorant Garamond',Georgia,serif;color:#FBF4EE}
.inside9 p{margin:0;color:rgba(251,244,238,.8);font-size:15px;line-height:1.55;max-width:52ch}
.in9-vid{position:sticky;top:90px}.in9-vid .tx9.tall{aspect-ratio:9/14;height:auto;max-height:80svh}
@media(max-width:899px){.inside9 .wrap{grid-template-columns:1fr}.in9-vid{position:static;order:-1}.in9-vid .tx9.tall{max-height:60svh}}
.skill7 figure .tx9{aspect-ratio:4/5;height:auto;max-height:560px}
.tile .ico3.real9{object-fit:cover;border-radius:14px}
/* ambient floating-sphere canvas (cell-like bokeh) off on every page */
#field{display:none!important}
