/* Fit the composition to available screen height, not a fixed desktop canvas. */
@media(min-width:701px){
.hero{min-height:100svh;padding-top:90px}
.hero-layout{width:min(1510px,calc(100% - 80px));grid-template-columns:minmax(0,51%) minmax(0,49%);min-height:calc(100svh - 90px);align-items:center}
.hero-left{padding:28px 0 34px;max-width:650px}
.hero-heading{font-size:clamp(54px,min(6.7vw,9svh),108px);line-height:.94;margin:22px 0}
.hero-desc{font-size:clamp(13px,1.1vw,16px);line-height:1.65;margin-bottom:22px}
.hero-buttons .btn{min-height:48px;padding:0 22px;font-size:12px}
.keywords{margin-top:20px}
.hero-search{margin-top:22px;padding:12px 15px;width:min(500px,100%)}
.search-topline{margin-bottom:9px}.search-input{min-height:44px}.search-found{padding-top:9px}.search-honesty{margin-top:6px}
.hero-right{height:calc(100svh - 120px);min-height:0;max-height:900px;width:100%;align-self:end;overflow:hidden}
.hero-person{width:100%;height:100%;right:0;bottom:0;object-fit:contain;object-position:center bottom;transform:none}
.scroll-indicator{display:none}
}
@media(min-width:701px) and (max-height:760px){
.hero-heading{font-size:clamp(48px,8.5svh,70px);margin:16px 0}
.hero-left{padding:18px 0}.hero-desc{font-size:13px;margin-bottom:16px}.keywords{margin-top:14px}
.hero-search{margin-top:16px}.hero-search .search-found,.hero-search .search-honesty{display:none}
}
@media(max-width:700px){
.hero{min-height:0;padding-bottom:20px}.hero-layout{min-height:0}
.hero-left>.eyebrow{margin-top:22px;font-size:7px}
.hero-heading{font-size:clamp(44px,11.5vw,70px);margin:18px 0 8px;line-height:.96}
.hero-right{order:3;height:clamp(230px,36svh,330px);min-height:0;margin:0 auto 12px;max-width:420px}
.hero-person{width:100%;height:100%;right:0;bottom:0;transform:none;object-position:center bottom}
.hero-desc{order:4;margin-bottom:16px;line-height:1.65;font-size:12px}
.hero-buttons{order:5;flex-direction:row;margin:0}.hero-buttons .btn{min-height:48px;font-size:10px;width:auto}
.keywords{order:6;margin-top:18px}.hero-name-track{display:none}.hero-search{order:7;margin:20px 0 0}
}
/* Keep the open laptop clear of the fixed header and the story captions. */
.nf-stage{min-height:0}
.nf-machine{width:min(68vw,calc((100svh - 350px)*1.56),1000px);top:calc(140px + (100svh - 350px)/2)}
.nf-copy{bottom:64px;max-width:65%}.nf-copy h2{font-size:clamp(28px,3vw,46px);letter-spacing:-1.5px;max-width:680px;margin-bottom:10px}.nf-copy p{max-width:560px;font-size:13px;line-height:1.5}.nf-chapter{margin-bottom:10px}
.nf-controls{bottom:72px}.nf-exit{bottom:65px}
@media(max-width:700px){
.nf-machine{width:min(82vw,calc((100svh - 350px)*1.56));top:calc(125px + (100svh - 350px)/2)}
.nf-copy{bottom:95px;max-width:80%}.nf-copy h2{font-size:clamp(26px,7vw,34px)}.nf-copy p{font-size:11px;max-width:300px}.nf-controls{bottom:100px}
.nf-search-logo{font-size:clamp(14px,4.8vw,22px)}.nf-suggestions{padding-top:7px;line-height:2}.nf-search-scene{padding-top:7%}
}
@media(max-height:550px) and (min-width:701px){
.nf-top{top:100px}.nf-machine{width:min(46vw,calc((100svh - 170px)*1.56));left:68%;top:calc(130px + (100svh - 170px)/2)}
.nf-copy{max-width:36%;bottom:55px}.nf-copy h2{font-size:28px}.nf-controls{display:none}.nf-copy p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.nf-stage{height:max(700px,100svh)}}

/* Mobile-only portrait-free opening; desktop rules remain unchanged. */
@media(max-width:700px){
  .hero-right{display:none}
  .hero-heading{margin-bottom:24px}
  .hero{padding-bottom:32px}
}
