/* AEE shared chrome: theme tokens, header, contacts, home gallery, logo. */
.editor-help{font-size:13px;margin:0 0 20px}.editor-help a{text-decoration:underline}
#ambient-volume{width:90px;min-width:0;min-height:24px;height:24px;padding:0;margin:0;background:transparent;border:0;display:inline-block}
:root{color-scheme:dark;--surface:#1f1d3d;--copy:#f0efff;--subtle:#c4beda;--line:#625b90}
[data-theme=light]{color-scheme:light;--surface:#eff0ff;--copy:#202044;--subtle:#565272;--line:#a09cc9;--hairline:#b4afd6}
.aee-site .nav-row{gap:22px;flex-wrap:wrap;padding-block:18px}.aee-site .nav-row nav{gap:18px}.brand-contact{position:relative;z-index:20}.contact-trigger{border:0;background:none;color:inherit;padding:0;text-align:left}.contact-card{position:absolute;top:100%;left:0;width:320px;max-width:calc(100vw - 36px);padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 55px #0005;color:var(--copy)}
.contact-card h2{font:32px Georgia;margin:18px 0}.contact-card dl{margin:0 0 18px}.contact-card dl>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.contact-card dd{margin:0;color:var(--subtle)}.contact-card small{font-size:11px;color:var(--subtle)}
.theme-toggle,.sound-toggle{border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--copy);padding:10px 14px;font-size:12px;white-space:nowrap}.theme-toggle{margin-left:auto}.theme-toggle:hover,.sound-toggle:hover{border-color:#b2a9ff}
.sound-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:relative}.sound-controls label{font-size:12px;color:var(--subtle)}.sound-controls input{accent-color:#938cf4;cursor:pointer}.sound-status{font-size:12px;color:var(--subtle)}.sound-status:empty{display:none}
.tutorial-band{padding:50px;border:1px solid var(--line);border-radius:22px;margin:0 0 44px;background:var(--surface)}.tutorial-band h2{margin:20px 0}.tutorial-band p{max-width:590px;font-size:15px}.placeholder-link{display:block;width:fit-content;border:1px dashed var(--line);padding:13px 20px;border-radius:30px;margin:24px 0 8px;color:var(--subtle)}.tutorial-band small{display:block;color:var(--subtle)}.tutorial-band .editorial-link{max-width:410px}
[data-theme=light] .aee-site{background:radial-gradient(ellipse at 85% 0,#ceccf6,transparent 650px),#f1f0fc;color:var(--copy)}
[data-theme=light] .aee-site .site-header{background:#eeedfc;color:var(--copy);border-color:var(--line)}
[data-theme=light] .aee-site p,[data-theme=light] .aee-site .muted,[data-theme=light] .aee-site .brand-caption,[data-theme=light] .aee-site .nav-row nav,[data-theme=light] .aee-site .eyebrow,[data-theme=light] .aee-site .site-footer small,[data-theme=light] .aee-site .site-footer p,[data-theme=light] .aee-site .test-badge,[data-theme=light] .aee-site .storage-note,[data-theme=light] .photo-credits{color:var(--subtle)}
[data-theme=light] .aee-site .button{background:#dcd9f7;border-color:#938cbe;color:#25214f}[data-theme=light] .aee-site .button.primary{background:#4c449b;color:#fff;border-color:#4c449b}[data-theme=light] .aee-site .button:hover{background:#c1b9ef;color:#202044}[data-theme=light] .aee-site .button.primary:hover{background:#3d3386;color:#fff}
[data-theme=light] .aee-site .page-intro,[data-theme=light] .aee-site .studio-head,[data-theme=light] .collaboration-band{background:radial-gradient(ellipse at 90% 0,#b9b5ef,transparent 70%),#e5e3f8;color:#252147;border-color:#a8a1cb}
[data-theme=light] .aee-site .page-intro h1,[data-theme=light] .aee-site .studio-head h1,[data-theme=light] .aee-view-home h2 em,[data-theme=light] .aee-site .back-link,[data-theme=light] .aee-site .text-link,[data-theme=light] .editorial-link,[data-theme=light] .direction-title>span,[data-theme=light] .process-list li>span{color:#534695}
[data-theme=light] .aee-site .wizard-panel,[data-theme=light] .aee-site .local-brief,[data-theme=light] .aee-site .project-item{background:#fdfaff;border-color:#a8a1cb}
[data-theme=light] .aee-site .wizard-caption,[data-theme=light] .aee-site .wizard-steps li,[data-theme=light] .aee-site .wizard-panel label,[data-theme=light] .aee-site .local-brief label,[data-theme=light] .aee-site .project-item>span{color:#55516f}
[data-theme=light] .aee-site .wizard-steps li.current{color:#433788;border-color:#5f50a9}[data-theme=light] .aee-site .wizard-steps li.complete{color:#433788}
[data-theme=light] .aee-site .local-brief input,[data-theme=light] .aee-site .local-brief select,[data-theme=light] .aee-site .local-brief textarea,[data-theme=light] .aee-site .wizard-panel input:not([type=radio]):not([type=file]),[data-theme=light] .aee-site .wizard-panel select,[data-theme=light] .aee-site .wizard-panel textarea{background:#fff;color:#252147;border-color:#a29cc2}
[data-theme=light] .aee-site input::placeholder,[data-theme=light] .aee-site textarea::placeholder{color:#706c87}[data-theme=light] .aee-site .style-option.selected{background:#e3e0fa;border-color:#6153ab}[data-theme=light] .aee-site .segmented{background:#ddd9f1;border-color:#948abc}[data-theme=light] .aee-site .segmented button{color:#3c336e}[data-theme=light] .aee-site .segmented button.selected{background:#51499b;color:#fff}[data-theme=light] .aee-site .safety-note{background:#fff0f0;color:#a32635;border-color:#c97983}
@media(max-width:1050px){.aee-site .nav-row{gap:14px}.aee-site .nav-row nav{gap:13px;font-size:12px}.brand-caption{display:none}}
@media(max-width:760px){.aee-site .nav-row{padding-block:12px;gap:10px}.aee-site .nav-projects{margin-left:auto;padding:8px 12px}.theme-toggle{margin:0;padding:9px 10px;font-size:11px}.aee-site .brand-mark{font-size:33px}.tutorial-band{padding:27px}.contact-card{padding:22px}}
@media(prefers-reduced-motion:reduce){.orbital-lines{display:none}}
@media print{.contact-card,.theme-toggle,.sound-controls,.home-hero{display:none!important}}

.tutorial-trigger{background:none;border:0;border-bottom:1px solid #a297d0;text-align:left;cursor:pointer;padding:0 0 5px}
.tutorial-dialog{width:min(510px,calc(100vw - 32px));max-height:85dvh;overflow:auto;background:var(--surface);color:var(--copy);border:1px solid var(--line);border-radius:22px;padding:30px}
.tutorial-dialog::backdrop{background:#07081dcc}.tutorial-dialog>[data-close-tutorial]{display:block;margin:0 0 25px auto}.tutorial-dialog h2{font:38px Georgia;margin:20px 0}.tutorial-dialog small{color:var(--subtle)}
/* Keep both subjects visible, without cropping the apartment panel or transformer. */
.electrical-photo.equipment-photo{height:auto;aspect-ratio:3/2;align-self:center}
.equipment-photo img{object-fit:contain;object-position:center}
/* Concept gallery (0.16: in normal flow below the first screen). */
.result-gallery{display:flex;flex-direction:column;gap:12px;min-width:0}
.result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--subtle)}.result-count{font:12px monospace;flex-shrink:0}
.result-tabs{display:flex;gap:6px;flex-wrap:wrap}
.result-tabs button{border:1px solid var(--line);background:transparent;color:var(--copy);border-radius:30px;padding:9px 14px;font-size:13px;min-height:40px;cursor:pointer}
.result-tabs button[aria-pressed=true]{background:#dad8fa;color:#28234a;border-color:#dad8fa}
.result-image-button{position:relative;display:block;width:100%;aspect-ratio:1200/740;overflow:hidden;border:1px solid var(--line);border-radius:22px;padding:0;background:#16152f;cursor:zoom-in}
.result-image{display:block;width:100%;height:100%;object-fit:contain}
.result-zoom{position:absolute;right:12px;bottom:12px;background:#161333d9;color:#fff;border:1px solid #a099c3;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}
.aee-site .result-note{font-size:12px;line-height:1.5;color:var(--subtle);margin:0}
.result-dialog{width:min(1280px,96vw);height:auto;max-height:94dvh;overflow:auto;background:var(--surface);color:var(--copy);border:1px solid var(--line);border-radius:20px;padding:16px}
.result-dialog::backdrop{background:#07081dee}.result-dialog>button{display:block;margin:0 0 10px auto}.result-dialog>img{display:block;width:100%;max-height:75dvh;object-fit:contain}.result-dialog>p{font-size:13px;line-height:1.5}
[data-theme=light] .result-image-button{background:#e8e5f4}[data-theme=light] .result-tabs button[aria-pressed=true]{background:#4f449c;color:#fff;border-color:#4f449c}
@media(max-width:760px){.result-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.result-tabs button{flex:0 0 auto;font-size:12px;padding:8px 12px}.result-image-button{border-radius:14px}}

/* Local letter motion keeps text selectable and words at their normal line breaks. */
.ripple-word{display:inline-block;white-space:nowrap}
.ripple-letter{display:inline-block;transform-origin:50% 65%}
@media(prefers-reduced-motion:reduce){.ripple-letter{transform:none!important}}
@media print{.ripple-letter{transform:none!important}}
.aee-site .brand-plan{display:block;width:104px;flex-shrink:0;color:#f6efdf;--logo-accent:#a89de9;line-height:0;letter-spacing:normal}
.aee-plan-logo{display:block;width:100%;height:auto;overflow:visible}
[data-theme=light] .aee-site .brand-plan,[data-theme=light] .particle-fallback{color:#222044;--logo-accent:#4f449c}
.particle-fallback{padding:8px 24%;color:#f6efdf;--logo-accent:#a89de9}
.particle-fallback .aee-plan-logo{max-height:100%;width:100%;height:100%}
@media(max-width:760px){.aee-site .brand-plan{width:68px}.aee-site .nav-row{gap:10px}.particle-fallback{padding:0 12%}}
@media(max-width:380px){.aee-site .brand-plan{width:54px}.aee-site .nav-row{gap:8px}.aee-site .nav-projects{font-size:11px;padding:8px}.theme-toggle{font-size:9px;padding:9px 8px}}
