/* Readable content and visible controls; cinematic assets and scene geometry stay intact. */
.lp-stage5 { --lp-readable:#c8c6c1; --lp-focus:#ffbd6b; }
.lp-stage5 :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible { outline:3px solid var(--lp-focus)!important; outline-offset:4px; }
.lp-stage5 :is(.lp-bento-link,.work-project-link):focus-visible { outline-offset:-6px; }
.lp-stage5 .lp-skip-link:focus { color:#090b0e; outline-color:#fff!important; }
.lp-stage5 .journey-skip:focus { z-index:2147482999; background:#ffbd6b; color:#080b10; font-size:16px; line-height:1.6; min-height:44px; outline-color:#fff!important; }
.lp-stage5 :is(.case-deep-dive figcaption,.case-proposal-state,.case-proposal dt,.case-proposal-grid .case-proposal-caption,.case-alternatives article>span,.lp-project-leadership-note,.case-validation p:last-child,.case-artifact-caption,.case-copy-review p) { color:var(--lp-readable); font-size:14px; line-height:1.75; }
.lp-stage5 :is(.case-story-nav a,.case-detail-link,.case-summary-evidence a,.case-artifact-caption a,.case-validation-plan summary) { min-height:44px; }
.lp-stage5 :is(.case-detail-link,.case-summary-evidence a,.case-artifact-caption a) { display:inline-flex; align-items:center; color:#ffbd6b; text-decoration:underline; text-underline-offset:4px; }
.lp-stage5 .case-deep-dive figcaption a { margin-top:8px; }
.lp-stage5 :is(.lp-footer-v28__copyright,.lp-footer-v28__identity-role,.lp-footer-v28__bottom a,.lp-navigation-bottom,.lp-navigation-number,.lp-rail-page) { color:#bdbbb6; font-size:13px; line-height:1.7; }
.lp-stage5 .lp-footer-v28__bottom a { display:inline-flex; align-items:center; min-height:44px; }
.lp-stage5 .lp-rail-page { font-size:11px; }
.lp-stage5 :is(.work-story,.lp-bento-description) { color:#d0cec9; font-size:16px; line-height:1.7; }
.lp-stage5 .work-impact>span { color:#c8c6c1; font-size:14px; line-height:1.6; }
/* A solid label backing gives timeline text a stable surface over moving scenery. */
.lp-stage5 .about-page-hero.about-journey-hero .timeline-label { padding:7px 9px; background:#080b10; border-radius:6px; box-sizing:border-box; overflow-wrap:anywhere; }
.lp-stage5 .about-page-hero.about-journey-hero .about-orbit li span { color:#dedbd5; font-size:14px; line-height:1.5; }
.lp-stage5 .about-page-hero.about-journey-hero .about-orbit li strong { color:#ffbd6b; font-size:16px; line-height:1.5; }
/* Labels remain visible after typing; border and focus do not depend on placeholders. */
.lp-stage5 #contact-form .form-group>label,.lp-stage5 #contacts .lp-contact-topic>label { display:block; margin:0 0 10px; color:#e0ddd7; font-size:15px; line-height:1.6; letter-spacing:0; }
.lp-stage5 #contacts :is(.input-field,#contact-topic) { color:#f4f1ed; background:#080b10; border:1px solid #7d8794; font-size:16px; line-height:1.5; }
.lp-stage5 #contacts .input-field::placeholder { color:#b8bdc5; opacity:1; }
.lp-stage5 #contacts :is(.input-field,#contact-topic):focus { border-color:#ffbd6b; outline:3px solid #ffbd6b; outline-offset:3px; }
.lp-stage5 #contacts .contact-form input.input-field { height:auto; min-height:54px; }
.lp-stage5 #contacts textarea.input-field { resize:vertical; }
.lp-stage5 #contacts .lp-contact-topic__select::after { border-color:#c8c6c1; }
.lp-stage5 #contacts :is(.lp-contact-brief-help,.lp-contact-required-help,#form-messages,.lp-contact-topic__custom label) { color:#c8c6c1; font-size:14px; line-height:1.75; }
.lp-stage5 #contacts .lp-contact-required-help { margin:0 0 24px; }
.lp-stage5 #contacts .form-group { margin-bottom:24px; }
/* Original dashboard pixels at readable scale, with a keyboard-scrollable viewport. */
.lp-stage5 .case-detail { margin:40px 0; }
.lp-stage5 .case-detail h3 { margin-bottom:14px; }
.lp-stage5 .case-detail-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; border:1px solid #7d8794; border-radius:12px; background:#111419; scrollbar-color:#b7a180 #111419; scrollbar-width:auto; }
.lp-stage5 .case-detail-crop { position:relative; width:var(--detail-width); height:var(--detail-height); overflow:hidden; }
.lp-stage5 .case-detail-crop img { position:absolute; top:calc(-1 * var(--detail-offset)); left:0; display:block; width:var(--detail-width); max-width:none; height:auto; }
.lp-stage5 .case-detail figcaption { margin-top:14px; }
.lp-stage5 .case-detail-hint { color:#c8c6c1; font-size:14px; line-height:1.7; margin:0 0 16px; }
.lp-stage5 .case-detail-scroll:focus-visible { outline-offset:4px; }
/* Preserve focus in forced-colour modes and avoid smooth anchor motion when reduced. */
@media(forced-colors:active) {
 .lp-stage5 :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible { outline-color:Highlight!important; }
 .lp-stage5 #contacts :is(.input-field,#contact-topic),.lp-stage5 .case-detail-scroll { border-color:ButtonText; }
}
@media(prefers-reduced-motion:reduce) { html:has(.lp-stage5) { scroll-behavior:auto!important; } }
@media(max-width:767px) {
 .lp-stage5 .case-detail { margin-block:32px; }
 .lp-stage5 .lp-footer-v28__bottom { flex-wrap:wrap; }
}
