/* ===== Full-image hero (test copy) ===== */
:not(cc-x).hero-full{position:relative;overflow:hidden;background:var(--navy3);color:#fff;min-height:calc(100vh - var(--hdr-h,84px));min-height:calc(100svh - var(--hdr-h,84px));display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(36px,7vh,110px) 0 0;isolation:isolate}
:not(cc-x).hf-media{position:absolute;inset:-4%;z-index:0;will-change:transform}
:not(cc-x).hf-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease;clip-path:inset(0 0 0 0)}
:not(cc-x).hf-slide.on{opacity:1;z-index:1}
:not(cc-x).hf-slide.out{z-index:0}
:not(cc-x).hf-slide img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.14) translate3d(0,0,0);transition:transform 9s cubic-bezier(.2,.6,.3,1)}
:not(cc-x).hf-slide.on img{transform:scale(1.02) translate3d(var(--kx,0),var(--ky,0),0)}
:not(cc-x).hf-slide:nth-child(1){--kx:-1.2%;--ky:-.6%}:not(cc-x).hf-slide:nth-child(2){--kx:1.4%;--ky:.4%}:not(cc-x).hf-slide:nth-child(3){--kx:-.6%;--ky:1%}
:not(cc-x).hf-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:
 linear-gradient(90deg,rgba(5,26,58,.9) 0%,rgba(5,26,58,.66) 38%,rgba(5,26,58,.12) 72%,rgba(5,26,58,.05) 100%),
 linear-gradient(0deg,rgba(5,26,58,.92) 0%,rgba(5,26,58,0) 42%),
 linear-gradient(180deg,rgba(5,26,58,.45) 0%,rgba(5,26,58,0) 22%)}
:not(cc-x).hf-flare{position:absolute;z-index:1;pointer-events:none;width:70vmax;height:70vmax;right:-22vmax;top:-30vmax;border-radius:50%;
 background:radial-gradient(circle,rgba(255,226,170,.30) 0%,rgba(255,200,120,.10) 35%,transparent 65%);mix-blend-mode:screen;animation:hfFlare 14s ease-in-out infinite alternate}
