/* r06: keep the selected navy/gold design; give tablet layouts their own proportions. */
.selected-home .hero-inner{width:100%;min-width:0}
.selected-home .hero-inner>*{min-width:0}
.selected-home .hero-visual{width:100%;aspect-ratio:auto}
.selected-home .cta-form .lead-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 16px}
.selected-home .lead-fields>label{min-width:0}
.selected-home .lead-fields .lead-full{grid-column:1/-1}
.selected-home .lead-form input:not([type=checkbox]),.selected-home .lead-form textarea{font-size:16px}
.selected-home .hero-meta-item .label{color:#b4c1d1}
@media(max-width:1366px) and (min-width:601px){
 .selected-home main>section:not(.hero){padding-block:76px}
 .selected-home .section-header{margin-bottom:32px}
 .selected-home .section-title{font-size:32px;line-height:1.4}
 .selected-home .section-subtitle{font-size:16px;line-height:1.8}
 .selected-home .hero{min-height:0;padding:118px 0 58px}
 .selected-home .hero-inner{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:38px;align-items:center;padding-inline:40px}
 .selected-home .hero-content .eyebrow{font-size:11px;letter-spacing:.09em}
 .selected-home .hero-title{font-size:clamp(34px,3.65vw,48px);line-height:1.3;margin:20px 0 22px;letter-spacing:-.015em;text-wrap:balance}
 .selected-home .hero-subtitle{font-size:16px;line-height:1.85;max-width:100%;margin-bottom:26px}
 .selected-home .hero-ctas{flex-direction:row;gap:12px}
 .selected-home .hero-ctas .btn{width:auto;min-height:48px;height:auto;padding:12px 18px;font-size:14px}
 .selected-home .hero-meta{gap:28px;flex-wrap:nowrap;margin-top:32px;padding-top:22px}
 .selected-home .hero-meta-item .num{font-size:28px}
 .selected-home .hero-meta-item .label{font-size:12px}
 .selected-home .hero-visual{max-width:none;margin:0}
 .selected-home .pilot-card{max-width:none;padding:28px;border-radius:18px;margin:0}
 .selected-home .pilot-card h2{font-size:26px;line-height:1.45;margin:12px 0 20px}
 .selected-home .pilot-card dt{margin-top:16px;font-size:12px}
 .selected-home .pilot-card dd{font-size:14px;line-height:1.8}
 .selected-home .pilot-card a{font-size:14px;margin-top:18px}
 .selected-home .courses-header-row{margin-bottom:32px}
 .selected-home .courses-section .course-body{padding:24px;gap:0}
 .selected-home .courses-section .course-title{font-size:22px;line-height:1.5;min-height:66px;margin-bottom:14px}
 .selected-home .courses-section .course-desc{font-size:15px;line-height:1.8;min-height:108px;margin-bottom:20px}
 .selected-home .courses-section .course-highlights{margin-bottom:20px}
 .selected-home .courses-section .course-target{font-size:13px;line-height:1.8}
 .selected-home .courses-section .course-cta-btn{font-size:14px;min-height:46px;padding-inline:12px}
 .selected-home .enterprise-grid{grid-template-columns:1fr;gap:32px}
 .selected-home .enterprise-content{grid-row:1}
 .selected-home .enterprise-pain-points{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-block:24px}
 .selected-home .enterprise-pain-points li{margin:0;font-size:14px}
 .selected-home .enterprise-visual{max-width:100%}
 .selected-home .enterprise-plans{margin-block:24px}
 .selected-home .cta-inner{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;align-items:start}
 .selected-home .cta-content h2{font-size:32px;line-height:1.45}
 .selected-home .cta-content p{font-size:15px;line-height:1.85}
 .selected-home .cta-form{padding:26px}
 .selected-home .cta-contact-item{font-size:13px;gap:12px}
 .selected-home .cta-contact-list{gap:16px;margin-top:26px}
 .selected-home .cta-contact-icon{width:34px;height:34px;flex-shrink:0}
 .selected-home .cta-form .lead-fields{grid-template-columns:1fr;gap:16px}
}
/* Portrait: the learning path becomes a full-width panel instead of a tall island. */
@media(min-width:601px) and (max-width:899px){
 .selected-home .hero{padding:108px 0 48px}
 .selected-home .hero-inner{grid-template-columns:1fr;gap:28px;padding-inline:32px}
 .selected-home .hero-title{font-size:38px;line-height:1.3;max-width:100%;text-wrap:balance}
 .selected-home .hero-subtitle{max-width:660px;margin-bottom:22px}
 .selected-home .hero-meta{margin-top:26px;padding-top:20px;gap:38px}
 .selected-home .pilot-card{padding:22px 24px}
 .selected-home .pilot-card h2{font-size:23px;margin:8px 0 18px}
 .selected-home .pilot-card h2 br{display:none}
 .selected-home .pilot-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .selected-home .pilot-card .pilot-step{border-top:1px solid #dce3eb;padding-top:12px}
 .selected-home .pilot-card dt{margin:0 0 5px;color:#53677e}
 .selected-home .pilot-card dd{font-size:13px;margin:0}
 .selected-home .pilot-card a{margin-top:12px;min-height:44px}
 .selected-home .cta-inner{grid-template-columns:1fr;gap:28px}
 .selected-home .cta-form .lead-fields{grid-template-columns:1fr 1fr}
 .selected-home .cta-content h2{font-size:30px}
 .selected-home .cta-contact-list{margin-top:20px}
 .selected-home .enterprise-pain-points{grid-template-columns:1fr;gap:12px}
}
@media(max-width:600px){
 .selected-home .hero-inner{gap:28px}
 .selected-home .hero-visual{max-width:none}
 .selected-home .pilot-card h2{font-size:24px;line-height:1.4;margin-bottom:18px}
 .selected-home .hero-meta{margin-top:28px}
 .selected-home .cta-form .lead-fields{grid-template-columns:1fr;gap:16px}
 .selected-home .enterprise-content{grid-row:1}
 .selected-home .enterprise-grid{gap:32px}
}
/* Course pages share the new photographic scenes, with a calm readable overlay. */
.detail-hero-bg img{object-position:center 40%}
@media(min-width:821px) and (max-width:1024px){
 .desktop-nav{display:none}.mobile-toggle{display:block}
 .site-header-inner{min-height:72px;padding:4px 24px}
 .brand-link img{width:139px;height:56px}
}
@media(min-width:601px) and (max-width:1366px){
 .selected-home .cta-form .lead-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .selected-home .trust-section .stats-row{margin-bottom:8px}
 .selected-home .courses-header-row{flex-direction:row;align-items:flex-end;gap:24px}
 .selected-home .courses-header-row .section-header{margin-bottom:0}
 .selected-home .enterprise-plans[data-card-rail]{grid-auto-columns:clamp(260px,36vw,380px)!important}
}
@media(min-width:601px) and (max-width:899px){.selected-home .pilot-card dd{font-size:14px;text-wrap:pretty}}
@media(max-width:700px){.selected-home .courses-header-row{flex-direction:column;align-items:flex-start;gap:20px}}
@media(min-width:1367px){.selected-home .enterprise-content{grid-column:2;grid-row:1}.selected-home .enterprise-visual{grid-column:1;grid-row:1}}
@media(min-width:1000px) and (max-width:1366px){
 .selected-home .courses-section .course-title{min-height:33px}
 .selected-home .courses-section .course-desc{min-height:81px}
}
.tablet-contact{display:none}
.mobile-toggle{width:44px;min-height:44px;padding:10px;border:0;background:transparent}
.mobile-toggle svg{display:block}
.desktop-nav [popovertarget]{display:inline-flex;align-items:center;gap:7px}
.desktop-nav .nav-chevron{width:12px;height:12px;opacity:.7}
@media(min-width:601px) and (max-width:1024px){
 .selected-home .nav-cta .nav-cta-btn{display:inline-flex!important;font-size:13px;min-height:44px;height:auto;padding:10px 16px}
 .tablet-contact{display:inline-flex;align-items:center;justify-content:center;background:#193653;color:white;text-decoration:none;border-radius:6px;font-size:13px;min-height:44px;padding:8px 16px;margin-left:auto;margin-right:16px}
}
@media(min-width:601px) and (max-width:899px){
 [data-card-rail]:not(.stats-row):not(.summary-grid):not(.enterprise-plans){grid-auto-columns:clamp(340px,60vw,460px)!important}
}
@media(min-width:601px) and (max-width:1366px){
 .selected-home .courses-section .course-title{min-height:33px}
 .selected-home .courses-section .course-desc{min-height:81px}
 .training-steps .ev-step-content .desc{font-size:14px}
}
