/* PHI OS Service / Continuity presentation successor.
   Service, financial, academy, account and professional authorities remain upstream. */
:root{--sc-max:1240px;--sc-ink:#142129;--sc-muted:#66737c;--sc-line:rgba(20,33,41,.12);--sc-paper:#fffdf8;--sc-soft:#f3f5f3;--sc-deep:#15232b;--sc-gold:#b89150}
[data-service-continuity-surface]{--sc-accent:var(--sc-gold)}
.sc-shell{width:min(var(--sc-max),calc(100% - 2*clamp(1rem,4vw,3rem)));margin-inline:auto}
/* Existing hero is preserved as the semantic owner; this layer only adds canonical visual media. */
.sc-hero{position:relative;min-height:clamp(29rem,62vh,42rem);display:grid!important;align-items:end;overflow:hidden;isolation:isolate;background:var(--sc-deep)!important;color:#fff!important;border:0!important}
.sc-hero__media,.sc-hero__wash,.sc-hero__media img{position:absolute;inset:0;width:100%;height:100%}.sc-hero__media{z-index:-2}.sc-hero__media img{object-fit:cover;opacity:0;transition:opacity .35s ease}.sc-hero__media img.is-ready{opacity:1}.sc-hero__media img.is-unavailable{display:none}.sc-hero__wash{z-index:-1;background:linear-gradient(90deg,rgba(8,16,22,.84),rgba(8,16,22,.48) 54%,rgba(8,16,22,.12)),linear-gradient(0deg,rgba(8,16,22,.5),transparent 58%)}
.sc-hero>.public-container,.sc-hero>.academy-hero__grid,.sc-hero>div:not(.sc-hero__media):not(.sc-hero__wash){position:relative;z-index:1;width:min(var(--sc-max),calc(100% - 2*clamp(1rem,4vw,3rem)));margin-inline:auto;padding-block:clamp(5rem,10vh,8rem) clamp(3.2rem,6vw,5rem)}
.sc-hero .public-eyebrow,.sc-hero>div>p:first-child,.sc-hero .academy-hero__eyebrow{color:rgba(255,255,255,.72)!important}.sc-hero h1,.sc-hero .public-display{max-width:900px;color:#fff!important;font-family:var(--phi-font-display,Newsreader,Georgia,serif);font-size:clamp(2.9rem,6.4vw,5.8rem)!important;line-height:.95!important;letter-spacing:-.035em!important;font-weight:500!important}.sc-hero .public-lead,.sc-hero>div>p,.sc-hero .academy-hero__lead{max-width:760px;color:rgba(255,255,255,.84)!important;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.68}.sc-hero a{color:#fff}.sc-hero .account-boundary,.sc-hero>span{display:inline-flex;margin-top:1.15rem;padding:.55rem .78rem;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(8,16,22,.2);backdrop-filter:blur(10px);color:rgba(255,255,255,.82)!important;font-size:.82rem}
/* Supporting continuity scenes */
.sc-bridge{padding:clamp(4rem,8vw,7rem) 0;background:var(--sc-soft);border-block:1px solid var(--sc-line)}.sc-bridge--paper{background:var(--sc-paper)}.sc-bridge--deep{background:var(--sc-deep);color:#fff}.sc-bridge__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,6vw,5rem);align-items:center}.sc-bridge__copy{max-width:560px}.sc-kicker{margin:0 0 .8rem;color:var(--sc-muted);font-size:.72rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.sc-bridge--deep .sc-kicker{color:rgba(255,255,255,.6)}.sc-bridge h2{margin:0;font-family:var(--phi-font-display,Newsreader,Georgia,serif);font-weight:500;font-size:clamp(2.2rem,4.7vw,4rem);line-height:1;letter-spacing:-.03em}.sc-bridge__copy p{font-size:clamp(1rem,1.45vw,1.12rem);line-height:1.75;color:var(--sc-muted)}.sc-bridge--deep .sc-bridge__copy p{color:rgba(255,255,255,.72)}
.sc-visual-stack{display:grid;grid-template-columns:1fr;gap:1rem}.sc-visual{margin:0;border:1px solid var(--sc-line);border-radius:1.35rem;overflow:hidden;background:#fff;box-shadow:0 1.4rem 3rem rgba(20,33,41,.05)}.sc-visual img{display:block;width:100%;height:auto;min-height:260px;object-fit:contain;background:#fff;opacity:0;transition:opacity .3s ease}.sc-visual img.is-ready{opacity:1}.sc-visual img[data-sc-kind="illustration"]{aspect-ratio:16/9;object-fit:cover}.sc-visual img.is-unavailable{display:none}.sc-visual:has(img.is-unavailable){display:none}.sc-visual figcaption{padding:.78rem 1rem;color:var(--sc-muted);font-size:.75rem;line-height:1.45;background:#fff}.sc-bridge--deep .sc-visual{border-color:rgba(255,255,255,.15)}
.sc-trust-strip{background:#fff;border-bottom:1px solid var(--sc-line)}.sc-trust-strip__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--sc-line);border-inline:1px solid var(--sc-line)}.sc-trust-strip__grid>div{background:#fff;padding:1.05rem 1.2rem}.sc-trust-strip small{display:block;color:var(--sc-muted);font-size:.68rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.sc-trust-strip strong{display:block;margin-top:.36rem;line-height:1.4}
/* Normalize service/professional cards without changing runtime hooks. */
[data-service-continuity-surface] .account-card,[data-service-continuity-surface] .professional-detail-grid>article,[data-service-continuity-surface] .professional-service-grid>article,[data-service-continuity-surface] .privacy-choice-card,[data-service-continuity-surface] .appointment-panel,[data-service-continuity-surface] .intake-form{border-radius:1.15rem;border-color:var(--sc-line);box-shadow:0 1.2rem 3rem rgba(20,33,41,.035)}
[data-service-continuity-surface="ACADEMY"] .academy-hero__visual{display:none!important}
[data-service-continuity-surface="ACADEMY"] .academy-hero__grid{display:block!important}
[data-service-continuity-surface="ACADEMY"] .academy-hero__copy{max-width:820px}
[data-service-continuity-surface="ACCOUNT"] .account-hero .public-container{max-width:var(--sc-max)}
[data-service-continuity-surface="PRIVACY"] .legal-layout{padding-block:clamp(3rem,6vw,5rem)}
[data-service-continuity-surface="PRIVACY"] .legal-toc{top:2rem}
@media(max-width:900px){.sc-bridge__grid,.sc-trust-strip__grid{grid-template-columns:1fr}.sc-hero{min-height:34rem}.sc-hero>.public-container,.sc-hero>.academy-hero__grid,.sc-hero>div:not(.sc-hero__media):not(.sc-hero__wash){width:calc(100% - 2rem)}}
@media(max-width:640px){.sc-shell{width:calc(100% - 1.5rem)}.sc-hero{min-height:36rem}.sc-hero__wash{background:linear-gradient(0deg,rgba(8,16,22,.88),rgba(8,16,22,.22))}.sc-hero h1,.sc-hero .public-display{font-size:clamp(2.65rem,13vw,4.1rem)!important}.sc-bridge{padding-block:3.6rem}.sc-visual img{min-height:210px}}
@media(prefers-reduced-motion:reduce){.sc-hero__media img,.sc-visual img{transition:none}}
