/* Embertech Experience Centre V4.1 | original browser-only demo styling */
:root{color-scheme:dark;--ec-bg:#040817;--ec-panel:#0b172c;--ec-panel2:#101d37;--ec-brd:#344966;--ec-gold:#ecd29b;--ec-blue:#83cbff;--ec-ink:#edf3ff;--ec-muted:#bbcbe0;--ec-focus:#ffe4aa}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:radial-gradient(ellipse at 80% -5%,#12346b 0,transparent 40%),var(--ec-bg);color:var(--ec-ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;margin:0;line-height:1.55}
a{color:#c6e4ff}
a:hover{text-decoration-thickness:2px}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--ec-focus)!important;outline-offset:3px}
.skip{position:absolute;left:-9999px;top:0;z-index:20;padding:12px;background:#ffe4aa;color:#080d19}
.skip:focus{left:10px}
.ec-banner{font-size:.71rem;line-height:1.4;letter-spacing:.08em;text-align:center;background:#142238;color:#fcddaa;padding:.55rem .75rem;font-weight:700}
.ec-header{display:flex;justify-content:space-between;align-items:center;padding:1rem clamp(1rem,4vw,4rem);gap:1rem;border-bottom:1px solid #334666;flex-wrap:wrap;background:#050c1bcc}
.ec-logo{display:inline-flex;align-items:center;gap:.5rem;color:var(--ec-ink);text-decoration:none;letter-spacing:.11em;font-weight:400}
.ec-logo strong{color:var(--ec-gold)}
.ec-orb{border:2px solid #eac389;background:radial-gradient(circle at 45% 40%,#8bd3f3,#1a4685 56%,#111b31);width:28px;height:28px;display:inline-block;border-radius:50%;box-shadow:0 0 13px #3f9fe4aa}
.ec-header nav{display:flex;flex-wrap:wrap;gap:1rem;font-size:.87rem}
.ec-header nav a{color:#cfdbf2}
.ec-shell{max-width:1260px;margin:0 auto;padding:0 1.3rem}
.ec-hero{margin:1.35rem 0 0;background:linear-gradient(90deg,#050b1ce8 0%,#07132ae0 53%,#0c245638 100%),url('/cinematic/assets/hero-desktop-studio-v38.webp') center/cover no-repeat;border:1px solid #3d5a82;border-radius:20px;padding:clamp(2rem,7vw,6rem) clamp(1.25rem,4vw,4rem);box-shadow:0 15px 65px #0007;min-height:340px}
.ec-eyebrow{color:var(--ec-gold);font-size:.76rem;text-transform:uppercase;letter-spacing:.13em;font-weight:750}
h1,h2,h3{line-height:1.2}
h1{font-size:clamp(2.3rem,6vw,5.2rem);letter-spacing:-.04em;max-width:770px;margin:1rem 0;color:#fff}
h1 span{color:var(--ec-gold)}
.ec-hero p{max-width:730px;font-size:1.04rem;color:#e4eeff}
.ec-hero .ec-hero-note{color:#ffdaa0;font-size:.84rem;margin-bottom:0;font-weight:600}
.ec-action-row,.ec-card-actions,.ec-work-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}
.ec-btn,.ec-card-actions button,.ec-work-actions button,.ec-filters button{border:1px solid #728aae;color:#f3f7ff;background:#122545;padding:.7rem 1rem;border-radius:10px;text-decoration:none;font-weight:650}
.ec-btn:hover,.ec-card-actions button:hover,.ec-work-actions button:hover{background:#1b3761}
.ec-primary,.ec-card-actions button,.ec-work-actions .primary{color:#071125!important;background:var(--ec-gold)!important;border-color:#e6bc72!important}
.ec-quiet{background:#0d1b32;color:#d3e6ff}
.ec-section{padding:3.1rem 0 1rem;scroll-margin-top:1rem}
.ec-section-top{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.ec-section h2{font-size:clamp(1.6rem,3vw,2.35rem);color:var(--ec-gold);margin:.5rem 0}
.ec-section-top p{max-width:830px;color:var(--ec-muted)}
.ec-role-grid,.ec-systems{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1.5rem 0}
.ec-role-card,.ec-system-card,.ec-box,.ec-workbench{background:linear-gradient(150deg,var(--ec-panel2),#080e1d);border:1px solid var(--ec-brd);border-radius:14px;padding:1.4rem}
.ec-role-card{min-height:225px;display:flex;flex-direction:column}
.ec-role-card h3,.ec-system-card h3{margin:0 0 .5rem;font-size:1.16rem;color:#fff}
.ec-role-card p,.ec-system-card p{color:#c6d6ed;margin:.4rem 0 1rem;line-height:1.5;flex:1}
.ec-card-actions{margin-top:auto}
.ec-card-actions a{padding:.65rem .25rem;font-weight:650}
.ec-workbench{min-height:270px;margin-top:1rem;padding:clamp(1rem,3vw,2rem);border-color:#526a8c}
.ec-workbench h3{font-size:1.5rem;margin:.2rem 0;color:#f5d7a0}
.ec-workbench h4{font-size:1.06rem;color:#d9edff;margin:.8rem 0}
.ec-workbench p{color:#ccd9eb}
.ec-muted{color:var(--ec-muted)!important}
.ec-result{border-left:3px solid #7bb5e4;padding:.6rem .8rem;background:#0c1730;color:#d5e6f8}
.ec-tag,.ec-stage{font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:var(--ec-gold);font-weight:750}
.ec-work-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,.8fr);gap:1rem;margin-top:1rem}
.ec-stack{display:grid;gap:.75rem}
.ec-metric-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.7rem;margin:.8rem 0}
.ec-metric{background:#102345;border:1px solid #335277;border-radius:10px;padding:1rem}
.ec-metric strong{display:block;font-size:1.7rem;color:#d9eaff}
.ec-metric span{font-size:.82rem;color:#bdd0e6}
.ec-record{border:1px solid #435979;background:#09192e;padding:.7rem .85rem;margin:.5rem 0;border-radius:9px}
.ec-record p,.ec-record h4{margin:.2rem 0}
.ec-flow{display:flex;gap:.5rem;flex-wrap:wrap;list-style:none;padding:0;margin:1rem 0}
.ec-flow li{padding:.6rem .8rem;border:1px solid #617a9b;border-radius:8px;background:#0a2039;font-size:.85rem}
.ec-flow li[aria-current=step]{border-color:var(--ec-gold);background:#5d4826;color:#fff}
.ec-filters{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem;background:#0b1d34;border:1px solid #314865;padding:1.05rem;border-radius:12px;margin:1.3rem 0}
.ec-filters label{align-self:center;font-weight:700;color:#dce8f8}
.ec-filters input,.ec-filters select,.ec-workbench input,.ec-workbench textarea,.ec-workbench select{background:#08172b;color:#f2f6ff;border:1px solid #6980a0;border-radius:8px;padding:.65rem .75rem;max-width:100%;min-height:42px}
.ec-filters input{min-width:min(100%,250px);flex:1}
.ec-filters select{min-width:180px}
.ec-workbench textarea{width:100%;min-height:100px}
.ec-field{display:grid;gap:.4rem;margin:.6rem 0}
.ec-field label{font-weight:650}
.ec-system-card{min-height:225px;display:flex;flex-direction:column}
.ec-system-card p{font-size:.9rem}
.ec-system-card a{font-size:.9rem}
.ec-system-card .ec-work-actions{margin-top:auto}
.ec-system-card .ec-work-actions button{padding:.55rem .8rem}
.ec-approval{border:1px dashed #b99e71;background:#2a231e;padding:1rem;border-radius:10px;margin-top:1rem;color:#fff3d7}
.ec-chart{display:flex;align-items:center;gap:.75rem;margin:.8rem 0}
.ec-chart label{width:110px;flex-shrink:0;font-size:.85rem}
.ec-bar-track{width:100%;height:16px;background:#112038;border:1px solid #445d82;border-radius:999px;overflow:hidden}
.ec-bar{height:100%;background:linear-gradient(90deg,#468fd1,#e5c47d);border-radius:999px}
.ec-bar-value{min-width:48px;text-align:right;color:#e7edf7}
.ec-stage-panel{min-height:130px;border:1px solid #536c91;border-radius:10px;padding:1rem;background:linear-gradient(160deg,#0d2548,#071526)}
.ec-stage-panel h4{font-size:1.2rem;color:#ffe0a1}
.ec-preview-box{border:2px solid var(--tenant-accent,#86b8ff);padding:1rem;border-radius:12px;background:#0a1a36}
.ec-list{padding-left:1.3rem}
.ec-list li{margin:.5rem 0}
.ec-explain{border-top:1px solid #304460}
.ec-explain p{max-width:100ch;color:#d0ddf0}
.ec-footer{text-align:center;padding:2.3rem 1rem;border-top:1px solid #30425a;margin-top:3rem;background:#070d19;color:#b8cce4}
.ec-footer p{font-size:.83rem}
.ec-manual{max-width:920px;margin:2.1rem auto 4rem;padding:1.5rem;background:linear-gradient(145deg,#0d1c33,#060e1d);border:1px solid #3b5372;border-radius:16px}
.ec-manual h1{font-size:clamp(2rem,5vw,3.3rem)}
.ec-manual h2{color:var(--ec-gold);font-size:1.25rem;margin:2rem 0 .7rem}
.ec-manual p,.ec-manual li{line-height:1.7}
.ec-manual .ec-lead{font-size:1.12rem;color:#ccdbeb}
.ec-manual-index{columns:2;padding-left:1.5rem}
.ec-manual-index li{break-inside:avoid;margin:0 0 .4rem}
.ec-direct-demo{padding:.7rem 1rem;background:#0c2141;border:1px solid #4b6385;border-radius:8px}
.ec-direct-demo a{color:#dbb86e}
.ec-flash{color:#ffe0a1}
@media(max-width:740px){.ec-shell{padding:0 .9rem}.ec-hero{background-image:linear-gradient(#030918c7,#031128ea),url('/cinematic/assets/hero-mobile-studio-v38-w1440.webp');background-position:top center;padding:2.2rem 1.15rem}.ec-work-layout{grid-template-columns:1fr}.ec-manual-index{columns:1}.ec-hero .ec-action-row a{width:100%;text-align:center}.ec-filters{display:grid;grid-template-columns:1fr}.ec-filters input,.ec-filters select{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{transition:none!important;animation:none!important}}
@media(prefers-contrast:more){:root{--ec-muted:#f4f7ff;--ec-brd:#b6cdea}.ec-role-card,.ec-workbench,.ec-system-card{border-width:2px}}
