/* Original implementation from the documented Philojain direction. No captured CSS reused. */
body[data-hybrid-preview]{--hp-paper:#f4f2eb;--hp-ink:#252525;--hp-night:#080a0d;--hp-gold:#e9c878;margin:0;background:var(--hp-paper);color:var(--hp-ink);font-family:system-ui,-apple-system,sans-serif;overflow-wrap:anywhere}
[data-hybrid-preview] *{box-sizing:border-box}
[data-hybrid-preview] :focus-visible{outline:3px solid #b31924!important;outline-offset:4px!important}
.hp-preview-note{padding:9px 5vw;background:#e9c878;color:#171717;font:500 12px/1.5 system-ui;text-align:center}
.hp-skip{position:absolute;left:1rem;top:-100px;z-index:99999;padding:1rem;background:white;color:black}.hp-skip:focus{top:1rem}
.hp-mast{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px max(5vw,20px);background:#080a0d;color:#f7f7f4;position:relative;z-index:5;border-bottom:1px solid #444}
.hp-brand{font-size:1.15rem;font-weight:700;color:inherit;text-decoration:none;line-height:1.3;min-width:190px}.hp-brand small{display:block;color:#c5c9d0;font-size:.7rem;font-weight:400;margin-top:6px}
.hp-mast nav{display:flex;flex-wrap:wrap;gap:4px 20px;position:static!important;background:none!important;padding:0!important}.hp-mast nav a{color:#f7f7f4;font-size:.8rem;padding:12px 0;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
[data-hybrid-preview] .hdr,[data-hybrid-preview] body>nav{position:static}
[data-hybrid-preview] .hdr{background:#17191d;color:#eee;padding:0}[data-hybrid-preview] .hdr .brand{display:none}[data-hybrid-preview] .hdr .hdr__in{justify-content:flex-end}[data-hybrid-preview] .hdr .hdr__nav a{color:#ddd}
body[data-hybrid-preview] >nav[aria-label="Primary"]{position:static;background:#17191d;color:#f7f7f4}
[data-hybrid-preview] main{margin:0!important;max-width:none!important;padding:0!important}
[data-hybrid-preview] main>.hybrid-qualification{font-size:.85rem;margin:0;padding:16px 5vw;background:#24272c;color:#f7f7f4;border:0;max-width:none}
[data-hybrid-preview] main>.hybrid-qualification p{max-width:90ch;margin:5px 0}
[data-hybrid-preview="afg"] .hero{background:radial-gradient(ellipse at 90% 10%,#332b1b 0,transparent 55%),#080a0d;color:#f7f7f4;padding:80px 0 70px;border:0}
[data-hybrid-preview="afg"] .hero h1{font:650 clamp(3rem,6vw,6rem)/1.03 system-ui;letter-spacing:-.055em;max-width:13ch;color:#f7f7f4;margin:15px 0 28px}
[data-hybrid-preview="afg"] .hero h1 em{color:#e9c878;font-style:normal}
[data-hybrid-preview="afg"] .hero p,[data-hybrid-preview="afg"] .hero .kicker{color:#c5c9d0}
[data-hybrid-preview="afg"] .hero a{color:#e9c878}
[data-hybrid-preview="afg"] .hero input{background:#fff;color:#171717}
.hp-hero{padding:90px 5vw 80px;background:radial-gradient(ellipse at 90% 5%,#3b2c17 0,transparent 55%),#080a0d;color:#f7f7f4}
.hp-eyebrow{font:600 .75rem/1.6 system-ui;letter-spacing:.13em;text-transform:uppercase;margin:0 0 24px;color:inherit}
.hp-hero h1{font:650 clamp(3rem,6.5vw,6.5rem)/1.02 system-ui;letter-spacing:-.055em;max-width:16ch;margin:0 0 32px;color:#f7f7f4}
.hp-lead{font:400 clamp(1.1rem,1.8vw,1.35rem)/1.6 system-ui;max-width:62ch;color:#c5c9d0}
.hp-actions{display:flex;flex-wrap:wrap;gap:20px;margin:32px 0}.hp-actions a{border-bottom:1px solid #e9c878;color:#e9c878;padding:12px 0;font-weight:600;text-decoration:none}.hp-scope{max-width:80ch;font-size:.85rem;color:#c5c9d0;margin-top:36px}
.hp-journeys,.hp-feature{padding:80px 5vw;background:#f4f2eb;color:#252525;border-bottom:1px solid #ccc}
.hp-journeys h2,.hp-feature h2,.hp-footer h2{font:650 clamp(2rem,4vw,3.5rem)/1.1 system-ui;letter-spacing:-.035em;margin:0 0 36px;color:inherit}
.hp-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.hp-rows article{border-top:1px solid #777;padding-top:20px;min-width:0}.hp-rows span{font-size:.75rem}.hp-rows h3{font-size:1.5rem;line-height:1.25;margin:24px 0 16px}.hp-rows p,.hp-feature p{max-width:65ch;line-height:1.7}.hp-rows a,.hp-feature a{display:inline-block;padding:12px 0;color:#252525;font-weight:600;text-underline-offset:5px}
[data-hybrid-preview="hobo"] main>section:not(.hp-hero):not(.hp-feature){padding-top:60px;padding-bottom:60px}
[data-hybrid-preview="hobo"] .dtree{background:#17191d;color:#f7f7f4}
.hp-retained-practice{background:#080a0d;color:#f7f7f4}.hp-retained-practice .hero{padding-top:50px!important}.hp-retained-practice .scream{font-size:clamp(1.5rem,3vw,2.7rem)!important;line-height:1.25!important}
[data-hybrid-preview="hobo"] .rv{opacity:1;transform:none}
[data-hybrid-preview][data-page-kind="article"] main{position:relative;max-width:1250px!important;margin:auto!important;padding:60px 5vw 80px 300px!important;background:#f4f2eb!important;color:#252525!important;font:18px/1.8 system-ui!important;min-height:65vh}
.hp-article-title h1{font:650 clamp(2.4rem,4.2vw,4.3rem)/1.08 system-ui;letter-spacing:-.045em;margin:0 0 30px;color:#171717}
[data-page-kind="article"] main p{margin:0 0 28px;max-width:72ch}
[data-page-kind="article"] main h2{font:650 1.6rem/1.3 system-ui;margin:48px 0 20px;color:#171717}
[data-page-kind="article"] main a{color:#674b0f;text-decoration:underline;text-underline-offset:3px}
.hp-contents{position:absolute;top:60px;left:30px;width:220px;border-top:2px solid #ad813a;padding-top:20px;font:14px/1.6 system-ui;background:none}.hp-contents strong{display:block;margin-bottom:16px}.hp-contents a{display:block;padding:10px 0}
.hp-footer{display:block!important;padding:64px 5vw 32px!important;background:#f5f1e8!important;color:#171717!important;border-top:1px solid #777;width:100%;font:16px/1.6 system-ui}
.hp-footer-heading{max-width:75ch}.hp-footer h2{margin-bottom:20px}.hp-footer-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:40px 0}.hp-footer nav{position:static!important;background:none!important;padding:0!important;display:block!important;border:0!important}.hp-footer h3{font-size:1rem;color:inherit;margin:0 0 10px}.hp-footer a{display:block;min-height:44px;padding:10px 0;color:#171717!important;text-decoration:underline;line-height:1.5}.hp-footer .hp-back{display:inline-block}
[data-hybrid-preview] footer:not(.hp-footer){background:#f5f1e8!important;color:#171717!important;margin:0;border-top:1px solid #aaa}
[data-hybrid-preview] footer:not(.hp-footer) a{color:#171717}
[data-hybrid-preview] button,[data-hybrid-preview] input,[data-hybrid-preview] select{max-width:100%}
@media(max-width:900px){.hp-mast{align-items:flex-start;flex-direction:column;gap:12px}.hp-mast nav{gap:2px 18px}.hp-rows{grid-template-columns:1fr;gap:24px}.hp-rows h3{margin:12px 0}.hp-hero{padding:55px 5vw}.hp-journeys,.hp-feature{padding:50px 5vw}[data-hybrid-preview][data-page-kind="article"] main{padding:30px 6vw 60px!important}.hp-contents{position:static;width:auto;margin-bottom:40px}.hp-contents a{display:inline-block;margin-right:20px}.hp-footer-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.hp-footer-groups{grid-template-columns:1fr}.hp-mast{padding:20px 5vw}.hp-footer{padding:40px 5vw!important}[data-hybrid-preview="afg"] .hero{padding:45px 0}.hp-hero h1{font-size:3rem}.hp-mast nav a{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){[data-hybrid-preview] *,[data-hybrid-preview] *::before,[data-hybrid-preview] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[data-hybrid-preview] main>.hybrid-qualification strong{color:#f7f7f4!important}
.hp-site-controls{background:#17191d;color:#f7f7f4;padding:0 5vw}.hp-site-controls>summary{min-height:44px;padding:12px 0;font-size:.8rem;cursor:pointer}
.hp-service-controls{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:24px 5vw;background:#17191d;color:#fff}.hp-service-controls>button,.hp-service-controls>div{position:static!important;transform:none!important;left:auto!important;bottom:auto!important}.hp-service-controls>p{flex-basis:100%;font:14px/1.5 system-ui;margin:0}.hp-service-controls button:focus-visible{outline-color:#e9c878!important}
.hp-footer-preserved{margin-top:28px;border-top:1px solid #999;padding-top:16px}.hp-footer-preserved>summary{min-height:44px;cursor:pointer;font-weight:650;padding:12px 0}.hp-footer-preserved .wrap{padding:0;max-width:none}.hp-footer-preserved a:focus-visible{outline:3px solid #b31924!important}
[data-hybrid-preview] .hp-footer p{color:#171717!important}

/* Contrast correction checkpoint: preserves layout, content and interactions. */
body[data-hybrid-preview="hobo"][data-page-kind="landing"] main{background:#080a0d!important;color:#f7f7f4}
body[data-hybrid-preview="afg"] .hp-site-controls .hdr{background:#17191d!important;color:#f7f7f4}
body[data-hybrid-preview="afg"] .hp-footer .dev{color:#595959!important}
body[data-hybrid-preview="afg"] #finderInput::placeholder{color:#666!important;opacity:1}
body[data-hybrid-preview="afg"] #afgWrite input::placeholder,body[data-hybrid-preview="afg"] #afgWrite textarea::placeholder{color:#bfc5ce!important;opacity:1}
body[data-hybrid-preview="afg"] #afgWrite .w-fine{color:#bfc5ce!important}
body[data-hybrid-preview="afg"] .hp-footer .rcard span{color:#c5c9d0!important}
body[data-hybrid-preview="afg"] #oldlinks .re-card em{color:#595959!important}
body[data-hybrid-preview] .hp-mast :focus-visible,body[data-hybrid-preview] .hp-site-controls :focus-visible,body[data-hybrid-preview] .hp-service-controls :focus-visible,body[data-hybrid-preview="hobo"][data-page-kind="landing"] main :focus-visible{outline-color:#e9c878!important}
body[data-hybrid-preview="hobo"] .hp-feature :focus-visible{outline-color:#b31924!important}

body[data-hybrid-preview="hobo"] .grev-st{color:#805900!important}
body[data-hybrid-preview="hobo"] .grev-av{background:#594a25!important;color:#fff!important}
body[data-hybrid-preview="hobo"] #ih-q::placeholder{color:#595959!important;opacity:1}
body[data-hybrid-preview="hobo"] .afg-crumb [aria-current]{color:#666!important}
body[data-hybrid-preview="hobo"] #dtree-hint{color:#655332!important}
body[data-hybrid-preview="hobo"] .dt-out-foot{color:#4b5868!important}
body[data-hybrid-preview="hobo"] .dtree :focus-visible,body[data-hybrid-preview="hobo"] .grev-card :focus-visible{outline-color:#b31924!important}
body[data-hybrid-preview="afg"] .hero :focus-visible{outline-color:#e9c878!important}

/* Contrast review: contextual keyboard rings must outrank dark-main default. */
body[data-hybrid-preview="hobo"][data-page-kind="landing"] main .hp-feature :focus-visible,
body[data-hybrid-preview="hobo"][data-page-kind="landing"] main .dtree :focus-visible,
body[data-hybrid-preview="hobo"][data-page-kind="landing"] main .grev :focus-visible {outline:3px solid #b31924!important;outline-offset:3px!important}

body[data-hybrid-preview="hobo"][data-page-kind="landing"] main .grev > a:focus-visible {outline-color:#e9c878!important}
body[data-hybrid-preview="hobo"] .tool-panel input,body[data-hybrid-preview="hobo"] .tool-panel select {border-color:#8793a6!important}
body[data-hybrid-preview="hobo"] #ih-q {border-color:#666!important}
