/* Viewport-contained layout. JavaScript paginates semantic content, not scroll containers. */
.enhanced,.enhanced body{height:100%;overflow:hidden;overscroll-behavior:none}
.enhanced body{position:fixed;inset:0;width:100%;height:var(--app-height,100dvh)}
.enhanced .shell{height:100%;max-width:none;padding:0 clamp(8px,2.3vw,38px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0}
.enhanced .masthead{padding:clamp(10px,1.8vh,18px) 0;flex-wrap:nowrap;gap:20px;min-height:0}
.enhanced .wordmark{font-size:clamp(26px,3.8vh,38px)}.enhanced .block-cursor{height:16px;width:7px}
.enhanced .masthead>nav{display:none}.enhanced .masthead-location{display:block;font-size:9px;letter-spacing:.08em}
.enhanced .utility-line{display:none}.enhanced .book{height:100%;min-height:0;box-shadow:0 3px 0 #d0cfb6,0 4px 0 #69725e}
.enhanced .spine{flex-basis:27px;width:27px;font-size:9px;padding:12px 0}.enhanced .spine>span:nth-child(2){font-size:8px}
.enhanced .book-body{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}
.enhanced .chapter-tabs a{padding:clamp(10px,1.6vh,15px) clamp(7px,1.5vw,20px);font-size:10px}
.enhanced .chapter-tabs a span{font-size:8px}.enhanced .chapters{height:100%;min-height:0;overflow:hidden;touch-action:pan-y;perspective:none}
.enhanced .chapter{position:absolute;inset:0;height:100%;min-height:0;border:0;overflow:hidden}
.enhanced .screen{position:absolute;inset:0;height:100%;width:100%;display:block;background:var(--paper);--body-font:clamp(14px,1.12vw,18px);--screen-pad:clamp(16px,3vw,44px);font-size:var(--body-font);overflow:hidden;isolation:isolate}
.enhanced .screen-copy{padding:var(--screen-pad);height:100%;display:flex;flex-direction:column;gap:clamp(10px,1.7vh,20px);min-height:0;position:relative;z-index:1}
.enhanced .screen-flow{display:flex;flex-direction:column;gap:clamp(10px,1.7vh,20px);min-height:0;flex:1}
.enhanced .screen.has-art{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
.enhanced .screen-art{height:100%;min-height:0}.enhanced .screen-art .landscape,.enhanced .screen-art .terminal-plate{height:100%;min-height:0;aspect-ratio:auto}
.enhanced .screen-art .landscape-word{font-size:clamp(90px,11vw,180px)}
.enhanced .screen .eyebrow,.enhanced .screen .hero-badge{font-size:9px;line-height:1.45;margin:0}
.enhanced .screen h1{font-size:clamp(31px,min(4.7vw,7.8vh),78px);line-height:1.06;letter-spacing:-.043em;max-width:15ch;margin:0;text-wrap:balance}
.enhanced .screen h2{font-size:clamp(26px,min(4vw,6.5vh),62px);line-height:1.08;letter-spacing:-.035em;margin:0}
.enhanced .screen p{font-size:var(--body-font);line-height:1.48;margin:0}
.enhanced .hero-summary{display:flex;flex-direction:column;gap:clamp(12px,2.8vh,28px)}
.enhanced .hero-actions{margin-top:0;gap:8px}.enhanced .btn{font-size:10px;line-height:1.35;min-height:39px;padding:11px 14px;gap:10px}
.enhanced .screen .stats-bar{grid-column:auto;flex:none;border:1px solid var(--rule)}
.enhanced .screen .stat-item{padding:clamp(12px,2vh,25px);gap:16px}.enhanced .screen .stat-num{font-size:clamp(27px,4.7vh,55px)}
.enhanced .screen .stat-label{font-size:9px}.enhanced .screen .uptime-live{padding:clamp(14px,2vh,28px);border:1px solid var(--rule);grid-column:auto}
.enhanced .uptime-live-panel{grid-template-columns:1fr;gap:14px}.enhanced .uptime-live-title{font-size:clamp(19px,3.3vh,28px)}
.enhanced .uptime-live-copy{font-size:14px!important}.enhanced .uptime-live-grid{gap:22px}.enhanced .uptime-live-meta{font-size:10px}
.enhanced .uptime-live-components{gap:5px}.enhanced .uptime-component{font-size:9px}.enhanced .uptime-live-num{font-size:28px}
.enhanced .program-screen .screen-copy{padding:clamp(14px,2.1vh,26px);gap:clamp(10px,1.6vh,16px)}
.enhanced .program-screen .screen-flow{display:grid;grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));align-content:start;gap:0}
.enhanced .program-screen .service-card{border:1px solid var(--rule)!important;margin:-1px 0 0 -1px;background:var(--paper-light)}
.enhanced .service-titlebar{padding:10px 15px;font-size:9px}.enhanced .service-body{padding:clamp(14px,2vh,24px)}
.enhanced .service-icon{float:right;margin:0 0 6px 12px;width:36px;height:36px}.enhanced .service-icon svg{width:22px;height:22px}
.enhanced .service-card h3{font-size:clamp(23px,2.5vw,35px);max-width:none;margin:0 0 12px;line-height:1.08}
.enhanced .service-card p{clear:both;font-size:clamp(13px,1vw,16px);line-height:1.45}
.enhanced .process-screen .terminal-body{font:clamp(11px,1.05vw,15px)/1.65 var(--mono);overflow-wrap:anywhere}
.enhanced .terminal-body .comment{margin-top:0;display:block;margin-bottom:4px}.enhanced .terminal-body>div{animation:none}
.enhanced .process-step{flex:none}.enhanced .process-step+.process-step{margin-top:5px}
.enhanced .info-row{font-size:11px;padding:10px 0;line-height:1.45}.enhanced .info-row:first-child{border-top:1px solid var(--rule)}
.enhanced .about-info{margin:0;border:0;display:flex;flex-direction:column;gap:0}.enhanced .info-screen .screen-flow{gap:0}
.enhanced .company-info{margin-top:14px!important;border-top:1px solid var(--rule);padding-top:14px}
.enhanced .company-info p{font-size:13px}.enhanced .company-links{display:flex;flex-wrap:wrap;gap:8px 20px;font:11px/1.5 var(--mono);padding-top:14px}
.enhanced .company-links a{padding:4px 0;border-bottom:1px solid #9fa98b}
.enhanced .contact-detail{margin:0!important;padding:clamp(10px,2vh,18px) 0;font-size:11px;flex:none}.enhanced .contact-detail .cd-icon{flex-basis:22px}
.enhanced .contact-chooser{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.enhanced .contact-chooser button{font:10px/1.4 var(--mono);padding:9px 10px;min-height:38px;background:var(--ink);color:var(--paper);border:1px solid var(--ink)}
.enhanced .form-screen{display:flex;flex-direction:column;padding:clamp(14px,2.2vh,26px) clamp(16px,5vw,70px);gap:14px;background:#dce0cc;--screen-pad:0;border:0}
.enhanced .form-screen .contact-tabs{margin:0;min-height:0;flex:none;width:100%;max-width:800px;align-self:center}
.enhanced .form-screen .contact-tab{padding:10px 8px;font-size:11px}
.enhanced .contact-panel{position:relative;min-height:0;height:100%;flex:1;width:100%;max-width:800px;align-self:center}
.enhanced .form-page{position:absolute;inset:0;display:flex;flex-direction:column;gap:clamp(10px,1.6vh,16px);height:100%;min-height:0}
.enhanced .form-group{margin:0;flex:none}.enhanced .form-group label{font-size:11px;margin-bottom:5px}
.enhanced .form-group input,.enhanced .form-group select{min-height:36px;padding:8px 10px;font-size:13px;line-height:1.4}
.enhanced .form-group textarea{height:clamp(62px,11vh,105px);min-height:0;padding:8px 10px;font-size:13px;line-height:1.4;resize:none}
.enhanced .cf-turnstile{height:146px;min-height:146px;flex:none}.enhanced .cf-turnstile>div{line-height:0}
.enhanced .submit-unit{display:flex;flex-direction:column;gap:8px;flex:none}.enhanced .contact-panel .btn{margin:0;min-height:37px}
.enhanced .contact-status{margin:0;min-height:0;font-size:11px;line-height:1.4}
.enhanced .book-footer{min-height:44px;padding:6px 14px;flex-wrap:nowrap;gap:10px;font-size:9px}
.enhanced #chapter-label{white-space:nowrap}.enhanced .page-controls{gap:12px;display:flex}.enhanced .page-controls button{height:30px;width:36px;font-size:19px}
.enhanced #folio{font-size:10px;min-width:43px;text-align:center}
.enhanced .scroll-hint{color:var(--muted);font:9px var(--mono)}
.enhanced .site-footer{padding:9px 0 7px;display:flex;justify-content:space-between;align-items:center;gap:8px 20px;font:8px/1.5 var(--mono);min-height:0}
.enhanced .footer-copyright{max-width:100%;white-space:nowrap}.enhanced .footer-legal{display:flex;gap:6px 20px;flex-wrap:wrap;justify-content:flex-end}
.enhanced .footer-legal a{display:inline-flex;align-items:center;min-height:25px;font-size:9px}.enhanced .footer-legal a:focus-visible{outline-offset:0}
.enhanced .tw-char{position:relative}.enhanced .typing .tw-char{opacity:0}.enhanced .typing .tw-char.typed{opacity:1}
.enhanced .typing .tw-caret:after{content:'';position:absolute;right:-.06em;top:.14em;width:.05em;height:.85em;background:#567443;animation:cursor .75s steps(1) infinite}
.enhanced .dense{--body-font:12px;--screen-pad:12px}.enhanced .dense h1{font-size:28px}.enhanced .dense h2{font-size:24px}.enhanced .dense p{line-height:1.38}
.enhanced .measuring .screen{visibility:hidden!important;pointer-events:none}
@media(max-width:900px){.enhanced .spine{display:none}.enhanced .screen.has-art{grid-template-columns:1fr}.enhanced .screen-art{position:absolute;inset:0;z-index:-1;opacity:.14;pointer-events:none}.enhanced .screen-art figcaption,.enhanced .screen-art .landscape-frame,.enhanced .screen-art .landscape-word{display:none}.enhanced .screen.has-art .screen-copy{background:#eae5d4be}.enhanced .screen h1{font-size:clamp(32px,min(8.1vw,7.4vh),58px);max-width:18ch}.enhanced .screen h2{font-size:clamp(29px,min(7vw,6.5vh),48px)}.enhanced .screen{--body-font:clamp(14px,2.2vw,17px);--screen-pad:clamp(17px,4vw,30px)}.enhanced .hero-summary{gap:18px}.enhanced .screen-copy{gap:16px}.enhanced .screen-flow{gap:16px}.enhanced .service-card h3{font-size:clamp(24px,4.3vw,31px)}.enhanced .service-card p{font-size:14px}.enhanced .service-body{padding:17px}.enhanced .company-links{font-size:10px}.enhanced .masthead-location{font-size:8px}.enhanced .form-screen{padding:16px 20px}}
@media(max-width:600px){.enhanced .masthead{padding:12px 0 10px;gap:12px}.enhanced .masthead-location{display:none}.enhanced .chapter-tabs a{flex-direction:row;align-items:center;font-size:9px;gap:5px;padding:11px 6px}.enhanced .chapter-tabs a span{display:none}.enhanced .site-footer{flex-direction:column;gap:0;padding:6px 0 5px;align-items:stretch}.enhanced .footer-copyright{text-align:center;font-size:8px;line-height:1.4}.enhanced .footer-legal{justify-content:space-between;gap:4px}.enhanced .footer-legal a{font-size:8px;min-height:25px}.enhanced .scroll-hint{display:none}.enhanced .book-footer{padding:6px 10px;font-size:8px}.enhanced .screen .stat-item{padding:12px 9px}.enhanced .screen .stat-label{font-size:8px}.enhanced .screen .stat-num{font-size:29px}.enhanced .screen .uptime-live{padding:15px}.enhanced .uptime-live-panel{gap:13px}.enhanced .uptime-live-copy{font-size:13px!important}.enhanced .form-screen{padding:12px 17px;gap:10px}.enhanced .form-screen .contact-tab{font-size:10px;padding:8px 5px}.enhanced .contact-chooser{gap:7px}.enhanced .contact-chooser button{font-size:9px;padding:8px}.enhanced .hero-actions{flex-direction:row}.enhanced .hero-actions .btn{font-size:9px;padding:10px 12px}.enhanced .info-row{padding:9px 0;font-size:10px}.enhanced .screen .hero-badge{font-size:8px}}
@media(max-height:650px){.enhanced .screen{--body-font:14px;--screen-pad:18px}.enhanced .screen-copy,.enhanced .screen-flow{gap:12px}.enhanced .screen h1{font-size:clamp(28px,min(7.6vw,7.5vh),46px)}.enhanced .screen h2{font-size:clamp(25px,5.8vh,36px)}.enhanced .hero-summary{gap:14px}.enhanced .masthead{padding:9px 0}.enhanced .chapter-tabs a{padding-top:9px;padding-bottom:9px}.enhanced .service-body{padding:13px}.enhanced .service-card p{font-size:13px}.enhanced .service-card h3{font-size:25px;margin-bottom:9px}.enhanced .service-titlebar{padding:8px 12px}.enhanced .screen .uptime-live{padding:12px}.enhanced .uptime-live-panel{gap:10px}.enhanced .uptime-live-meta{font-size:9px}.enhanced .contact-detail{padding:10px 0}.enhanced .info-row{padding:8px 0}.enhanced .screen .stat-item{padding:10px}.enhanced .screen .stat-num{font-size:29px}.enhanced .screen .stats-bar{margin:0}.enhanced .form-page{gap:10px}}
@media(max-height:460px){.enhanced .masthead{padding:5px 0}.enhanced .wordmark{font-size:23px}.enhanced .chapter-tabs a{padding:6px 8px;font-size:9px}.enhanced .book-footer{min-height:34px;padding:3px 10px}.enhanced .page-controls button{height:27px;width:30px}.enhanced .site-footer{padding:3px 0;flex-direction:row;gap:6px}.enhanced .footer-copyright{font-size:7px;white-space:normal;text-align:left;max-width:155px}.enhanced .footer-legal{gap:7px;justify-content:flex-end}.enhanced .footer-legal a{font-size:7px;min-height:22px}.enhanced .screen{--body-font:12px;--screen-pad:12px}.enhanced .screen h1{font-size:29px;max-width:24ch}.enhanced .screen h2{font-size:25px}.enhanced .screen-flow,.enhanced .screen-copy{gap:8px}.enhanced .hero-summary{gap:10px}.enhanced .screen p{line-height:1.4}.enhanced .service-card p{font-size:12px}.enhanced .service-card h3{font-size:22px}.enhanced .service-titlebar{padding:6px 10px;font-size:8px}.enhanced .service-icon{width:28px;height:28px}.enhanced .service-body{padding:10px}.enhanced .form-screen{padding:8px 16px;gap:8px}.enhanced .form-screen .contact-tab{padding:6px;font-size:9px}.enhanced .form-group label{font-size:10px;margin-bottom:3px}.enhanced .form-group input,.enhanced .form-group select{min-height:31px;padding:6px 8px;font-size:12px}.enhanced .contact-detail{padding:8px;font-size:10px}.enhanced .screen .uptime-live{padding:10px}.enhanced .uptime-live-panel{gap:7px}.enhanced .uptime-live-copy{font-size:12px!important}.enhanced .uptime-live-title{font-size:19px}.enhanced .status-pill{padding:5px;font-size:8px}.enhanced .uptime-live-components{gap:3px}.enhanced .uptime-component{font-size:8px;padding:3px}.enhanced .uptime-live-num{font-size:20px}}

@media(max-width:900px){.enhanced .screen-art{z-index:0}.enhanced .screen.art-below{display:flex;flex-direction:column}.enhanced .art-below .screen-copy{height:auto;flex:none;background:var(--paper)}.enhanced .art-below .screen-flow{flex:none}.enhanced .art-below .screen-art{position:relative;inset:auto;flex:1;min-height:0;width:100%;opacity:1}.enhanced .art-below .landscape-word{display:block;font-size:clamp(65px,17vw,115px);bottom:26px}.enhanced .art-below .landscape-frame{display:flex;inset:14px 17px auto;font-size:8px}.enhanced .art-below .landscape-frame i{width:5px;height:5px}.enhanced .art-below .terminal-plate{padding:8px 20px}.enhanced .art-below .terminal-float{height:100%;width:auto}.enhanced .art-below .terminal-float img{height:100%;width:auto}.enhanced .art-below .terminal-plate figcaption{display:none}}

.enhanced .status-screen{background:#dce1ce}.enhanced .status-screen .screen-copy{background:#dce1ce}.enhanced .status-screen .screen-flow>.uptime-live-copy{font-size:var(--body-font)!important}.enhanced .status-screen .uptime-live-meta{flex:none}.enhanced .status-screen .uptime-live-head{flex:none}.enhanced .status-screen .uptime-live-grid{flex:none}.enhanced .status-screen .stats-bar{background:#eae5d4}.enhanced .status-screen .screen-flow{gap:clamp(12px,2.5vh,26px)}
@media(max-height:460px){.enhanced .status-screen .screen-flow{gap:10px}.enhanced .status-screen .screen-copy{gap:8px}.enhanced .status-screen .stat-label{font-size:8px}.enhanced .status-screen .stat-num{font-size:25px}}

.enhanced .terminal-body .comment{color:#52613f}.enhanced .company-signature{display:block;margin-top:12px;font:11px/1.5 var(--mono)}

/* Restored directional paper turn; overlay never changes layout or catches input. */
.enhanced .turn-layer{pointer-events:none;position:absolute;inset:0;perspective:1600px;z-index:10;overflow:hidden}
.enhanced .turn-strip{position:absolute;top:0;bottom:0;background:#e9e2cc;transform-origin:left center;backface-visibility:visible;will-change:transform}

/* Keep the complete form together; small screens scroll within this page. */
.enhanced .form-page{gap:8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px 5px 8px;scroll-padding-block:8px;scrollbar-gutter:stable}
@media(min-width:601px){
 .enhanced .form-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start}
 .enhanced .form-page>.form-group{grid-column:1/-1}
 .enhanced .form-page>.form-group:first-child,.enhanced .form-page>.form-group:nth-child(2){grid-column:auto}
 .enhanced .form-page>.submit-unit{align-self:end}
 .enhanced .form-page>.submit-unit:last-child:nth-child(odd){grid-column:1/-1}
}
@media(min-width:601px) and (max-height:700px){.enhanced .form-page textarea{height:62px}}
