/* GeoTerva — the film of the home page, drawn by code (2026-10-23; before it was an MP4, 12 MB, English only).
   The frame holds a headline that changes with the scene and, under it, the REAL screen of the anchored sheet pile module: its own markup
   (assets/home/hero-module.js, captured from the module page) with its own styles (assets/home/hero-module.css, scoped under .hs .mod), laid out
   at the width of a laptop (or of a phone when the frame is tall) and scaled to the frame; a pointer moves over it, clicks and types (hero-anim.js).
   The section drawing on the left is an SVG inside the module's drawing card. Sizes of the film's own parts are in --u = 1 % of the frame width
   (a container query unit; a fixed fallback where it is not known). Motion is opacity and transform only. */
.hs{position:absolute;inset:0;overflow:hidden;background:#0c2140;color:#fff;font-family:var(--gt-body,"Source Sans 3","Segoe UI",system-ui,sans-serif);--u:6.9px;container-type:size;--grn:#7fbf3f;--grn2:#9cc069;--navy:#0c2140;user-select:none;-webkit-user-select:none}
@supports (width:1cqw){.hs{--u:1cqw}}
.hs *{box-sizing:border-box}
.hs .sky{position:absolute;inset:0;background:radial-gradient(120% 80% at 50% -10%,#1b3f78 0%,#0c2140 60%)}
.hs .stage{position:absolute;inset:0;display:flex;flex-direction:column;padding:calc(var(--u)*2.2) calc(var(--u)*2.6) calc(var(--u)*2.4)}
/* the headline: two lines and a small line, replaced scene by scene; the steps under it */
.hs .head{position:relative;flex:none;height:calc(var(--u)*13.6);font-family:var(--gt-display,"Lexend","Segoe UI",system-ui,sans-serif);text-align:center}
.hs .head .h{position:absolute;inset:0;opacity:0;transform:translateY(calc(var(--u)*1.2));transition:opacity .45s ease,transform .45s ease;pointer-events:none}
.hs .head .h.on{opacity:1;transform:none}
.hs .head b{display:block;font-weight:700;font-size:calc(var(--u)*4.4);line-height:1.08;letter-spacing:-.01em;text-wrap:balance}
.hs .head b.g{color:var(--grn)}
.hs .head small{display:block;margin-top:calc(var(--u)*.7);font-family:var(--gt-body,"Source Sans 3","Segoe UI",system-ui,sans-serif);font-weight:500;font-size:calc(var(--u)*2.2);line-height:1.3;color:#d9e4f2;text-wrap:balance}
.hs .chips{display:flex;justify-content:center;gap:calc(var(--u)*1.3);margin-top:calc(var(--u)*1.1)}
.hs .chips span{display:inline-flex;align-items:center;gap:calc(var(--u)*.7);padding:calc(var(--u)*.5) calc(var(--u)*1.4);border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:calc(var(--u)*1.95);font-weight:600;color:#fff;opacity:0;transform:translateY(calc(var(--u)*.8));transition:opacity .4s ease,transform .4s ease}
.hs .chips span svg{width:calc(var(--u)*2);height:calc(var(--u)*2);stroke:var(--grn2);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hs .h.on .chips span{opacity:1;transform:none}
.hs .h.on .chips span:nth-child(2){transition-delay:.15s}.hs .h.on .chips span:nth-child(3){transition-delay:.3s}
.hs .steps{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:calc(var(--u)*1.4);opacity:0;transition:opacity .4s ease;font-family:var(--gt-body,"Source Sans 3","Segoe UI",system-ui,sans-serif)}
.hs[data-flow] .steps{opacity:1}
.hs .steps span{display:inline-flex;align-items:center;gap:calc(var(--u)*.5);font-size:calc(var(--u)*1.8);font-weight:600;color:rgba(255,255,255,.5);white-space:nowrap}
.hs .steps span em{font-style:normal}
.hs .steps i{display:inline-grid;place-items:center;width:calc(var(--u)*2.7);height:calc(var(--u)*2.7);border-radius:50%;border:2px solid rgba(255,255,255,.35);font-style:normal;font-size:calc(var(--u)*1.5);font-weight:700;transition:background .3s,border-color .3s,color .3s}
.hs .steps span.on{color:#fff}.hs .steps span.on i{background:var(--grn);border-color:var(--grn);color:var(--navy)}
.hs .steps span.done i{border-color:var(--grn);color:var(--grn);background:rgba(127,191,63,.15)}
/* the body: the window of the module, or the end */
.hs .body{position:relative;flex:1 1 auto;min-height:0;margin-top:calc(var(--u)*1.5)}
.hs .body>div{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;pointer-events:none}
.hs .body>div.on{opacity:1}
/* the window: the module's screen, scaled into it */
.hs .win{position:absolute;background:#f4f7fb;color:#152033;border-radius:calc(var(--u)*1.3);box-shadow:0 calc(var(--u)*2.2) calc(var(--u)*5.5) rgba(0,0,0,.45);overflow:hidden;transform:translateY(calc(var(--u)*1.5));transition:opacity .5s ease,transform .6s ease}
.hs .win.on{transform:none}
/* the module box: the scoped module styles (hero-module.css) draw it; here only what the film changes */
.hs .mod{display:flex;flex-direction:column;text-align:left;user-select:none}
.hs .mod header.run-head{flex:none}
.hs .mod .studio{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 605px;gap:16px;padding:12px 16px 16px;height:auto;max-height:none}
.hs .mod.tall .studio{grid-template-columns:minmax(0,1fr);grid-template-rows:215px minmax(0,1fr);gap:10px;padding:8px}
.hs .mod.tall .rw-analyze-txt span{display:none}.hs .mod.tall .rw-analyze{padding-top:8px;padding-bottom:8px}
.hs .mod .studio-stage,.hs .mod .studio-panel{min-height:0;height:100% !important;max-height:none !important;position:static !important;top:auto !important}
.hs .mod .studio-stage{display:flex !important;flex-direction:column !important;padding:0 !important}
.hs .mod .studio-canvas{flex:1 1 auto !important;height:auto !important;max-height:none !important;min-height:0;display:flex !important;flex-direction:column !important;align-items:stretch !important;justify-content:flex-start !important;position:relative;aspect-ratio:auto !important}
.hs .mod .studio-canvas .viewbar{flex:none !important;position:static !important}
.hs .mod [hidden]{display:none !important}
.hs .mod .studio-canvas .viewbar{flex:none}
.hs .mod .studio-canvas svg.hs-section{flex:1 1 auto;min-height:0;width:100%;height:100%;display:block}
.hs .mod .studio-panel{display:flex;flex-direction:column;overflow:hidden;padding:0 !important}   /* the module pads the panel for its sticky header and bar; in the box there is neither */
.hs .mod .studio-tabs{flex:none}
.hs .mod .mod-scroll{flex:1 1 auto;min-height:0;overflow:hidden;position:relative}
.hs .mod .mod-scroll>.studio-tabpage{display:none}.hs .mod .mod-scroll>.studio-tabpage.on{display:block}
.hs .mod .mod-scroll>.studio-tabpage.on>.input-section{display:none}.hs .mod .mod-scroll>.studio-tabpage.on>.input-section.on{display:block}
.hs .mod .gc-flow{display:flex}   /* the Back/Next of each card stays: the film presses Next to go on (v4) */
.hs .mod .hs-abar{flex:none}
.hs .mod .hs-type{outline:2px solid #173f7c;outline-offset:-1px;box-shadow:0 0 0 3px rgba(23,63,124,.18)}
.hs .mod .hs-press{transform:scale(.96)}
.hs .mod .gc-layrow.hs-hide{display:none}
.hs .mod .gc-method-btn,.hs .mod .btn{transition:transform .12s,background .2s,color .2s,border-color .2s}
/* the pointer and the flash of a click */
.hs .ptr{position:absolute;left:0;top:0;width:calc(var(--u)*3);height:calc(var(--u)*3.6);opacity:0;transition:transform .5s cubic-bezier(.3,.9,.3,1),opacity .3s;pointer-events:none;z-index:4;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.hs .ptr.on{opacity:1}
.hs .flash{position:absolute;inset:0;background:rgba(127,191,63,0);transition:background .2s;pointer-events:none}
.hs .flash.on{background:rgba(127,191,63,.22);transition:none}
/* the drawing: the section of the wall; each part of the model appears when it is entered */
.hs .hs-section .lay,.hs .hs-section .gwt,.hs .hs-section [data-k="wall"],.hs .hs-section .anc,.hs .hs-section .sur,.hs .hs-section .eq,.hs .hs-section .res{opacity:0;transition:opacity .5s ease}
.hs .hs-section .lay.on,.hs .hs-section .gwt.on,.hs .hs-section [data-k="wall"].on,.hs .hs-section .anc.on,.hs .hs-section .sur.on,.hs .hs-section .eq.on,.hs .hs-section .res.on{opacity:1}
.hs .hs-section [data-k="left0a"],.hs .hs-section [data-k="left1a"]{transition:opacity .6s ease}
.hs .hs-section [data-k="left0a"].cut,.hs .hs-section [data-k="left1a"].cut{opacity:0}
.hs .hs-section .gwt line{stroke:#2f7fd1;stroke-width:1.5;stroke-dasharray:7 5}
.hs .hs-section .dash{stroke:#4a5566;stroke-width:1.2;stroke-dasharray:6 4}
.hs .hs-section .dim{stroke:#2a3bd6;stroke-width:1}
.hs .hs-section .dimt{fill:#2a3bd6;font-size:12px;font-family:var(--gt-mono,ui-monospace,monospace)}
.hs .hs-section .lbl{fill:#3b4656;font-size:12px;font-weight:700;font-family:var(--gt-body,sans-serif)}
.hs .hs-section .lbl.small{font-weight:400;font-size:10.5px;fill:#596678}
.hs .hs-section .lbl.blue{fill:#2f7fd1;font-size:10.5px;font-weight:600}
.hs .hs-section .tag{fill:#152033;font-size:11.5px;font-weight:600;font-family:var(--gt-body,sans-serif);paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.hs .hs-section .tag.red{fill:#b3261e}.hs .hs-section .tag.blue{fill:#173f7c}
/* the end */
.hs .end{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:calc(var(--u)*1.5)}
.hs .end .brand{display:flex;align-items:center;gap:calc(var(--u)*1.6);margin-bottom:calc(var(--u)*1.2);font-family:var(--gt-display,"Lexend",sans-serif);font-weight:700;font-size:calc(var(--u)*5.2);letter-spacing:.01em}
.hs .end .brand img{width:calc(var(--u)*7.6);height:auto;background:#fff;border-radius:calc(var(--u)*1.4);padding:calc(var(--u)*.7)}
.hs .end .brand .geo{color:#fff}.hs .end .brand .terva{color:var(--grn2)}
.hs .end .big{font-family:var(--gt-display,"Lexend",sans-serif);font-weight:800;font-size:calc(var(--u)*8);line-height:1;letter-spacing:-.01em}
.hs .end .big .g{color:var(--grn)}
.hs .end .free{font-size:calc(var(--u)*3);font-weight:600;color:#d9e4f2}
.hs .end .btn{display:inline-flex;align-items:center;gap:calc(var(--u)*1.1);margin-top:calc(var(--u)*.9);padding:calc(var(--u)*1.6) calc(var(--u)*3.4);border-radius:calc(var(--u)*1.5);background:#4d7c1f;color:#fff;font-family:var(--gt-display,"Lexend",sans-serif);font-weight:700;font-size:calc(var(--u)*2.8);box-shadow:0 calc(var(--u)*1.2) calc(var(--u)*3) rgba(0,0,0,.35);transform:scale(.92);transition:transform .5s cubic-bezier(.3,1.4,.4,1)}
.hs .end.on .btn{transform:none}
.hs .end .btn svg{width:calc(var(--u)*2.8);height:calc(var(--u)*2.8);fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hs .end .chips{margin-top:calc(var(--u)*1.1)}
.hs .end.on .chips span{opacity:1;transform:none}
/* a tall frame (a phone): the headline larger relative to the width */
@container (max-aspect-ratio:4/5){
  .hs .stage{padding:calc(var(--u)*3.2) calc(var(--u)*3.6) calc(var(--u)*3.4)}
  .hs .head{height:calc(var(--u)*21)}
  .hs .head b{font-size:calc(var(--u)*6.8)}.hs .head small{font-size:calc(var(--u)*3.2);margin-top:calc(var(--u)*1.3)}
  .hs .chips span{font-size:calc(var(--u)*2.8);padding:calc(var(--u)*.8) calc(var(--u)*2)}.hs .chips span svg{width:calc(var(--u)*2.8);height:calc(var(--u)*2.8)}
  .hs .steps{gap:calc(var(--u)*1.2)}.hs .steps span{font-size:calc(var(--u)*2.2)}.hs .steps span:not(.on) em{display:none}
  .hs .steps i{width:calc(var(--u)*3.8);height:calc(var(--u)*3.8);font-size:calc(var(--u)*2.1)}
  .hs .body{margin-top:calc(var(--u)*2.4)}
  .hs .ptr{width:calc(var(--u)*4.4);height:calc(var(--u)*5.2)}
  .hs .end .brand{font-size:calc(var(--u)*7.5);gap:calc(var(--u)*2.2)}.hs .end .brand img{width:calc(var(--u)*11)}
  .hs .end .big{font-size:calc(var(--u)*12)}.hs .end .free{font-size:calc(var(--u)*4.4)}.hs .end .btn{font-size:calc(var(--u)*4.2);padding:calc(var(--u)*2.2) calc(var(--u)*4.4)}.hs .end .btn svg{width:calc(var(--u)*4);height:calc(var(--u)*4)}
}
@container (min-aspect-ratio:4/5) and (max-height:520px){
  .hs .head{height:calc(var(--u)*12)}
}
@media (prefers-reduced-motion:reduce){
  .hs .head .h,.hs .body>div,.hs .win,.hs .ptr,.hs .chips span,.hs .end .btn{transition:none !important;animation:none !important}
}