@keyframes hfFlare{from{transform:translate3d(0,0,0) scale(1);opacity:.75}to{transform:translate3d(-6vmax,4vmax,0) scale(1.15);opacity:1}}
:not(cc-x).hero-full canvas.frost{z-index:2}
:not(cc-x).hf-inner{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(30px,5vw,80px);align-items:end;width:100%}
:not(cc-x).hf-copy{max-width:760px}
:not(cc-x).hf-kick{color:var(--green)}
:not(cc-x).hf-kick:before{background:var(--green)}
:not(cc-x).hero-full h1{color:#fff;font-size:clamp(36px,min(5vw,7.6vh),78px);line-height:1.02;max-width:17ch;text-shadow:0 2px 30px rgba(5,26,58,.35)}
:not(cc-x).hero-full h1 em{font-style:normal;color:var(--green)}
:not(cc-x).hero-full .lede{color:#e3e9f2;max-width:60ch;margin:clamp(14px,2.4vh,24px) 0 clamp(18px,3.4vh,32px);font-size:max(16px,min(clamp(18px,1.4vw,21px),2.5vh))}
:not(cc-x).hero-full .btn.ghost{color:#fff;border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.06);backdrop-filter:blur(6px)}
:not(cc-x).hero-full .btn.ghost:hover{background:#fff;color:var(--navy);border-color:#fff}
:not(cc-x).hf-trust{list-style:none;margin:clamp(16px,3vh,30px) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
:not(cc-x).hf-trust li{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:99px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);font:600 14px/1 var(--display);color:#fff}
:not(cc-x).hf-trust svg{width:16px;height:16px;color:var(--green)}
:not(cc-x).hf-card{position:relative;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.26);border-radius:22px;padding:22px 22px 20px;backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);box-shadow:0 30px 60px -30px rgba(0,0,0,.6);margin-bottom:8px}
:not(cc-x).hf-card h4{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;font:700 12.5px/1 var(--display);letter-spacing:.12em;text-transform:uppercase;color:#d6e0ee}
:not(cc-x).hf-card.tracker .stage{color:#fff}
:not(cc-x).hf-card.tracker .bar{background:rgba(255,255,255,.18)}
:not(cc-x).hf-card.tracker .steps-ix{color:#a9b8cc}
:not(cc-x).hf-card.tracker .steps-ix span.on{color:#fff}
:not(cc-x).hf-card .pulse{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(122,193,65,.7);animation:hfPulse 2s infinite}
@keyframes hfPulse{70%{box-shadow:0 0 0 10px rgba(122,193,65,0)}100%{box-shadow:0 0 0 0 rgba(122,193,65,0)}}
:not(cc-x).hf-foot{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding-top:clamp(14px,2.4vh,24px);padding-bottom:clamp(14px,2.6vh,26px);margin-top:clamp(22px,4vh,44px);border-top:1px solid rgba(255,255,255,.16)}
:not(cc-x).hf-dots{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
:not(cc-x).hf-dots button{display:flex;flex-direction:column;gap:8px;width:72px;padding:6px 0;border:0;background:none;color:rgba(255,255,255,.6);cursor:pointer;font:700 12px/1 var(--display);letter-spacing:.1em;text-align:left}
:not(cc-x).hf-dots button i{display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.25);overflow:hidden;position:relative}
:not(cc-x).hf-dots button i:after{content:"";position:absolute;inset:0;background:var(--green);transform:scaleX(0);transform-origin:left}
:not(cc-x).hf-dots button.on{color:#fff}
:not(cc-x).hf-dots button.on i:after{animation:hfBar var(--hf-dur,6s) linear forwards}
:not(cc-x).hero-full.paused .hf-dots button.on i:after{animation-play-state:paused}
@keyframes hfBar{to{transform:scaleX(1)}}
:not(cc-x).hf-cap{margin-left:10px;font:600 15px/1.2 var(--display);color:#fff;opacity:1;transition:opacity .4s,transform .4s}
:not(cc-x).hf-cap.swap{opacity:0;transform:translateY(6px)}
:not(cc-x).hf-scroll{display:inline-flex;align-items:center;gap:12px;color:#d6e0ee;text-decoration:none;font:700 12px/1 var(--display);letter-spacing:.16em;text-transform:uppercase}
:not(cc-x).hf-mouse{width:24px;height:38px;border:2px solid rgba(255,255,255,.6);border-radius:14px;display:flex;justify-content:center;padding-top:7px;box-sizing:border-box}
:not(cc-x).hf-mouse i{width:4px;height:8px;border-radius:3px;background:var(--green);animation:hfWheel 1.8s ease-in-out infinite}
@keyframes hfWheel{0%{transform:translateY(0);opacity:1}70%{transform:translateY(10px);opacity:0}100%{opacity:0}}
:not(cc-x).hf-scroll:hover{color:#fff}
/* load-in */
:not(cc-x).anim .hero-full .hf-media{animation:hfIn 2.2s cubic-bezier(.2,.75,.2,1) both}
@keyframes hfIn{from{opacity:0}to{opacity:1}}
:not(cc-x).anim .hero-full .hf-foot{animation:hfUp 1.2s .9s cubic-bezier(.2,.75,.2,1) both}
@keyframes hfUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (max-width:960px){
 :not(cc-x).hf-inner{grid-template-columns:1fr;gap:26px}
 :not(cc-x).hf-card{max-width:420px}
 :not(cc-x).hf-shade{background:linear-gradient(0deg,rgba(5,26,58,.96) 12%,rgba(5,26,58,.72) 62%,rgba(5,26,58,.5) 100%)}
 :not(cc-x).hf-scroll{display:none}
}
@media (max-width:640px){
 :not(cc-x).hero-full{padding-top:70px}
 :not(cc-x).hero-full h1{font-size:clamp(32px,9.4vw,42px)}
 :not(cc-x).hf-trust li{font-size:13px;padding:8px 12px}
 :not(cc-x).hf-card{display:none}
 :not(cc-x).hf-dots button{width:54px}
 :not(cc-x).hf-cap{flex-basis:100%;margin:2px 0 0}
}
@media (max-height:780px) and (min-width:961px){:not(cc-x).hf-trust{display:none}}
@media (prefers-reduced-motion:reduce){:not(cc-x).hf-slide img{transition:none;transform:none!important}:not(cc-x).hf-flare{animation:none}}

/* ===== Inner pages: shared full-image hero extras ===== */
:not(cc-x).hero-full .crumbs{display:flex;gap:10px;align-items:center;margin:0 0 18px;font:600 13.5px/1 var(--display);color:#c9d4e4}
:not(cc-x).hero-full .crumbs a{color:#fff;text-decoration:none;opacity:.85}
:not(cc-x).hero-full .crumbs a:hover{opacity:1;text-decoration:underline}
:not(cc-x).hero-full .crumbs span[aria-hidden]{opacity:.5}
:not(cc-x).hero-full.hf-page h1{font-size:clamp(36px,min(4.6vw,7.2vh),72px);max-width:18ch}
:not(cc-x).hf-card .hf-k{display:block;font:700 12.5px/1 var(--display);letter-spacing:.12em;text-transform:uppercase;color:#d6e0ee;margin:0 0 14px}
/* step lists that light up in turn */
:not(cc-x).hf-cycle{list-style:none;margin:0;padding:0;display:grid;gap:4px;counter-reset:hf}
:not(cc-x).hf-cycle li{counter-increment:hf;display:grid;grid-template-columns:30px 1fr;gap:2px 12px;align-items:center;padding:8px 10px;border-radius:12px;color:#c3cfdf;font:600 15px/1.25 var(--display);transition:background .4s,color .4s}
:not(cc-x).hf-cycle li:before{content:counter(hf,decimal-leading-zero);grid-row:span 2;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.35);font:700 11.5px/1 var(--display);color:#fff;transition:background .4s,border-color .4s,color .4s}
:not(cc-x).hf-cycle li small{grid-column:2;font:500 12.5px/1.3 var(--text);color:#9fb0c6}
:not(cc-x).hf-cycle li.on{color:#fff}
:not(cc-x).hf-cycle li.on:before{background:var(--green);border-color:var(--green);color:var(--navy)}
:not(cc-x).hf-cycle li.cur{background:rgba(255,255,255,.12)}
:not(cc-x).hf-cycle.ticks li:before{content:"✓";font-size:14px;color:transparent}
:not(cc-x).hf-cycle.ticks li.on:before{color:var(--navy)}
:not(cc-x).hf-cycle.flow li:before{content:"";background:rgba(255,255,255,.15) center/16px no-repeat}
:not(cc-x).hf-cycle.flow li.on:before{background-color:var(--green)}
/* facts */
:not(cc-x).hf-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
:not(cc-x).hf-facts li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
:not(cc-x).hf-facts li>i{width:38px;height:38px;border-radius:50%;background:var(--green);color:var(--navy);display:grid;place-items:center;flex-shrink:0;font:800 13px/1 var(--display);font-style:normal}
:not(cc-x).hf-facts li>i svg{width:18px;height:18px}
:not(cc-x).hf-facts b{display:block;font:700 16px/1.2 var(--display);color:#fff}
:not(cc-x).hf-facts small{display:block;font:500 13px/1.3 var(--text);color:#b8c6d8;margin-top:2px}
:not(cc-x).hf-facts a{color:#fff}
:not(cc-x).hf-facts img{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:50% 20%;flex-shrink:0;background:#fff}
:not(cc-x).hf-facts a.hf-row{display:flex;align-items:center;gap:12px;text-decoration:none;flex:1}
:not(cc-x).hf-facts li:has(a.hf-row){padding:0;transition:background .3s,transform .3s}
:not(cc-x).hf-facts li:has(a.hf-row)>a{padding:10px 12px}
:not(cc-x).hf-facts li:has(a.hf-row):hover{background:rgba(255,255,255,.16);transform:translateX(4px)}
/* fee tiles */
:not(cc-x).hf-fees{display:grid;grid-template-columns:1fr 1fr;gap:10px}
:not(cc-x).hf-fee{padding:14px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
:not(cc-x).hf-fee.alt{background:var(--green);border-color:var(--green);color:var(--navy)}
:not(cc-x).hf-fee .t{font:700 12px/1 var(--display);letter-spacing:.12em;text-transform:uppercase;opacity:.85}
:not(cc-x).hf-fee .amt{font:800 34px/1 var(--display);margin:10px 0 6px}
:not(cc-x).hf-fee .amt sup{font-size:.5em;vertical-align:super;margin-right:2px}
:not(cc-x).hf-fee .s{font:500 12px/1.3 var(--text);opacity:.8}
:not(cc-x).hf-note{margin:12px 0 0;font:500 12.5px/1.4 var(--text);color:#b8c6d8}
:not(cc-x).hf-card .hf-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font:700 14px/1 var(--display);color:var(--green);text-decoration:none}
:not(cc-x).hf-card .hf-link:hover{color:#fff}
@media (max-width:640px){:not(cc-x).hero-full .crumbs{margin-bottom:12px}}

/* ===== v4: let the photos show clearly ===== */
:not(cc-x).hf-slide img{filter:saturate(1.08) contrast(1.04) brightness(1.03);transform:scale(1.06) translate3d(0,0,0)}
:not(cc-x).hf-slide.on img{transform:scale(1) translate3d(var(--kx,0),var(--ky,0),0)}
:not(cc-x).hf-slide:nth-child(1){--kx:-.6%;--ky:-.3%}:not(cc-x).hf-slide:nth-child(2){--kx:.7%;--ky:.2%}:not(cc-x).hf-slide:nth-child(3){--kx:-.3%;--ky:.5%}
:not(cc-x).hf-shade{background:
 linear-gradient(90deg,rgba(5,26,58,.82) 0%,rgba(5,26,58,.6) 30%,rgba(5,26,58,.18) 52%,rgba(5,26,58,0) 66%),
 linear-gradient(0deg,rgba(5,26,58,.78) 0%,rgba(5,26,58,0) 20%)}
:not(cc-x).hf-flare{display:none}
:not(cc-x).hero-full canvas.frost{display:none}
:not(cc-x).hero-full h1,:not(cc-x).hero-full .lede,:not(cc-x).hero-full .kicker,:not(cc-x).hero-full .crumbs{text-shadow:0 2px 18px rgba(5,26,58,.55),0 1px 3px rgba(5,26,58,.4)}
:not(cc-x).hf-card{background:rgba(5,26,58,.42);border-color:rgba(255,255,255,.24)}
@media (max-width:960px){
 :not(cc-x).hf-shade{background:linear-gradient(0deg,rgba(5,26,58,.94) 0%,rgba(5,26,58,.78) 45%,rgba(5,26,58,.25) 75%,rgba(5,26,58,.05) 100%)}
 :not(cc-x).hero-full{padding-top:clamp(180px,32vh,300px)}
}

/* ===== v5: readable subheadings ===== */
:not(cc-x).hero-full .lede{color:#fff;font-weight:500;line-height:1.55;max-width:54ch;padding:14px 18px;border-radius:14px;
 background:rgba(5,26,58,.5);border-left:3px solid var(--green);backdrop-filter:blur(8px) saturate(1.1);-webkit-backdrop-filter:blur(8px) saturate(1.1);
 text-shadow:0 1px 2px rgba(5,26,58,.6)}
:not(cc-x).hero-full .hf-copy .kicker{display:flex;width:fit-content;padding:8px 14px 8px 12px;border-radius:99px;background:rgba(5,26,58,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#b5ec8a!important;text-shadow:none}
:not(cc-x).hero-full .hf-copy .kicker:before{background:#b5ec8a;width:18px}
:not(cc-x).hero-full .hf-copy .crumbs{display:flex;width:fit-content;white-space:nowrap;padding:7px 14px;border-radius:99px;background:rgba(5,26,58,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);text-shadow:none}
:not(cc-x).hero-full .crumbs span{color:#e3eaf4}
@media (max-width:640px){:not(cc-x).hero-full .lede{padding:12px 14px;font-size:15.5px}}

/* ===== v6: phones/tablets - text starts near the top ===== */
@media (max-width:960px){
 :not(cc-x).hero-full{padding-top:64px;justify-content:flex-start}
 :not(cc-x).hero-full .hf-foot{margin-top:auto}
 :not(cc-x).hero-full .hf-inner{margin-bottom:clamp(140px,22vh,220px)}
 :not(cc-x).hf-shade{background:linear-gradient(180deg,rgba(5,26,58,.82) 0%,rgba(5,26,58,.62) 40%,rgba(5,26,58,.12) 72%,rgba(5,26,58,.55) 100%)}
}
@media (max-width:640px){:not(cc-x).hero-full{padding-top:52px}:not(cc-x).hero-full .hf-inner{margin-bottom:clamp(110px,18vh,180px)}}

/* ===== v9: full-bleed photo kept; text sits in a band low in the hero so faces stay clear (positions set by hero-full.js) ===== */
:not(cc-x).hero-full .hf-card{display:none}
:not(cc-x).hero-full .hf-media{inset:-8px}
:not(cc-x).hf-slide img{position:absolute;max-width:none;object-fit:fill;transform:none!important;transition:none}
:not(cc-x).hf-slide{transition:opacity 1.4s ease}
@media (min-width:961px){
 :not(cc-x).hero-full{justify-content:flex-start}
 :not(cc-x).hero-full .hf-inner{margin-top:auto;margin-bottom:auto;padding-top:clamp(12px,3vh,36px);padding-bottom:clamp(12px,3vh,36px)}
 :not(cc-x).hero-full .hf-copy{max-width:min(500px,37vw)}
 :not(cc-x).hero-full .hf-head h1,:not(cc-x).hero-full.hf-page .hf-head h1{font-size:clamp(32px,min(3.1vw,5.8vh),52px);max-width:none}
 :not(cc-x).hero-full .hf-body .lede{font-size:clamp(15px,1.05vw,17.5px)}
 :not(cc-x).hero-full .hf-foot{margin-top:0}
 :not(cc-x).hf-shade{background:linear-gradient(90deg,rgba(5,26,58,.82) 0%,rgba(5,26,58,.6) calc(var(--hf-cw,40%) - 6%),rgba(5,26,58,0) calc(var(--hf-cw,40%) + 8%)),linear-gradient(0deg,rgba(5,26,58,.6) 0%,rgba(5,26,58,0) 14%)}
}
@media (max-width:960px){
 :not(cc-x).hero-full{--hf-photo:67.2vw;padding-top:calc(var(--hf-photo) + 8px);min-height:0;justify-content:flex-start}
 :not(cc-x).hero-full .hf-media{inset:0 0 auto 0;height:var(--hf-photo);-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);mask-image:linear-gradient(180deg,#000 82%,transparent)}
 :not(cc-x).hero-full .hf-inner{margin-bottom:0}
 :not(cc-x).hero-full .hf-foot{margin-top:22px;border-top:0;padding-top:10px}
 :not(cc-x).hf-shade{background:linear-gradient(180deg,rgba(5,26,58,.35) 0%,rgba(5,26,58,0) 70px,rgba(5,26,58,0) 100%)}
 :not(cc-x).hf-scroll{display:none}
}
@media (min-width:961px) and (max-height:820px){
 :not(cc-x).hero-full .hf-head h1,:not(cc-x).hero-full.hf-page .hf-head h1{font-size:clamp(28px,min(2.8vw,5.4vh),42px)}
 :not(cc-x).hero-full .hf-body .lede{font-size:15px;line-height:1.5}
 :not(cc-x).hero-full .hf-body .btns{margin-top:14px}
 :not(cc-x).hero-full .hf-foot{padding-top:10px;padding-bottom:12px}
}
:not(cc-x).hf-slide img.hf-flip{transform:scaleX(-1)!important}


/* HD: never resample the photo with a blur or scale effect */
:not(cc-x).hf-slide img{filter:saturate(1.06) contrast(1.03);image-rendering:auto;backface-visibility:hidden}
@media (min-width:1500px){:not(cc-x).hero-full .hf-inner.container,:not(cc-x).hero-full .hf-foot.container{max-width:min(1480px,90vw)}}
@media (min-width:1500px){:not(cc-x).hero-full .hf-copy{max-width:460px}}

/* ===== v13: one heading size on every hero ===== */
:not(cc-x).hero-full h1,:not(cc-x).hero-full.hf-page h1,:not(cc-x).hero-full .hf-head h1,:not(cc-x).hero-full.hf-page .hf-head h1{font-size:clamp(32px,9.2vw,44px);line-height:1.04}
@media (min-width:961px){
 :not(cc-x).hero-full h1,:not(cc-x).hero-full.hf-page h1,:not(cc-x).hero-full .hf-head h1,:not(cc-x).hero-full.hf-page .hf-head h1{font-size:clamp(40px,3.4vw,54px);line-height:1.04;max-width:none}
 :not(cc-x).hero-full .hf-copy{max-width:min(540px,40vw)}
}
@media (min-width:1500px){:not(cc-x).hero-full .hf-copy{max-width:540px}}
/* Home heading fits on 3 lines: wider text column on the home hero only */
@media (min-width:961px){:not(cc-x).hero-full:not(.hf-page) .hf-copy{max-width:min(640px,48vw)}:not(cc-x).hero-full:not(.hf-page) .hf-body{max-width:540px}}
