/* Decorative couple cutout remains separate from the actual headline. */
main #home .hero-motto-copy{position:relative}
main #home .hero-couple-cutout{position:absolute;right:-4px;top:-66px;width:clamp(140px,13vw,210px);height:auto;z-index:2;pointer-events:none;object-fit:contain;filter:drop-shadow(0 10px 18px #07132340)}
main #home .hero-motto-copy>.eyebrow{padding-right:190px;min-height:35px}
main #home .hero-access-title{padding-top:32px}
/* Bright photography is visible; text contrast comes from contained panels. */
main :is(#property-review,#our-commitment,#compare,#understanding-costs,#life-after-funding,#questions,#offer-review)>.section-landscape:after{background:linear-gradient(90deg,#071d3526,transparent 75%)!important}
main :is(#property-review,#our-commitment,#compare,#understanding-costs,#life-after-funding,#questions,#offer-review)>.section-landscape img{filter:none!important;transform:none!important;object-position:var(--renewal-focus,50% 50%)!important}
#property-review{--renewal-focus:55% 45%}#our-commitment{--renewal-focus:65% 50%}#compare{--renewal-focus:50% 50%}#understanding-costs{--renewal-focus:45% 45%}#life-after-funding{--renewal-focus:50% 52%}#questions{--renewal-focus:35% 50%}#offer-review{--renewal-focus:60% 50%}
main :is(#property-review,#our-commitment,#compare,#understanding-costs,#life-after-funding,#questions,#offer-review) :is(.property-panel,.commitment-copy,.commitment-grid>article,.editorial-heading,.ownership-visual,.ownership-grid>article,.faq-editorial-intro,.faq-list,.prime-resource-heading,.offer-checklist){background:linear-gradient(130deg,#142548ed,#242448e8);color:#fff;border-radius:18px}
#job-opportunities.career-discovery{min-height:650px;padding:64px 6%;contain:none;isolation:isolate}
.career-discovery-layout{position:relative;z-index:1;display:grid;grid-template-columns:1fr minmax(380px,520px);align-items:start;gap:clamp(2rem,6vw,7rem);max-width:1400px;margin:auto}
.career-discovery-intro{align-self:start;max-width:530px;padding:26px;border-radius:20px;background:linear-gradient(120deg,#142c4de6,#242f4bbd)}
.career-discovery-intro h2{font-size:clamp(2rem,3.4vw,3.2rem);line-height:1.12;margin:14px 0;background:linear-gradient(105deg,#9addff,#a9adff,#f4a5df);color:transparent;background-clip:text}
.career-discovery-intro p{font-size:17px;line-height:1.6}
.career-guide{border:1px solid #94a6ff;border-radius:22px;padding:26px;background:linear-gradient(135deg,#143363f5,#302452f5);color:white;min-width:0}
.career-guide [hidden]{display:none!important}.career-guide-top{display:flex;justify-content:space-between;gap:18px;font-size:14px;font-weight:700;color:#b8d8ff;margin-bottom:20px}.career-guide h3{font-size:clamp(22px,2vw,28px);line-height:1.25;margin:12px 0 20px}.career-guide label{display:grid;gap:8px;font-size:16px;margin:16px 0}.career-guide select{min-width:0;width:100%;min-height:48px;padding:12px;background:#1c355a;color:#fff;border:1px solid #9aafff;border-radius:10px;font:inherit}.career-guide button{min-height:48px;padding:12px 16px;border-radius:12px;font:inherit;cursor:pointer}.career-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.career-choice-grid button{background:linear-gradient(120deg,#2762e7,#8e3ac9);border:1px solid #a9c6ff;color:#fff}.career-guide button:focus-visible,.career-guide select:focus-visible{outline:3px solid #6edbff;outline-offset:3px}.career-guide-actions{display:flex;gap:12px;justify-content:space-between;margin-top:20px}.career-guide-actions>button:first-child{background:transparent;border:1px solid #8195c3;color:#fff}.career-guide-note{font-size:14px;line-height:1.6;color:#dbe7ff}.career-guide [role=status]{font-size:16px;line-height:1.5;color:#fff}.career-guide-details{margin-top:18px;border-top:1px solid #8196c255;padding-top:14px}.career-guide-details summary{font-size:14px;cursor:pointer}.career-guide-details p,.career-guide-details li{font-size:14px;line-height:1.65}.career-guide-details h3{font-size:18px}.career-guide-details .career-notice{background:none;padding:0;border:0}
@media(max-width:1100px){main #home .hero-couple-cutout{top:-30px;width:160px}main #home .hero-motto-copy>.eyebrow{padding-right:155px}.career-discovery-layout{gap:28px}}
@media(max-width:900px){main #home .hero-couple-cutout{top:-12px;width:145px}main #home .hero-access-title{padding-top:55px}.career-discovery-layout{grid-template-columns:1fr}.career-discovery-intro{max-width:none}.career-guide{max-width:600px;width:100%;box-sizing:border-box;margin-left:auto}#job-opportunities.career-discovery{min-height:0;padding:40px 5%}}
@media(max-width:520px){main #home .hero-couple-cutout{top:4px;right:0;width:125px}main #home .hero-motto-copy>.eyebrow{padding-right:135px;font-size:12px}main #home .hero-access-title{padding-top:46px}.career-guide{padding:21px}.career-guide-actions{flex-wrap:wrap}.career-guide-actions .btn{flex:1}.career-discovery-intro{padding:22px}.career-choice-grid{gap:10px}}
main #home .hero-couple-cutout{top:0;width:135px}
#property-review{--renewal-focus:50% 55%}#our-commitment{--renewal-focus:50% 65%}#questions{--renewal-focus:50% 72%}#job-opportunities .section-landscape img{object-position:50% 58%!important;filter:none!important}
@media(max-width:1100px){main #home .hero-couple-cutout{top:4px;width:130px}}
@media(max-width:520px){main #home .hero-couple-cutout{top:4px;width:115px}}
/* The complete application expands inside Opportunities, rather than a second large section. */
#job-opportunities .career-inline-application[hidden]{display:none!important}
#job-opportunities .career-inline-application{position:relative;z-index:1;max-width:760px;margin:24px 0 0 auto;padding:0;background:none;scroll-margin-top:100px}
#job-opportunities .career-inline-application .career-application{margin:0;border-radius:20px;max-width:none}
.career-progressive .career-application-banner,.career-progressive .career-application-sidebar{display:none!important}
.career-progressive .career-application-layout{display:block}
.career-progressive .career-application-fields{padding:24px}
.career-progressive .career-panel{display:none;margin:0;padding:0;border:0;background:none;min-width:0}
.career-progressive .career-panel.question-panel-current{display:block}
.career-progressive .career-panel-heading,.career-progressive .career-question,.career-progressive .career-sensitive,.career-progressive .career-w9-intake,.career-progressive .w9-certification{display:none!important}
.career-progressive .career-question.question-current,.career-progressive .question-context-current{display:block!important}
.career-progressive .career-grid{display:block}
.career-progressive .career-question{font-size:21px;line-height:1.5;margin:24px 0}
.career-progressive .career-question.check.question-current{display:flex!important}
.career-progressive .career-question input:not([type=checkbox]),.career-progressive .career-question select{min-height:56px}
.career-progressive .career-question textarea{min-height:150px}
.career-progressive .career-question-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}
.career-progressive .career-question-actions button{min-width:110px;min-height:48px}
.career-progressive .career-progressive-heading h3{margin:10px 0;font-size:30px}
.career-progressive .career-progressive-heading p,.career-progressive .career-progressive-heading a{font-size:16px}
.career-progressive .career-completed{list-style:none;padding:0;margin:20px 0}
.career-progressive .career-completed li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #8baaff55;font-size:15px}
.career-progressive .career-completed button{font:inherit;color:#9ee9ff;background:none;border:0;min-height:44px;cursor:pointer;text-decoration:underline}
.career-progressive .career-question-progress{font-size:15px;color:#a6e4ff}
.career-progressive .career-submit[hidden],.career-progressive #careers-challenge:not(.question-security-current){display:none!important}
.career-progressive .w9-preview,.career-progressive #w9-preview-button,.career-progressive #w9-preview-status{display:none!important}
.career-guide-complete{grid-template-columns:1fr}.career-guide-complete .career-discovery-intro{max-width:760px;margin-left:auto;width:100%;box-sizing:border-box;padding:20px}
.career-guide-complete .career-discovery-intro h2{font-size:26px}.career-guide-complete .career-discovery-intro p:not(.eyebrow){display:none}
@media(max-width:760px){#job-opportunities .career-inline-application{max-width:none}.career-progressive .career-application-fields{padding:20px}.career-progressive .career-completed li{font-size:14px}.career-progressive .career-progressive-heading h3{font-size:26px}}
#property-review{--renewal-focus:50% 50%}#our-commitment{--renewal-focus:50% 48%}#questions{--renewal-focus:50% 45%}#offer-review{--renewal-focus:50% 48%}
#job-opportunities .section-landscape img{object-position:50% 45%!important;transform:none!important}
@media(min-width:901px){#property-review>.wrap{display:flex;justify-content:flex-end}#property-review .property-panel{width:min(620px,100%);margin:0}}
.career-progressive .career-question>span[data-en]{display:block;font-size:20px;line-height:1.4;margin-bottom:12px}
.career-progressive .career-question.check>span[data-en]{font-size:17px;margin:0}
.career-progressive .career-completed{max-height:220px;overflow-y:auto;scrollbar-color:#8da6ff #203c6d;scrollbar-width:thin}
.career-progressive .career-completed:empty{display:none}
@media(max-width:760px){.career-progressive .career-completed{max-height:170px}}
/* Preserve the complete careers house rather than enlarging a doorway to fill the section. */
@media(min-width:901px){
 #job-opportunities.career-discovery{min-height:760px}
 #job-opportunities .career-discovery-layout{grid-template-columns:minmax(0,1fr) minmax(380px,520px);gap:18px 40px}
 #job-opportunities .career-discovery-intro,#job-opportunities #career-guide{grid-column:2}
 #job-opportunities .career-discovery-intro{padding:20px;max-width:none}
 #job-opportunities .career-discovery-intro h2{font-size:30px;margin:10px 0}
 #job-opportunities .career-discovery-intro p:not(.eyebrow){font-size:16px;margin:10px 0}
 #job-opportunities>.section-landscape img{width:70%!important;height:calc(100svh - 92px)!important;object-fit:contain!important;object-position:left center!important;max-height:100%;min-height:0}
 #job-opportunities>.section-landscape:after{background:linear-gradient(90deg,transparent 45%,#163858 74%)!important}
}
#job-opportunities .career-inline-application{max-width:520px}
#job-opportunities .career-inline-application.career-expanded{max-width:760px}
.career-progressive .career-progressive-heading h3{font-size:26px;margin:0 0 12px}
.career-progressive .career-question-progress{margin:16px 0 12px}
.career-progressive .career-question{margin:20px 0}
@media(max-width:900px){#job-opportunities .career-inline-application{max-width:600px}}

/* Reserve a contained illustration row: house left, couple right. */
main #home .hero-family-scene{position:relative;display:flex;justify-content:flex-end;align-items:flex-end;gap:10px;width:100%;height:116px;margin:0 0 12px;overflow:hidden;pointer-events:none}
main #home .hero-family-scene .hero-couple-cutout{position:static!important;inset:auto!important;width:128px!important;height:108px!important;object-fit:contain;flex:none;filter:none}
main #home .hero-family-scene .hero-house-cutout{position:static;width:210px;height:112px;object-fit:contain;flex:none;filter:none}
main #home .hero-motto-copy>.eyebrow{padding-right:0!important;min-height:0!important}
main #home .hero-access-title{padding-top:0!important}
@media(max-width:520px){main #home .hero-family-scene{height:94px;gap:4px;margin-bottom:8px}main #home .hero-family-scene .hero-couple-cutout{width:100px!important;height:84px!important}main #home .hero-family-scene .hero-house-cutout{width:min(170px,55%);height:90px}}

/* Compact house/couple composition beside the opening headline, no extra row. */
main #home .hero-family-scene{position:absolute;top:76px;right:20px;width:230px;height:100px;gap:5px;margin:0;overflow:hidden}
main #home .hero-family-scene .hero-house-cutout{width:140px;height:92px}
main #home .hero-family-scene .hero-couple-cutout{width:85px!important;height:76px!important}
main #home .hero-access-title>span:first-child{display:block;padding-right:235px}
@media(max-width:1100px){main #home .hero-family-scene{top:65px;right:18px;width:170px;height:80px}main #home .hero-family-scene .hero-house-cutout{width:100px;height:75px}main #home .hero-family-scene .hero-couple-cutout{width:65px!important;height:60px!important}main #home .hero-access-title>span:first-child{padding-right:170px}}
@media(max-width:520px){main #home .hero-family-scene{top:62px;right:20px;width:118px;height:58px;gap:2px}main #home .hero-family-scene .hero-house-cutout{width:72px;height:56px}main #home .hero-family-scene .hero-couple-cutout{width:44px!important;height:40px!important}main #home .hero-access-title>span:first-child{padding-right:116px;font-size:30px;line-height:1.2}}
main #home .hero-family-scene{top:32px;height:90px}
main #home .hero-family-scene .hero-house-cutout{height:82px}
@media(max-width:1100px){main #home .hero-family-scene{top:35px;height:76px}}
@media(max-width:520px){main #home .hero-family-scene{top:35px;height:56px}main #home .hero-family-scene .hero-house-cutout{height:54px}}

/* Careers uses its actual section name as the prominent heading. */
main #job-opportunities.scenery-section #job-opportunities-title{font-size:clamp(36px,3.4vw,54px)!important;line-height:1.08!important;letter-spacing:-.035em;margin:12px 0 20px!important;padding:0!important;background:linear-gradient(100deg,#75e2ff,#aaa1ff 50%,#f999dc);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-wrap:balance}
main #job-opportunities.scenery-section #job-opportunities-title span{color:inherit;-webkit-text-fill-color:inherit}
@media(max-width:520px){main #job-opportunities.scenery-section #job-opportunities-title{font-size:36px!important}}
