/* Selected direction, refined: equipment, editorial rhythm and useful controls. */
html:has(body.capture-art){scrollbar-width:none;scrollbar-gutter:auto}
html:has(body.capture-art)::-webkit-scrollbar{display:none}
.proof-capture .qa-output{pointer-events:none}
.chapter-years{display:block;margin-top:7px;color:var(--fw-muted-dark);font-size:12px;letter-spacing:.035em}
.chapter-credit{line-height:1.55}
.journey-controls{display:flex;align-items:center;gap:9px;flex-shrink:0}
.journey-controls button{font:inherit;font-size:11px;line-height:1.35;min-height:44px;padding:11px 15px;border-radius:24px;border:1px solid rgb(var(--fw-ivory-rgb) / 0.42);background:rgb(var(--fw-raised-rgb) / 0.91);color:var(--fw-ivory);cursor:pointer;transition:background .2s,border-color .2s}
.journey-controls .tour-play{background:var(--fw-amber);color:var(--fw-ink);border-color:transparent}
.journey-controls .tour-play:hover{background:var(--fw-stone)}.journey-controls .tour-inspect:hover{border-color:var(--fw-line-light)}
.journey-controls button:disabled{opacity:.45;cursor:default}
.chapter-select{display:flex;flex-direction:column;gap:10px;font-size:12px;padding-bottom:18px}
.chapter-select select{font:inherit;min-height:44px;padding:8px 10px;border-radius:6px;background:var(--fw-raised);color:var(--fw-ivory);border:1px solid rgb(var(--fw-ivory-rgb) / 0.349);max-width:100%}
.tour-restart{font:inherit;font-size:12px;width:100%;padding:12px;margin-top:10px;border:1px solid rgb(var(--fw-ivory-rgb) / 0.451);color:var(--fw-ivory);background:transparent;border-radius:22px;cursor:pointer}
.graphics-options-panel{width:295px}
.record-highlights{border-top:1px solid rgb(var(--fw-ivory-rgb) / 0.361);margin-top:66px;padding-top:38px}
.record-highlights-heading{display:grid;grid-template-columns:1.2fr 1fr auto;align-items:end;gap:38px;margin-bottom:32px}
.record-highlights-heading h3{font-size:clamp(28px,3vw,43px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:12px 0 0}
.record-highlights-heading>p{font-size:15px;line-height:1.75;max-width:330px;color:var(--fw-muted-light);margin:0}
.record-highlights-heading>a{font-size:12px;padding-block:12px;color:var(--fw-ink);white-space:nowrap}
.featured-credentials{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 24px}
.featured-credential{grid-column:span 2;min-width:0;color:inherit;text-decoration:none;border:1px solid rgb(var(--fw-ivory-rgb) / 0.2);border-radius:14px;overflow:hidden;background:var(--fw-stone);transition:border-color .25s,background .25s;border-color:var(--fw-line-light)}
.featured-credential.featured-primary{grid-column:span 3}
.featured-credential:hover{border-color:var(--fw-blue-ink);background:var(--fw-ivory)}
.featured-credential figure{margin:0;display:flex;flex-direction:column;height:100%}
.featured-credential img{display:block;width:100%;height:auto;aspect-ratio:1280/989;object-fit:contain;background:var(--fw-ivory);padding:14px;box-sizing:border-box}
.featured-credential figcaption{padding:24px;display:flex;flex-direction:column;gap:9px;flex:1}
.featured-credential figcaption>span{font-size:11px;line-height:1.6;color:var(--fw-muted-light)}
.featured-credential h4{font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:-.035em;line-height:1.17;margin:0 0 9px;color:var(--fw-ink)}
.featured-credential figcaption>span:last-child{margin-top:auto;display:flex;justify-content:space-between;gap:14px}
.featured-credential b{color:var(--fw-blue-ink);font-size:18px;font-weight:400}
.case-document{display:grid;grid-template-columns:minmax(130px,210px) 1fr;gap:38px;padding:28px 0 34px;align-items:center}
.case-cover{display:block;transform:rotate(-2deg);transition:transform .3s;box-shadow:0 16px 36px rgb(var(--fw-charcoal-rgb) / 0.125)}
.case-cover:hover{transform:rotate(0deg)}.case-cover img{width:100%;height:auto;display:block}
.case-document h3{font-size:clamp(27px,3vw,40px);line-height:1.1;letter-spacing:-.04em;margin:16px 0}
.case-actions{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px}
.case-actions a{font-size:13px;font-weight:600;padding:12px 0;min-height:44px;color:var(--fw-ink)}
.rr-stage-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.rr-stage-controls button{border:1px solid rgb(var(--fw-ivory-rgb) / 0.49);color:var(--fw-muted-dark);background:transparent;border-radius:22px;padding:10px 13px;font:inherit;font-size:11px;min-height:44px;cursor:pointer}
.rr-stage-controls button[aria-pressed=true]{background:var(--fw-stone);color:var(--fw-ink);border-color:transparent}
.rr-stage-caption{min-height:5.2em;padding:18px 0 0;border-top:1px solid rgb(var(--fw-ivory-rgb) / 0.349);margin-top:18px;color:var(--fw-muted-dark);font-size:12px;line-height:1.8}
.rr-panel.rr-enter{animation:none}
.rr-data-diagram>.rr-stage-controls,.rr-data-diagram>.rr-stage-caption{grid-column:1/-1}
.rr-node,.rr-role-pair,.rr-taxonomy,.rr-rule,.rr-ledger,.rr-ai-path,.rr-validation,.rr-lanes article,.rr-platform{transition:background-color .3s,box-shadow .3s}
.rr-highlight{background-color:var(--rr-highlight-background,var(--fw-raised))!important;box-shadow:0 0 0 1px var(--fw-blue),0 8px 28px rgb(var(--fw-charcoal-rgb) / 0.2)}
.chapter-employers{display:flex;gap:26px;flex-wrap:wrap}
body.static-journey .journey-controls{display:none}
body.static-journey .chapter{min-height:min(78vw,950px)}
body.static-journey .chapter-still img{object-position:center;object-fit:cover}
@media(min-width:761px){.journey-footer{gap:20px}.journey-footer .scene-label{min-width:140px;max-width:185px}.journey-track{display:block;min-width:25px}}
@media(max-width:1000px){.record-highlights-heading{grid-template-columns:1fr 1fr}.record-highlights-heading>a{grid-column:1/-1}.journey-controls button{font-size:10px;padding-inline:12px}.journey-footer{gap:12px}}
@media(max-width:760px){
 body:not(.static-journey) .journey-footer{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
 body:not(.static-journey) .journey-footer .scene-label{grid-column:1/-1;max-width:none;font-size:9px;min-height:14px}
 .journey-track{display:none!important}.journey-controls{grid-column:1;gap:6px}.journey-controls button{font-size:10px;padding:10px 12px;min-height:44px}
 .graphics-options{grid-column:2}.graphics-options summary{gap:12px;font-size:10px;padding-inline:12px}.graphics-options-panel{bottom:57px}
 .chapter-credit{font-size:11px}.chapter-years{font-size:10px;margin-top:5px}
 .record-highlights{margin-top:42px;padding-top:27px}.record-highlights-heading{display:block}.record-highlights-heading>p{margin:22px 0 10px}.record-highlights-heading>a{display:inline-block}
 .featured-credentials{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.featured-credential,.featured-credential.featured-primary{grid-column:span 2}.featured-credential:nth-child(3),.featured-credential:nth-child(4){grid-column:span 1}
 .featured-credential figcaption{padding:20px}.featured-credential h4{font-size:25px}.featured-credential:nth-child(3) figcaption,.featured-credential:nth-child(4) figcaption{padding:14px}.featured-credential:nth-child(3) h4,.featured-credential:nth-child(4) h4{font-size:18px}
 .featured-credential img{padding:10px}.featured-credential figcaption>span{font-size:10px}
 .case-document{grid-template-columns:100px 1fr;gap:20px;align-items:start}.case-document .eyebrow{font-size:8px}.case-document h3{font-size:27px;margin-top:12px}.case-document p{font-size:12px}.case-actions{display:block}.case-actions a{display:block;font-size:12px}
 body.static-journey .chapter{min-height:0;padding:58px 24px 0;display:flex;flex-direction:column;overflow:hidden}
 body.static-journey .chapter-0{padding-top:110px;min-height:0}
 body.static-journey .chapter-still{position:relative;inset:auto;order:9;margin:12px -24px 0;width:calc(100% + 48px);aspect-ratio:390/490;flex-shrink:0}
 body.static-journey .chapter-still img{position:absolute;inset:0;object-fit:cover;object-position:center bottom;height:100%;width:100%}
 body.static-journey .chapter-still:after{background:linear-gradient(180deg,var(--fw-charcoal),transparent 17%,transparent 88%,var(--fw-charcoal))}
 body.static-journey .chapter h2{font-size:clamp(42px,11.2vw,66px)}
}
@media(max-width:360px){.journey-controls button{padding-inline:9px;font-size:9px}.graphics-options summary{padding-inline:10px;font-size:9px}.journey-controls{gap:5px}.journey-footer{column-gap:7px!important}.featured-credential h4{font-size:22px}.case-document{grid-template-columns:1fr}.case-cover{max-width:140px}}
@media(max-width:760px) and (max-height:700px){
 body:not(.static-journey) .chapter:not(.chapter-0){top:38px!important}
 body:not(.static-journey) .chapter h2{font-size:30px;line-height:1.06;margin-bottom:18px}
 body:not(.static-journey) .chapter>.eyebrow{font-size:8px;margin-bottom:15px}
 body:not(.static-journey) .chapter>p:not(.eyebrow){font-size:14px;line-height:1.55;margin-bottom:16px}
 body:not(.static-journey) .chapter-credit{margin-top:12px;font-size:10px}
 body:not(.static-journey) .chapter-years{font-size:9px}
 body:not(.static-journey) .journey-cue{margin-top:10px;min-height:44px;font-size:11px}
 body:not(.static-journey) .journey-footer{bottom:16px}
}
@media(min-width:761px) and (min-height:501px) and (max-height:800px){body:not(.static-journey) .chapter-6{top:44%}}
@media(min-width:761px) and (max-height:500px){
 body:not(.static-journey) .chapter:not(.chapter-0){top:39%}
 body:not(.static-journey) .chapter h2{font-size:34px!important;line-height:1.08;margin-bottom:16px}
 body:not(.static-journey) .chapter>p:not(.eyebrow){font-size:13px;line-height:1.5;margin-bottom:14px}
 body:not(.static-journey) .chapter-credit{margin-top:12px;font-size:10px}
 body:not(.static-journey) .chapter-years{font-size:9px;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.case-cover{transform:none}.featured-credential,.case-cover,.journey-controls button{transition:none}}
@media print{.journey-controls,.graphics-options,.case-actions{display:none!important}.featured-credentials{display:block}.featured-credential{display:block;break-inside:avoid;margin-bottom:20px}.featured-credential img{max-width:240px}.case-document{break-inside:avoid}}

/* Readable measures follow the established chapter column, not a fixed 370px
   box. The opening retains its three phrases on desktop and flows on phones. */
@media screen {
 .chapter>p:not(.eyebrow){max-width:min(100%,27em);text-wrap:pretty}
 .chapter-0>p:not(.eyebrow){max-width:100%;text-wrap:pretty}
 .tour-status{position:absolute;left:0;top:-21px;color:var(--fw-muted-dark);font-size:10px;line-height:1.4;letter-spacing:.025em;pointer-events:none}
 .tour-status:empty{display:none}
 .tour-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 @media(max-width:760px){
  .chapter-0>p:not(.eyebrow) br{display:none}
  body:not(.static-journey) .journey-footer .scene-label{grid-row:1;grid-column:1;min-width:0}
  .tour-status{position:static;grid-row:1;grid-column:2;justify-self:end;font-size:9px;text-align:right}
 }
}
@media print{.tour-status,.tour-announcement{display:none!important}}

@media(max-width:760px) and (max-height:700px) and (orientation:portrait){
 body:not(.static-journey) .chapter-0{top:90px!important}
 body:not(.static-journey) .chapter-0 h1{font-size:clamp(40px,11vw,48px);line-height:1.02;margin-bottom:16px}
 body:not(.static-journey) .chapter-0>.eyebrow{font-size:8px;margin-bottom:14px}
 body:not(.static-journey) .chapter-0>p:not(.eyebrow){font-size:13px;line-height:1.6}
 /* The footer retains Play and chapter navigation; a duplicate cue would cover
    the equipment at this height. Native scrolling remains available. */
 body:not(.static-journey) .chapter-0 .journey-cue{display:none}
}
@media(max-width:360px) and (max-height:650px){body:not(.static-journey) .chapter-0>p:not(.eyebrow){font-size:12px}}

/* Portrait tablets need a full-width reading area above the equipment. */
@media(min-width:761px) and (max-width:1024px) and (orientation:portrait){
 body:not(.static-journey) .chapter{top:132px;left:var(--gutter);width:calc(100% - 2 * var(--gutter));max-width:650px}
 body:not(.static-journey) .chapter h1{font-size:clamp(70px,9.6vw,94px);max-width:650px;line-height:1.02}
 body:not(.static-journey) .chapter h2{font-size:clamp(56px,7.8vw,76px);max-width:650px}
 body:not(.static-journey) .chapter>p:not(.eyebrow){font-size:18px;max-width:590px;line-height:1.65}
 body:not(.static-journey) .reading-shade{background:linear-gradient(180deg,rgb(var(--fw-charcoal-rgb) / 0.961),rgb(var(--fw-charcoal-rgb) / 0.733) 35%,transparent 62%)}
 body .journey-preparation{top:auto;bottom:125px}
 body.static-journey .chapter{min-height:0;padding:65px var(--gutter) 0;display:flex;flex-direction:column}
 body.static-journey .chapter-0{padding-top:145px}
 body.static-journey .chapter>*:not(.chapter-still){width:100%;max-width:650px}
 body.static-journey .chapter-still{position:relative;inset:auto;order:9;width:calc(100% + 2 * var(--gutter));margin:12px calc(-1 * var(--gutter)) 0;aspect-ratio:8/5;flex-shrink:0}
 body.static-journey .chapter-still img{object-fit:contain;width:100%;height:100%}
 body.static-journey .chapter-still:after{background:none}
}
