/* Visual system: framed media remains fully visible, with a quiet, consistent depth cue. */
.media-frame{display:grid;place-items:center;border-radius:0!important;overflow:visible!important;box-shadow:none!important;background:transparent!important}.media-frame img{width:auto!important;height:auto!important;max-width:100%;max-height:100%;border-radius:18px;box-shadow:10px 12px 24px #152c2440!important}
.logic-figure img,.occupation-figure img{width:100%;display:block;object-fit:contain;border-radius:18px;box-shadow:10px 12px 24px #152c2440}.logic-figure,.occupation-figure{margin:0}.logic-figure figcaption{margin-top:.65rem;font-size:.88rem;color:var(--muted);line-height:1.35}.occupation-figure{margin:.55rem 0}.occupation-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:.4rem;margin-top:.7rem}.occupation-labels span{padding:.35rem .42rem;border-left:3px solid var(--green);font-size:clamp(.75rem,.98vw,.94rem);line-height:1.25}.occupation-labels b{font-weight:650;color:var(--muted)}

/* Full-bleed opening images deliberately have no frame: they are the stage, not an illustration. */
.cover-slide{padding:0!important;overflow:hidden;color:#fff;background:#1d2c2b}.cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#102020b8 0%,#1d303070 40%,#10202015 75%)}.cover-overlay,.question-overlay{position:absolute;z-index:1;left:6.5%;top:14%;width:min(47%,720px);padding:2rem 2.2rem;background:#102625b8;backdrop-filter:blur(8px);border:1px solid #ffffff36;border-radius:18px;box-shadow:12px 15px 30px #0616155c}.cover-overlay h1,.question-overlay h1{margin:0;font-size:clamp(2.4rem,5.6vw,6.5rem);line-height:.94;letter-spacing:-.065em}.cover-overlay .eyebrow,.question-overlay .eyebrow{color:#d3efdc;margin-bottom:1rem}.cover-subtitle{margin:.7rem 0 1.3rem;font-size:clamp(1.05rem,1.7vw,1.75rem);line-height:1.2}.cover-meta{display:grid;gap:.35rem;font-size:clamp(.78rem,1vw,1rem);color:#e3efeb}.cover-brand{position:absolute;z-index:2;right:5.2%;top:5.2%;width:82px;max-height:36px;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(2px 3px 5px #0008)}.cover-index{position:absolute;z-index:2;right:5.2%;bottom:4%;font-weight:800;font-size:.9rem;letter-spacing:.14em}.question-overlay{top:18%;width:min(53%,790px)}.question-overlay h1{font-size:clamp(2rem,3.7vw,4.35rem);line-height:1.04}.question-overlay p:last-child{margin:1rem 0 0;font-size:clamp(1rem,1.3vw,1.32rem);line-height:1.42;color:#e3efeb}

.algorithm-slide{display:grid;grid-template-rows:auto minmax(0,1fr);gap:1rem;align-items:stretch}.logic-contrast{display:grid;grid-template-columns:1fr 1fr;gap:3.5%}.logic-contrast section{padding:.8rem 1rem;border-top:4px solid var(--green);background:#f4faf5;border-radius:0 0 12px 12px}.logic-contrast section:last-child{border-color:#20536b;background:#f0f7fa}.logic-contrast h2{margin:.1rem 0 .35rem;font-size:clamp(1.35rem,2vw,2.2rem)}.logic-contrast p{margin:.15rem 0;font-size:clamp(.95rem,1.18vw,1.14rem);line-height:1.35}.logic-contrast .logic-key{margin-top:.45rem;font-weight:800;color:var(--green)}.logic-contrast section:last-child .logic-key{color:#20536b}.logic-figure{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.logic-figure img{height:100%;min-height:0;max-height:100%;object-fit:contain}
.occupation-slide{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:start}.occupation-slide>.lede{margin:0;max-width:56rem}.occupation-figure{min-height:0;align-self:center}.occupation-figure img{height:min(48vh,470px);object-fit:contain}.occupation-note{margin:.3rem 0 0;font-size:clamp(.86rem,1.06vw,1.03rem);line-height:1.33;font-weight:700;color:var(--muted)}
:root[data-theme=dark] .media-frame img,.logic-figure img,.occupation-figure img{box-shadow:10px 12px 24px #00000070!important}
.navigation{left:50%;right:auto;bottom:10px;transform:translateX(-50%);z-index:20}.navigation span{min-width:3.4rem}.slide-sources{z-index:5}
:root[data-theme=dark] .logic-contrast section{background:#1d353a}:root[data-theme=dark] .logic-contrast section:last-child{background:#1b3440}:root[data-theme=dark] .occupation-labels b{color:var(--muted)}
@media(max-width:720px){.cover-overlay,.question-overlay{left:6%;top:14%;width:88%;padding:1.25rem}.cover-overlay h1{font-size:clamp(2.4rem,13vw,4.5rem)}.question-overlay h1{font-size:clamp(1.8rem,8vw,3rem)}.logic-contrast{grid-template-columns:1fr;gap:.65rem}.logic-figure img{height:auto}.occupation-figure img{height:auto}.occupation-labels{grid-template-columns:1fr 1fr}.occupation-labels span{font-size:.75rem}}
@media print{.cover-slide{color:#111}.cover-slide::after{background:#ffffff40}.cover-overlay,.question-overlay{background:#ffffffd9;color:#111;border-color:#777;box-shadow:none}.cover-overlay .eyebrow,.question-overlay .eyebrow,.question-overlay p:last-child{color:#17332c}.cover-brand{filter:none}.media-frame,.logic-figure img,.occupation-figure img{box-shadow:none!important}}
