
.hero{min-height:800px;height:min(920px,100svh);isolation:isolate;background:#081a29;overflow:hidden}
.cinematic-backdrop{position:absolute;inset:-24px;background:url('/hero-mountains.png') center/cover;z-index:-3;animation:cinema 16s ease-in-out infinite alternate}
.hero .mountains{display:none}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081a29f0 0%,#081a29b5 40%,#081a2945 70%),linear-gradient(0deg,#081a29f5,transparent 65%);z-index:-2}
.hero-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 45%,#a9ebc929,transparent 50%);z-index:-1}
.hero nav{position:relative;z-index:4}
.hero-copy{position:absolute;top:29%;left:6%;margin:0;width:45%;max-width:650px;text-align:left}
.hero h1{font-size:clamp(48px,5.5vw,82px);letter-spacing:-3.5px;line-height:1.03;margin:22px 0}
.hero h1 em{color:#b8e6ce}.hero-copy>p:not(.eyebrow){font-size:20px;line-height:1.65;color:#d3e1e5;margin-bottom:30px;max-width:410px}
.hero-copy small{display:block;color:#bacbd1;margin-top:18px}.hero-copy .eyebrow{font-size:10px;letter-spacing:2.5px;color:#b8e6ce}
.wealth-stage{position:absolute;left:52%;right:6%;top:23%;height:480px;perspective:1400px;isolation:isolate}
.wealth-card{position:relative;z-index:2;padding:25px 30px 20px;background:linear-gradient(130deg,#244153eb,#0c2434f0);border:1px solid #c8f4dd33;border-radius:22px;box-shadow:0 35px 90px #0005,inset 0 1px #fff2;color:#eaf4ef;backdrop-filter:blur(18px);transform:rotateY(-12deg) rotateX(7deg) rotateZ(-2deg);transition:transform 1.8s cubic-bezier(.22,1,.36,1),background .5s;animation:wealth-arrival 1.8s cubic-bezier(.22,1,.36,1) both}
.wealth-card.is-personal{transform:rotateY(0) rotateX(0) rotateZ(0);background:linear-gradient(120deg,#234434f5,#0b2630f5)}
.wealth-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:1.5px;color:#bdd0d0}
.wealth-card-top span{display:flex;align-items:center;gap:8px}.wealth-card-top i{width:6px;height:6px;background:#b6edcc;border-radius:50%;box-shadow:0 0 12px #b6edcc}
.wealth-card button{font:inherit;cursor:pointer}.wealth-card-top button{font-size:11px;letter-spacing:0;color:#dfefe8;border:1px solid #ffffff2b;background:#ffffff06;padding:7px 11px;border-radius:30px}
.wealth-scene-label{font-size:10px;letter-spacing:2px;color:#b8e6ce;margin-top:26px}
.wealth-value{font-size:clamp(38px,4.2vw,62px);letter-spacing:-2px;line-height:1.05;font-weight:500;margin-top:12px;font-variant-numeric:tabular-nums}
.wealth-value-caption{font-size:13px;color:#b9ccd1;margin:10px 0 0}
#wealth-canvas{display:block;width:100%;height:180px;margin:0}
.wealth-readout{display:flex;gap:10px;justify-content:space-between;font-size:10px;color:#bacbd0;min-height:41px}
.wealth-readout span{flex:1}.wealth-readout strong{display:block;color:#f0f9f2;font-size:16px;font-weight:500;margin-top:6px;font-variant-numeric:tabular-nums}
.wealth-card-bottom{border-top:1px solid #fff2;margin-top:18px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:9px;line-height:1.5;color:#a9bec5}
.wealth-card-bottom>span{max-width:62%}.wealth-card-bottom button{font-size:11px;color:#c5efdb;white-space:nowrap;padding:7px 0;border:0;background:none}
.wealth-orbit{position:absolute;z-index:0;width:400px;height:400px;left:50%;top:50%;border:1px solid #b5e7ce16;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.orbit-one{width:560px;height:560px}.orbit-two{width:650px;height:650px;border-style:dashed;animation:wealth-orbit 70s linear infinite}
.wealth-transport{position:absolute;bottom:38px;left:6%;right:6%;display:flex;align-items:end;justify-content:space-between;gap:30px}
.wealth-chapters{display:flex;gap:25px;max-width:720px;flex:1}.wealth-chapters button{flex:1;position:relative;padding:17px 0;background:none;border:0;border-top:1px solid #ffffff26;color:#acbdc4;font-size:12px;cursor:pointer;text-align:left}
.wealth-chapters button span{font-size:10px;margin-right:9px;color:#b7e9cf}.wealth-chapters button[aria-pressed=true]{color:#f1faf5}
.wealth-chapters button i{position:absolute;top:-1px;left:0;height:2px;background:#b8e6ce;width:100%;transform:scaleX(0);transform-origin:left}
.wealth-hint{font-size:10px;color:#b3c8c9;padding-bottom:17px}
#wealth-input{margin-top:15px}#wealth-input label{font-size:11px;color:#dbebe1}.wealth-input-row{display:flex;align-items:center;gap:20px;margin:10px 0 16px}
#wealth-range{flex:1;accent-color:#b8e6ce;width:100%;padding:0;border:0;background:none;height:24px;cursor:pointer}.wealth-input-row output{font-size:17px;min-width:85px;text-align:right}
.wealth-use{width:100%;border:0!important;background:#b8e6ce!important;color:#102c23!important;border-radius:10px;padding:12px 15px!important;display:flex;justify-content:space-between;font-size:12px!important}
.wealth-card button:focus-visible,.wealth-chapters button:focus-visible{outline:2px solid #b8e6ce;outline-offset:5px}
.journey{position:sticky;top:0;z-index:5;background:#fff}
@keyframes cinema{to{transform:scale(1.07) translate(-8px,-5px)}}@keyframes wealth-arrival{from{opacity:0;translate:0 40px}to{opacity:1;translate:0 0}}@keyframes wealth-orbit{to{transform:translate(-50%,-50%) rotate(360deg)}}
@media(max-width:1050px){.hero-copy{width:43%}.hero h1{font-size:58px}.wealth-stage{left:51%;right:4%}.wealth-card{padding:22px}.wealth-hint{display:none}}
@media(max-width:760px){.hero{height:auto;min-height:1060px;padding-bottom:120px}.hero nav{padding:22px 6%}.hero nav>div>a:not(.nav-button){display:none}.hero-copy{position:relative;left:auto;top:auto;margin:54px 7% 38px;width:86%;max-width:none}.hero h1{font-size:54px;letter-spacing:-2.5px}.hero-copy>p:not(.eyebrow){font-size:17px}.hero-copy small{font-size:11px}.wealth-stage{position:relative;left:auto;right:auto;top:auto;margin:0 7%;height:auto}.wealth-card{padding:22px;transform:rotateY(-7deg) rotateX(5deg) rotateZ(-1deg)}.wealth-value{font-size:44px}#wealth-canvas{height:155px}.wealth-transport{left:7%;right:7%;bottom:26px}.wealth-chapters{gap:15px}.wealth-chapters button{font-size:10px;line-height:1.6}.wealth-chapters button span{display:block;margin-bottom:4px}.orbit-two{width:460px;height:460px}.orbit-one{width:390px;height:390px}}
@media(prefers-reduced-motion:reduce){.cinematic-backdrop,.wealth-card,.wealth-orbit{animation:none;transition:none}.hero{scroll-behavior:auto}}

/* Keep chapters in reserved slots; longer explanations must not move the canvas or tabs. */
.wealth-scene-label{min-height:28px}
.wealth-value{height:1.05em;white-space:nowrap}
.wealth-value-caption{min-height:42px}
.wealth-readout{min-height:72px}
.wealth-card-bottom{min-height:100px}
.wealth-card-bottom>span{min-height:90px;display:flex;align-items:center}
.wealth-chapters button{min-width:0;min-height:72px}
@media(min-width:761px){
  .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto;
    gap:56px 7%;height:auto;min-height:920px;padding:150px 6% 44px;box-sizing:border-box}
  .hero-copy{position:relative;top:auto;left:auto;width:auto;margin:0;align-self:center}
  .wealth-stage{position:relative;top:auto;left:auto;right:auto;height:auto;align-self:center;min-width:0}
  .wealth-transport{position:relative;bottom:auto;left:auto;right:auto;grid-column:1/-1;margin:0}
}

@media(max-width:760px){.hero-copy{margin:26px 7% 24px}.hero h1{font-size:44px;line-height:1.05;margin:16px 0}.hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.55;margin-bottom:20px}.hero-copy .eyebrow{font-size:9px;letter-spacing:2px}.hero-copy small{margin-top:12px}.wealth-value{font-size:36px}.wealth-scene-label{margin-top:20px}#wealth-canvas{height:145px}.wealth-card{padding:20px}.hero{min-height:1010px}}
@media(max-width:760px){
  .hero{padding-bottom:30px}
  .wealth-value{font-size:32px}
  .wealth-value-caption{min-height:60px}
  .wealth-card-bottom{min-height:145px}
  .wealth-card-bottom>span{min-height:135px}
  .wealth-transport{position:relative;bottom:auto;left:auto;right:auto;margin:48px 7% 0}
  .wealth-chapters button{min-height:90px}
}
