/* Six persistent sections. A static, readable long document remains without JS. */
html.scene-navigation,html.scene-navigation body {height:100%;overflow:hidden}
.scene-navigation .site-header {position:fixed;top:max(16px,env(safe-area-inset-top));left:50%;margin:0;transform:translateX(-50%);z-index:50}
.scene-navigation .scene-deck {position:fixed;inset:0;isolation:isolate;overflow:hidden;height:100%;height:100dvh}
.scene-navigation .scene {position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-top:120px;padding-bottom:max(48px,env(safe-area-inset-bottom));scroll-padding-top:120px;scrollbar-gutter:stable;touch-action:pan-y pinch-zoom}
.scene-navigation .scene-active {z-index:2}
.scene-navigation .scene-entering {z-index:3;pointer-events:none}
.scene-navigation .scene-leaving {z-index:1;pointer-events:none}
.scene-navigation .scene > .section {padding-top:32px;padding-bottom:40px}
.scene-navigation .scene > .hero {min-height:calc(100dvh - 170px);padding-top:24px;padding-bottom:34px}
.scene-navigation .scene > .services-wrap,.scene-navigation .scene > .contact-wrap {margin-top:8px;margin-bottom:16px}
.scene-navigation .services-section,.scene-navigation .contact-section {padding-top:44px;padding-bottom:48px}
.scene-navigation .about-section {min-height:calc(100dvh - 180px);align-items:center}
.scene-navigation .scene > .faq-section {padding-top:72px;padding-bottom:72px}
.scene-navigation .site-footer {padding-bottom:0}
.scene-navigation .motion-layer {backface-visibility:hidden}
.scene-navigation .scene-entering .motion-layer,.scene-navigation .scene-leaving .motion-layer {will-change:translate,opacity}
#main-nav a[aria-current="page"] {color:#fff;background:rgba(132,198,238,.12);box-shadow:inset 0 -2px 0 rgba(139,232,246,.8)}
#main-nav a {border-radius:18px}
.step-controls {display:flex;gap:16px;align-items:center;flex-shrink:0}
.step-controls .button {min-height:48px;min-width:136px}
.step-controls button:disabled {opacity:.4;cursor:default;scale:1!important;transform:none!important}
.step-footer {gap:18px;flex-wrap:wrap}
.process-tabs {gap:14px}
.filters {gap:14px;padding:10px}
.scene-navigation h1:focus-visible,.scene-navigation h2:focus-visible {outline:3px solid #88edff;outline-offset:8px;border-radius:8px}
@media (min-width:801px) and (max-width:1060px) {
  .site-header {width:calc(100% - 48px);padding-left:20px;padding-right:20px}
  #main-nav {gap:2px}
  #main-nav a {padding-left:12px;padding-right:12px;font-size:13px}
}
@media (max-width:800px) {
  .scene-navigation .site-header {top:max(12px,env(safe-area-inset-top))}
  .scene-navigation .scene {padding-top:104px;scroll-padding-top:104px;padding-bottom:max(32px,env(safe-area-inset-bottom))}
  .scene-navigation .scene > .section {padding-top:20px;padding-bottom:32px}
  .scene-navigation .scene > .hero {padding-top:12px;min-height:0}
  .scene-navigation .services-section,.scene-navigation .contact-section {padding-top:32px;padding-bottom:32px}
  .scene-navigation .scene > .faq-section {padding-top:42px}
  .scene-navigation .about-section {min-height:0}
  #main-nav {max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
  .step-footer {align-items:stretch;flex-direction:column;gap:12px}
  .step-controls {gap:14px;justify-content:space-between}
  .step-controls .button {flex:1;min-width:0;padding:12px 10px;font-size:13px;gap:8px;white-space:nowrap}
  .filters {padding:10px;gap:12px}
  .process-tabs {gap:12px}
}
@media (prefers-reduced-motion:reduce) {.scene .motion-layer {translate:none!important}}
html.reduced-motion .scene .motion-layer {translate:none!important}
@media (forced-colors:active) {#main-nav a[aria-current="page"] {outline:2px solid Highlight}.step-controls button:disabled{color:GrayText;opacity:1}}

/* Workflow: layered horizontal movement inside a steady glass window.
   All step panels share one grid cell; the tallest reserves the reading area. */
.step-stage.workflow-ready {display:grid;isolation:isolate}
.workflow-ready > .step-panel {grid-area:1 / 1;min-width:0}
.workflow-ready > .step-offstage {visibility:hidden;pointer-events:none}
.workflow-ready > .step-panel[inert] {pointer-events:none}
.workflow-layer {backface-visibility:hidden}
.step-stage[data-transitioning] > .step-panel:not(.step-offstage) .workflow-layer {will-change:translate,opacity}
.step-stage[data-transitioning] > .step-panel[aria-hidden="false"] {z-index:1}
@media(prefers-reduced-motion:reduce) {.workflow-layer {translate:none!important}}
html.reduced-motion .workflow-layer {translate:none!important}
