/* A single film, readable controls and a direct path to the selected family. */
.technology-lab{background:#07172f!important;color:#fff;overflow:hidden}
.tech-introduction{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:end;margin-bottom:32px}
.tech-introduction h1{font-size:var(--type-60);line-height:1.02;margin:12px 0 0;text-wrap:balance}
.tech-introduction h1 em{color:#a9caff}
.tech-introduction-copy{max-width:44ch;padding-bottom:4px}
.tech-introduction-copy p{font-size:var(--type-16);line-height:1.65;color:#d1deef;margin:0 0 16px}
.technology-lab .text-link{color:#fff;min-height:44px}
.tech-family-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #33455e;padding:24px 0}
.tech-family-switch button{display:flex;align-items:center;justify-content:center;gap:16px;min-height:56px;border:1px solid #405674;background:#142943;color:#cfddf0;border-radius:999px;padding:12px 20px;cursor:pointer}
.tech-family-switch button strong{font-size:var(--type-20);font-weight:600}
.tech-family-switch button span{font-size:var(--type-14)}
.tech-family-switch button:hover{background:#203c61}
.tech-family-switch button[aria-pressed=true]{background:#0b63ef;border-color:#0b63ef;color:#fff}
.tech-family-switch button:focus-visible,.tech-layer-buttons button:focus-visible{outline:3px solid #bedaff;outline-offset:3px}
.tech-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:32px;align-items:center}
.tech-visual{min-width:0;align-self:stretch;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 44%,#163354 0%,#0b203d 55%,#091c35 100%);border:1px solid #31445f;border-radius:20px;overflow:hidden}
.tech-direction{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px 0;font-size:var(--type-14);color:#cadcf1;position:relative;z-index:1}
.tech-direction span{display:flex;gap:8px;align-items:center;max-width:50%;line-height:1.4}.tech-direction span:last-child{text-align:right;justify-content:flex-end}.tech-ray-key{width:16px;height:2px;background:#efbc72;flex:none}.tech-direction svg{width:18px;height:18px}
.tech-stage{position:relative;min-width:0;height:440px;isolation:isolate}
.tech-stage>canvas{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1}
.tech-fallback{position:absolute;inset:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:var(--type-14);color:#d5e4f8;z-index:0}
.tech-fallback img{width:100%;height:calc(100% - 36px);object-fit:contain;border-radius:20px}
.tech-stage[data-scene-ready=true] .tech-fallback{display:none}
.tech-leader{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:3;display:none}
.tech-leader path{fill:none;stroke:#c9e4ff;stroke-width:1.25;vector-effect:non-scaling-stroke}
.tech-leader circle{fill:#0b63ef;stroke:#fff;stroke-width:2}
.tech-marker-label{position:absolute;left:20px;top:22px;z-index:4;background:#142b46;border:1px solid #54708f;border-radius:999px;padding:8px 12px;max-width:calc(100% - 40px);font-size:var(--type-14);line-height:1.3;color:#fff;display:none}
.tech-glass-label{position:absolute;z-index:4;display:none;font-size:var(--type-14);line-height:1.3;color:#d2e5f9;pointer-events:none;background:#0b203d;border-radius:999px;padding:4px 8px}
.tech-stage[data-scene-ready=true] .tech-leader,.tech-stage[data-scene-ready=true] .tech-marker-label,.tech-stage[data-scene-ready=true] .tech-glass-label{display:block}
.tech-visual-caption{font-size:var(--type-14);color:#b8cce5;margin:0!important;padding:0 20px 16px;line-height:1.4}
.tech-family-story .eyebrow{margin-bottom:12px;color:#b7d2f9}
.tech-family-story h2{font-family:var(--font-display);font-size:var(--type-40);font-weight:400;line-height:1.12;margin:0 0 12px;text-wrap:balance}
.tech-family-story>.text-link{font-size:var(--type-14);margin-bottom:20px}
.tech-layer-selector{border-top:1px solid #3c506a;padding-top:20px}
.tech-layer-title{font-size:var(--type-12);font-weight:600;letter-spacing:.12em;color:#b8cee9;margin:0 0 12px}
.tech-layer-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tech-layer-buttons button{display:flex;align-items:center;gap:8px;min-height:48px;width:100%;padding:8px 12px;border:1px solid #425b79;background:transparent;color:#d3e3f7;font-size:var(--type-14);text-align:left;border-radius:999px;cursor:pointer}
.tech-layer-buttons button>svg{width:14px;height:14px;margin-left:auto;flex:none}
.tech-layer-buttons button>i{width:8px;height:8px;flex:none;border-radius:999px;background:#7893b5}
.tech-layer-buttons button[aria-pressed=true]{background:#e8f1ff;color:#021d4a;border-color:#e8f1ff}
.tech-layer-buttons button[aria-pressed=true]>i{background:#0764ee}
.tech-layer-description{font-size:var(--type-14);line-height:1.6;color:#c5d5ea;margin:16px 0 0;min-height:68px;text-wrap:pretty}
#cau-tao,#video-x20{scroll-margin-top:100px}
.technology-video-panel{margin-top:24px;border-top:1px solid #3b506a;padding-top:4px}
.technology-video-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;min-height:64px;color:#fff;font-size:var(--type-14)}
.technology-video-panel>summary::-webkit-details-marker{display:none}
.technology-video-panel>summary>span:last-child{display:flex;align-items:center;gap:12px;flex:none;color:#c0d5ef}
.video-duration-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border-radius:999px;background:#ffffff14;font-size:var(--type-12);line-height:1.4}
.technology-video-panel[open]>summary svg{transform:rotate(45deg)}
.tech-video-content{padding:8px 0 0;max-width:960px;margin:auto}
.technology-video{margin:0}.technology-video video{display:block;width:100%;aspect-ratio:16/9;background:#061126;border-radius:20px;object-fit:contain}
.technology-video figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:var(--type-14);color:#bdcfe8;margin-top:8px}
.technology-transcript{border-top:1px solid #3b506a;margin-top:12px;padding:8px 0}
.technology-transcript summary{font-size:var(--type-14);cursor:pointer;min-height:44px;display:flex;align-items:center;gap:12px}
.technology-transcript summary:after{content:'+';margin-left:auto;font-size:var(--type-20)}
.technology-transcript[open] summary:after{content:'−'}
.technology-transcript p{font-size:var(--type-14);line-height:1.6;color:#cbdcf0;margin:8px 0}
.tech-selection-heading{display:grid;grid-template-columns:1.3fr 1fr;align-items:end;gap:32px;margin-bottom:32px}
.tech-selection-heading h2{font-size:var(--type-40);line-height:1.1;margin:12px 0 0;text-wrap:balance}
.tech-selection-heading h2 em{color:#0764ee}
.tech-selection-heading>p{max-width:40ch;font-size:var(--type-16);line-height:1.6;color:#435975;margin:0}
.tech-code-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:var(--type-14)}
.tech-code-heading strong{font-weight:600}.tech-code-heading span{color:#52637b}
.tech-code-links{display:grid;grid-template-columns:repeat(var(--tech-code-columns,4),minmax(0,1fr));gap:12px;min-height:64px;margin-bottom:32px}
.tech-code-links .code-pill{display:flex;justify-content:center;min-width:0;min-height:64px;padding:8px 12px;background:#eef3fb}
.tech-code-links .code-pill:hover{background:#dfeaff}.tech-code-links .code-pill .swatch{width:28px;height:28px;flex:none}
.tech-application-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:24px;border-top:1px solid #cfdaea}
.tech-application-link{display:flex;align-items:center;gap:12px;padding:16px 24px;min-height:64px;border-radius:999px;background:#0862ee;color:#fff;font-size:var(--type-16);font-weight:600;text-decoration:none}
.tech-application-link:hover{background:#004bc5}.tech-application-link>svg:last-child{margin-left:auto}
@media(max-width:1050px){
 .tech-introduction{gap:24px}.tech-family-switch button{gap:8px;padding:12px}
 .tech-family-switch button span{font-size:var(--type-14)}
 .tech-workspace{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
 .tech-stage{height:420px}.tech-layer-buttons{grid-template-columns:1fr}
 .tech-code-links{gap:8px}.tech-code-links .code-pill{gap:4px;padding:8px}
}
@media(max-width:700px){
 .technology-lab{padding:24px 20px}
 .tech-introduction{grid-template-columns:1fr;gap:20px;margin-bottom:20px}
 .tech-introduction h1{font-size:var(--type-40);line-height:1.05;margin-top:8px}
 .tech-introduction-copy{max-width:none;padding:0}
 .tech-introduction-copy p{line-height:1.6;margin-bottom:8px}
 .tech-family-switch{padding:20px 0;gap:8px}.tech-family-switch button{min-height:48px;padding:8px}
 .tech-family-switch button strong{font-size:var(--type-14)}.tech-family-switch button span{display:none}
 .tech-workspace{grid-template-columns:1fr;gap:24px}
 .tech-direction{padding:12px 12px 0;font-size:var(--type-14)}
 .tech-stage{height:300px}.tech-marker-label{left:12px;top:16px;padding:8px 12px;max-width:calc(100% - 24px)}
 .tech-visual-caption{padding:0 12px 12px;font-size:var(--type-14)}
 .tech-family-story h2{font-size:var(--type-28);line-height:1.15;margin-bottom:8px}
 .tech-family-story .eyebrow{margin-bottom:8px}.tech-family-story>.text-link{margin-bottom:16px}
 .tech-layer-selector{padding-top:16px}.tech-layer-buttons{grid-template-columns:1fr 1fr;gap:8px}
 .tech-layer-buttons button{padding:8px;gap:6px;font-size:var(--type-14)}.tech-layer-buttons button>svg{display:none}
 .tech-layer-description{min-height:68px;margin-top:12px}
 .technology-video-panel{margin-top:20px}.technology-video-panel>summary{gap:12px;min-height:64px}
 .technology-video-panel>summary>span:first-child{flex:1;min-width:0}
 #video-x20{scroll-margin-top:88px}
 .tech-selection-heading{grid-template-columns:1fr;gap:16px;margin-bottom:24px}
 .tech-selection-heading h2{font-size:var(--type-28);line-height:1.12}
 .tech-selection-heading>p{font-size:var(--type-14)}
 .tech-code-heading{align-items:flex-start}.tech-code-heading span{max-width:14ch;text-align:right}
 .tech-code-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,9em),1fr));min-height:128px;gap:8px;margin-bottom:24px}
 .tech-code-links .code-pill{min-height:56px;padding:8px;gap:6px}
 .tech-code-links[data-code-count="3"]{grid-template-columns:1fr}
 .tech-code-links[data-code-count="3"] .code-pill{justify-content:flex-start;padding:8px 16px}
 .tech-code-links[data-code-count="3"] .code-pill>span:last-child{margin-left:auto}
 .tech-code-links .code-pill .swatch{width:22px;height:22px}
 .tech-code-links .code-pill b,.tech-code-links .code-pill>span{font-size:var(--type-14)}
 .tech-application-links{grid-template-columns:1fr;padding-top:20px;gap:8px}
 .tech-application-link{min-height:56px;padding:12px 16px;font-size:var(--type-14)}
}
@media(prefers-reduced-motion:reduce){.technology-lab *, .technology-selection *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){
 /* Keep the layer controls close enough to the preview to see their effect. */
 .tech-explanation{display:flex;flex-direction:column}
 .tech-layer-selector{order:-1;border-top:0;padding-top:0;border-bottom:1px solid #3c506a;padding-bottom:20px;margin-bottom:20px}
 .tech-family-story>.text-link{margin-bottom:0}
}
