/* Windowed desktop: preserve the composition and the complete scroll choreography.
   Scale the existing design units instead of replacing the page at 1100px. */
@media (min-width:700px) and (max-width:1360px) {
 :root { --u:clamp(.55px,min(100vw / 1280,100vh / 860),.9px); }
 #site { min-width:0; }
 #nav .wrap { min-height:64px; }
 #nav .wordmark { font-size:17px; }
 #nav .nav-links { font-size:13px; gap:22px; }
 #nav .pillbtn { min-height:40px; font-size:13px; }
 .nv-industry-panel { left:auto; right:0; }
 .contact-meta .cols { gap:24px; }
 .contact-meta .col a,.contact-meta .col span.v { font-size:13px; }
 .nv-footer-links { gap:12px 20px; font-size:12px; }
}
/* Keep text readable and the header clear as the same stage scales down. */
@media (min-width:700px) and (max-width:1360px), (min-width:700px) and (max-height:780px) {
 #process .stage-in { padding-top:max(106px,calc(125 * var(--u))); }
 #process .sec-head h2 { font-size:clamp(32px,3.5vw,48px); }
 #process .sec-head p { font-size:14px; line-height:1.55; max-width:32ch; margin-top:24px; }
 #process .sec-k { font-size:12px; }
 #process .swap-card h3 { font-size:clamp(26px,2.6vw,36px); }
 #process .swap-card p { font-size:13px; line-height:1.5; display:block; overflow:visible; }
 #process .sc-top { font-size:11px; }
 #process .sc-out li { font-size:11px; }
 #record .rec-head p { font-size:14px; }
 .rim-panel { top:max(112px,calc(108 * var(--u))); }
 .rim-panel p { font-size:14px; max-width:100%; }
 .rim-met { top:clamp(240px,48vh,300px); }
 .fl-i h4 { font-size:20px; }
 .fl-i p { font-size:13px; }
 .rd .cl { font-size:13px; }
 .reg .t { font-size:13px; }
 .rim-met .u { font-size:12px; }
}
@media (min-width:700px) and (max-height:700px) {
 #process .stage-in { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:32px; padding:106px 32px 30px; }
 #process .sec-head { align-self:center; }
 #process .stack-hold { height:100%; padding:25px 24px 12px 0; align-items:center; }
 #process .card-swap { --cw:100%; --chh:100%; max-height:440px; }
 #process .sec-head h2 { font-size:32px; }
 #process .swap-card { padding:18px 20px; }
 #process .swap-card h3 { font-size:26px; }
 #process .swap-card p { margin:12px 0; }
}
/* Desktop composition and motion, with responsive geometry only. */
@media(max-width:699px){
 :root{--u:1px;--hair:1px;--hair15:1.5px}
 #site{min-width:0;height:100dvh;cursor:auto}#site a,#site button{cursor:pointer;-webkit-tap-highlight-color:transparent}
 #scroller{overscroll-behavior-y:contain;scroll-padding-top:80px;scrollbar-gutter:auto}#content{overflow:clip}#cursor,#backdrop,#panel{display:none!important}
 .wrap,.container{width:100%;max-width:760px;padding-inline:24px;margin-inline:auto}
 #nav{background:rgba(24,25,27,.88);backdrop-filter:blur(18px);border-bottom:1px solid #eceae31a}#nav .wrap{height:72px;padding-inline:24px}#nav .logo svg{width:32px;height:30px}#nav .wordmark{font-size:17px;mix-blend-mode:normal}#nav .nav-links,#nav .nav-right{display:none}
 #hero.live-hero{height:auto;min-height:calc(100svh - 72px);padding-bottom:32px}#hero #live-hero-content{display:block;min-height:0;max-width:760px;padding:54px 24px 0}
 #hero h1{font-size:clamp(42px,10.5vw,74px)!important;line-height:1.01!important;letter-spacing:-.045em!important}#hero [data-delay="0"]{font-size:9px!important;gap:10px!important;margin-bottom:27px!important}
 #hero p[data-live-reveal]{font-size:16px!important;line-height:1.55!important;margin-top:27px!important;max-width:42ch!important}#hero #hero-cta{gap:10px!important;margin-top:28px!important;flex-wrap:wrap}#hero #hero-cta>a{font-size:13px!important;padding:14px 19px!important;min-height:46px}#hero [data-delay="520"]{font-size:10px!important;line-height:1.6;margin-top:17px!important}
 #hero .hero-capabilities{max-width:712px!important;width:100%!important;margin:38px auto 0!important;padding:21px 0 0!important;gap:12px!important}#hero .hero-capabilities>div{padding:0 10px 0 0!important}#hero .hero-capabilities>div>div:first-child{font-size:20px!important}#hero .hero-capabilities>div>div:last-child{font-size:11px!important;line-height:1.5!important;margin-top:9px!important}
 #pin-wrap{height:105svh}#stripes{height:100svh}#pin-wrap .pin-title{top:44%;text-align:center}.bridge-heading{font-size:clamp(28px,7.6vw,52px);line-height:1.12}.bridge-rule{margin:0 auto 26px;width:40px}
 #process{margin-top:-28svh;--paper-inset:12px;--paper-radius:24px}.chron{height:520svh}.swap-stage,#record,.rim-stage{height:100svh;min-height:690px;top:min(0px,calc(100svh - 690px))}
 #process .stage-in{display:flex;flex-direction:column;max-width:760px;padding:92px 24px 30px}#process .sec-head{display:block}.sec-head{display:block;gap:0}.sec-k{font-size:11px;gap:11px}.sec-k i{width:7px;height:7px}.sec-k .rule{width:44px}#process .sec-head .sec-k{margin-bottom:19px}#process .sec-head h2{font-size:34px;line-height:1.04;max-width:19ch}#process .sec-head p{font-size:14px;line-height:1.5;max-width:43ch;margin-top:18px}
 #process .stack-hold{width:100%;justify-content:center;align-items:center;padding:30px 14px 0 0}#process .card-swap{--cw:100%;--chh:100%;width:100%;max-width:520px;perspective:1000px}#process .swap-card{padding:19px 20px 18px;border-width:1.5px;border-radius:10px}.sc-top{font-size:10px;padding-bottom:13px}.swap-card h3{font-size:29px;margin-top:19px}.swap-card p{font-size:13px;line-height:1.5;margin:13px 0;display:block;overflow:visible}.sc-out{gap:6px;padding-top:0}.sc-out::before{display:none}.sc-out li{font-size:10px;padding:9px 8px;gap:10px;border-radius:5px;line-height:1.35}.sc-ico{width:18px;height:18px}.sc-rule{height:12px}
 .flood-in{padding-inline:24px}.flood-k{left:24px;right:24px;white-space:normal;font-size:10px;margin-bottom:25px}.fl-rules{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 16px;grid-auto-rows:1fr}.fl-i span{font-size:9px}.fl-i h4{font-size:18px;margin:12px 0}.fl-i p{font-size:12px;line-height:1.5}
 #record-wrap{height:235svh}#record .container{padding-top:76px;padding-bottom:28px}.rec-head{display:block;margin:18px 0 26px}.rec-head h2{font-size:36px}.rec-head p{font-size:14px;line-height:1.5;max-width:43ch;margin:17px 0 0}.scale{height:45px}.tick b{font-size:9px;bottom:27px}.tick{height:16px}.tick.on{height:22px}.tick.mi{height:6px}.gbody{display:block;padding:23px 20px 21px;overflow:hidden}.read{min-height:192px}.rd .ix{font-size:11px}#record .rd .fig.word{font-size:62px;line-height:.95;margin-top:21px}.rd .cl{font-size:14px;line-height:1.5;padding-top:22px;max-width:39ch}.reg{margin-top:25px}.reg div{grid-template-columns:20px 1fr auto;gap:10px;padding:10px 0}.reg .n,.reg .t,.reg .v{font-size:12px}
 #stackband{padding:45px 0 60px}.stack-row{display:block}.stack-row>.title{width:auto;font-size:16px;margin-bottom:24px}.stack-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%}.stack-list>div{font-size:20px;padding:18px 0;border-right:0;border-top:1px solid #eceae322}.stack-list>div:nth-child(even){padding-left:20px}.stack-list>div>span{font-size:11px}#stackband .divider{margin-top:42px}
 #work{padding-top:50px}#work .sec-head .sec-k{margin-bottom:21px}#work .sec-head h2{font-size:38px;line-height:1.04}#work .sec-head p{font-size:15px;line-height:1.5;margin-top:23px;max-width:43ch}.rim-wrap{height:660svh;margin-top:38px}.rim-in{width:100%;max-width:760px}.rim-panel{left:24px;right:24px;width:auto;top:104px}.rim-k{font-size:11px;margin-bottom:14px;gap:11px}.rim-panel h3{font-size:28px;line-height:1.08;margin-bottom:13px}.rim-panel p{font-size:14px;line-height:1.5;max-width:45ch}.rim-met{left:24px;right:24px;top:64%;width:auto;gap:17px 22px}.rim-met>div{padding-top:11px}.rim-met .v{font-size:25px}.rim-met .u{font-size:11px;line-height:1.4;margin-top:6px}.rim-o h4{font-size:clamp(30px,7.4vw,56px);white-space:nowrap}.rim-o p{font-size:14px;line-height:1.5;max-width:32ch;margin-top:25px}.rim-o i{width:.56em;height:.56em}
 #contact{padding:66px 0 22px}.contact-grid{display:block;margin:0}.h2-light{font-size:44px;line-height:1.06;letter-spacing:-.045em}.contact-grid .r{padding-top:28px;max-width:440px}.btn{width:100%;height:48px;font-size:14px}.contact-meta{display:flex;flex-direction:column;gap:30px;margin-top:44px}.contact-meta .l{display:block}.contact-meta .cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-meta .col .title{font-size:11px}.contact-meta .col a,.contact-meta .col span.v{font-size:12px;overflow-wrap:anywhere}.contact-meta .l>.title{font-size:11px}#wordlines{height:27vw;max-height:220px;margin-top:40px}.wordlines canvas{width:100%;height:100%}#ldr .ldr-word{font-size:clamp(28px,8vw,64px)}
 .rec-head p,.reg div{color:#999a91}.tick b{color:#94958c}.reg div.on{color:#eceae3}
 #contact [data-fade]{opacity:1}
}
@media(max-width:699px) and (max-height:750px){
 #process .stage-in{padding-top:85px;padding-bottom:20px}#process .sec-head .sec-k{margin-bottom:14px}#process .sec-head h2{font-size:29px}#process .sec-head p{font-size:13px;margin-top:13px}#process .stack-hold{padding-top:22px}.swap-card h3{font-size:26px;margin-top:15px}.swap-card p{font-size:12px;line-height:1.45}.sc-top{padding-bottom:10px}.sc-out li{font-size:9px}.fl-rules{gap:21px 20px}.fl-i h4{font-size:18px}.fl-i p{font-size:12px}.rec-head h2{font-size:32px}.read{min-height:170px}#record .rd .fig.word{font-size:54px}.reg{margin-top:16px}.rd .cl{font-size:13px}.rim-panel{top:94px}.rim-panel h3{font-size:26px}.rim-panel p{font-size:13px}.rim-met .v{font-size:22px}
}
/* Fit the complete animated stages even on short phones; never crop the top. */
@media(max-width:699px) and (max-height:689px){
 .swap-stage,#record,.rim-stage{height:100svh;min-height:0;top:0}
 #process .stage-in{padding:86px 20px 18px}#process .sec-head .sec-k{font-size:9px;margin-bottom:10px}#process .sec-head h2{font-size:26px}#process .sec-head p{font-size:12px;line-height:1.45;margin-top:10px}
 #process .stack-hold{padding:24px 12px 0 0}#process .swap-card{padding:14px}.sc-top{font-size:9px;padding-bottom:9px}.swap-card h3{font-size:23px;margin-top:12px}.swap-card p{font-size:11px;line-height:1.45;margin:10px 0}.sc-out li{font-size:9px;padding:7px;gap:6px}.sc-ico{width:14px;height:14px}
 .flood-in{padding-inline:20px}.fl-rules{gap:24px 14px}.fl-i h4{font-size:15px;margin:8px 0}.fl-i p{font-size:11px;line-height:1.4}.fl-i span{font-size:8px}.flood-k{left:20px;right:20px;font-size:9px;margin-bottom:18px}
 #record .container{padding-top:82px;padding-bottom:18px}.rec-head{margin:10px 0 16px}.rec-head h2{font-size:28px}.rec-head p{font-size:12px;line-height:1.45;margin-top:12px}.scale{height:34px}.tick b{font-size:8px;bottom:20px}.gbody{padding:16px}.read{min-height:130px}#record .rd .fig.word{font-size:46px;margin-top:14px}.rd .ix{font-size:9px}.rd .cl{font-size:12px;padding-top:15px}.reg{margin-top:12px}.reg div{padding:8px 0}.reg .n,.reg .t,.reg .v{font-size:10px}
 .rim-panel{top:88px;left:20px;right:20px}.rim-k{font-size:9px;margin-bottom:9px}.rim-panel h3{font-size:22px;margin-bottom:9px}.rim-panel p{font-size:12px;line-height:1.45}.rim-met{left:20px;right:20px;top:66%;gap:12px 18px}.rim-met>div{padding-top:8px}.rim-met .v{font-size:21px}.rim-met .u{font-size:10px;margin-top:4px}
}
/* The same desktop composition becomes two columns when a phone is rotated. */
@media(max-width:699px) and (max-height:599px) and (min-aspect-ratio:5/4){
 .swap-stage,#record,.rim-stage{height:100svh;min-height:0;top:0}
 #process .stage-in{display:grid;grid-template-columns:.85fr 1.2fr;gap:28px;max-width:100%;padding:90px 32px 20px}
 #process .sec-head h2{font-size:27px}#process .sec-head p{font-size:12px;margin-top:14px}#process .sec-head .sec-k{margin-bottom:14px}
 #process .stack-hold{height:100%;padding:12px 12px 0 0}#process .swap-card{padding:12px 14px}
 .sc-top{font-size:9px;padding-bottom:8px}.swap-card h3{font-size:23px;margin-top:10px}.swap-card p{font-size:11px;line-height:1.4;margin:9px 0}.sc-out li{font-size:9px;padding:7px;gap:6px}.sc-ico{width:16px;height:16px}
 .fl-rules{grid-template-columns:repeat(3,1fr);gap:17px 25px}.fl-i h4{font-size:17px;margin:7px 0}.fl-i p{font-size:11px;line-height:1.35}.flood-k{margin-bottom:14px;font-size:9px}
 #record .container{max-width:100%;padding:80px 32px 10px}.rec-head{display:flex;align-items:center;gap:24px;margin:10px 0 15px}.rec-head h2{font-size:27px;white-space:nowrap}.rec-head p{font-size:12px;margin:0;max-width:43ch}.scale{height:30px}.tick b{font-size:8px;bottom:15px}.tick{height:10px}.tick.on{height:15px}.tick.mi{height:5px}
 .gbody{display:grid;grid-template-columns:1fr 240px;gap:24px;padding:13px 17px}.read{min-height:133px}#record .rd .fig.word{font-size:44px;margin-top:12px}.rd .cl{font-size:11px;padding-top:12px}.reg{margin:0}.reg div{padding:8px 0}.reg .n,.reg .t,.reg .v{font-size:10px}
 .rim-panel{top:90px;left:32px;right:auto;width:40%}.rim-panel h3{font-size:27px}.rim-panel p{font-size:12px}.rim-k{font-size:9px;margin-bottom:10px}.rim-met{left:32px;right:auto;width:40%;top:62%;grid-template-columns:1fr 1fr;gap:10px 18px}.rim-met .v{font-size:19px}.rim-met .u{font-size:9px}.rim-met>div{padding-top:6px}.rim-o{top:58%}.rim-o h4{font-size:44px}.rim-o p{font-size:12px;margin-top:17px}
}
