/* Approved Design 03: discovery-page illustrations and motion. Never loaded by account/admin. */
[data-view=home] .hero-inner{grid-template-columns:1fr 1.08fr;gap:42px;padding-block:48px;min-height:640px}
[data-view=home] .hero-copy.reveal{animation:hero-copy-in 800ms cubic-bezier(.16,1,.3,1) both}
[data-view=home] .hero-copy h1{font-size:clamp(40px,4.1vw,60px)}
[data-view=home] .hero-copy h1 strong{position:relative;display:inline-block}
[data-view=home] .hero-copy h1 strong:after{content:'';position:absolute;inset-inline:0;bottom:3px;height:5px;background:var(--cyan);opacity:.55;transform-origin:right;animation:title-line 900ms 400ms both}
[data-view=home] .hero-copy .lead{font-size:15px;margin-block:24px}
.hero-studio{min-width:0;position:relative;border:1px solid #2d527e;border-radius:14px;background:#061a37;color:#eaf4ff;box-shadow:0 24px 65px #01245922;overflow:hidden;isolation:isolate;animation:studio-in 1000ms cubic-bezier(.16,1,.3,1) both;--step-time:2200ms;--art-line:#79a8db;--art-fill:#3582d4;--rebar:#00d4ff}
.hero-studio[data-stage="0"]{--step-time:2600ms}
.studio-top{padding:17px 20px;border-bottom:1px solid #36577c88;display:flex;align-items:center;justify-content:space-between;gap:10px;font:10px var(--mono);direction:ltr;color:#a2bddb}
.studio-top>span{display:flex;align-items:center;gap:8px}.studio-top i{width:6px;height:6px;border-radius:50%;background:#00d4ff;box-shadow:0 0 14px #00d4ff88}
[dir=rtl] .studio-top>span{font-family:var(--font);font-size:11px;direction:rtl}
.studio-canvas{position:relative;height:370px;direction:ltr;background:radial-gradient(ellipse at 58% 60%,#154c8166,transparent 65%);overflow:hidden}
.studio-canvas:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#6ba4d13a .8px,transparent .8px);background-size:22px 22px;pointer-events:none}
.structural-art{width:100%;height:100%;overflow:visible;transform-box:fill-box}
.hero-studio .structural-art{transition:transform 1100ms cubic-bezier(.16,1,.3,1),opacity 700ms;position:relative}
.structural-art .ground{stroke:var(--art-line);stroke-opacity:.2;stroke-width:.7;fill:none}
.structural-art .frame{stroke:var(--art-line);stroke-opacity:.75;stroke-width:1.8;fill:none}
.structural-art .beam-line{stroke:var(--art-line);stroke-opacity:.5;stroke-width:1.2;fill:none}
.structural-art .concrete{fill:var(--art-fill);fill-opacity:.14;stroke:var(--art-line);stroke-width:.8;stroke-opacity:.5}
.structural-art .front{fill-opacity:.2}.structural-art .side{fill-opacity:.32}.structural-art .top{fill-opacity:.12}
.structural-art .rebar{stroke:var(--rebar);stroke-width:2;fill:none;stroke-linecap:round}
.structural-art .tie{stroke:var(--rebar);stroke-width:1.2;fill:none;opacity:.85}
.structural-art .mesh{stroke:var(--rebar);stroke-width:1;stroke-opacity:.6;fill:none}
.model-floor{transform-box:fill-box;transform-origin:50% 100%;animation:floor-assemble 1100ms cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--floor)*170ms)}
.replaying .model-floor{animation-name:floor-replay}
.hero-studio .focus-member{opacity:.12;transition:opacity 700ms}
.hero-studio .focus-solid .concrete{fill:#0084fe;fill-opacity:.85;stroke:#00d4ff;stroke-width:1.5}
.hero-studio .focus-axis{stroke:#00d4ff;stroke-width:1;stroke-dasharray:3 6;opacity:.8}
.hero-studio .target-ring{stroke:#00d4ff;stroke-width:1;fill:#00d4ff11;transform-box:fill-box;transform-origin:center;opacity:0}
.hero-studio .trace{fill:none;stroke:#00d4ff;stroke-width:2.8;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:.7}
.hero-studio .hero-cage{opacity:0;transition:opacity 700ms}
.hero-studio:not([data-stage="0"]) .focus-member{opacity:1}
.hero-studio[data-stage="1"] .target-ring{animation:target-focus 1500ms both}
.hero-studio[data-stage="1"] .trace{animation:trace-member 1800ms ease both}
.hero-studio[data-stage="2"] .hero-cage,.hero-studio[data-stage="3"] .hero-cage{opacity:1}
.hero-studio[data-stage="2"] .focus-solid,.hero-studio[data-stage="3"] .focus-solid{opacity:.25}
.hero-studio[data-stage="2"] .structural-art,.hero-studio[data-stage="3"] .structural-art{transform:translateX(14%) scale(.87)}
.studio-coordinates{position:absolute;left:18px;bottom:18px;font:9px var(--mono);color:#82a3c6;display:grid;gap:7px}
.studio-coordinates span{font:10px var(--font)}
.focus-label{position:absolute;right:7%;top:26%;display:flex;align-items:center;gap:9px;background:#102c50dd;padding:8px 10px;border:1px solid #5580ad;border-radius:5px;opacity:0;transform:translateY(12px);transition:opacity 500ms,transform 700ms;font:10px var(--font)}
.focus-label bdi{font:12px var(--mono);color:#00d4ff}
.hero-studio:not([data-stage="0"]) .focus-label{opacity:1;transform:none}
.hero-studio[data-stage="2"] .focus-label,.hero-studio[data-stage="3"] .focus-label{opacity:0}
.section-inset{position:absolute;top:36px;left:16px;width:42%;max-width:230px;padding:15px 10px 4px;border:1px solid #527ba4;background:#0a2445ed;border-radius:8px;opacity:0;transform:translateX(-32px) scale(.9);transition:transform 800ms cubic-bezier(.16,1,.3,1),opacity 450ms;box-shadow:0 15px 40px #0002}
.section-inset>span{font:9px var(--font);color:#a3c7e8;display:block;text-align:center}
.section-graphic{display:block;width:100%;height:100%;max-height:320px;overflow:visible;--section-ink:#add2f6;--section-fill:#3582d418;--section-rebar:#00d4ff}
.section-graphic text{font:11px var(--mono);fill:var(--section-ink);direction:ltr}
.section-graphic .dimension{stroke:var(--section-ink);stroke-width:1;fill:none;opacity:.6}
.section-graphic .concrete{stroke:var(--section-ink);stroke-width:1.4;fill:var(--section-fill)}
.section-tie{stroke:var(--section-rebar);stroke-width:1.6;fill:none}
.section-bar{fill:var(--section-rebar)}
.hero-studio[data-stage="2"] .section-inset{opacity:1;transform:none}
.hero-studio[data-stage="2"] .section-bar{animation:rebar-appear 500ms both;animation-delay:calc(var(--bar)*65ms)}
.result-inset{position:absolute;left:18px;top:72px;width:45%;max-width:235px;border:1px solid #527ba4;background:#0c294beF;border-radius:8px;padding:17px;opacity:0;transform:translateY(28px);transition:transform 850ms cubic-bezier(.16,1,.3,1),opacity 550ms;box-shadow:0 15px 40px #0002}
.hero-studio[data-stage="3"] .result-inset{opacity:1;transform:none}
.result-inset>div:first-child{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:24px;font:12px var(--mono)}
.result-inset .tag{background:#164576;color:#9fd9ff;border:0;padding:4px 7px;font-size:9px;font-family:var(--font)}
.result-inset strong{font:600 19px var(--mono);display:block;white-space:nowrap}.result-inset strong small{font-size:10px}
.result-inset p{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:#b5d5f1;font-size:10px}.result-inset p bdi{font:14px var(--mono)}
.result-ratio{display:flex;gap:10px;align-items:center;font:12px var(--mono);border-block:1px solid #527ba466;margin-block:17px 12px;padding-block:12px}
.result-ratio span:last-child{display:flex;align-items:center;gap:3px;margin-left:auto;color:#79e3bb;font:10px var(--font)}.result-ratio .icon{width:12px;height:12px}
.studio-disclaimer{font:9px/1.7 var(--font);color:#9eb9d4;display:block}
.studio-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #36577c88;background:#07162f66;padding:0 14px}
.studio-steps button{position:relative;padding:15px 6px 18px;border:0;background:none;color:#83a5c7;font-size:11px;display:flex;gap:8px;align-items:center;justify-content:center;transition:color 300ms}
.studio-steps bdi{font:10px var(--mono);opacity:.6}.studio-steps button[aria-pressed=true]{color:#fff}.studio-steps button[aria-pressed=true] bdi{color:#00d4ff;opacity:1}
.studio-steps i{position:absolute;height:2px;bottom:0;inset-inline:6px;background:#00d4ff;transform:scaleX(0);transform-origin:right}
.studio-steps button[aria-pressed=true] i{animation:step-progress var(--step-time) linear forwards}
.studio-controls{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#a7c2de;min-height:49px}
.studio-controls>div{display:flex;gap:8px}.studio-button{border:1px solid #36577c;background:#102d50;color:#d7edff;border-radius:4px;font-size:10px;min-height:30px;padding:3px 9px}.studio-button:hover{background:#18416f}.studio-button:disabled{opacity:.4}
.hero-studio[data-running=false] *, .hero-studio[data-running=false] *:before,.hero-studio[data-running=false] *:after{animation-play-state:paused!important}
.module-explorer{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.explorer-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid var(--line);background:var(--soft)}
.explorer-tab{position:relative;min-width:0;border:0;border-inline-end:1px solid var(--line);background:transparent;color:var(--muted);padding:22px 10px 18px;display:flex;flex-direction:column;align-items:center;gap:12px;transition:background 220ms,color 220ms}
.explorer-tab:last-child{border-inline-end:0}.explorer-tab>bdi{position:absolute;top:10px;inset-inline-start:12px;font:9px var(--mono);opacity:.65}.explorer-tab .xb-feature__glyph{width:52px;height:52px;transition:transform 300ms cubic-bezier(.16,1,.3,1)}
.explorer-tab>span{font-size:13px;font-weight:500}.explorer-tab[aria-selected=true]{background:var(--panel);color:var(--blue)}.explorer-tab:after{content:'';position:absolute;bottom:0;inset-inline:0;height:3px;background:var(--blue);transform:scaleX(0);transition:transform 350ms cubic-bezier(.16,1,.3,1)}.explorer-tab[aria-selected=true]:after{transform:scaleX(1)}.explorer-tab:hover .xb-feature__glyph{transform:translateY(-5px)}
.explorer-panel{display:grid;grid-template-columns:1fr 1.12fr;min-width:0;min-height:535px}
.explorer-visual{min-width:0;position:relative;display:flex;flex-direction:column;overflow:hidden;background:var(--soft);border-inline-end:1px solid var(--line);--art-line:#38699c;--art-fill:#0084fe;--rebar:#086bba}
.explorer-visual:before{content:'';position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:28px 28px;opacity:.35;mask-image:radial-gradient(ellipse,#000,transparent 75%);pointer-events:none}
.explorer-visual-head{position:relative;display:flex;justify-content:space-between;gap:10px;padding:25px 28px;color:var(--muted);font:10px var(--font)}.explorer-visual-head bdi{font:11px var(--mono);color:var(--blue)}
.explorer-art{min-height:300px;flex:1;position:relative;display:grid;place-items:center;padding:0 12px;animation:module-art-in 750ms cubic-bezier(.16,1,.3,1) both}
.explorer-art .structural-art{position:absolute;inset:0;height:100%;max-height:390px}.explorer-art .section-graphic{width:70%;height:300px;--section-ink:#38699c;--section-fill:#0084fe0d;--section-rebar:#086bba}
.explorer-art .drawing-stroke{stroke-dasharray:1;stroke-dashoffset:0}
.explorer-visual .concrete{fill-opacity:.12}.explorer-visual .hollow-block .concrete{fill:var(--panel);fill-opacity:.9}.explorer-visual .hollow-block .front{fill:var(--art-fill);fill-opacity:.15}
.explorer-visual-foot{position:relative;display:flex;gap:12px;align-items:center;padding:22px 28px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.explorer-visual-foot .xb-feature__glyph{height:27px;width:27px;flex:none}
.explorer-info{min-width:0;padding:36px 38px;animation:module-copy-in 450ms ease both}
.explorer-info .eyebrow{font-size:10px;margin-bottom:10px}.explorer-info h2,.explorer-info h3{font-size:32px}.explorer-info .explorer-lead{font-size:14px;line-height:1.9;margin-top:14px}
.explorer-tags{display:flex;gap:7px;flex-wrap:wrap;margin-block:20px}.explorer-tags .tag{font-size:10px}
.explorer-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-block:22px;border-block:1px solid var(--line)}
.explorer-facts>div>span{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--ink);font-weight:500}.explorer-facts .icon{width:15px;height:15px;color:var(--blue)}.explorer-facts p{font-size:12px;line-height:1.8;margin-top:9px}
.explorer-checks{padding:0;margin:20px 0 25px;list-style:none;display:flex;gap:10px 19px;flex-wrap:wrap}.explorer-checks li{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.explorer-checks .icon{height:13px;width:13px;color:var(--blue)}
.explorer-code-note{display:flex;align-items:center;gap:12px;padding:19px 28px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.explorer-code-note>.icon{color:var(--blue)}.explorer-code-note>div{display:flex;gap:14px;margin-inline-start:auto;font:10px var(--mono)}
[data-theme=dark] .explorer-visual{--art-line:#8ab9e9;--art-fill:#3f9eff;--rebar:#00d4ff}[data-theme=dark] .explorer-art .section-graphic{--section-ink:#add2f6;--section-fill:#3582d418;--section-rebar:#00d4ff}
@keyframes hero-copy-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes title-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes studio-in{from{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:none}}
@keyframes floor-assemble{from{opacity:0;transform:translateY(-65px)}to{opacity:1;transform:none}}
@keyframes floor-replay{from{opacity:0;transform:translateY(-65px)}to{opacity:1;transform:none}}
@keyframes target-focus{0%{opacity:0;transform:scale(2.3)}40%{opacity:1;transform:scale(1)}100%{opacity:.5;transform:scale(1.15)}}
@keyframes trace-member{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes rebar-appear{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
@keyframes step-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes module-art-in{from{opacity:.2;transform:translateY(24px) scale(.95)}to{opacity:1;transform:none}}
@keyframes module-copy-in{from{opacity:.2;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes module-line-in{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:1100px){[data-view=home] .hero-inner{gap:26px;grid-template-columns:1fr 1fr}.studio-canvas{height:330px}.studio-top{padding-inline:14px;font-size:9px}.studio-steps button{font-size:10px;gap:5px;padding-inline:3px}.studio-controls{font-size:9px;padding-inline:12px}.studio-button{font-size:9px;padding-inline:7px}.result-inset{width:47%;padding:12px;left:10px}.result-inset strong{font-size:16px}.result-inset .tag{font-size:8px}.explorer-info{padding:28px}.explorer-panel{grid-template-columns:1fr 1.15fr}.explorer-tab>span{font-size:11px}}
@media(max-width:800px){[data-view=home] .hero-inner{grid-template-columns:1fr;padding-block:38px;gap:34px}.hero-studio{width:min(600px,100%);justify-self:center}.studio-canvas{height:360px}.explorer-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.explorer-tab{border-bottom:1px solid var(--line)}.explorer-tab:nth-child(3n){border-inline-end:0}.explorer-tab:nth-last-child(-n+3){border-bottom:0}.explorer-panel{grid-template-columns:1fr}.explorer-art{min-height:300px}.explorer-visual{border-inline-end:0;border-bottom:1px solid var(--line)}.explorer-visual-head{padding-block:18px}.explorer-visual-foot{padding-block:15px}.explorer-info{padding:30px}.explorer-code-note{flex-wrap:wrap}.explorer-code-note>div{margin-inline-start:30px}.motion-profiles{grid-template-columns:1fr}}
@media(max-width:520px){[data-view=home] .hero-copy h1{font-size:38px}[data-view=home] .hero-copy .lead{font-size:14px}.hero-studio{border-radius:10px}.studio-top{font-size:9px;padding:14px}.studio-top>span{font-size:10px}.studio-canvas{height:285px}.studio-steps{padding-inline:6px}.studio-steps button{gap:4px;padding-block:13px}.studio-controls{flex-wrap:wrap;gap:8px;padding:10px 12px}.studio-coordinates{font-size:8px;left:12px;bottom:10px}.studio-coordinates span{font-size:8px}.focus-label{font-size:8px;padding:5px 7px;right:3%}.focus-label bdi{font-size:10px}.section-inset{top:32px;left:9px;width:44%;padding:9px 5px 3px}.section-inset>span{font-size:8px}.result-inset{top:35px;width:49%;padding:12px;left:9px}.result-inset>div:first-child{gap:3px;margin-bottom:16px}.result-inset .tag{font-size:7px;padding:3px 4px}.result-inset strong{font-size:15px}.result-inset strong small{font-size:8px}.result-inset p{font-size:8px}.result-ratio{margin-block:12px 8px;padding-block:9px;gap:6px;font-size:10px}.result-ratio span:last-child{font-size:8px}.studio-disclaimer{font-size:8px}.explorer-tab{padding:19px 5px 14px;gap:8px}.explorer-tab>bdi{font-size:8px;inset-inline-start:8px;top:7px}.explorer-tab .xb-feature__glyph{height:42px;width:42px}.explorer-tab>span{font-size:11px}.explorer-info{padding:25px 21px}.explorer-info h2,.explorer-info h3{font-size:28px}.explorer-info .explorer-lead{font-size:13px}.explorer-facts{gap:18px}.explorer-facts p{font-size:11px}.explorer-art{min-height:265px}.explorer-art .section-graphic{height:250px}.explorer-visual-head,.explorer-visual-foot{padding-inline:20px;font-size:10px}.explorer-code-note{font-size:10px;padding:17px 20px}.explorer-code-note>div{gap:10px;font-size:9px}.explorer-checks{gap:10px 13px}.explorer-checks li{font-size:10px}.hero-studio .structural-art{width:100%}}
[data-motion=reduce] .hero-studio *,[data-motion=reduce] .module-explorer *{animation:none!important;transition:none!important}
[data-motion=reduce] .studio-steps button[aria-pressed=true] i{transform:scaleX(1)}
[data-motion=reduce] .explorer-tab:hover .xb-feature__glyph{transform:none}
@media(prefers-reduced-motion:reduce){.hero-studio *,.module-explorer *{animation:none!important;transition:none!important}.studio-steps button[aria-pressed=true] i{transform:scaleX(1)}.explorer-tab:hover .xb-feature__glyph{transform:none}}

/* Refined construction sequence: concrete first, then longitudinal bars and ties/mesh. */
.hero-studio .hero-cage .rebar{stroke-width:.85}.hero-studio .hero-cage .tie{stroke-width:.65}
.hero-connection{opacity:0;transition:opacity 600ms}.hero-connection path{fill:none;stroke:#75c6ed;stroke-width:1;stroke-dasharray:.025 .035}.hero-connection circle{fill:#00d4ff}
.hero-studio[data-stage="2"] .hero-connection,.hero-studio[data-stage="3"] .hero-connection{opacity:.85}
.hero-studio[data-stage="2"] .model-floor,.hero-studio[data-stage="3"] .model-floor{animation:none;opacity:.58;transition:opacity 700ms}
.explorer-art .rebar{stroke-width:1.7}.explorer-art .additional{stroke:#0084fe;stroke-width:2.5}.explorer-art .tie{stroke-width:1.25}
.explorer-art .block-void{fill:var(--art-line);fill-opacity:.28;stroke:var(--art-line);stroke-width:.5;stroke-opacity:.65}
.art-callout path{stroke:var(--art-line);stroke-width:.65;fill:none;opacity:.6}.art-callout circle{fill:var(--rebar)}.art-callout text{font:10px var(--mono);fill:var(--art-line);letter-spacing:.04em}
.module-explorer[data-in-view=false] .explorer-art,.module-explorer[data-in-view=false] .explorer-info{animation:none}
.module-explorer[data-in-view=true] .explorer-art .concrete-volume{animation:concrete-reveal 850ms cubic-bezier(.16,1,.3,1) both}
.module-explorer[data-in-view=true] .explorer-art .rebar,.module-explorer[data-in-view=true] .explorer-art .mesh,.module-explorer[data-in-view=true] .explorer-art .tie{stroke-dasharray:1;animation:module-line-in 1000ms cubic-bezier(.3,.1,.3,1) both;animation-delay:calc(180ms + var(--draw-order,0)*45ms)}
.module-explorer[data-in-view=true] .explorer-art .art-callout{animation:callout-in 550ms 800ms both}
.module-explorer[data-in-view=true] .explorer-art .section-tie{stroke-dasharray:1;animation:module-line-in 800ms 150ms both}
.module-explorer[data-in-view=true] .explorer-art .section-bar{animation:rebar-appear 500ms both;animation-delay:calc(300ms + var(--bar)*55ms)}
[data-theme=dark] .explorer-art .additional{stroke:#6ab9ff}
@keyframes concrete-reveal{from{opacity:.15;transform:translateY(-12px)}to{opacity:1;transform:none}}
@keyframes callout-in{from{opacity:0}to{opacity:1}}

@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .explorer-visual{--art-line:#8ab9e9;--art-fill:#3f9eff;--rebar:#00d4ff}:root:not([data-theme=light]) .explorer-art .section-graphic{--section-ink:#add2f6;--section-fill:#3582d418;--section-rebar:#00d4ff}:root:not([data-theme=light]) .explorer-art .additional{stroke:#6ab9ff}}
