/* Secondary page styles for the local V8 concept preview. */
.v8-page{background:var(--paper,#fbfcfa);color:var(--ink,#17324a);min-height:100vh}
.v8-page main{padding-bottom:72px}
.v8-page-hero{padding:64px 0 54px;background:linear-gradient(125deg,#eaf5fa 0%,#f6faf9 57%,#fff 100%);border-bottom:1px solid var(--line,#dce7ec)}
.v8-page-hero .v8-shell,.v8-section .v8-shell{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.v8-kicker{margin:0 0 14px;color:var(--blue,#2c7094);font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.v8-page-hero h1{max-width:900px;margin:0;color:var(--ink,#17324a);font-size:clamp(2.3rem,5.4vw,4.4rem);line-height:1.1;letter-spacing:-.04em;font-weight:680}
.v8-page-hero .lede{max-width:730px;margin:22px 0 0;color:#536d7d;font-size:clamp(1rem,1.7vw,1.2rem);line-height:1.8}
.v8-crumb{display:flex;gap:9px;align-items:center;color:#748895;font-size:.83rem;margin-bottom:27px}
.v8-crumb a{color:var(--blue,#2c7094);text-decoration:underline;text-underline-offset:3px}
.v8-section{padding:52px 0}
.v8-section + .v8-section{padding-top:12px}
.v8-section .v8-shell{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.v8-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.v8-section-heading h2{margin:0;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.2;letter-spacing:-.025em}
.v8-section-heading p{max-width:520px;margin:0;color:var(--muted,#647987);line-height:1.75}
.v8-grid{display:grid;gap:18px}
.v8-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.v8-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.v8-card{padding:24px;border:1px solid var(--line,#dce7ec);border-radius:var(--radius,18px);background:#fff;box-shadow:0 10px 30px #183b5210}
.v8-card h2,.v8-card h3{margin:0 0 10px;color:var(--ink,#17324a);line-height:1.35}
.v8-card p{margin:0;color:#5c7180;line-height:1.8}
.v8-card p + p{margin-top:10px}
.v8-card .v8-card-meta{margin-bottom:12px;color:#718693;font-size:.78rem;letter-spacing:.05em}
.v8-number{display:block;margin-bottom:15px;color:var(--gold,#c49a54);font-size:2.1rem;font-weight:750;line-height:1}
.v8-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--blue,#2c7094);font-weight:700;text-decoration:none}
.v8-link:hover{text-decoration:underline;text-underline-offset:4px}
.v8-note{padding:17px 20px;border-left:3px solid var(--gold,#c49a54);border-radius:0 12px 12px 0;background:#f7f3e9;color:#675b46;line-height:1.75}
.v8-list{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--line,#dce7ec)}
.v8-list li{display:grid;grid-template-columns:130px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line,#dce7ec)}
.v8-list time{color:#718693;font-size:.82rem}
.v8-list strong{display:block;line-height:1.5}
.v8-list p{margin:6px 0 0;color:#5c7180;line-height:1.7}
.v8-list a{color:inherit;text-decoration:none}
.v8-list a:hover{color:var(--blue,#2c7094)}
.v8-two-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:36px;align-items:start}
.v8-prose{max-width:760px;color:#526c7b;font-size:1.02rem;line-height:1.9}
.v8-prose h2,.v8-prose h3{color:var(--ink,#17324a);line-height:1.35;margin:30px 0 12px}
.v8-prose h2{font-size:1.65rem}.v8-prose h3{font-size:1.2rem}
.v8-prose p{margin:0 0 15px}
.v8-prose blockquote{margin:18px 0;padding:17px 20px;border-left:3px solid var(--gold,#c49a54);background:#f5f8f9;color:#526c7b}
.v8-chip{display:inline-flex;padding:6px 10px;border-radius:99px;background:var(--blue-light,#eaf5fa);color:#326d8b;font-size:.77rem;font-weight:650}
.v8-form{display:grid;gap:17px}
.v8-field{display:grid;gap:7px;min-width:0}
.v8-field label,.v8-field legend{color:var(--ink,#17324a);font-size:.88rem;font-weight:700}
.v8-field input,.v8-field select,.v8-field textarea{width:100%;min-height:46px;padding:11px 13px;border:1px solid #cbd9df;border-radius:10px;background:#fff;color:var(--ink,#17324a);font:inherit}
.v8-field textarea{min-height:92px;resize:vertical}
.v8-fieldset{margin:0;padding:0;border:0;min-width:0}
.v8-choice-row{display:flex;flex-wrap:wrap;gap:9px;align-items:flex-start}
.v8-choice{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;max-width:100%;padding:9px 12px;border:1px solid var(--line,#dce7ec);border-radius:999px;background:#fff;color:#486272;font-size:.86rem;white-space:nowrap}
.v8-choice input{width:auto;min-width:18px;height:18px;min-height:18px;flex:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;accent-color:var(--blue,#2c7094)}
.v8-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.v8-preview-lock{padding:14px 16px;border-radius:12px;background:#eff5f7;color:#526c7b;font-size:.85rem;line-height:1.65}
.v8-preview-lock button{width:100%;margin-top:11px;min-height:46px;border:0;border-radius:10px;background:#a9bac2;color:#fff;font:inherit;font-weight:700;cursor:not-allowed}
.v8-topic-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.v8-topic-nav a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--line,#dce7ec);color:#426a80;font-size:.84rem;text-decoration:none}
.v8-empty-local{padding:13px 15px;border-radius:10px;background:#f3f7f8;color:#71818a;font-size:.86rem}
@media(max-width:760px){.v8-page-hero{padding:42px 0 36px}.v8-page-hero .v8-shell,.v8-section .v8-shell{width:min(100% - 32px,1160px)}.v8-section{padding:36px 0}.v8-section-heading{display:block}.v8-section-heading p{margin-top:12px}.v8-grid-2,.v8-grid-3,.v8-two-col{grid-template-columns:1fr}.v8-list li{grid-template-columns:1fr;gap:5px;padding:15px 0}.v8-form-grid{grid-template-columns:1fr}.v8-card{padding:19px}.v8-page main{padding-bottom:42px}}

/* V9 editorial imagery: reuse the existing public-site photos with captions. */
.v9-hero-media{position:relative;margin:32px 0 0;overflow:hidden;border-radius:24px;background:#e9f3f6;box-shadow:0 16px 44px #183b5214}
.v9-hero-media img{display:block;width:100%;height:clamp(220px,31vw,400px);object-fit:cover;object-position:center 48%}
.v9-hero-media figcaption,.v9-service-stage figure figcaption,.v9-route-step figure figcaption,.v9-step-card figure figcaption,.v9-workflow-figure figcaption,.v9-about-gallery figcaption,.v9-about-inline figcaption{padding:8px 12px;color:#657a86;background:#f7faf9;font-size:.76rem;line-height:1.45}
.v9-service-list{display:grid;gap:22px}
.v9-service-stage{display:grid;grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr);overflow:hidden;border:1px solid var(--line,#dce7ec);border-radius:22px;background:#fff;box-shadow:0 10px 30px #183b520c}
.v9-service-stage>figure{margin:0;min-height:100%;background:#eef5f6}
.v9-service-stage>figure img{display:block;width:100%;height:100%;min-height:265px;max-height:360px;object-fit:cover}
.v9-service-copy{padding:28px 30px}
.v9-service-copy>h3{margin:14px 0 22px;color:var(--ink,#17324a);font-size:1.38rem;line-height:1.38}
.v9-service-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
.v9-service-items section{padding-top:16px;border-top:1px solid var(--line,#dce7ec)}
.v9-service-items h4{margin:0 0 8px;color:#23455a;font-size:1rem;line-height:1.5}
.v9-service-items p{margin:0;color:#5c7180;line-height:1.75}
.v9-service-items .v8-link{margin-top:11px}
.v9-route-flow{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.v9-route-step{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,1.25fr);overflow:hidden;border:1px solid var(--line,#dce7ec);border-radius:20px;background:#fff;box-shadow:0 10px 30px #183b520b}
.v9-route-step figure{margin:0;background:#edf4f5}
.v9-route-step figure img{display:block;width:100%;height:100%;min-height:225px;object-fit:cover}
.v9-route-copy{padding:21px 20px}
.v9-route-copy .v8-number{margin-bottom:12px;font-size:1.65rem}
.v9-route-copy h3{margin:0 0 10px;font-size:1.02rem;line-height:1.4}
.v9-route-copy p{margin:0;color:#5c7180;font-size:.91rem;line-height:1.7}
.v9-workflow-figure{margin:0 auto 36px;max-width:980px;overflow:hidden;border:1px solid var(--line,#dce7ec);border-radius:20px;background:#fff;box-shadow:0 12px 34px #183b520c}
.v9-workflow-figure img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;background:#f7faf9}
.v9-section-heading-spaced{margin-top:34px}
.v9-page-jump-wrap{margin:-4px 0 28px}
.v9-page-jump-label{margin:0 0 9px;color:#71838c;font-size:.78rem;font-weight:650}
.v9-page-jump{display:flex;flex-wrap:wrap;gap:9px}
.v9-page-jump a{display:inline-flex;min-height:40px;align-items:center;padding:8px 13px;border:1px solid var(--line,#dce7ec);border-radius:999px;background:#fff;color:#365d73;font-size:.84rem;line-height:1.35;white-space:nowrap;transition:background .16s ease,border-color .16s ease}
.v9-page-jump a:hover{border-color:#a9c3cf;background:#f3f8fa}
.v9-page-jump a:focus-visible{outline:3px solid #bd9651;outline-offset:3px}
.v9-service-stage[id],.v9-route-step[id],.v9-step-card[id]{scroll-margin-top:96px}
.v9-service-boundary{padding-bottom:2px}
.v9-step-card figure{margin:-24px -24px 23px;overflow:hidden;border-radius:var(--radius,18px) var(--radius,18px) 0 0;background:#edf4f5}
.v9-step-card figure img{display:block;width:100%;height:175px;object-fit:cover}
.v9-about-gallery{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:195px 145px;gap:12px;margin-top:30px}
.v9-about-gallery figure{position:relative;margin:0;overflow:hidden;border-radius:17px;background:#e9f1f2}
.v9-about-gallery figure:first-child{grid-row:span 2}
.v9-about-gallery img{display:block;width:100%;height:100%;object-fit:cover}
.v9-about-gallery figcaption{position:absolute;inset:auto 0 0;padding:18px 12px 9px;color:#fff;background:linear-gradient(transparent,#102f3caa);font-size:.74rem}
.v9-about-inline{max-width:450px;margin:24px 0 0;overflow:hidden;border:1px solid var(--line,#dce7ec);border-radius:16px;background:#fff}
.v9-about-inline img{display:block;width:100%;max-height:225px;object-fit:cover;object-position:center 38%}
.v9-about-side{align-self:center;padding:30px}
@media(max-width:760px){
 .v9-hero-media{margin-top:24px;border-radius:17px}
 .v9-hero-media img{height:210px;object-position:center}
 .v9-service-stage{grid-template-columns:1fr;border-radius:18px}
 .v9-service-stage>figure img{height:190px;min-height:0;max-height:none}
 .v9-service-copy{padding:20px}
 .v9-service-copy>h3{margin:12px 0 17px;font-size:1.2rem}
 .v9-service-items{grid-template-columns:1fr;gap:15px}
 .v9-route-flow{grid-template-columns:1fr;gap:15px}
 .v9-route-step{grid-template-columns:112px minmax(0,1fr);border-radius:16px}
 .v9-route-step figure img{height:100%;min-height:185px}
 .v9-route-step figure figcaption{padding:6px;font-size:.68rem}
 .v9-route-copy{padding:16px 14px}
 .v9-route-copy p{font-size:.88rem}
 .v9-workflow-figure{margin-bottom:26px;border-radius:15px}
 .v9-step-card figure{margin:-19px -19px 19px}
 .v9-step-card figure img{height:190px}
 .v9-about-gallery{grid-template-columns:1fr 1fr;grid-template-rows:180px 125px;margin-top:23px;gap:9px}
 .v9-about-gallery figure:first-child{grid-column:span 2;grid-row:auto}
 .v9-about-inline{max-width:none}
 .v9-about-side{align-self:stretch}
 .v9-page-jump-wrap{margin:-7px 0 22px}
 .v9-page-jump{flex-wrap:nowrap;overflow-x:auto;padding:2px 3px 9px;scrollbar-width:thin;scrollbar-color:#9db3bd #eaf0f2;overscroll-behavior-x:contain}
 .v9-page-jump::-webkit-scrollbar{display:block;height:4px}
 .v9-page-jump::-webkit-scrollbar-track{background:#eaf0f2;border-radius:999px}
 .v9-page-jump::-webkit-scrollbar-thumb{background:#9db3bd;border-radius:999px}
 .v9-page-jump a{min-height:42px}
}

.v40-origins[id]{scroll-margin-top:160px}

/* Make the selected location identifiable without promising a fixed service. */
.v40-location-names span { display: inline-block; padding-inline: .2em; border-radius: 3px; scroll-margin-top: 0; }
.v40-location-names span:target { color: #143a58; background: #f4e6c7; outline: 2px solid #bc9656; }
.v9-route-copy .v40-location-names { margin-bottom: 12px; }
